ARM: dts: uniphier: Switch USB node to the original
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Tue, 28 Feb 2023 02:37:08 +0000 (11:37 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 6 Mar 2023 22:05:40 +0000 (17:05 -0500)
UniPhier DT applies its own USB node for U-Boot due to the USB driver
constrains. After solving this issue, u-boot allows the original USB node.

After switching USB node, synchronization of USB node with Linux becomes
possible.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Marek Vasut <marex@denx.de>
arch/arm/dts/uniphier-ld20.dtsi
arch/arm/dts/uniphier-pro4.dtsi
arch/arm/dts/uniphier-pxs2.dtsi
arch/arm/dts/uniphier-pxs3.dtsi

index 4549935..1aad4cf 100644 (file)
                        };
                };
 
-               _usb: usb@65a00000 {
+               usb: usb@65a00000 {
                        compatible = "socionext,uniphier-dwc3", "snps,dwc3";
                        status = "disabled";
                        reg = <0x65a00000 0xcd00>;
                        };
                };
 
-               /* FIXME: U-Boot own node */
-               usb: usb@65b00000 {
-                       compatible = "socionext,uniphier-ld20-dwc3";
-                       reg = <0x65b00000 0x1000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb1>,
-                                   <&pinctrl_usb2>, <&pinctrl_usb3>;
-                       dwc3@65a00000 {
-                               compatible = "snps,dwc3";
-                               reg = <0x65a00000 0x10000>;
-                               interrupts = <0 134 4>;
-                               dr_mode = "host";
-                               tx-fifo-resize;
-                       };
-               };
-
                pcie: pcie@66000000 {
                        compatible = "socionext,uniphier-pcie", "snps,dw-pcie";
                        status = "disabled";
index 9dae4e9..cd706f4 100644 (file)
                        };
                };
 
-               _usb0: usb@65a00000 {
+               usb0: usb@65a00000 {
                        compatible = "socionext,uniphier-dwc3", "snps,dwc3";
                        status = "disabled";
                        reg = <0x65a00000 0xcd00>;
                        };
                };
 
-               /* FIXME: U-Boot own node */
-               usb0: usb@65b00000 {
-                       compatible = "socionext,uniphier-pro4-dwc3";
-                       status = "disabled";
-                       reg = <0x65b00000 0x1000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_usb0>;
-                       dwc3@65a00000 {
-                               compatible = "snps,dwc3";
-                               reg = <0x65a00000 0x10000>;
-                               interrupts = <0 134 4>;
-                               dr_mode = "host";
-                               tx-fifo-resize;
-                       };
-               };
-
-               _usb1: usb@65c00000 {
+               usb1: usb@65c00000 {
                        compatible = "socionext,uniphier-dwc3", "snps,dwc3";
                        status = "disabled";
                        reg = <0x65c00000 0xcd00>;
                        };
                };
 
-               /* FIXME: U-Boot own node */
-               usb1: usb@65d00000 {
-                       compatible = "socionext,uniphier-pro4-dwc3";
-                       status = "disabled";
-                       reg = <0x65d00000 0x1000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_usb1>;
-                       dwc3@65c00000 {
-                               compatible = "snps,dwc3";
-                               reg = <0x65c00000 0x10000>;
-                               interrupts = <0 137 4>;
-                               dr_mode = "host";
-                               tx-fifo-resize;
-                       };
-               };
-
                nand: nand-controller@68000000 {
                        compatible = "socionext,uniphier-denali-nand-v5a";
                        status = "disabled";
index 7a8b6c1..0364bdc 100644 (file)
                        };
                };
 
-               _usb0: usb@65a00000 {
+               usb0: usb@65a00000 {
                        compatible = "socionext,uniphier-dwc3", "snps,dwc3";
                        status = "disabled";
                        reg = <0x65a00000 0xcd00>;
                        };
                };
 
-               /* FIXME: U-Boot own node */
-               usb0: usb@65b00000 {
-                       compatible = "socionext,uniphier-pxs2-dwc3";
-                       status = "disabled";
-                       reg = <0x65b00000 0x1000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
-                       dwc3@65a00000 {
-                               compatible = "snps,dwc3";
-                               reg = <0x65a00000 0x10000>;
-                               interrupts = <0 134 4>;
-                               dr_mode = "host";
-                               tx-fifo-resize;
-                       };
-               };
-
-               _usb1: usb@65c00000 {
+               usb1: usb@65c00000 {
                        compatible = "socionext,uniphier-dwc3", "snps,dwc3";
                        status = "disabled";
                        reg = <0x65c00000 0xcd00>;
                        };
                };
 
-               /* FIXME: U-Boot own node */
-               usb1: usb@65d00000 {
-                       compatible = "socionext,uniphier-pxs2-dwc3";
-                       status = "disabled";
-                       reg = <0x65d00000 0x1000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
-                       dwc3@65c00000 {
-                               compatible = "snps,dwc3";
-                               reg = <0x65c00000 0x10000>;
-                               interrupts = <0 137 4>;
-                               dr_mode = "host";
-                               tx-fifo-resize;
-                       };
-               };
-
                nand: nand-controller@68000000 {
                        compatible = "socionext,uniphier-denali-nand-v5b";
                        status = "disabled";
index 004656c..410bf51 100644 (file)
                        };
                };
 
-               _usb0: usb@65a00000 {
+               usb0: usb@65a00000 {
                        compatible = "socionext,uniphier-dwc3", "snps,dwc3";
                        status = "disabled";
                        reg = <0x65a00000 0xcd00>;
                        };
                };
 
-               /* FIXME: U-Boot own node */
-               usb0: usb@65b00000 {
-                       compatible = "socionext,uniphier-pxs3-dwc3";
-                       status = "disabled";
-                       reg = <0x65b00000 0x1000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
-                       dwc3@65a00000 {
-                               compatible = "snps,dwc3";
-                               reg = <0x65a00000 0x10000>;
-                               interrupts = <0 134 4>;
-                               dr_mode = "host";
-                               tx-fifo-resize;
-                       };
-               };
-
-               _usb1: usb@65c00000 {
+               usb1: usb@65c00000 {
                        compatible = "socionext,uniphier-dwc3", "snps,dwc3";
                        status = "disabled";
                        reg = <0x65c00000 0xcd00>;
                        };
                };
 
-               /* FIXME: U-Boot own node */
-               usb1: usb@65d00000 {
-                       compatible = "socionext,uniphier-pxs3-dwc3";
-                       status = "disabled";
-                       reg = <0x65d00000 0x1000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
-                       dwc3@65c00000 {
-                               compatible = "snps,dwc3";
-                               reg = <0x65c00000 0x10000>;
-                               interrupts = <0 137 4>;
-                               dr_mode = "host";
-                               tx-fifo-resize;
-                       };
-               };
-
                pcie: pcie@66000000 {
                        compatible = "socionext,uniphier-pcie", "snps,dw-pcie";
                        status = "disabled";