]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: mediatek: mt7988: Add reserved memory
authorFrank Wunderlich <frank-w@public-files.de>
Tue, 17 Dec 2024 09:12:15 +0000 (10:12 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 7 Jan 2025 12:11:44 +0000 (13:11 +0100)
Add memory range handled by ATF to not be touched by linux kernel.
ATF is SoC specific and not board-specific so add it to mt7988.dtsi.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-2-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7988a.dtsi

index 46969577c87af6313010ab50e4fda707efe199b7..d205717ac78b22eeeccdd60e912093c6f5a34a11 100644 (file)
                method = "smc";
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               /* 320 KiB reserved for ARM Trusted Firmware (BL31 and BL32) */
+               secmon@43000000 {
+                       reg = <0 0x43000000 0 0x50000>;
+                       no-map;
+               };
+       };
+
        soc {
                compatible = "simple-bus";
                ranges;