[PATCH] ARM: dts: imx7d-smegw01: Describe USBOTG1 as host

Fabio Estevam festevam at denx.de
Thu Feb 9 05:04:29 PST 2023


The USBOTG1 port will always operate in host mode in Linux,
so describe dr_mode accordingly.

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
 arch/arm/boot/dts/imx7d-smegw01.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx7d-smegw01.dts b/arch/arm/boot/dts/imx7d-smegw01.dts
index c0f00f5db11e..386485755676 100644
--- a/arch/arm/boot/dts/imx7d-smegw01.dts
+++ b/arch/arm/boot/dts/imx7d-smegw01.dts
@@ -190,7 +190,7 @@ &uart3 {
 &usbotg1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usbotg1_lpsr>;
-	dr_mode = "otg";
+	dr_mode = "host";
 	vbus-supply = <&reg_usbotg_vbus>;
 	status = "okay";
 };
-- 
2.25.1




More information about the linux-arm-kernel mailing list