[PATCH v2 29/33] ARM: dts: k3-am62l: reserve memory for TF-A and OP-TEE
Sascha Hauer
s.hauer at pengutronix.de
Thu Jun 5 05:42:54 PDT 2025
On the AM62l the TF-A is placed at the start of the DRAM. Reserve space
for it. For now put it into the SoC dtsi file in the hope that the
values are suitable for all boards.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/dts/k3-am62l-barebox.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/dts/k3-am62l-barebox.dtsi b/arch/arm/dts/k3-am62l-barebox.dtsi
index 9fe44a67ee7374e6c6d9052dc8ea0f31d2e8f4a1..fa253dd08ee9c117bedff9f981aa76e024d3cca8 100644
--- a/arch/arm/dts/k3-am62l-barebox.dtsi
+++ b/arch/arm/dts/k3-am62l-barebox.dtsi
@@ -14,3 +14,22 @@ &gpio2 {
&wkup_gpio0 {
status = "okay";
};
+
+/ {
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ tfa at 80000000 {
+ reg = <0x0 0x80000000 0x0 0x80000>;
+ alignment = <0x1000>;
+ no-map;
+ };
+
+ secure_ddr: optee at 80200000 {
+ reg = <0x00 0x80200000 0x00 0x400000>;
+ no-map;
+ };
+ };
+};
--
2.39.5
More information about the barebox
mailing list