Skip to contentSkip to conversation

ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo

PATCH Applied Marek Vasut 3 participants 4 messages May 21, 2024 – May 24, 2024 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo

The ethernet PHY on MX8Menlo board 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 reset.

---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Francesco Dolcini <[email protected]>
Cc: Marcel Ziswiler <[email protected]>
Cc: Philippe Schenker <[email protected]>
Cc: Martyn Welch <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: [email protected]

---
 include/configs/imx8mm-mx8menlo.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/imx8mm-mx8menlo.h +3 -0
index a86bd76a3c7..5cc60af91e5 100644
@@ -8,6 +8,9 @@
 
 #include <configs/verdin-imx8mm.h>
 
+/* PHY needs a longer autoneg timeout */
+#define PHY_ANEG_TIMEOUT		20000
+
 /* Custom initial environment variables */
 #undef CFG_EXTRA_ENV_SETTINGS
 #define CFG_EXTRA_ENV_SETTINGS					\
Signature · 1 line
2.43.0
#1 lore raw
Quoted 4 lines · Marek Vasut

The ethernet PHY on MX8Menlo board 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 reset.

Is this specific of MX8Menlo or something we should have on verdin-imx8mm instead? I am not aware of any report on this issue on the verdin, on the other hand the verdin imx8mm has normally only one ethernet interface, and this is the one from the verdin SOM.

Francesco

#2 lore raw
Quoted 10 lines · Francesco Dolcini
Quoted 4 lines · Marek Vasut

The ethernet PHY on MX8Menlo board 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 reset.

Is this specific of MX8Menlo or something we should have on verdin-imx8mm instead? I am not aware of any report on this issue on the verdin, on the other hand the verdin imx8mm has normally only one ethernet interface, and this is the one from the verdin SOM.

This is specific to this particular carrier board and does not apply to Dahlia board or Verdin SoM.