raideng.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. * Freescale 85xx RAID Engine nodes
  2. RAID Engine nodes are defined to describe on-chip RAID accelerators. Each RAID
  3. Engine should have a separate node.
  4. Supported chips:
  5. P5020, P5040
  6. Required properties:
  7. - compatible: Should contain "fsl,raideng-v1.0" as the value
  8. This identifies RAID Engine block. 1 in 1.0 represents
  9. major number whereas 0 represents minor number. The
  10. version matches the hardware IP version.
  11. - reg: offset and length of the register set for the device
  12. - ranges: standard ranges property specifying the translation
  13. between child address space and parent address space
  14. Example:
  15. /* P5020 */
  16. raideng: raideng@320000 {
  17. compatible = "fsl,raideng-v1.0";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. reg = <0x320000 0x10000>;
  21. ranges = <0 0x320000 0x10000>;
  22. };
  23. There must be a sub-node for each job queue present in RAID Engine
  24. This node must be a sub-node of the main RAID Engine node
  25. - compatible: Should contain "fsl,raideng-v1.0-job-queue" as the value
  26. This identifies the job queue interface
  27. - reg: offset and length of the register set for job queue
  28. - ranges: standard ranges property specifying the translation
  29. between child address space and parent address space
  30. Example:
  31. /* P5020 */
  32. raideng_jq0@1000 {
  33. compatible = "fsl,raideng-v1.0-job-queue";
  34. reg = <0x1000 0x1000>;
  35. ranges = <0x0 0x1000 0x1000>;
  36. };
  37. There must be a sub-node for each job ring present in RAID Engine
  38. This node must be a sub-node of job queue node
  39. - compatible: Must contain "fsl,raideng-v1.0-job-ring" as the value
  40. This identifies job ring. Should contain either
  41. "fsl,raideng-v1.0-hp-ring" or "fsl,raideng-v1.0-lp-ring"
  42. depending upon whether ring has high or low priority
  43. - reg: offset and length of the register set for job ring
  44. - interrupts: interrupt mapping for job ring IRQ
  45. Optional property:
  46. - fsl,liodn: Specifies the LIODN to be used for Job Ring. This
  47. property is normally set by firmware. Value
  48. is of 12-bits which is the LIODN number for this JR.
  49. This property is used by the IOMMU (PAMU) to distinquish
  50. transactions from this JR and than be able to do address
  51. translation & protection accordingly.
  52. Example:
  53. /* P5020 */
  54. raideng_jq0@1000 {
  55. compatible = "fsl,raideng-v1.0-job-queue";
  56. reg = <0x1000 0x1000>;
  57. ranges = <0x0 0x1000 0x1000>;
  58. raideng_jr0: jr@0 {
  59. compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
  60. reg = <0x0 0x400>;
  61. interrupts = <139 2 0 0>;
  62. interrupt-parent = <&mpic>;
  63. fsl,liodn = <0x41>;
  64. };
  65. };