:orphan: .. raw:: html .. dtcompatible:: nxp,mcux-edma .. _dtbinding_nxp_mcux_edma: nxp,mcux-edma ############# Vendor: :ref:`NXP Semiconductors ` Description *********** These nodes are "dma" bus nodes. .. code-block:: none NXP MCUX EDMA controller 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 * - ``dma-channels`` - ``int`` - .. code-block:: none Number of DMA channels supported by the controller This property is **required**. * - ``dma-requests`` - ``int`` - .. code-block:: none Number of DMA request signals supported by the controller. This property is **required**. * - ``dmamux-reg-offset`` - ``int`` - .. code-block:: none The offset value for obtaining DMAMUX register index from DMAMUX channel. Default value means DMAMUX channel is identical with DMAMUX register index * - ``channel-gap`` - ``array`` - .. code-block:: none On some platforms, there may be a gap in the channels and this array specifies the start and end of a single gap * - ``nxp,mem2mem`` - ``boolean`` - .. code-block:: none If the DMA controller supports memory to memory transfer * - ``nxp,a_on`` - ``boolean`` - .. code-block:: none If the DMA controller supports always on * - ``irq-shared-offset`` - ``int`` - .. code-block:: none Describes an offset between two channels share the same interrupt entry. Default value means each channel has separate interrupt entry. * - ``#dma-cells`` - ``int`` - .. code-block:: none Number of items to expect in a DMAMUX specifier This property is **required**. * - ``dma-channel-mask`` - ``int`` - .. code-block:: none Bitmask of available DMA channels in ascending order that are not reserved by firmware and are available to the kernel. i.e. first channel corresponds to LSB. * - ``dma-buf-addr-alignment`` - ``int`` - .. code-block:: none Memory address alignment requirement for DMA buffers used by the controller. * - ``dma-buf-size-alignment`` - ``int`` - .. code-block:: none Memory size alignment requirement for DMA buffers used by the controller. * - ``dma-copy-alignment`` - ``int`` - .. code-block:: none Minimal chunk of data possible to be copied by the controller. .. 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 "nxp,mcux-edma" compatible. .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``reg`` - ``array`` - .. code-block:: none Specifies base physical address(s) and size of DMA and respective DMAMUX register(s) that routes DMA sources This property is **required**. See :ref:`dt-important-props` for more information. * - ``interrupts`` - ``array`` - .. code-block:: none interrupts for device This property is **required**. See :ref:`dt-important-props` for more information. * - ``status`` - ``string`` - .. code-block:: none indicates the operational status of a device Legal values: ``'ok'``, ``'okay'``, ``'disabled'``, ``'reserved'``, ``'fail'``, ``'fail-sss'`` See :ref:`dt-important-props` for more information. * - ``compatible`` - ``string-array`` - .. code-block:: none compatible strings This property is **required**. See :ref:`dt-important-props` for more information. * - ``reg-names`` - ``string-array`` - .. code-block:: none name of each register space * - ``interrupts-extended`` - ``compound`` - .. code-block:: none extended interrupt specifier for device * - ``interrupt-names`` - ``string-array`` - .. code-block:: none name of each interrupt * - ``interrupt-parent`` - ``phandle`` - .. code-block:: none phandle to interrupt controller node * - ``label`` - ``string`` - .. code-block:: none Human readable string describing the device (used as device_get_binding() argument) See :ref:`dt-important-props` for more information. This property is **deprecated**. * - ``clocks`` - ``phandle-array`` - .. code-block:: none Clock gate information * - ``clock-names`` - ``string-array`` - .. code-block:: none name of each clock * - ``#address-cells`` - ``int`` - .. code-block:: none number of address cells in reg property * - ``#size-cells`` - ``int`` - .. code-block:: none number of size cells in reg property * - ``dmas`` - ``phandle-array`` - .. code-block:: none DMA channels specifiers * - ``dma-names`` - ``string-array`` - .. code-block:: none Provided names of DMA channel specifiers * - ``io-channels`` - ``phandle-array`` - .. code-block:: none IO channels specifiers * - ``io-channel-names`` - ``string-array`` - .. code-block:: none Provided names of IO channel specifiers * - ``mboxes`` - ``phandle-array`` - .. code-block:: none mailbox / IPM channels specifiers * - ``mbox-names`` - ``string-array`` - .. code-block:: none Provided names of mailbox / IPM channel specifiers * - ``wakeup-source`` - ``boolean`` - .. code-block:: none Property to identify that a device can be used as wake up source. When this property is provided a specific flag is set into the device that tells the system that the device is capable of wake up the system. Wake up capable devices are disabled (interruptions will not wake up the system) by default but they can be enabled at runtime if necessary. * - ``power-domain`` - ``phandle`` - .. code-block:: none Power domain the device belongs to. The device will be notified when the power domain it belongs to is either suspended or resumed. * - ``zephyr,pm-device-runtime-auto`` - ``boolean`` - .. code-block:: none Automatically configure the device for runtime power management after the init function runs. Specifier cell names ******************** - dma cells: mux, source