Merge tag 'nvme-for-4.18' of git://git.infradead.org/nvme
[sfrench/cifs-2.6.git] / arch / arm64 / boot / dts / renesas / r8a7795-es1.dtsi
1 /*
2  * Device Tree Source for the r8a7795 ES1.x SoC
3  *
4  * Copyright (C) 2015 Renesas Electronics Corp.
5  *
6  * This file is licensed under the terms of the GNU General Public License
7  * version 2.  This program is licensed "as is" without any warranty of any
8  * kind, whether express or implied.
9  */
10
11 #include "r8a7795.dtsi"
12
13 &soc {
14         xhci1: usb@ee040000 {
15                 compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
16                 reg = <0 0xee040000 0 0xc00>;
17                 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
18                 clocks = <&cpg CPG_MOD 327>;
19                 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
20                 resets = <&cpg 327>;
21                 status = "disabled";
22         };
23
24         /delete-node/ mmu@febe0000;
25         /delete-node/ mmu@fe980000;
26         /delete-node/ mmu@fd950000;
27         /delete-node/ mmu@fd960000;
28         /delete-node/ mmu@fd970000;
29
30         ipmmu_mp1: mmu@ec680000 {
31                 compatible = "renesas,ipmmu-r8a7795";
32                 reg = <0 0xec680000 0 0x1000>;
33                 renesas,ipmmu-main = <&ipmmu_mm 5>;
34                 #iommu-cells = <1>;
35         };
36
37         ipmmu_sy: mmu@e7730000 {
38                 compatible = "renesas,ipmmu-r8a7795";
39                 reg = <0 0xe7730000 0 0x1000>;
40                 renesas,ipmmu-main = <&ipmmu_mm 8>;
41                 #iommu-cells = <1>;
42         };
43
44         /delete-node/ usb-phy@ee0e0200;
45         /delete-node/ usb@ee0e0100;
46         /delete-node/ usb@ee0e0000;
47         /delete-node/ usb@e659c000;
48
49         /delete-node/ dma-controller@e6460000;
50         /delete-node/ dma-controller@e6470000;
51
52         fcpf2: fcp@fe952000 {
53                 compatible = "renesas,fcpf";
54                 reg = <0 0xfe952000 0 0x200>;
55                 clocks = <&cpg CPG_MOD 613>;
56                 power-domains = <&sysc R8A7795_PD_A3VP>;
57                 resets = <&cpg 613>;
58                 iommus = <&ipmmu_vp0 2>;
59         };
60
61         vspi2: vsp@fe9c0000 {
62                 compatible = "renesas,vsp2";
63                 reg = <0 0xfe9c0000 0 0x8000>;
64                 interrupts = <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>;
65                 clocks = <&cpg CPG_MOD 629>;
66                 power-domains = <&sysc R8A7795_PD_A3VP>;
67                 resets = <&cpg 629>;
68
69                 renesas,fcp = <&fcpvi2>;
70         };
71
72         fcpvi2: fcp@fe9cf000 {
73                 compatible = "renesas,fcpv";
74                 reg = <0 0xfe9cf000 0 0x200>;
75                 clocks = <&cpg CPG_MOD 609>;
76                 power-domains = <&sysc R8A7795_PD_A3VP>;
77                 resets = <&cpg 609>;
78                 iommus = <&ipmmu_vp0 10>;
79         };
80
81         vspd3: vsp@fea38000 {
82                 compatible = "renesas,vsp2";
83                 reg = <0 0xfea38000 0 0x8000>;
84                 interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
85                 clocks = <&cpg CPG_MOD 620>;
86                 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
87                 resets = <&cpg 620>;
88
89                 renesas,fcp = <&fcpvd3>;
90         };
91
92         fcpvd3: fcp@fea3f000 {
93                 compatible = "renesas,fcpv";
94                 reg = <0 0xfea3f000 0 0x200>;
95                 clocks = <&cpg CPG_MOD 600>;
96                 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
97                 resets = <&cpg 600>;
98                 iommus = <&ipmmu_vi0 11>;
99         };
100
101         fdp1@fe948000 {
102                 compatible = "renesas,fdp1";
103                 reg = <0 0xfe948000 0 0x2400>;
104                 interrupts = <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>;
105                 clocks = <&cpg CPG_MOD 117>;
106                 power-domains = <&sysc R8A7795_PD_A3VP>;
107                 resets = <&cpg 117>;
108                 renesas,fcp = <&fcpf2>;
109         };
110
111         csi21: csi2@fea90000 {
112                 compatible = "renesas,r8a7795-csi2";
113                 reg = <0 0xfea90000 0 0x10000>;
114                 interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
115                 clocks = <&cpg CPG_MOD 713>;
116                 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
117                 resets = <&cpg 713>;
118                 status = "disabled";
119
120                 ports {
121                         #address-cells = <1>;
122                         #size-cells = <0>;
123
124                         port@1 {
125                                 #address-cells = <1>;
126                                 #size-cells = <0>;
127
128                                 reg = <1>;
129
130                                 csi21vin0: endpoint@0 {
131                                         reg = <0>;
132                                         remote-endpoint = <&vin0csi21>;
133                                 };
134                                 csi21vin1: endpoint@1 {
135                                         reg = <1>;
136                                         remote-endpoint = <&vin1csi21>;
137                                 };
138                                 csi21vin2: endpoint@2 {
139                                         reg = <2>;
140                                         remote-endpoint = <&vin2csi21>;
141                                 };
142                                 csi21vin3: endpoint@3 {
143                                         reg = <3>;
144                                         remote-endpoint = <&vin3csi21>;
145                                 };
146                                 csi21vin4: endpoint@4 {
147                                         reg = <4>;
148                                         remote-endpoint = <&vin4csi21>;
149                                 };
150                                 csi21vin5: endpoint@5 {
151                                         reg = <5>;
152                                         remote-endpoint = <&vin5csi21>;
153                                 };
154                                 csi21vin6: endpoint@6 {
155                                         reg = <6>;
156                                         remote-endpoint = <&vin6csi21>;
157                                 };
158                                 csi21vin7: endpoint@7 {
159                                         reg = <7>;
160                                         remote-endpoint = <&vin7csi21>;
161                                 };
162                         };
163                 };
164         };
165 };
166
167 &gpio1 {
168         gpio-ranges = <&pfc 0 32 28>;
169 };
170
171 &ipmmu_vi0 {
172         renesas,ipmmu-main = <&ipmmu_mm 11>;
173 };
174
175 &ipmmu_vp0 {
176         renesas,ipmmu-main = <&ipmmu_mm 12>;
177 };
178
179 &ipmmu_vc0 {
180         renesas,ipmmu-main = <&ipmmu_mm 9>;
181 };
182
183 &ipmmu_vc1 {
184         renesas,ipmmu-main = <&ipmmu_mm 10>;
185 };
186
187 &ipmmu_rt {
188         renesas,ipmmu-main = <&ipmmu_mm 7>;
189 };
190
191 &audma0 {
192         iommus = <&ipmmu_mp1 0>, <&ipmmu_mp1 1>,
193                <&ipmmu_mp1 2>, <&ipmmu_mp1 3>,
194                <&ipmmu_mp1 4>, <&ipmmu_mp1 5>,
195                <&ipmmu_mp1 6>, <&ipmmu_mp1 7>,
196                <&ipmmu_mp1 8>, <&ipmmu_mp1 9>,
197                <&ipmmu_mp1 10>, <&ipmmu_mp1 11>,
198                <&ipmmu_mp1 12>, <&ipmmu_mp1 13>,
199                <&ipmmu_mp1 14>, <&ipmmu_mp1 15>;
200 };
201
202 &audma1 {
203         iommus = <&ipmmu_mp1 16>, <&ipmmu_mp1 17>,
204                <&ipmmu_mp1 18>, <&ipmmu_mp1 19>,
205                <&ipmmu_mp1 20>, <&ipmmu_mp1 21>,
206                <&ipmmu_mp1 22>, <&ipmmu_mp1 23>,
207                <&ipmmu_mp1 24>, <&ipmmu_mp1 25>,
208                <&ipmmu_mp1 26>, <&ipmmu_mp1 27>,
209                <&ipmmu_mp1 28>, <&ipmmu_mp1 29>,
210                <&ipmmu_mp1 30>, <&ipmmu_mp1 31>;
211 };
212
213 &fcpvb1 {
214         iommus = <&ipmmu_vp0 7>;
215 };
216
217 &fcpf1 {
218         iommus = <&ipmmu_vp0 1>;
219 };
220
221 &fcpvi1 {
222         iommus = <&ipmmu_vp0 9>;
223 };
224
225 &fcpvd2 {
226         iommus = <&ipmmu_vi0 10>;
227 };
228
229 &du {
230         vsps = <&vspd0 &vspd1 &vspd2 &vspd3>;
231 };
232
233 &vin0 {
234         ports {
235                 port@1 {
236                         vin0csi21: endpoint@1 {
237                                 reg = <1>;
238                                 remote-endpoint= <&csi21vin0>;
239                         };
240                 };
241         };
242 };
243
244 &vin1 {
245         ports {
246                 port@1 {
247                         vin1csi21: endpoint@1 {
248                                 reg = <1>;
249                                 remote-endpoint= <&csi21vin1>;
250                         };
251                 };
252         };
253 };
254
255 &vin2 {
256         ports {
257                 port@1 {
258                         vin2csi21: endpoint@1 {
259                                 reg = <1>;
260                                 remote-endpoint= <&csi21vin2>;
261                         };
262                 };
263         };
264 };
265
266 &vin3 {
267         ports {
268                 port@1 {
269                         vin3csi21: endpoint@1 {
270                                 reg = <1>;
271                                 remote-endpoint= <&csi21vin3>;
272                         };
273                 };
274         };
275 };
276
277 &vin4 {
278         ports {
279                 port@1 {
280                         vin4csi21: endpoint@1 {
281                                 reg = <1>;
282                                 remote-endpoint= <&csi21vin4>;
283                         };
284                 };
285         };
286 };
287
288 &vin5 {
289         ports {
290                 port@1 {
291                         vin5csi21: endpoint@1 {
292                                 reg = <1>;
293                                 remote-endpoint= <&csi21vin5>;
294                         };
295                 };
296         };
297 };
298
299 &vin6 {
300         ports {
301                 port@1 {
302                         vin6csi21: endpoint@1 {
303                                 reg = <1>;
304                                 remote-endpoint= <&csi21vin6>;
305                         };
306                 };
307         };
308 };
309
310 &vin7 {
311         ports {
312                 port@1 {
313                         vin7csi21: endpoint@1 {
314                                 reg = <1>;
315                                 remote-endpoint= <&csi21vin7>;
316                         };
317                 };
318         };
319 };