[openwrt/openwrt] realtek: make all link speeds work for RTL8221B in Zyxel XGS1210-12 rev B1
LEDE Commits
lede-commits at lists.infradead.org
Tue Jan 20 06:25:15 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/30f8ceaa7e732eb97e66685816f3a49b6c0dba2c
commit 30f8ceaa7e732eb97e66685816f3a49b6c0dba2c
Author: Jan Hoffmann <jan at 3e8.eu>
AuthorDate: Mon Jan 19 18:45:46 2026 +0100
realtek: make all link speeds work for RTL8221B in Zyxel XGS1210-12 rev B1
SGMII only works correctly on this device if inband auto-negotiation is
enabled. Configure the PHY for SGMII and in-band mode in the device tree
to make this happen.
For 2.5G link speeds the PHY will still switch to 2500Base-X without AN.
The same configuration also works on RTL8226, so it is fine to apply
this change to the A1 revision of XGS1010-12/XGS1210-12 as well.
Signed-off-by: Jan Hoffmann <jan at 3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/21605
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi b/target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi
index 9a0f4a9306..539cdb6229 100644
--- a/target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi
+++ b/target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi
@@ -221,16 +221,18 @@
label = "lan9";
pcs-handle = <&serdes6>;
phy-handle = <&phy24>;
- phy-mode = "2500base-x";
+ phy-mode = "sgmii";
led-set = <1>;
+ managed = "in-band-status";
};
port at 25 {
reg = <25>;
label = "lan10";
pcs-handle = <&serdes7>;
phy-handle = <&phy25>;
- phy-mode = "2500base-x";
+ phy-mode = "sgmii";
led-set = <1>;
+ managed = "in-band-status";
};
port at 26 {
More information about the lede-commits
mailing list