1/*
2 * Copyright (c) 2020-2022 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						reg = <0x0 0x10000>;
19						read-only;
20					};
21					storage_partition: partition@1e000 {
22						reg = <0x1e000 0x2000>;
23					};
24					slot0_partition: partition@20000 {
25						reg = <0x20000 0x60000>;
26					};
27					slot1_partition: partition@80000 {
28						reg = <0x80000 0x60000>;
29					};
30					scratch_partition: partition@e0000 {
31						reg = <0xe0000 0x20000>;
32					};
33				};
34			};
35		};
36	};
37};
38