1# Copyright 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4description: NXP enhanced Direct Memory Access (eDMA) node
5
6compatible: "nxp,edma"
7
8include: [dma-controller.yaml, base.yaml]
9
10properties:
11  reg:
12    required: true
13  valid-channels:
14    type: array
15    description: |
16      Use this property to specify which channel indexes are
17      to be considered valid. The difference between this
18      property and "dma-channels" is the fact that this
19      property allows you to have "gaps" between the channel
20      indexes. This is useful in cases where you know you're
21      not going to be using all of the possible channels, thus
22      leading to a more readable DTS. Of course, this property
23      and "dma-channels" are mutually exclusive, meaning you
24      can't specify both properties as this will lead to a
25      BUILD_ASSERT() failure.
26  "#dma-cells":
27    const: 2
28
29# IMPORTANT: if your EDMA version doesn't support channel MUX-ing please
30# leave the MUX cell as 0. This is not mandatory for the driver as the
31# MUX value will be ignored in this case but all entities using EDMA should
32# be consistent in this regard.
33dma-cells:
34  - channel
35  - mux
36