xref: /linux/arch/arm/mach-davinci/da8xx-dt.c (revision 44f57d78)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
4  *
5  * Modified from mach-omap/omap2/board-generic.c
6  */
7 
8 #include <asm/mach/arch.h>
9 
10 #include <mach/common.h>
11 #include <mach/da8xx.h>
12 
13 #ifdef CONFIG_ARCH_DAVINCI_DA850
14 
15 static void __init da850_init_machine(void)
16 {
17 	davinci_pm_init();
18 	pdata_quirks_init();
19 }
20 
21 static const char *const da850_boards_compat[] __initconst = {
22 	"enbw,cmc",
23 	"ti,da850-lcdk",
24 	"ti,da850-evm",
25 	"ti,da850",
26 	NULL,
27 };
28 
29 DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x")
30 	.map_io		= da850_init,
31 	.init_machine	= da850_init_machine,
32 	.dt_compat	= da850_boards_compat,
33 	.init_late	= davinci_init_late,
34 MACHINE_END
35 
36 #endif
37