[openwrt/openwrt] realtek: fix LGS352C DTS
LEDE Commits
lede-commits at lists.infradead.org
Sat Feb 21 09:58:41 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8e33c40c7fd783d6a4bd748eeea9ddea64e0aec4
commit 8e33c40c7fd783d6a4bd748eeea9ddea64e0aec4
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Fri Feb 20 17:21:37 2026 +0100
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 <markus.stockhausen at gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22119
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../linux/realtek/dts/rtl9311_linksys_lgs352c.dts | 28 +++++++++++++++++-----
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts b/target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts
index 80c34659f5..5b59a3a5e8 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 at 49 {
- reg = <49>;
+ port at 50 {
+ reg = <50>;
label = "lan50";
pcs-handle = <&serdes9>;
phy-mode = "1000base-x";
managed = "in-band-status";
sfp = <&sfp1>;
};
- port at 50 {
- reg = <50>;
+ port at 52 {
+ reg = <52>;
label = "lan51";
pcs-handle = <&serdes10>;
phy-mode = "1000base-x";
managed = "in-band-status";
sfp = <&sfp2>;
};
- port at 51 {
- reg = <51>;
+ port at 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;
+};
More information about the lede-commits
mailing list