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