aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/board-dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-msm/board-dt.c')
-rw-r--r--arch/arm/mach-msm/board-dt.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-dt.c b/arch/arm/mach-msm/board-dt.c
new file mode 100644
index 000000000000..16e6183ac9f1
--- /dev/null
+++ b/arch/arm/mach-msm/board-dt.c
@@ -0,0 +1,32 @@
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
22static const char * const msm_dt_match[] __initconst = {
23 "qcom,msm8660-fluid",
24 "qcom,msm8660-surf",
25 "qcom,msm8960-cdp",
26 NULL
27};
28
29DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)")
30 .smp = smp_ops(msm_smp_ops),
31 .dt_compat = msm_dt_match,
32MACHINE_END