Re: [PATCH] arm64: dts: ti: k3-j7: Reserve memory for LPM meta data

From: Vignesh Raghavendra

Date: Fri Mar 13 2026 - 03:56:04 EST




On 12/03/26 17:04, Prasanth Babu Mantena wrote:
> For TI SOCs J7200, J784S4, J722S, which support low power modes,
> A chunk of memory is reserved for LPM meta data, which is needed
> for saving ATF context and the certificate information of ATF and
> OPTEE and DM image. This LPM metadata area is firewalled to be
> accessed only by TIFS.


Which firmware accesses this memory? Could you point to the
documentation / ABI that defines the same in the commit message?

>
> Signed-off-by: Prasanth Babu Mantena <p-mantena@xxxxxx>
> ---
> arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 6 ++++++
> arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 6 ++++++
> arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 6 ++++++
> 3 files changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
> index 5a8c2e707fde..26c2489c3b91 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
> @@ -40,6 +40,12 @@ mcu_r5fss0_core0_memory_region: memory@a0100000 {
> reg = <0x00 0xa0100000 0x00 0xf00000>;
> no-map;
> };
> +
> + lpm_memory_region: lpm-memories@a4800000 {

Node name should be generic

> + reg = <0x00 0xa4800000 0x00 0x00300000>;
> + no-map;
> + bootph-all;
> + };
> };
>
> mux0: mux-controller-0 {
> diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> index e66330c71593..f2ca0354a917 100644
> --- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> @@ -63,6 +63,12 @@ wkup_r5fss0_core0_memory_region: memory@a0100000 {
> reg = <0x00 0xa0100000 0x00 0xf00000>;
> no-map;
> };
> +
> + lpm_memory_region: lpm-memory@a7000000 {
> + reg = <0x00 0xa7000000 0x00 0x00300000>;
> + no-map;
> + bootph-all;
> + };
> };
>
> vmain_pd: regulator-0 {
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
> index ff3a85cbc524..3e79677792a5 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
> @@ -46,6 +46,12 @@ mcu_r5fss0_core0_memory_region: memory@a0100000 {
> reg = <0x00 0xa0100000 0x00 0xf00000>;
> no-map;
> };
> +
> + lpm_memory_region: lpm-memory@ab000000 {

Node name should be generic

> + reg = <0x00 0xab000000 0x00 0x00300000>;
> + no-map;
> + bootph-all;
> + };
> };
>
> evm_12v0: regulator-evm12v0 {

--
Regards
Vignesh
https://ti.com/opensource