summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx6qdl-gw552x.dtsi
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2021-09-29 15:04:22 -0700
committerStefano Babic <sbabic@denx.de>2021-10-07 16:53:50 +0200
commit073b105e794d7aae9b62cac68109a6aa8caa3483 (patch)
tree0d601649dfe0bbfefb6c94938c0ebbfe3a5f0940 /arch/arm/dts/imx6qdl-gw552x.dtsi
parent397d697fd4707043511fdad34f2f75274a4a54d0 (diff)
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-gw552x.dtsi')
-rw-r--r--arch/arm/dts/imx6qdl-gw552x.dtsi21
1 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm/dts/imx6qdl-gw552x.dtsi b/arch/arm/dts/imx6qdl-gw552x.dtsi
index f6742e51315..b853399aec6 100644
--- a/arch/arm/dts/imx6qdl-gw552x.dtsi
+++ b/arch/arm/dts/imx6qdl-gw552x.dtsi
@@ -121,6 +121,15 @@
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
+
+ reg_usb_h1_vbus: regulator-usbh1-vbus {
+ compatible = "regulator-fixed";
+ regulator-name = "usb_h1_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
&gpmi {
@@ -390,9 +399,13 @@
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart5>;
- status = "okay"; };
+ status = "okay";
+};
&usbh1 {
+ vbus-supply = <&reg_usb_h1_vbus>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usbh1>;
status = "okay";
};
@@ -507,6 +520,12 @@
>;
};
+ pinctrl_usbh1: usbh1grp {
+ fsl,pins = <
+ MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0
+ >;
+ };
+
pinctrl_usbotg: usbotggrp {
fsl,pins = <
MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x13059