Does iMX7D ENET2 support MII interface?

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

Does iMX7D ENET2 support MII interface?

Jump to solution
1,459 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
1,420 Views
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.

View solution in original post

Tags (1)
0 Kudos
Reply
4 Replies
1,421 Views
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.

Tags (1)
0 Kudos
Reply
1,450 Views
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 Kudos
Reply
1,445 Views
ponomarev_ke
Contributor II

Hi, Igor

I use the same manual as you offered

 

Best regards

Konstantin Ponomarev

0 Kudos
Reply
1,437 Views
igorpadykov
NXP Employee
NXP Employee

 

1.jpg

2.jpg

Best regards
igor

0 Kudos
Reply