2 * Copyright 2013 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 #include <linux/clk-provider.h>
11 #include <linux/irqchip.h>
13 #include <linux/of_platform.h>
14 #include <asm/hardware/cache-l2x0.h>
15 #include <asm/mach/arch.h>
16 #include <asm/mach/map.h>
20 static void __init
imx6sl_init_machine(void)
22 mxc_arch_reset_init_dt();
24 of_platform_populate(NULL
, of_default_bus_match_table
, NULL
, NULL
);
27 static void __init
imx6sl_init_irq(void)
29 l2x0_of_init(0, ~0UL);
35 static void __init
imx6sl_timer_init(void)
40 static const char *imx6sl_dt_compat
[] __initdata
= {
45 DT_MACHINE_START(IMX6SL
, "Freescale i.MX6 SoloLite (Device Tree)")
46 .map_io
= debug_ll_io_init
,
47 .init_irq
= imx6sl_init_irq
,
48 .init_time
= imx6sl_timer_init
,
49 .init_machine
= imx6sl_init_machine
,
50 .dt_compat
= imx6sl_dt_compat
,
51 .restart
= mxc_restart
,