blob: 7b9aa0fa8676b88addc7ed0864591968b9c9e020 [file] [log] [blame]
Jingbiao Lu56a5af52018-03-06 15:35:14 +08001/* Copyright (c) 2018, 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/kernel.h>
14#include "board-dt.h"
15#include <asm/mach/map.h>
16#include <asm/mach/arch.h>
17
18static const char *sdm439_dt_match[] __initconst = {
19 "qcom,sdm439",
Jingbiao Lufa43dbf2018-05-09 10:07:33 +080020 "qcom,sda439",
Jingbiao Lu56a5af52018-03-06 15:35:14 +080021 NULL
22};
23
24static void __init sdm439_init(void)
25{
26 board_dt_populate(NULL);
27}
28
29DT_MACHINE_START(SDM439_DT,
30 "Qualcomm Technologies, Inc. SDM439 (Flattened Device Tree)")
31 .init_machine = sdm439_init,
32 .dt_compat = sdm439_dt_match,
33MACHINE_END