kenchang1 wrote on Wednesday, October 16, 2019:
I have been using eth0 + eth1 + freertos (custom board) for some time now. If I remember correctly it is common to let ETH0 talk to both PHYs with 1 MDIO interface (to save pins?). They just need to have a different address (hardwired).
If you are not sure, you can play with XEmacPs_PhyRead() in debug mode to see if you can talk to the PHY differently. If possible, let us know which board you are using.
https://forums.xilinx.com/t5/Embedded-Linux/Marvell-Phy-and-switch-share-MDIO-bus/td-p/844523
https://forums.xilinx.com/t5/Embedded-Linux/Secondary-eth1-ethernet-port-not-working/td-p/861499