diff options
author | Roger Quadros <rogerq@ti.com> | 2018-05-29 12:00:55 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-07-02 23:50:33 -0700 |
commit | 5f3cc16483d40bbc609a828511ff851296fc62b6 (patch) | |
tree | d2f1d85af1cddf551ac8cc11bed4a4d96b6655c4 /arch/arm/boot/dts/am57xx-idk-common.dtsi | |
parent | 484d578b71d4981eb1734f8fffbe42814b043b7f (diff) | |
download | linux-5f3cc16483d40bbc609a828511ff851296fc62b6.tar.bz2 |
ARM: dts: am57xx-idk: Enable dual role for USB2 port
Dual-role support was added in v4.12. We should be using
it for USB2 port on the am57xx-idk.
Cc: <stable@vger.kernel.org> [4.16+]
Reported-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-idk-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/am57xx-idk-common.dtsi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi index ad87f1ae904d..c9063ffca524 100644 --- a/arch/arm/boot/dts/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi @@ -395,8 +395,13 @@ dr_mode = "host"; }; +&omap_dwc3_2 { + extcon = <&extcon_usb2>; +}; + &usb2 { - dr_mode = "peripheral"; + extcon = <&extcon_usb2>; + dr_mode = "otg"; }; &mmc1 { |