]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/mach-msm/board-dt-8660.c
Merge tag 'vfio-v3.12-rc0' of git://github.com/awilliam/linux-vfio
[mirror_ubuntu-bionic-kernel.git] / arch / arm / mach-msm / board-dt-8660.c
CommitLineData
5b67bfba 1/* Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
a55df6ed
SM
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.
a55df6ed
SM
11 */
12
5b67bfba 13#include <linux/init.h>
56e2d8a6 14#include <linux/of.h>
56e2d8a6 15#include <linux/of_platform.h>
a55df6ed 16
a55df6ed 17#include <asm/mach/arch.h>
34606f38 18#include <asm/mach/map.h>
a55df6ed 19
4312a7ef 20#include "common.h"
a55df6ed 21
c633c531
SG
22static void __init msm8x60_init_late(void)
23{
24 smd_debugfs_init();
25}
26
56e2d8a6
DB
27static struct of_dev_auxdata msm_auxdata_lookup[] __initdata = {
28 {}
29};
30
56e2d8a6
DB
31static void __init msm8x60_dt_init(void)
32{
56e2d8a6
DB
33 of_platform_populate(NULL, of_default_bus_match_table,
34 msm_auxdata_lookup, NULL);
35}
36
37static const char *msm8x60_fluid_match[] __initdata = {
38 "qcom,msm8660-fluid",
39 "qcom,msm8660-surf",
40 NULL
41};
56e2d8a6 42
56e2d8a6 43DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)")
25468fe8 44 .smp = smp_ops(msm_smp_ops),
56e2d8a6 45 .init_machine = msm8x60_dt_init,
c633c531 46 .init_late = msm8x60_init_late,
56e2d8a6
DB
47 .dt_compat = msm8x60_fluid_match,
48MACHINE_END