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.ha...@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@80000000 { + reg = <0x0 0x80000000 0x0 0x80000>; + alignment = <0x1000>; + no-map; + }; + + secure_ddr: optee@80200000 { + reg = <0x00 0x80200000 0x00 0x400000>; + no-map; + }; + }; +}; -- 2.39.5