1/*
2 * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 /* 4MB flash partition table */
8&flash0 {
9	partitions {
10		compatible = "fixed-partitions";
11		#address-cells = <1>;
12		#size-cells = <1>;
13
14		boot_partition: partition@1000 {
15			label = "mcuboot";
16			reg = <0x1000 DT_SIZE_K(60)>;
17		};
18
19		slot0_partition: partition@20000 {
20			label = "image-0";
21			reg = <0x20000 DT_SIZE_K(1344)>;
22		};
23
24		slot0_appcpu_partition: partition@170000 {
25			label = "image-0-appcpu";
26			reg = <0x170000 DT_SIZE_K(512)>;
27		};
28
29		slot1_partition: partition@1F0000 {
30			label = "image-1";
31			reg = <0x1F0000 DT_SIZE_K(1344)>;
32		};
33
34		slot1_appcpu_partition: partition@340000 {
35			label = "image-1-appcpu";
36			reg = <0x340000 DT_SIZE_K(512)>;
37		};
38
39		storage_partition: partition@3C0000 {
40			label = "storage";
41			reg = <0x3C0000 DT_SIZE_K(128)>;
42		};
43
44		scratch_partition: partition@3E0000 {
45			   label = "image-scratch";
46			   reg = <0x3E0000 DT_SIZE_K(64)>;
47		};
48
49		coredump_partition: partition@3F0000 {
50			label = "coredump-partition";
51			reg = <0x3F0000 DT_SIZE_K(4)>;
52		};
53	};
54};
55