xref: /freebsd/sys/contrib/device-tree/src/arm64/broadcom/stingray/stingray-fs4.dtsi (revision fe6060f10f634930ff71b7c50291ddc610da2475)
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 {
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		raid0: raid@0 {
56			compatible = "brcm,iproc-sba-v2";
57			mboxes = <&raid_mbox 0 0x1 0xff00>,
58				 <&raid_mbox 1 0x1 0xff00>,
59				 <&raid_mbox 2 0x1 0xff00>,
60				 <&raid_mbox 3 0x1 0xff00>;
61		};
62
63		raid1: raid@1 {
64			compatible = "brcm,iproc-sba-v2";
65			mboxes = <&raid_mbox 4 0x1 0xff00>,
66				 <&raid_mbox 5 0x1 0xff00>,
67				 <&raid_mbox 6 0x1 0xff00>,
68				 <&raid_mbox 7 0x1 0xff00>;
69		};
70
71		raid2: raid@2 {
72			compatible = "brcm,iproc-sba-v2";
73			mboxes = <&raid_mbox 8 0x1 0xff00>,
74				 <&raid_mbox 9 0x1 0xff00>,
75				 <&raid_mbox 10 0x1 0xff00>,
76				 <&raid_mbox 11 0x1 0xff00>;
77		};
78
79		raid3: raid@3 {
80			compatible = "brcm,iproc-sba-v2";
81			mboxes = <&raid_mbox 12 0x1 0xff00>,
82				 <&raid_mbox 13 0x1 0xff00>,
83				 <&raid_mbox 14 0x1 0xff00>,
84				 <&raid_mbox 15 0x1 0xff00>;
85		};
86
87		raid4: raid@4 {
88			compatible = "brcm,iproc-sba-v2";
89			mboxes = <&raid_mbox 16 0x1 0xff00>,
90				 <&raid_mbox 17 0x1 0xff00>,
91				 <&raid_mbox 18 0x1 0xff00>,
92				 <&raid_mbox 19 0x1 0xff00>;
93		};
94
95		raid5: raid@5 {
96			compatible = "brcm,iproc-sba-v2";
97			mboxes = <&raid_mbox 20 0x1 0xff00>,
98				 <&raid_mbox 21 0x1 0xff00>,
99				 <&raid_mbox 22 0x1 0xff00>,
100				 <&raid_mbox 23 0x1 0xff00>;
101		};
102
103		raid6: raid@6 {
104			compatible = "brcm,iproc-sba-v2";
105			mboxes = <&raid_mbox 24 0x1 0xff00>,
106				 <&raid_mbox 25 0x1 0xff00>,
107				 <&raid_mbox 26 0x1 0xff00>,
108				 <&raid_mbox 27 0x1 0xff00>;
109		};
110
111		raid7: raid@7 {
112			compatible = "brcm,iproc-sba-v2";
113			mboxes = <&raid_mbox 28 0x1 0xff00>,
114				 <&raid_mbox 29 0x1 0xff00>,
115				 <&raid_mbox 30 0x1 0xff00>,
116				 <&raid_mbox 31 0x1 0xff00>;
117		};
118	};
119