blob: 9c0dd028d5adba031001e627d8d0f12680e08da0 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Sekhar Nori689e3312012-08-28 15:27:52 +05302/*
3 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
4 *
5 * Modified from mach-omap/omap2/board-generic.c
Sekhar Nori689e3312012-08-28 15:27:52 +05306 */
Sekhar Nori689e3312012-08-28 15:27:52 +05307
8#include <asm/mach/arch.h>
9
10#include <mach/common.h>
Sekhar Nori689e3312012-08-28 15:27:52 +053011#include <mach/da8xx.h>
12
Sekhar Nori689e3312012-08-28 15:27:52 +053013#ifdef CONFIG_ARCH_DAVINCI_DA850
14
15static void __init da850_init_machine(void)
16{
Kevin Hilman7e431af2016-11-15 11:54:21 -080017 davinci_pm_init();
Kevin Hilman9c9b1bc2017-01-09 12:55:29 -080018 pdata_quirks_init();
Sekhar Nori689e3312012-08-28 15:27:52 +053019}
20
Nicolas Pitre19c233b2015-07-27 18:27:52 -040021static const char *const da850_boards_compat[] __initconst = {
Heiko Schocher3015fb32012-05-30 12:19:03 +020022 "enbw,cmc",
Karl Beldan44524a02016-08-05 20:29:49 +000023 "ti,da850-lcdk",
Sekhar Nori27e6e0d2012-08-29 23:25:27 +053024 "ti,da850-evm",
Sekhar Nori689e3312012-08-28 15:27:52 +053025 "ti,da850",
26 NULL,
27};
28
29DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x")
30 .map_io = da850_init,
Sekhar Nori689e3312012-08-28 15:27:52 +053031 .init_machine = da850_init_machine,
32 .dt_compat = da850_boards_compat,
33 .init_late = davinci_init_late,
Sekhar Nori689e3312012-08-28 15:27:52 +053034MACHINE_END
35
36#endif