1/*
2 * Copyright (c) 2020 Nordic Semiconductor ASA
3 */
4/* start-after-here */
5/ {
6	soc {
7		flashctrl: flash-controller@deadbeef {
8			flash0: flash@0 {
9				compatible = "soc-nv-flash";
10				reg = <0x0 0x100000>;
11
12				partitions {
13					compatible = "fixed-partitions";
14					#address-cells = <0x1>;
15					#size-cells = <0x1>;
16
17					boot_partition: partition@0 {
18						label = "mcuboot";
19						reg = <0x0 0x10000>;
20						read-only;
21					};
22					storage_partition: partition@1e000 {
23						label = "storage";
24						reg = <0x1e000 0x2000>;
25					};
26					slot0_partition: partition@20000 {
27						label = "image-0";
28						reg = <0x20000 0x60000>;
29					};
30					slot1_partition: partition@80000 {
31						label = "image-1";
32						reg = <0x80000 0x60000>;
33					};
34					scratch_partition: partition@e0000 {
35						label = "image-scratch";
36						reg = <0xe0000 0x20000>;
37					};
38				};
39			};
40		};
41	};
42};
43