blob: 1c0b135545f91ab2367874837778800142332ef6 [file] [log] [blame]
Tingwei Zhang549992d2018-10-09 15:37:13 +08001/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
Maria Yue14bec72017-11-09 18:47:33 +08002 *
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/kernel.h>
14#include "board-dt.h"
15#include <asm/mach/map.h>
16#include <asm/mach/arch.h>
17
18static const char *sdm450_dt_match[] __initconst = {
19 "qcom,sdm450",
Tingwei Zhang549992d2018-10-09 15:37:13 +080020 "qcom,sda450",
Maria Yue14bec72017-11-09 18:47:33 +080021 NULL
22};
23
24static void __init sdm450_init(void)
25{
26 board_dt_populate(NULL);
27}
28
29DT_MACHINE_START(SDM450_DT,
30 "Qualcomm Technologies, Inc. SDM450 (Flattened Device Tree)")
31 .init_machine = sdm450_init,
32 .dt_compat = sdm450_dt_match,
33MACHINE_END