Commit 348224a8 authored by Martin Blumenstingl's avatar Martin Blumenstingl
Browse files

ARM: dts: meson8m2: mxiii: Enable the Micro USB OTG connector - WiP

parent 1dcfd02c
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -138,6 +138,18 @@
		};
	};

	usb_vbus: regulator-usb-vbus {
		compatible = "regulator-fixed";

		regulator-name = "USB_VBUS";

		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;

		gpio = <&gpio GPIOZ_1 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};

	vcc_3v3: regulator-vcc3v3 {
		compatible = "regulator-fixed";
		regulator-name = "VCC3V3";
@@ -313,6 +325,16 @@

&usb0 {
	status = "okay";

	dr_mode = "otg";
	usb-role-switch;

	connector {
		compatible = "extcon-usb-b-connector", "usb-b-connector";
		type = "micro";
		extcon = <&usb0_phy>;
		vbus-supply = <&usb_vbus>;
	};
};

&usb1 {