mediatek: ASUS TUF-AX6000: fix phy-handle numbering
authorMagnus Lindström <magnus1089@hotmail.com>
Wed, 1 May 2024 16:35:38 +0000 (18:35 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 8 May 2024 21:19:09 +0000 (22:19 +0100)
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@hotmail.com>
target/linux/mediatek/dts/mt7986a-asus-tuf-ax6000.dts

index 1cdfb5f1550f040223c96941008c328481eb8b80..891d56853b2eb5e0e8844e15771dc9cfcaef1e3d 100644 (file)
                #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>;
                };