ARM PrimeCell PL330 DMA Controller
Schema identifier ($id): "http://devicetree.org/schemas/dma/arm,pl330.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The ARM PrimeCell PL330 DMA controller can move blocks of memory contents between memory and peripherals or memory to memory.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Exact value (
const):"arm,pl330"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dma-controller.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/arm/primecell.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"arm,primecell"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
A single combined interrupt or an interrupt per event
#dma-cells — not listed as required here #
Exact value (const): 1
Contains the DMA request number for the consumer
arm,pl330-broken-no-flushp — not listed as required here #
Value type (type): "boolean"
quirk for avoiding to execute DMAFLUSHP
arm,pl330-periph-burst — not listed as required here #
Value type (type): "boolean"
quirk for performing burst transfer only
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 9
Up to 1 IOMMU entry per DMA channel for writes and 1 IOMMU entry for reads.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"dma"
Item 2
Exact value (
const):"dma-ocp"
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
dma-controller@12680000 {
compatible = "arm,pl330", "arm,primecell";
reg = <0x12680000 0x1000>;
interrupts = <99>;
#dma-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 16: We need a select here so we don't match all nodes with 'arm,primecell'