Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 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. |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 16 | */ |
| 17 | |
Laurent Pinchart | 74c9170 | 2014-09-17 17:25:00 +0300 | [diff] [blame] | 18 | #include <linux/init.h> |
Geert Uytterhoeven | 5201b5a | 2014-06-20 18:53:07 +0200 | [diff] [blame] | 19 | |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 20 | #include <asm/mach/arch.h> |
Geert Uytterhoeven | 5201b5a | 2014-06-20 18:53:07 +0200 | [diff] [blame] | 21 | |
Magnus Damm | fd44aa5 | 2014-06-17 16:47:37 +0900 | [diff] [blame] | 22 | #include "common.h" |
Geert Uytterhoeven | 5201b5a | 2014-06-20 18:53:07 +0200 | [diff] [blame] | 23 | #include "r8a7791.h" |
Magnus Damm | 6287298 | 2014-06-17 16:48:01 +0900 | [diff] [blame] | 24 | #include "rcar-gen2.h" |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 25 | |
Nicolas Pitre | 19c233b | 2015-07-27 18:27:52 -0400 | [diff] [blame] | 26 | static const char *const r8a7791_boards_compat_dt[] __initconst = { |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 27 | "renesas,r8a7791", |
| 28 | NULL, |
| 29 | }; |
| 30 | |
| 31 | DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") |
Magnus Damm | 687c27b | 2013-10-01 17:13:16 +0900 | [diff] [blame] | 32 | .smp = smp_ops(r8a7791_smp_ops), |
Magnus Damm | 648c687 | 2014-05-12 08:25:18 +0900 | [diff] [blame] | 33 | .init_early = shmobile_init_delay, |
Magnus Damm | cd8344f | 2013-10-01 17:12:48 +0900 | [diff] [blame] | 34 | .init_time = rcar_gen2_timer_init, |
Magnus Damm | 3d65226 | 2014-06-06 15:15:23 +0900 | [diff] [blame] | 35 | .init_late = shmobile_init_late, |
Magnus Damm | f8e8193 | 2014-06-09 21:38:45 +0900 | [diff] [blame] | 36 | .reserve = rcar_gen2_reserve, |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 37 | .dt_compat = r8a7791_boards_compat_dt, |
| 38 | MACHINE_END |