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