Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/dma/allwinner,sun6i-a31-dma.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Allwinner A31 DMA Controller Device Tree Bindings
0008 
0009 maintainers:
0010   - Chen-Yu Tsai <wens@csie.org>
0011   - Maxime Ripard <mripard@kernel.org>
0012 
0013 allOf:
0014   - $ref: "dma-controller.yaml#"
0015 
0016 properties:
0017   "#dma-cells":
0018     const: 1
0019     description: The cell is the request line number.
0020 
0021   compatible:
0022     enum:
0023       - allwinner,sun6i-a31-dma
0024       - allwinner,sun8i-a23-dma
0025       - allwinner,sun8i-a83t-dma
0026       - allwinner,sun8i-h3-dma
0027       - allwinner,sun8i-v3s-dma
0028 
0029   reg:
0030     maxItems: 1
0031 
0032   interrupts:
0033     maxItems: 1
0034 
0035   clocks:
0036     maxItems: 1
0037 
0038   resets:
0039     maxItems: 1
0040 
0041 required:
0042   - "#dma-cells"
0043   - compatible
0044   - reg
0045   - interrupts
0046   - clocks
0047   - resets
0048 
0049 additionalProperties: false
0050 
0051 examples:
0052   - |
0053     dma: dma-controller@1c02000 {
0054         compatible = "allwinner,sun6i-a31-dma";
0055         reg = <0x01c02000 0x1000>;
0056         interrupts = <0 50 4>;
0057         clocks = <&ahb1_gates 6>;
0058         resets = <&ahb1_rst 6>;
0059         #dma-cells = <1>;
0060     };
0061 
0062 ...