From 038e88ce99724e7f57afcd6694f83009bb1551e8 Mon Sep 17 00:00:00 2001 From: Vanessa Maegima Date: Wed, 23 Nov 2016 10:32:02 -0200 Subject: [PATCH 2/2] ARM: dts: imx7s-warp-m4: Add i.MX7s M4 support Add support for Cortex-M4 on i.mx7s-warp. Signed-off-by: Vanessa Maegima --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/imx7s-warp-m4.dts | 9 +++++++++ arch/arm/boot/dts/imx7s-warp-m4.dtsi | 26 ++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx7s-warp-m4.dts create mode 100644 arch/arm/boot/dts/imx7s-warp-m4.dtsi diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 8c18e59..d1de4c7 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -401,7 +401,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \ imx7d-sdb-reva-qspi.dtb \ imx7d-sdb-reva-touch.dtb \ imx7d-sdb-reva-wm8960.dtb \ - imx7s-warp.dtb + imx7s-warp.dtb \ + imx7s-warp-m4.dtb dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-qds.dtb \ ls1021a-twr.dtb diff --git a/arch/arm/boot/dts/imx7s-warp-m4.dts b/arch/arm/boot/dts/imx7s-warp-m4.dts new file mode 100644 index 0000000..53cbe95 --- /dev/null +++ b/arch/arm/boot/dts/imx7s-warp-m4.dts @@ -0,0 +1,9 @@ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * + * 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 "imx7s-warp.dts" +#include "imx7s-warp-m4.dtsi" diff --git a/arch/arm/boot/dts/imx7s-warp-m4.dtsi b/arch/arm/boot/dts/imx7s-warp-m4.dtsi new file mode 100644 index 0000000..b856fec --- /dev/null +++ b/arch/arm/boot/dts/imx7s-warp-m4.dtsi @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * + * 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. + */ + +/ { + memory { + linux,usable-memory = <0x80000000 0x1ff00000>; + }; + m4_tcm: tcml@007f8000 { + compatible = "fsl, m4_tcml"; + reg = <0x007f8000 0x8000>; + }; +}; + +&ocram { + reg = <0x00901000 0xf000>; +}; + +&rpmsg{ + compatible = "fsl,imx7s-rpmsg"; + status = "okay"; +}; -- 2.7.4