ARM: dts: am57xx: sbc-am57x: add usb vbus pinmux
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Tue, 1 Dec 2015 18:03:15 +0000 (20:03 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Dec 2015 16:20:14 +0000 (08:20 -0800)
usb1_drvvbus pin is used to Drive-VBUS enable to external charge
pump/power switch.

Add a pinmux for that pin.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am57xx-sbc-am57x.dts

index 93852e278d1ea2e2edb39083a972eab41f603adf..17a1972ba821a52fda022e1359e428b2bce48c5e 100644 (file)
                        DRA7XX_CORE_IOPAD(0x377c, PIN_INPUT | MUX_MODE14)       /* mmc1_sdwp.gpio6_28 */
                >;
        };
+
+       usb1_pins: pinmux_usb1_pins {
+               pinctrl-single,pins = <
+                       DRA7XX_CORE_IOPAD(0x3680, PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */
+               >;
+       };
 };
 
 &uart3 {
@@ -59,3 +65,8 @@
        cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
 };
+
+&usb1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb1_pins>;
+};