1/*
2 * Copyright (c) 2024 Alexandre Bailon
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&flash0 {
8	partitions {
9		/* 40 KiB (0xa000) for MCUboot */
10		boot_partition: partition@0 {
11			label = "mcuboot";
12			reg = <0x00000000 0x0000a000>;
13		};
14
15		/* 136 KiB (0x22000) per slot for application */
16		slot0_partition: partition@a000 {
17			label = "image-0";
18			reg = <0x0000a000 0x0004e000>;
19		};
20
21		slot1_partition: partition@58000 {
22			label = "image-1";
23			reg = <0x00058000 0x0004e000>;
24		};
25
26		/* 32 KiB (0x8000) for storage */
27		storage_partition: partition@a6000 {
28			label = "storage";
29			reg = <0x000a6000 0x00008000>;
30		};
31
32		/* CCFG (customer configuration area) is located in uppermost
33		 * flash sector (0x2000/8 KiB @ 0xae000), keep it unused.
34		 */
35	};
36};
37