Does iMX7D ENET2 support MII interface?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Does iMX7D ENET2 support MII interface?

跳至解决方案
1,391 次查看
ponomarev_ke
Contributor II

Hi

I need some clarification about ENET2 in iMX7D processor. We made a custom baseboard for Colibri iMX7D 1GB module, where we connect second Ethernet controller (ENET2) to KSZ8041MLL through MII interface. Now I had a problem with this interface, Linux correctly identify PHY through MDC/MDIO pins and load KSZ8041 driver, I see clock on ENET2_TX_CLK and ENET2_RX_CLK,  but I can't see signals in data lines with oscilloscope. I played several days with dts file, but didn't solve the problem (dts file attached to this post)

So I decided to check information in Reference manual and found some strange thing. Table 11.1 in RM describes the external signals of ENET, and for signals RGMII2_RD[0:3], RGMII2_RX_CTL, RGMII2_TD[0:3], RGMII2_TX_CTL there is no MII interface in "Mode" column. 

2021-06-24_17-55-08.png

Does it mean, that ENET2 doesn't support MII Interface? Or I just made a mistake in my dts file?

 

Best regards

Konstantin Ponomarev

标签 (1)
0 项奖励
回复
1 解答
1,352 次查看
ponomarev_ke
Contributor II

Finally, I have solved the problem. There was a mistake in my dts file.

I attached the correct dts file to this reply, maybe somebody found it useful.

在原帖中查看解决方案

标记 (1)
0 项奖励
回复
4 回复数
1,353 次查看
ponomarev_ke
Contributor II

Finally, I have solved the problem. There was a mistake in my dts file.

I attached the correct dts file to this reply, maybe somebody found it useful.

标记 (1)
0 项奖励
回复
1,382 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Konstantin

 

probably you used old Manual, latest has ENET2 description:

i.MX 7Dual Applications Processor Reference Manual

 

Best regards
igor

0 项奖励
回复
1,377 次查看
ponomarev_ke
Contributor II

Hi, Igor

I use the same manual as you offered

 

Best regards

Konstantin Ponomarev

0 项奖励
回复
1,369 次查看
igorpadykov
NXP Employee
NXP Employee

 

1.jpg

2.jpg

Best regards
igor

0 项奖励
回复