We want to connect RGMII to RGMII. We have done the connections. For tx side as (txd[3:0], tx_en, tx_clk). In the kernel it uses freescale driver that always configure phy first and then initiate the MII interface. Is there a way to bypass the phy configuration in driver as we don't have any phy. We are getting the following errors in the kernel logs.
*[ 780.877278] fec 30be0000.ethernet eth0: no PHY, assuming direct connection to switch
*[ 780.888815] libphy: PHY fixed-0:00 not found
*[ 780.893102] fec 30be0000.ethernet eth0: could not attach to PHY
Hi,
you can remoce phy driver from device tree, taking i.mx8mm-evk as an example, open imx8mm-evk.dts, and find fec node, like below:
Hope above information is helpful to you.
Have a good day!
Regards,
weidong
Hi,
Thanks for helping me out. I have removed the phy node from used device tree.
As I load that image I tried to enable ethernet connection but driver still looking for the phy. As ot the same error messages as of previous.
Thanks.