Commit 784c93e3 authored by Artur Weber's avatar Artur Weber Committed by Arnd Bergmann

ARM: dts: samsung: exynos4412: decrease memory to account for unusable region

The last 4 MiB of RAM on those devices is likely used by trustzone
firmware, and is unusable under Linux. Change the device tree memory
node accordingly.

The proprietary bootloader (S-BOOT) passes these memory ranges through
ATAG_MEM; this change allows us to have the correct memory ranges
without relying on ATAG_MEM.

Tested-by: Henrik Grimler <henrik@grimler.se> # i9300, i9305
Signed-off-by: default avatarArtur Weber <aweber.kernel@gmail.com>
Link: https://lore.kernel.org/r/20240217-exynos4-memsize-fix-v1-1-7858e9c5f844@gmail.comSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent cceac3f0
......@@ -18,7 +18,7 @@ / {
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x40000000>;
reg = <0x40000000 0x3fc00000>;
};
};
......
......@@ -11,7 +11,7 @@ / {
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x80000000>;
reg = <0x40000000 0x7fc00000>;
};
};
......
......@@ -9,7 +9,7 @@ / {
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x80000000>;
reg = <0x40000000 0x7fc00000>;
};
/* bootargs are passed in by bootloader */
......
......@@ -23,7 +23,7 @@ / {
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x80000000>;
reg = <0x40000000 0x7fc00000>;
};
aliases {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment