We are using DP83867IR as the ethernet phy in our board with NXP IMX8MP. We have two etherner ports, and the first port works correctly, and the second port does not. So, we tried to debug the issue and took the register dump of the DP83867 ethernet phy before and after connecting the ethernet cable to the second ethernet port and found that the auto-negotiation was not complete (Register 0x0002). So, what can be done to fix the issue? Below is the register dump of DP83867 before and after connecting the ethernet cable to the second ethernet port.
Before connecting the ethernet cable:
0x0=0x140
0x1=0x7949
0x2=0x2000
0x3=0xA231
0x4=0x1E1
0x5=0x0
0x6=0x64
0x7=0x2001
0x8=0x0
0x9=0x1300
0xA=0x0
0xD=0x0
0xE=0x0
0xF=0x3000
0x10=0x5448
0x11=0xA802
0x12=0x0
0x13=0x0
0x14=0x29C7
0x15=0x0
0x16=0x0
0x17=0x40
0x18=0x6150
0x19=0x4444
0x1A=0x2
0x1E=0x2
0x1F=0x0
After connecting the ethernet cable:
0x0=0x1000
0x1=0x794D
0x2=0x2000
0x3=0xA231
0x4=0xDE1
0x5=0x0
0x6=0x64
0x7=0x2001
0x8=0x0
0x9=0x1300
0xA=0x0
0xD=0x0
0xE=0x0
0xF=0x3000
0x10=0x5448
0x11=0x702
0x12=0x0
0x13=0x440
0x14=0x29C7
0x15=0x0
0x16=0x0
0x17=0x40
0x18=0x6150
0x19=0x4444
0x1A=0x2
0x1E=0x2
0x1F=0x0