diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-12-28 15:52:19 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-12-28 15:58:10 +0200 |
commit | f4ad25e5631f242ab5bc13abead8b250d33deab1 (patch) | |
tree | 96a702a594359b3ce9f93d106a1a9221dccbe298 /arch | |
parent | 90bc78f34d25a31a38b2afe0eadd1b0339d7f74c (diff) |
apalis-imx8x: enable on-board USB hub and USBH3/4 ports
Currently the Cadence,usb3 driver doesn't support a phy vbus regulator.
Emulate it keeping the USBH_EN signal high with gpio-hog entry.
This enables the on-board USB-Hub with ports USB2[ABCD] and on-board
USB ports USBH3/4.
Related-to: ELB-3424
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/fsl-imx8qxp-apalis.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-imx8qxp-apalis.dts b/arch/arm/dts/fsl-imx8qxp-apalis.dts index 2caf57bea7..18a125a5f4 100644 --- a/arch/arm/dts/fsl-imx8qxp-apalis.dts +++ b/arch/arm/dts/fsl-imx8qxp-apalis.dts @@ -43,6 +43,15 @@ }; }; +&gpio4 { + usb_host_vbus { + gpio-hog; + gpios = <4 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "USBH_EN"; + }; +}; + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog0>, <&pinctrl_hog1>, <&pinctrl_reset_moci>, <&pinctrl_usbh_en>; @@ -272,6 +281,7 @@ }; &usbotg3 { + dr_mode = "host"; status = "okay"; }; |