Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * QorIQ RAID 1.0 device tree stub [ controller @ offset 0x320000 ]
0003  *
0004  * Copyright 2012 Freescale Semiconductor Inc.
0005  *
0006  * Redistribution and use in source and binary forms, with or without
0007  * modification, are permitted provided that the following conditions are met:
0008  *     * Redistributions of source code must retain the above copyright
0009  *       notice, this list of conditions and the following disclaimer.
0010  *     * Redistributions in binary form must reproduce the above copyright
0011  *       notice, this list of conditions and the following disclaimer in the
0012  *       documentation and/or other materials provided with the distribution.
0013  *     * Neither the name of Freescale Semiconductor nor the
0014  *       names of its contributors may be used to endorse or promote products
0015  *       derived from this software without specific prior written permission.
0016  *
0017  *
0018  * ALTERNATIVELY, this software may be distributed under the terms of the
0019  * GNU General Public License ("GPL") as published by the Free Software
0020  * Foundation, either version 2 of that License or (at your option) any
0021  * later version.
0022  *
0023  * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
0024  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
0025  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
0026  * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
0027  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
0028  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
0029  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
0030  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0031  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
0032  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0033  */
0034 
0035 raideng: raideng@320000 {
0036         compatible = "fsl,raideng-v1.0";
0037         #address-cells = <1>;
0038         #size-cells = <1>;
0039         reg = <0x320000 0x10000>;
0040         ranges = <0 0x320000 0x10000>;
0041 
0042         raideng_jq0@1000 {
0043                 compatible = "fsl,raideng-v1.0-job-queue";
0044                 #address-cells = <1>;
0045                 #size-cells = <1>;
0046                 reg = <0x1000 0x1000>;
0047                 ranges = <0x0 0x1000 0x1000>;
0048 
0049                 raideng_jr0: jr@0 {
0050                         compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
0051                         reg = <0x0 0x400>;
0052                         interrupts = <139 2 0 0>;
0053                         interrupt-parent = <&mpic>;
0054                 };
0055 
0056                 raideng_jr1: jr@400 {
0057                         compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-lp-ring";
0058                         reg = <0x400 0x400>;
0059                         interrupts = <140 2 0 0>;
0060                         interrupt-parent = <&mpic>;
0061                 };
0062         };
0063 
0064         raideng_jq1@2000 {
0065                 compatible = "fsl,raideng-v1.0-job-queue";
0066                 #address-cells = <1>;
0067                 #size-cells = <1>;
0068                 reg = <0x2000 0x1000>;
0069                 ranges = <0x0 0x2000 0x1000>;
0070 
0071                 raideng_jr2: jr@0 {
0072                         compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-hp-ring";
0073                         reg = <0x0 0x400>;
0074                         interrupts = <141 2 0 0>;
0075                         interrupt-parent = <&mpic>;
0076                 };
0077 
0078                 raideng_jr3: jr@400 {
0079                         compatible = "fsl,raideng-v1.0-job-ring", "fsl,raideng-v1.0-lp-ring";
0080                         reg = <0x400 0x400>;
0081                         interrupts = <142 2 0 0>;
0082                         interrupt-parent = <&mpic>;
0083                 };
0084         };
0085 };