Merge tag 'tags/renesas-dt-du-for-v3.19' into drm/next/adv7511-base
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / board-koelsch-reference.c
1 /*
2  * Koelsch board support - Reference DT implementation
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
18 #include <linux/kernel.h>
19 #include <linux/of_platform.h>
20
21 #include <asm/mach/arch.h>
22
23 #include "common.h"
24 #include "r8a7791.h"
25 #include "rcar-gen2.h"
26
27 static const char * const koelsch_boards_compat_dt[] __initconst = {
28         "renesas,koelsch",
29         "renesas,koelsch-reference",
30         NULL,
31 };
32
33 DT_MACHINE_START(KOELSCH_DT, "koelsch")
34         .smp            = smp_ops(r8a7791_smp_ops),
35         .init_early     = shmobile_init_delay,
36         .init_time      = rcar_gen2_timer_init,
37         .init_late      = shmobile_init_late,
38         .reserve        = rcar_gen2_reserve,
39         .dt_compat      = koelsch_boards_compat_dt,
40 MACHINE_END