18c2ecf20Sopenharmony_ci* Freescale 85xx RAID Engine nodes
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRAID Engine nodes are defined to describe on-chip RAID accelerators.  Each RAID
48c2ecf20Sopenharmony_ciEngine should have a separate node.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciSupported chips:
78c2ecf20Sopenharmony_ciP5020, P5040
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciRequired properties:
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci- compatible:	Should contain "fsl,raideng-v1.0" as the value
128c2ecf20Sopenharmony_ci		This identifies RAID Engine block. 1 in 1.0 represents
138c2ecf20Sopenharmony_ci		major number whereas 0 represents minor number. The
148c2ecf20Sopenharmony_ci		version matches the hardware IP version.
158c2ecf20Sopenharmony_ci- reg:		offset and length of the register set for the device
168c2ecf20Sopenharmony_ci- ranges:	standard ranges property specifying the translation
178c2ecf20Sopenharmony_ci		between child address space and parent address space
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciExample:
208c2ecf20Sopenharmony_ci	/* P5020 */
218c2ecf20Sopenharmony_ci	raideng: raideng@320000 {
228c2ecf20Sopenharmony_ci		compatible = "fsl,raideng-v1.0";
238c2ecf20Sopenharmony_ci		#address-cells = <1>;
248c2ecf20Sopenharmony_ci		#size-cells = <1>;
258c2ecf20Sopenharmony_ci		reg	= <0x320000 0x10000>;
268c2ecf20Sopenharmony_ci		ranges	= <0 0x320000 0x10000>;
278c2ecf20Sopenharmony_ci	};
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciThere must be a sub-node for each job queue present in RAID Engine
318c2ecf20Sopenharmony_ciThis node must be a sub-node of the main RAID Engine node
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci- compatible:	Should contain "fsl,raideng-v1.0-job-queue" as the value
348c2ecf20Sopenharmony_ci		This identifies the job queue interface
358c2ecf20Sopenharmony_ci- reg:		offset and length of the register set for job queue
368c2ecf20Sopenharmony_ci- ranges:	standard ranges property specifying the translation
378c2ecf20Sopenharmony_ci		between child address space and parent address space
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciExample:
408c2ecf20Sopenharmony_ci	/* P5020 */
418c2ecf20Sopenharmony_ci	raideng_jq0@1000 {
428c2ecf20Sopenharmony_ci		compatible = "fsl,raideng-v1.0-job-queue";
438c2ecf20Sopenharmony_ci		reg	   = <0x1000 0x1000>;
448c2ecf20Sopenharmony_ci		ranges	   = <0x0 0x1000 0x1000>;
458c2ecf20Sopenharmony_ci	};
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciThere must be a sub-node for each job ring present in RAID Engine
498c2ecf20Sopenharmony_ciThis node must be a sub-node of job queue node
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci- compatible:	Must contain "fsl,raideng-v1.0-job-ring" as the value
528c2ecf20Sopenharmony_ci		This identifies job ring. Should contain either
538c2ecf20Sopenharmony_ci		"fsl,raideng-v1.0-hp-ring" or "fsl,raideng-v1.0-lp-ring"
548c2ecf20Sopenharmony_ci		depending upon whether ring has high or low priority
558c2ecf20Sopenharmony_ci- reg:		offset and length of the register set for job ring
568c2ecf20Sopenharmony_ci- interrupts:	interrupt mapping for job ring IRQ
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciOptional property:
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci- fsl,liodn:	Specifies the LIODN to be used for Job Ring. This
618c2ecf20Sopenharmony_ci		property is normally set by firmware. Value
628c2ecf20Sopenharmony_ci		is of 12-bits which is the LIODN number for this JR.
638c2ecf20Sopenharmony_ci		This property is used by the IOMMU (PAMU) to distinquish
648c2ecf20Sopenharmony_ci		transactions from this JR and than be able to do address
658c2ecf20Sopenharmony_ci		translation & protection accordingly.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciExample:
688c2ecf20Sopenharmony_ci	/* P5020 */
698c2ecf20Sopenharmony_ci	raideng_jq0@1000 {
708c2ecf20Sopenharmony_ci		compatible = "fsl,raideng-v1.0-job-queue";
718c2ecf20Sopenharmony_ci		reg	   = <0x1000 0x1000>;
728c2ecf20Sopenharmony_ci		ranges	   = <0x0 0x1000 0x1000>;
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci		raideng_jr0: jr@0 {
758c2ecf20Sopenharmony_ci			compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
768c2ecf20Sopenharmony_ci			reg	   = <0x0 0x400>;
778c2ecf20Sopenharmony_ci			interrupts = <139 2 0 0>;
788c2ecf20Sopenharmony_ci			interrupt-parent = <&mpic>;
798c2ecf20Sopenharmony_ci			fsl,liodn = <0x41>;
808c2ecf20Sopenharmony_ci		};
818c2ecf20Sopenharmony_ci	};
82