| 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. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ |
| 21 | |
| 22 | #include <linux/irq.h> |
| 23 | #include <linux/kernel.h> |
| 24 | #include <linux/of_platform.h> |
| 25 | #include <mach/common.h> |
| 26 | #include <mach/r8a7791.h> |
| 27 | #include <asm/mach/arch.h> |
| 28 | |
| 29 | #ifdef CONFIG_USE_OF |
| 30 | static const char *r8a7791_boards_compat_dt[] __initdata = { |
| 31 | "renesas,r8a7791", |
| 32 | NULL, |
| 33 | }; |
| 34 | |
| 35 | DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") |
| 36 | .dt_compat = r8a7791_boards_compat_dt, |
| 37 | MACHINE_END |
| 38 | #endif /* CONFIG_USE_OF */ |