Commit | Line | Data |
---|---|---|
0468b2d6 MD |
1 | /* |
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. | |
0468b2d6 MD |
15 | */ |
16 | ||
e0426818 | 17 | #include <linux/init.h> |
fccae893 | 18 | |
0468b2d6 MD |
19 | #include <asm/mach/arch.h> |
20 | ||
fd44aa5e | 21 | #include "common.h" |
fccae893 | 22 | #include "r8a7790.h" |
62872989 | 23 | #include "rcar-gen2.h" |
0468b2d6 | 24 | |
cde214a8 | 25 | static const char * const r8a7790_boards_compat_dt[] __initconst = { |
0468b2d6 MD |
26 | "renesas,r8a7790", |
27 | NULL, | |
28 | }; | |
29 | ||
30 | DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)") | |
27460794 | 31 | .smp_init = smp_init_ops(shmobile_smp_init_fallback_ops), |
ad09cb83 | 32 | .smp = smp_ops(r8a7790_smp_ops), |
ed06ecbc | 33 | .init_early = shmobile_init_delay, |
50c517d9 | 34 | .init_time = rcar_gen2_timer_init, |
7d95b9dd | 35 | .init_late = shmobile_init_late, |
f8e81935 | 36 | .reserve = rcar_gen2_reserve, |
0468b2d6 MD |
37 | .dt_compat = r8a7790_boards_compat_dt, |
38 | MACHINE_END |