From 03fb3fe6b469ae3e39493ea50979ff5f1e194bdc Mon Sep 17 00:00:00 2001 From: logicog Date: Tue, 21 Oct 2025 17:47:38 +0200 Subject: [PATCH] Reduce PHY reset time to 20ms --- rtl837x_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl837x_phy.c b/rtl837x_phy.c index 633eef5..780f6d3 100644 --- a/rtl837x_phy.c +++ b/rtl837x_phy.c @@ -236,7 +236,7 @@ void phy_reset(uint8_t port) __banked // Disable PHY phy_write(port, PHY_MMD_CTRL, 0xa610, v | 0x0800); - delay(5); + delay(2); // Re-enable PHY phy_write(port, PHY_MMD_CTRL, 0xa610, v & 0xf7ff); }