xref: /linux/arch/arm/mach-mvebu/dove.c (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * arch/arm/mach-mvebu/dove.c
4  *
5  * Marvell Dove 88AP510 System On Chip FDT Board
6  */
7 
8 #include <linux/init.h>
9 #include <linux/mbus.h>
10 #include <linux/of.h>
11 #include <linux/soc/dove/pmu.h>
12 #include <asm/hardware/cache-tauros2.h>
13 #include <asm/mach/arch.h>
14 #include "common.h"
15 
16 static void __init dove_init(void)
17 {
18 	pr_info("Dove 88AP510 SoC\n");
19 
20 #ifdef CONFIG_CACHE_TAUROS2
21 	tauros2_init(0);
22 #endif
23 	BUG_ON(mvebu_mbus_dt_init(false));
24 	dove_init_pmu();
25 }
26 
27 static const char * const dove_dt_compat[] __initconst = {
28 	"marvell,dove",
29 	NULL
30 };
31 
32 DT_MACHINE_START(DOVE_DT, "Marvell Dove")
33 	.init_machine	= dove_init,
34 	.restart	= mvebu_restart,
35 	.dt_compat	= dove_dt_compat,
36 MACHINE_END
37