Maxime Ripard | b37e353 | 2019-07-20 11:26:05 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/dma/dma-controller.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: DMA Controller Generic Binding |
| 8 | |
| 9 | maintainers: |
| 10 | - Vinod Koul <vkoul@kernel.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: "dma-common.yaml#" |
| 14 | |
| 15 | # Everything else is described in the common file |
| 16 | properties: |
| 17 | $nodename: |
| 18 | pattern: "^dma-controller(@.*)?$" |
| 19 | |
Rob Herring | 6a0e321 | 2020-10-05 13:38:30 -0500 | [diff] [blame] | 20 | additionalProperties: true |
| 21 | |
Maxime Ripard | b37e353 | 2019-07-20 11:26:05 +0200 | [diff] [blame] | 22 | examples: |
| 23 | - | |
| 24 | dma: dma-controller@48000000 { |
| 25 | compatible = "ti,omap-sdma"; |
| 26 | reg = <0x48000000 0x1000>; |
Rob Herring | bbd0ff0 | 2022-01-06 12:25:10 -0600 | [diff] [blame] | 27 | interrupts = <0 12 0x4>, |
| 28 | <0 13 0x4>, |
| 29 | <0 14 0x4>, |
| 30 | <0 15 0x4>; |
Maxime Ripard | b37e353 | 2019-07-20 11:26:05 +0200 | [diff] [blame] | 31 | #dma-cells = <1>; |
| 32 | dma-channels = <32>; |
| 33 | dma-requests = <127>; |
| 34 | dma-channel-mask = <0xfffe>; |
| 35 | }; |
| 36 | |
| 37 | ... |