dts: dra7-evm: add USB support
authorRoger Quadros <rogerq@ti.com>
Wed, 14 May 2014 07:58:13 +0000 (10:58 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 14 May 2014 21:39:39 +0000 (14:39 -0700)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-evm.dts

index 5f1f6da17dad0012137e91f808330d4a88c1e6c5..ec779072a0a3beb35f57d7d9fc388c7dd83eaf7f 100644 (file)
                        0xbc (PIN_INPUT_PULLUP | MUX_MODE1)  /* gpmc_cs3.qspi1_cs1 */
                >;
        };
+
+       usb1_pins: pinmux_usb1_pins {
+                pinctrl-single,pins = <
+                       0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */
+                >;
+        };
+
+       usb2_pins: pinmux_usb2_pins {
+                pinctrl-single,pins = <
+                       0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */
+                >;
+        };
 };
 
 &i2c1 {
                };
        };
 };
+
+&usb1 {
+       dr_mode = "peripheral";
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb1_pins>;
+};
+
+&usb2 {
+       dr_mode = "host";
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb2_pins>;
+};