Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * arch/arm/mach-mvebu/dove.c
0004  *
0005  * Marvell Dove 88AP510 System On Chip FDT Board
0006  */
0007 
0008 #include <linux/init.h>
0009 #include <linux/mbus.h>
0010 #include <linux/of.h>
0011 #include <linux/soc/dove/pmu.h>
0012 #include <asm/hardware/cache-tauros2.h>
0013 #include <asm/mach/arch.h>
0014 #include "common.h"
0015 
0016 static void __init dove_init(void)
0017 {
0018     pr_info("Dove 88AP510 SoC\n");
0019 
0020 #ifdef CONFIG_CACHE_TAUROS2
0021     tauros2_init(0);
0022 #endif
0023     BUG_ON(mvebu_mbus_dt_init(false));
0024     dove_init_pmu();
0025 }
0026 
0027 static const char * const dove_dt_compat[] __initconst = {
0028     "marvell,dove",
0029     NULL
0030 };
0031 
0032 DT_MACHINE_START(DOVE_DT, "Marvell Dove")
0033     .init_machine   = dove_init,
0034     .restart    = mvebu_restart,
0035     .dt_compat  = dove_dt_compat,
0036 MACHINE_END