summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-12-28 12:30:08 +0200
committerDenys Drozdov <denys.drozdov@toradex.com>2021-01-20 18:56:46 +0200
commit0c6ead3819a8824132490b3862e27c6187f3cbd9 (patch)
tree6da221d3c310de60426e3bcb6d4a35879eccd7f0
parented1d9d63d649a9343ac4990a27ef28a8158ae0b7 (diff)
apalis-imx8x: fix host mode for usbotg1 port
Trying to use the usbotg1 port in host mode led to the following error: ================= starting USB... Bus usb@5b0d0000: usb dr_mode not found Port not available. ================= Adding the correct dual-role mode fixes this issue and let the usbotg1 port working in both peripheral and host mode. Related-to: ELB-3424 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi b/arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi
index aaa8bbe2e3..b0aed20904 100644
--- a/arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi
+++ b/arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi
@@ -170,6 +170,7 @@
};
&usbotg1 {
+ dr_mode = "otg";
u-boot,dm-pre-proper;
};