mv-xor.txt 1.1 KB

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