summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-12-01 15:30:47 +0800
committerPeng Fan <peng.fan@nxp.com>2020-12-01 16:07:45 +0800
commit84b86a513c34a7ec65500ca19e34d7d3d3219d48 (patch)
treec101bbe160b63efd10576212fe0aedd03bde9945
parent985c60e55694a69effd2197f798cb039a17144c6 (diff)
MLK-25073 arm64: dts: imx8mn-ddr3l-evk-rpmsg: reserve space for Mcore
This is just a workaround for Linux 5.4 Q4 release to avoid Linux use the memory. This board only has 1GB memory, the 0xb8000000 exceeds the DRAM, and round back to 0x78000000, since we not modify Mcore image, so we need to avoid Linux touch 0x78000000 which might crash the system and mark mcore ddr demo broken and only support booting mcore image from U-Boot bootaux. Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk-rpmsg.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk-rpmsg.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk-rpmsg.dts
index b3c1af0c76e4..55b690b01455 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk-rpmsg.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk-rpmsg.dts
@@ -32,6 +32,29 @@
reg = <0 0xb8400000 0 0x100000>;
no-map;
};
+
+ /*
+ * The following three is just a workaround
+ * to avoid Linux use the memory.
+ * This board only has 1GB memory, the 0xb8000000
+ * exceeds the DRAM, and round back to 0x78000000,
+ * since we not modify Mcore image, so we need to avoid
+ * Linux touch 0x78000000 and mark Mcore ddr demo broken.
+ */
+ vdev0vring0@78000000 {
+ reg = <0 0x78000000 0 0x8000>;
+ no-map;
+ };
+
+ vdev0vring1@78008000 {
+ reg = <0 0x78008000 0 0x8000>;
+ no-map;
+ };
+
+ vdevbuffer@78400000 {
+ reg = <0 0x78400000 0 0x100000>;
+ no-map;
+ };
};
sound-wm8524 {