1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*01950c46SEmmanuel Vadot%YAML 1.2 3*01950c46SEmmanuel Vadot--- 4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/dma/marvell,mmp-dma.yaml# 5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*01950c46SEmmanuel Vadot 7*01950c46SEmmanuel Vadottitle: Marvell MMP DMA controller 8*01950c46SEmmanuel Vadot 9*01950c46SEmmanuel Vadotmaintainers: 10*01950c46SEmmanuel Vadot - Duje Mihanović <duje.mihanovic@skole.hr> 11*01950c46SEmmanuel Vadot 12*01950c46SEmmanuel Vadotdescription: 13*01950c46SEmmanuel Vadot Marvell MMP SoCs may have two types of DMA controllers, peripheral and audio. 14*01950c46SEmmanuel Vadot 15*01950c46SEmmanuel Vadotproperties: 16*01950c46SEmmanuel Vadot compatible: 17*01950c46SEmmanuel Vadot enum: 18*01950c46SEmmanuel Vadot - marvell,pdma-1.0 19*01950c46SEmmanuel Vadot - marvell,adma-1.0 20*01950c46SEmmanuel Vadot - marvell,pxa910-squ 21*01950c46SEmmanuel Vadot 22*01950c46SEmmanuel Vadot reg: 23*01950c46SEmmanuel Vadot maxItems: 1 24*01950c46SEmmanuel Vadot 25*01950c46SEmmanuel Vadot interrupts: 26*01950c46SEmmanuel Vadot description: 27*01950c46SEmmanuel Vadot Interrupt lines for the controller, may be shared or one per DMA channel 28*01950c46SEmmanuel Vadot minItems: 1 29*01950c46SEmmanuel Vadot 30*01950c46SEmmanuel Vadot asram: 31*01950c46SEmmanuel Vadot description: 32*01950c46SEmmanuel Vadot A phandle to the SRAM pool 33*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 34*01950c46SEmmanuel Vadot 35*01950c46SEmmanuel Vadot '#dma-channels': 36*01950c46SEmmanuel Vadot deprecated: true 37*01950c46SEmmanuel Vadot 38*01950c46SEmmanuel Vadot '#dma-requests': 39*01950c46SEmmanuel Vadot deprecated: true 40*01950c46SEmmanuel Vadot 41*01950c46SEmmanuel Vadotrequired: 42*01950c46SEmmanuel Vadot - compatible 43*01950c46SEmmanuel Vadot - reg 44*01950c46SEmmanuel Vadot - interrupts 45*01950c46SEmmanuel Vadot - '#dma-cells' 46*01950c46SEmmanuel Vadot 47*01950c46SEmmanuel VadotallOf: 48*01950c46SEmmanuel Vadot - $ref: dma-controller.yaml# 49*01950c46SEmmanuel Vadot - if: 50*01950c46SEmmanuel Vadot properties: 51*01950c46SEmmanuel Vadot compatible: 52*01950c46SEmmanuel Vadot contains: 53*01950c46SEmmanuel Vadot enum: 54*01950c46SEmmanuel Vadot - marvell,pdma-1.0 55*01950c46SEmmanuel Vadot then: 56*01950c46SEmmanuel Vadot properties: 57*01950c46SEmmanuel Vadot asram: false 58*01950c46SEmmanuel Vadot else: 59*01950c46SEmmanuel Vadot required: 60*01950c46SEmmanuel Vadot - asram 61*01950c46SEmmanuel Vadot 62*01950c46SEmmanuel VadotunevaluatedProperties: false 63*01950c46SEmmanuel Vadot 64*01950c46SEmmanuel Vadotexamples: 65*01950c46SEmmanuel Vadot - | 66*01950c46SEmmanuel Vadot dma-controller@d4000000 { 67*01950c46SEmmanuel Vadot compatible = "marvell,pdma-1.0"; 68*01950c46SEmmanuel Vadot reg = <0xd4000000 0x10000>; 69*01950c46SEmmanuel Vadot interrupts = <47>; 70*01950c46SEmmanuel Vadot #dma-cells = <2>; 71*01950c46SEmmanuel Vadot dma-channels = <16>; 72*01950c46SEmmanuel Vadot }; 73