Back to home page

OSCL-LXR

 
 

    


0001 * Freescale 85xx RAID Engine nodes
0002 
0003 RAID Engine nodes are defined to describe on-chip RAID accelerators.  Each RAID
0004 Engine should have a separate node.
0005 
0006 Supported chips:
0007 P5020, P5040
0008 
0009 Required properties:
0010 
0011 - compatible:   Should contain "fsl,raideng-v1.0" as the value
0012                 This identifies RAID Engine block. 1 in 1.0 represents
0013                 major number whereas 0 represents minor number. The
0014                 version matches the hardware IP version.
0015 - reg:          offset and length of the register set for the device
0016 - ranges:       standard ranges property specifying the translation
0017                 between child address space and parent address space
0018 
0019 Example:
0020         /* P5020 */
0021         raideng: raideng@320000 {
0022                 compatible = "fsl,raideng-v1.0";
0023                 #address-cells = <1>;
0024                 #size-cells = <1>;
0025                 reg     = <0x320000 0x10000>;
0026                 ranges  = <0 0x320000 0x10000>;
0027         };
0028 
0029 
0030 There must be a sub-node for each job queue present in RAID Engine
0031 This node must be a sub-node of the main RAID Engine node
0032 
0033 - compatible:   Should contain "fsl,raideng-v1.0-job-queue" as the value
0034                 This identifies the job queue interface
0035 - reg:          offset and length of the register set for job queue
0036 - ranges:       standard ranges property specifying the translation
0037                 between child address space and parent address space
0038 
0039 Example:
0040         /* P5020 */
0041         raideng_jq0@1000 {
0042                 compatible = "fsl,raideng-v1.0-job-queue";
0043                 reg        = <0x1000 0x1000>;
0044                 ranges     = <0x0 0x1000 0x1000>;
0045         };
0046 
0047 
0048 There must be a sub-node for each job ring present in RAID Engine
0049 This node must be a sub-node of job queue node
0050 
0051 - compatible:   Must contain "fsl,raideng-v1.0-job-ring" as the value
0052                 This identifies job ring. Should contain either
0053                 "fsl,raideng-v1.0-hp-ring" or "fsl,raideng-v1.0-lp-ring"
0054                 depending upon whether ring has high or low priority
0055 - reg:          offset and length of the register set for job ring
0056 - interrupts:   interrupt mapping for job ring IRQ
0057 
0058 Optional property:
0059 
0060 - fsl,liodn:    Specifies the LIODN to be used for Job Ring. This
0061                 property is normally set by firmware. Value
0062                 is of 12-bits which is the LIODN number for this JR.
0063                 This property is used by the IOMMU (PAMU) to distinquish
0064                 transactions from this JR and than be able to do address
0065                 translation & protection accordingly.
0066 
0067 Example:
0068         /* P5020 */
0069         raideng_jq0@1000 {
0070                 compatible = "fsl,raideng-v1.0-job-queue";
0071                 reg        = <0x1000 0x1000>;
0072                 ranges     = <0x0 0x1000 0x1000>;
0073 
0074                 raideng_jr0: jr@0 {
0075                         compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
0076                         reg        = <0x0 0x400>;
0077                         interrupts = <139 2 0 0>;
0078                         interrupt-parent = <&mpic>;
0079                         fsl,liodn = <0x41>;
0080                 };
0081         };