diff options
author | Fugang Duan <b38611@freescale.com> | 2014-12-10 18:55:04 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-04-14 14:02:35 -0500 |
commit | 7a1003e6d4aa8f6d5271b2891b1727b63663d4a2 (patch) | |
tree | 255e82b6f4116ba5de6e201dc1c091b05aa487db /arch/arm/mach-imx/clk-imx6q.c | |
parent | 53e41da546c9eb6cc7ce33d5e4acc430081e204c (diff) |
MLK-10199 ARM: clk-imx6q: set enet pll rate to 125Mhz
Set enet pll rate to 125Mhz for RGMII tx refrence clock to
support i.MX6q sabreauto cpu2 board.
changed the enet_ref clock name for 3.14 kernel.
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit 6ee3d49271b1f13e359c1acde189dbb6dc4cb13e)
Diffstat (limited to 'arch/arm/mach-imx/clk-imx6q.c')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6q.c | 3 |
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 7c46e46e77f8..cf060a9efbb7 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c @@ -568,6 +568,9 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) imx_clk_prepare_enable(clk[IMX6QDL_CLK_USBPHY2_GATE]); } + /*Set enet_ref clock to 125M to supply for RGMII tx_clk */ + clk_set_rate(clk[IMX6QDL_CLK_ENET_REF], 125000000); + #ifdef CONFIG_MX6_VPU_352M /* * If VPU 352M is enabled, then PLL2_PDF2 need to be |