73 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/dma/marvell,mmp-dma.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Marvell MMP DMA controller8 9maintainers:10 - Duje Mihanović <duje.mihanovic@skole.hr>11 12description:13 Marvell MMP SoCs may have two types of DMA controllers, peripheral and audio.14 15properties:16 compatible:17 enum:18 - marvell,pdma-1.019 - marvell,adma-1.020 - marvell,pxa910-squ21 22 reg:23 maxItems: 124 25 interrupts:26 description:27 Interrupt lines for the controller, may be shared or one per DMA channel28 minItems: 129 30 asram:31 description:32 A phandle to the SRAM pool33 $ref: /schemas/types.yaml#/definitions/phandle34 35 '#dma-channels':36 deprecated: true37 38 '#dma-requests':39 deprecated: true40 41required:42 - compatible43 - reg44 - interrupts45 - '#dma-cells'46 47allOf:48 - $ref: dma-controller.yaml#49 - if:50 properties:51 compatible:52 contains:53 enum:54 - marvell,pdma-1.055 then:56 properties:57 asram: false58 else:59 required:60 - asram61 62unevaluatedProperties: false63 64examples:65 - |66 dma-controller@d4000000 {67 compatible = "marvell,pdma-1.0";68 reg = <0xd4000000 0x10000>;69 interrupts = <47>;70 #dma-cells = <2>;71 dma-channels = <16>;72 };73