summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2013-09-17 11:59:38 -0400
committerJustin Waters <justin.waters@timesys.com>2013-09-17 11:59:38 -0400
commitb35a82814ea70e5d50b899fd60ca22a6c6bc120c (patch)
tree190586422bc95eb3444c427f230e4b5c09b6497c
parent3534d7ca7f118fc3e06995823926fb0e4fe3e6d0 (diff)
imx27: Use slow clock as source for RTC
The IPG is far too fast. We need to use the 32K clock.
-rw-r--r--arch/arm/mach-imx/clock-imx27.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clock-imx27.c b/arch/arm/mach-imx/clock-imx27.c
index d487e9ffdf20..9f97b5d01ba1 100644
--- a/arch/arm/mach-imx/clock-imx27.c
+++ b/arch/arm/mach-imx/clock-imx27.c
@@ -539,7 +539,7 @@ DEFINE_CLOCK(sdhc1_clk1, 0, PCCR0, 5, NULL, NULL, &ipg_clk);
DEFINE_CLOCK(scc_clk, 0, PCCR0, 6, NULL, NULL, &ipg_clk);
DEFINE_CLOCK(sahara2_clk, 0, PCCR0, 7, NULL, &sahara2_clk1, &ahb_clk);
DEFINE_CLOCK(rtic_clk, 0, PCCR0, 8, NULL, &rtic_clk1, &ahb_clk);
-DEFINE_CLOCK(rtc_clk, 0, PCCR0, 9, NULL, NULL, &ipg_clk);
+DEFINE_CLOCK(rtc_clk, 0, PCCR0, 9, NULL, NULL, &ckil_clk);
DEFINE_CLOCK(pwm_clk1, 0, PCCR0, 11, NULL, NULL, &ipg_clk);
DEFINE_CLOCK(owire_clk, 0, PCCR0, 12, NULL, NULL, &ipg_clk);
DEFINE_CLOCK(mstick_clk1, 0, PCCR0, 13, NULL, NULL, &ipg_clk);