zephyr/dts/bindings/dma/arm,dma-pl330.yaml

42 lines
1000 B
YAML
Raw Normal View History

# Copyright 2020 Broadcom
# SPDX-License-Identifier: Apache-2.0
description: |
PL330 DMA Controller
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";
};
compatible: "arm,dma-pl330"
include: dma-controller.yaml
properties:
reg:
required: true
microcode:
type: array
required: true
description: microcode's physical memory address
"#dma-cells":
const: 1
# Parameter syntax
dma-cells:
- channel