Skip to contentSkip to conversation

imx8mp-venice-gw74xx: default USB1 to host mode

PATCH New Tim Harvey 1 participant 1 message Jun 19, 2024

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH v2 1/1 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.

---
v2: provide missing commit message

---
 arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi +5 -0
index 240fbc1b568f..a90794d8108a 100644
@@ -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";
+};
Signature · 1 line
2.25.1