realtek: enable in-band configuration of SFP port on ZyXEL XGS1250-12
authorTobias Schramm <tobias@t-sys.eu>
Mon, 25 Dec 2023 17:07:39 +0000 (18:07 +0100)
committerSander Vanheule <sander@svanheule.net>
Mon, 5 Feb 2024 19:44:46 +0000 (20:44 +0100)
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 <tobias@t-sys.eu>
target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts

index 98ac08b26a9147d9bd5bd580021c3b3045d0e92c..c9a9e8f2c1db66be0187e04cddf89d2931097823 100644 (file)
                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 {