1/*
2 * Copyright (c) 2024 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	fstab {
9		compatible = "zephyr,fstab";
10		lfs1: lfs1 {
11			compatible = "zephyr,fstab,littlefs";
12			read-size = <1>;
13			prog-size = <16>;
14			cache-size = <256>;
15			lookahead-size = <32>;
16			block-cycles = <512>;
17			partition = <&lfs1_partition>;
18			mount-point = "/lfs1";
19		};
20	};
21};
22
23&flash0 {
24	partitions {
25		compatible = "fixed-partitions";
26		#address-cells = <1>;
27		#size-cells = <1>;
28
29		/* Use second half of flash for the filesystem. */
30		lfs1_partition: partition@100000 {
31			label = "storage";
32			reg = <0x100000 DT_SIZE_K(1024)>;
33		};
34	};
35};
36