From 54abf1cfc776cd7e6f7868abfa1cbbe141e9631c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Lindstr=C3=B6m?= Date: Wed, 1 May 2024 18:35:38 +0200 Subject: [PATCH] mediatek: ASUS TUF-AX6000: fix phy-handle numbering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../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@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>; };