blob: 3c99aaf65325cd19860968c24e4cf83703e84970 [file] [log] [blame]
Magnus Damm7f627f02012-05-16 15:44:58 +09001/*
2 * Emma Mobile EV2 processor support
3 *
4 * Copyright (C) 2012 Magnus Damm
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Magnus Damm7f627f02012-05-16 15:44:58 +090014 */
15#include <linux/kernel.h>
16#include <linux/init.h>
Magnus Dammaf164ca2014-06-05 14:32:12 +090017#include <linux/mm.h>
Magnus Damm7f627f02012-05-16 15:44:58 +090018#include <asm/mach-types.h>
19#include <asm/mach/arch.h>
20#include <asm/mach/map.h>
Geert Uytterhoevenc58b31a2016-01-28 16:20:49 +010021
Magnus Dammfd44aa52014-06-17 16:47:37 +090022#include "common.h"
Geert Uytterhoevenc58b31a2016-01-28 16:20:49 +010023#include "emev2.h"
Magnus Damm7f627f02012-05-16 15:44:58 +090024
Uwe Kleine-König543c5042015-02-18 21:01:45 +010025static const char *const emev2_boards_compat_dt[] __initconst = {
Magnus Damm3d5de272012-05-16 15:45:54 +090026 "renesas,emev2",
27 NULL,
28};
29
Magnus Damm3d5de272012-05-16 15:45:54 +090030DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)")
Marc Zyngiera62580e2011-09-08 13:15:22 +010031 .smp = smp_ops(emev2_smp_ops),
Magnus Dammef9026e2014-06-05 14:32:04 +090032 .init_early = shmobile_init_delay,
Magnus Damm3f348e12013-11-07 08:21:20 +090033 .init_late = shmobile_init_late,
Magnus Damm3d5de272012-05-16 15:45:54 +090034 .dt_compat = emev2_boards_compat_dt,
35MACHINE_END