xref: /linux/arch/arm64/boot/dts/broadcom/stingray/stingray-fs4.dtsi (revision 6589b3d76db2d6adbf8f2084c303fb24252a0dc6)
1/*
2 *  BSD LICENSE
3 *
4 *  Copyright(c) 2016-2017 Broadcom.  All rights reserved.
5 *
6 *  Redistribution and use in source and binary forms, with or without
7 *  modification, are permitted provided that the following conditions
8 *  are met:
9 *
10 *    * Redistributions of source code must retain the above copyright
11 *      notice, this list of conditions and the following disclaimer.
12 *    * Redistributions in binary form must reproduce the above copyright
13 *      notice, this list of conditions and the following disclaimer in
14 *      the documentation and/or other materials provided with the
15 *      distribution.
16 *    * Neither the name of Broadcom nor the names of its
17 *      contributors may be used to endorse or promote products derived
18 *      from this software without specific prior written permission.
19 *
20 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33	fs4: fs4-bus@67000000 {
34		compatible = "simple-bus";
35		#address-cells = <1>;
36		#size-cells = <1>;
37		ranges = <0x0 0x0 0x67000000 0x00800000>;
38
39		crypto_mbox: crypto_mbox@0 {
40			compatible = "brcm,iproc-flexrm-mbox";
41			reg = <0x00000000 0x200000>;
42			msi-parent = <&gic_its 0x4100>;
43			#mbox-cells = <3>;
44			dma-coherent;
45		};
46
47		raid_mbox: raid_mbox@400000 {
48			compatible = "brcm,iproc-flexrm-mbox";
49			reg = <0x00400000 0x200000>;
50			dma-coherent;
51			msi-parent = <&gic_its 0x4300>;
52			#mbox-cells = <3>;
53		};
54	};
55
56	raid0: raid-0 {
57		compatible = "brcm,iproc-sba-v2";
58		mboxes = <&raid_mbox 0 0x1 0xff00>,
59			 <&raid_mbox 1 0x1 0xff00>,
60			 <&raid_mbox 2 0x1 0xff00>,
61			 <&raid_mbox 3 0x1 0xff00>;
62	};
63
64	raid1: raid-1 {
65		compatible = "brcm,iproc-sba-v2";
66		mboxes = <&raid_mbox 4 0x1 0xff00>,
67			 <&raid_mbox 5 0x1 0xff00>,
68			 <&raid_mbox 6 0x1 0xff00>,
69			 <&raid_mbox 7 0x1 0xff00>;
70	};
71
72	raid2: raid-2 {
73		compatible = "brcm,iproc-sba-v2";
74		mboxes = <&raid_mbox 8 0x1 0xff00>,
75			 <&raid_mbox 9 0x1 0xff00>,
76			 <&raid_mbox 10 0x1 0xff00>,
77			 <&raid_mbox 11 0x1 0xff00>;
78	};
79
80	raid3: raid-3 {
81		compatible = "brcm,iproc-sba-v2";
82		mboxes = <&raid_mbox 12 0x1 0xff00>,
83			 <&raid_mbox 13 0x1 0xff00>,
84			 <&raid_mbox 14 0x1 0xff00>,
85			 <&raid_mbox 15 0x1 0xff00>;
86	};
87
88	raid4: raid-4 {
89		compatible = "brcm,iproc-sba-v2";
90		mboxes = <&raid_mbox 16 0x1 0xff00>,
91			 <&raid_mbox 17 0x1 0xff00>,
92			 <&raid_mbox 18 0x1 0xff00>,
93			 <&raid_mbox 19 0x1 0xff00>;
94	};
95
96	raid5: raid-5 {
97		compatible = "brcm,iproc-sba-v2";
98		mboxes = <&raid_mbox 20 0x1 0xff00>,
99			 <&raid_mbox 21 0x1 0xff00>,
100			 <&raid_mbox 22 0x1 0xff00>,
101			 <&raid_mbox 23 0x1 0xff00>;
102	};
103
104	raid6: raid-6 {
105		compatible = "brcm,iproc-sba-v2";
106		mboxes = <&raid_mbox 24 0x1 0xff00>,
107			 <&raid_mbox 25 0x1 0xff00>,
108			 <&raid_mbox 26 0x1 0xff00>,
109			 <&raid_mbox 27 0x1 0xff00>;
110	};
111
112	raid7: raid-7 {
113		compatible = "brcm,iproc-sba-v2";
114		mboxes = <&raid_mbox 28 0x1 0xff00>,
115			 <&raid_mbox 29 0x1 0xff00>,
116			 <&raid_mbox 30 0x1 0xff00>,
117			 <&raid_mbox 31 0x1 0xff00>;
118	};
119