summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/clock-mx51-mx53.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-10-17 08:42:17 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-18 12:43:19 +0200
commit9daaf31a8cc9c98751b7b71198307e47d5bf6a4d (patch)
tree652301a4dd70a11462199237ca869047070e8fea /arch/arm/mach-mx5/clock-mx51-mx53.c
parent73d2b4cdfc09a7a858b3ea1f32f6218b21439b96 (diff)
downloadtalos-obmc-linux-9daaf31a8cc9c98751b7b71198307e47d5bf6a4d.tar.gz
talos-obmc-linux-9daaf31a8cc9c98751b7b71198307e47d5bf6a4d.zip
arm/mx5: add device tree support for imx51 babbage
It adds device tree support for imx51 babbage board. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/clock-mx51-mx53.c')
-rw-r--r--arch/arm/mach-mx5/clock-mx51-mx53.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c
index d9b03d4dba6d..cc3547c88261 100644
--- a/arch/arm/mach-mx5/clock-mx51-mx53.c
+++ b/arch/arm/mach-mx5/clock-mx51-mx53.c
@@ -1633,6 +1633,14 @@ static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc,
}
}
+int __init mx51_clocks_init_dt(void)
+{
+ unsigned long ckil, osc, ckih1, ckih2;
+
+ clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2);
+ return mx51_clocks_init(ckil, osc, ckih1, ckih2);
+}
+
int __init mx53_clocks_init_dt(void)
{
unsigned long ckil, osc, ckih1, ckih2;
OpenPOWER on IntegriCloud