summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/dra7-evm.dts
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-05-14 11:58:13 +0400
committerTony Lindgren <tony@atomide.com>2014-05-15 01:39:39 +0400
commit4b4437cbcc9f677313f4597e6d954e1406fcb4d9 (patch)
tree7acf64e960d550ac726a3fbffaac479f615edcf1 /arch/arm/boot/dts/dra7-evm.dts
parentfbf3e552e9100ed5376a1f6b357dbfb55fc5dc31 (diff)
downloadlinux-4b4437cbcc9f677313f4597e6d954e1406fcb4d9.tar.xz
dts: dra7-evm: add USB support
Add USB pinmux information and USB modes for the USB controllers. CC: BenoƮt Cousson <bcousson@baylibre.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra7-evm.dts')
-rw-r--r--arch/arm/boot/dts/dra7-evm.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 5f1f6da17dad..ec779072a0a3 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -108,6 +108,18 @@
0xbc (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs3.qspi1_cs1 */
>;
};
+
+ usb1_pins: pinmux_usb1_pins {
+ pinctrl-single,pins = <
+ 0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */
+ >;
+ };
+
+ usb2_pins: pinmux_usb2_pins {
+ pinctrl-single,pins = <
+ 0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */
+ >;
+ };
};
&i2c1 {
@@ -353,3 +365,15 @@
};
};
};
+
+&usb1 {
+ dr_mode = "peripheral";
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb1_pins>;
+};
+
+&usb2 {
+ dr_mode = "host";
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb2_pins>;
+};