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 Hzxemacps 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
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?