[imx28] plug-in/out on eth0 will reset eth1 and vice versa

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx28] plug-in/out on eth0 will reset eth1 and vice versa

No ratings

[imx28] plug-in/out on eth0 will reset eth1 and vice versa

Tested on imx28 EVK Rev. D. When plug-in or plug-out cable on eth0 port, eth1 port (and vice versa) will also be reset and the communication will be interrupted.

Reason:

Both Ethernet PHYs on EVK board share the same GPIO as their reset pin, in software the function name is mx28evk_enet_gpio_init. So any call to pdata->init() in fec.c will reset both PHY at the same time. In order to avoid such problem, you have to use 2 individual GPIO for the PHY reset.

Labels (1)
Version history
Last update:
‎06-13-2013 06:46 PM
Updated by: