1/* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/* Note that default partition layout, provided by board DTS, is not 8 * altered here as external_partition used by the disk is defined 9 * over QSPI device and does not collide with any other partition 10 * definition. 11 */ 12 13&mx25r64 { 14 partitions { 15 compatible = "fixed-partitions"; 16 #address-cells = <1>; 17 #size-cells = <1>; 18 19 /* 128kiB external storage partition */ 20 external_partition: partition@0 { 21 reg = <0x00000000 0x00020000>; 22 }; 23 }; 24}; 25 26/ { 27 msc_disk0 { 28 status="okay"; 29 compatible = "zephyr,flash-disk"; 30 partition = <&external_partition>; 31 disk-name = "SD"; 32 /* cache-size == page erase size */ 33 cache-size = <4096>; 34 }; 35}; 36