18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci *  BSD LICENSE
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci *  Copyright(c) 2016-2017 Broadcom.  All rights reserved.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci *  Redistribution and use in source and binary forms, with or without
78c2ecf20Sopenharmony_ci *  modification, are permitted provided that the following conditions
88c2ecf20Sopenharmony_ci *  are met:
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci *    * Redistributions of source code must retain the above copyright
118c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer.
128c2ecf20Sopenharmony_ci *    * Redistributions in binary form must reproduce the above copyright
138c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer in
148c2ecf20Sopenharmony_ci *      the documentation and/or other materials provided with the
158c2ecf20Sopenharmony_ci *      distribution.
168c2ecf20Sopenharmony_ci *    * Neither the name of Broadcom nor the names of its
178c2ecf20Sopenharmony_ci *      contributors may be used to endorse or promote products derived
188c2ecf20Sopenharmony_ci *      from this software without specific prior written permission.
198c2ecf20Sopenharmony_ci *
208c2ecf20Sopenharmony_ci *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
218c2ecf20Sopenharmony_ci *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
228c2ecf20Sopenharmony_ci *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
238c2ecf20Sopenharmony_ci *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
248c2ecf20Sopenharmony_ci *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
258c2ecf20Sopenharmony_ci *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
268c2ecf20Sopenharmony_ci *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
278c2ecf20Sopenharmony_ci *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
288c2ecf20Sopenharmony_ci *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
298c2ecf20Sopenharmony_ci *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
308c2ecf20Sopenharmony_ci *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
318c2ecf20Sopenharmony_ci */
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	fs4: fs4 {
348c2ecf20Sopenharmony_ci		compatible = "simple-bus";
358c2ecf20Sopenharmony_ci		#address-cells = <1>;
368c2ecf20Sopenharmony_ci		#size-cells = <1>;
378c2ecf20Sopenharmony_ci		ranges = <0x0 0x0 0x67000000 0x00800000>;
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci		crypto_mbox: crypto_mbox@0 {
408c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-flexrm-mbox";
418c2ecf20Sopenharmony_ci			reg = <0x00000000 0x200000>;
428c2ecf20Sopenharmony_ci			msi-parent = <&gic_its 0x4100>;
438c2ecf20Sopenharmony_ci			#mbox-cells = <3>;
448c2ecf20Sopenharmony_ci			dma-coherent;
458c2ecf20Sopenharmony_ci		};
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci		raid_mbox: raid_mbox@400000 {
488c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-flexrm-mbox";
498c2ecf20Sopenharmony_ci			reg = <0x00400000 0x200000>;
508c2ecf20Sopenharmony_ci			dma-coherent;
518c2ecf20Sopenharmony_ci			msi-parent = <&gic_its 0x4300>;
528c2ecf20Sopenharmony_ci			#mbox-cells = <3>;
538c2ecf20Sopenharmony_ci		};
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci		raid0: raid@0 {
568c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
578c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 0 0x1 0xff00>,
588c2ecf20Sopenharmony_ci				 <&raid_mbox 1 0x1 0xff00>,
598c2ecf20Sopenharmony_ci				 <&raid_mbox 2 0x1 0xff00>,
608c2ecf20Sopenharmony_ci				 <&raid_mbox 3 0x1 0xff00>;
618c2ecf20Sopenharmony_ci		};
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci		raid1: raid@1 {
648c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
658c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 4 0x1 0xff00>,
668c2ecf20Sopenharmony_ci				 <&raid_mbox 5 0x1 0xff00>,
678c2ecf20Sopenharmony_ci				 <&raid_mbox 6 0x1 0xff00>,
688c2ecf20Sopenharmony_ci				 <&raid_mbox 7 0x1 0xff00>;
698c2ecf20Sopenharmony_ci		};
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci		raid2: raid@2 {
728c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
738c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 8 0x1 0xff00>,
748c2ecf20Sopenharmony_ci				 <&raid_mbox 9 0x1 0xff00>,
758c2ecf20Sopenharmony_ci				 <&raid_mbox 10 0x1 0xff00>,
768c2ecf20Sopenharmony_ci				 <&raid_mbox 11 0x1 0xff00>;
778c2ecf20Sopenharmony_ci		};
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci		raid3: raid@3 {
808c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
818c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 12 0x1 0xff00>,
828c2ecf20Sopenharmony_ci				 <&raid_mbox 13 0x1 0xff00>,
838c2ecf20Sopenharmony_ci				 <&raid_mbox 14 0x1 0xff00>,
848c2ecf20Sopenharmony_ci				 <&raid_mbox 15 0x1 0xff00>;
858c2ecf20Sopenharmony_ci		};
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_ci		raid4: raid@4 {
888c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
898c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 16 0x1 0xff00>,
908c2ecf20Sopenharmony_ci				 <&raid_mbox 17 0x1 0xff00>,
918c2ecf20Sopenharmony_ci				 <&raid_mbox 18 0x1 0xff00>,
928c2ecf20Sopenharmony_ci				 <&raid_mbox 19 0x1 0xff00>;
938c2ecf20Sopenharmony_ci		};
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ci		raid5: raid@5 {
968c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
978c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 20 0x1 0xff00>,
988c2ecf20Sopenharmony_ci				 <&raid_mbox 21 0x1 0xff00>,
998c2ecf20Sopenharmony_ci				 <&raid_mbox 22 0x1 0xff00>,
1008c2ecf20Sopenharmony_ci				 <&raid_mbox 23 0x1 0xff00>;
1018c2ecf20Sopenharmony_ci		};
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ci		raid6: raid@6 {
1048c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
1058c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 24 0x1 0xff00>,
1068c2ecf20Sopenharmony_ci				 <&raid_mbox 25 0x1 0xff00>,
1078c2ecf20Sopenharmony_ci				 <&raid_mbox 26 0x1 0xff00>,
1088c2ecf20Sopenharmony_ci				 <&raid_mbox 27 0x1 0xff00>;
1098c2ecf20Sopenharmony_ci		};
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ci		raid7: raid@7 {
1128c2ecf20Sopenharmony_ci			compatible = "brcm,iproc-sba-v2";
1138c2ecf20Sopenharmony_ci			mboxes = <&raid_mbox 28 0x1 0xff00>,
1148c2ecf20Sopenharmony_ci				 <&raid_mbox 29 0x1 0xff00>,
1158c2ecf20Sopenharmony_ci				 <&raid_mbox 30 0x1 0xff00>,
1168c2ecf20Sopenharmony_ci				 <&raid_mbox 31 0x1 0xff00>;
1178c2ecf20Sopenharmony_ci		};
1188c2ecf20Sopenharmony_ci	};
119