[U-Boot] [PATCH 2/2] net: mvpp2: increase PHY reset pulse

Baruch Siach baruch at tkos.co.il
Mon Oct 15 10:16:48 UTC 2018


The default Linux PHY reset delay is 10ms. This is also the requirement
for Marvell 88E151x PHYs, which are likely to be used with this Ethernet
MAC.

Cc: Stefan Chulski <stefanc at marvell.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 drivers/net/mvpp2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
index b3b1fe1a0c41..f28b939b17dc 100644
--- a/drivers/net/mvpp2.c
+++ b/drivers/net/mvpp2.c
@@ -4806,7 +4806,7 @@ static void mvpp2_gpio_init(struct mvpp2_port *port)
 {
 	if (dm_gpio_is_valid(&port->phy_reset_gpio)) {
 		dm_gpio_set_value(&port->phy_reset_gpio, 1);
-		udelay(1000);
+		udelay(10000);
 		dm_gpio_set_value(&port->phy_reset_gpio, 0);
 	}
 
-- 
2.19.1



More information about the U-Boot mailing list