From: Markus Stockhausen Date: Fri, 20 Feb 2026 16:21:37 +0000 (+0100) Subject: realtek: fix LGS352C DTS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e33c40c7fd783d6a4bd748eeea9ddea64e0aec4;p=thirdparty%2Fopenwrt.git realtek: fix LGS352C DTS 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 Link: https://github.com/openwrt/openwrt/pull/22119 Signed-off-by: Robert Marko --- diff --git a/target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts b/target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts index 80c34659f50..5b59a3a5e8d 100644 --- a/target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts +++ b/target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts @@ -368,24 +368,24 @@ 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"; @@ -404,3 +404,19 @@ }; }; }; + +&serdes8 { + realtek,pnswap-tx; +}; + +&serdes9 { + realtek,pnswap-tx; +}; + +&serdes10 { + realtek,pnswap-tx; +}; + +&serdes11 { + realtek,pnswap-tx; +};