]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: fix LGS352C DTS 22119/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 20 Feb 2026 16:21:37 +0000 (17:21 +0100)
committerRobert Marko <robimarko@gmail.com>
Sat, 21 Feb 2026 17:58:38 +0000 (18:58 +0100)
There is a wrong port assignment for the 4 SFP+ ports
on that device. Additionally the transmit polarity
change option was missed. Fix that.

Fixes: f88135b ("realtek: add support for Linksys LGS352C")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22119
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts

index 80c34659f508dc6243f55a42ae9ef6e2b5996733..5b59a3a5e8df9626e68e36c8155410ee12426b88 100644 (file)
                        managed = "in-band-status";
                        sfp = <&sfp0>;
                };
-               port@49 {
-                       reg = <49>;
+               port@50 {
+                       reg = <50>;
                        label = "lan50";
                        pcs-handle = <&serdes9>;
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp1>;
                };
-               port@50 {
-                       reg = <50>;
+               port@52 {
+                       reg = <52>;
                        label = "lan51";
                        pcs-handle = <&serdes10>;
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp2>;
                };
-               port@51 {
-                       reg = <51>;
+               port@53 {
+                       reg = <53>;
                        label = "lan52";
                        pcs-handle = <&serdes11>;
                        phy-mode = "1000base-x";
                };
        };
 };
+
+&serdes8 {
+       realtek,pnswap-tx;
+};
+
+&serdes9 {
+       realtek,pnswap-tx;
+};
+
+&serdes10 {
+       realtek,pnswap-tx;
+};
+
+&serdes11 {
+       realtek,pnswap-tx;
+};