Part Number: TMS320DM8148
Tool/software: Linux
Hello,
I have u-boot which function correctly with emac1 , but now we got new board hardware, which also uses emac1 but with a marvell switch, amd mdc/mdio are connected to switch (and emac1).
Yet, I don't manage to ever read register with mdio /mdc interface. The function miiphy_read / cpsw_mdio_read always fails.
1. If with previous hardware we manage to use emac1, does it mean we also used correctly mdc/mdio and correctly read phy registers (i can't verify it becuase I don't have the old hardware) ? or can it be that it didn't work before even with the successful networking in u-boot/linux ?
2. What can be the reason that we fail in read/write of mdc/mdio ?
3. I see in soc pins that there is only one pin for mdc and another for mdio, so how is it that the routine miiphy_read(name, addr, PHY_ANAR, &val) have phy address (as if we can send mdc/mdio) to both phy ?
Thank you for any idea,
Ran