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/init.h>
10 #include <linux/kernel.h>
11 #include <asm/sizes.h>
12 #include <asm/mach-types.h>
13 #include <asm/mach/arch.h>
15 #include <linux/of_platform.h>
18 static void __init sirfsoc_init_late(void)
23 static __init void sirfsoc_map_io(void)
29 #ifdef CONFIG_ARCH_ATLAS6
30 static const char *atlas6_dt_match[] __initconst = {
35 DT_MACHINE_START(ATLAS6_DT, "Generic ATLAS6 (Flattened Device Tree)")
36 /* Maintainer: Barry Song <baohua.song@csr.com> */
37 .map_io = sirfsoc_map_io,
38 .init_late = sirfsoc_init_late,
39 .dt_compat = atlas6_dt_match,
43 #ifdef CONFIG_ARCH_PRIMA2
44 static const char *prima2_dt_match[] __initconst = {
49 DT_MACHINE_START(PRIMA2_DT, "Generic PRIMA2 (Flattened Device Tree)")
50 /* Maintainer: Barry Song <baohua.song@csr.com> */
51 .map_io = sirfsoc_map_io,
52 .dma_zone_size = SZ_256M,
53 .init_late = sirfsoc_init_late,
54 .dt_compat = prima2_dt_match,
58 #ifdef CONFIG_ARCH_MARCO
59 static const char *marco_dt_match[] __initconst = {
64 DT_MACHINE_START(MARCO_DT, "Generic MARCO (Flattened Device Tree)")
65 /* Maintainer: Barry Song <baohua.song@csr.com> */
66 .smp = smp_ops(sirfsoc_smp_ops),
67 .map_io = sirfsoc_map_io,
68 .init_late = sirfsoc_init_late,
69 .dt_compat = marco_dt_match,