EMAC to EMAC direct connection from driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

EMAC to EMAC direct connection from driver

1,501件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,481件の閲覧回数
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 件の賞賛
返信

1,470件の閲覧回数
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 件の賞賛
返信