1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/dma/sifive,fu540-c000-pdma.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: SiFive Unleashed Rev C000 Platform DMA 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Green Wan <green.wan@sifive.com> 11c66ec88fSEmmanuel Vadot - Palmer Debbelt <palmer@sifive.com> 12c66ec88fSEmmanuel Vadot - Paul Walmsley <paul.walmsley@sifive.com> 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadotdescription: | 15c66ec88fSEmmanuel Vadot Platform DMA is a DMA engine of SiFive Unleashed. It supports 4 16c66ec88fSEmmanuel Vadot channels. Each channel has 2 interrupts. One is for DMA done and 17c66ec88fSEmmanuel Vadot the other is for DME error. 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot In different SoC, DMA could be attached to different IRQ line. 20c66ec88fSEmmanuel Vadot DT file need to be changed to meet the difference. For technical 21c66ec88fSEmmanuel Vadot doc, 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot https://static.dev.sifive.com/FU540-C000-v1.0.pdf 24c66ec88fSEmmanuel Vadot 25*c9ccf3a3SEmmanuel VadotallOf: 26*c9ccf3a3SEmmanuel Vadot - $ref: "dma-controller.yaml#" 27*c9ccf3a3SEmmanuel Vadot 28c66ec88fSEmmanuel Vadotproperties: 29c66ec88fSEmmanuel Vadot compatible: 30c66ec88fSEmmanuel Vadot items: 31c66ec88fSEmmanuel Vadot - const: sifive,fu540-c000-pdma 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot reg: 34c66ec88fSEmmanuel Vadot maxItems: 1 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot interrupts: 37c66ec88fSEmmanuel Vadot minItems: 1 38c66ec88fSEmmanuel Vadot maxItems: 8 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot '#dma-cells': 41c66ec88fSEmmanuel Vadot const: 1 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadotrequired: 44c66ec88fSEmmanuel Vadot - compatible 45c66ec88fSEmmanuel Vadot - reg 46c66ec88fSEmmanuel Vadot - interrupts 47c66ec88fSEmmanuel Vadot 48*c9ccf3a3SEmmanuel VadotunevaluatedProperties: false 49c66ec88fSEmmanuel Vadot 50c66ec88fSEmmanuel Vadotexamples: 51c66ec88fSEmmanuel Vadot - | 52*c9ccf3a3SEmmanuel Vadot dma-controller@3000000 { 53c66ec88fSEmmanuel Vadot compatible = "sifive,fu540-c000-pdma"; 54c66ec88fSEmmanuel Vadot reg = <0x3000000 0x8000>; 55e67e8565SEmmanuel Vadot interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, <30>; 56c66ec88fSEmmanuel Vadot #dma-cells = <1>; 57c66ec88fSEmmanuel Vadot }; 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot... 60