Stm32mp157 ethernet with fixed PHY not working
Hello.
I'm trying to connect MP1's eth to Marvell 88E6352. Switch connected to cpu via RGMII.
Because switch don't have output 125MHZ clock, eth configured to use internal clock, how described in this article: https://community.st.com/s/question/0D50X0000B8iBSB/stm32mp157-ethernet-problem
After all connections and configurations Linux can see Marvell's switch. But when I try to enable eth, it's not started and write this to console:
root@stm32mp1:~# ifconfig eth0 up
[ 107.460160] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[ 108.476843] stm32-dwmac 5800a000.ethernet: Failed to reset the dma
[ 108.481623] stm32-dwmac 5800a000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 108.490893] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Hw setup failed
ifconfig: SIOCSIFFLAGS: Device or resource busyI can't solve this problem by myself.
