Marvell XOR v2 engines

Schema identifier ($id): "http://devicetree.org/schemas/dma/marvell,xor-v2.yaml#"

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

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "marvell,xor-v2"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "marvell,armada-7k-xor"

Item 2

Exact value (const): "marvell,xor-v2"

reg — required here #

Array item rules (items) #

Item 1

DMA registers

Item 2

global registers

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "reg"

msi-parent — required here #

Phandle to the MSI-capable interrupt controller used for interrupts.

Maximum number of items (maxItems): 1

dma-coherent — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "msi-parent", "dma-coherent"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

xor0@6a0000 {
    compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
    reg = <0x6a0000 0x1000>, <0x6b0000 0x1000>;
    clocks = <&ap_clk 0>, <&ap_clk 1>;
    clock-names = "core", "reg";
    msi-parent = <&gic_v2m0>;
    dma-coherent;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page