aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx25-dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/imx25-dt.c')
-rw-r--r--arch/arm/mach-imx/imx25-dt.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/arch/arm/mach-imx/imx25-dt.c b/arch/arm/mach-imx/imx25-dt.c
index e17dfbc42192..82348391582a 100644
--- a/arch/arm/mach-imx/imx25-dt.c
+++ b/arch/arm/mach-imx/imx25-dt.c
@@ -22,26 +22,22 @@ static void __init imx25_dt_init(void)
22 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 22 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
23} 23}
24 24
25static void __init imx25_timer_init(void)
26{
27 mx25_clocks_init_dt();
28}
29
30static struct sys_timer imx25_timer = {
31 .init = imx25_timer_init,
32};
33
34static const char * const imx25_dt_board_compat[] __initconst = { 25static const char * const imx25_dt_board_compat[] __initconst = {
35 "fsl,imx25", 26 "fsl,imx25",
36 NULL 27 NULL
37}; 28};
38 29
30static void __init imx25_timer_init(void)
31{
32 mx25_clocks_init_dt();
33}
34
39DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)") 35DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)")
40 .map_io = mx25_map_io, 36 .map_io = mx25_map_io,
41 .init_early = imx25_init_early, 37 .init_early = imx25_init_early,
42 .init_irq = mx25_init_irq, 38 .init_irq = mx25_init_irq,
43 .handle_irq = imx25_handle_irq, 39 .handle_irq = imx25_handle_irq,
44 .timer = &imx25_timer, 40 .init_time = imx25_timer_init,
45 .init_machine = imx25_dt_init, 41 .init_machine = imx25_dt_init,
46 .dt_compat = imx25_dt_board_compat, 42 .dt_compat = imx25_dt_board_compat,
47 .restart = mxc_restart, 43 .restart = mxc_restart,