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: DP83867IRPAPR MDIO didn't work

Tool/software: Linux

We used zynq platform and DP83867IRPAPR for Etherent function. I used u-boot mdio command to debug, but the device no any reply. I double confirm the scope. Could you help me to find the issue?

I have checked the as below item.

1. power supply ==> correct

2.CLK_OUT => 25MHz  correct

3. Reset_n ==> keep on high

I check schematic PHY address, should be 0x00.

Board: Xilinx Zynq
I2C: ready
DRAM: ECC disabled 1 GiB
MMC: sdhci@e0100000: 0
SF: Detected N25Q256A with page size 256 Bytes, erase size 4 KiB, total 32 MiB


U-Boot 2016.07-11381-g45e5971-dirty (Jun 01 2017 - 10:53:34 +0800)

Model: Zynq PicoZed SDR2 Board
Board: Xilinx Zynq
I2C: ready
DRAM: ECC disabled 1 GiB
MMC: sdhci@e0100000: 0
SF: Detected N25Q256A with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In: serial@e0001000
Out: serial@e0001000
Err: serial@e0001000
Model: Zynq PicoZed SDR2 Board
Board: Xilinx Zynq
Net: ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id
PHY is not detected
GEM PHY init failed
No ethernet found.
reading uEnv.txt
380 bytes read in 9 ms (41 KiB/s)
Importing environment from SD ...
Hit any key to stop autoboot: 0

Zynq> mdio rd 0-31 2
0-31 is not a known ethernet
Reading from bus gem
PHY at address 0:
2 - 0xffff
PHY at address 1:
2 - 0xffff
PHY at address 2:
2 - 0xffff
PHY at address 3:
2 - 0xffff
PHY at address 4:
2 - 0xffff
PHY at address 5:
2 - 0xffff
PHY at address 6:
2 - 0xffff
PHY at address 7:
2 - 0xffff
PHY at address 8:
2 - 0xffff
PHY at address 9:
2 - 0xffff
PHY at address 10:
2 - 0xffff
PHY at address 11:
2 - 0xffff
PHY at address 12:
2 - 0xffff
PHY at address 13:
2 - 0xffff
PHY at address 14:
2 - 0xffff
PHY at address 15:
2 - 0xffff
PHY at address 16:
2 - 0xffff
PHY at address 17:
2 - 0xffff
PHY at address 18:
2 - 0xffff
PHY at address 19:
2 - 0xffff
PHY at address 20:
2 - 0xffff
PHY at address 21:
2 - 0xffff
PHY at address 22:
2 - 0xffff
PHY at address 23:
2 - 0xffff
PHY at address 24:
2 - 0xffff
PHY at address 25:
2 - 0xffff
PHY at address 26:
2 - 0xffff
PHY at address 27:
2 - 0xffff
PHY at address 28:
2 - 0xffff
PHY at address 29:
2 - 0xffff
PHY at address 30:
2 - 0xffff
PHY at address 31:
2 - 0xffff
Zynq>