2013-06-28 04:42:16 +00:00
|
|
|
/*
|
|
|
|
* Lager board support - Reference DT implementation
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Renesas Solutions Corp.
|
|
|
|
* Copyright (C) 2013 Simon Horman
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/of_platform.h>
|
2014-06-20 16:53:06 +00:00
|
|
|
|
2013-06-28 04:42:16 +00:00
|
|
|
#include <asm/mach/arch.h>
|
2014-06-20 16:53:06 +00:00
|
|
|
|
2014-06-17 07:47:37 +00:00
|
|
|
#include "common.h"
|
2014-06-20 16:53:06 +00:00
|
|
|
#include "r8a7790.h"
|
2014-06-17 07:48:01 +00:00
|
|
|
#include "rcar-gen2.h"
|
2013-06-28 04:42:16 +00:00
|
|
|
|
|
|
|
static const char *lager_boards_compat_dt[] __initdata = {
|
2013-12-11 14:13:58 +00:00
|
|
|
"renesas,lager",
|
2013-06-28 04:42:16 +00:00
|
|
|
"renesas,lager-reference",
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
DT_MACHINE_START(LAGER_DT, "lager")
|
2013-08-28 23:22:07 +00:00
|
|
|
.smp = smp_ops(r8a7790_smp_ops),
|
2014-05-19 23:37:33 +00:00
|
|
|
.init_early = shmobile_init_delay,
|
2013-09-12 00:32:49 +00:00
|
|
|
.init_time = rcar_gen2_timer_init,
|
2013-11-20 00:02:31 +00:00
|
|
|
.init_late = shmobile_init_late,
|
2014-06-09 12:38:53 +00:00
|
|
|
.reserve = rcar_gen2_reserve,
|
2013-06-28 04:42:16 +00:00
|
|
|
.dt_compat = lager_boards_compat_dt,
|
|
|
|
MACHINE_END
|