From: Tim Harvey Date: Wed, 19 Jun 2024 21:44:04 +0000 (-0700) Subject: imx8mp-venice-gw74xx: default USB1 to host mode X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5b74b613694d11e802a43903afed53cbdc0c9cb0;p=u-boot.git imx8mp-venice-gw74xx: default USB1 to host mode The GW74xx USB1 controller connects to a dual-role connector using a GPIO for role detection via the usb-connector Linux driver (usb-conn-gpio.c). This drive does not exist yet in U-Boot so for now we will just default USB1 to host mode. Signed-off-by: Tim Harvey --- diff --git a/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi b/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi index 240fbc1b56..a90794d810 100644 --- a/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi +++ b/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi @@ -243,3 +243,8 @@ &wdog1 { bootph-pre-ram; }; + +/* gpio-usb-con not supported yet in U-Boot so make this a host for now */ +&usb_dwc3_0 { + dr_mode = "host"; +};