Commit | Line | Data |
---|---|---|
0d0771ab HN |
1 | /* |
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. | |
0d0771ab HN |
16 | */ |
17 | ||
74c91707 | 18 | #include <linux/init.h> |
5201b5a7 | 19 | |
0d0771ab | 20 | #include <asm/mach/arch.h> |
5201b5a7 | 21 | |
fd44aa5e | 22 | #include "common.h" |
5201b5a7 | 23 | #include "r8a7791.h" |
62872989 | 24 | #include "rcar-gen2.h" |
0d0771ab | 25 | |
19c233b7 | 26 | static const char *const r8a7791_boards_compat_dt[] __initconst = { |
0d0771ab HN |
27 | "renesas,r8a7791", |
28 | NULL, | |
29 | }; | |
30 | ||
31 | DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") | |
687c27b0 | 32 | .smp = smp_ops(r8a7791_smp_ops), |
648c687a | 33 | .init_early = shmobile_init_delay, |
cd8344f4 | 34 | .init_time = rcar_gen2_timer_init, |
3d65226b | 35 | .init_late = shmobile_init_late, |
f8e81935 | 36 | .reserve = rcar_gen2_reserve, |
0d0771ab HN |
37 | .dt_compat = r8a7791_boards_compat_dt, |
38 | MACHINE_END |