openwrt/target/linux/realtek
Lorenz Brun 0e8231c887
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
realtek: fix SFP ports on RTL83xx
Right now the phylink capability function enables 2.5G and 10G modes on
Maple and Cypress, which they mostly (other than two SERDES on Cypress)
don't support. This causes these modes to be selected and break the link
as they are not supported by hardware.

I looked into doing this properly, but it cannot just be done based on
SoC, but needs to take the whole topology into account as a given MAC
might have very different capabilities depending on what SERDES are
assigned to it. So for now just use 1G and QSGMII for RTL83xx and 10G
for RTL93xx. This mostly works, except it will downgrade some 10G links
on RTL839x, but since there are also 1G SFPs on these this cannot be
solved without fully accounting for the global MAC and SERDES
configuration.

So this makes all of the 1G SFP slots work again, while keeping most of
the 10G SFP+ slots working at 10G with minimal changes.

Signed-off-by: Lorenz Brun <lorenz@brun.one>
Link: https://github.com/openwrt/openwrt/pull/20374
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-10-12 16:12:54 +02:00
..
base-files realtek: Skip auto-MAC assignment for devices with MACs in DT 2025-10-12 15:52:13 +02:00
dts realtek: rtl930x: add XGS1250-12 B1 device 2025-10-07 00:25:02 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: fix SFP ports on RTL83xx 2025-10-12 16:12:54 +02:00
image realtek: rtl930x: add XGS1250-12 B1 device 2025-10-07 00:25:02 +02:00
patches-6.12 kernel: bump 6.12 to 6.12.50 2025-10-04 16:18:49 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: backport ECC driver 2025-09-30 11:15:26 +02:00
rtl839x realtek: backport ECC driver 2025-09-30 11:15:26 +02:00
rtl930x realtek: backport ECC driver 2025-09-30 11:15:26 +02:00
rtl930x_nand realtek: drop source-only from NAND targets 2025-10-05 12:14:05 +02:00
rtl931x realtek: drop source-only from rtl931x target 2025-10-04 16:16:22 +02:00
rtl931x_nand realtek: drop source-only from NAND targets 2025-10-05 12:14:05 +02:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00