imx: ventana: fix UMS support
authorTim Harvey <tharvey@gateworks.com>
Sat, 24 Jul 2021 17:40:36 +0000 (10:40 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 12:46:50 +0000 (14:46 +0200)
The Gateworks Ventana boards have always had usb0=usbh1 and usb1=usbotg
because OTG is often subloaded on these boards and a bit in the EEPROM
which flagging that OTG is subloaded is used to remove the dt node via the
alias.

U-Boot DM_USB UMS requires the usb0 alias be assigned to the usbotg
so fix the usb0 alias in order for UMS to work.

Fixes 72c46327f03f: ("imx: ventana: enable dm support for USB")

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
12 files changed:
arch/arm/dts/imx6qdl-gw51xx.dtsi
arch/arm/dts/imx6qdl-gw52xx.dtsi
arch/arm/dts/imx6qdl-gw53xx.dtsi
arch/arm/dts/imx6qdl-gw54xx.dtsi
arch/arm/dts/imx6qdl-gw551x.dtsi
arch/arm/dts/imx6qdl-gw552x.dtsi
arch/arm/dts/imx6qdl-gw553x.dtsi
arch/arm/dts/imx6qdl-gw560x.dtsi
arch/arm/dts/imx6qdl-gw5904.dtsi
arch/arm/dts/imx6qdl-gw5907.dtsi
arch/arm/dts/imx6qdl-gw5912.dtsi
arch/arm/dts/imx6qdl-gw5913.dtsi

index 7e28463..76a41d5 100644 (file)
@@ -13,8 +13,8 @@
                led0 = &led0;
                led1 = &led1;
                nand = &gpmi;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index f1d9ba1..31a059f 100644 (file)
@@ -16,8 +16,8 @@
                mmc0 = &usdhc3;
                nand = &gpmi;
                ssi0 = &ssi1;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index 172a45b..904b228 100644 (file)
@@ -16,8 +16,8 @@
                mmc0 = &usdhc3;
                nand = &gpmi;
                ssi0 = &ssi1;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index e09fad6..95939cf 100644 (file)
@@ -17,8 +17,8 @@
                mmc0 = &usdhc3;
                nand = &gpmi;
                ssi0 = &ssi1;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index 1bb586c..c0ffea1 100644 (file)
@@ -57,8 +57,8 @@
                led0 = &led0;
                nand = &gpmi;
                ssi0 = &ssi1;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index 7935b10..f6742e5 100644 (file)
@@ -14,8 +14,8 @@
                led1 = &led1;
                led2 = &led2;
                nand = &gpmi;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index b6965f2..e21f068 100644 (file)
@@ -55,8 +55,8 @@
                led0 = &led0;
                led1 = &led1;
                nand = &gpmi;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index bfe65fd..5da1975 100644 (file)
@@ -58,8 +58,8 @@
                mmc0 = &usdhc2;
                mmc1 = &usdhc3;
                ssi0 = &ssi1;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index 9adbd72..b5ed2d8 100644 (file)
@@ -56,8 +56,8 @@
                led1 = &led1;
                led2 = &led2;
                mmc0 = &usdhc3;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index 58f73a1..a36b6e7 100644 (file)
@@ -13,8 +13,8 @@
                led0 = &led0;
                led1 = &led1;
                nand = &gpmi;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index 88234a6..2537288 100644 (file)
@@ -15,8 +15,8 @@
                led2 = &led2;
                mmc0 = &usdhc3;
                nand = &gpmi;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {
index f4c2b21..c2c1c2b 100644 (file)
@@ -13,8 +13,8 @@
                led0 = &led0;
                led1 = &led1;
                nand = &gpmi;
-               usb0 = &usbh1;
-               usb1 = &usbotg;
+               usb0 = &usbotg;
+               usb1 = &usbh1;
        };
 
        chosen {