1*7b369a42SStefan Wahren // SPDX-License-Identifier: GPL-2.0+ 2ec9653b8SSimon Arlott /* 3ec9653b8SSimon Arlott * Copyright (C) 2010 Broadcom 4ec9653b8SSimon Arlott */ 5ec9653b8SSimon Arlott 6ec9653b8SSimon Arlott #include <linux/init.h> 75702941eSAxel Lin #include <linux/irqchip.h> 8d0f1c7ffSStephen Warren #include <linux/of_address.h> 9ec9653b8SSimon Arlott 10ec9653b8SSimon Arlott #include <asm/mach/arch.h> 11ec9653b8SSimon Arlott #include <asm/mach/map.h> 12ec9653b8SSimon Arlott 1388bbe85dSStefan Wahren #include "platsmp.h" 1488bbe85dSStefan Wahren 15ec9653b8SSimon Arlott static const char * const bcm2835_compat[] = { 16c1be3c1fSEric Anholt #ifdef CONFIG_ARCH_MULTI_V6 17ec9653b8SSimon Arlott "brcm,bcm2835", 18c1be3c1fSEric Anholt #endif 19c1be3c1fSEric Anholt #ifdef CONFIG_ARCH_MULTI_V7 20c1be3c1fSEric Anholt "brcm,bcm2836", 2188bbe85dSStefan Wahren "brcm,bcm2837", 22c1be3c1fSEric Anholt #endif 23ec9653b8SSimon Arlott NULL 24ec9653b8SSimon Arlott }; 25ec9653b8SSimon Arlott 26ec9653b8SSimon Arlott DT_MACHINE_START(BCM2835, "BCM2835") 2788bbe85dSStefan Wahren .dt_compat = bcm2835_compat, 2888bbe85dSStefan Wahren .smp = smp_ops(bcm2836_smp_ops), 29ec9653b8SSimon Arlott MACHINE_END 30