Altera mSGDMA IP core

Schema identifier ($id): "http://devicetree.org/schemas/dma/altr,msgdma.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Olivier Dautricourt <olivierdautricourt@gmail.com>"

Altera / Intel modular Scatter-Gather Direct Memory Access (mSGDMA) intellectual property (IP)

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dma-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "altr,socfpga-msgdma"

reg — required here #

Array item rules (items) #

Item 1

Control and Status Register Slave Port

Item 2

Descriptor Slave Port

Item 3

Response Slave Port (Optional)

Minimum number of items (minItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "csr"

Item 2

Exact value (const): "desc"

Item 3

Exact value (const): "resp"

Minimum number of items (minItems): 2

interrupts — required here #

Maximum number of items (maxItems): 1

#dma-cells — not listed as required here #

Exact value (const): 1

The cell identifies the channel id (must be 0)

Required in this object (required): "compatible", "reg", "reg-names", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

msgdma_controller: dma-controller@ff200b00 {
    compatible = "altr,socfpga-msgdma";
    reg = <0xff200b00 0x100>, <0xff200c00 0x100>, <0xff200d00 0x100>;
    reg-names = "csr", "desc", "resp";
    interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>;
    #dma-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page