I am puzzled by what I have observed using retained ram on NRF54L15. I have this overlay (see below). Essentially created 16 KB SRAM at address 0x2002C000. I have a struct, sched_retain_t which i initialise at this address:
cpuapp_sram_ret: memory@2002c000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x2002c000 0x00004000>; /* 16 KiB */
zephyr,memory-region = "RetainedMem";
status = "okay";
retainedmem0: retainedmem {
compatible = "zephyr,retained-ram";
status = "okay";
};
};