mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-25 09:29:31 +00:00

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: Artur Weber <aweber.kernel@gmail.com> Link: https://lore.kernel.org/r/20240217-exynos4-memsize-fix-v1-1-7858e9c5f844@gmail.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
28 lines
612 B
Plaintext
28 lines
612 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Samsung's Exynos4412 based M0 (GT-I9300) board device tree source
|
|
*
|
|
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "exynos4412-galaxy-s3.dtsi"
|
|
|
|
/ {
|
|
model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412";
|
|
compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
|
|
chassis-type = "handset";
|
|
|
|
/* bootargs are passed in by bootloader */
|
|
|
|
memory@40000000 {
|
|
device_type = "memory";
|
|
reg = <0x40000000 0x3fc00000>;
|
|
};
|
|
};
|
|
|
|
&sound {
|
|
fm-sel-gpios = <&gpl0 3 GPIO_ACTIVE_HIGH>;
|
|
};
|