diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2018-09-28 18:54:00 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-28 20:33:30 +0300 |
commit | 656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f (patch) | |
tree | 300298708d929389403fa6c94db17b7169ccf2af /arch/arm | |
parent | b830526f304764753fcb8b4a563a94080e982a6c (diff) | |
download | linux-656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f.tar.xz |
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')
-rw-r--r-- | arch/arm/boot/dts/omap5-board-common.dtsi | 4 |
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 { }; |