Allwinner A64 DMA Controller
Schema identifier ($id): "http://devicetree.org/schemas/dma/allwinner,sun50i-a64-dma.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dma-controller.yaml#
Properties and child nodes (properties) #
#dma-cells — required here #
Exact value (const): 1
The cell is the request line number.
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"allwinner,sun20i-d1-dma","allwinner,sun50i-a64-dma","allwinner,sun50i-a100-dma","allwinner,sun50i-h6-dma"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun8i-r40-dma"Item 2
Exact value (
const):"allwinner,sun50i-a64-dma"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun50i-h616-dma","allwinner,sun55i-a523-dma","allwinner,sun55i-a523-mcu-dma"Item 2
Exact value (
const):"allwinner,sun50i-a100-dma"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mbus"
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "#dma-cells", "compatible", "reg", "interrupts", "clocks", "resets", "dma-channels"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"allwinner,sun20i-d1-dma","allwinner,sun50i-a100-dma","allwinner,sun50i-h6-dma"
When the condition matches (then) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Minimum number of items (
minItems):2
When the condition does not match (else) #
Properties and child nodes (
properties) #
clocks— not listed as required here #Maximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
dma: dma-controller@1c02000 {
compatible = "allwinner,sun50i-a64-dma";
reg = <0x01c02000 0x1000>;
interrupts = <0 50 4>;
clocks = <&ccu 30>;
dma-channels = <8>;
dma-requests = <27>;
resets = <&ccu 7>;
#dma-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0