1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/dma/allwinner,sun6i-a31-dma.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Allwinner A31 DMA Controller Device Tree Bindings 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11*c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotallOf: 14*c66ec88fSEmmanuel Vadot - $ref: "dma-controller.yaml#" 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadotproperties: 17*c66ec88fSEmmanuel Vadot "#dma-cells": 18*c66ec88fSEmmanuel Vadot const: 1 19*c66ec88fSEmmanuel Vadot description: The cell is the request line number. 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot compatible: 22*c66ec88fSEmmanuel Vadot oneOf: 23*c66ec88fSEmmanuel Vadot - const: allwinner,sun6i-a31-dma 24*c66ec88fSEmmanuel Vadot - const: allwinner,sun8i-a23-dma 25*c66ec88fSEmmanuel Vadot - const: allwinner,sun8i-a83t-dma 26*c66ec88fSEmmanuel Vadot - const: allwinner,sun8i-h3-dma 27*c66ec88fSEmmanuel Vadot - const: allwinner,sun8i-v3s-dma 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot reg: 30*c66ec88fSEmmanuel Vadot maxItems: 1 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot interrupts: 33*c66ec88fSEmmanuel Vadot maxItems: 1 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot clocks: 36*c66ec88fSEmmanuel Vadot maxItems: 1 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot resets: 39*c66ec88fSEmmanuel Vadot maxItems: 1 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadotrequired: 42*c66ec88fSEmmanuel Vadot - "#dma-cells" 43*c66ec88fSEmmanuel Vadot - compatible 44*c66ec88fSEmmanuel Vadot - reg 45*c66ec88fSEmmanuel Vadot - interrupts 46*c66ec88fSEmmanuel Vadot - clocks 47*c66ec88fSEmmanuel Vadot - resets 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel VadotadditionalProperties: false 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadotexamples: 52*c66ec88fSEmmanuel Vadot - | 53*c66ec88fSEmmanuel Vadot dma: dma-controller@1c02000 { 54*c66ec88fSEmmanuel Vadot compatible = "allwinner,sun6i-a31-dma"; 55*c66ec88fSEmmanuel Vadot reg = <0x01c02000 0x1000>; 56*c66ec88fSEmmanuel Vadot interrupts = <0 50 4>; 57*c66ec88fSEmmanuel Vadot clocks = <&ahb1_gates 6>; 58*c66ec88fSEmmanuel Vadot resets = <&ahb1_rst 6>; 59*c66ec88fSEmmanuel Vadot #dma-cells = <1>; 60*c66ec88fSEmmanuel Vadot }; 61*c66ec88fSEmmanuel Vadot 62*c66ec88fSEmmanuel Vadot... 63