1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/dma/spacemit,k1-pdma.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: SpacemiT K1 PDMA Controller 8 9maintainers: 10 - Guodong Xu <guodong@riscstar.com> 11 12allOf: 13 - $ref: dma-controller.yaml# 14 15properties: 16 compatible: 17 const: spacemit,k1-pdma 18 19 reg: 20 maxItems: 1 21 22 interrupts: 23 description: Shared interrupt for all DMA channels 24 maxItems: 1 25 26 clocks: 27 maxItems: 1 28 29 resets: 30 maxItems: 1 31 32 dma-channels: 33 maximum: 16 34 35 '#dma-cells': 36 const: 1 37 description: 38 The DMA request number for the peripheral device. 39 40required: 41 - compatible 42 - reg 43 - interrupts 44 - clocks 45 - resets 46 - dma-channels 47 - '#dma-cells' 48 49unevaluatedProperties: false 50 51examples: 52 - | 53 #include <dt-bindings/clock/spacemit,k1-syscon.h> 54 55 soc { 56 #address-cells = <2>; 57 #size-cells = <2>; 58 59 dma-controller@d4000000 { 60 compatible = "spacemit,k1-pdma"; 61 reg = <0x0 0xd4000000 0x0 0x4000>; 62 interrupts = <72>; 63 clocks = <&syscon_apmu CLK_DMA>; 64 resets = <&syscon_apmu RESET_DMA>; 65 dma-channels = <16>; 66 #dma-cells = <1>; 67 }; 68 }; 69