AnsweredAssumed Answered

i.MX287 FEC connected to Ethernet switch

Question asked by Henric Eriksson on Jun 10, 2014
Latest reply on May 3, 2018 by Michael Ascenzi

So we have a custom board based on the i.MX287 EVK with a Micrel KSZ8895 Ethernet switch connected to the i.MX287 FEC. Since this isn't a typical PHY (you cannot use it to auto-negotiate, get link status etc) we need to bypass the regular PHY-management or somehow implement a fixed-link PHY driver. While booting into a Linux 3.14.3 kernel the fec driver does correctly state a direct connection to a switch, but is not able to find a PHY to attach to afterwards:


[    3.001590] fec 800f0000.ethernet eth0: no PHY, assuming direct connection to switch

[    3.009643] libphy: PHY fixed-0:00 not found

[    3.013975] fec 800f0000.ethernet eth0: could not attach to PHY


I have tried to add the fixed PHY driver (CONFIG_FIXED_PHY) but it would seem it does not hook into libphy.


Will I need to implement this fixed PHY driver on my own or have I simply missed something in my configuration?