Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /*
0003  * Copyright (C) 2010 Broadcom
0004  */
0005 
0006 #include <linux/init.h>
0007 #include <linux/irqchip.h>
0008 #include <linux/of_address.h>
0009 
0010 #include <asm/mach/arch.h>
0011 #include <asm/mach/map.h>
0012 
0013 #include "platsmp.h"
0014 
0015 static const char * const bcm2835_compat[] = {
0016 #ifdef CONFIG_ARCH_MULTI_V6
0017     "brcm,bcm2835",
0018 #endif
0019 #ifdef CONFIG_ARCH_MULTI_V7
0020     "brcm,bcm2836",
0021     "brcm,bcm2837",
0022 #endif
0023     NULL
0024 };
0025 
0026 DT_MACHINE_START(BCM2835, "BCM2835")
0027     .dt_compat = bcm2835_compat,
0028     .smp = smp_ops(bcm2836_smp_ops),
0029 MACHINE_END