]> Git Repo - u-boot.git/commitdiff
arm: ls102xa: Select ge2_clk125 for eTSEC clock muxing
authorAlison Wang <[email protected]>
Fri, 17 Oct 2014 07:26:36 +0000 (15:26 +0800)
committerYork Sun <[email protected]>
Mon, 24 Nov 2014 17:27:24 +0000 (09:27 -0800)
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: Alison Wang <[email protected]>
Reviewed-by: York Sun <[email protected]>
board/freescale/ls1021aqds/ls1021aqds.c

index 913dda92c5a8022673659b09b1825b4129367740..d64b24c417e278225cb77a5b4a49e179232e772d 100644 (file)
@@ -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
This page took 0.034724 seconds and 4 git commands to generate.