xref: /src/sys/contrib/device-tree/Bindings/dma/socionext,uniphier-xdmac.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
15df7ea33SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25df7ea33SEmmanuel Vadot%YAML 1.2
35df7ea33SEmmanuel Vadot---
45df7ea33SEmmanuel Vadot$id: http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml#
55df7ea33SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65df7ea33SEmmanuel Vadot
75df7ea33SEmmanuel Vadottitle: Socionext UniPhier external DMA controller
85df7ea33SEmmanuel Vadot
95df7ea33SEmmanuel Vadotdescription: |
105df7ea33SEmmanuel Vadot  This describes the devicetree bindings for an external DMA engine to perform
115df7ea33SEmmanuel Vadot  memory-to-memory or peripheral-to-memory data transfer capable of supporting
125df7ea33SEmmanuel Vadot  16 channels, implemented in Socionext UniPhier SoCs.
135df7ea33SEmmanuel Vadot
145df7ea33SEmmanuel Vadotmaintainers:
155df7ea33SEmmanuel Vadot  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
165df7ea33SEmmanuel Vadot
175df7ea33SEmmanuel VadotallOf:
184a8223f2SEmmanuel Vadot  - $ref: dma-controller.yaml#
195df7ea33SEmmanuel Vadot
205df7ea33SEmmanuel Vadotproperties:
215df7ea33SEmmanuel Vadot  compatible:
225df7ea33SEmmanuel Vadot    const: socionext,uniphier-xdmac
235df7ea33SEmmanuel Vadot
245df7ea33SEmmanuel Vadot  reg:
255df7ea33SEmmanuel Vadot    maxItems: 1
265df7ea33SEmmanuel Vadot
275df7ea33SEmmanuel Vadot  interrupts:
285df7ea33SEmmanuel Vadot    maxItems: 1
295df7ea33SEmmanuel Vadot
305df7ea33SEmmanuel Vadot  "#dma-cells":
315df7ea33SEmmanuel Vadot    const: 2
325df7ea33SEmmanuel Vadot    description: |
335df7ea33SEmmanuel Vadot      DMA request from clients consists of 2 cells:
345df7ea33SEmmanuel Vadot        1. Channel index
355df7ea33SEmmanuel Vadot        2. Transfer request factor number, If no transfer factor, use 0.
365df7ea33SEmmanuel Vadot           The number is SoC-specific, and this should be specified with
375df7ea33SEmmanuel Vadot           relation to the device to use the DMA controller.
385df7ea33SEmmanuel Vadot
395df7ea33SEmmanuel Vadot  dma-channels:
405df7ea33SEmmanuel Vadot    minimum: 1
415df7ea33SEmmanuel Vadot    maximum: 16
425df7ea33SEmmanuel Vadot
435df7ea33SEmmanuel VadotadditionalProperties: false
445df7ea33SEmmanuel Vadot
455df7ea33SEmmanuel Vadotrequired:
465df7ea33SEmmanuel Vadot  - compatible
475df7ea33SEmmanuel Vadot  - reg
485df7ea33SEmmanuel Vadot  - interrupts
495df7ea33SEmmanuel Vadot  - "#dma-cells"
505df7ea33SEmmanuel Vadot  - dma-channels
515df7ea33SEmmanuel Vadot
525df7ea33SEmmanuel Vadotexamples:
535df7ea33SEmmanuel Vadot  - |
545df7ea33SEmmanuel Vadot    xdmac: dma-controller@5fc10000 {
555df7ea33SEmmanuel Vadot        compatible = "socionext,uniphier-xdmac";
565df7ea33SEmmanuel Vadot        reg = <0x5fc10000 0x5300>;
575df7ea33SEmmanuel Vadot        interrupts = <0 188 4>;
585df7ea33SEmmanuel Vadot        #dma-cells = <2>;
595df7ea33SEmmanuel Vadot        dma-channels = <16>;
605df7ea33SEmmanuel Vadot    };
615df7ea33SEmmanuel Vadot
625df7ea33SEmmanuel Vadot...
63