I have a custom board with IMX6Q and AR8031 in RGMII mode and kernel 3.10.17. Ethernet only connect with 10Mbps and I think that reason for that is absence of interrupt pin (irq=-1).
Look that happens when I connect the ethernet cable:
Configuring network interfaces... fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
libphy: 2188000.ethernet:01 - Link is Up - 10/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
My physical connection is:
GPIO1_IO28 -> WOL_INT
GPIO1_IO26 -> INT
How can I instruct the kernel driver to use interrupt? I didn't find anything in the dts files about enet irq.
Thanks,
Leonardo
I use Linux kernel 3.10.17. The reference board is sabresd.
I have tested a lot and my connection doesn't work at 100M or 1G, only at 10M half or full. As I have developed a SOM and the PHY is at baseboard, I think problem can be the distance from PHY and processor.
As this can't be changed and my main issue is time lost with autonegociation, I have changed phy.c and limit autonegociation to only 10M.
Which BSP are you using? Which board you took for design reference?