ARM: dts: am437x-sk: add explicit pinmux for both USB instances
authorFelipe Balbi <balbi@ti.com>
Thu, 4 Dec 2014 17:01:57 +0000 (11:01 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 8 Jan 2015 00:23:28 +0000 (16:23 -0800)
This patch just makes USB[01]_DRVVBUS signal
explicitly muxed. Note that board already has
a discrete pulldown, so we're not adding any
pulls here.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-sk-evm.dts

index 9e86cedab46685ed22e944c39c7079136d277819..f7775c79ee96eebb11e41adb4abf3ab46195a2b5 100644 (file)
                        0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpcm_ad7.gpio1_7 */
                >;
        };
+
+       usb1_pins: usb1_pins {
+               pinctrl-single,pins = <
+                       0x2c0 (PIN_OUTPUT | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
+               >;
+       };
+
+       usb2_pins: usb2_pins {
+               pinctrl-single,pins = <
+                       0x2c4 (PIN_OUTPUT | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
+               >;
+       };
 };
 
 &i2c0 {
 &usb1 {
        dr_mode = "peripheral";
        status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb1_pins>;
 };
 
 &usb2_phy2 {
 &usb2 {
        dr_mode = "host";
        status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb2_pins>;
 };
 
 &qspi {