In my custom board, based on P2040, MAC to mAC connection is there. From P2040 to Vitesse ethernet switch VSC-7421.
Can any tell me what all changes are required in U-Boot?? Since it checks phy address for dtsec initilizations.
Another doubt is, does PCS layer autonegotiation required for dtesec initilization ?
In u-boot, tried to understand the dtsec initialization code flow. And found new module called TBI PHY.
As far as i understood TBI module sits between MAC and outside phy device. MAC (PPC) <---> TBI (PPC)<---> external phy.
So first auto-negotiation should happen between TBI (PPC) and external phy then only MAC(PPC) will be configured. Correct me if im wrong.
But there is no TBI link status checking in code(LXR uboot/drivers/net/fm/eth.c ) after that mac is supposed to configure.
would be thankful if someone pls tell me where my understand is getting wronged?