
On Aug 14, 2012, at 11:47 AM, Timur Tabi wrote:
The Freescale P4080DS has a complex multiplexed MDIO bus, where the muxing varies per SerDes protocol. This is because the protocol determines in which PCI slot the various SGMII and XGMII interface cards belong, as well as whether the RGMII ports are enabled.
The Freescale SDK includes support for MDIO bus multiplexing, but the upstream Linux kernel uses David Daney's (Cavium) method instead. Therefore, the P4080 code needs to be migrated to the new method.
The device tree contains two top-level mdio-mux nodes, one for EMI1 (RGMII and SGMII) and the other for EMI2 (XGMII). The U-boot code depends on several device tree aliases to help it find the nodes that need to be updated.
Signed-off-by: Timur Tabi timur@freescale.com
board/freescale/corenet_ds/eth_p4080.c | 172 ++++++++++++++++++++++++-------- 1 files changed, 129 insertions(+), 43 deletions(-)
I think we need to hold on this patch until we have a kernel somewhere that can actually utilize it.
I'm guessing this would break the SDK mux support for p4080ds?
- k