]> git.ipfire.org Git - thirdparty/openwrt.git/commit
airoha: an7581: w1700k: fix RTL8261N PHY boot failure with increased reset timing 22564/head
authorRyan Chen <rchen14b@gmail.com>
Fri, 6 Mar 2026 19:44:32 +0000 (13:44 -0600)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 May 2026 17:23:54 +0000 (19:23 +0200)
commit7be78e718e239d7d136eb136d7cc4eb6f7ce9671
treedc61922785fda4da66b69c483a26959b78a6349b
parent54d2b5d7797190914b838a39dedeadd9dead3289
airoha: an7581: w1700k: fix RTL8261N PHY boot failure with increased reset timing

Some W1700K and XR1701G boards with Realtek RTL8261N/RTL8261BE 10G PHYs
fail to bring up the USXGMII link on cold boot. The PHY enters a bad
state during initialization and the link stays down permanently until
power cycle.

Root cause: the GPIO reset assert/deassert timing (40ms/150ms) is too
short for the RTL8261N to complete its internal firmware load. The OEM
firmware uses 200ms/200ms.

Increase both PHY reset timings to 200ms/200ms to match OEM values.
Confirmed to fix intermittent boot failures on both W1700K (Gemtek)
and XR1701G boards.

Signed-off-by: Ryan Chen <rchen14b@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22564
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/airoha/dts/an7581-w1700k-ubi.dts