1bbeeb861SAmit Singh Tomar# SPDX-License-Identifier: GPL-2.0 2bbeeb861SAmit Singh Tomar%YAML 1.2 3bbeeb861SAmit Singh Tomar--- 4bbeeb861SAmit Singh Tomar$id: http://devicetree.org/schemas/dma/owl-dma.yaml# 5bbeeb861SAmit Singh Tomar$schema: http://devicetree.org/meta-schemas/core.yaml# 6bbeeb861SAmit Singh Tomar 7bbeeb861SAmit Singh Tomartitle: Actions Semi Owl SoCs DMA controller 8bbeeb861SAmit Singh Tomar 9bbeeb861SAmit Singh Tomardescription: | 10bbeeb861SAmit Singh Tomar The OWL DMA is a general-purpose direct memory access controller capable of 119e9eb85eSCristian Ciocaltea supporting 10 independent DMA channels for the Actions Semi S700 SoC and 12 129e9eb85eSCristian Ciocaltea independent DMA channels for the S500 and S900 SoC variants. 13bbeeb861SAmit Singh Tomar 14bbeeb861SAmit Singh Tomarmaintainers: 15bbeeb861SAmit Singh Tomar - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 16bbeeb861SAmit Singh Tomar 17bbeeb861SAmit Singh TomarallOf: 18*10cafa2dSKrzysztof Kozlowski - $ref: dma-controller.yaml# 19bbeeb861SAmit Singh Tomar 20bbeeb861SAmit Singh Tomarproperties: 21bbeeb861SAmit Singh Tomar compatible: 22bbeeb861SAmit Singh Tomar enum: 239e9eb85eSCristian Ciocaltea - actions,s500-dma 24bbeeb861SAmit Singh Tomar - actions,s700-dma 259e9eb85eSCristian Ciocaltea - actions,s900-dma 26bbeeb861SAmit Singh Tomar 27bbeeb861SAmit Singh Tomar reg: 28bbeeb861SAmit Singh Tomar maxItems: 1 29bbeeb861SAmit Singh Tomar 30bbeeb861SAmit Singh Tomar interrupts: 31bbeeb861SAmit Singh Tomar description: 32bbeeb861SAmit Singh Tomar controller supports 4 interrupts, which are freely assignable to the 33bbeeb861SAmit Singh Tomar DMA channels. 34bbeeb861SAmit Singh Tomar maxItems: 4 35bbeeb861SAmit Singh Tomar 36bbeeb861SAmit Singh Tomar "#dma-cells": 37bbeeb861SAmit Singh Tomar const: 1 38bbeeb861SAmit Singh Tomar 39bbeeb861SAmit Singh Tomar dma-channels: 40bbeeb861SAmit Singh Tomar maximum: 12 41bbeeb861SAmit Singh Tomar 42bbeeb861SAmit Singh Tomar dma-requests: 43bbeeb861SAmit Singh Tomar maximum: 46 44bbeeb861SAmit Singh Tomar 45bbeeb861SAmit Singh Tomar clocks: 46bbeeb861SAmit Singh Tomar maxItems: 1 47bbeeb861SAmit Singh Tomar description: 48bbeeb861SAmit Singh Tomar Phandle and Specifier of the clock feeding the DMA controller. 49bbeeb861SAmit Singh Tomar 50bbeeb861SAmit Singh Tomar power-domains: 51bbeeb861SAmit Singh Tomar maxItems: 1 52bbeeb861SAmit Singh Tomar 53bbeeb861SAmit Singh Tomarrequired: 54bbeeb861SAmit Singh Tomar - compatible 55bbeeb861SAmit Singh Tomar - reg 56bbeeb861SAmit Singh Tomar - interrupts 57bbeeb861SAmit Singh Tomar - "#dma-cells" 58bbeeb861SAmit Singh Tomar - dma-channels 59bbeeb861SAmit Singh Tomar - dma-requests 60bbeeb861SAmit Singh Tomar - clocks 61bbeeb861SAmit Singh Tomar 62bbeeb861SAmit Singh TomarunevaluatedProperties: false 63bbeeb861SAmit Singh Tomar 64bbeeb861SAmit Singh Tomarexamples: 65bbeeb861SAmit Singh Tomar - | 66bbeeb861SAmit Singh Tomar #include <dt-bindings/interrupt-controller/arm-gic.h> 67bbeeb861SAmit Singh Tomar dma: dma-controller@e0260000 { 68bbeeb861SAmit Singh Tomar compatible = "actions,s900-dma"; 69bbeeb861SAmit Singh Tomar reg = <0xe0260000 0x1000>; 70bbeeb861SAmit Singh Tomar interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, 71bbeeb861SAmit Singh Tomar <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 72bbeeb861SAmit Singh Tomar <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 73bbeeb861SAmit Singh Tomar <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 74bbeeb861SAmit Singh Tomar #dma-cells = <1>; 75bbeeb861SAmit Singh Tomar dma-channels = <12>; 76bbeeb861SAmit Singh Tomar dma-requests = <46>; 77bbeeb861SAmit Singh Tomar clocks = <&clock 22>; 78bbeeb861SAmit Singh Tomar }; 79bbeeb861SAmit Singh Tomar 80bbeeb861SAmit Singh Tomar... 81