]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: make all link speeds work for RTL8221B in Zyxel XGS1210-12 rev B1 21605/head
authorJan Hoffmann <jan@3e8.eu>
Mon, 19 Jan 2026 17:45:46 +0000 (18:45 +0100)
committerRobert Marko <robimarko@gmail.com>
Tue, 20 Jan 2026 14:25:10 +0000 (15:25 +0100)
commit30f8ceaa7e732eb97e66685816f3a49b6c0dba2c
tree2077c14b0e13f98501c6ad75f5d178cb3e2e6c1b
parent1c62e21a8d4a11f169a00a8de0ee8e8d9c73c94c
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@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/21605
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi