diff options
author | Baruch Siach <baruch@tkos.co.il> | 2010-01-27 08:00:48 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-01-29 04:43:21 -0500 |
commit | dcbabbc1fce2c32e4cfe0e18a2651226a72ecaae (patch) | |
tree | 07282c982a6e6d756a76e754c22e7a7ed8812f3b /arch/arm/mach-mx25/clock.c | |
parent | 4cb73288b195dc04c1f604c38bd4ebd2081db9fa (diff) |
mx25: add support for the DryIce rtc
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/clock.c')
-rw-r--r-- | arch/arm/mach-mx25/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/clock.c b/arch/arm/mach-mx25/clock.c index 6acc88bcdc40..744b52a613fc 100644 --- a/arch/arm/mach-mx25/clock.c +++ b/arch/arm/mach-mx25/clock.c | |||
@@ -182,6 +182,7 @@ DEFINE_CLOCK(kpp_clk, 0, CCM_CGCR1, 28, get_rate_ipg, NULL, NULL); | |||
182 | DEFINE_CLOCK(tsc_clk, 0, CCM_CGCR2, 13, get_rate_ipg, NULL, NULL); | 182 | DEFINE_CLOCK(tsc_clk, 0, CCM_CGCR2, 13, get_rate_ipg, NULL, NULL); |
183 | DEFINE_CLOCK(i2c_clk, 0, CCM_CGCR0, 6, get_rate_i2c, NULL, NULL); | 183 | DEFINE_CLOCK(i2c_clk, 0, CCM_CGCR0, 6, get_rate_i2c, NULL, NULL); |
184 | DEFINE_CLOCK(fec_clk, 0, CCM_CGCR1, 15, get_rate_ipg, NULL, &fec_ahb_clk); | 184 | DEFINE_CLOCK(fec_clk, 0, CCM_CGCR1, 15, get_rate_ipg, NULL, &fec_ahb_clk); |
185 | DEFINE_CLOCK(dryice_clk, 0, CCM_CGCR1, 8, get_rate_ipg, NULL, NULL); | ||
185 | 186 | ||
186 | #define _REGISTER_CLOCK(d, n, c) \ | 187 | #define _REGISTER_CLOCK(d, n, c) \ |
187 | { \ | 188 | { \ |
@@ -214,6 +215,7 @@ static struct clk_lookup lookups[] = { | |||
214 | _REGISTER_CLOCK("imx-i2c.1", NULL, i2c_clk) | 215 | _REGISTER_CLOCK("imx-i2c.1", NULL, i2c_clk) |
215 | _REGISTER_CLOCK("imx-i2c.2", NULL, i2c_clk) | 216 | _REGISTER_CLOCK("imx-i2c.2", NULL, i2c_clk) |
216 | _REGISTER_CLOCK("fec.0", NULL, fec_clk) | 217 | _REGISTER_CLOCK("fec.0", NULL, fec_clk) |
218 | _REGISTER_CLOCK("imxdi_rtc.0", NULL, dryice_clk) | ||
217 | }; | 219 | }; |
218 | 220 | ||
219 | int __init mx25_clocks_init(void) | 221 | int __init mx25_clocks_init(void) |