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 <[email protected]>
---
 arch/arm/boot/dts/am437x-sk-evm.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts 
b/arch/arm/boot/dts/am437x-sk-evm.dts
index 68b9529..5ca9ee7 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -329,6 +329,18 @@
                        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 {
@@ -485,6 +497,8 @@
 &usb1 {
        dr_mode = "peripheral";
        status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb1_pins>;
 };
 
 &usb2_phy2 {
@@ -494,6 +508,8 @@
 &usb2 {
        dr_mode = "host";
        status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb2_pins>;
 };
 
 &qspi {
-- 
2.1.0.GIT

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to