1/ {
2	cpuapp_sram@2007ec00 {
3		compatible = "zephyr,memory-region", "mmio-sram";
4		reg = <0x2007ec00 DT_SIZE_K(4)>;
5		zephyr,memory-region = "RetainedMem";
6		status = "okay";
7
8		retainedmem0: retainedmem {
9			compatible = "zephyr,retained-ram";
10			status = "okay";
11		};
12	};
13
14	aliases {
15		retainedmemtestdevice = &retainedmem0;
16	};
17};
18
19&cpuapp_sram {
20	/* Shrink SRAM size to avoid overlap with retained memory region:
21	 * 511 - 4 = 507KB = 0x7ec00
22	 */
23	reg = <0x20000000 DT_SIZE_K(507)>;
24	ranges = <0x0 0x20000000 0x7ec00>;
25};
26