Commit 0ab17235 authored by Alison Wang's avatar Alison Wang Committed by York Sun
Browse files

arm: ls102xa: Select ge2_clk125 for eTSEC clock muxing



EC1 pins in RCW can be selected as RGMII1, GPIO3, CAN1/2, FTM1 or
SAI1/2. There is a bug that EC3 RGMII could not work when selecting EC1
as other functionality except RGMII. The workaround is to select
ge2_clk125 for eTSEC clock muxing in register SCFG_ETSECCMCR.
Signed-off-by: default avatarAlison Wang <alison.wang@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 5175a288
......@@ -141,6 +141,7 @@ int board_early_init_f(void)
#ifdef CONFIG_TSEC_ENET
out_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR);
out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125);
#endif
#ifdef CONFIG_FSL_IFC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment