blob: 3a18af4922b42577c2a37a80a620b5fca3f0d75d [file] [log] [blame]
Magnus Damm0468b2d2013-03-28 00:49:34 +09001/*
2 * r8a7790 processor support
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Magnus Damm
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Magnus Damm0468b2d2013-03-28 00:49:34 +090015 */
16
Laurent Pincharte0426812014-12-02 18:00:56 +020017#include <linux/init.h>
Geert Uytterhoevenfccae892014-06-20 18:53:06 +020018
Magnus Damm0468b2d2013-03-28 00:49:34 +090019#include <asm/mach/arch.h>
20
Magnus Dammfd44aa52014-06-17 16:47:37 +090021#include "common.h"
Geert Uytterhoevenfccae892014-06-20 18:53:06 +020022#include "r8a7790.h"
Magnus Damm62872982014-06-17 16:48:01 +090023#include "rcar-gen2.h"
Magnus Damm0468b2d2013-03-28 00:49:34 +090024
Laurent Pinchartcde214a2013-08-08 00:34:53 +020025static const char * const r8a7790_boards_compat_dt[] __initconst = {
Magnus Damm0468b2d2013-03-28 00:49:34 +090026 "renesas,r8a7790",
27 NULL,
28};
29
30DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)")
Magnus Dammad09cb82013-08-29 08:22:07 +090031 .smp = smp_ops(r8a7790_smp_ops),
Magnus Dammed06ecb2014-05-20 08:37:24 +090032 .init_early = shmobile_init_delay,
Magnus Damm50c517d2013-09-12 09:32:49 +090033 .init_time = rcar_gen2_timer_init,
Magnus Damm7d95b9d2014-06-06 15:13:47 +090034 .init_late = shmobile_init_late,
Magnus Dammf8e81932014-06-09 21:38:45 +090035 .reserve = rcar_gen2_reserve,
Magnus Damm0468b2d2013-03-28 00:49:34 +090036 .dt_compat = r8a7790_boards_compat_dt,
37MACHINE_END