1# Copyright (c) 2023 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4description: RAM disk 5 6compatible: "zephyr,ram-disk" 7 8include: ["base.yaml", "memory-region.yaml"] 9 10properties: 11 disk-name: 12 type: string 13 required: true 14 description: | 15 Disk name. 16 17 sector-size: 18 type: int 19 required: true 20 enum: [512, 1024, 2048, 4096, 8192, 16384, 32768, 65536] 21 description: | 22 Disk sector size in bytes. 23 24 sector-count: 25 type: int 26 required: true 27 description: | 28 Number of sectors. 29 30 ram-region: 31 type: phandle 32 description: | 33 Optional phandle to the memory region to be used as a RAM disk, 34 if not used a local buffer is defined for each disk instance. 35 Use it with caution as it makes memory contents easily accessible. 36