blob: 56ab56ed5f5975f3491434ded8afec6de615afc9 [file] [log] [blame]
Kuninori Morimoto53e42c22013-03-21 03:03:38 -07001/*
2 * Bock-W board support
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#include <linux/platform_device.h>
22#include <mach/common.h>
23#include <mach/r8a7778.h>
24#include <asm/mach/arch.h>
25
26static void __init bockw_init(void)
27{
28 r8a7778_clock_init();
29 r8a7778_add_standard_devices();
30}
31
32static const char *bockw_boards_compat_dt[] __initdata = {
33 "renesas,bockw",
34 NULL,
35};
36
37DT_MACHINE_START(BOCKW_DT, "bockw")
38 .init_early = r8a7778_init_delay,
39 .init_irq = r8a7778_init_irq_dt,
40 .init_machine = bockw_init,
41 .init_time = shmobile_timer_init,
42 .dt_compat = bockw_boards_compat_dt,
43MACHINE_END