summaryrefslogtreecommitdiffstats
path: root/board/freescale/p2041rdb/p2041rdb.c
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2011-07-19 16:20:13 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-09-29 19:01:05 -0500
commit0787ecc01f24d62b2563592b75b8dc59e6134668 (patch)
tree8e235dc269ada7ed6cd5c6e93f26ebf9b01d584c /board/freescale/p2041rdb/p2041rdb.c
parentfe1a1da038c7ba7919ab187ba4c2a797cb0853aa (diff)
downloadblackbird-obmc-uboot-0787ecc01f24d62b2563592b75b8dc59e6134668.tar.gz
blackbird-obmc-uboot-0787ecc01f24d62b2563592b75b8dc59e6134668.zip
powerpc/p2041rdb: Add ethernet support on P2041RDB board
Add support for RGMII, SGMII and XAUI Ethernet on P2041RDB board. The five dTSEC can be routed to two on-board RGMII phy, three on-board SGMII phy or four SGMII phy on SGMII riser card according to different serdes protocol configuration and board lane configuration. Also updated the device tree to direct the Fmac MAC to the correct PHY. Removed CONFIG_SYS_FMAN_FW as its not used anywhere. Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/p2041rdb/p2041rdb.c')
-rw-r--r--board/freescale/p2041rdb/p2041rdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/p2041rdb/p2041rdb.c b/board/freescale/p2041rdb/p2041rdb.c
index 52269d3ce4..6ed404fb99 100644
--- a/board/freescale/p2041rdb/p2041rdb.c
+++ b/board/freescale/p2041rdb/p2041rdb.c
@@ -32,6 +32,7 @@
#include <asm/fsl_serdes.h>
#include <asm/fsl_portals.h>
#include <asm/fsl_liodn.h>
+#include <fm_eth.h>
extern void pci_of_setup(void *blob, bd_t *bd);
@@ -200,4 +201,7 @@ void ft_board_setup(void *blob, bd_t *bd)
#endif
fdt_fixup_liodn(blob);
+#ifdef CONFIG_SYS_DPAA_FMAN
+ fdt_fixup_fman_ethernet(blob);
+#endif
}
OpenPOWER on IntegriCloud