From b00f7764eea860ca4ef20983b994a468913a8002 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Sat, 18 Apr 2020 19:22:32 +0200 Subject: [PATCH] =?utf8?q?ARM:=20dts:=20imx6ull-somdevices.dtsi:=20=09?= =?utf8?q?=C2=B7=20Change=20USB1=20configuration.=20=09=C2=B7=20Add=20GPIO?= =?utf8?q?-LEDs=20to=20control=20USB=20enables.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Josep Orga --- arch/arm/boot/dts/imx6ull-somdevices.dtsi | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) 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"; }; -- 2.17.1