Merge branch 'pm-cpufreq'
[linux-2.6-block.git] / arch / arm / mach-mvebu / dove.c
CommitLineData
48be9ac9 1/*
00e8ec2f 2 * arch/arm/mach-mvebu/dove.c
48be9ac9
AB
3 *
4 * Marvell Dove 88AP510 System On Chip FDT Board
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11#include <linux/init.h>
00e8ec2f 12#include <linux/mbus.h>
48be9ac9
AB
13#include <linux/of.h>
14#include <linux/of_platform.h>
44e259ac 15#include <linux/soc/dove/pmu.h>
48be9ac9
AB
16#include <asm/hardware/cache-tauros2.h>
17#include <asm/mach/arch.h>
48be9ac9
AB
18#include "common.h"
19
00e8ec2f 20static void __init dove_init(void)
48be9ac9
AB
21{
22 pr_info("Dove 88AP510 SoC\n");
23
24#ifdef CONFIG_CACHE_TAUROS2
25 tauros2_init(0);
26#endif
5686a1e5 27 BUG_ON(mvebu_mbus_dt_init(false));
44e259ac 28 dove_init_pmu();
48be9ac9
AB
29 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
30}
31
bc2d7a58 32static const char * const dove_dt_compat[] __initconst = {
48be9ac9
AB
33 "marvell,dove",
34 NULL
35};
36
00e8ec2f
SH
37DT_MACHINE_START(DOVE_DT, "Marvell Dove")
38 .init_machine = dove_init,
39 .restart = mvebu_restart,
40 .dt_compat = dove_dt_compat,
48be9ac9 41MACHINE_END