brcmstb.c 833 B

12345678910111213141516171819202122232425262728293031323334
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. // Copyright (C) 2013-2014 Broadcom Corporation
  3. #include <linux/init.h>
  4. #include <linux/irqchip.h>
  5. #include <asm/mach-types.h>
  6. #include <asm/mach/arch.h>
  7. /*
  8. * Storage for debug-macro.S's state.
  9. *
  10. * This must be in .data not .bss so that it gets initialized each time the
  11. * kernel is loaded. The data is declared here rather than debug-macro.S so
  12. * that multiple inclusions of debug-macro.S point at the same data.
  13. */
  14. u32 brcmstb_uart_config[3] = {
  15. /* Debug UART initialization required */
  16. 1,
  17. /* Debug UART physical address */
  18. 0,
  19. /* Debug UART virtual address */
  20. 0,
  21. };
  22. static const char *const brcmstb_match[] __initconst = {
  23. "brcm,bcm7445",
  24. "brcm,brcmstb",
  25. NULL
  26. };
  27. DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)")
  28. .dt_compat = brcmstb_match,
  29. MACHINE_END