0001
0002
0003
0004
0005
0006
0007
0008
0009 #include <linux/irqchip.h>
0010 #include <linux/of_platform.h>
0011 #include <linux/of_clk.h>
0012 #include <linux/clocksource.h>
0013 #include <asm/mach/arch.h>
0014 #include <asm/mach/time.h>
0015 #include <asm/hardware/cache-tauros2.h>
0016
0017 #include "common.h"
0018
0019 static const char *const pxa168_dt_board_compat[] __initconst = {
0020 "mrvl,pxa168-aspenite",
0021 NULL,
0022 };
0023
0024 static const char *const pxa910_dt_board_compat[] __initconst = {
0025 "mrvl,pxa910-dkb",
0026 NULL,
0027 };
0028
0029 static void __init mmp_init_time(void)
0030 {
0031 #ifdef CONFIG_CACHE_TAUROS2
0032 tauros2_init(0);
0033 #endif
0034 of_clk_init(NULL);
0035 timer_probe();
0036 }
0037
0038 DT_MACHINE_START(PXA168_DT, "Marvell PXA168 (Device Tree Support)")
0039 .map_io = mmp_map_io,
0040 .init_time = mmp_init_time,
0041 .dt_compat = pxa168_dt_board_compat,
0042 MACHINE_END
0043
0044 DT_MACHINE_START(PXA910_DT, "Marvell PXA910 (Device Tree Support)")
0045 .map_io = mmp_map_io,
0046 .init_time = mmp_init_time,
0047 .dt_compat = pxa910_dt_board_compat,
0048 MACHINE_END