mv-xor.txt 1.2 KB

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