With AM35x now supported in device tree and the pdata-quirks
configuring the AM3517 clocks and some of the pin-mux,
this patch enables the MUSB and configures the rest of the pin-
mux options

Signed-off-by: Adam Ford <[email protected]>

diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
index 56fdec33afc1..4aeadaca915f 100644
--- a/arch/arm/boot/dts/am3517-evm.dts
+++ b/arch/arm/boot/dts/am3517-evm.dts
@@ -243,6 +243,12 @@
        phys = <&hsusb1_phy>;
 };
 
+&am35x_otg_hs {
+        status = "okay";
+        pinctrl-names = "default";
+        pinctrl-0 = <&otg_drv_vbus>;
+};
+
 &omap3_pmx_core {
        pinctrl-names = "default";
        pinctrl-0 = <&hsusb1_rst_pins>;
@@ -273,6 +279,12 @@
                >;
        };
 
+       otg_drv_vbus: pinmux_otg_drv_vbus {
+               pinctrl-single,pins = <
+                       OMAP3_CORE1_IOPAD(0x2210, PIN_INPUT_PULLDOWN | 
MUX_MODE0) /* rmii_50MHz_clk.usb0_drvvbus */
+               >;
+       };
+
        backlight_pins: pinmux_backlight_pins {
                pinctrl-single,pins = <
                        OMAP3_CORE1_IOPAD(0x21de, PIN_OUTPUT | MUX_MODE4)       
/* mcspi2_cs1.gpio_182 */
-- 
2.17.1

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

Reply via email to