1 | // SPDX-License-Identifier: GPL-2.0+ |
---|---|
2 | /* |
3 | * Copyright (C) 2019 Stefan Wahren |
4 | */ |
5 | |
6 | #include <linux/of_address.h> |
7 | |
8 | #include <asm/mach/arch.h> |
9 | |
10 | #include "platsmp.h" |
11 | |
12 | static const char * const bcm2711_compat[] = { |
13 | #ifdef CONFIG_ARCH_MULTI_V7 |
14 | "brcm,bcm2711", |
15 | #endif |
16 | NULL |
17 | }; |
18 | |
19 | DT_MACHINE_START(BCM2711, "BCM2711") |
20 | #ifdef CONFIG_ZONE_DMA |
21 | .dma_zone_size = SZ_1G, |
22 | #endif |
23 | .dt_compat = bcm2711_compat, |
24 | .smp = smp_ops(bcm2836_smp_ops), |
25 | MACHINE_END |
26 |