2022-05-16 12:18:16

by Gabriel FERNANDEZ

[permalink] [raw]
Subject: [PATCH v4 14/14] ARM: dts: stm32: add optee reserved memory on stm32mp135f-dk

From: Gabriel Fernandez <[email protected]>

Add the static OP-TEE reserved memory regions.

Signed-off-by: Gabriel Fernandez <[email protected]>
---
arch/arm/boot/dts/stm32mp135f-dk.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts
index 09d6226d598f..2c603ce3500b 100644
--- a/arch/arm/boot/dts/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/stm32mp135f-dk.dts
@@ -26,6 +26,22 @@ memory@c0000000 {
reg = <0xc0000000 0x20000000>;
};

+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ optee_framebuffer@dd000000 {
+ reg = <0xdd000000 0x1000000>;
+ no-map;
+ };
+
+ optee@de000000 {
+ reg = <0xde000000 0x2000000>;
+ no-map;
+ };
+ };
+
gpio-keys {
compatible = "gpio-keys";

--
2.25.1