1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/dma/fsl,mxs-dma.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Freescale Direct Memory Access (DMA) Controller from i.MX23/i.MX28 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Marek Vasut <marex@denx.de> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel VadotallOf: 13cb7aa33aSEmmanuel Vadot - $ref: dma-controller.yaml# 14*b2d2a78aSEmmanuel Vadot - if: 15*b2d2a78aSEmmanuel Vadot properties: 16*b2d2a78aSEmmanuel Vadot compatible: 17*b2d2a78aSEmmanuel Vadot contains: 18*b2d2a78aSEmmanuel Vadot const: fsl,imx8qxp-dma-apbh 19*b2d2a78aSEmmanuel Vadot then: 20*b2d2a78aSEmmanuel Vadot required: 21*b2d2a78aSEmmanuel Vadot - power-domains 22*b2d2a78aSEmmanuel Vadot else: 23*b2d2a78aSEmmanuel Vadot properties: 24*b2d2a78aSEmmanuel Vadot power-domains: false 25cb7aa33aSEmmanuel Vadot 26cb7aa33aSEmmanuel Vadotproperties: 27cb7aa33aSEmmanuel Vadot compatible: 28cb7aa33aSEmmanuel Vadot oneOf: 29cb7aa33aSEmmanuel Vadot - items: 30cb7aa33aSEmmanuel Vadot - enum: 31cb7aa33aSEmmanuel Vadot - fsl,imx6q-dma-apbh 32cb7aa33aSEmmanuel Vadot - fsl,imx6sx-dma-apbh 33cb7aa33aSEmmanuel Vadot - fsl,imx7d-dma-apbh 34*b2d2a78aSEmmanuel Vadot - fsl,imx8qxp-dma-apbh 35cb7aa33aSEmmanuel Vadot - const: fsl,imx28-dma-apbh 36cb7aa33aSEmmanuel Vadot - enum: 37cb7aa33aSEmmanuel Vadot - fsl,imx23-dma-apbh 38cb7aa33aSEmmanuel Vadot - fsl,imx23-dma-apbx 39cb7aa33aSEmmanuel Vadot - fsl,imx28-dma-apbh 40cb7aa33aSEmmanuel Vadot - fsl,imx28-dma-apbx 41cb7aa33aSEmmanuel Vadot reg: 42cb7aa33aSEmmanuel Vadot maxItems: 1 43cb7aa33aSEmmanuel Vadot 44cb7aa33aSEmmanuel Vadot clocks: 45cb7aa33aSEmmanuel Vadot maxItems: 1 46cb7aa33aSEmmanuel Vadot 47cb7aa33aSEmmanuel Vadot interrupts: 48cb7aa33aSEmmanuel Vadot minItems: 4 49cb7aa33aSEmmanuel Vadot maxItems: 16 50cb7aa33aSEmmanuel Vadot 51cb7aa33aSEmmanuel Vadot "#dma-cells": 52cb7aa33aSEmmanuel Vadot const: 1 53cb7aa33aSEmmanuel Vadot 54cb7aa33aSEmmanuel Vadot dma-channels: 55cb7aa33aSEmmanuel Vadot enum: [4, 8, 16] 56cb7aa33aSEmmanuel Vadot 57*b2d2a78aSEmmanuel Vadot power-domains: 58*b2d2a78aSEmmanuel Vadot maxItems: 1 59*b2d2a78aSEmmanuel Vadot 60cb7aa33aSEmmanuel Vadotrequired: 61cb7aa33aSEmmanuel Vadot - compatible 62cb7aa33aSEmmanuel Vadot - reg 63cb7aa33aSEmmanuel Vadot - "#dma-cells" 64cb7aa33aSEmmanuel Vadot - dma-channels 65cb7aa33aSEmmanuel Vadot - interrupts 66cb7aa33aSEmmanuel Vadot 67cb7aa33aSEmmanuel VadotadditionalProperties: false 68cb7aa33aSEmmanuel Vadot 69cb7aa33aSEmmanuel Vadotexamples: 70cb7aa33aSEmmanuel Vadot - | 71cb7aa33aSEmmanuel Vadot interrupt-parent = <&irqc>; 72cb7aa33aSEmmanuel Vadot 73cb7aa33aSEmmanuel Vadot dma-controller@80004000 { 74cb7aa33aSEmmanuel Vadot compatible = "fsl,imx28-dma-apbh"; 75cb7aa33aSEmmanuel Vadot reg = <0x80004000 0x2000>; 76cb7aa33aSEmmanuel Vadot interrupts = <82 83 84 85 77cb7aa33aSEmmanuel Vadot 88 88 88 88 78cb7aa33aSEmmanuel Vadot 88 88 88 88 79cb7aa33aSEmmanuel Vadot 87 86 0 0>; 80cb7aa33aSEmmanuel Vadot #dma-cells = <1>; 81cb7aa33aSEmmanuel Vadot dma-channels = <16>; 82cb7aa33aSEmmanuel Vadot }; 83cb7aa33aSEmmanuel Vadot 84cb7aa33aSEmmanuel Vadot dma-controller@80024000 { 85cb7aa33aSEmmanuel Vadot compatible = "fsl,imx28-dma-apbx"; 86cb7aa33aSEmmanuel Vadot reg = <0x80024000 0x2000>; 87cb7aa33aSEmmanuel Vadot interrupts = <78 79 66 0 88cb7aa33aSEmmanuel Vadot 80 81 68 69 89cb7aa33aSEmmanuel Vadot 70 71 72 73 90cb7aa33aSEmmanuel Vadot 74 75 76 77>; 91cb7aa33aSEmmanuel Vadot #dma-cells = <1>; 92cb7aa33aSEmmanuel Vadot dma-channels = <16>; 93cb7aa33aSEmmanuel Vadot }; 94cb7aa33aSEmmanuel Vadot 95cb7aa33aSEmmanuel Vadot... 96