aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am57xx-beagle-x15.dts
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2015-03-17 11:43:51 +0200
committerTony Lindgren <tony@atomide.com>2015-03-17 11:02:12 -0700
commita7b0aa1932b1cdffe4aa901f562309d5fb5e8c4b (patch)
tree9bbea89680ab80f3d03ce5865e37509a0f76de7a /arch/arm/boot/dts/am57xx-beagle-x15.dts
parentac434806f233e43c50afee0e42c88e6e7842572f (diff)
downloadlinux-linaro-stable-a7b0aa1932b1cdffe4aa901f562309d5fb5e8c4b.tar.gz
ARM: dts: dra7x-evm: beagle-x15: Fix USB Peripheral
Now that we have EXTCON_USB_GPIO queued for v4.1, revert commit addfcde7c485 ("ARM: dts: dra7x-evm: beagle-x15: Fix USB Host") On these EVMs, the USB cable state has to be determined via the ID pin tied to a GPIO line. We use the gpio-usb-extcon driver to read the ID pin and the extcon framework to forward the USB cable state information to the USB driver so the controller can be configured in the right mode (host/peripheral). Gets USB peripheral mode to work on this EVM. Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-beagle-x15.dts')
-rw-r--r--arch/arm/boot/dts/am57xx-beagle-x15.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
index c1d82e830a96..41642fe770a1 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
@@ -548,6 +548,14 @@
pinctrl-0 = <&usb1_pins>;
};
+&omap_dwc3_1 {
+ extcon = <&extcon_usb1>;
+};
+
+&omap_dwc3_2 {
+ extcon = <&extcon_usb2>;
+};
+
&usb2 {
dr_mode = "peripheral";
};