blob: fa06bdba61df19d33fe6990eaa0a867855434c98 [file] [log] [blame]
Simon Horman6dace672013-06-28 13:42:16 +09001/*
2 * Lager board support - Reference DT implementation
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Simon Horman
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.
Simon Horman6dace672013-06-28 13:42:16 +090015 */
16
17#include <linux/init.h>
Simon Horman6dace672013-06-28 13:42:16 +090018#include <linux/of_platform.h>
Geert Uytterhoevenfccae892014-06-20 18:53:06 +020019
Simon Horman6dace672013-06-28 13:42:16 +090020#include <asm/mach/arch.h>
Geert Uytterhoevenfccae892014-06-20 18:53:06 +020021
Magnus Dammfd44aa52014-06-17 16:47:37 +090022#include "common.h"
Geert Uytterhoevenfccae892014-06-20 18:53:06 +020023#include "r8a7790.h"
Magnus Damm62872982014-06-17 16:48:01 +090024#include "rcar-gen2.h"
Simon Horman6dace672013-06-28 13:42:16 +090025
Simon Horman6dace672013-06-28 13:42:16 +090026static const char *lager_boards_compat_dt[] __initdata = {
Laurent Pinchart1fb68142013-12-11 15:13:58 +010027 "renesas,lager",
Simon Horman6dace672013-06-28 13:42:16 +090028 "renesas,lager-reference",
29 NULL,
30};
31
32DT_MACHINE_START(LAGER_DT, "lager")
Magnus Dammad09cb82013-08-29 08:22:07 +090033 .smp = smp_ops(r8a7790_smp_ops),
Magnus Damma5d62682014-05-20 08:37:33 +090034 .init_early = shmobile_init_delay,
Magnus Damm50c517d2013-09-12 09:32:49 +090035 .init_time = rcar_gen2_timer_init,
Magnus Damm3fbbcbd2013-11-20 09:02:31 +090036 .init_late = shmobile_init_late,
Magnus Damm5f65c5b2014-06-09 21:38:53 +090037 .reserve = rcar_gen2_reserve,
Simon Horman6dace672013-06-28 13:42:16 +090038 .dt_compat = lager_boards_compat_dt,
39MACHINE_END