diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2018-07-03 10:12:47 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-07-03 10:17:57 +0300 |
commit | 1a1f919eb52ea1e63e135a478c5762b3d8b0935b (patch) | |
tree | d0334d345730c3c7b6dc685fa1cbbf4e322ed2f0 /arch/arm/mach-imx/mach-imx7d-cm4.c | |
parent | d082852f40de5cf55a7a689bf582fced39f5443e (diff) | |
download | linux-1a1f919eb52ea1e63e135a478c5762b3d8b0935b.tar.xz |
ARM: imx: Provide support for NXP i.MX7D Cortex-M4
Cortex M4 part can be started from a boot loader or over
Linux remoteproc framework.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx7d-cm4.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx7d-cm4.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx7d-cm4.c b/arch/arm/mach-imx/mach-imx7d-cm4.c new file mode 100644 index 000000000000..0800b5891d2a --- /dev/null +++ b/arch/arm/mach-imx/mach-imx7d-cm4.c @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2018 Pengutronix, Oleksij Rempel <o.rempel@pengutronix.de> + */ + +#include <linux/kernel.h> +#include <asm/v7m.h> +#include <asm/mach/arch.h> + +static const char * const imx7d_cm4_dt_compat[] __initconst = { + "fsl,imx7d-cm4", + NULL, +}; + +DT_MACHINE_START(IMX7D, "Freescale i.MX7 Dual Cortex-M4 (Device Tree)") + .dt_compat = imx7d_cm4_dt_compat, + .restart = armv7m_restart, +MACHINE_END |