ARM: dts: gemini: Fix switch node names in the DIR-685
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 11 Feb 2024 21:24:23 +0000 (22:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 21 Feb 2024 13:22:53 +0000 (14:22 +0100)
The formally correct node names have "ethernet-*" prefix on
switch, ports, port and phy, fix it up.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240211-gemini-dts-v1-1-6c09adeb4c2e@linaro.org
arch/arm/boot/dts/gemini/gemini-dlink-dir-685.dts

index 396149664297fdf81f4b15499003af95af58c684..30c931415680c6da4153aff295ff93da45ae55fc 100644 (file)
        };
 
        /* This is a RealTek RTL8366RB switch and PHY using SMI over GPIO */
-       switch {
+       ethernet-switch {
                compatible = "realtek,rtl8366rb";
                /* 22 = MDIO (has input reads), 21 = MDC (clock, output only) */
                mdc-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
                        #interrupt-cells = <1>;
                };
 
-               ports {
+               ethernet-ports {
                        #address-cells = <1>;
                        #size-cells = <0>;
 
-                       port@0 {
+                       ethernet-port@0 {
                                reg = <0>;
                                label = "lan0";
                                phy-handle = <&phy0>;
                        };
-                       port@1 {
+                       ethernet-port@1 {
                                reg = <1>;
                                label = "lan1";
                                phy-handle = <&phy1>;
                        };
-                       port@2 {
+                       ethernet-port@2 {
                                reg = <2>;
                                label = "lan2";
                                phy-handle = <&phy2>;
                        };
-                       port@3 {
+                       ethernet-port@3 {
                                reg = <3>;
                                label = "lan3";
                                phy-handle = <&phy3>;
                        };
-                       port@4 {
+                       ethernet-port@4 {
                                reg = <4>;
                                label = "wan";
                                phy-handle = <&phy4>;
                        };
-                       rtl8366rb_cpu_port: port@5 {
+                       rtl8366rb_cpu_port: ethernet-port@5 {
                                reg = <5>;
                                label = "cpu";
                                ethernet = <&gmac0>;
                        #address-cells = <1>;
                        #size-cells = <0>;
 
-                       phy0: phy@0 {
+                       phy0: ethernet-phy@0 {
                                reg = <0>;
                                interrupt-parent = <&switch_intc>;
                                interrupts = <0>;
                        };
-                       phy1: phy@1 {
+                       phy1: ethernet-phy@1 {
                                reg = <1>;
                                interrupt-parent = <&switch_intc>;
                                interrupts = <1>;
                        };
-                       phy2: phy@2 {
+                       phy2: ethernet-phy@2 {
                                reg = <2>;
                                interrupt-parent = <&switch_intc>;
                                interrupts = <2>;
                        };
-                       phy3: phy@3 {
+                       phy3: ethernet-phy@3 {
                                reg = <3>;
                                interrupt-parent = <&switch_intc>;
                                interrupts = <3>;
                        };
-                       phy4: phy@4 {
+                       phy4: ethernet-phy@4 {
                                reg = <4>;
                                interrupt-parent = <&switch_intc>;
                                interrupts = <12>;