1c6e95598SAnup Patel/*
2c6e95598SAnup Patel *  BSD LICENSE
3c6e95598SAnup Patel *
4c6e95598SAnup Patel *  Copyright(c) 2016-2017 Broadcom.  All rights reserved.
5c6e95598SAnup Patel *
6c6e95598SAnup Patel *  Redistribution and use in source and binary forms, with or without
7c6e95598SAnup Patel *  modification, are permitted provided that the following conditions
8c6e95598SAnup Patel *  are met:
9c6e95598SAnup Patel *
10c6e95598SAnup Patel *    * Redistributions of source code must retain the above copyright
11c6e95598SAnup Patel *      notice, this list of conditions and the following disclaimer.
12c6e95598SAnup Patel *    * Redistributions in binary form must reproduce the above copyright
13c6e95598SAnup Patel *      notice, this list of conditions and the following disclaimer in
14c6e95598SAnup Patel *      the documentation and/or other materials provided with the
15c6e95598SAnup Patel *      distribution.
16c6e95598SAnup Patel *    * Neither the name of Broadcom nor the names of its
17c6e95598SAnup Patel *      contributors may be used to endorse or promote products derived
18c6e95598SAnup Patel *      from this software without specific prior written permission.
19c6e95598SAnup Patel *
20c6e95598SAnup Patel *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21c6e95598SAnup Patel *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22c6e95598SAnup Patel *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23c6e95598SAnup Patel *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24c6e95598SAnup Patel *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25c6e95598SAnup Patel *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26c6e95598SAnup Patel *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27c6e95598SAnup Patel *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28c6e95598SAnup Patel *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29c6e95598SAnup Patel *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30c6e95598SAnup Patel *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31c6e95598SAnup Patel */
32c6e95598SAnup Patel
33c6e95598SAnup Patel	fs4: fs4 {
34c6e95598SAnup Patel		compatible = "simple-bus";
35c6e95598SAnup Patel		#address-cells = <1>;
36c6e95598SAnup Patel		#size-cells = <1>;
37c6e95598SAnup Patel		ranges = <0x0 0x0 0x67000000 0x00800000>;
38c6e95598SAnup Patel
39d8bcaabeSRob Herring		crypto_mbox: crypto_mbox@0 {
40c6e95598SAnup Patel			compatible = "brcm,iproc-flexrm-mbox";
41c6e95598SAnup Patel			reg = <0x00000000 0x200000>;
42c6e95598SAnup Patel			msi-parent = <&gic_its 0x4100>;
43c6e95598SAnup Patel			#mbox-cells = <3>;
44c6e95598SAnup Patel			dma-coherent;
45c6e95598SAnup Patel		};
46c6e95598SAnup Patel
47d8bcaabeSRob Herring		raid_mbox: raid_mbox@400000 {
48c6e95598SAnup Patel			compatible = "brcm,iproc-flexrm-mbox";
49c6e95598SAnup Patel			reg = <0x00400000 0x200000>;
50c6e95598SAnup Patel			dma-coherent;
51c6e95598SAnup Patel			msi-parent = <&gic_its 0x4300>;
52c6e95598SAnup Patel			#mbox-cells = <3>;
53c6e95598SAnup Patel		};
5463b2ff6aSAnup Patel
5563b2ff6aSAnup Patel		raid0: raid@0 {
5663b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
5763b2ff6aSAnup Patel			mboxes = <&raid_mbox 0 0x1 0xff00>,
5863b2ff6aSAnup Patel				 <&raid_mbox 1 0x1 0xff00>,
5963b2ff6aSAnup Patel				 <&raid_mbox 2 0x1 0xff00>,
6063b2ff6aSAnup Patel				 <&raid_mbox 3 0x1 0xff00>;
6163b2ff6aSAnup Patel		};
6263b2ff6aSAnup Patel
6363b2ff6aSAnup Patel		raid1: raid@1 {
6463b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
6563b2ff6aSAnup Patel			mboxes = <&raid_mbox 4 0x1 0xff00>,
6663b2ff6aSAnup Patel				 <&raid_mbox 5 0x1 0xff00>,
6763b2ff6aSAnup Patel				 <&raid_mbox 6 0x1 0xff00>,
6863b2ff6aSAnup Patel				 <&raid_mbox 7 0x1 0xff00>;
6963b2ff6aSAnup Patel		};
7063b2ff6aSAnup Patel
7163b2ff6aSAnup Patel		raid2: raid@2 {
7263b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
7363b2ff6aSAnup Patel			mboxes = <&raid_mbox 8 0x1 0xff00>,
7463b2ff6aSAnup Patel				 <&raid_mbox 9 0x1 0xff00>,
7563b2ff6aSAnup Patel				 <&raid_mbox 10 0x1 0xff00>,
7663b2ff6aSAnup Patel				 <&raid_mbox 11 0x1 0xff00>;
7763b2ff6aSAnup Patel		};
7863b2ff6aSAnup Patel
7963b2ff6aSAnup Patel		raid3: raid@3 {
8063b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
8163b2ff6aSAnup Patel			mboxes = <&raid_mbox 12 0x1 0xff00>,
8263b2ff6aSAnup Patel				 <&raid_mbox 13 0x1 0xff00>,
8363b2ff6aSAnup Patel				 <&raid_mbox 14 0x1 0xff00>,
8463b2ff6aSAnup Patel				 <&raid_mbox 15 0x1 0xff00>;
8563b2ff6aSAnup Patel		};
8663b2ff6aSAnup Patel
8763b2ff6aSAnup Patel		raid4: raid@4 {
8863b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
8963b2ff6aSAnup Patel			mboxes = <&raid_mbox 16 0x1 0xff00>,
9063b2ff6aSAnup Patel				 <&raid_mbox 17 0x1 0xff00>,
9163b2ff6aSAnup Patel				 <&raid_mbox 18 0x1 0xff00>,
9263b2ff6aSAnup Patel				 <&raid_mbox 19 0x1 0xff00>;
9363b2ff6aSAnup Patel		};
9463b2ff6aSAnup Patel
9563b2ff6aSAnup Patel		raid5: raid@5 {
9663b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
9763b2ff6aSAnup Patel			mboxes = <&raid_mbox 20 0x1 0xff00>,
9863b2ff6aSAnup Patel				 <&raid_mbox 21 0x1 0xff00>,
9963b2ff6aSAnup Patel				 <&raid_mbox 22 0x1 0xff00>,
10063b2ff6aSAnup Patel				 <&raid_mbox 23 0x1 0xff00>;
10163b2ff6aSAnup Patel		};
10263b2ff6aSAnup Patel
10363b2ff6aSAnup Patel		raid6: raid@6 {
10463b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
10563b2ff6aSAnup Patel			mboxes = <&raid_mbox 24 0x1 0xff00>,
10663b2ff6aSAnup Patel				 <&raid_mbox 25 0x1 0xff00>,
10763b2ff6aSAnup Patel				 <&raid_mbox 26 0x1 0xff00>,
10863b2ff6aSAnup Patel				 <&raid_mbox 27 0x1 0xff00>;
10963b2ff6aSAnup Patel		};
11063b2ff6aSAnup Patel
11163b2ff6aSAnup Patel		raid7: raid@7 {
11263b2ff6aSAnup Patel			compatible = "brcm,iproc-sba-v2";
11363b2ff6aSAnup Patel			mboxes = <&raid_mbox 28 0x1 0xff00>,
11463b2ff6aSAnup Patel				 <&raid_mbox 29 0x1 0xff00>,
11563b2ff6aSAnup Patel				 <&raid_mbox 30 0x1 0xff00>,
11663b2ff6aSAnup Patel				 <&raid_mbox 31 0x1 0xff00>;
11763b2ff6aSAnup Patel		};
118c6e95598SAnup Patel	};
119