1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/dma/allwinner,sun4i-a10-dma.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Allwinner A10 DMA Controller Device Tree Bindings 8 9maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 12 13allOf: 14 - $ref: "dma-controller.yaml#" 15 16properties: 17 "#dma-cells": 18 const: 2 19 description: 20 The first cell is either 0 or 1, the former to use the normal 21 DMA, 1 for dedicated DMA. The second cell is the request line 22 number. 23 24 compatible: 25 const: allwinner,sun4i-a10-dma 26 27 reg: 28 maxItems: 1 29 30 interrupts: 31 maxItems: 1 32 33 clocks: 34 maxItems: 1 35 36required: 37 - "#dma-cells" 38 - compatible 39 - reg 40 - interrupts 41 - clocks 42 43additionalProperties: false 44 45examples: 46 - | 47 dma: dma-controller@1c02000 { 48 compatible = "allwinner,sun4i-a10-dma"; 49 reg = <0x01c02000 0x1000>; 50 interrupts = <27>; 51 clocks = <&ahb_gates 6>; 52 #dma-cells = <2>; 53 }; 54 55... 56