summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2014-12-10 18:55:04 +0800
committerNeena Busireddy <neenareddy.busireddy@nxp.com>2017-09-28 19:50:19 -0500
commit67a4b274d5a676f90aee9c2eeab35130f9c99396 (patch)
treea7024894474cf6ea3668a9f3678960a799d97b6a
parent990c9df7501ac8d55d30b544d850080b52d948dd (diff)
MLK-10199 ARM: clk-imx6q: set enet pll rate to 125Mhzrel_imx_3.10.53_1.1.1_caf
Set enet pll rate to 125Mhz for RGMII tx refrence clock to support i.MX6q sabreauto cpu2 board. Signed-off-by: Fugang Duan <B38611@freescale.com>
-rw-r--r--arch/arm/mach-imx/clk-imx6q.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
index 59cda8b89135..7ddf1cc90799 100644
--- a/arch/arm/mach-imx/clk-imx6q.c
+++ b/arch/arm/mach-imx/clk-imx6q.c
@@ -752,6 +752,9 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node)
/* Set pll4_audio to a value that can derive 5K-88.2KHz and 8K-96KHz */
imx_clk_set_rate(clk[pll4_audio_div], 541900800);
+ /*Set enet_ref clock to 125M to supply for RGMII tx_clk */
+ clk_set_rate(clk[enet_ref], 125000000);
+
#ifdef CONFIG_MX6_VPU_352M
/*
* If VPU 352M is enabled, then PLL2_PDF2 need to be