Part Number: DP83867E
Hello,
we are developing for a customer a custom board based on TI AM5728 controller and experiencing now such a problem that Ethernet PHY DP83867E is not visible in u-boot (all PHY register reads return 0xFF92 value). The PHY is used in RGMII mode.
Our hardware engineers checked, that all voltages (3.3V, 2.5V and 1.0V) and 25 MHz frequency are present, pins RESET_N and INT/PWDN are set high, MDIO pin is pulled-up according to the datasheet. Both pins GPIO_0 and GPIO_1 are isolated. RBIAS has 11k resistor on it (see below).
The reference frequency 25 MHz is sourced like here
MDIO pin is pulled-up with 2.2k to VDDO 3.3V like here
We are using ti-processor-sdk-linux-am57xx-evm-05.02.00.10 and below you can see u-boot startup console output (I also added some additional prints).
Attached you find board-specific device-tree files and complete device-tree generated during u-boot building.
We need a solution for the problem very urgently and look forward hearing from you as soon as possible.
Best regards,
Timur Perekhodko.
U-Boot 2018.01 (Aug 16 2019 - 11:54:29 +0200)
CPU : DRA752-GP ES2.0
Model: red-ant VAU P3
Board: red-ant vau-p3 rev A
DRAM: 2 GiB
vau-p3/board_init: CONFIG_SYS_SDRAM_BASE + 0x100
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
vau-p3/board_late_init
vau-p3/setup_board_eeprom_env
check TPS659037_POWER_SMPS7_CTRL_MODE_OFF
check TPS659037_POWER_SMPS7_VOLTAGE_2_5_V
check PS659037_POWER_SMPS7_CTRL_MODE_ACTIVE | TPS659037_POWER_SMPS7_CTRL_WM_INSENSITIVE
vau-p3/set_board_info_env: TPS659037_POWER_SMPS7_CTRL=0xB3
vau-p3/set_board_info_env: TPS659037_POWER_SMPS7_VOLTAGE=0xD1
check TPS659037_POWER_SMPS9_CTRL_MODE_OFF
check TPS659037_POWER_SMPS9_VOLTAGE_1_0_V
check PS659037_POWER_SMPS9_CTRL_MODE_ACTIVE | TPS659037_POWER_SMPS9_CTRL_WM_INSENSITIVE
vau-p3/set_board_info_env: TPS659037_POWER_SMPS9_CTRL=0xB3
vau-p3/set_board_info_env: TPS659037_POWER_SMPS9_VOLTAGE=0x38
GPIO_PHY_INT_PWDN and GPIO_PHY_RESET are set to 1
vau-p3/board_mmc_init: initializing MMC 1 successful
vau-p3/board_mmc_init: initializing MMC 2 successful
GUID Partition Table Header signature is wrong: 0x8000020480000200 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: phy_ti_init: return 0
cpsw_gmii_sel_dra7xx: phy_mode=0x8
cpsw_phy_init: priv->bus->name="ethernet@48484000" slave->data->phy_addr=0x0
phy_connect: bus->name="ethernet@48484000" addr=0x0 interface=0x8
phy_find_by_mask: bus->name="ethernet@48484000" bus->reset=0x0 phy_mask=0x1 interface=0x8
get_phy_device_by_mask: bus->name="ethernet@48484000" phy_mask=0x1 interface=0x8
search_for_existing_phy: bus->name="ethernet@48484000" phy_mask=0x1 interface=0x8
search_for_existing_phy: phy_mask=0x1 bus->phymap[0]=0x0 bus->phy_mask=0x0
get_phy_device_by_mask: phydev->drv->name="<phydev == NULL>"
get_phy_id: bus->name="ethernet@48484000" addr=0x0 devad=0xffffffff phy_reg1=0xff92
get_phy_id: bus->name="ethernet@48484000" addr=0x0 devad=0xffffffff phy_reg2=0xff92
get_phy_id: bus->name="ethernet@48484000" addr=0x0 devad=0xffffffff phy_id=0xff92ff92
phy_device_create: bus->name="ethernet@48484000" addr=0x0 phy_id=0xff92ff92 interface=0x8
get_phy_driver: drv->uid=0x2000a231 drv->mask=0xfffffff0 phy_id=0xff92ff92
get_phy_driver: no driver found - connect generic one
phy_connect: name="Generic PHY"
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
wait_for_user_access Timeout
PHY reset timed out: MII_BMCR=0xff92
CONFIG_PHY_TI_DEFINED=1
phy_reset: phydev->bus->name="ethernet@48484000" phydev->drv->name="Generic PHY" phydev->dev->name="<NULL>"
MII_PHYSID1=0xff92
MII_PHYSID2=0xff92
phydev->bus=0xfcf361a8 phydev->addr=0x0
phy_config: phydev->drv->name=Generic PHY
board_phy_config: Generic PHY: config called
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
Unknown command 'if' - try 'help'
Unknown command 'then' - try 'help'
Saving Environment to MMC...
Writing to redundant MMC(1)... done
Booting into fastboot ...
vau-p3/board_usb_init: configure USB0 as device for DFU
vau-p3>
(Please visit the site to view this file)(Please visit the site to view this file)(Please visit the site to view this file)