diff options
author | Roger Quadros <rogerq@ti.com> | 2017-04-11 16:16:15 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-05-16 09:46:28 -0700 |
commit | a6f627e24139dd8f60057f4812f3fc573c2ad2e3 (patch) | |
tree | 5644cacf5544776885086db93a9bfa20af2fa769 /arch/arm/boot/dts/dra72-evm-common.dtsi | |
parent | b9cb2ba7184841ecddaaacfea2ee7d38e1eefd7c (diff) | |
download | linux-a6f627e24139dd8f60057f4812f3fc573c2ad2e3.tar.bz2 |
ARM: dts: dra7x-evm: Enable dual-role mode for USB1
USB1 port is micro-AB type and can function as peripheral
as well as host. Enable dual-role mode for USB1.
We don't want to use the OTG controller block on this
platform as it limits host mode to high-speed. Instead
we rely on extcon framework to give us ID events for
dual-role mode detection.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra72-evm-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/dra72-evm-common.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index ad24544adf0f..85780549bc26 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -392,7 +392,8 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; + extcon = <&extcon_usb1>; }; &usb2 { |