summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am57xx-idk-common.dtsi
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2018-05-29 11:00:55 +0200
committerTony Lindgren <tony@atomide.com>2018-07-03 08:50:33 +0200
commit5f3cc16483d40bbc609a828511ff851296fc62b6 (patch)
treed2f1d85af1cddf551ac8cc11bed4a4d96b6655c4 /arch/arm/boot/dts/am57xx-idk-common.dtsi
parentARM: dts: omap5: Add missing cooling device properties for CPUs (diff)
downloadlinux-5f3cc16483d40bbc609a828511ff851296fc62b6.tar.xz
linux-5f3cc16483d40bbc609a828511ff851296fc62b6.zip
ARM: dts: am57xx-idk: Enable dual role for USB2 port
Dual-role support was added in v4.12. We should be using it for USB2 port on the am57xx-idk. Cc: <stable@vger.kernel.org> [4.16+] Reported-by: Bin Liu <b-liu@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/am57xx-idk-common.dtsi')
-rw-r--r--arch/arm/boot/dts/am57xx-idk-common.dtsi7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi
index ad87f1ae904d..c9063ffca524 100644
--- a/arch/arm/boot/dts/am57xx-idk-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi
@@ -395,8 +395,13 @@
dr_mode = "host";
};
+&omap_dwc3_2 {
+ extcon = <&extcon_usb2>;
+};
+
&usb2 {
- dr_mode = "peripheral";
+ extcon = <&extcon_usb2>;
+ dr_mode = "otg";
};
&mmc1 {