ARM: dts: omap5: enable OTG role for DWC3 controller
authorH. Nikolaus Schaller <hns@goldelico.com>
Fri, 28 Sep 2018 15:54:00 +0000 (17:54 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Sep 2018 17:33:30 +0000 (10:33 -0700)
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>
arch/arm/boot/dts/omap5-board-common.dtsi

index ab6f640..bf7ca00 100644 (file)
        vbus-supply = <&smps10_out1_reg>;
 };
 
+&dwc3 {
+       dr_mode = "otg";
+};
+
 &mcspi1 {
 
 };