1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Defines machines for CSR SiRFprimaII
5 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
8 #include <linux/init.h>
9 #include <linux/kernel.h>
10 #include <linux/sizes.h>
11 #include <asm/mach-types.h>
12 #include <asm/mach/arch.h>
14 #include <linux/of_platform.h>
17 static void __init __maybe_unused
sirfsoc_init_late(void)
22 #ifdef CONFIG_ARCH_ATLAS6
23 static const char *const atlas6_dt_match
[] __initconst
= {
28 DT_MACHINE_START(ATLAS6_DT
, "Generic ATLAS6 (Flattened Device Tree)")
29 /* Maintainer: Barry Song <baohua.song@csr.com> */
32 .init_late
= sirfsoc_init_late
,
33 .dt_compat
= atlas6_dt_match
,
37 #ifdef CONFIG_ARCH_PRIMA2
38 static const char *const prima2_dt_match
[] __initconst
= {
43 DT_MACHINE_START(PRIMA2_DT
, "Generic PRIMA2 (Flattened Device Tree)")
44 /* Maintainer: Barry Song <baohua.song@csr.com> */
47 .dma_zone_size
= SZ_256M
,
48 .init_late
= sirfsoc_init_late
,
49 .dt_compat
= prima2_dt_match
,
53 #ifdef CONFIG_ARCH_ATLAS7
54 static const char *const atlas7_dt_match
[] __initconst
= {
59 DT_MACHINE_START(ATLAS7_DT
, "Generic ATLAS7 (Flattened Device Tree)")
60 /* Maintainer: Barry Song <baohua.song@csr.com> */
61 .smp
= smp_ops(sirfsoc_smp_ops
),
62 .dt_compat
= atlas7_dt_match
,