aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap5-board-common.dtsi
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2018-09-28 17:54:00 +0200
committerTony Lindgren <tony@atomide.com>2018-09-28 10:33:30 -0700
commit656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f (patch)
tree300298708d929389403fa6c94db17b7169ccf2af /arch/arm/boot/dts/omap5-board-common.dtsi
parentARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode (diff)
downloadlinux-dev-656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f.tar.xz
linux-dev-656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f.zip
ARM: dts: omap5: enable OTG role for DWC3 controller
Since SMPS10 and OTG cable detection extcon are described here, and work to enable OTG power when an OTG cable is plugged in, we can define OTG mode in the controller (which is disabled by default in omap5.dtsi). Tested on OMAP5EVM and Pyra. Suggested-by: Roger Quadros <rogerq@ti.com> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap5-board-common.dtsi')
-rw-r--r--arch/arm/boot/dts/omap5-board-common.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi
index ab6f640b282b..bf7ca00f4c21 100644
--- a/arch/arm/boot/dts/omap5-board-common.dtsi
+++ b/arch/arm/boot/dts/omap5-board-common.dtsi
@@ -700,6 +700,10 @@
vbus-supply = <&smps10_out1_reg>;
};
+&dwc3 {
+ dr_mode = "otg";
+};
+
&mcspi1 {
};