cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
6,173 Views
Registered: ‎07-22-2013

Eth0 phydev speed

Hi,

 

I am trying to operate Eth0 with EMIO to micrel switch.(using zynq+petalinux 3.9 on our custom board).

 

when trying " ifconfig eth <IP> " I get :

xemacps e000b000.eth: Set clk to 124999998 Hz
xemacps e000b000.eth: link up (1000/FULL)

 

but ping is fail !!

 

the problem is that the switch is working only mii so the clk need to be 25 Mhz and not 125Mhz.

 

looking at the xilinx_emacps.c i saw that : phydev->speed == SPEED_1000

but when digging more i didnt able to understand where is the speed is configured.

 

so if anyone knows is it a device tree issue or a hw , any help will be much appriciate.

 

thanks in advance 

Ari.

 

 

0 Kudos
1 Reply
Highlighted
Scholar
Scholar
6,086 Views
Registered: ‎10-26-2012

Line speed is normally detected and reported by the PHY. Connecting a 100Mbps PHY should result in either 100 or 10 MBps operation. Guess there's something wrong with the PHY communication over the MDIO bus?

0 Kudos