1# Copyright 2020 Broadcom
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  PL330 DMA Controller
6
7  A phandle to the DMA controller plus "channel" integer cell specifying
8  channel to be used for data transfer
9
10  Example for pl330 DMA Controller
11     pl330: pl330@48300000 {
12                  compatible = "arm,dma-pl330";
13                  ...
14                  dma-channels = <8>;
15                  #dma-cells = <1>;
16            };
17
18  If PCIe EP client uses channel 0 for Tx DMA and channel 1 for Rx DMA
19     pcie0_ep: pcie@4e100000 {
20                  compatible = "brcm,iproc-pcie-ep";
21                  ...
22                  dmas = <&pl330 0>, <&pl330 1>;
23                  dma-names = "txdma", "rxdma";
24            };
25compatible: "arm,dma-pl330"
26
27include: dma-controller.yaml
28
29properties:
30  reg:
31    required: true
32  microcode:
33    type: array
34    required: true
35    description: microcode's physical memory address
36  "#dma-cells":
37    const: 1
38
39# Parameter syntax
40dma-cells:
41  - channel
42