KSZ9031 phy not working on linux 3.10.17

cancel
Showing results for 
Search instead for 
Did you mean: 

KSZ9031 phy not working on linux 3.10.17

1,470 Views
philipperey
Contributor I

Hi everyone,

At our work company, we recently made the design of a new board using a KSZ9031 for ethernet connection.

It is working OK in 10/100 mbits mode : I can ping an other host without any issue.

The problem appears when trying gigabit connection : the interface goes up and then down a few seconds later, like a yoyo.

I tried using the mi-tool utility to dump phy registers, but I'm getting an error : SIOCGMIIPHY on 'eth0' failed: No such device.

So the question is : what could be the issue if phy is working in 100mbits but not gigabit ?

We are using a kernel 3.10.17 and I implemented the device tree to support the phy.

I have no experience debugging ethernet phy hardware issues so any help / hint is appreciated.

Thx,

Phil

Labels (3)
0 Kudos
1 Reply

178 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Phil

one can look at drivers on

https://community.nxp.com/thread/311185

https://community.nxp.com/thread/321938

for RGMII one may need to adjust skew according to i.MX6 RGMII

datasheet requirements, KSZ9031 has skew pad registers

which may be used for tweaking timings.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos