1 /* Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
13 #include <linux/init.h>
14 #include <linux/irqchip.h>
16 #include <linux/of_platform.h>
18 #include <asm/mach/arch.h>
20 #include <mach/board.h>
23 static void __init msm8x60_init_late(void)
28 static struct of_dev_auxdata msm_auxdata_lookup[] __initdata = {
32 static void __init msm8x60_dt_init(void)
34 of_platform_populate(NULL, of_default_bus_match_table,
35 msm_auxdata_lookup, NULL);
38 static const char *msm8x60_fluid_match[] __initdata = {
44 DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)")
45 .smp = smp_ops(msm_smp_ops),
46 .map_io = msm_map_msm8x60_io,
47 .init_irq = irqchip_init,
48 .init_machine = msm8x60_dt_init,
49 .init_late = msm8x60_init_late,
50 .init_time = msm_dt_timer_init,
51 .dt_compat = msm8x60_fluid_match,