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
999 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
1 Solution
960 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
4 Replies
961 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
990 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
985 Views
ponomarev_ke
Contributor II

Hi, Igor

I use the same manual as you offered

 

Best regards

Konstantin Ponomarev

0 Kudos
977 Views
igorpadykov
NXP Employee
NXP Employee

 

1.jpg

2.jpg

Best regards
igor

0 Kudos