summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-imx27.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-09-02 09:49:49 -0300
committerShawn Guo <shawnguo@kernel.org>2020-09-05 15:34:23 +0800
commit879c0e5e0ac711603b89b711c7b54213c0c17147 (patch)
tree1c8b7296e28852dd1b366ea6254c7108bcc98a1e /arch/arm/mach-imx/mach-imx27.c
parent4b563a066611f4b137ea28533b9783a492cb1e12 (diff)
ARM: imx: Remove i.MX27 board files
i.MX27 has basic device tree support. To achieve the goal of converting all i.MX SoCs to a devicetree-only platform, remove imx27 board files. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx27.c')
-rw-r--r--arch/arm/mach-imx/mach-imx27.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx27.c b/arch/arm/mach-imx/mach-imx27.c
new file mode 100644
index 000000000000..29d97bd64381
--- /dev/null
+++ b/arch/arm/mach-imx/mach-imx27.c
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright 2012 Sascha Hauer, Pengutronix
+ */
+
+#include <linux/irq.h>
+#include <linux/of_irq.h>
+#include <linux/of_platform.h>
+#include <asm/mach/arch.h>
+#include <asm/mach/time.h>
+
+#include "common.h"
+#include "mx27.h"
+
+static const char * const imx27_dt_board_compat[] __initconst = {
+ "fsl,imx27",
+ NULL
+};
+
+DT_MACHINE_START(IMX27_DT, "Freescale i.MX27 (Device Tree Support)")
+ .map_io = mx27_map_io,
+ .init_early = imx27_init_early,
+ .init_irq = mx27_init_irq,
+ .init_late = imx27_pm_init,
+ .dt_compat = imx27_dt_board_compat,
+MACHINE_END