ARM: dts: s5pv210: Use standard arrays of generic PHYs for EHCI/OHCI device
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 4 Apr 2022 16:56:11 +0000 (18:56 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 4 Apr 2022 16:56:11 +0000 (18:56 +0200)
Move USB PHYs to a standard arrays for S5PV210 EHCI/OHCI devices. This
resolves the conflict between S5PV210 EHCI/OHCI sub-nodes and generic USB
device bindings.

Suggested-by: Måns Rullgård <mans@mansr.com>
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220314181948.246434-3-krzysztof.kozlowski@canonical.com
arch/arm/boot/dts/s5pv210.dtsi

index a7aca54..4ea1e63 100644 (file)
                        interrupt-parent = <&vic1>;
                        clocks = <&clocks CLK_USB_HOST>;
                        clock-names = "usbhost";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
+                       phys = <&usbphy 1>;
+                       phy-names = "host";
                        status = "disabled";
-
-                       port@0 {
-                               reg = <0>;
-                               phys = <&usbphy 1>;
-                       };
                };
 
                ohci: usb@ec300000 {
                        interrupt-parent = <&vic1>;
                        clocks = <&clocks CLK_USB_HOST>;
                        clock-names = "usbhost";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
+                       phys = <&usbphy 1>;
+                       phy-names = "host";
                        status = "disabled";
-
-                       port@0 {
-                               reg = <0>;
-                               phys = <&usbphy 1>;
-                       };
                };
 
                mfc: codec@f1700000 {