]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
airoha: align ethernet-phy node name with reg property 23920/head
authorYaleiZang <yalei.zang@airoha.com>
Tue, 23 Jun 2026 03:34:02 +0000 (11:34 +0800)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 26 Jun 2026 12:35:43 +0000 (14:35 +0200)
Change ethernet-phy node name for alignment with reg.
This enhances the clarity and maintainability of the device-tree.

Signed-off-by: YaleiZang <yalei.zang@airoha.com>
Link: https://github.com/openwrt/openwrt/pull/23920
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/airoha/dts/an7583.dtsi

index 98feaa13380657af954cef0f55e6b55d124066c7..33ac571ca317fd537787f26a3aada63dd3023d31 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <0>;
 
-                               gsw_phy1: ethernet-phy@1 {
+                               gsw_phy1: ethernet-phy@9 {
                                        compatible = "ethernet-phy-ieee802.3-c22";
                                        reg = <9>;
                                        phy-mode = "internal";
                                        };
                                };
 
-                               gsw_phy2: ethernet-phy@2 {
+                               gsw_phy2: ethernet-phy@a {
                                        compatible = "ethernet-phy-ieee802.3-c22";
                                        reg = <10>;
                                        phy-mode = "internal";
                                        };
                                };
 
-                               gsw_phy3: ethernet-phy@3 {
+                               gsw_phy3: ethernet-phy@b {
                                        compatible = "ethernet-phy-ieee802.3-c22";
                                        reg = <11>;
                                        phy-mode = "internal";
                                        };
                                };
 
-                               gsw_phy4: ethernet-phy@4 {
+                               gsw_phy4: ethernet-phy@c {
                                        compatible = "ethernet-phy-ieee802.3-c22";
                                        reg = <12>;
                                        phy-mode = "internal";