blob: ef8eb3af586dfbd9c6733795e58e48f6f534f5b8 [file] [log] [blame]
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +09001/*
2 * r8a7791 processor support
3 *
4 * Copyright (C) 2013 Renesas Electronics Corporation
5 * Copyright (C) 2013 Renesas Solutions Corp.
6 * Copyright (C) 2013 Magnus Damm
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090016 */
17
Laurent Pinchart74c91702014-09-17 17:25:00 +030018#include <linux/init.h>
Geert Uytterhoeven5201b5a2014-06-20 18:53:07 +020019
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090020#include <asm/mach/arch.h>
Geert Uytterhoeven5201b5a2014-06-20 18:53:07 +020021
Magnus Dammfd44aa52014-06-17 16:47:37 +090022#include "common.h"
Geert Uytterhoeven5201b5a2014-06-20 18:53:07 +020023#include "r8a7791.h"
Magnus Damm62872982014-06-17 16:48:01 +090024#include "rcar-gen2.h"
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090025
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090026static const char *r8a7791_boards_compat_dt[] __initdata = {
27 "renesas,r8a7791",
28 NULL,
29};
30
31DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)")
Magnus Damm687c27b2013-10-01 17:13:16 +090032 .smp = smp_ops(r8a7791_smp_ops),
Magnus Damm648c6872014-05-12 08:25:18 +090033 .init_early = shmobile_init_delay,
Magnus Dammcd8344f2013-10-01 17:12:48 +090034 .init_time = rcar_gen2_timer_init,
Magnus Damm3d652262014-06-06 15:15:23 +090035 .init_late = shmobile_init_late,
Magnus Dammf8e81932014-06-09 21:38:45 +090036 .reserve = rcar_gen2_reserve,
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090037 .dt_compat = r8a7791_boards_compat_dt,
38MACHINE_END