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