xref: /openbmc/linux/Documentation/devicetree/bindings/dma/dma-controller.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1b37e3534SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
2b37e3534SMaxime Ripard%YAML 1.2
3b37e3534SMaxime Ripard---
4b37e3534SMaxime Ripard$id: http://devicetree.org/schemas/dma/dma-controller.yaml#
5b37e3534SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
6b37e3534SMaxime Ripard
7ab040c42SKrzysztof Kozlowskititle: DMA Controller Common Properties
8b37e3534SMaxime Ripard
9b37e3534SMaxime Ripardmaintainers:
10b37e3534SMaxime Ripard  - Vinod Koul <vkoul@kernel.org>
11b37e3534SMaxime Ripard
12b37e3534SMaxime RipardallOf:
13*10cafa2dSKrzysztof Kozlowski  - $ref: dma-common.yaml#
14b37e3534SMaxime Ripard
15b37e3534SMaxime Ripard# Everything else is described in the common file
16b37e3534SMaxime Ripardproperties:
17b37e3534SMaxime Ripard  $nodename:
18b37e3534SMaxime Ripard    pattern: "^dma-controller(@.*)?$"
19b37e3534SMaxime Ripard
206a0e321eSRob HerringadditionalProperties: true
216a0e321eSRob Herring
22b37e3534SMaxime Ripardexamples:
23b37e3534SMaxime Ripard  - |
24b37e3534SMaxime Ripard    dma: dma-controller@48000000 {
25b37e3534SMaxime Ripard        compatible = "ti,omap-sdma";
26b37e3534SMaxime Ripard        reg = <0x48000000 0x1000>;
27bbd0ff07SRob Herring        interrupts = <0 12 0x4>,
28bbd0ff07SRob Herring                     <0 13 0x4>,
29bbd0ff07SRob Herring                     <0 14 0x4>,
30bbd0ff07SRob Herring                     <0 15 0x4>;
31b37e3534SMaxime Ripard        #dma-cells = <1>;
32b37e3534SMaxime Ripard        dma-channels = <32>;
33b37e3534SMaxime Ripard        dma-requests = <127>;
34b37e3534SMaxime Ripard        dma-channel-mask = <0xfffe>;
35b37e3534SMaxime Ripard    };
36b37e3534SMaxime Ripard
37b37e3534SMaxime Ripard...
38