summaryrefstree
path: root/kernel/arch/arm64/mach-exynos/mach-universal5433.c
blob: ae35e30407a1a733d2ef04a03ed85f64a1f94431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * SAMSUNG EXYNOS5430 Flattened Device Tree enabled machine
 *
 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

#include <linux/of_platform.h>
#include <linux/of_fdt.h>
#include <linux/memblock.h>
#include <linux/io.h>
#include <linux/exynos_ion.h>

#include <asm/mach/arch.h>
#include <mach/regs-pmu.h>

#include <plat/cpu.h>

#include "common.h"

const struct of_device_id of_iommu_bus_match_table[] = {
	{ .compatible = "samsung,exynos-iommu-bus", },
	{} /* Empty terminated list */
};

static void __init universal5433_dt_map_io(void)
{
	exynos_init_io(NULL, 0);
}

static void __init universal5433_dt_machine_init(void)
{
	/* machine customizing */
	exynos_pmu_init();
}

static char const *universal5433_dt_compat[] __initdata = {
	"samsung,exynos5433",
	NULL
};

DT_MACHINE_START(UNIVERSAL5433, "SAMSUNG Exynos5433")
	.map_io		= universal5433_dt_map_io,
	.init_machine	= universal5433_dt_machine_init,
	.dt_compat	= universal5433_dt_compat,
	.restart	= exynos_restart,
MACHINE_END