Commit b0fa6143 authored by Roger Quadros's avatar Roger Quadros Committed by Tony Lindgren

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: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5f3cc164
...@@ -20,6 +20,11 @@ extcon_usb1: extcon_usb1 { ...@@ -20,6 +20,11 @@ extcon_usb1: extcon_usb1 {
id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; 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 { sound0: sound0 {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "DRA7xx-EVM"; simple-audio-card,name = "DRA7xx-EVM";
...@@ -198,8 +203,13 @@ &usb1 { ...@@ -198,8 +203,13 @@ &usb1 {
extcon = <&extcon_usb1>; extcon = <&extcon_usb1>;
}; };
&omap_dwc3_2 {
extcon = <&extcon_usb2>;
};
&usb2 { &usb2 {
dr_mode = "host"; dr_mode = "host";
extcon = <&extcon_usb2>;
}; };
&atl { &atl {
......
...@@ -106,11 +106,6 @@ vmmcwl_fixed: fixedregulator-mmcwl { ...@@ -106,11 +106,6 @@ vmmcwl_fixed: fixedregulator-mmcwl {
enable-active-high; enable-active-high;
}; };
extcon_usb2: extcon_usb2 {
compatible = "linux,extcon-usb-gpio";
id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
};
vtt_fixed: fixedregulator-vtt { vtt_fixed: fixedregulator-vtt {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "vtt_fixed"; regulator-name = "vtt_fixed";
...@@ -406,10 +401,6 @@ &cpu0 { ...@@ -406,10 +401,6 @@ &cpu0 {
vdd-supply = <&smps123_reg>; vdd-supply = <&smps123_reg>;
}; };
&omap_dwc3_2 {
extcon = <&extcon_usb2>;
};
&elm { &elm {
status = "okay"; status = "okay";
}; };
......
...@@ -391,6 +391,7 @@ &usb1 { ...@@ -391,6 +391,7 @@ &usb1 {
&usb2 { &usb2 {
dr_mode = "host"; dr_mode = "host";
extcon = <&extcon_usb2>;
}; };
&mmc1 { &mmc1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment