From da14b9467ef63cae57dfe698a3f5d1ee0d071f7e Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Mon, 28 Dec 2020 12:30:08 +0200 Subject: 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 --- arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) 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; }; -- cgit v1.2.3