UniPhier Media IO DMA controller
Schema identifier ($id): "http://devicetree.org/schemas/dma/socionext,uniphier-mio-dmac.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This works as an external DMA engine for SD/eMMC controllers etc. found in UniPhier LD4, Pro4, sLD8 SoCs.
Maintainers (maintainers): "Masahiro Yamada <yamada.masahiro@socionext.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dma-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "socionext,uniphier-mio-dmac"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
A list of interrupt specifiers associated with the DMA channels. The number of interrupt lines is SoC-dependent.
clocks — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
#dma-cells — required here #
The single cell represents the channel index.
Exact value (const): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "#dma-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
// In the example below, "interrupts = <0 68 4>, <0 68 4>, ..." is not a
// typo. The first two channels share a single interrupt line.
dmac: dma-controller@5a000000 {
compatible = "socionext,uniphier-mio-dmac";
reg = <0x5a000000 0x1000>;
interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
<0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>;
clocks = <&mio_clk 7>;
resets = <&mio_rst 7>;
#dma-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause