ARM: dts: dra72-evm: Enable USB support for dra72-evm.
authorGeorge Cherian <george.cherian@ti.com>
Tue, 21 Oct 2014 10:41:19 +0000 (13:41 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Nov 2014 22:27:35 +0000 (14:27 -0800)
Add USB data and pinctrl for USB.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra72-evm.dts

index 6f5417a..ad6ec4a 100644 (file)
                        0xd8    (PIN_INPUT  | MUX_MODE0) /* gpmc_wait0 */
                >;
        };
+
+       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>;
+};