GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / mach-davinci / da8xx-dt.c
1 /*
2  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * Modified from mach-omap/omap2/board-generic.c
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10
11 #include <asm/mach/arch.h>
12
13 #include <mach/common.h>
14 #include <mach/da8xx.h>
15
16 #ifdef CONFIG_ARCH_DAVINCI_DA850
17
18 static void __init da850_init_machine(void)
19 {
20         davinci_pm_init();
21         pdata_quirks_init();
22 }
23
24 static const char *const da850_boards_compat[] __initconst = {
25         "enbw,cmc",
26         "ti,da850-lcdk",
27         "ti,da850-evm",
28         "ti,da850",
29         NULL,
30 };
31
32 DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x")
33         .map_io         = da850_init,
34         .init_machine   = da850_init_machine,
35         .dt_compat      = da850_boards_compat,
36         .init_late      = davinci_init_late,
37 MACHINE_END
38
39 #endif