David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2012 Sascha Hauer, Pengutronix |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <linux/irq.h> |
| 7 | #include <linux/of_irq.h> |
| 8 | #include <linux/of_platform.h> |
| 9 | #include <asm/mach/arch.h> |
| 10 | #include <asm/mach/time.h> |
| 11 | |
| 12 | #include "common.h" |
| 13 | #include "mx27.h" |
| 14 | |
| 15 | static const char * const imx27_dt_board_compat[] __initconst = { |
| 16 | "fsl,imx27", |
| 17 | NULL |
| 18 | }; |
| 19 | |
| 20 | DT_MACHINE_START(IMX27_DT, "Freescale i.MX27 (Device Tree Support)") |
| 21 | .map_io = mx27_map_io, |
| 22 | .init_early = imx27_init_early, |
| 23 | .init_irq = mx27_init_irq, |
| 24 | .init_late = imx27_pm_init, |
| 25 | .dt_compat = imx27_dt_board_compat, |
| 26 | MACHINE_END |