47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
# Copyright 2020 Broadcom
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: PL330 DMA Controller
|
|
|
|
compatible: "arm,dma-pl330"
|
|
|
|
include: dma-controller.yaml
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
microcode:
|
|
type: array
|
|
required: true
|
|
description: microcode's physical memory address
|
|
label:
|
|
required: true
|
|
"#dma-cells":
|
|
const: 1
|
|
|
|
# Parameter syntax
|
|
dma-cells:
|
|
- channel
|
|
|
|
description: |
|
|
A phandle to the DMA controller plus "channel" integer cell specifying
|
|
channel to be used for data transfer
|
|
|
|
Example for pl330 DMA Controller
|
|
pl330: pl330@48300000 {
|
|
compatible = "arm,dma-pl330";
|
|
...
|
|
dma-channels = <8>;
|
|
#dma-cells = <1>;
|
|
label = "PL330";
|
|
};
|
|
|
|
If PCIe EP client uses channel 0 for Tx DMA and channel 1 for Rx DMA
|
|
pcie0_ep: pcie@4e100000 {
|
|
compatible = "brcm,iproc-pcie-ep";
|
|
...
|
|
dmas = <&pl330 0>, <&pl330 1>;
|
|
dma-names = "txdma", "rxdma";
|
|
label = "PCIE_0";
|
|
};
|