Marvell XOR engine
Schema identifier ($id): "http://devicetree.org/schemas/dma/marvell,orion-xor.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"marvell,armada-380-xor"Item 2
Exact value (
const):"marvell,orion-xor"
Rule 2
Allowed values (
enum):"marvell,armada-3700-xor","marvell,orion-xor"
reg — required here #
Array item rules (items) #
Item 1
Low registers for the XOR engine
Item 2
High registers for the XOR engine
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^(channel|xor)[0-9]+$ — name matches this regular expression #
XOR channel sub-node
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
interrupts — required here
Interrupt specifier for the XOR channel
Array item rules (items)
Item 1
Interrupt for this channel
dmacap,memcpy — not listed as required here
Value type (type): "boolean"
Deprecated (deprecated): true
Indicates that the XOR channel is capable of memcpy operations
dmacap,memset — not listed as required here
Value type (type): "boolean"
Deprecated (deprecated): true
Indicates that the XOR channel is capable of memset operations
dmacap,xor — not listed as required here
Value type (type): "boolean"
Deprecated (deprecated): true
Indicates that the XOR channel is capable of xor operations
Required in this object (required): "interrupts"
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
xor@d0060900 {
compatible = "marvell,orion-xor";
reg = <0xd0060900 0x100>,
<0xd0060b00 0x100>;
clocks = <&coreclk 0>;
xor00 {
interrupts = <51>;
};
xor01 {
interrupts = <52>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)