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