Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / dma / st,stm32-dmamux.yaml
blobc8d2b51d8410ea845ea6ef0fe088ed4ee5ff330b
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/dma/st,stm32-dmamux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 DMA MUX (DMA request router) bindings
9 maintainers:
10   - Amelie Delaunay <amelie.delaunay@st.com>
12 allOf:
13   - $ref: "dma-router.yaml#"
15 properties:
16   "#dma-cells":
17     const: 3
19   compatible:
20     const: st,stm32h7-dmamux
22   reg:
23     maxItems: 1
25   clocks:
26     maxItems: 1
28   resets:
29     maxItems: 1
31 required:
32   - compatible
33   - reg
34   - dma-masters
36 unevaluatedProperties: false
38 examples:
39   - |
40     #include <dt-bindings/interrupt-controller/arm-gic.h>
41     #include <dt-bindings/clock/stm32mp1-clks.h>
42     #include <dt-bindings/reset/stm32mp1-resets.h>
43     dma-router@40020800 {
44       compatible = "st,stm32h7-dmamux";
45       reg = <0x40020800 0x3c>;
46       #dma-cells = <3>;
47       dma-requests = <128>;
48       dma-channels = <16>;
49       dma-masters = <&dma1 &dma2>;
50       clocks = <&timer_clk>;
51     };
53 ...