162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci *  BSD LICENSE
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci *  Copyright(c) 2016-2017 Broadcom.  All rights reserved.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci *  Redistribution and use in source and binary forms, with or without
762306a36Sopenharmony_ci *  modification, are permitted provided that the following conditions
862306a36Sopenharmony_ci *  are met:
962306a36Sopenharmony_ci *
1062306a36Sopenharmony_ci *    * Redistributions of source code must retain the above copyright
1162306a36Sopenharmony_ci *      notice, this list of conditions and the following disclaimer.
1262306a36Sopenharmony_ci *    * Redistributions in binary form must reproduce the above copyright
1362306a36Sopenharmony_ci *      notice, this list of conditions and the following disclaimer in
1462306a36Sopenharmony_ci *      the documentation and/or other materials provided with the
1562306a36Sopenharmony_ci *      distribution.
1662306a36Sopenharmony_ci *    * Neither the name of Broadcom nor the names of its
1762306a36Sopenharmony_ci *      contributors may be used to endorse or promote products derived
1862306a36Sopenharmony_ci *      from this software without specific prior written permission.
1962306a36Sopenharmony_ci *
2062306a36Sopenharmony_ci *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2162306a36Sopenharmony_ci *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2262306a36Sopenharmony_ci *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2362306a36Sopenharmony_ci *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2462306a36Sopenharmony_ci *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2562306a36Sopenharmony_ci *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2662306a36Sopenharmony_ci *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2762306a36Sopenharmony_ci *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2862306a36Sopenharmony_ci *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2962306a36Sopenharmony_ci *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3062306a36Sopenharmony_ci *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3162306a36Sopenharmony_ci */
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci	fs4: fs4 {
3462306a36Sopenharmony_ci		compatible = "simple-bus";
3562306a36Sopenharmony_ci		#address-cells = <1>;
3662306a36Sopenharmony_ci		#size-cells = <1>;
3762306a36Sopenharmony_ci		ranges = <0x0 0x0 0x67000000 0x00800000>;
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci		crypto_mbox: crypto_mbox@0 {
4062306a36Sopenharmony_ci			compatible = "brcm,iproc-flexrm-mbox";
4162306a36Sopenharmony_ci			reg = <0x00000000 0x200000>;
4262306a36Sopenharmony_ci			msi-parent = <&gic_its 0x4100>;
4362306a36Sopenharmony_ci			#mbox-cells = <3>;
4462306a36Sopenharmony_ci			dma-coherent;
4562306a36Sopenharmony_ci		};
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ci		raid_mbox: raid_mbox@400000 {
4862306a36Sopenharmony_ci			compatible = "brcm,iproc-flexrm-mbox";
4962306a36Sopenharmony_ci			reg = <0x00400000 0x200000>;
5062306a36Sopenharmony_ci			dma-coherent;
5162306a36Sopenharmony_ci			msi-parent = <&gic_its 0x4300>;
5262306a36Sopenharmony_ci			#mbox-cells = <3>;
5362306a36Sopenharmony_ci		};
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ci		raid0: raid@0 {
5662306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
5762306a36Sopenharmony_ci			mboxes = <&raid_mbox 0 0x1 0xff00>,
5862306a36Sopenharmony_ci				 <&raid_mbox 1 0x1 0xff00>,
5962306a36Sopenharmony_ci				 <&raid_mbox 2 0x1 0xff00>,
6062306a36Sopenharmony_ci				 <&raid_mbox 3 0x1 0xff00>;
6162306a36Sopenharmony_ci		};
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ci		raid1: raid@1 {
6462306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
6562306a36Sopenharmony_ci			mboxes = <&raid_mbox 4 0x1 0xff00>,
6662306a36Sopenharmony_ci				 <&raid_mbox 5 0x1 0xff00>,
6762306a36Sopenharmony_ci				 <&raid_mbox 6 0x1 0xff00>,
6862306a36Sopenharmony_ci				 <&raid_mbox 7 0x1 0xff00>;
6962306a36Sopenharmony_ci		};
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ci		raid2: raid@2 {
7262306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
7362306a36Sopenharmony_ci			mboxes = <&raid_mbox 8 0x1 0xff00>,
7462306a36Sopenharmony_ci				 <&raid_mbox 9 0x1 0xff00>,
7562306a36Sopenharmony_ci				 <&raid_mbox 10 0x1 0xff00>,
7662306a36Sopenharmony_ci				 <&raid_mbox 11 0x1 0xff00>;
7762306a36Sopenharmony_ci		};
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci		raid3: raid@3 {
8062306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
8162306a36Sopenharmony_ci			mboxes = <&raid_mbox 12 0x1 0xff00>,
8262306a36Sopenharmony_ci				 <&raid_mbox 13 0x1 0xff00>,
8362306a36Sopenharmony_ci				 <&raid_mbox 14 0x1 0xff00>,
8462306a36Sopenharmony_ci				 <&raid_mbox 15 0x1 0xff00>;
8562306a36Sopenharmony_ci		};
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ci		raid4: raid@4 {
8862306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
8962306a36Sopenharmony_ci			mboxes = <&raid_mbox 16 0x1 0xff00>,
9062306a36Sopenharmony_ci				 <&raid_mbox 17 0x1 0xff00>,
9162306a36Sopenharmony_ci				 <&raid_mbox 18 0x1 0xff00>,
9262306a36Sopenharmony_ci				 <&raid_mbox 19 0x1 0xff00>;
9362306a36Sopenharmony_ci		};
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ci		raid5: raid@5 {
9662306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
9762306a36Sopenharmony_ci			mboxes = <&raid_mbox 20 0x1 0xff00>,
9862306a36Sopenharmony_ci				 <&raid_mbox 21 0x1 0xff00>,
9962306a36Sopenharmony_ci				 <&raid_mbox 22 0x1 0xff00>,
10062306a36Sopenharmony_ci				 <&raid_mbox 23 0x1 0xff00>;
10162306a36Sopenharmony_ci		};
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ci		raid6: raid@6 {
10462306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
10562306a36Sopenharmony_ci			mboxes = <&raid_mbox 24 0x1 0xff00>,
10662306a36Sopenharmony_ci				 <&raid_mbox 25 0x1 0xff00>,
10762306a36Sopenharmony_ci				 <&raid_mbox 26 0x1 0xff00>,
10862306a36Sopenharmony_ci				 <&raid_mbox 27 0x1 0xff00>;
10962306a36Sopenharmony_ci		};
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ci		raid7: raid@7 {
11262306a36Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
11362306a36Sopenharmony_ci			mboxes = <&raid_mbox 28 0x1 0xff00>,
11462306a36Sopenharmony_ci				 <&raid_mbox 29 0x1 0xff00>,
11562306a36Sopenharmony_ci				 <&raid_mbox 30 0x1 0xff00>,
11662306a36Sopenharmony_ci				 <&raid_mbox 31 0x1 0xff00>;
11762306a36Sopenharmony_ci		};
11862306a36Sopenharmony_ci	};
119