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.

Linux/DP83867IR: Can not read phy mask id correctly

Part Number: DP83867IR
Other Parts Discussed in Thread: AM3358,

Tool/software: Linux

Hi team,

In my custom board the cpu is AM3358, phy using DP83867IR, and Linux SDK: am335x-evm-linux-sdk-bin-04.02.00.09.tar.xz, enable dp83867 driver in configuration. When I boot always read wrong phy mask id so that can not recognized right phy device. As TS's checklist the voltage and reset was worked, any configuration should I change?

Thank you.

below is boot log:

[ 1.184483] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.190608] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 1.197570] libphy: 4a101000.mdio: probed
[ 1.201609] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[ 1.210411] cpsw 4a100000.ethernet: Missing slave[1] phy_id property
[ 1.216938] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:7b:c3:5e

and had try some settings before:

  • Hi Shiami,

    Check your voltage level. Make sure your DP83867IR is using the correct PHY_ADD, that it is strapped to PHYADD=0x0

    The response looks like it is 0x4a101000 which is not a TI device. Is there a second PHY on the board? If so, that PHY may be at the address 0 instead of DP83867IR

    Best Regards,
  • Hi Rob,

    Thanks for your reply.

    There is only one PHY(DP83867) on our custom board. Checking the power VDDIO(3.3v), V25phy(2.5v) and V11phy(1.1v), and the RX_D0 and RX_D2 are 0.14v. it's should be strapped to PHYADD=0x0. it seems

    no something wrong. Does any setting should do change?

    Attached is partial schematic of our board.

  • Hi Shiami,

    I do not see a problem with this part of the schematic that would cause the PHY_ID to be wrong.

    From your schematic, PHYADD should be 0x0.

    Have you tried other PHYADD's like 0x1F? If the straps are being pulled up during boot, for some reason, the PHYADD could be strapped to 0x1F or 0xF.

    Best Regards,