ARM: dts: dra76-evm: Add VBUS GPIO to USB1/USB2 extcon
authorRoger Quadros <rogerq@ti.com>
Tue, 29 May 2018 09:00:58 +0000 (12:00 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 3 Jul 2018 06:50:33 +0000 (23:50 -0700)
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>
arch/arm/boot/dts/dra76-evm.dts

index c07f005..f983cfd 100644 (file)
        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>;
+};