1/*
2 * Copyright (c) 2025 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	memory@50001f00 {
9		compatible = "zephyr,memory-region", "mmio-sram";
10		reg = <0x50001f00 0x100>;
11		zephyr,memory-region = "RTC_SLOW_RAM_RETAINED_MEM";
12		status = "okay";
13
14		retainedmem0: retainedmem {
15			compatible = "zephyr,retained-ram";
16			status = "okay";
17		};
18	};
19
20	aliases {
21		retainedmemtestdevice = &retainedmem0;
22	};
23};
24
25&rtc_slow_ram {
26	/* Shrink rtc_slow_ram size to avoid overlap with retained memory region:
27	 * 8KB - 256 = 0x1f00
28	 */
29	reg = <0x50000000 0x1f00>;
30};
31