From c9ca365b206d821f0d90268cc818af5c9cfa4b37 Mon Sep 17 00:00:00 2001
From: Torben Hohn <torbenh@linutronix.de>
Date: Mon, 17 Mar 2014 20:52:06 +0100
Subject: [PATCH 40/51] dts am335x-pcm051: Add pimux settings for usb drvvbus
 and OC

---
 arch/arm/boot/dts/am335x-pcm051.dts |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-pcm051.dts b/arch/arm/boot/dts/am335x-pcm051.dts
index 8238e49..e98ebaa 100644
--- a/arch/arm/boot/dts/am335x-pcm051.dts
+++ b/arch/arm/boot/dts/am335x-pcm051.dts
@@ -93,6 +93,20 @@
                                0x18c 0x30      /* i2c0_scl.i2c0_scl PULLUP | INPUTENABLE | MODE0 */
                        >;
                };
+
+               usb0_pins: pinmux_usb0_pins {
+                       pinctrl-single,pins = <
+                               0x21c (PIN_OUTPUT | MUX_MODE0)          /* usb0_drvvbus.usb0_drvvbus */
+                               0x19c (PIN_INPUT_PULLUP | MUX_MODE7)    /* mcasp0_ahclkr.gpio3_17 */
+                       >;
+               };
+
+               usb1_pins: pinmux_usb1_pins {
+                       pinctrl-single,pins = <
+                               0x234 (PIN_OUTPUT | MUX_MODE0)          /* usb1_drvvbus.usb1_drvvbus */
+                               0x1a0 (PIN_INPUT_PULLUP | MUX_MODE7)    /* mcasp0_aclkr.gpio3_18 */
+                       >;
+               };
        };
 
        ocp {
@@ -121,10 +135,14 @@
                        };
 
                        usb-phy@47401300 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&usb0_pins>;
                                status = "okay";
                        };
 
                        usb-phy@47401b00 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&usb1_pins>;
                                status = "okay";
                        };
 
-- 
1.7.10.4