xref: /linux/Documentation/devicetree/bindings/dma/marvell,xor-v2.yaml (revision a6021aa24f6417416d93318bbfa022ab229c33c8)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/dma/marvell,xor-v2.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell XOR v2 engines
8
9maintainers:
10  - Andrew Lunn <andrew@lunn.ch>
11
12properties:
13  compatible:
14    oneOf:
15      - const: marvell,xor-v2
16      - items:
17          - enum:
18              - marvell,armada-7k-xor
19          - const: marvell,xor-v2
20
21  reg:
22    items:
23      - description: DMA registers
24      - description: global registers
25
26  clocks:
27    minItems: 1
28    maxItems: 2
29
30  clock-names:
31    minItems: 1
32    items:
33      - const: core
34      - const: reg
35
36  msi-parent:
37    description:
38      Phandle to the MSI-capable interrupt controller used for
39      interrupts.
40    maxItems: 1
41
42  dma-coherent: true
43
44required:
45  - compatible
46  - reg
47  - msi-parent
48  - dma-coherent
49
50additionalProperties: false
51
52examples:
53  - |
54    xor0@6a0000 {
55        compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
56        reg = <0x6a0000 0x1000>, <0x6b0000 0x1000>;
57        clocks = <&ap_clk 0>, <&ap_clk 1>;
58        clock-names = "core", "reg";
59        msi-parent = <&gic_v2m0>;
60        dma-coherent;
61    };
62