Commit | Line | Data |
---|---|---|
6dace67f SH |
1 | /* |
2 | * Lager board support - Reference DT implementation | |
3 | * | |
4 | * Copyright (C) 2013 Renesas Solutions Corp. | |
5 | * Copyright (C) 2013 Simon Horman | |
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. | |
6dace67f SH |
15 | */ |
16 | ||
17 | #include <linux/init.h> | |
6dace67f | 18 | #include <linux/of_platform.h> |
fccae893 | 19 | |
6dace67f | 20 | #include <asm/mach/arch.h> |
fccae893 | 21 | |
fd44aa5e | 22 | #include "common.h" |
fccae893 | 23 | #include "r8a7790.h" |
62872989 | 24 | #include "rcar-gen2.h" |
6dace67f | 25 | |
6dace67f | 26 | static const char *lager_boards_compat_dt[] __initdata = { |
1fb68146 | 27 | "renesas,lager", |
6dace67f SH |
28 | "renesas,lager-reference", |
29 | NULL, | |
30 | }; | |
31 | ||
32 | DT_MACHINE_START(LAGER_DT, "lager") | |
ad09cb83 | 33 | .smp = smp_ops(r8a7790_smp_ops), |
a5d62681 | 34 | .init_early = shmobile_init_delay, |
50c517d9 | 35 | .init_time = rcar_gen2_timer_init, |
3fbbcbdf | 36 | .init_late = shmobile_init_late, |
5f65c5bd | 37 | .reserve = rcar_gen2_reserve, |
6dace67f SH |
38 | .dt_compat = lager_boards_compat_dt, |
39 | MACHINE_END |