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 25c66ec88fSEmmanuel Vadotproperties: 26c66ec88fSEmmanuel Vadot compatible: 27c66ec88fSEmmanuel Vadot items: 28c66ec88fSEmmanuel Vadot - const: sifive,fu540-c000-pdma 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadot reg: 31c66ec88fSEmmanuel Vadot maxItems: 1 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot interrupts: 34c66ec88fSEmmanuel Vadot minItems: 1 35c66ec88fSEmmanuel Vadot maxItems: 8 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadot '#dma-cells': 38c66ec88fSEmmanuel Vadot const: 1 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadotrequired: 41c66ec88fSEmmanuel Vadot - compatible 42c66ec88fSEmmanuel Vadot - reg 43c66ec88fSEmmanuel Vadot - interrupts 44c66ec88fSEmmanuel Vadot - '#dma-cells' 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel VadotadditionalProperties: false 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadotexamples: 49c66ec88fSEmmanuel Vadot - | 50c66ec88fSEmmanuel Vadot dma@3000000 { 51c66ec88fSEmmanuel Vadot compatible = "sifive,fu540-c000-pdma"; 52c66ec88fSEmmanuel Vadot reg = <0x3000000 0x8000>; 53*e67e8565SEmmanuel Vadot interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, <30>; 54c66ec88fSEmmanuel Vadot #dma-cells = <1>; 55c66ec88fSEmmanuel Vadot }; 56c66ec88fSEmmanuel Vadot 57c66ec88fSEmmanuel Vadot... 58