summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Stockhausen2026-02-20 16:21:37 +0000
committerRobert Marko2026-02-21 17:58:38 +0000
commit8e33c40c7fd783d6a4bd748eeea9ddea64e0aec4 (patch)
treeb42dc37b280507662986322f5f0ecaf293a254e2
parent00ceb1ed1763f7479df6edf92ffada948f0e7d45 (diff)
downloadopenwrt-8e33c40c7fd783d6a4bd748eeea9ddea64e0aec4.tar.gz
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@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22119 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/realtek/dts/rtl9311_linksys_lgs352c.dts28
1 files 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@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;
+};