[PATCH 6/7] arm64: dts: rockchip: Shorten NanoPi M5 Ethernet PHY reset to datasheet timing
Alexey Charkov
alchark at flipper.net
Fri Nov 20 02:48:14 PST 2026
Use the RTL8211F datasheet minimums for the PHY reset: hold PHYRSTB low
for 10ms, then wait 30ms before the first register access (Rev. 1.1,
section 7.17). With 20ms/100ms every reset of a PHY keeps its port from
coming up for 80ms longer than the PHY needs.
Signed-off-by: Alexey Charkov <alchark at flipper.net>
---
arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
index 638e00b6e165..3444198b6cf6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts
@@ -809,8 +809,8 @@ rgmii_phy0: ethernet-phy at 1 {
interrupts = <RK_PB1 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&gmac0_int>, <&gmac0_rst>;
- reset-assert-us = <20000>;
- reset-deassert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <30000>;
reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
realtek,aldps-enable;
};
@@ -824,8 +824,8 @@ rgmii_phy1: ethernet-phy at 1 {
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&gmac1_int>, <&gmac1_rst>;
- reset-assert-us = <20000>;
- reset-deassert-us = <100000>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <30000>;
reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;
realtek,aldps-enable;
};
--
2.56.0
More information about the Linux-rockchip
mailing list