STM32MP157C-DK2 Ethernet network is not working
We brought stm32Mp157C-DK2 board for our prototype testing. I can able to work on the A7 and M4 also ran examples. After 3 days of our work the Ethernet communication is not working. The LED's on the connector is not glowing. I check in Linux terminal with dmesg there is no controller detection . When I reboot the system and check the initial dmesg the output is like this on my linux host sytem using minicom:
root@stm32mp1:~# dmesg | grep eth
[ 0.000000] psci: probing for conduit method from DT.
[ 1.575436] stm32-dwmac 5800a000.ethernet: PTP uses main clock
[ 1.579819] stm32-dwmac 5800a000.ethernet: no reset control found
[ 1.586023] stm32-dwmac 5800a000.ethernet: No phy clock provided...
[ 1.601232] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[ 1.606799] stm32-dwmac 5800a000.ethernet: DWMAC4/5
[ 1.611707] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[ 1.619050] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[ 1.626354] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[ 1.633237] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[ 1.639476] stm32-dwmac 5800a000.ethernet: TSO supported
[ 1.644814] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.652625] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[ 1.692950] usbcore: registered new interface driver cdc_ether
[ 2.186587] optee: probing for conduit method from DT.
[ 8.406969] stm32-dwmac 5800a000.ethernet eth0: Could not attach to PHY
[ 8.441252] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[ 9.402998] using random self ethernet address
[ 9.404040] using random host ethernet address
I tried of changing cable and checked switch everything is ok. Please suggest how to debug in this case to resolve the issue.
