2 * kzm9d board support - Reference DT implementation
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Magnus Damm
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.
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.
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
21 #include <linux/init.h>
22 #include <linux/of_platform.h>
23 #include <mach/emev2.h>
24 #include <mach/common.h>
25 #include <asm/mach/arch.h>
27 static void __init kzm9d_add_standard_devices(void)
29 if (!IS_ENABLED(CONFIG_COMMON_CLK))
32 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
35 static const char *kzm9d_boards_compat_dt[] __initdata = {
37 "renesas,kzm9d-reference",
41 DT_MACHINE_START(KZM9D_DT, "kzm9d")
42 .smp = smp_ops(emev2_smp_ops),
43 .map_io = emev2_map_io,
44 .init_early = emev2_init_delay,
45 .init_machine = kzm9d_add_standard_devices,
46 .init_late = shmobile_init_late,
47 .dt_compat = kzm9d_boards_compat_dt,