1f7d12ef5SThomas Petazzoni* Marvell XOR engines
2f7d12ef5SThomas Petazzoni
3f7d12ef5SThomas PetazzoniRequired properties:
46f166312SLior Amsalem- compatible: Should be "marvell,orion-xor" or "marvell,armada-380-xor"
5f7d12ef5SThomas Petazzoni- reg: Should contain registers location and length (two sets)
6f7d12ef5SThomas Petazzoni    the first set is the low registers, the second set the high
7f7d12ef5SThomas Petazzoni    registers for the XOR engine.
8f7d12ef5SThomas Petazzoni- clocks: pointer to the reference clock
9f7d12ef5SThomas Petazzoni
10f7d12ef5SThomas PetazzoniThe DT node must also contains sub-nodes for each XOR channel that the
11f7d12ef5SThomas PetazzoniXOR engine has. Those sub-nodes have the following required
12f7d12ef5SThomas Petazzoniproperties:
13f7d12ef5SThomas Petazzoni- interrupts: interrupt of the XOR channel
14f7d12ef5SThomas Petazzoni
156d8f7abdSThomas PetazzoniThe sub-nodes used to contain one or several of the following
166d8f7abdSThomas Petazzoniproperties, but they are now deprecated:
17f7d12ef5SThomas Petazzoni- dmacap,memcpy to indicate that the XOR channel is capable of memcpy operations
18f7d12ef5SThomas Petazzoni- dmacap,memset to indicate that the XOR channel is capable of memset operations
19f7d12ef5SThomas Petazzoni- dmacap,xor to indicate that the XOR channel is capable of xor operations
206d8f7abdSThomas Petazzoni- dmacap,interrupt to indicate that the XOR channel is capable of
216d8f7abdSThomas Petazzoni  generating interrupts
22f7d12ef5SThomas Petazzoni
23f7d12ef5SThomas PetazzoniExample:
24f7d12ef5SThomas Petazzoni
25f7d12ef5SThomas Petazzonixor@d0060900 {
26f7d12ef5SThomas Petazzoni	compatible = "marvell,orion-xor";
27f7d12ef5SThomas Petazzoni	reg = <0xd0060900 0x100
28f7d12ef5SThomas Petazzoni	       0xd0060b00 0x100>;
29f7d12ef5SThomas Petazzoni	clocks = <&coreclk 0>;
30f7d12ef5SThomas Petazzoni	status = "okay";
31f7d12ef5SThomas Petazzoni
32f7d12ef5SThomas Petazzoni	xor00 {
33f7d12ef5SThomas Petazzoni	      interrupts = <51>;
34f7d12ef5SThomas Petazzoni	};
35f7d12ef5SThomas Petazzoni	xor01 {
36f7d12ef5SThomas Petazzoni	      interrupts = <52>;
37f7d12ef5SThomas Petazzoni	};
38f7d12ef5SThomas Petazzoni};
39