blob: 0bd698459333b2a9f06291018e14be4a03574c37 [file] [log] [blame]
Swetha Chikkaboraiah25a840a2018-03-06 10:14:41 +05301/* 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 *msm8917_dt_match[] __initconst = {
19 "qcom,msm8917",
Swetha Chikkaboraiah630e2452018-06-01 11:15:53 +053020 "qcom,apq8017",
Swetha Chikkaboraiah25a840a2018-03-06 10:14:41 +053021 NULL
22};
23
24static void __init msm8917_init(void)
25{
26 board_dt_populate(NULL);
27}
28
29DT_MACHINE_START(MSM8917_DT,
30 "Qualcomm Technologies, Inc. MSM8917-PMI8950 MTP")
31 .init_machine = msm8917_init,
32 .dt_compat = msm8917_dt_match,
33MACHINE_END