blob: 38aad143b5586f919180c214d1574af48de97706 [file] [log] [blame]
Raja Mallik3621de62018-02-12 14:40:05 +05301/*
2 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include <linux/kernel.h>
15#include <asm/mach/map.h>
16#include <asm/mach/arch.h>
17#include "board-dt.h"
Raja Mallik869b6762018-02-21 18:46:14 +053018#include "platsmp.h"
Raja Mallik3621de62018-02-12 14:40:05 +053019
20static const char *msm8909_dt_match[] __initconst = {
21 "qcom,msm8909",
Raja Mallikbe0cbf72018-03-18 13:14:40 +053022 "qcom,apq8009",
Raja Mallik3621de62018-02-12 14:40:05 +053023 NULL
24};
25
26static void __init msm8909_init(void)
27{
28 board_dt_populate(NULL);
29}
30
31DT_MACHINE_START(MSM8909_DT,
32 "Qualcomm Technologies, Inc. MSM 8909 (Flattened Device Tree)")
33 .init_machine = msm8909_init,
34 .dt_compat = msm8909_dt_match,
Raja Mallik869b6762018-02-21 18:46:14 +053035 .smp = &msm8909_smp_ops,
Raja Mallik3621de62018-02-12 14:40:05 +053036MACHINE_END