Magnus Damm | 7f627f0 | 2012-05-16 15:44:58 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Emma Mobile EV2 processor support |
| 3 | * |
| 4 | * Copyright (C) 2012 Magnus Damm |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Magnus Damm | 7f627f0 | 2012-05-16 15:44:58 +0900 | [diff] [blame] | 14 | */ |
| 15 | #include <linux/kernel.h> |
| 16 | #include <linux/init.h> |
Magnus Damm | af164ca | 2014-06-05 14:32:12 +0900 | [diff] [blame] | 17 | #include <linux/mm.h> |
Magnus Damm | 7f627f0 | 2012-05-16 15:44:58 +0900 | [diff] [blame] | 18 | #include <asm/mach-types.h> |
| 19 | #include <asm/mach/arch.h> |
| 20 | #include <asm/mach/map.h> |
Geert Uytterhoeven | c58b31a | 2016-01-28 16:20:49 +0100 | [diff] [blame] | 21 | |
Magnus Damm | fd44aa5 | 2014-06-17 16:47:37 +0900 | [diff] [blame] | 22 | #include "common.h" |
Geert Uytterhoeven | c58b31a | 2016-01-28 16:20:49 +0100 | [diff] [blame] | 23 | #include "emev2.h" |
Magnus Damm | 7f627f0 | 2012-05-16 15:44:58 +0900 | [diff] [blame] | 24 | |
Uwe Kleine-König | 543c504 | 2015-02-18 21:01:45 +0100 | [diff] [blame] | 25 | static const char *const emev2_boards_compat_dt[] __initconst = { |
Magnus Damm | 3d5de27 | 2012-05-16 15:45:54 +0900 | [diff] [blame] | 26 | "renesas,emev2", |
| 27 | NULL, |
| 28 | }; |
| 29 | |
Magnus Damm | 3d5de27 | 2012-05-16 15:45:54 +0900 | [diff] [blame] | 30 | DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") |
Marc Zyngier | a62580e | 2011-09-08 13:15:22 +0100 | [diff] [blame] | 31 | .smp = smp_ops(emev2_smp_ops), |
Magnus Damm | ef9026e | 2014-06-05 14:32:04 +0900 | [diff] [blame] | 32 | .init_early = shmobile_init_delay, |
Magnus Damm | 3f348e1 | 2013-11-07 08:21:20 +0900 | [diff] [blame] | 33 | .init_late = shmobile_init_late, |
Magnus Damm | 3d5de27 | 2012-05-16 15:45:54 +0900 | [diff] [blame] | 34 | .dt_compat = emev2_boards_compat_dt, |
| 35 | MACHINE_END |