[PATCH 0/7] arm64: dts: rockchip: Updates to RGMII PHYs on Sige5 and NanoPi M5
Alexey Charkov
alchark at flipper.net
Fri Nov 20 02:48:08 PST 2026
Both ArmSoM Sige5 and NanoPi M5 boards use the same Realtek RGMII PHYs
which currently share an issue preventing them from enumeration unless an
earlier boot stage left them out of reset: at power-on, their reset lines
are asserted, so they cannot answer an MDIO probe. Until they answer, the
OS cannot look up the ID to match a driver. And until the OS has a driver,
nothing releases their reset line.
Fix this by using their known PHY IDs instead of the generic compatible,
so that the deadlock is broken. This also opens up the possibility to
enable the Realtek-specific ALDPS feature (automatic link-down power
saving), which saves around 400 mW for each PHY with no cable attached.
While here, also do a couple of minor cleanups: NanoPi M5 uses a dedicated
crystal to derive the 25MHz reference clock, so it doesn't use the SoC
provided clock, and the current DT property is superfluous and misleading.
RTL8211F datasheet also specifies much shorter reset assertion and
deassertion times than currently used in the DT, so adjust those, too, to
avoid wasting unnecessary time during the reset sequence.
Signed-off-by: Alexey Charkov <alchark at flipper.net>
---
Alexey Charkov (7):
arm64: dts: rockchip: Describe NanoPi M5 Ethernet PHYs by their ID
arm64: dts: rockchip: Describe Sige5 Ethernet PHYs by their ID
arm64: dts: rockchip: Drop NanoPi M5 PHY reference clocks
arm64: dts: rockchip: Enable ALDPS on NanoPi M5 Ethernet PHYs
arm64: dts: rockchip: Enable ALDPS on Sige5 Ethernet PHYs
arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing
arm64: dts: rockchip: Shorten Sige5 Ethernet PHY reset to datasheet timing
arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts | 18 ++++++++++--------
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 20 ++++++++++----------
2 files changed, 20 insertions(+), 18 deletions(-)
---
base-commit: adcad7f4e6332cff3d6d7165f41584899f598534
change-id: 20261120-rk3576-phys-277680a877d7
Best regards,
--
Alexey Charkov <alchark at flipper.net>
More information about the Linux-rockchip
mailing list