FCC Ethernet MDIO interface
Dan Malek
dan at embeddededge.com
Fri Apr 16 23:00:30 EST 2004
First of all, this should be posted on the u-boot mailing list, not here.
Jos Beck wrote:
> We are trying to use U-boot for a new MPC8250 circuit.
> Where can I find the code that controls MDIO? (e.g. to defive which CPM
> pins are used)
If you take a look at some other 8260 derivative boards, it's kinda
obvious how it is done. First CONFIG_MII, CONFIG_BITBANGMII. Define
the macros for MDIO, MDC, and MIIDELAY specific to your implementation.
Due to the wide variation of implementation, the PHY management is done
from the board specific files, not in the generic FCC driver. Take a
look at board/mpc8260ads/mpc8260ads.c.
> Is the MDIO interface used/supported anyhow in u-boot or the kernel?
Yes, in many different variations that you can model to suit your needs.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list