mv-xor.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. And the following optional properties:
  13. - dmacap,memcpy to indicate that the XOR channel is capable of memcpy operations
  14. - dmacap,memset to indicate that the XOR channel is capable of memset operations
  15. - dmacap,xor to indicate that the XOR channel is capable of xor operations
  16. Example:
  17. xor@d0060900 {
  18. compatible = "marvell,orion-xor";
  19. reg = <0xd0060900 0x100
  20. 0xd0060b00 0x100>;
  21. clocks = <&coreclk 0>;
  22. status = "okay";
  23. xor00 {
  24. interrupts = <51>;
  25. dmacap,memcpy;
  26. dmacap,xor;
  27. };
  28. xor01 {
  29. interrupts = <52>;
  30. dmacap,memcpy;
  31. dmacap,xor;
  32. dmacap,memset;
  33. };
  34. };