From: Magnus Lindström Date: Wed, 1 May 2024 16:35:38 +0000 (+0200) Subject: mediatek: ASUS TUF-AX6000: fix phy-handle numbering X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=54abf1cfc776cd7e6f7868abfa1cbbe141e9631c;p=openwrt%2Fstaging%2Fansuel.git 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 --- 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@1 { - reg = <4>; - label = "lan1"; + reg = <1>; + label = "lan4"; phy-handle = <&swphy1>; }; port@2 { - reg = <3>; - label = "lan2"; + reg = <2>; + label = "lan3"; phy-handle = <&swphy2>; }; port@3 { - reg = <2>; - label = "lan3"; + reg = <3>; + label = "lan2"; phy-handle = <&swphy3>; }; port@4 { - reg = <1>; - label = "lan4"; + reg = <4>; + label = "lan1"; phy-handle = <&swphy4>; };