This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83867IR: DP83867IRRGZT - PHY ID ISSUE

Part Number: DP83867IR
Other Parts Discussed in Thread: AM6442, TMDS64EVM

We are using AM6442 with CPSW Ethernet.On the TMDS64EVM, the Ethernet PHY ID is stable and constant across power cycles.However, on our custom board, the PHY ID changes on every power-off / power-on.Same kernel, DT, PHY driver, Same PHY (DP83867) part aslo.EVM (TMDS64EVM):root@am64xx-evm:~# cat /sys/class/net/eth0/phydev/phy_id
0x2000a231 (PHY ID is consistent and ethernet is working)

Custom board PHY ID :
root@am64xx-evm:~# cat /sys/class/net/eth0/phydev/phy_id
0x49934993 ( This changing every power on )root@am64xx-evm:~# cat /sys/class/net/eth0/phydev/phy_id
0x8d1c8d1c (changing constantly)
What could cause random PHY ID changes?

  • Hi,

    It looks like the MDIO read is not consistent. I see that your PHYID does not also match EVM PHYID. It looks like the PHYID is coming from register 2 and 3 of the PHY, so I believe there is something wrong with the MDIO bus or the PHY is not being initialized properly.

    Do you have a pullup on MDIO? Also, does the PHY power on according to the datasheet’s power sequence requirement if three supply mode? Have you done a peripheral check of the rst and clkout pins?

    Also, if you can do a register read, could you do a read of registers 00 to 1F?

    Best,

    J

  • Hi J,
    MDIO has pull-up and reads high when probed. Ethernet is in 2-supply mode, reset is asserted, and clkout is stable at 25 MHz. Could you confirm comment to read registers 00–1F?”
    Regards,
    Pradeep
  • Hi Pradeepraj, 

    Can you read the PHY registers using phytool or some way?
    If so, could you provide us the register dump from 0x00 to 0x1F?

    Best,
    J