blob: beac80ec4037bcecd3edf22cb85b862566b3d0ce [file] [log] [blame]
Sekhar Nori689e3312012-08-28 15:27:52 +05301/*
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 */
Sekhar Nori689e3312012-08-28 15:27:52 +053010
11#include <asm/mach/arch.h>
12
13#include <mach/common.h>
Sekhar Nori689e3312012-08-28 15:27:52 +053014#include <mach/da8xx.h>
15
Sekhar Nori689e3312012-08-28 15:27:52 +053016#ifdef CONFIG_ARCH_DAVINCI_DA850
17
18static void __init da850_init_machine(void)
19{
Kevin Hilman7e431af2016-11-15 11:54:21 -080020 davinci_pm_init();
Kevin Hilman9c9b1bc2017-01-09 12:55:29 -080021 pdata_quirks_init();
Sekhar Nori689e3312012-08-28 15:27:52 +053022}
23
Nicolas Pitre19c233b2015-07-27 18:27:52 -040024static const char *const da850_boards_compat[] __initconst = {
Heiko Schocher3015fb32012-05-30 12:19:03 +020025 "enbw,cmc",
Karl Beldan44524a02016-08-05 20:29:49 +000026 "ti,da850-lcdk",
Sekhar Nori27e6e0d2012-08-29 23:25:27 +053027 "ti,da850-evm",
Sekhar Nori689e3312012-08-28 15:27:52 +053028 "ti,da850",
29 NULL,
30};
31
32DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x")
33 .map_io = da850_init,
Sekhar Nori689e3312012-08-28 15:27:52 +053034 .init_machine = da850_init_machine,
35 .dt_compat = da850_boards_compat,
36 .init_late = davinci_init_late,
Sekhar Nori689e3312012-08-28 15:27:52 +053037MACHINE_END
38
39#endif