1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/* Because FAT FS needs at least 64kiB partition and default
8 * storage_partition is 36kiB for this board, we need to reorganize
9 * partitions to get at least 64KiB.
10 */
11/delete-node/ &slot0_partition;
12/delete-node/ &slot1_partition;
13/delete-node/ &slot0_ns_partition;
14/delete-node/ &slot1_ns_partition;
15/delete-node/ &storage_partition;
16
17&cpuapp_rram {
18	partitions {
19		compatible = "fixed-partitions";
20		#address-cells = <1>;
21		#size-cells = <1>;
22
23		slot0_partition: parition@10000 {
24			reg = <0x00010000 DT_SIZE_K(300)>;
25		};
26		slot1_partition: partition@5b000 {
27			reg = <0x0005b000 DT_SIZE_K(300)>;
28		};
29
30		storage_partition: partition@a6000 {
31			label = "storage";
32			reg = <0x000a6000 DT_SIZE_K(128)>;
33		};
34	};
35};
36
37/ {
38	msc_disk0 {
39		status="okay";
40		compatible = "zephyr,flash-disk";
41		partition = <&storage_partition>;
42		disk-name = "SD";
43		cache-size = <512>;
44	};
45};
46