xref: /openbmc/linux/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
17ebec905SMasahiro Yamada# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
27ebec905SMasahiro Yamada%YAML 1.2
37ebec905SMasahiro Yamada---
47ebec905SMasahiro Yamada$id: http://devicetree.org/schemas/dma/socionext,uniphier-mio-dmac.yaml#
57ebec905SMasahiro Yamada$schema: http://devicetree.org/meta-schemas/core.yaml#
67ebec905SMasahiro Yamada
77ebec905SMasahiro Yamadatitle: UniPhier Media IO DMA controller
87ebec905SMasahiro Yamada
97ebec905SMasahiro Yamadadescription: |
107ebec905SMasahiro Yamada  This works as an external DMA engine for SD/eMMC controllers etc.
117ebec905SMasahiro Yamada  found in UniPhier LD4, Pro4, sLD8 SoCs.
127ebec905SMasahiro Yamada
137ebec905SMasahiro Yamadamaintainers:
147ebec905SMasahiro Yamada  - Masahiro Yamada <yamada.masahiro@socionext.com>
157ebec905SMasahiro Yamada
167ebec905SMasahiro YamadaallOf:
17*10cafa2dSKrzysztof Kozlowski  - $ref: dma-controller.yaml#
187ebec905SMasahiro Yamada
197ebec905SMasahiro Yamadaproperties:
207ebec905SMasahiro Yamada  compatible:
217ebec905SMasahiro Yamada    const: socionext,uniphier-mio-dmac
227ebec905SMasahiro Yamada
237ebec905SMasahiro Yamada  reg:
247ebec905SMasahiro Yamada    maxItems: 1
257ebec905SMasahiro Yamada
267ebec905SMasahiro Yamada  interrupts:
277ebec905SMasahiro Yamada    description: |
287ebec905SMasahiro Yamada      A list of interrupt specifiers associated with the DMA channels.
297ebec905SMasahiro Yamada      The number of interrupt lines is SoC-dependent.
307ebec905SMasahiro Yamada
317ebec905SMasahiro Yamada  clocks:
327ebec905SMasahiro Yamada    maxItems: 1
337ebec905SMasahiro Yamada
347ebec905SMasahiro Yamada  resets:
357ebec905SMasahiro Yamada    maxItems: 1
367ebec905SMasahiro Yamada
377ebec905SMasahiro Yamada  '#dma-cells':
387ebec905SMasahiro Yamada    description: The single cell represents the channel index.
397ebec905SMasahiro Yamada    const: 1
407ebec905SMasahiro Yamada
417ebec905SMasahiro Yamadarequired:
427ebec905SMasahiro Yamada  - compatible
437ebec905SMasahiro Yamada  - reg
447ebec905SMasahiro Yamada  - interrupts
457ebec905SMasahiro Yamada  - clocks
467ebec905SMasahiro Yamada  - '#dma-cells'
477ebec905SMasahiro Yamada
487ebec905SMasahiro YamadaadditionalProperties: false
497ebec905SMasahiro Yamada
507ebec905SMasahiro Yamadaexamples:
517ebec905SMasahiro Yamada  - |
527ebec905SMasahiro Yamada    // In the example below, "interrupts = <0 68 4>, <0 68 4>, ..." is not a
537ebec905SMasahiro Yamada    // typo. The first two channels share a single interrupt line.
547ebec905SMasahiro Yamada
557ebec905SMasahiro Yamada    dmac: dma-controller@5a000000 {
567ebec905SMasahiro Yamada        compatible = "socionext,uniphier-mio-dmac";
577ebec905SMasahiro Yamada        reg = <0x5a000000 0x1000>;
587ebec905SMasahiro Yamada        interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
597ebec905SMasahiro Yamada                     <0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>;
607ebec905SMasahiro Yamada        clocks = <&mio_clk 7>;
617ebec905SMasahiro Yamada        resets = <&mio_rst 7>;
627ebec905SMasahiro Yamada        #dma-cells = <1>;
637ebec905SMasahiro Yamada    };
64