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

Document created by JackyAtFreescale Employee on Jun 13, 2013
Version 1Show Document
  • View in full screen mode

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.

Attachments

    Outcomes