summaryrefslogtreecommitdiff
path: root/arch/arm/mach-qcom/board-660.c
blob: 5cd11f09e3a4dd33bc5337f17caf7fe4c861a9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
 * Copyright (c) 2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include <linux/kernel.h>
#include <asm/mach/arch.h>
#include "board-dt.h"

static const char *sdm660_dt_match[] __initconst = {
	"qcom,sdm660",
	"qcom,sda660",
	NULL
};

static void __init sdm660_init(void)
{
	board_dt_populate(NULL);
}

DT_MACHINE_START(SDM660_DT,
	"Qualcomm Technologies, Inc. SDM 660 (Flattened Device Tree)")
	.init_machine = sdm660_init,
	.dt_compat = sdm660_dt_match,
MACHINE_END

static const char *sdm630_dt_match[] __initconst = {
	"qcom,sdm630",
	"qcom,sda630",
	NULL
};

static void __init sdm630_init(void)
{
	board_dt_populate(NULL);
}

DT_MACHINE_START(SDM630_DT,
	"Qualcomm Technologies, Inc. SDM 630 (Flattened Device Tree)")
	.init_machine = sdm630_init,
	.dt_compat = sdm630_dt_match,
MACHINE_END

static const char *sdm658_dt_match[] __initconst = {
	"qcom,sdm658",
	"qcom,sda658",
	NULL
};

static void __init sdm658_init(void)
{
	board_dt_populate(NULL);
}

DT_MACHINE_START(SDM658_DT,
	"Qualcomm Technologies, Inc. SDM 658 (Flattened Device Tree)")
	.init_machine = sdm658_init,
	.dt_compat = sdm658_dt_match,
MACHINE_END