diff options
author | Tim Harvey <tharvey@gateworks.com> | 2021-09-30 01:04:22 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-10-07 17:53:50 +0300 |
commit | 073b105e794d7aae9b62cac68109a6aa8caa3483 (patch) | |
tree | 0d601649dfe0bbfefb6c94938c0ebbfe3a5f0940 /arch/arm/dts/imx6qdl-gw54xx.dtsi | |
parent | 397d697fd4707043511fdad34f2f75274a4a54d0 (diff) | |
download | u-boot-073b105e794d7aae9b62cac68109a6aa8caa3483.tar.xz |
imx: ventana: fix USB hub reset
Remove board_ehci_hcd_init function that is not used with DM_USB
and replace its functionality with device-tree configuraton that treats
USB HUB RST# as a gpio enable for the usbh1 vbus regulator.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'arch/arm/dts/imx6qdl-gw54xx.dtsi')
-rw-r--r-- | arch/arm/dts/imx6qdl-gw54xx.dtsi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/dts/imx6qdl-gw54xx.dtsi b/arch/arm/dts/imx6qdl-gw54xx.dtsi index ffed4fb550..98c81e9c9b 100644 --- a/arch/arm/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/dts/imx6qdl-gw54xx.dtsi @@ -146,7 +146,8 @@ regulator-name = "usb_h1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - regulator-always-on; + gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>; + enable-active-high; }; reg_usb_otg_vbus: regulator@3 { @@ -620,6 +621,8 @@ &usbh1 { vbus-supply = <®_usb_h1_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1>; status = "okay"; }; @@ -815,6 +818,12 @@ >; }; + pinctrl_usbh1: usbh1grp { + fsl,pins = < + MX6QDL_PAD_SD1_DAT0__GPIO1_IO16 0x1b0b0 + >; + }; + pinctrl_usbotg: usbotggrp { fsl,pins = < MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 |