Linux-libre 4.9.189-gnu
[librecmc/linux-libre.git] / arch / arm / mach-shmobile / setup-r8a7792.c
1 /*
2  * r8a7792 processor support
3  *
4  * Copyright (C) 2014 Renesas Electronics Corporation
5  * Copyright (C) 2016 Cogent  Embedded, Inc.
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.
15  */
16
17 #include <linux/of_platform.h>
18
19 #include <asm/mach/arch.h>
20
21 #include "common.h"
22 #include "rcar-gen2.h"
23
24 static const char * const r8a7792_boards_compat_dt[] __initconst = {
25         "renesas,r8a7792",
26         NULL,
27 };
28
29 DT_MACHINE_START(R8A7792_DT, "Generic R8A7792 (Flattened Device Tree)")
30         .init_early     = shmobile_init_delay,
31         .init_late      = shmobile_init_late,
32         .init_time      = rcar_gen2_timer_init,
33         .reserve        = rcar_gen2_reserve,
34         .dt_compat      = r8a7792_boards_compat_dt,
35 MACHINE_END