1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/dma/altr,ms 4 $id: http://devicetree.org/schemas/dma/altr,msgdma.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Altera mSGDMA IP core 7 title: Altera mSGDMA IP core 8 8 9 maintainers: 9 maintainers: 10 - Olivier Dautricourt <olivierdautricourt@gma 10 - Olivier Dautricourt <olivierdautricourt@gmail.com> 11 11 12 description: | 12 description: | 13 Altera / Intel modular Scatter-Gather Direct 13 Altera / Intel modular Scatter-Gather Direct Memory Access (mSGDMA) 14 intellectual property (IP) 14 intellectual property (IP) 15 15 16 allOf: 16 allOf: 17 - $ref: dma-controller.yaml# !! 17 - $ref: "dma-controller.yaml#" 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 const: altr,socfpga-msgdma 21 const: altr,socfpga-msgdma 22 22 23 reg: 23 reg: 24 items: 24 items: 25 - description: Control and Status Regist 25 - description: Control and Status Register Slave Port 26 - description: Descriptor Slave Port 26 - description: Descriptor Slave Port 27 - description: Response Slave Port (Opti 27 - description: Response Slave Port (Optional) 28 minItems: 2 28 minItems: 2 29 29 30 reg-names: 30 reg-names: 31 items: 31 items: 32 - const: csr 32 - const: csr 33 - const: desc 33 - const: desc 34 - const: resp 34 - const: resp 35 minItems: 2 35 minItems: 2 36 36 37 interrupts: 37 interrupts: 38 maxItems: 1 38 maxItems: 1 39 39 40 "#dma-cells": 40 "#dma-cells": 41 const: 1 41 const: 1 42 description: 42 description: 43 The cell identifies the channel id (must 43 The cell identifies the channel id (must be 0) 44 44 45 required: 45 required: 46 - compatible 46 - compatible 47 - reg 47 - reg 48 - reg-names 48 - reg-names 49 - interrupts 49 - interrupts 50 50 51 unevaluatedProperties: false 51 unevaluatedProperties: false 52 52 53 examples: 53 examples: 54 - | 54 - | 55 #include <dt-bindings/interrupt-controller 55 #include <dt-bindings/interrupt-controller/irq.h> 56 56 57 msgdma_controller: dma-controller@ff200b00 57 msgdma_controller: dma-controller@ff200b00 { 58 compatible = "altr,socfpga-msgdma"; 58 compatible = "altr,socfpga-msgdma"; 59 reg = <0xff200b00 0x100>, <0xff200c00 59 reg = <0xff200b00 0x100>, <0xff200c00 0x100>, <0xff200d00 0x100>; 60 reg-names = "csr", "desc", "resp"; 60 reg-names = "csr", "desc", "resp"; 61 interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH 61 interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>; 62 #dma-cells = <1>; 62 #dma-cells = <1>; 63 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.