Swetha Chikkaboraiah | 25a840a | 2018-03-06 10:14:41 +0530 | [diff] [blame] | 1 | /* 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 | |
| 18 | static const char *msm8917_dt_match[] __initconst = { |
| 19 | "qcom,msm8917", |
Swetha Chikkaboraiah | 630e245 | 2018-06-01 11:15:53 +0530 | [diff] [blame] | 20 | "qcom,apq8017", |
Swetha Chikkaboraiah | 25a840a | 2018-03-06 10:14:41 +0530 | [diff] [blame] | 21 | NULL |
| 22 | }; |
| 23 | |
| 24 | static void __init msm8917_init(void) |
| 25 | { |
| 26 | board_dt_populate(NULL); |
| 27 | } |
| 28 | |
| 29 | DT_MACHINE_START(MSM8917_DT, |
| 30 | "Qualcomm Technologies, Inc. MSM8917-PMI8950 MTP") |
| 31 | .init_machine = msm8917_init, |
| 32 | .dt_compat = msm8917_dt_match, |
| 33 | MACHINE_END |