blob: f8e71a2d4b844d220718baed59c44326501f4e16 [file] [log] [blame]
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
&flashcontroller0 {
reg = <0x00000000 DT_SIZE_K(1024)>;
};
&flash0 {
reg = <0x00000000 DT_SIZE_K(1024)>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
flashdisk_partition: partition@0 {
label = "flashdisk";
reg = <0x00000000 DT_SIZE_K(1024)>;
};
};
};
/ {
test_disk: storage_disk {
compatible = "zephyr,flash-disk";
partition = <&flashdisk_partition>;
disk-name = "NAND";
cache-size = <4096>;
};
ramdisk0 {
compatible = "zephyr,ram-disk";
disk-name = "RAM";
sector-size = <512>;
sector-count = <192>;
};
};