]> git.ipfire.org Git - thirdparty/openwrt.git/commit
rockchip: backport pcie fix for rk3399 20406/head
authorTimothy Feierabend <tim.feierabend@gmail.com>
Wed, 15 Oct 2025 01:44:32 +0000 (20:44 -0500)
committerNick Hainke <vincent@systemli.org>
Wed, 15 Oct 2025 11:54:09 +0000 (13:54 +0200)
commit7ef19bb9cd59f5018fc96b01a5465ed84038cfe8
tree2dd7d5e1988f4b90629f9a5050af3cda69958ee0
parent2bf409fd8b5900215aaf9520a6f02972c6546e8a
rockchip: backport pcie fix for rk3399

This patch resolves the LAN port not initializing on the
FriendlyElec NanoPI R4S, especially during warm reboots.

Upstream commit patch is based on:
https://github.com/torvalds/linux/commit/c3fe7071e196e25789ecf90dbc9e8491a98884d7

I've experienced the LAN port failing to initialize from a cold boot and
after a reboot. Other users have reported this issue on
https://forum.openwrt.org/t/nanopi-r4s-rk3399-is-a-great-new-openwrt-device/79143.
The NanoPI R4S has its LAN port connected to the RK3399 via PCIE. Since the
PCIE lanes don't initialize correctly after reboot, the LAN port
doesn't initialize.

Signed-off-by: Timothy Feierabend <tim.feierabend@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20406
Signed-off-by: Nick Hainke <vincent@systemli.org>
target/linux/rockchip/patches-6.12/036-06-v6.17-phy-rockchip-pcie-Enable-all-four-lanes-if-required.patch [new file with mode: 0644]