diff mbox series

ARM: rmobile: Increase PHY auto-negotiation timeout to 20s

Message ID 20200614124319.101309-1-marek.vasut+renesas@gmail.com
State Accepted
Commit 10fa7ec9f64dec9bc90e85e37248eabfb9b44bf2
Delegated to: Marek Vasut
Headers show
Series ARM: rmobile: Increase PHY auto-negotiation timeout to 20s | expand

Commit Message

Marek Vasut June 14, 2020, 12:43 p.m. UTC
The ethernet PHY on all known Gen3 boards takes a while to come out
of reset, increase the auto-negotiation timeout to prevent it from
timing out in case the ethernet is used right after the board was

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
 include/configs/rcar-gen3-common.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series


diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h
index 8f400ba05a..cf4d3bad2e 100644
--- a/include/configs/rcar-gen3-common.h
+++ b/include/configs/rcar-gen3-common.h
@@ -34,6 +34,9 @@ 
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 115200, 38400 }
+/* PHY needs a longer autoneg timeout */
+#define PHY_ANEG_TIMEOUT		20000
 /* MEMORY */