From: H. Nikolaus Schaller Date: Fri, 28 Sep 2018 15:54:00 +0000 (+0200) Subject: ARM: dts: omap5: enable OTG role for DWC3 controller X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f;p=linux.git 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 Signed-off-by: H. Nikolaus Schaller Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index ab6f640b282bf..bf7ca00f4c214 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 { };