EMAC to EMAC direct connection from driver

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

EMAC to EMAC direct connection from driver

1,472 Views
faheemminhas
Contributor I

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

Labels (1)
0 Kudos
Reply
2 Replies

1,452 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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:

weidong_sun_0-1630553792978.png

 

Hope above information is helpful to you.

Have a good day!

Regards,

weidong

0 Kudos
Reply

1,441 Views
faheemminhas
Contributor I

Hi,

Thanks for helping me out. I have removed the phy node from used device tree.

faheemminhas_0-1630586434351.pngfaheemminhas_1-1630586469591.png

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.

faheemminhas_2-1630586537326.png

 

Thanks.

0 Kudos
Reply