0001 /*
0002 * QorIQ Sec/Crypto 4.0 device tree stub [ controller @ offset 0x300000 ]
0003 *
0004 * Copyright 2011 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 crypto: crypto@300000 {
0036 compatible = "fsl,sec-v4.0";
0037 fsl,sec-era = <1>;
0038 #address-cells = <1>;
0039 #size-cells = <1>;
0040 reg = <0x300000 0x10000>;
0041 ranges = <0 0x300000 0x10000>;
0042 interrupts = <92 2 0 0>;
0043
0044 sec_jr0: jr@1000 {
0045 compatible = "fsl,sec-v4.0-job-ring";
0046 reg = <0x1000 0x1000>;
0047 interrupts = <88 2 0 0>;
0048 };
0049
0050 sec_jr1: jr@2000 {
0051 compatible = "fsl,sec-v4.0-job-ring";
0052 reg = <0x2000 0x1000>;
0053 interrupts = <89 2 0 0>;
0054 };
0055
0056 sec_jr2: jr@3000 {
0057 compatible = "fsl,sec-v4.0-job-ring";
0058 reg = <0x3000 0x1000>;
0059 interrupts = <90 2 0 0>;
0060 };
0061
0062 sec_jr3: jr@4000 {
0063 compatible = "fsl,sec-v4.0-job-ring";
0064 reg = <0x4000 0x1000>;
0065 interrupts = <91 2 0 0>;
0066 };
0067
0068 rtic@6000 {
0069 compatible = "fsl,sec-v4.0-rtic";
0070 #address-cells = <1>;
0071 #size-cells = <1>;
0072 reg = <0x6000 0x100>;
0073 ranges = <0x0 0x6100 0xe00>;
0074
0075 rtic_a: rtic-a@0 {
0076 compatible = "fsl,sec-v4.0-rtic-memory";
0077 reg = <0x00 0x20 0x100 0x80>;
0078 };
0079
0080 rtic_b: rtic-b@20 {
0081 compatible = "fsl,sec-v4.0-rtic-memory";
0082 reg = <0x20 0x20 0x200 0x80>;
0083 };
0084
0085 rtic_c: rtic-c@40 {
0086 compatible = "fsl,sec-v4.0-rtic-memory";
0087 reg = <0x40 0x20 0x300 0x80>;
0088 };
0089
0090 rtic_d: rtic-d@60 {
0091 compatible = "fsl,sec-v4.0-rtic-memory";
0092 reg = <0x60 0x20 0x500 0x80>;
0093 };
0094 };
0095 };
0096
0097 sec_mon: sec_mon@314000 {
0098 compatible = "fsl,sec-v4.0-mon";
0099 reg = <0x314000 0x1000>;
0100 interrupts = <93 2 0 0>;
0101 };