:orphan:
.. raw:: html
.. dtcompatible:: zephyr,memc-ram-disk
.. _dtbinding_zephyr_memc_ram_disk:
zephyr,memc-ram-disk
####################
.. sidebar:: Overview
:Name: ``zephyr,memc-ram-disk``
:Vendor: :ref:`Zephyr Project `
:Used in: :zephyr:board-catalog:`List of boards <#compatibles=zephyr,memc-ram-disk>` using
this compatible
:Driver: :zephyr_file:`drivers/disk/memc_ramdisk.c`
Description
***********
.. code-block:: none
RAM disk backed by an external memory device accessed through the MEMC
subsystem API (memc_read / memc_write).
Properties
**********
.. tabs::
.. group-tab:: Node specific properties
Properties not inherited from the base binding file.
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``memc``
- ``phandle``
- .. code-block:: none
Phandle to the MEMC device that manages the backing memory.
The referenced device must implement the MEMC driver API.
This property is **required**.
* - ``disk-name``
- ``string``
- .. code-block:: none
Disk name.
This property is **required**.
* - ``sector-size``
- ``int``
- .. code-block:: none
Disk sector size in bytes.
This property is **required**.
Legal values: ``512``, ``1024``, ``2048``, ``4096``, ``8192``, ``16384``, ``32768``, ``65536``
* - ``sector-count``
- ``int``
- .. code-block:: none
Number of sectors.
This property is **required**.
.. group-tab:: Deprecated node specific properties
Deprecated properties not inherited from the base binding file.
(None)
.. group-tab:: Base properties
Properties inherited from the base binding file, which defines
common properties that may be set on many nodes. Not all of these
may apply to the "zephyr,memc-ram-disk" compatible.
(None)