Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 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. |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 15 | */ |
| 16 | |
Laurent Pinchart | e042681 | 2014-12-02 18:00:56 +0200 | [diff] [blame] | 17 | #include <linux/init.h> |
Geert Uytterhoeven | fccae89 | 2014-06-20 18:53:06 +0200 | [diff] [blame] | 18 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 19 | #include <asm/mach/arch.h> |
| 20 | |
Magnus Damm | fd44aa5 | 2014-06-17 16:47:37 +0900 | [diff] [blame] | 21 | #include "common.h" |
Geert Uytterhoeven | fccae89 | 2014-06-20 18:53:06 +0200 | [diff] [blame] | 22 | #include "r8a7790.h" |
Magnus Damm | 6287298 | 2014-06-17 16:48:01 +0900 | [diff] [blame] | 23 | #include "rcar-gen2.h" |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 24 | |
Laurent Pinchart | cde214a | 2013-08-08 00:34:53 +0200 | [diff] [blame] | 25 | static const char * const r8a7790_boards_compat_dt[] __initconst = { |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 26 | "renesas,r8a7790", |
| 27 | NULL, |
| 28 | }; |
| 29 | |
| 30 | DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)") |
Magnus Damm | f5d70b9 | 2016-06-28 16:10:38 +0200 | [diff] [blame] | 31 | .smp_init = shmobile_smp_init_fallback_ops, |
Magnus Damm | ad09cb8 | 2013-08-29 08:22:07 +0900 | [diff] [blame] | 32 | .smp = smp_ops(r8a7790_smp_ops), |
Magnus Damm | ed06ecb | 2014-05-20 08:37:24 +0900 | [diff] [blame] | 33 | .init_early = shmobile_init_delay, |
Magnus Damm | 50c517d | 2013-09-12 09:32:49 +0900 | [diff] [blame] | 34 | .init_time = rcar_gen2_timer_init, |
Magnus Damm | 7d95b9d | 2014-06-06 15:13:47 +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, |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 37 | .dt_compat = r8a7790_boards_compat_dt, |
| 38 | MACHINE_END |