aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey2024-06-19 14:44:04 -0700
committerFabio Estevam2024-06-24 09:22:21 -0300
commit5b74b613694d11e802a43903afed53cbdc0c9cb0 (patch)
treebd903af852eadee0d673ce663a71a8643b5fa880
parent143539ea70edc54bf2543226ab0f95c561e679b8 (diff)
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 <tharvey@gateworks.com>
-rw-r--r--arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi b/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
index 240fbc1b568..a90794d8108 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";
+};