0001 /*
0002 * BSD LICENSE
0003 *
0004 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
0005 *
0006 * Redistribution and use in source and binary forms, with or without
0007 * modification, are permitted provided that the following conditions
0008 * are met:
0009 *
0010 * * Redistributions of source code must retain the above copyright
0011 * notice, this list of conditions and the following disclaimer.
0012 * * Redistributions in binary form must reproduce the above copyright
0013 * notice, this list of conditions and the following disclaimer in
0014 * the documentation and/or other materials provided with the
0015 * distribution.
0016 * * Neither the name of Broadcom nor the names of its
0017 * contributors may be used to endorse or promote products derived
0018 * from this software without specific prior written permission.
0019 *
0020 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
0021 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
0022 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
0023 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
0024 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
0025 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
0026 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
0027 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
0028 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0029 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
0030 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0031 */
0032
0033 fs4: fs4 {
0034 compatible = "simple-bus";
0035 #address-cells = <1>;
0036 #size-cells = <1>;
0037 ranges = <0x0 0x0 0x67000000 0x00800000>;
0038
0039 crypto_mbox: crypto_mbox@0 {
0040 compatible = "brcm,iproc-flexrm-mbox";
0041 reg = <0x00000000 0x200000>;
0042 msi-parent = <&gic_its 0x4100>;
0043 #mbox-cells = <3>;
0044 dma-coherent;
0045 };
0046
0047 raid_mbox: raid_mbox@400000 {
0048 compatible = "brcm,iproc-flexrm-mbox";
0049 reg = <0x00400000 0x200000>;
0050 dma-coherent;
0051 msi-parent = <&gic_its 0x4300>;
0052 #mbox-cells = <3>;
0053 };
0054
0055 raid0: raid@0 {
0056 compatible = "brcm,iproc-sba-v2";
0057 mboxes = <&raid_mbox 0 0x1 0xff00>,
0058 <&raid_mbox 1 0x1 0xff00>,
0059 <&raid_mbox 2 0x1 0xff00>,
0060 <&raid_mbox 3 0x1 0xff00>;
0061 };
0062
0063 raid1: raid@1 {
0064 compatible = "brcm,iproc-sba-v2";
0065 mboxes = <&raid_mbox 4 0x1 0xff00>,
0066 <&raid_mbox 5 0x1 0xff00>,
0067 <&raid_mbox 6 0x1 0xff00>,
0068 <&raid_mbox 7 0x1 0xff00>;
0069 };
0070
0071 raid2: raid@2 {
0072 compatible = "brcm,iproc-sba-v2";
0073 mboxes = <&raid_mbox 8 0x1 0xff00>,
0074 <&raid_mbox 9 0x1 0xff00>,
0075 <&raid_mbox 10 0x1 0xff00>,
0076 <&raid_mbox 11 0x1 0xff00>;
0077 };
0078
0079 raid3: raid@3 {
0080 compatible = "brcm,iproc-sba-v2";
0081 mboxes = <&raid_mbox 12 0x1 0xff00>,
0082 <&raid_mbox 13 0x1 0xff00>,
0083 <&raid_mbox 14 0x1 0xff00>,
0084 <&raid_mbox 15 0x1 0xff00>;
0085 };
0086
0087 raid4: raid@4 {
0088 compatible = "brcm,iproc-sba-v2";
0089 mboxes = <&raid_mbox 16 0x1 0xff00>,
0090 <&raid_mbox 17 0x1 0xff00>,
0091 <&raid_mbox 18 0x1 0xff00>,
0092 <&raid_mbox 19 0x1 0xff00>;
0093 };
0094
0095 raid5: raid@5 {
0096 compatible = "brcm,iproc-sba-v2";
0097 mboxes = <&raid_mbox 20 0x1 0xff00>,
0098 <&raid_mbox 21 0x1 0xff00>,
0099 <&raid_mbox 22 0x1 0xff00>,
0100 <&raid_mbox 23 0x1 0xff00>;
0101 };
0102
0103 raid6: raid@6 {
0104 compatible = "brcm,iproc-sba-v2";
0105 mboxes = <&raid_mbox 24 0x1 0xff00>,
0106 <&raid_mbox 25 0x1 0xff00>,
0107 <&raid_mbox 26 0x1 0xff00>,
0108 <&raid_mbox 27 0x1 0xff00>;
0109 };
0110
0111 raid7: raid@7 {
0112 compatible = "brcm,iproc-sba-v2";
0113 mboxes = <&raid_mbox 28 0x1 0xff00>,
0114 <&raid_mbox 29 0x1 0xff00>,
0115 <&raid_mbox 30 0x1 0xff00>,
0116 <&raid_mbox 31 0x1 0xff00>;
0117 };
0118 };