summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2018-05-29 11:00:58 +0200
committerTony Lindgren <tony@atomide.com>2018-07-03 08:50:33 +0200
commit382ceeaabdada40637449b395fcf17de2b87a005 (patch)
tree3964d48746474de55f0a385fc4c3f24950b98f7f /arch
parentARM: dts: dra71-evm: Add VBUS GPIO to USB1/USB2 extcon (diff)
downloadlinux-382ceeaabdada40637449b395fcf17de2b87a005.tar.xz
linux-382ceeaabdada40637449b395fcf17de2b87a005.zip
ARM: dts: dra76-evm: Add VBUS GPIO to USB1/USB2 extcon
The board has USB VBUS detection available over GPIO. Plug it to extcon node of USB1 and USB2 ports. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/dra76-evm.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts
index c07f0051844d..f983cfd1cb85 100644
--- a/arch/arm/boot/dts/dra76-evm.dts
+++ b/arch/arm/boot/dts/dra76-evm.dts
@@ -436,3 +436,11 @@
phys = <&pcie1_phy>, <&pcie2_phy>;
phy-names = "pcie-phy0", "pcie-phy1";
};
+
+&extcon_usb1 {
+ vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>;
+};
+
+&extcon_usb2 {
+ vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>;
+};