]> git.ipfire.org Git - people/arne_f/kernel.git/blob - arch/arm/mach-msm/board-dt.c
Merge tag 'xtensa-for-next-20140221-1' into for_next
[people/arne_f/kernel.git] / arch / arm / mach-msm / board-dt.c
1 /* Copyright (c) 2010-2012,2013 The Linux Foundation. All rights reserved.
2 *
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.
6 *
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.
11 */
12
13 #include <linux/init.h>
14 #include <linux/of.h>
15 #include <linux/of_platform.h>
16
17 #include <asm/mach/arch.h>
18 #include <asm/mach/map.h>
19
20 #include "common.h"
21
22 static const char * const msm_dt_match[] __initconst = {
23 "qcom,msm8660-fluid",
24 "qcom,msm8660-surf",
25 "qcom,msm8960-cdp",
26 NULL
27 };
28
29 static const char * const apq8074_dt_match[] __initconst = {
30 "qcom,apq8074-dragonboard",
31 NULL
32 };
33
34 DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)")
35 .smp = smp_ops(msm_smp_ops),
36 .dt_compat = msm_dt_match,
37 MACHINE_END
38
39 DT_MACHINE_START(APQ_DT, "Qualcomm MSM (Flattened Device Tree)")
40 .dt_compat = apq8074_dt_match,
41 MACHINE_END