1
1
openwrt/target/linux/realtek/image
Balázs Triszka 6369c9e5c7 generic: net: phy: realtek: add 5G and 10G PHY support
The functionality/support for 5G and 10G PHYs was extracted from the
realtek-phy driver and ported to the upstream Linux realtek PHY driver.
These PHY chips need a sequence of register writes (and similar operations)
for initialization. These sequences are provided as firmware files which
are interpreted/applied by a new register patch engine.

By switching to the upstream driver, it should be possible to get rid of a
large chunk of (from OpenWrt perspective) unmaintained code from Realtek.
The actual Linux phy-core infrastructure from Linux can be mostly used and
only the Realtek specific quirks need to be handled.

The files which need to be provided are depending on the PHY:

* rtl8261n.bin (package "rtl8261n-firmware" or "rtl8261n-lp-firmware")
  - RTL8251L 5Gbps PHY
  - RTL8261BE 10Gbps PHY
  - RTL8261N 10Gbps PHY
* rtl8264b.bin (package "rtl8264b-firmware")
  - RTL8254B 5Gbps PHY
  - RTL8264 10Gbps PHY
  - RTL8264B 10Gbps PHY

Files which are affected by this change (DEVICE_PACKAGES dependencies,
hwmon paths, default kernel configurations, refresh of patches, ...) are
updated at the same times.

Signed-off-by: Balázs Triszka <info@balika011.hu>
Co-authored-by: Semih Baskan <strst.gs@gmail.com>
Co-authored-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Co-authored-by: Gilly1970 <gilroyscott@hotmail.com>
Co-authored-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Co-authored-by: Carlo Szelinsky <github@szelinsky.de>
[sven: rebase, integrate suggestions from PR, add device packages, split]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
[daniel: stripped to Linux 6.18 only, dropped unrelated changes]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-21 17:04:55 +01:00
..
rt-loader treewide: strip trailing whitespace 2026-04-08 10:05:53 +02:00
common.mk realtek: image: add recipe for ZyNOS-based Zyxel devices 2026-04-20 11:13:05 +02:00
Makefile realtek: add xikestor sks7300-img tool 2026-05-17 13:11:05 +02:00
rtl838x.mk realtek: add support for Datto L8 2026-04-02 22:25:37 +02:00
rtl839x.mk realtek: image: add rt-loader-bootbase recipe 2026-04-12 18:23:08 +02:00
rtl930x_nand.mk realtek: add support for Linksys LGS328C 2025-10-05 12:14:05 +02:00
rtl930x.mk generic: net: phy: realtek: add 5G and 10G PHY support 2026-05-21 17:04:55 +01:00
rtl931x_nand.mk realtek: add support for Linksys LGS352C 2025-10-05 12:14:05 +02:00
rtl931x.mk realtek: wire up GPIO fan for Zyxel XS1930 switches 2026-05-21 12:08:41 +02:00