For IO+DDR the wkup_r5fss0_core0 and the
wkup_r5fss0_core0_lpm_metadata_region need to be accessed before RAM
setup is done. These are used to read the lpm metadata region in which
data is stored to resume. This needs to be done before RAM is in use to
avoid overwriting data.

Signed-off-by: Markus Schneider-Pargmann (TI) <[email protected]>
---
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts 
b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index 
c381cc33064ec427751a9ac5bcdff745a9559a89..46483d4085c20fc297d28a49ca7ef5d4bfc4ae9a
 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -75,6 +75,7 @@ wkup_r5fss0_core0_lpm_metadata_region: memory@9ca08000 {
                        compatible = "shared-dma-pool";
                        reg = <0x00 0x9ca08000 0x00 0x1000>;
                        no-map;
+                       bootph-pre-ram;
                };
 
                wkup_r5fss0_core0_lpm_rest_region: memory@9ca09000 {
@@ -957,4 +958,5 @@ &wkup_r5fss0_core0 {
        memory-region-names = "dma", "ipc", "lpm-stub",
                              "lpm-metadata", "lpm-context",
                              "dm-firmware";
+       bootph-pre-ram;
 };

-- 
2.51.0


Reply via email to