Commit | Line | Data |
---|---|---|
7b369a42 | 1 | // SPDX-License-Identifier: GPL-2.0+ |
ec9653b8 SA |
2 | /* |
3 | * Copyright (C) 2010 Broadcom | |
ec9653b8 SA |
4 | */ |
5 | ||
6 | #include <linux/init.h> | |
5702941e | 7 | #include <linux/irqchip.h> |
d0f1c7ff | 8 | #include <linux/of_address.h> |
ec9653b8 SA |
9 | |
10 | #include <asm/mach/arch.h> | |
11 | #include <asm/mach/map.h> | |
ec9653b8 | 12 | |
88bbe85d SW |
13 | #include "platsmp.h" |
14 | ||
ec9653b8 | 15 | static const char * const bcm2835_compat[] = { |
c1be3c1f | 16 | #ifdef CONFIG_ARCH_MULTI_V6 |
ec9653b8 | 17 | "brcm,bcm2835", |
c1be3c1f EA |
18 | #endif |
19 | #ifdef CONFIG_ARCH_MULTI_V7 | |
20 | "brcm,bcm2836", | |
88bbe85d | 21 | "brcm,bcm2837", |
c1be3c1f | 22 | #endif |
ec9653b8 SA |
23 | NULL |
24 | }; | |
25 | ||
26 | DT_MACHINE_START(BCM2835, "BCM2835") | |
88bbe85d SW |
27 | .dt_compat = bcm2835_compat, |
28 | .smp = smp_ops(bcm2836_smp_ops), | |
ec9653b8 | 29 | MACHINE_END |