diff options
author | Roger Quadros | 2014-05-05 04:54:46 -0500 |
---|---|---|
committer | Kishon Vijay Abraham I | 2014-05-05 04:57:26 -0500 |
commit | e2281bb44839cb7fe8f00f715d51cb96db9ede60 (patch) | |
tree | 73b41b649fbe9e8cb24b874c4aa20a2e83692bc8 | |
parent | 010bdc287b20706e22cec953fac6fdf96c9917ed (diff) | |
download | linux-phy-e2281bb44839cb7fe8f00f715d51cb96db9ede60.tar.gz linux-phy-e2281bb44839cb7fe8f00f715d51cb96db9ede60.tar.xz linux-phy-e2281bb44839cb7fe8f00f715d51cb96db9ede60.zip |
dts: dra7-evm: add USB support
Add USB pinmux information and USB modes
for the USB controllers.
CC: Benoît Cousson <bcousson@baylibre.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
-rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 5babba0a3a75..1d7781570d04 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
@@ -93,6 +93,18 @@ | |||
93 | 0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */ | 93 | 0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */ |
94 | >; | 94 | >; |
95 | }; | 95 | }; |
96 | |||
97 | usb1_pins: pinmux_usb1_pins { | ||
98 | pinctrl-single,pins = < | ||
99 | 0x280 0xc0000 /* usb1_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */ | ||
100 | >; | ||
101 | }; | ||
102 | |||
103 | usb2_pins: pinmux_usb2_pins { | ||
104 | pinctrl-single,pins = < | ||
105 | 0x284 0xc0000 /* usb2_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */ | ||
106 | >; | ||
107 | }; | ||
96 | }; | 108 | }; |
97 | 109 | ||
98 | &i2c1 { | 110 | &i2c1 { |
@@ -273,3 +285,15 @@ | |||
273 | &cpu0 { | 285 | &cpu0 { |
274 | cpu0-supply = <&smps123_reg>; | 286 | cpu0-supply = <&smps123_reg>; |
275 | }; | 287 | }; |
288 | |||
289 | &usb1 { | ||
290 | dr_mode = "peripheral"; | ||
291 | pinctrl-names = "default"; | ||
292 | pinctrl-0 = <&usb1_pins>; | ||
293 | }; | ||
294 | |||
295 | &usb2 { | ||
296 | dr_mode = "host"; | ||
297 | pinctrl-names = "default"; | ||
298 | pinctrl-0 = <&usb2_pins>; | ||
299 | }; | ||