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