summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/dra7-evm-common.dtsi
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2018-05-29 12:00:56 +0300
committerTony Lindgren <tony@atomide.com>2018-07-02 23:50:33 -0700
commitb0fa6143ae7469f5efde8ce4195a6151519b77f0 (patch)
tree76879a4d8472e3f832d591e7fdd32e7681b27f95 /arch/arm/boot/dts/dra7-evm-common.dtsi
parent5f3cc16483d40bbc609a828511ff851296fc62b6 (diff)
ARM: dts: dra7-evm: Add extcon to USB2 port
Both ports on the dra7-evm and related boards can be used as dual-role ports. Although we don't enable dual-role mode for USB2 port let's add the necessary extcon bits to it. Move the common portion of extcon_usb2 into dra7-evm-common.dtsi Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra7-evm-common.dtsi')
-rw-r--r--arch/arm/boot/dts/dra7-evm-common.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm-common.dtsi b/arch/arm/boot/dts/dra7-evm-common.dtsi
index 33230c8b2951..7e18147dc563 100644
--- a/arch/arm/boot/dts/dra7-evm-common.dtsi
+++ b/arch/arm/boot/dts/dra7-evm-common.dtsi
@@ -20,6 +20,11 @@
id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
};
+ extcon_usb2: extcon_usb2 {
+ compatible = "linux,extcon-usb-gpio";
+ id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
+ };
+
sound0: sound0 {
compatible = "simple-audio-card";
simple-audio-card,name = "DRA7xx-EVM";
@@ -198,8 +203,13 @@
extcon = <&extcon_usb1>;
};
+&omap_dwc3_2 {
+ extcon = <&extcon_usb2>;
+};
+
&usb2 {
dr_mode = "host";
+ extcon = <&extcon_usb2>;
};
&atl {