From af9bf9a949d37fa31d2948faa06efb28b7dbf72d Mon Sep 17 00:00:00 2001 From: Tobias Schramm Date: Mon, 25 Dec 2023 18:07:39 +0100 Subject: [PATCH] realtek: enable in-band configuration of SFP port on ZyXEL XGS1250-12 The rtl93xx SoC supports both 1000Base-X and 10GBase-CR on its SerDes interfaces. Enable dynamic switching between mac-signaled modes to support 1000Base-X and 10GBase-CR on the SFP port. Signed-off-by: Tobias Schramm --- .../realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts b/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts index 98ac08b26a9..c9a9e8f2c1d 100644 --- a/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts +++ b/target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts @@ -300,17 +300,11 @@ port@27 { reg = <27>; label = "lan12"; - phy-mode = "10gbase-r"; + phy-mode = "1000base-x"; phy-handle = <&phy27>; sfp = <&sfp0>; led-set = <2>; - - fixed-link { - speed = <10000>; - full-duplex; - pause; - }; - + managed = "in-band-status"; }; port@28 {