OSDN Git Service

Merge branch 'drm-fixes-3.12' of git://people.freedesktop.org/~agd5f/linux into drm...
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / arch / arm / mach-shmobile / board-marzen-reference.c
1 /*
2  * marzen board support - Reference DT implementation
3  *
4  * Copyright (C) 2011  Renesas Solutions Corp.
5  * Copyright (C) 2011  Magnus Damm
6  * Copyright (C) 2013  Simon Horman
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 <mach/r8a7779.h>
23 #include <mach/common.h>
24 #include <mach/irqs.h>
25 #include <asm/irq.h>
26 #include <asm/mach/arch.h>
27
28 static void __init marzen_init(void)
29 {
30         r8a7779_add_standard_devices_dt();
31 }
32
33 static const char *marzen_boards_compat_dt[] __initdata = {
34         "renesas,marzen-reference",
35         NULL,
36 };
37
38 DT_MACHINE_START(MARZEN, "marzen")
39         .smp            = smp_ops(r8a7779_smp_ops),
40         .map_io         = r8a7779_map_io,
41         .init_early     = r8a7779_init_delay,
42         .nr_irqs        = NR_IRQS_LEGACY,
43         .init_irq       = r8a7779_init_irq_dt,
44         .init_machine   = marzen_init,
45         .dt_compat      = marzen_boards_compat_dt,
46 MACHINE_END