ARM: dts: dra71-evm: Add VBUS GPIO to USB1/USB2 extcon
authorRoger Quadros <rogerq@ti.com>
Tue, 29 May 2018 09:00:57 +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/dra71-evm.dts

index b7aeaee..c471bf3 100644 (file)
        /* Supplied by VDA_1V8_PHY */
        vdda_video-supply = <&lp8732_ldo1_reg>;
 };
+
+&extcon_usb1 {
+       vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>;
+};
+
+&extcon_usb2 {
+       vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>;
+};