ARM: dts: Add usb support for dm814x-evm
authorTony Lindgren <tony@atomide.com>
Wed, 23 Dec 2015 00:01:16 +0000 (16:01 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Dec 2015 00:01:16 +0000 (16:01 -0800)
Add usb support for dm814x-evm

Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dm8148-evm.dts

index 08d01c3e7cf3c7162cfdac6f9db97b04b138795a..e070862b1038346c0ab984a116425bba52b01dd4 100644 (file)
                        DM814X_IOPAD(0x093C, PIN_INPUT_PULLUP |  0x80)  /* GP1[6] */
                        >;
        };
+
+       usb0_pins: pinmux_usb0_pins {
+               pinctrl-single,pins = <
+                       DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1)  /* USB0_DRVVBUS */
+                       >;
+       };
+
+       usb1_pins: pinmux_usb1_pins {
+               pinctrl-single,pins = <
+                       DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */
+                       >;
+       };
+};
+
+&usb0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb0_pins>;
+       dr_mode = "host";
+};
+
+&usb1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&usb1_pins>;
+       dr_mode = "host";
 };