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