From: Markus Stockhausen Date: Tue, 20 May 2025 08:04:44 +0000 (-0400) Subject: realtek: make use of serdes helper for Panasonic M8EG PN28080K X-Git-Tag: v25.12.0-rc1~2185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b2b095cc9ea5d7a21e0e3c1b172b008b54caf4c;p=thirdparty%2Fopenwrt.git realtek: make use of serdes helper for Panasonic M8EG PN28080K Use the new INTERNAL_PHY_SDS() helper to describe the SFP ports. With this change the driver now knows that ports 24/26 are driven by serdes 4/5. For the RTL838x devices this is currently only an additional information for the mdio bus. It is not evaluated further because everything is hardcoded. Signed-off-by: Markus Stockhausen Link: https://github.com/openwrt/openwrt/pull/18851 Signed-off-by: Robert Marko --- diff --git a/target/linux/realtek/dts/rtl8380_panasonic_m8eg-pn28080k.dts b/target/linux/realtek/dts/rtl8380_panasonic_m8eg-pn28080k.dts index bd59ff36f45..ec133fe0f62 100644 --- a/target/linux/realtek/dts/rtl8380_panasonic_m8eg-pn28080k.dts +++ b/target/linux/realtek/dts/rtl8380_panasonic_m8eg-pn28080k.dts @@ -90,7 +90,7 @@ INTERNAL_PHY(14) INTERNAL_PHY(15) - INTERNAL_PHY(24) + INTERNAL_PHY_SDS(24, 4) }; };