airoha: an7581: correct phy nodename

Let node unit address same as reg.

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20482
(cherry picked from commit 077120fb64)
Link: https://github.com/openwrt/openwrt/pull/21838
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Ziyang Huang 2025-10-19 17:51:28 +08:00 committed by Hauke Mehrtens
parent 045a938c05
commit e567287172

View file

@ -985,7 +985,7 @@
#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";
@ -1007,7 +1007,7 @@
};
};
gsw_phy2: ethernet-phy@2 {
gsw_phy2: ethernet-phy@a {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <10>;
phy-mode = "internal";
@ -1029,7 +1029,7 @@
};
};
gsw_phy3: ethernet-phy@3 {
gsw_phy3: ethernet-phy@b {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <11>;
phy-mode = "internal";
@ -1051,7 +1051,7 @@
};
};
gsw_phy4: ethernet-phy@4 {
gsw_phy4: ethernet-phy@c {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <12>;
phy-mode = "internal";