1/*
2 * Copyright (c) 2021 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8       chosen {
9               zephyr,flash-controller = &flash;
10       };
11};
12
13&quadspi {
14       qspi-nor-flash@0 {
15               partitions {
16                       /delete-node/ partition@a0000;
17               };
18       };
19};
20
21&flash0 {
22        partitions {
23               compatible = "fixed-partitions";
24               #address-cells = <1>;
25               #size-cells = <1>;
26
27                /* Set 2KB of storage at the end of 1MB flash */
28                storage_partition: partition@ff800 {
29                        label = "storage";
30                        reg = <0x000ff800 0x00000800>;
31                };
32       };
33};
34