From: Josep Orga Date: Sat, 18 Apr 2020 17:22:32 +0000 (+0200) Subject: ARM: dts: imx6ull-somdevices.dtsi: X-Git-Tag: rel_imx_4.19.35_1.1.0-somdevices.0~21 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=b00f7764eea860ca4ef20983b994a468913a8002;p=linux.git ARM: dts: imx6ull-somdevices.dtsi: · Change USB1 configuration. · Add GPIO-LEDs to control USB enables. Signed-off-by: Josep Orga --- diff --git a/arch/arm/boot/dts/imx6ull-somdevices.dtsi b/arch/arm/boot/dts/imx6ull-somdevices.dtsi index 8a034c65f715..61517de1ab72 100644 --- a/arch/arm/boot/dts/imx6ull-somdevices.dtsi +++ b/arch/arm/boot/dts/imx6ull-somdevices.dtsi @@ -81,6 +81,20 @@ gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; + usb1_enable { + //GPIO to enable/disable USB1 + label = "usb_otg1_vbus"; + retain-state-suspended; + gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + usb2_enable { + //GPIO to enable/disable USB2 + label = "usb_otg2_vbus"; + retain-state-suspended; + gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; }; }; @@ -686,9 +700,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_otg1_id>; dr_mode = "otg"; - srp-disable; - hnp-disable; - adp-disable; + disable-over-current; status = "okay"; };