1
2
3
4
5
6
7
8
9#include <linux/irqchip.h>
10#include <linux/of_platform.h>
11#include <linux/of_clk.h>
12#include <linux/clocksource.h>
13#include <asm/mach/arch.h>
14#include <asm/mach/time.h>
15#include <asm/hardware/cache-tauros2.h>
16
17#include "common.h"
18
19static const char *const pxa168_dt_board_compat[] __initconst = {
20 "mrvl,pxa168-aspenite",
21 NULL,
22};
23
24static const char *const pxa910_dt_board_compat[] __initconst = {
25 "mrvl,pxa910-dkb",
26 NULL,
27};
28
29static void __init mmp_init_time(void)
30{
31#ifdef CONFIG_CACHE_TAUROS2
32 tauros2_init(0);
33#endif
34 of_clk_init(NULL);
35 timer_probe();
36}
37
38DT_MACHINE_START(PXA168_DT, "Marvell PXA168 (Device Tree Support)")
39 .map_io = mmp_map_io,
40 .init_time = mmp_init_time,
41 .dt_compat = pxa168_dt_board_compat,
42MACHINE_END
43
44DT_MACHINE_START(PXA910_DT, "Marvell PXA910 (Device Tree Support)")
45 .map_io = mmp_map_io,
46 .init_time = mmp_init_time,
47 .dt_compat = pxa910_dt_board_compat,
48MACHINE_END
49