summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-06-17 15:41:01 +0200
committerShawn Guo <shawn.guo@freescale.com>2014-06-17 16:00:07 +0200
commit589681b20688267a06a068d77ef10fc7c34168ba (patch)
tree5498c8aff3ebd42064cb90fccf0ac6c0e8663bc3 /arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
parentARM: dts: cubox-i: add support for PWM-driven front panel LED (diff)
downloadlinux-589681b20688267a06a068d77ef10fc7c34168ba.tar.xz
linux-589681b20688267a06a068d77ef10fc7c34168ba.zip
ARM: dts: hummingboard/cubox-i: move usb otg configuration to platform level
The configuration of the USB OTG is a platform configuration decision, not a microsom decision. Move this configuration out to the platform level files. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-cubox-i.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-cubox-i.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
index 9202c8d18a30..e8e781656b3f 100644
--- a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
@@ -134,6 +134,14 @@
fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x4001b0b0>;
};
+ pinctrl_cubox_i_usbotg_id: cubox-i-usbotg-id {
+ /*
+ * The Cubox-i pulls this low, but as it's pointless
+ * leaving it as a pull-up, even if it is just 10uA.
+ */
+ fsl,pins = <MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x13059>;
+ };
+
pinctrl_cubox_i_usbotg_vbus: cubox-i-usbotg-vbus {
fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x4001b0b0>;
};
@@ -170,6 +178,8 @@
};
&usbotg {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_cubox_i_usbotg_id>;
vbus-supply = <&reg_usbotg_vbus>;
status = "okay";
};