blob: aa9b255f5570ba342697ad586d7d6d06342c5752 [file] [log] [blame]
Daniel Macke7749a22012-07-25 17:54:41 +02001/*
2 * linux/arch/arm/mach-pxa/pxa-dt.c
3 *
4 * Copyright (C) 2012 Daniel Mack
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 * publishhed by the Free Software Foundation.
9 */
10
11#include <linux/irq.h>
12#include <linux/irqdomain.h>
13#include <linux/of_irq.h>
14#include <linux/of_platform.h>
15#include <asm/mach/arch.h>
16#include <asm/mach/time.h>
17#include <mach/irqs.h>
Daniel Macke7749a22012-07-25 17:54:41 +020018
19#include "generic.h"
20
Robert Jarzmikd9edae42016-04-10 21:29:59 +020021#ifdef CONFIG_PXA25x
22static const char * const pxa25x_dt_board_compat[] __initconst = {
23 "marvell,pxa250",
24 NULL,
25};
26
27DT_MACHINE_START(PXA25X_DT, "Marvell PXA25x (Device Tree Support)")
28 .map_io = pxa25x_map_io,
Robert Jarzmikd9edae42016-04-10 21:29:59 +020029 .restart = pxa_restart,
30 .dt_compat = pxa25x_dt_board_compat,
31MACHINE_END
32#endif
33
34#ifdef CONFIG_PXA27x
35static const char * const pxa27x_dt_board_compat[] __initconst = {
36 "marvell,pxa270",
37 NULL,
38};
39
40DT_MACHINE_START(PXA27X_DT, "Marvell PXA27x (Device Tree Support)")
41 .map_io = pxa27x_map_io,
Robert Jarzmikd9edae42016-04-10 21:29:59 +020042 .restart = pxa_restart,
43 .dt_compat = pxa27x_dt_board_compat,
44MACHINE_END
45#endif
46
Daniel Macke7749a22012-07-25 17:54:41 +020047#ifdef CONFIG_PXA3xx
Nicolas Pitre19c233b2015-07-27 18:27:52 -040048static const char *const pxa3xx_dt_board_compat[] __initconst = {
Daniel Macke7749a22012-07-25 17:54:41 +020049 "marvell,pxa300",
50 "marvell,pxa310",
51 "marvell,pxa320",
52 NULL,
53};
Daniel Macke7749a22012-07-25 17:54:41 +020054
Daniel Macke7749a22012-07-25 17:54:41 +020055DT_MACHINE_START(PXA_DT, "Marvell PXA3xx (Device Tree Support)")
56 .map_io = pxa3xx_map_io,
Daniel Macke7749a22012-07-25 17:54:41 +020057 .restart = pxa_restart,
Daniel Macke7749a22012-07-25 17:54:41 +020058 .dt_compat = pxa3xx_dt_board_compat,
59MACHINE_END
60#endif