summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7-colibri.dtsi
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-06-04 08:49:40 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2021-06-04 16:01:04 +0200
commit100c6edbc1d04fa33c28ffad8ace36946d1635f5 (patch)
tree5337d92e16274dd92572cb7c6ec90431a2c88c93 /arch/arm/boot/dts/imx7-colibri.dtsi
parent64dbf17bb33e10d844b01fd7294104cd4f1b8c5b (diff)
arm: dts: colibri-imx7: adjust reserved memory for m4
Aligning the carved out memory to ARM Linux' PMD (page middle directory) size of 2MiB and don't have the end of the section at the same address as the end of the DDR RAM. Otherwise Linux truncates the used memory with the following output on a Colibri iMX7D 512MB. [ 0.000000] Ignoring RAM at 0x8fe00000-0xa0000000 [ 0.000000] Consider using a HIGHMEM enabled kernel. and, if relocating the device tree blob to the end of the memory, Linux will not boot without any output as it cannot access the dtb. This is caused by the backport of 'commit fb326c6ce0dc ("fdt: Properly handle "no-map" field in the memory region")' in kernel 'v5.4.102'. Compare with the former solution in U-Boot: http://git.toradex.com/cgit/u-boot-toradex.git/commit/board/toradex/colibri_imx7/colibri_imx7.c?h=2016.11-toradex&id=23b5f7c09292256f1b40572a24451778d918330d Related-to: ELB-3958 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7-colibri.dtsi')
-rw-r--r--arch/arm/boot/dts/imx7-colibri.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi
index b4bba373ba44..faa998a75f15 100644
--- a/arch/arm/boot/dts/imx7-colibri.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri.dtsi
@@ -50,9 +50,9 @@
#size-cells = <1>;
ranges;
- m4_reserved: m4@0x9ff00000 {
+ m4_reserved: m4@0x9fe00000 {
no-map;
- reg = <0x9ff00000 0x100000>;
+ reg = <0x9fe00000 0x1fffff>;
};
rpmsg_reserved: rpmsg@0x8ff00000 {