xref: /openbmc/linux/Documentation/devicetree/bindings/dma/dma-controller.yaml (revision 6a0e321ea735691e726d84ee29a1a3fd3fc3541a)
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
7b37e3534SMaxime Ripardtitle: DMA Controller Generic Binding
8b37e3534SMaxime Ripard
9b37e3534SMaxime Ripardmaintainers:
10b37e3534SMaxime Ripard  - Vinod Koul <vkoul@kernel.org>
11b37e3534SMaxime Ripard
12b37e3534SMaxime RipardallOf:
13b37e3534SMaxime Ripard  - $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
20*6a0e321eSRob HerringadditionalProperties: true
21*6a0e321eSRob Herring
22b37e3534SMaxime Ripardexamples:
23b37e3534SMaxime Ripard  - |
24b37e3534SMaxime Ripard    dma: dma-controller@48000000 {
25b37e3534SMaxime Ripard        compatible = "ti,omap-sdma";
26b37e3534SMaxime Ripard        reg = <0x48000000 0x1000>;
27b37e3534SMaxime Ripard        interrupts = <0 12 0x4
28b37e3534SMaxime Ripard                      0 13 0x4
29b37e3534SMaxime Ripard                      0 14 0x4
30b37e3534SMaxime Ripard                      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