From: Dmitry Lifshitz Date: Tue, 1 Dec 2015 18:03:15 +0000 (+0200) Subject: ARM: dts: am57xx: sbc-am57x: add usb vbus pinmux X-Git-Tag: v4.5-rc1~43^2~34^2~8 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ed7ce764ed8ec62fb4580aa74d412ce33c1d3b52;p=linux.git ARM: dts: am57xx: sbc-am57x: add usb vbus pinmux 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 Acked-by: Igor Grinberg Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am57xx-sbc-am57x.dts b/arch/arm/boot/dts/am57xx-sbc-am57x.dts index 93852e278d1e..17a1972ba821 100644 --- a/arch/arm/boot/dts/am57xx-sbc-am57x.dts +++ b/arch/arm/boot/dts/am57xx-sbc-am57x.dts @@ -37,6 +37,12 @@ DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1_sdcd.gpio6_27 */ 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 @@ &mmc1 { cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; wp-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>; }; + +&usb1 { + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins>; +};