We hope to use the DM814x connected to an Ethernet switch. This particular port on the switch uses a direct RGMII interface. Configuration of the switch is done via the MDIO interface. Therefore the switch device does not have the standard PHY register set, although its registers are accessed via the standard MDIO protocol.
What I was hoping to do was to enable the MDIO state machine via the MDIO Control Register, while also setting the LINKSEL bit to 1 in the MDIO User Phy Select Register. I theorize that this will disable the MDIO PHY polling that the 814x automatically performs while still allowing me to send MDIO requests manually via the User Command registers. Is this correct?
Also, in the description of the LINKSEL bit it says when it is set to 1 that the link status is determined by examining the MLINK pin. Since I cannot find a MLINK pin on the 814x I am assuming that basically this means that you would take the MLINK pins on the PHY and connect them to some GPIOs on the 814x, and basically use external software to determine the link state. Is this correct?
Thanks for the help.