Linux-Amlogic Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] arm64: dts: meson-axg: reserve memory region for Amlogic TrustOS
@ 2022-08-04 16:52 Dmitry Rokosov
  2022-08-05  8:03 ` Jerome Brunet
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Rokosov @ 2022-08-04 16:52 UTC (permalink / raw)
  To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	narmstrong@baylibre.com, khilman@baylibre.com,
	jbrunet@baylibre.com, martin.blumenstingl@googlemail.com
  Cc: linux-arm-kernel@lists.infradead.org,
	linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
	kernel, linux-kernel@vger.kernel.org, Dmitry Rokosov

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

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-05 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-04 16:52 [PATCH v1] arm64: dts: meson-axg: reserve memory region for Amlogic TrustOS Dmitry Rokosov
2022-08-05  8:03 ` Jerome Brunet
2022-08-05 13:42   ` Dmitry Rokosov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox