]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: phy: add RTL8214FC initialization for RTL839x 21435/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 7 Jan 2026 07:32:58 +0000 (08:32 +0100)
committerStijn Tintel <stijn@linux-ipv6.be>
Mon, 12 Jan 2026 02:44:48 +0000 (04:44 +0200)
commit0bab65dfa7c8ab27d0b2c76126e4d1114a92aa10
tree5cf5474f609da26b66e2cd02dde24e1e7039ca5c
parent4fa90d879b3cb45aadd65c75b741f83f1b9fe811
realtek: phy: add RTL8214FC initialization for RTL839x

Until now the RTL8214FC is initialized either by U-Boot (all
devices) or by some magic firmware file (RTL838x). On RTL839x
devices without U-Boot (e.g. ZyXEL GS1920) this PHY cannot
be used.

Provide the most basic setup sequence for RTL839x so that
copper/fiber work. Later it can be taken over for all devices
and the firmware helpers can be dropped.

Remark! This should not (but might) break RTL839x devices with
RTL8214FC U-Boot setup.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21435
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c