board_bcm2835.c 525 B

1234567891011121314151617181920212223242526272829
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2010 Broadcom
  4. */
  5. #include <linux/init.h>
  6. #include <linux/irqchip.h>
  7. #include <linux/of_address.h>
  8. #include <asm/mach/arch.h>
  9. #include <asm/mach/map.h>
  10. #include "platsmp.h"
  11. static const char * const bcm2835_compat[] = {
  12. #ifdef CONFIG_ARCH_MULTI_V6
  13. "brcm,bcm2835",
  14. #endif
  15. #ifdef CONFIG_ARCH_MULTI_V7
  16. "brcm,bcm2836",
  17. "brcm,bcm2837",
  18. #endif
  19. NULL
  20. };
  21. DT_MACHINE_START(BCM2835, "BCM2835")
  22. .dt_compat = bcm2835_compat,
  23. .smp = smp_ops(bcm2836_smp_ops),
  24. MACHINE_END