[openwrt/openwrt] realtek: make use of serdes helper for Panasonic M8EG PN28080K

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 22 07:37:44 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7b2b095cc9ea5d7a21e0e3c1b172b008b54caf4c

commit 7b2b095cc9ea5d7a21e0e3c1b172b008b54caf4c
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Tue May 20 04:04:44 2025 -0400

    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 <markus.stockhausen at gmx.de>
    Link: https://github.com/openwrt/openwrt/pull/18851
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/realtek/dts/rtl8380_panasonic_m8eg-pn28080k.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/realtek/dts/rtl8380_panasonic_m8eg-pn28080k.dts b/target/linux/realtek/dts/rtl8380_panasonic_m8eg-pn28080k.dts
index bd59ff36f4..ec133fe0f6 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)
 	};
 };
 




More information about the lede-commits mailing list