2 * Defines machines for CSR SiRFprimaII
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
9 #include <linux/clocksource.h>
10 #include <linux/init.h>
11 #include <linux/kernel.h>
12 #include <asm/sizes.h>
13 #include <asm/mach-types.h>
14 #include <asm/mach/arch.h>
16 #include <linux/of_platform.h>
19 void __init
sirfsoc_init_late(void)
24 static __init
void sirfsoc_init_time(void)
26 /* initialize clocking early, we want to set the OS timer */
27 sirfsoc_of_clk_init();
28 clocksource_of_init();
31 static __init
void sirfsoc_map_io(void)
37 #ifdef CONFIG_ARCH_ATLAS6
38 static const char *atlas6_dt_match
[] __initdata
= {
43 DT_MACHINE_START(ATLAS6_DT
, "Generic ATLAS6 (Flattened Device Tree)")
44 /* Maintainer: Barry Song <baohua.song@csr.com> */
45 .map_io
= sirfsoc_map_io
,
46 .init_time
= sirfsoc_init_time
,
47 .init_late
= sirfsoc_init_late
,
48 .dt_compat
= atlas6_dt_match
,
49 .restart
= sirfsoc_restart
,
53 #ifdef CONFIG_ARCH_PRIMA2
54 static const char *prima2_dt_match
[] __initdata
= {
59 DT_MACHINE_START(PRIMA2_DT
, "Generic PRIMA2 (Flattened Device Tree)")
60 /* Maintainer: Barry Song <baohua.song@csr.com> */
61 .map_io
= sirfsoc_map_io
,
62 .init_time
= sirfsoc_init_time
,
63 .dma_zone_size
= SZ_256M
,
64 .init_late
= sirfsoc_init_late
,
65 .dt_compat
= prima2_dt_match
,
66 .restart
= sirfsoc_restart
,
70 #ifdef CONFIG_ARCH_MARCO
71 static const char *marco_dt_match
[] __initdata
= {
76 DT_MACHINE_START(MARCO_DT
, "Generic MARCO (Flattened Device Tree)")
77 /* Maintainer: Barry Song <baohua.song@csr.com> */
78 .smp
= smp_ops(sirfsoc_smp_ops
),
79 .map_io
= sirfsoc_map_io
,
80 .init_time
= sirfsoc_init_time
,
81 .init_late
= sirfsoc_init_late
,
82 .dt_compat
= marco_dt_match
,
83 .restart
= sirfsoc_restart
,