1# Copyright (c) 2023 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Raspberry Pi Pico DMA
6
7  channel: Select channel for data transmitting
8
9  slot: Select peripheral data request
10    Use the definitions defined in `zephyr/dt-bindings/dma/rpi-pico-dma-rp2040.h`,
11    or `zephyr/dt-bindings/dma/rpi-pico-dma-rp2350.h`
12
13  channel-config: A 32bit mask specifying the DMA channel configuration
14    - bit 3: Enable Quiet IRQ
15    - bit 1: Enable Byte Swap
16    - bit 0: Enable High Priority
17
18compatible: "raspberrypi,pico-dma"
19
20include: [dma-controller.yaml, reset-device.yaml]
21
22properties:
23  reg:
24    required: true
25
26  interrupts:
27    required: true
28
29  dma-channels:
30    required: true
31
32  irq0-channels:
33    type: uint8-array
34    default: [0, 2, 4, 6, 8, 10]
35    description: Channels list that uses the irq0
36
37  "#dma-cells":
38    const: 3
39
40dma-cells:
41  - channel
42  - slot
43  - channel-config
44