summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
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
parentb830526f304764753fcb8b4a563a94080e982a6c (diff)
downloadlinux-656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f.tar.bz2
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')
-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 {
};