xref: /linux/Documentation/devicetree/bindings/dma/stm32/st,stm32-dmamux.yaml (revision a3a02a52bcfcbcc4a637d4b68bf1bc391c9fad02)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/dma/stm32/st,stm32-dmamux.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STMicroelectronics STM32 DMA MUX (DMA request router)
8
9maintainers:
10  - Amelie Delaunay <amelie.delaunay@foss.st.com>
11
12allOf:
13  - $ref: /schemas/dma/dma-router.yaml#
14
15properties:
16  "#dma-cells":
17    const: 3
18
19  compatible:
20    const: st,stm32h7-dmamux
21
22  reg:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  resets:
29    maxItems: 1
30
31  access-controllers:
32    minItems: 1
33    maxItems: 2
34
35required:
36  - compatible
37  - reg
38  - dma-masters
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/interrupt-controller/arm-gic.h>
45    #include <dt-bindings/clock/stm32mp1-clks.h>
46    #include <dt-bindings/reset/stm32mp1-resets.h>
47    dma-router@40020800 {
48      compatible = "st,stm32h7-dmamux";
49      reg = <0x40020800 0x3c>;
50      #dma-cells = <3>;
51      dma-requests = <128>;
52      dma-channels = <16>;
53      dma-masters = <&dma1>, <&dma2>;
54      clocks = <&timer_clk>;
55    };
56
57...
58