[openwrt/openwrt] mediatek: ASUS TUF-AX6000: fix phy-handle numbering
LEDE Commits
lede-commits at lists.infradead.org
Wed May 8 14:28:18 PDT 2024
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/54abf1cfc776cd7e6f7868abfa1cbbe141e9631c
commit 54abf1cfc776cd7e6f7868abfa1cbbe141e9631c
Author: Magnus Lindström <magnus1089 at hotmail.com>
AuthorDate: Wed May 1 18:35:38 2024 +0200
mediatek: ASUS TUF-AX6000: fix phy-handle numbering
To fix issue #15304
Correct br-lan ports 1-4 so that phy-handle matches reg nr not port label.
Fixes: eb13076e77 ("mediatek: fix DTS defining mt7530 switch phys but not referencing them")
Signed-off-by: Magnus Lindström <magnus1089 at hotmail.com>
---
target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
index 1cdfb5f155..891d56853b 100644
--- a/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
+++ b/target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts
@@ -296,26 +296,26 @@
#size-cells = <0>;
port at 1 {
- reg = <4>;
- label = "lan1";
+ reg = <1>;
+ label = "lan4";
phy-handle = <&swphy1>;
};
port at 2 {
- reg = <3>;
- label = "lan2";
+ reg = <2>;
+ label = "lan3";
phy-handle = <&swphy2>;
};
port at 3 {
- reg = <2>;
- label = "lan3";
+ reg = <3>;
+ label = "lan2";
phy-handle = <&swphy3>;
};
port at 4 {
- reg = <1>;
- label = "lan4";
+ reg = <4>;
+ label = "lan1";
phy-handle = <&swphy4>;
};
More information about the lede-commits
mailing list