2012-08-28 17:57:52 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*
|
|
|
|
* Modified from mach-omap/omap2/board-generic.c
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
|
|
|
|
#include <mach/common.h>
|
|
|
|
#include <mach/da8xx.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_ARCH_DAVINCI_DA850
|
|
|
|
|
|
|
|
static void __init da850_init_machine(void)
|
|
|
|
{
|
2016-11-16 03:54:21 +08:00
|
|
|
davinci_pm_init();
|
2017-01-10 04:55:29 +08:00
|
|
|
pdata_quirks_init();
|
2012-08-28 17:57:52 +08:00
|
|
|
}
|
|
|
|
|
2015-07-28 06:27:52 +08:00
|
|
|
static const char *const da850_boards_compat[] __initconst = {
|
2012-05-30 18:19:03 +08:00
|
|
|
"enbw,cmc",
|
ARM: dts: da850: Add basic DTS for the LCDK
The LCDK is the successor to the late Hawkboard.
Among the differences are the flash (16bits vs 8bits) and some pins
(MMC, LEDs, buttons, some external connectors), however the main
components remain the same (eth. phy, audio codec, video decoder and
DAC) except for the main PMIC, different and hard-wired on the LCDK (the
LDOs and DCDCs are always on).
A DT-only boot with this addition gives functional UART, reboot via
watchdog, RTC, ethernet and MMC (I added the CD GPIO for the MMC
although davinci_mmc doesn't call the OF facilities of mmc core).
Cc: Sekhar Nori <nsekhar@ti.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2016-08-06 04:29:49 +08:00
|
|
|
"ti,da850-lcdk",
|
2012-08-30 01:55:27 +08:00
|
|
|
"ti,da850-evm",
|
2012-08-28 17:57:52 +08:00
|
|
|
"ti,da850",
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x")
|
|
|
|
.map_io = da850_init,
|
|
|
|
.init_machine = da850_init_machine,
|
|
|
|
.dt_compat = da850_boards_compat,
|
|
|
|
.init_late = davinci_init_late,
|
|
|
|
MACHINE_END
|
|
|
|
|
|
|
|
#endif
|