2013-09-04 07:45:57 +04:00
|
|
|
/*
|
|
|
|
* r8a7791 processor support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Renesas Electronics Corporation
|
|
|
|
* Copyright (C) 2013 Renesas Solutions Corp.
|
|
|
|
* Copyright (C) 2013 Magnus Damm
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2014-09-17 18:25:00 +04:00
|
|
|
#include <linux/init.h>
|
2014-06-20 20:53:07 +04:00
|
|
|
|
2013-09-04 07:45:57 +04:00
|
|
|
#include <asm/mach/arch.h>
|
2014-06-20 20:53:07 +04:00
|
|
|
|
2014-06-17 11:47:37 +04:00
|
|
|
#include "common.h"
|
2014-06-20 20:53:07 +04:00
|
|
|
#include "r8a7791.h"
|
2014-06-17 11:48:01 +04:00
|
|
|
#include "rcar-gen2.h"
|
2013-09-04 07:45:57 +04:00
|
|
|
|
2015-07-28 01:27:52 +03:00
|
|
|
static const char *const r8a7791_boards_compat_dt[] __initconst = {
|
2013-09-04 07:45:57 +04:00
|
|
|
"renesas,r8a7791",
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)")
|
2016-08-12 19:45:10 +03:00
|
|
|
.smp_init = smp_init_ops(shmobile_smp_init_fallback_ops),
|
2013-10-01 12:13:16 +04:00
|
|
|
.smp = smp_ops(r8a7791_smp_ops),
|
2014-05-12 03:25:18 +04:00
|
|
|
.init_early = shmobile_init_delay,
|
2013-10-01 12:12:48 +04:00
|
|
|
.init_time = rcar_gen2_timer_init,
|
2014-06-06 10:15:23 +04:00
|
|
|
.init_late = shmobile_init_late,
|
2014-06-09 16:38:45 +04:00
|
|
|
.reserve = rcar_gen2_reserve,
|
2013-09-04 07:45:57 +04:00
|
|
|
.dt_compat = r8a7791_boards_compat_dt,
|
|
|
|
MACHINE_END
|