1/*
2 * Copyright (c) 2024-2025 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&flash0 {
8	partitions {
9		compatible = "fixed-partitions";
10		#address-cells = <1>;
11		#size-cells = <1>;
12
13		boot_partition: partition@0 {
14			label = "mcuboot";
15			reg = <0x0 DT_SIZE_K(128)>;
16		};
17
18		slot0_partition: partition@20000 {
19			label = "image-0";
20			reg = <0x20000 DT_SIZE_K(1344)>;
21		};
22
23		slot1_partition: partition@170000 {
24			label = "image-1";
25			reg = <0x170000 DT_SIZE_K(1344)>;
26		};
27
28		slot0_appcpu_partition: partition@2c0000 {
29			label = "image-0-appcpu";
30			reg = <0x2C0000 DT_SIZE_K(448)>;
31		};
32
33		slot1_appcpu_partition: partition@330000 {
34			label = "image-1-appcpu";
35			reg = <0x330000 DT_SIZE_K(448)>;
36		};
37
38		slot0_lpcore_partition: partition@3a0000 {
39			label = "image-0-lpcore";
40			reg = <0x3A0000 DT_SIZE_K(32)>;
41		};
42
43		slot1_lpcore_partition: partition@3a8000 {
44			label = "image-1-lpcore";
45			reg = <0x3A8000 DT_SIZE_K(32)>;
46		};
47
48		storage_partition: partition@3b0000 {
49			label = "storage";
50			reg = <0x3B0000 DT_SIZE_K(192)>;
51		};
52
53		scratch_partition: partition@3e0000 {
54			label = "image-scratch";
55			reg = <0x3E0000 DT_SIZE_K(124)>;
56		};
57
58		coredump_partition: partition@3ff000 {
59			label = "coredump";
60			reg = <0x3FF000 DT_SIZE_K(4)>;
61		};
62	};
63};
64
65/* Remaining flash size is 0kB
66 * Last used address is 0x3FFFFF
67 */
68