diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2019-09-30 21:29:12 +0300 |
---|---|---|
committer | Stefan Wahren <wahrenst@gmx.net> | 2019-10-10 20:21:03 +0300 |
commit | 781fa0a954240c8487683ddf837fb2c4ede8e7ca (patch) | |
tree | c08ffc95663a5f2c1a8c08f44330eb34a3c859f4 /arch/arm/mach-bcm/bcm2711.c | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-781fa0a954240c8487683ddf837fb2c4ede8e7ca.tar.xz |
ARM: bcm: Add support for BCM2711 SoC
Add the BCM2711 to ARCH_BCM2835, but use new machine board code
because of the differences.
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Florian Fanelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/mach-bcm/bcm2711.c')
-rw-r--r-- | arch/arm/mach-bcm/bcm2711.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/bcm2711.c b/arch/arm/mach-bcm/bcm2711.c new file mode 100644 index 000000000000..dbe296798647 --- /dev/null +++ b/arch/arm/mach-bcm/bcm2711.c @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Stefan Wahren + */ + +#include <linux/of_address.h> + +#include <asm/mach/arch.h> + +#include "platsmp.h" + +static const char * const bcm2711_compat[] = { +#ifdef CONFIG_ARCH_MULTI_V7 + "brcm,bcm2711", +#endif +}; + +DT_MACHINE_START(BCM2711, "BCM2711") +#ifdef CONFIG_ZONE_DMA + .dma_zone_size = SZ_1G, +#endif + .dt_compat = bcm2711_compat, + .smp = smp_ops(bcm2836_smp_ops), +MACHINE_END |