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>
#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>;
};