nxp,mcux-edma

Vendor: NXP Semiconductors

Note

An implementation of a driver matching this compatible is available in drivers/dma/dma_mcux_edma.c.

Description

These nodes are “dma” bus nodes.

NXP MCUX EDMA controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

dma-channels

int

Number of DMA channels supported by the controller

This property is required.

dma-requests

int

Number of DMA request signals supported by the controller.

This property is required.

dmamux-reg-offset

int

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

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

If the DMA controller supports memory to memory transfer

nxp,a_on

boolean

If the DMA controller supports always on

irq-shared-offset

int

Describes an offset between two channels share the same interrupt entry.
Default value means each channel has separate interrupt entry.

no-error-irq

boolean

If the SoCs don't have a separate interrupt id for error IRQ.

nxp,version

int

eDMA IP revision number.

Legal values: 2, 3, 4

channels-shared-irq-mask

array

Describes channel enabled mask value on every IRQ.
The channel number is mapped to the bit value of array element value.
If the interrupt is shared on one channel number, the correspongding
bit is set to 1.
Please note each element of the array must be 32-bit. If there are more
than 32 channels, add one or more 32-bit elements in array(elements
should be contiguous). The software will determine the mask value of
several elements corresponding to the same interrupt according to the
number of channels.

#dma-cells

int

Number of items to expect in a DMAMUX specifier

This property is required.

dma-channel-mask

int

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

Memory address alignment requirement for DMA buffers used by the controller.

dma-buf-size-alignment

int

Memory size alignment requirement for DMA buffers used by the controller.

dma-copy-alignment

int

Minimal chunk of data possible to be copied by the controller.

Specifier cell names

  • dma cells: mux, source