How to use the ENET_REF_CLK for imx6dl?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the ENET_REF_CLK for imx6dl?

706 Views
wenmingfeng
Contributor III

Hello imx6 expertise,

we used ksz8863 siwth port 3 connect to imx6dl mac with RMII interface, but I can not make it working. 

the  ENET_REF_CLK we used is mentioned in another thread KSZ8863 Phy 1 not found on u-boot 

pastedImage_1.png

But on IMX6SDLRM.pdf, page 1066 table 23-1 

pastedImage_2.png

pastedImage_3.png

It shows ENET_REF_CLK should use GPIO_16 for RMII mode, Use ENET_TX_CLK for MII mode.

please confirm can I use ENET_TX_CLK as reference 50M clk input to imx6 as RMII mode or the GPIO_16 is the only way right for RMII mode?

Thanks!

Wenming

Labels (3)
0 Kudos
2 Replies

146 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Wenming,

  For RMII mode, there are 2 PADs provided for ENET_REF_CLK, One is GPIO_16, The other is RGMII_TX_CTL, ENET_REF_CLK pad is for ENET_TX_CLK signal when FEC works with MII mode, you can't use it.

Best Regards,

Weidong

146 Views
wenmingfeng
Contributor III

Thanks Weidong,

One more question, is the 3.14.52_ga kernel support the switch work as a simple phy.

Any comments are highly appreciated.

Best regards!

Wenming

0 Kudos