diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-10-28 02:05:02 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-09 08:28:54 -0500 |
commit | 67339b35e52158e58123cba254dcc468b6e71649 (patch) | |
tree | 2cebc17239f96d99c433b01e3a00eccf7b53ef3e /arch/arm/boot/dts/imx6q-arm2.dts | |
parent | e3946fe8050534ccaf8c1266cb1fa90c7f3345c3 (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>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-arm2.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6q-arm2.dts | 17 |
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 @@ | |||
31 | regulator-max-microvolt = <3300000>; | 31 | regulator-max-microvolt = <3300000>; |
32 | regulator-always-on; | 32 | regulator-always-on; |
33 | }; | 33 | }; |
34 | |||
35 | reg_usb_otg_vbus: usb_otg_vbus { | ||
36 | compatible = "regulator-fixed"; | ||
37 | regulator-name = "usb_otg_vbus"; | ||
38 | regulator-min-microvolt = <5000000>; | ||
39 | regulator-max-microvolt = <5000000>; | ||
40 | gpio = <&gpio3 22 0>; | ||
41 | enable-active-high; | ||
42 | }; | ||
34 | }; | 43 | }; |
35 | 44 | ||
36 | leds { | 45 | leds { |
@@ -79,6 +88,14 @@ | |||
79 | status = "okay"; | 88 | status = "okay"; |
80 | }; | 89 | }; |
81 | 90 | ||
91 | &usbotg { | ||
92 | vbus-supply = <®_usb_otg_vbus>; | ||
93 | pinctrl-names = "default"; | ||
94 | pinctrl-0 = <&pinctrl_usbotg_1>; | ||
95 | disable-over-current; | ||
96 | status = "okay"; | ||
97 | }; | ||
98 | |||
82 | &usdhc3 { | 99 | &usdhc3 { |
83 | cd-gpios = <&gpio6 11 0>; | 100 | cd-gpios = <&gpio6 11 0>; |
84 | wp-gpios = <&gpio6 14 0>; | 101 | wp-gpios = <&gpio6 14 0>; |