Commit | Line | Data |
---|---|---|
4fbe66d9 MC |
1 | /* |
2 | * Copyright (C) 2013-2014 Broadcom Corporation | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or | |
5 | * modify it under the terms of the GNU General Public License as | |
6 | * published by the Free Software Foundation version 2. | |
7 | * | |
8 | * This program is distributed "as is" WITHOUT ANY WARRANTY of any | |
9 | * kind, whether express or implied; without even the implied warranty | |
10 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 | * GNU General Public License for more details. | |
12 | */ | |
13 | ||
14 | #include <linux/init.h> | |
c4a8ea9e | 15 | #include <linux/irqchip.h> |
4fbe66d9 | 16 | #include <linux/of_platform.h> |
c4a8ea9e | 17 | #include <linux/soc/brcmstb/brcmstb.h> |
4fbe66d9 MC |
18 | |
19 | #include <asm/mach-types.h> | |
20 | #include <asm/mach/arch.h> | |
21 | ||
c4a8ea9e FF |
22 | static void __init brcmstb_init_irq(void) |
23 | { | |
24 | irqchip_init(); | |
25 | brcmstb_biuctrl_init(); | |
26 | } | |
27 | ||
543c5040 | 28 | static const char *const brcmstb_match[] __initconst = { |
4fbe66d9 MC |
29 | "brcm,bcm7445", |
30 | "brcm,brcmstb", | |
31 | NULL | |
32 | }; | |
33 | ||
34 | DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)") | |
35 | .dt_compat = brcmstb_match, | |
c4a8ea9e | 36 | .init_irq = brcmstb_init_irq, |
4fbe66d9 | 37 | MACHINE_END |