Back to home page

OSCL-LXR

 
 

    


0001 * Marvell XOR engines
0002 
0003 Required properties:
0004 - compatible: Should be one of the following:
0005   - "marvell,orion-xor"
0006   - "marvell,armada-380-xor"
0007   - "marvell,armada-3700-xor".
0008 - reg: Should contain registers location and length (two sets)
0009     the first set is the low registers, the second set the high
0010     registers for the XOR engine.
0011 - clocks: pointer to the reference clock
0012 
0013 The DT node must also contains sub-nodes for each XOR channel that the
0014 XOR engine has. Those sub-nodes have the following required
0015 properties:
0016 - interrupts: interrupt of the XOR channel
0017 
0018 The sub-nodes used to contain one or several of the following
0019 properties, but they are now deprecated:
0020 - dmacap,memcpy to indicate that the XOR channel is capable of memcpy operations
0021 - dmacap,memset to indicate that the XOR channel is capable of memset operations
0022 - dmacap,xor to indicate that the XOR channel is capable of xor operations
0023 - dmacap,interrupt to indicate that the XOR channel is capable of
0024   generating interrupts
0025 
0026 Example:
0027 
0028 xor@d0060900 {
0029         compatible = "marvell,orion-xor";
0030         reg = <0xd0060900 0x100
0031                0xd0060b00 0x100>;
0032         clocks = <&coreclk 0>;
0033 
0034         xor00 {
0035               interrupts = <51>;
0036         };
0037         xor01 {
0038               interrupts = <52>;
0039         };
0040 };