STM32MP157C with MII PHY not working
I am using a KSZ9021GN PHY in MII mode. Due to supply chain issues we had to resort to this PHY. (Cube MX says I can't use GMII mode).
I am experiencing this apparently common issue:
[ 15.650981] dwmac4_dma_reset err
[ 15.652849] stm32-dwmac 5800a000.ethernet: Failed to reset the dma
[ 15.659006] stm32-dwmac 5800a000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 15.668518] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Hw setup failed I have read over https://wiki.st.com/stm32mpu/wiki/Ethernet_overview#How_to_debug
and it says typically that the clock(s) are not present at reset, but I am not clear on what clocks are involved in MII mode.
Any thoughts on what might be wrong?
