Allwinner A10 DMA Controller

Schema identifier ($id): "http://devicetree.org/schemas/dma/allwinner,sun4i-a10-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): 2

The first cell is either 0 or 1, the former to use the normal DMA, 1 for dedicated DMA. The second cell is the request line number.

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-dma", "allwinner,suniv-f1c100s-dma"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#dma-cells", "compatible", "reg", "interrupts", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dma: dma-controller@1c02000 {
    compatible = "allwinner,sun4i-a10-dma";
    reg = <0x01c02000 0x1000>;
    interrupts = <27>;
    clocks = <&ahb_gates 6>;
    #dma-cells = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page