summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6q-arm2.dts
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-10-28 14:05:02 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-01-15 21:16:16 -0600
commita26f6282bca9862c9ac803db3c56cd1e069593f1 (patch)
tree1d97fd95b118c6fa76565735c64c597c73ee4b88 /arch/arm/boot/dts/imx6q-arm2.dts
parente7aff35c9dab2af9cf312af57bdfb0a4af948e98 (diff)
ARM: dts: imx6q-arm2: enable USB OTG
Enable USB OTG controller at imx6q-arm2 board Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> [shawn.guo: cherry-pick commit 67339b35e521 from upstream]
Diffstat (limited to 'arch/arm/boot/dts/imx6q-arm2.dts')
-rw-r--r--arch/arm/boot/dts/imx6q-arm2.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-arm2.dts b/arch/arm/boot/dts/imx6q-arm2.dts
index edf1bd967164..fb7a1fc1a510 100644
--- a/arch/arm/boot/dts/imx6q-arm2.dts
+++ b/arch/arm/boot/dts/imx6q-arm2.dts
@@ -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>;