Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/dma/st,stm32-dmamux.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: STMicroelectronics STM32 DMA MUX (DMA request router) bindings
0008 
0009 maintainers:
0010   - Amelie Delaunay <amelie.delaunay@foss.st.com>
0011 
0012 allOf:
0013   - $ref: "dma-router.yaml#"
0014 
0015 properties:
0016   "#dma-cells":
0017     const: 3
0018 
0019   compatible:
0020     const: st,stm32h7-dmamux
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   clocks:
0026     maxItems: 1
0027 
0028   resets:
0029     maxItems: 1
0030 
0031 required:
0032   - compatible
0033   - reg
0034   - dma-masters
0035 
0036 unevaluatedProperties: false
0037 
0038 examples:
0039   - |
0040     #include <dt-bindings/interrupt-controller/arm-gic.h>
0041     #include <dt-bindings/clock/stm32mp1-clks.h>
0042     #include <dt-bindings/reset/stm32mp1-resets.h>
0043     dma-router@40020800 {
0044       compatible = "st,stm32h7-dmamux";
0045       reg = <0x40020800 0x3c>;
0046       #dma-cells = <3>;
0047       dma-requests = <128>;
0048       dma-channels = <16>;
0049       dma-masters = <&dma1>, <&dma2>;
0050       clocks = <&timer_clk>;
0051     };
0052 
0053 ...