]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mp-venice-gw74xx: default USB1 to host mode
authorTim Harvey <tharvey@gateworks.com>
Wed, 19 Jun 2024 21:44:04 +0000 (14:44 -0700)
committerFabio Estevam <festevam@gmail.com>
Mon, 24 Jun 2024 12:22:21 +0000 (09:22 -0300)
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 <tharvey@gateworks.com>
arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi

index 240fbc1b568f2daba79fd212a5fd3ed12dd5fb2b..a90794d8108a3b6a81842cd0226aaed5a01c736a 100644 (file)
 &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";
+};