raspberrypi,pico-dma

Vendor: Raspberry Pi Foundation

Description

These nodes are “dma” bus nodes.

Raspberry Pi Pico GPIO

channel: Select channel for data transmitting

slot: Select peripheral data request
  Use the definitions defined in `zephyr/dt-bindings/dma/rpi_pico_dma.h`.

channel-config: A 32bit mask specifying the DMA channel configuration
  - bit 3: Enable Quiet IRQ
  - bit 1: Enable Byte Swap
  - bit 0: Enable High Priority

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#dma-cells

int

Number of items to expect in a DMA specifier

This property is required.

Constant value: 3

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

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.

resets

phandle-array

Reset information

reset-names

string-array

Name of each reset

irq0-channels

uint8-array

Channels list that uses the irq0

Default value: [0, 2, 4, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30]

Specifier cell names

  • dma cells: channel, slot, channel-config