xref: /freebsd/sys/contrib/device-tree/Bindings/dma/dma-controller.yaml (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/dma/dma-controller.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: DMA Controller Generic Binding
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Vinod Koul <vkoul@kernel.org>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel VadotallOf:
13c66ec88fSEmmanuel Vadot  - $ref: "dma-common.yaml#"
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot# Everything else is described in the common file
16c66ec88fSEmmanuel Vadotproperties:
17c66ec88fSEmmanuel Vadot  $nodename:
18c66ec88fSEmmanuel Vadot    pattern: "^dma-controller(@.*)?$"
19c66ec88fSEmmanuel Vadot
20*6be33864SEmmanuel VadotadditionalProperties: true
21*6be33864SEmmanuel Vadot
22c66ec88fSEmmanuel Vadotexamples:
23c66ec88fSEmmanuel Vadot  - |
24c66ec88fSEmmanuel Vadot    dma: dma-controller@48000000 {
25c66ec88fSEmmanuel Vadot        compatible = "ti,omap-sdma";
26c66ec88fSEmmanuel Vadot        reg = <0x48000000 0x1000>;
27c66ec88fSEmmanuel Vadot        interrupts = <0 12 0x4
28c66ec88fSEmmanuel Vadot                      0 13 0x4
29c66ec88fSEmmanuel Vadot                      0 14 0x4
30c66ec88fSEmmanuel Vadot                      0 15 0x4>;
31c66ec88fSEmmanuel Vadot        #dma-cells = <1>;
32c66ec88fSEmmanuel Vadot        dma-channels = <32>;
33c66ec88fSEmmanuel Vadot        dma-requests = <127>;
34c66ec88fSEmmanuel Vadot        dma-channel-mask = <0xfffe>;
35c66ec88fSEmmanuel Vadot    };
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot...
38