From: Roger Quadros Date: Tue, 29 May 2018 09:00:58 +0000 (+0300) Subject: ARM: dts: dra76-evm: Add VBUS GPIO to USB1/USB2 extcon X-Git-Tag: rel_imx_4.19.35_1.1.0~9412^2~11^2~22 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=382ceeaabdada40637449b395fcf17de2b87a005;p=linux.git 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 Signed-off-by: Tony Lindgren --- 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>; +};