/ { cpuapp_sram@2002f000 { compatible = "zephyr,memory-region", "mmio-sram"; reg = <0x2002f000 DT_SIZE_K(4)>; zephyr,memory-region = "RetainedMem"; status = "okay"; retainedmem0: retainedmem { compatible = "zephyr,retained-ram"; status = "okay"; }; }; aliases { retainedmemtestdevice = &retainedmem0; }; }; &cpuapp_sram { /* Shrink SRAM size to avoid overlap with retained memory region: * 192 - 4 = 188KB = 0x2f000 */ reg = <0x20000000 0x2f000>; ranges = <0x0 0x20000000 0x2f000>; };