summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-12-20 23:27:56 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-12-21 12:32:23 +0200
commit5438a6ada52977b0ee952a503c4e4133663f8a5e (patch)
tree28fae382dc9356bc092094321a64457248c8e53c /arch/arm64
parent59dafb5ee1891f4783aee9f94f2208aa0459ead6 (diff)
arm64: dts: apalis-imx8x: fix regulator for on-board USB hub
The cadence usb3 driver tries to turn down this regulator each time it goes to idle. This signal enables on-board USB Hub and should be always on. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qxp-apalis-eval.dtsi9
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi2
2 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-apalis-eval.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-apalis-eval.dtsi
index 08b2a1db0861..1de8e75946fa 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp-apalis-eval.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-apalis-eval.dtsi
@@ -71,10 +71,15 @@
gpio = <&lsio_gpio3 16 GPIO_ACTIVE_HIGH>;
};
+ /* The Cadence,usb3 driver doesn't support the vbus regulator for now.
+ * Add regulator-always-on to keep the USBH_EN signal up.
+ */
reg_usb_host_vbus: regulator-usb-host-vbus {
compatible = "regulator-fixed";
+ enable-active-high;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh_en>;
+ regulator-always-on;
regulator-name = "usb_host_vbus_hub";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
@@ -286,10 +291,6 @@
vbus-supply = <&reg_usb_otg1_vbus>;
};
-&usbotg3 {
- vbus-regulator = <&reg_usb_host_vbus>;
-};
-
&usbphy1 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi
index 7847f51e18f6..e48a3e033a58 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-apalis.dtsi
@@ -1325,7 +1325,7 @@
/*
* Apalis USB 3.0 Host. Serves USB 3.0 4-port hub on module and
- * USB 3.0 ports on-board
+ * Apalis USBH2-4 ports on-board.
*/
&usbotg3 {
dr_mode = "host";