summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6q-sabresd.dts
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-02-18 06:06:44 +0400
committerShawn Guo <shawn.guo@linaro.org>2013-04-09 18:52:49 +0400
commita10c22e44b3d44c6ec8109b38e37c061437d122d (patch)
treecc603dba0434aada12f0f41f3425f2312f011b5d /arch/arm/boot/dts/imx6q-sabresd.dts
parent218abe6fe31b2059a6a647eddbe9c3ee08fa26fd (diff)
downloadlinux-a10c22e44b3d44c6ec8109b38e37c061437d122d.tar.xz
ARM: dts: imx6q-sabresd: Add USB support
Add USB support for imx6q sabresd board Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-sabresd.dts')
-rw-r--r--arch/arm/boot/dts/imx6q-sabresd.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-sabresd.dts b/arch/arm/boot/dts/imx6q-sabresd.dts
index 2dea304a7980..bafaccd73a75 100644
--- a/arch/arm/boot/dts/imx6q-sabresd.dts
+++ b/arch/arm/boot/dts/imx6q-sabresd.dts
@@ -21,6 +21,19 @@
reg = <0x10000000 0x40000000>;
};
+ regulators {
+ compatible = "simple-bus";
+
+ 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;
+ };
+ };
+
gpio-keys {
compatible = "gpio-keys";
@@ -62,6 +75,18 @@
};
};
+&usbotg {
+ vbus-supply = <&reg_usb_otg_vbus>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usbotg_2>;
+ disable-over-current;
+ status = "okay";
+};
+
+&usbh1 {
+ status = "okay";
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet_1>;