From 72778743d17058a23e3d788584f6b53865cd3c87 Mon Sep 17 00:00:00 2001 From: HatsyRei Date: Wed, 26 Mar 2025 15:40:45 +0800 Subject: [PATCH] ARM: dts: ni-bluefin: Specify mv88e6341 switch PHYs Marvell 88E6341 'Topaz' ethernet switch on Bluefin hardware has 6 ports, of which port 1 to 4 PHYs are mapped at SMI addresses from 0x11 to 0x14. Specify and bind them to the exposed ports on Bluefin devices. Signed-off-by: HatsyRei --- arch/arm/boot/dts/xilinx/ni-bluefin.dts | 28 ++++++++++++++++++------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/xilinx/ni-bluefin.dts b/arch/arm/boot/dts/xilinx/ni-bluefin.dts index 5a8e835ea2f71..05be6fe3fd902 100644 --- a/arch/arm/boot/dts/xilinx/ni-bluefin.dts +++ b/arch/arm/boot/dts/xilinx/ni-bluefin.dts @@ -105,19 +105,31 @@ port@1 { reg = <1>; label = "sw0"; - fixed-link { - speed = <1000>; - full-duplex; - }; + phy-handle = <&swphy1>; }; port@2 { reg = <2>; label = "sw1"; - fixed-link { - speed = <1000>; - full-duplex; - }; + phy-handle = <&swphy2>; + }; + }; + + mdio { + swphy1: ethernet-phy@11 { + reg = <0x11>; + }; + + swphy2: ethernet-phy@12 { + reg = <0x12>; + }; + + swphy3: ethernet-phy@13 { + reg = <0x13>; + }; + + swphy4: ethernet-phy@14 { + reg = <0x14>; }; }; };