IMX6 with AR8031 phy

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

IMX6 with AR8031 phy

1,512 Views
leonardoprates
Contributor III

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

0 Kudos
2 Replies

722 Views
leonardoprates
Contributor III

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.

0 Kudos

722 Views
jimmychan
NXP TechSupport
NXP TechSupport

Which BSP are you using? Which board you took for design reference?

0 Kudos