2020-05-03 11:46:49 +08:00
|
|
|
# Copyright 2020 Broadcom
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-10-28 01:50:35 +08:00
|
|
|
description: |
|
2021-03-04 00:40:27 +08:00
|
|
|
PL330 DMA Controller
|
|
|
|
|
2020-10-28 01:50:35 +08:00
|
|
|
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>;
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
2021-03-04 00:40:27 +08:00
|
|
|
compatible: "arm,dma-pl330"
|
|
|
|
|
|
|
|
include: dma-controller.yaml
|
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
required: true
|
|
|
|
microcode:
|
|
|
|
type: array
|
|
|
|
required: true
|
|
|
|
description: microcode's physical memory address
|
|
|
|
"#dma-cells":
|
|
|
|
const: 1
|
2021-03-04 00:40:27 +08:00
|
|
|
|
|
|
|
# Parameter syntax
|
|
|
|
dma-cells:
|
|
|
|
- channel
|