summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-12-28 12:30:08 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-12-28 12:30:08 +0200
commitda14b9467ef63cae57dfe698a3f5d1ee0d071f7e (patch)
tree12bcbeeeda7c46e8faa0578d7a39e82cbea157ef
parent85ee63d6a5472285ccb176112f96489a69a7a6a7 (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;
};