lkml.org 
[lkml]   [2022]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v1] arm64: dts: meson-axg: reserve memory region for Amlogic TrustOS
Date
For the all AXG SoC based boards, which run Amlogic vendor ATF and
TrustOS this memory region 0x5300000-0x6300000 is reserved by BL32,
so tag it as no-map in the kernel iomem.

Signed-off-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>
---
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index 3f5254eeb47b..1fa0d3805969 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -142,6 +142,12 @@ secmon_reserved: secmon@5000000 {
reg = <0x0 0x05000000 0x0 0x300000>;
no-map;
};
+
+ /* 16 MiB reserved for Amlogic Trust OS (BL32) */
+ secos_reserved: secos@5300000 {
+ reg = <0x0 0x05300000 0x0 0x1000000>;
+ no-map;
+ };
};

scpi {
--
2.36.0
\
 
 \ /
  Last update: 2022-08-04 18:55    [W:1.226 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site