From: Tobias Schramm Date: Mon, 25 Dec 2023 17:07:39 +0000 (+0100) Subject: realtek: enable in-band configuration of SFP port on ZyXEL XGS1250-12 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=af9bf9a949d37fa31d2948faa06efb28b7dbf72d;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 98ac08b26a91..c9a9e8f2c1db 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 {