11723d909SXuelin Shi/*
21723d909SXuelin Shi * QorIQ RAID 1.0 device tree stub [ controller @ offset 0x320000 ]
31723d909SXuelin Shi *
41723d909SXuelin Shi * Copyright 2012 Freescale Semiconductor Inc.
51723d909SXuelin Shi *
61723d909SXuelin Shi * Redistribution and use in source and binary forms, with or without
71723d909SXuelin Shi * modification, are permitted provided that the following conditions are met:
81723d909SXuelin Shi *     * Redistributions of source code must retain the above copyright
91723d909SXuelin Shi *       notice, this list of conditions and the following disclaimer.
101723d909SXuelin Shi *     * Redistributions in binary form must reproduce the above copyright
111723d909SXuelin Shi *       notice, this list of conditions and the following disclaimer in the
121723d909SXuelin Shi *       documentation and/or other materials provided with the distribution.
131723d909SXuelin Shi *     * Neither the name of Freescale Semiconductor nor the
141723d909SXuelin Shi *       names of its contributors may be used to endorse or promote products
151723d909SXuelin Shi *       derived from this software without specific prior written permission.
161723d909SXuelin Shi *
171723d909SXuelin Shi *
181723d909SXuelin Shi * ALTERNATIVELY, this software may be distributed under the terms of the
191723d909SXuelin Shi * GNU General Public License ("GPL") as published by the Free Software
201723d909SXuelin Shi * Foundation, either version 2 of that License or (at your option) any
211723d909SXuelin Shi * later version.
221723d909SXuelin Shi *
231723d909SXuelin Shi * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
241723d909SXuelin Shi * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
251723d909SXuelin Shi * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
261723d909SXuelin Shi * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
271723d909SXuelin Shi * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
281723d909SXuelin Shi * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
291723d909SXuelin Shi * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
301723d909SXuelin Shi * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
311723d909SXuelin Shi * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
321723d909SXuelin Shi * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
331723d909SXuelin Shi */
341723d909SXuelin Shi
351723d909SXuelin Shiraideng: raideng@320000 {
361723d909SXuelin Shi	compatible = "fsl,raideng-v1.0";
371723d909SXuelin Shi	#address-cells = <1>;
381723d909SXuelin Shi	#size-cells = <1>;
391723d909SXuelin Shi	reg = <0x320000 0x10000>;
401723d909SXuelin Shi	ranges = <0 0x320000 0x10000>;
411723d909SXuelin Shi
421723d909SXuelin Shi	raideng_jq0@1000 {
431723d909SXuelin Shi		compatible = "fsl,raideng-v1.0-job-queue";
441723d909SXuelin Shi		#address-cells = <1>;
451723d909SXuelin Shi		#size-cells = <1>;
461723d909SXuelin Shi		reg = <0x1000 0x1000>;
471723d909SXuelin Shi		ranges = <0x0 0x1000 0x1000>;
481723d909SXuelin Shi
491723d909SXuelin Shi		raideng_jr0: jr@0 {
501723d909SXuelin Shi			compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
511723d909SXuelin Shi			reg = <0x0 0x400>;
521723d909SXuelin Shi			interrupts = <139 2 0 0>;
531723d909SXuelin Shi			interrupt-parent = <&mpic>;
541723d909SXuelin Shi		};
551723d909SXuelin Shi
561723d909SXuelin Shi		raideng_jr1: jr@400 {
571723d909SXuelin Shi			compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-lp-ring";
581723d909SXuelin Shi			reg = <0x400 0x400>;
591723d909SXuelin Shi			interrupts = <140 2 0 0>;
601723d909SXuelin Shi			interrupt-parent = <&mpic>;
611723d909SXuelin Shi		};
621723d909SXuelin Shi	};
631723d909SXuelin Shi
641723d909SXuelin Shi	raideng_jq1@2000 {
651723d909SXuelin Shi		compatible = "fsl,raideng-v1.0-job-queue";
661723d909SXuelin Shi		#address-cells = <1>;
671723d909SXuelin Shi		#size-cells = <1>;
681723d909SXuelin Shi		reg = <0x2000 0x1000>;
691723d909SXuelin Shi		ranges = <0x0 0x2000 0x1000>;
701723d909SXuelin Shi
711723d909SXuelin Shi		raideng_jr2: jr@0 {
721723d909SXuelin Shi			compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
731723d909SXuelin Shi			reg = <0x0 0x400>;
741723d909SXuelin Shi			interrupts = <141 2 0 0>;
751723d909SXuelin Shi			interrupt-parent = <&mpic>;
761723d909SXuelin Shi		};
771723d909SXuelin Shi
781723d909SXuelin Shi		raideng_jr3: jr@400 {
791723d909SXuelin Shi			compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-lp-ring";
801723d909SXuelin Shi			reg = <0x400 0x400>;
811723d909SXuelin Shi			interrupts = <142 2 0 0>;
821723d909SXuelin Shi			interrupt-parent = <&mpic>;
831723d909SXuelin Shi		};
841723d909SXuelin Shi	};
851723d909SXuelin Shi};
86