Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67339b35 authored by Peter Chen's avatar Peter Chen Committed by Shawn Guo
Browse files

ARM: dts: imx6q-arm2: enable USB OTG



Enable USB OTG controller at imx6q-arm2 board

Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent e3946fe8
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -31,6 +31,15 @@
			regulator-max-microvolt = <3300000>;
			regulator-always-on;
		};

		reg_usb_otg_vbus: usb_otg_vbus {
			compatible = "regulator-fixed";
			regulator-name = "usb_otg_vbus";
			regulator-min-microvolt = <5000000>;
			regulator-max-microvolt = <5000000>;
			gpio = <&gpio3 22 0>;
			enable-active-high;
		};
	};

	leds {
@@ -79,6 +88,14 @@
	status = "okay";
};

&usbotg {
	vbus-supply = <&reg_usb_otg_vbus>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usbotg_1>;
	disable-over-current;
	status = "okay";
};

&usdhc3 {
	cd-gpios = <&gpio6 11 0>;
	wp-gpios = <&gpio6 14 0>;