renesas,rz-dma

Vendor: Renesas Electronics Corporation

Note

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

Description

These nodes are “dma” bus nodes.

RZ DMA controller

channel: Select channel for data transmitting

config: A 32bit mask specifying the DMA channel configuration

 Example of devicetree configuration

 &ssi0 {
      status = "okay";

      dmas = <&dma0 0 RZ_DMA_PERIPH_TO_MEM>, <&dma0 5 RZ_DMA_MEM_TO_PERIPH>
      dma-names = "rx", "tx";
 };

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-cells

int

Number of items to expect in a DMA specifier

This property is required.

Constant value: 2

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-requests

int

Number of DMA request signals supported by the controller.

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.

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

Specifier cell names

  • dma cells: channel, config