162306a36Sopenharmony_ci* Freescale 85xx RAID Engine nodes 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRAID Engine nodes are defined to describe on-chip RAID accelerators. Each RAID 462306a36Sopenharmony_ciEngine should have a separate node. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciSupported chips: 762306a36Sopenharmony_ciP5020, P5040 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciRequired properties: 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci- compatible: Should contain "fsl,raideng-v1.0" as the value 1262306a36Sopenharmony_ci This identifies RAID Engine block. 1 in 1.0 represents 1362306a36Sopenharmony_ci major number whereas 0 represents minor number. The 1462306a36Sopenharmony_ci version matches the hardware IP version. 1562306a36Sopenharmony_ci- reg: offset and length of the register set for the device 1662306a36Sopenharmony_ci- ranges: standard ranges property specifying the translation 1762306a36Sopenharmony_ci between child address space and parent address space 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciExample: 2062306a36Sopenharmony_ci /* P5020 */ 2162306a36Sopenharmony_ci raideng: raideng@320000 { 2262306a36Sopenharmony_ci compatible = "fsl,raideng-v1.0"; 2362306a36Sopenharmony_ci #address-cells = <1>; 2462306a36Sopenharmony_ci #size-cells = <1>; 2562306a36Sopenharmony_ci reg = <0x320000 0x10000>; 2662306a36Sopenharmony_ci ranges = <0 0x320000 0x10000>; 2762306a36Sopenharmony_ci }; 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ciThere must be a sub-node for each job queue present in RAID Engine 3162306a36Sopenharmony_ciThis node must be a sub-node of the main RAID Engine node 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci- compatible: Should contain "fsl,raideng-v1.0-job-queue" as the value 3462306a36Sopenharmony_ci This identifies the job queue interface 3562306a36Sopenharmony_ci- reg: offset and length of the register set for job queue 3662306a36Sopenharmony_ci- ranges: standard ranges property specifying the translation 3762306a36Sopenharmony_ci between child address space and parent address space 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciExample: 4062306a36Sopenharmony_ci /* P5020 */ 4162306a36Sopenharmony_ci raideng_jq0@1000 { 4262306a36Sopenharmony_ci compatible = "fsl,raideng-v1.0-job-queue"; 4362306a36Sopenharmony_ci reg = <0x1000 0x1000>; 4462306a36Sopenharmony_ci ranges = <0x0 0x1000 0x1000>; 4562306a36Sopenharmony_ci }; 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ciThere must be a sub-node for each job ring present in RAID Engine 4962306a36Sopenharmony_ciThis node must be a sub-node of job queue node 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci- compatible: Must contain "fsl,raideng-v1.0-job-ring" as the value 5262306a36Sopenharmony_ci This identifies job ring. Should contain either 5362306a36Sopenharmony_ci "fsl,raideng-v1.0-hp-ring" or "fsl,raideng-v1.0-lp-ring" 5462306a36Sopenharmony_ci depending upon whether ring has high or low priority 5562306a36Sopenharmony_ci- reg: offset and length of the register set for job ring 5662306a36Sopenharmony_ci- interrupts: interrupt mapping for job ring IRQ 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ciOptional property: 5962306a36Sopenharmony_ci 6062306a36Sopenharmony_ci- fsl,liodn: Specifies the LIODN to be used for Job Ring. This 6162306a36Sopenharmony_ci property is normally set by firmware. Value 6262306a36Sopenharmony_ci is of 12-bits which is the LIODN number for this JR. 6362306a36Sopenharmony_ci This property is used by the IOMMU (PAMU) to distinguish 6462306a36Sopenharmony_ci transactions from this JR and than be able to do address 6562306a36Sopenharmony_ci translation & protection accordingly. 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ciExample: 6862306a36Sopenharmony_ci /* P5020 */ 6962306a36Sopenharmony_ci raideng_jq0@1000 { 7062306a36Sopenharmony_ci compatible = "fsl,raideng-v1.0-job-queue"; 7162306a36Sopenharmony_ci reg = <0x1000 0x1000>; 7262306a36Sopenharmony_ci ranges = <0x0 0x1000 0x1000>; 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ci raideng_jr0: jr@0 { 7562306a36Sopenharmony_ci compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring"; 7662306a36Sopenharmony_ci reg = <0x0 0x400>; 7762306a36Sopenharmony_ci interrupts = <139 2 0 0>; 7862306a36Sopenharmony_ci interrupt-parent = <&mpic>; 7962306a36Sopenharmony_ci fsl,liodn = <0x41>; 8062306a36Sopenharmony_ci }; 8162306a36Sopenharmony_ci }; 82