Add DP83867 to device tree on custom carrier board - PHY not detected

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Based on the information provided, it seems like the PHY at address 0x01 is not being detected on port 2. Here are a few things to check and consider:

  1. PHY Address Configuration: Ensure that the PHY address is correctly strapped to 0x01 on the hardware. Double-check the hardware configuration to confirm that the address is set correctly.

  2. Device Tree Configuration: The device tree snippet you provided seems to be configured correctly for the PHY address and reset pin. However, ensure that the reg property in the ethernet-phy@1 node is set to <1> which corresponds to the PHY address 0x01.

  3. PHY Reset: Verify that the reset GPIO (GPIO_36 - SODIMM 218) is correctly configured and functioning. You can test this by manually toggling the GPIO to see if it affects the PHY.

  4. PHY Mode and Delays: Ensure that the phy-mode is correctly set to match the PHY’s configuration. You have set it to "rgmii-rxid", which should match the PHY’s expected mode. Also, verify that the RX and TX delays are correctly configured in the device tree.

  5. Kernel Configuration: You have included the necessary kernel configurations for the TI DP83867 PHY. Ensure that these configurations are correctly applied in the kernel.

  6. Boot Logs: The boot logs indicate that the PHY is not being detected. Check for any additional error messages related to the MDIO bus or PHY initialization that might provide more insight.

  7. Hardware Connections: Double-check all hardware connections between the SoM and the PHY, including the MDIO and MDC lines, to ensure they are properly connected and functioning.

  8. MDIO Bus: Ensure that the MDIO bus is correctly configured and that there are no conflicts with other devices on the bus.

If all the above checks are correct and the issue persists, you might want to try probing the MDIO bus manually to see if the PHY responds at address 0x01. Additionally, reviewing the full boot log for any other related errors or warnings might provide further clues. If the problem continues, consider reaching out to Toradex support for more detailed assistance.

Please, also check if these links can help you solve your problem:

Ethernet Switch Interface.