blob: 1485e6a8e11220fecd7a0444b1b31a502f5961b7 [file] [log] [blame]
Simon Horman26a7e062015-11-17 02:42:32 +09001/*
2 * Device Tree Source for the r8a7795 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
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +090011#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
Simon Horman26a7e062015-11-17 02:42:32 +090012#include <dt-bindings/interrupt-controller/arm-gic.h>
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020013#include <dt-bindings/power/r8a7795-sysc.h>
Simon Horman26a7e062015-11-17 02:42:32 +090014
Geert Uytterhoeven6fad2932017-06-30 10:22:28 +020015#define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4
16
Simon Horman26a7e062015-11-17 02:42:32 +090017/ {
18 compatible = "renesas,r8a7795";
19 #address-cells = <2>;
20 #size-cells = <2>;
21
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +090022 aliases {
23 i2c0 = &i2c0;
24 i2c1 = &i2c1;
25 i2c2 = &i2c2;
26 i2c3 = &i2c3;
27 i2c4 = &i2c4;
28 i2c5 = &i2c5;
29 i2c6 = &i2c6;
Keita Kobayashid7e0d642017-01-26 09:52:29 +010030 i2c7 = &i2c_dvfs;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +090031 };
32
Simon Horman26a7e062015-11-17 02:42:32 +090033 cpus {
34 #address-cells = <1>;
35 #size-cells = <0>;
36
Simon Horman26a7e062015-11-17 02:42:32 +090037 a57_0: cpu@0 {
38 compatible = "arm,cortex-a57", "arm,armv8";
39 reg = <0x0>;
40 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020041 power-domains = <&sysc R8A7795_PD_CA57_CPU0>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010042 next-level-cache = <&L2_CA57>;
Gaku Inami12e51552015-12-04 14:38:51 +010043 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +010044 clocks =<&cpg CPG_CORE R8A7795_CLK_Z>;
45 operating-points-v2 = <&cluster0_opp>;
Simon Horman26a7e062015-11-17 02:42:32 +090046 };
Gaku Inami0ed1a792015-12-04 14:38:52 +010047
48 a57_1: cpu@1 {
49 compatible = "arm,cortex-a57","arm,armv8";
50 reg = <0x1>;
51 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020052 power-domains = <&sysc R8A7795_PD_CA57_CPU1>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010053 next-level-cache = <&L2_CA57>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010054 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +010055 clocks =<&cpg CPG_CORE R8A7795_CLK_Z>;
56 operating-points-v2 = <&cluster0_opp>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010057 };
Geert Uytterhoevena5547642016-06-10 12:06:45 +020058
Gaku Inami0ed1a792015-12-04 14:38:52 +010059 a57_2: cpu@2 {
60 compatible = "arm,cortex-a57","arm,armv8";
61 reg = <0x2>;
62 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020063 power-domains = <&sysc R8A7795_PD_CA57_CPU2>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010064 next-level-cache = <&L2_CA57>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010065 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +010066 clocks =<&cpg CPG_CORE R8A7795_CLK_Z>;
67 operating-points-v2 = <&cluster0_opp>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010068 };
Geert Uytterhoevena5547642016-06-10 12:06:45 +020069
Gaku Inami0ed1a792015-12-04 14:38:52 +010070 a57_3: cpu@3 {
71 compatible = "arm,cortex-a57","arm,armv8";
72 reg = <0x3>;
73 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020074 power-domains = <&sysc R8A7795_PD_CA57_CPU3>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010075 next-level-cache = <&L2_CA57>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010076 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +010077 clocks =<&cpg CPG_CORE R8A7795_CLK_Z>;
78 operating-points-v2 = <&cluster0_opp>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010079 };
Simon Horman26a7e062015-11-17 02:42:32 +090080
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +010081 a53_0: cpu@100 {
82 compatible = "arm,cortex-a53", "arm,armv8";
83 reg = <0x100>;
84 device_type = "cpu";
85 power-domains = <&sysc R8A7795_PD_CA53_CPU0>;
86 next-level-cache = <&L2_CA53>;
87 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +010088 clocks =<&cpg CPG_CORE R8A7795_CLK_Z2>;
89 operating-points-v2 = <&cluster1_opp>;
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +010090 };
91
92 a53_1: cpu@101 {
93 compatible = "arm,cortex-a53","arm,armv8";
94 reg = <0x101>;
95 device_type = "cpu";
96 power-domains = <&sysc R8A7795_PD_CA53_CPU1>;
97 next-level-cache = <&L2_CA53>;
98 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +010099 clocks =<&cpg CPG_CORE R8A7795_CLK_Z2>;
100 operating-points-v2 = <&cluster1_opp>;
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100101 };
102
103 a53_2: cpu@102 {
104 compatible = "arm,cortex-a53","arm,armv8";
105 reg = <0x102>;
106 device_type = "cpu";
107 power-domains = <&sysc R8A7795_PD_CA53_CPU2>;
108 next-level-cache = <&L2_CA53>;
109 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +0100110 clocks =<&cpg CPG_CORE R8A7795_CLK_Z2>;
111 operating-points-v2 = <&cluster1_opp>;
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100112 };
113
114 a53_3: cpu@103 {
115 compatible = "arm,cortex-a53","arm,armv8";
116 reg = <0x103>;
117 device_type = "cpu";
118 power-domains = <&sysc R8A7795_PD_CA53_CPU3>;
119 next-level-cache = <&L2_CA53>;
120 enable-method = "psci";
Dien Phamdd149e82018-01-03 13:41:04 +0100121 clocks =<&cpg CPG_CORE R8A7795_CLK_Z2>;
122 operating-points-v2 = <&cluster1_opp>;
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100123 };
124
Geert Uytterhoevend1658562017-03-03 14:18:16 +0100125 L2_CA57: cache-controller-0 {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200126 compatible = "cache";
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200127 power-domains = <&sysc R8A7795_PD_CA57_SCU>;
128 cache-unified;
129 cache-level = <2>;
130 };
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +0100131
Geert Uytterhoevend1658562017-03-03 14:18:16 +0100132 L2_CA53: cache-controller-1 {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200133 compatible = "cache";
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200134 power-domains = <&sysc R8A7795_PD_CA53_SCU>;
135 cache-unified;
136 cache-level = <2>;
137 };
Geert Uytterhoeven8e1c3aa2015-09-30 15:22:15 +0200138 };
139
Simon Horman26a7e062015-11-17 02:42:32 +0900140 extal_clk: extal {
141 compatible = "fixed-clock";
142 #clock-cells = <0>;
143 /* This value must be overridden by the board */
144 clock-frequency = <0>;
145 };
146
147 extalr_clk: extalr {
148 compatible = "fixed-clock";
149 #clock-cells = <0>;
150 /* This value must be overridden by the board */
151 clock-frequency = <0>;
152 };
153
Kuninori Morimoto623197b2015-11-25 06:36:25 +0000154 /*
155 * The external audio clocks are configured as 0 Hz fixed frequency
156 * clocks by default.
157 * Boards that provide audio clocks should override them.
158 */
159 audio_clk_a: audio_clk_a {
160 compatible = "fixed-clock";
161 #clock-cells = <0>;
162 clock-frequency = <0>;
163 };
164
165 audio_clk_b: audio_clk_b {
166 compatible = "fixed-clock";
167 #clock-cells = <0>;
168 clock-frequency = <0>;
169 };
170
171 audio_clk_c: audio_clk_c {
172 compatible = "fixed-clock";
173 #clock-cells = <0>;
174 clock-frequency = <0>;
175 };
176
Ramesh Shanmugasundaram7811482f2016-02-26 16:38:47 +0000177 /* External CAN clock - to be overridden by boards that provide it */
178 can_clk: can {
179 compatible = "fixed-clock";
180 #clock-cells = <0>;
181 clock-frequency = <0>;
Ramesh Shanmugasundaram7811482f2016-02-26 16:38:47 +0000182 };
183
Dien Phamdd149e82018-01-03 13:41:04 +0100184 cluster0_opp: opp_table0 {
185 compatible = "operating-points-v2";
186 opp-shared;
187
188 opp-500000000 {
189 opp-hz = /bits/ 64 <500000000>;
190 opp-microvolt = <830000>;
191 clock-latency-ns = <300000>;
192 };
193 opp-1000000000 {
194 opp-hz = /bits/ 64 <1000000000>;
195 opp-microvolt = <830000>;
196 clock-latency-ns = <300000>;
197 };
198 opp-1500000000 {
199 opp-hz = /bits/ 64 <1500000000>;
200 opp-microvolt = <830000>;
201 clock-latency-ns = <300000>;
202 opp-suspend;
203 };
204 opp-1600000000 {
205 opp-hz = /bits/ 64 <1600000000>;
206 opp-microvolt = <900000>;
207 clock-latency-ns = <300000>;
208 turbo-mode;
209 };
210 opp-1700000000 {
211 opp-hz = /bits/ 64 <1700000000>;
212 opp-microvolt = <960000>;
213 clock-latency-ns = <300000>;
214 turbo-mode;
215 };
216 };
217
218 cluster1_opp: opp_table1 {
219 compatible = "operating-points-v2";
220 opp-shared;
221
222 opp-1200000000 {
223 opp-hz = /bits/ 64 <1200000000>;
224 opp-microvolt = <820000>;
225 clock-latency-ns = <300000>;
226 };
227 };
228
Phil Edworthy92510242016-04-05 11:51:26 +0100229 /* External PCIe clock - can be overridden by the board */
230 pcie_bus_clk: pcie_bus {
231 compatible = "fixed-clock";
232 #clock-cells = <0>;
Geert Uytterhoeven9f33a8a2016-04-25 16:08:30 +0200233 clock-frequency = <0>;
Phil Edworthy92510242016-04-05 11:51:26 +0100234 };
235
Simon Horman4f5dc772017-11-30 11:25:39 +0100236 pmu_a57 {
237 compatible = "arm,cortex-a57-pmu";
238 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
239 <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
240 <&gic GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
241 <&gic GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
242 interrupt-affinity = <&a57_0>,
243 <&a57_1>,
244 <&a57_2>,
245 <&a57_3>;
246 };
247
248 pmu_a53 {
249 compatible = "arm,cortex-a53-pmu";
250 interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
251 <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
252 <&gic GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
253 <&gic GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
254 interrupt-affinity = <&a53_0>,
255 <&a53_1>,
256 <&a53_2>,
257 <&a53_3>;
258 };
259
Simon Horman86af5aa2017-12-12 09:27:52 +0100260 psci {
261 compatible = "arm,psci-1.0", "arm,psci-0.2";
262 method = "smc";
263 };
264
Simon Horman1c6c9242018-01-03 13:41:03 +0100265 /* External SCIF clock - to be overridden by boards that provide it */
266 scif_clk: scif {
267 compatible = "fixed-clock";
268 #clock-cells = <0>;
269 clock-frequency = <0>;
270 };
271
Geert Uytterhoeven291e0c42017-05-15 14:44:11 +0200272 soc: soc {
Simon Horman26a7e062015-11-17 02:42:32 +0900273 compatible = "simple-bus";
274 interrupt-parent = <&gic>;
Gaku Inami0ed1a792015-12-04 14:38:52 +0100275
Simon Horman26a7e062015-11-17 02:42:32 +0900276 #address-cells = <2>;
277 #size-cells = <2>;
278 ranges;
279
Simon Horman21cc4052016-05-25 10:11:40 +0900280 gic: interrupt-controller@f1010000 {
Simon Horman26a7e062015-11-17 02:42:32 +0900281 compatible = "arm,gic-400";
282 #interrupt-cells = <3>;
283 #address-cells = <0>;
284 interrupt-controller;
285 reg = <0x0 0xf1010000 0 0x1000>,
Pooya Keshavarzi457f47b2016-04-19 08:29:55 +0200286 <0x0 0xf1020000 0 0x20000>,
Dirk Behme4c811ed2016-02-16 10:43:22 +0100287 <0x0 0xf1040000 0 0x20000>,
Pooya Keshavarzi457f47b2016-04-19 08:29:55 +0200288 <0x0 0xf1060000 0 0x20000>;
Simon Horman26a7e062015-11-17 02:42:32 +0900289 interrupts = <GIC_PPI 9
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100290 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
Geert Uytterhoevenb6e56e42017-01-17 13:49:19 +0100291 clocks = <&cpg CPG_MOD 408>;
292 clock-names = "clk";
293 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100294 resets = <&cpg 408>;
Simon Horman26a7e062015-11-17 02:42:32 +0900295 };
296
Wolfram Sang31148152016-04-01 13:56:24 +0200297 wdt0: watchdog@e6020000 {
298 compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt";
299 reg = <0 0xe6020000 0 0x0c>;
300 clocks = <&cpg CPG_MOD 402>;
Geert Uytterhoevenb186fbb2016-05-20 09:43:02 +0200301 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100302 resets = <&cpg 402>;
Wolfram Sang31148152016-04-01 13:56:24 +0200303 status = "disabled";
304 };
305
Takeshi Kihara7b086232015-10-29 08:09:18 +0900306 gpio0: gpio@e6050000 {
307 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200308 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900309 reg = <0 0xe6050000 0 0x50>;
310 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
311 #gpio-cells = <2>;
312 gpio-controller;
313 gpio-ranges = <&pfc 0 0 16>;
314 #interrupt-cells = <2>;
315 interrupt-controller;
316 clocks = <&cpg CPG_MOD 912>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200317 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100318 resets = <&cpg 912>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900319 };
320
321 gpio1: gpio@e6051000 {
322 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200323 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900324 reg = <0 0xe6051000 0 0x50>;
325 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
326 #gpio-cells = <2>;
327 gpio-controller;
Takeshi Kiharaeb14ed12017-11-23 11:58:50 +0100328 gpio-ranges = <&pfc 0 32 29>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900329 #interrupt-cells = <2>;
330 interrupt-controller;
331 clocks = <&cpg CPG_MOD 911>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200332 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100333 resets = <&cpg 911>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900334 };
335
336 gpio2: gpio@e6052000 {
337 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200338 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900339 reg = <0 0xe6052000 0 0x50>;
340 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
341 #gpio-cells = <2>;
342 gpio-controller;
343 gpio-ranges = <&pfc 0 64 15>;
344 #interrupt-cells = <2>;
345 interrupt-controller;
346 clocks = <&cpg CPG_MOD 910>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200347 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100348 resets = <&cpg 910>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900349 };
350
351 gpio3: gpio@e6053000 {
352 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200353 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900354 reg = <0 0xe6053000 0 0x50>;
355 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
356 #gpio-cells = <2>;
357 gpio-controller;
358 gpio-ranges = <&pfc 0 96 16>;
359 #interrupt-cells = <2>;
360 interrupt-controller;
361 clocks = <&cpg CPG_MOD 909>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200362 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100363 resets = <&cpg 909>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900364 };
365
366 gpio4: gpio@e6054000 {
367 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200368 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900369 reg = <0 0xe6054000 0 0x50>;
370 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
371 #gpio-cells = <2>;
372 gpio-controller;
373 gpio-ranges = <&pfc 0 128 18>;
374 #interrupt-cells = <2>;
375 interrupt-controller;
376 clocks = <&cpg CPG_MOD 908>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200377 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100378 resets = <&cpg 908>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900379 };
380
381 gpio5: gpio@e6055000 {
382 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200383 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900384 reg = <0 0xe6055000 0 0x50>;
385 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
386 #gpio-cells = <2>;
387 gpio-controller;
388 gpio-ranges = <&pfc 0 160 26>;
389 #interrupt-cells = <2>;
390 interrupt-controller;
391 clocks = <&cpg CPG_MOD 907>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200392 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100393 resets = <&cpg 907>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900394 };
395
396 gpio6: gpio@e6055400 {
397 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200398 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900399 reg = <0 0xe6055400 0 0x50>;
400 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
401 #gpio-cells = <2>;
402 gpio-controller;
403 gpio-ranges = <&pfc 0 192 32>;
404 #interrupt-cells = <2>;
405 interrupt-controller;
406 clocks = <&cpg CPG_MOD 906>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200407 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100408 resets = <&cpg 906>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900409 };
410
411 gpio7: gpio@e6055800 {
412 compatible = "renesas,gpio-r8a7795",
Simon Hormand6d70372017-10-13 14:33:10 +0200413 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900414 reg = <0 0xe6055800 0 0x50>;
415 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
416 #gpio-cells = <2>;
417 gpio-controller;
418 gpio-ranges = <&pfc 0 224 4>;
419 #interrupt-cells = <2>;
420 interrupt-controller;
421 clocks = <&cpg CPG_MOD 905>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200422 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100423 resets = <&cpg 905>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900424 };
425
Simon Horman26a7e062015-11-17 02:42:32 +0900426 cpg: clock-controller@e6150000 {
427 compatible = "renesas,r8a7795-cpg-mssr";
428 reg = <0 0xe6150000 0 0x1000>;
429 clocks = <&extal_clk>, <&extalr_clk>;
430 clock-names = "extal", "extalr";
431 #clock-cells = <2>;
432 #power-domain-cells = <0>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100433 #reset-cells = <1>;
Simon Horman26a7e062015-11-17 02:42:32 +0900434 };
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900435
Geert Uytterhoeven6ddbb4c2015-09-01 16:15:32 +0200436 rst: reset-controller@e6160000 {
437 compatible = "renesas,r8a7795-rst";
438 reg = <0 0xe6160000 0 0x0200>;
439 };
440
Geert Uytterhoevenbd6777f2016-11-14 19:37:16 +0100441 prr: chipid@fff00044 {
442 compatible = "renesas,prr";
443 reg = <0 0xfff00044 0 4>;
444 };
445
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +0200446 sysc: system-controller@e6180000 {
447 compatible = "renesas,r8a7795-sysc";
448 reg = <0 0xe6180000 0 0x0400>;
449 #power-domain-cells = <1>;
450 };
451
Simon Horman3e7a5b32017-04-24 10:51:55 +0200452 pfc: pin-controller@e6060000 {
Kuninori Morimoto92418442015-10-02 11:56:01 +0900453 compatible = "renesas,pfc-r8a7795";
454 reg = <0 0xe6060000 0 0x50c>;
455 };
456
Magnus Damm9c6c0532016-02-16 11:26:44 +0900457 intc_ex: interrupt-controller@e61c0000 {
458 compatible = "renesas,intc-ex-r8a7795", "renesas,irqc";
459 #interrupt-cells = <2>;
460 interrupt-controller;
461 reg = <0 0xe61c0000 0 0x200>;
462 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
463 GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
464 GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
465 GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
466 GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
467 GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
468 clocks = <&cpg CPG_MOD 407>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200469 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100470 resets = <&cpg 407>;
Magnus Damm9c6c0532016-02-16 11:26:44 +0900471 };
472
Magnus Damm3b7e7842017-11-10 14:25:18 +0100473 ipmmu_vi0: mmu@febd0000 {
474 compatible = "renesas,ipmmu-r8a7795";
475 reg = <0 0xfebd0000 0 0x1000>;
476 renesas,ipmmu-main = <&ipmmu_mm 14>;
477 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
478 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100479 };
480
481 ipmmu_vi1: mmu@febe0000 {
482 compatible = "renesas,ipmmu-r8a7795";
483 reg = <0 0xfebe0000 0 0x1000>;
484 renesas,ipmmu-main = <&ipmmu_mm 15>;
485 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
486 #iommu-cells = <1>;
487 status = "disabled";
488 };
489
490 ipmmu_vp0: mmu@fe990000 {
491 compatible = "renesas,ipmmu-r8a7795";
492 reg = <0 0xfe990000 0 0x1000>;
493 renesas,ipmmu-main = <&ipmmu_mm 16>;
494 power-domains = <&sysc R8A7795_PD_A3VP>;
495 #iommu-cells = <1>;
496 status = "disabled";
497 };
498
499 ipmmu_vp1: mmu@fe980000 {
500 compatible = "renesas,ipmmu-r8a7795";
501 reg = <0 0xfe980000 0 0x1000>;
502 renesas,ipmmu-main = <&ipmmu_mm 17>;
503 power-domains = <&sysc R8A7795_PD_A3VP>;
504 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100505 };
506
507 ipmmu_vc0: mmu@fe6b0000 {
508 compatible = "renesas,ipmmu-r8a7795";
509 reg = <0 0xfe6b0000 0 0x1000>;
510 renesas,ipmmu-main = <&ipmmu_mm 12>;
511 power-domains = <&sysc R8A7795_PD_A3VC>;
512 #iommu-cells = <1>;
513 status = "disabled";
514 };
515
516 ipmmu_vc1: mmu@fe6f0000 {
517 compatible = "renesas,ipmmu-r8a7795";
518 reg = <0 0xfe6f0000 0 0x1000>;
519 renesas,ipmmu-main = <&ipmmu_mm 13>;
520 power-domains = <&sysc R8A7795_PD_A3VC>;
521 #iommu-cells = <1>;
522 status = "disabled";
523 };
524
525 ipmmu_pv0: mmu@fd800000 {
526 compatible = "renesas,ipmmu-r8a7795";
527 reg = <0 0xfd800000 0 0x1000>;
528 renesas,ipmmu-main = <&ipmmu_mm 6>;
529 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
530 #iommu-cells = <1>;
531 status = "disabled";
532 };
533
534 ipmmu_pv2: mmu@fd960000 {
535 compatible = "renesas,ipmmu-r8a7795";
536 reg = <0 0xfd960000 0 0x1000>;
537 renesas,ipmmu-main = <&ipmmu_mm 8>;
538 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
539 #iommu-cells = <1>;
540 status = "disabled";
541 };
542
543 ipmmu_pv3: mmu@fd970000 {
544 compatible = "renesas,ipmmu-r8a7795";
545 reg = <0 0xfd970000 0 0x1000>;
546 renesas,ipmmu-main = <&ipmmu_mm 9>;
547 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
548 #iommu-cells = <1>;
549 status = "disabled";
550 };
551
552 ipmmu_ir: mmu@ff8b0000 {
553 compatible = "renesas,ipmmu-r8a7795";
554 reg = <0 0xff8b0000 0 0x1000>;
555 renesas,ipmmu-main = <&ipmmu_mm 3>;
556 power-domains = <&sysc R8A7795_PD_A3IR>;
557 #iommu-cells = <1>;
558 status = "disabled";
559 };
560
561 ipmmu_hc: mmu@e6570000 {
562 compatible = "renesas,ipmmu-r8a7795";
563 reg = <0 0xe6570000 0 0x1000>;
564 renesas,ipmmu-main = <&ipmmu_mm 2>;
565 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
566 #iommu-cells = <1>;
567 status = "disabled";
568 };
569
570 ipmmu_rt: mmu@ffc80000 {
571 compatible = "renesas,ipmmu-r8a7795";
572 reg = <0 0xffc80000 0 0x1000>;
573 renesas,ipmmu-main = <&ipmmu_mm 10>;
574 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
575 #iommu-cells = <1>;
576 status = "disabled";
577 };
578
579 ipmmu_mp0: mmu@ec670000 {
580 compatible = "renesas,ipmmu-r8a7795";
581 reg = <0 0xec670000 0 0x1000>;
582 renesas,ipmmu-main = <&ipmmu_mm 4>;
583 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
584 #iommu-cells = <1>;
585 status = "disabled";
586 };
587
588 ipmmu_ds0: mmu@e6740000 {
589 compatible = "renesas,ipmmu-r8a7795";
590 reg = <0 0xe6740000 0 0x1000>;
591 renesas,ipmmu-main = <&ipmmu_mm 0>;
592 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
593 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100594 };
595
596 ipmmu_ds1: mmu@e7740000 {
597 compatible = "renesas,ipmmu-r8a7795";
598 reg = <0 0xe7740000 0 0x1000>;
599 renesas,ipmmu-main = <&ipmmu_mm 1>;
600 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
601 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100602 };
603
604 ipmmu_mm: mmu@e67b0000 {
605 compatible = "renesas,ipmmu-r8a7795";
606 reg = <0 0xe67b0000 0 0x1000>;
607 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
608 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
609 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
610 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100611 };
612
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900613 dmac0: dma-controller@e6700000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100614 compatible = "renesas,dmac-r8a7795",
615 "renesas,rcar-dmac";
616 reg = <0 0xe6700000 0 0x10000>;
617 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
618 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
619 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
620 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
621 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
622 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
623 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
624 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
625 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
626 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
627 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
628 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
629 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
630 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
631 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
632 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
633 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
634 interrupt-names = "error",
635 "ch0", "ch1", "ch2", "ch3",
636 "ch4", "ch5", "ch6", "ch7",
637 "ch8", "ch9", "ch10", "ch11",
638 "ch12", "ch13", "ch14", "ch15";
639 clocks = <&cpg CPG_MOD 219>;
640 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200641 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100642 resets = <&cpg 219>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100643 #dma-cells = <1>;
644 dma-channels = <16>;
Magnus Dammbf2ca652017-11-10 14:25:20 +0100645 iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
646 <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
647 <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
648 <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
649 <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
650 <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
651 <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
652 <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900653 };
654
655 dmac1: dma-controller@e7300000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100656 compatible = "renesas,dmac-r8a7795",
657 "renesas,rcar-dmac";
658 reg = <0 0xe7300000 0 0x10000>;
659 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
660 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
661 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
662 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
663 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
664 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
665 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
666 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
667 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
668 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
669 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
670 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
671 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
672 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
673 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
674 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
675 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
676 interrupt-names = "error",
677 "ch0", "ch1", "ch2", "ch3",
678 "ch4", "ch5", "ch6", "ch7",
679 "ch8", "ch9", "ch10", "ch11",
680 "ch12", "ch13", "ch14", "ch15";
681 clocks = <&cpg CPG_MOD 218>;
682 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200683 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100684 resets = <&cpg 218>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100685 #dma-cells = <1>;
686 dma-channels = <16>;
Magnus Dammbf2ca652017-11-10 14:25:20 +0100687 iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
688 <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
689 <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
690 <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
691 <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
692 <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
693 <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
694 <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900695 };
696
697 dmac2: dma-controller@e7310000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100698 compatible = "renesas,dmac-r8a7795",
699 "renesas,rcar-dmac";
700 reg = <0 0xe7310000 0 0x10000>;
701 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
702 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
703 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
704 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
705 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
706 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
707 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
708 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
709 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
710 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
711 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
712 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
713 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
714 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
715 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
716 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
717 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
718 interrupt-names = "error",
719 "ch0", "ch1", "ch2", "ch3",
720 "ch4", "ch5", "ch6", "ch7",
721 "ch8", "ch9", "ch10", "ch11",
722 "ch12", "ch13", "ch14", "ch15";
723 clocks = <&cpg CPG_MOD 217>;
724 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200725 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100726 resets = <&cpg 217>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100727 #dma-cells = <1>;
728 dma-channels = <16>;
Magnus Dammbf2ca652017-11-10 14:25:20 +0100729 iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
730 <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
731 <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
732 <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
733 <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
734 <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
735 <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
736 <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900737 };
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900738
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000739 audma0: dma-controller@ec700000 {
740 compatible = "renesas,dmac-r8a7795",
741 "renesas,rcar-dmac";
742 reg = <0 0xec700000 0 0x10000>;
743 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
744 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
745 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
746 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
747 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
748 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
749 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
750 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
751 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
752 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
753 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
754 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
755 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
756 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
757 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
758 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
759 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
760 interrupt-names = "error",
761 "ch0", "ch1", "ch2", "ch3",
762 "ch4", "ch5", "ch6", "ch7",
763 "ch8", "ch9", "ch10", "ch11",
764 "ch12", "ch13", "ch14", "ch15";
765 clocks = <&cpg CPG_MOD 502>;
766 clock-names = "fck";
767 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100768 resets = <&cpg 502>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000769 #dma-cells = <1>;
770 dma-channels = <16>;
Magnus Dammc2b57f72017-11-10 14:25:21 +0100771 iommus = <&ipmmu_mp0 0>, <&ipmmu_mp0 1>,
772 <&ipmmu_mp0 2>, <&ipmmu_mp0 3>,
773 <&ipmmu_mp0 4>, <&ipmmu_mp0 5>,
774 <&ipmmu_mp0 6>, <&ipmmu_mp0 7>,
775 <&ipmmu_mp0 8>, <&ipmmu_mp0 9>,
776 <&ipmmu_mp0 10>, <&ipmmu_mp0 11>,
777 <&ipmmu_mp0 12>, <&ipmmu_mp0 13>,
778 <&ipmmu_mp0 14>, <&ipmmu_mp0 15>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000779 };
780
781 audma1: dma-controller@ec720000 {
782 compatible = "renesas,dmac-r8a7795",
783 "renesas,rcar-dmac";
784 reg = <0 0xec720000 0 0x10000>;
785 interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
786 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
787 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
788 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
789 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
790 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
791 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
792 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
793 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
794 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
795 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
796 GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
797 GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
798 GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
799 GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
800 GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
801 GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
802 interrupt-names = "error",
803 "ch0", "ch1", "ch2", "ch3",
804 "ch4", "ch5", "ch6", "ch7",
805 "ch8", "ch9", "ch10", "ch11",
806 "ch12", "ch13", "ch14", "ch15";
807 clocks = <&cpg CPG_MOD 501>;
808 clock-names = "fck";
809 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100810 resets = <&cpg 501>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000811 #dma-cells = <1>;
812 dma-channels = <16>;
Magnus Dammc2b57f72017-11-10 14:25:21 +0100813 iommus = <&ipmmu_mp0 16>, <&ipmmu_mp0 17>,
814 <&ipmmu_mp0 18>, <&ipmmu_mp0 19>,
815 <&ipmmu_mp0 20>, <&ipmmu_mp0 21>,
816 <&ipmmu_mp0 22>, <&ipmmu_mp0 23>,
817 <&ipmmu_mp0 24>, <&ipmmu_mp0 25>,
818 <&ipmmu_mp0 26>, <&ipmmu_mp0 27>,
819 <&ipmmu_mp0 28>, <&ipmmu_mp0 29>,
820 <&ipmmu_mp0 30>, <&ipmmu_mp0 31>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000821 };
822
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900823 avb: ethernet@e6800000 {
Simon Horman2b953cc2016-02-23 10:17:46 +0900824 compatible = "renesas,etheravb-r8a7795",
825 "renesas,etheravb-rcar-gen3";
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900826 reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
827 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
828 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
829 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
830 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
831 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
832 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
833 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
834 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
835 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
836 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
837 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
838 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
839 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
840 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
841 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
842 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
843 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
844 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
845 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
846 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
847 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
848 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
849 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
850 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
851 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
852 interrupt-names = "ch0", "ch1", "ch2", "ch3",
853 "ch4", "ch5", "ch6", "ch7",
854 "ch8", "ch9", "ch10", "ch11",
855 "ch12", "ch13", "ch14", "ch15",
856 "ch16", "ch17", "ch18", "ch19",
857 "ch20", "ch21", "ch22", "ch23",
858 "ch24";
859 clocks = <&cpg CPG_MOD 812>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200860 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100861 resets = <&cpg 812>;
Kazuya Mizuguchidda38872017-02-01 09:42:00 +0100862 phy-mode = "rgmii-txid";
Magnus Dammca8740f2017-11-10 14:25:29 +0100863 iommus = <&ipmmu_ds0 16>;
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900864 #address-cells = <1>;
865 #size-cells = <0>;
Geert Uytterhoeven0d1390f2017-01-25 14:19:30 +0100866 status = "disabled";
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900867 };
868
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000869 can0: can@e6c30000 {
870 compatible = "renesas,can-r8a7795",
871 "renesas,rcar-gen3-can";
872 reg = <0 0xe6c30000 0 0x1000>;
873 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
874 clocks = <&cpg CPG_MOD 916>,
875 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
876 <&can_clk>;
877 clock-names = "clkp1", "clkp2", "can_clk";
878 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
879 assigned-clock-rates = <40000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200880 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100881 resets = <&cpg 916>;
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000882 status = "disabled";
883 };
884
885 can1: can@e6c38000 {
886 compatible = "renesas,can-r8a7795",
887 "renesas,rcar-gen3-can";
888 reg = <0 0xe6c38000 0 0x1000>;
889 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
890 clocks = <&cpg CPG_MOD 915>,
891 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
892 <&can_clk>;
893 clock-names = "clkp1", "clkp2", "can_clk";
894 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
895 assigned-clock-rates = <40000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200896 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100897 resets = <&cpg 915>;
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000898 status = "disabled";
899 };
900
Ramesh Shanmugasundaram162cd782016-06-17 13:35:43 +0100901 canfd: can@e66c0000 {
902 compatible = "renesas,r8a7795-canfd",
903 "renesas,rcar-gen3-canfd";
904 reg = <0 0xe66c0000 0 0x8000>;
905 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
906 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
907 clocks = <&cpg CPG_MOD 914>,
908 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
909 <&can_clk>;
910 clock-names = "fck", "canfd", "can_clk";
911 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
912 assigned-clock-rates = <40000000>;
913 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100914 resets = <&cpg 914>;
Ramesh Shanmugasundaram162cd782016-06-17 13:35:43 +0100915 status = "disabled";
916
917 channel0 {
918 status = "disabled";
919 };
920
921 channel1 {
922 status = "disabled";
923 };
924 };
925
Ramesh Shanmugasundaram91662b12017-06-23 10:13:20 +0100926 drif00: rif@e6f40000 {
927 compatible = "renesas,r8a7795-drif",
928 "renesas,rcar-gen3-drif";
929 reg = <0 0xe6f40000 0 0x64>;
930 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
931 clocks = <&cpg CPG_MOD 515>;
932 clock-names = "fck";
933 dmas = <&dmac1 0x20>, <&dmac2 0x20>;
934 dma-names = "rx", "rx";
935 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
936 resets = <&cpg 515>;
937 renesas,bonding = <&drif01>;
938 status = "disabled";
939 };
940
941 drif01: rif@e6f50000 {
942 compatible = "renesas,r8a7795-drif",
943 "renesas,rcar-gen3-drif";
944 reg = <0 0xe6f50000 0 0x64>;
945 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
946 clocks = <&cpg CPG_MOD 514>;
947 clock-names = "fck";
948 dmas = <&dmac1 0x22>, <&dmac2 0x22>;
949 dma-names = "rx", "rx";
950 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
951 resets = <&cpg 514>;
952 renesas,bonding = <&drif00>;
953 status = "disabled";
954 };
955
956 drif10: rif@e6f60000 {
957 compatible = "renesas,r8a7795-drif",
958 "renesas,rcar-gen3-drif";
959 reg = <0 0xe6f60000 0 0x64>;
960 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
961 clocks = <&cpg CPG_MOD 513>;
962 clock-names = "fck";
963 dmas = <&dmac1 0x24>, <&dmac2 0x24>;
964 dma-names = "rx", "rx";
965 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
966 resets = <&cpg 513>;
967 renesas,bonding = <&drif11>;
968 status = "disabled";
969 };
970
971 drif11: rif@e6f70000 {
972 compatible = "renesas,r8a7795-drif",
973 "renesas,rcar-gen3-drif";
974 reg = <0 0xe6f70000 0 0x64>;
975 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
976 clocks = <&cpg CPG_MOD 512>;
977 clock-names = "fck";
978 dmas = <&dmac1 0x26>, <&dmac2 0x26>;
979 dma-names = "rx", "rx";
980 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
981 resets = <&cpg 512>;
982 renesas,bonding = <&drif10>;
983 status = "disabled";
984 };
985
986 drif20: rif@e6f80000 {
987 compatible = "renesas,r8a7795-drif",
988 "renesas,rcar-gen3-drif";
989 reg = <0 0xe6f80000 0 0x64>;
990 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
991 clocks = <&cpg CPG_MOD 511>;
992 clock-names = "fck";
993 dmas = <&dmac1 0x28>, <&dmac2 0x28>;
994 dma-names = "rx", "rx";
995 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
996 resets = <&cpg 511>;
997 renesas,bonding = <&drif21>;
998 status = "disabled";
999 };
1000
1001 drif21: rif@e6f90000 {
1002 compatible = "renesas,r8a7795-drif",
1003 "renesas,rcar-gen3-drif";
1004 reg = <0 0xe6f90000 0 0x64>;
1005 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1006 clocks = <&cpg CPG_MOD 510>;
1007 clock-names = "fck";
1008 dmas = <&dmac1 0x2a>, <&dmac2 0x2a>;
1009 dma-names = "rx", "rx";
1010 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1011 resets = <&cpg 510>;
1012 renesas,bonding = <&drif20>;
1013 status = "disabled";
1014 };
1015
1016 drif30: rif@e6fa0000 {
1017 compatible = "renesas,r8a7795-drif",
1018 "renesas,rcar-gen3-drif";
1019 reg = <0 0xe6fa0000 0 0x64>;
1020 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
1021 clocks = <&cpg CPG_MOD 509>;
1022 clock-names = "fck";
1023 dmas = <&dmac1 0x2c>, <&dmac2 0x2c>;
1024 dma-names = "rx", "rx";
1025 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1026 resets = <&cpg 509>;
1027 renesas,bonding = <&drif31>;
1028 status = "disabled";
1029 };
1030
1031 drif31: rif@e6fb0000 {
1032 compatible = "renesas,r8a7795-drif",
1033 "renesas,rcar-gen3-drif";
1034 reg = <0 0xe6fb0000 0 0x64>;
1035 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
1036 clocks = <&cpg CPG_MOD 508>;
1037 clock-names = "fck";
1038 dmas = <&dmac1 0x2e>, <&dmac2 0x2e>;
1039 dma-names = "rx", "rx";
1040 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1041 resets = <&cpg 508>;
1042 renesas,bonding = <&drif30>;
1043 status = "disabled";
1044 };
1045
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001046 hscif0: serial@e6540000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001047 compatible = "renesas,hscif-r8a7795",
1048 "renesas,rcar-gen3-hscif",
1049 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001050 reg = <0 0xe6540000 0 96>;
1051 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001052 clocks = <&cpg CPG_MOD 520>,
1053 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1054 <&scif_clk>;
1055 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001056 dmas = <&dmac1 0x31>, <&dmac1 0x30>;
1057 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001058 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001059 resets = <&cpg 520>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001060 status = "disabled";
1061 };
1062
1063 hscif1: serial@e6550000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001064 compatible = "renesas,hscif-r8a7795",
1065 "renesas,rcar-gen3-hscif",
1066 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001067 reg = <0 0xe6550000 0 96>;
1068 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001069 clocks = <&cpg CPG_MOD 519>,
1070 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1071 <&scif_clk>;
1072 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001073 dmas = <&dmac1 0x33>, <&dmac1 0x32>;
1074 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001075 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001076 resets = <&cpg 519>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001077 status = "disabled";
1078 };
1079
1080 hscif2: serial@e6560000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001081 compatible = "renesas,hscif-r8a7795",
1082 "renesas,rcar-gen3-hscif",
1083 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001084 reg = <0 0xe6560000 0 96>;
1085 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001086 clocks = <&cpg CPG_MOD 518>,
1087 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1088 <&scif_clk>;
1089 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001090 dmas = <&dmac1 0x35>, <&dmac1 0x34>;
1091 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001092 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001093 resets = <&cpg 518>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001094 status = "disabled";
1095 };
1096
1097 hscif3: serial@e66a0000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001098 compatible = "renesas,hscif-r8a7795",
1099 "renesas,rcar-gen3-hscif",
1100 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001101 reg = <0 0xe66a0000 0 96>;
1102 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001103 clocks = <&cpg CPG_MOD 517>,
1104 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1105 <&scif_clk>;
1106 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001107 dmas = <&dmac0 0x37>, <&dmac0 0x36>;
1108 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001109 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001110 resets = <&cpg 517>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001111 status = "disabled";
1112 };
1113
1114 hscif4: serial@e66b0000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001115 compatible = "renesas,hscif-r8a7795",
1116 "renesas,rcar-gen3-hscif",
1117 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001118 reg = <0 0xe66b0000 0 96>;
1119 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001120 clocks = <&cpg CPG_MOD 516>,
1121 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1122 <&scif_clk>;
1123 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001124 dmas = <&dmac0 0x39>, <&dmac0 0x38>;
1125 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001126 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001127 resets = <&cpg 516>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001128 status = "disabled";
1129 };
1130
Geert Uytterhoevenecad1872017-07-12 12:34:21 +02001131 msiof0: spi@e6e90000 {
1132 compatible = "renesas,msiof-r8a7795",
1133 "renesas,rcar-gen3-msiof";
1134 reg = <0 0xe6e90000 0 0x0064>;
1135 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1136 clocks = <&cpg CPG_MOD 211>;
1137 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1138 <&dmac2 0x41>, <&dmac2 0x40>;
1139 dma-names = "tx", "rx", "tx", "rx";
1140 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1141 resets = <&cpg 211>;
1142 #address-cells = <1>;
1143 #size-cells = <0>;
1144 status = "disabled";
1145 };
1146
1147 msiof1: spi@e6ea0000 {
1148 compatible = "renesas,msiof-r8a7795",
1149 "renesas,rcar-gen3-msiof";
1150 reg = <0 0xe6ea0000 0 0x0064>;
1151 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1152 clocks = <&cpg CPG_MOD 210>;
1153 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1154 <&dmac2 0x43>, <&dmac2 0x42>;
1155 dma-names = "tx", "rx", "tx", "rx";
1156 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1157 resets = <&cpg 210>;
1158 #address-cells = <1>;
1159 #size-cells = <0>;
1160 status = "disabled";
1161 };
1162
1163 msiof2: spi@e6c00000 {
1164 compatible = "renesas,msiof-r8a7795",
1165 "renesas,rcar-gen3-msiof";
1166 reg = <0 0xe6c00000 0 0x0064>;
1167 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1168 clocks = <&cpg CPG_MOD 209>;
1169 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1170 dma-names = "tx", "rx";
1171 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1172 resets = <&cpg 209>;
1173 #address-cells = <1>;
1174 #size-cells = <0>;
1175 status = "disabled";
1176 };
1177
1178 msiof3: spi@e6c10000 {
1179 compatible = "renesas,msiof-r8a7795",
1180 "renesas,rcar-gen3-msiof";
1181 reg = <0 0xe6c10000 0 0x0064>;
1182 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1183 clocks = <&cpg CPG_MOD 208>;
1184 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1185 dma-names = "tx", "rx";
1186 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1187 resets = <&cpg 208>;
1188 #address-cells = <1>;
1189 #size-cells = <0>;
1190 status = "disabled";
1191 };
1192
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001193 scif0: serial@e6e60000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001194 compatible = "renesas,scif-r8a7795",
1195 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001196 reg = <0 0xe6e60000 0 64>;
1197 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001198 clocks = <&cpg CPG_MOD 207>,
1199 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1200 <&scif_clk>;
1201 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001202 dmas = <&dmac1 0x51>, <&dmac1 0x50>;
1203 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001204 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001205 resets = <&cpg 207>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001206 status = "disabled";
1207 };
1208
1209 scif1: serial@e6e68000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001210 compatible = "renesas,scif-r8a7795",
1211 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001212 reg = <0 0xe6e68000 0 64>;
1213 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001214 clocks = <&cpg CPG_MOD 206>,
1215 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1216 <&scif_clk>;
1217 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001218 dmas = <&dmac1 0x53>, <&dmac1 0x52>;
1219 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001220 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001221 resets = <&cpg 206>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001222 status = "disabled";
1223 };
1224
1225 scif2: serial@e6e88000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001226 compatible = "renesas,scif-r8a7795",
1227 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001228 reg = <0 0xe6e88000 0 64>;
1229 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001230 clocks = <&cpg CPG_MOD 310>,
1231 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1232 <&scif_clk>;
1233 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001234 dmas = <&dmac1 0x13>, <&dmac1 0x12>;
1235 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001236 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001237 resets = <&cpg 310>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001238 status = "disabled";
1239 };
1240
1241 scif3: serial@e6c50000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001242 compatible = "renesas,scif-r8a7795",
1243 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001244 reg = <0 0xe6c50000 0 64>;
1245 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001246 clocks = <&cpg CPG_MOD 204>,
1247 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1248 <&scif_clk>;
1249 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001250 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1251 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001252 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001253 resets = <&cpg 204>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001254 status = "disabled";
1255 };
1256
1257 scif4: serial@e6c40000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001258 compatible = "renesas,scif-r8a7795",
1259 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001260 reg = <0 0xe6c40000 0 64>;
1261 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001262 clocks = <&cpg CPG_MOD 203>,
1263 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1264 <&scif_clk>;
1265 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001266 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1267 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001268 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001269 resets = <&cpg 203>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001270 status = "disabled";
1271 };
1272
1273 scif5: serial@e6f30000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001274 compatible = "renesas,scif-r8a7795",
1275 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001276 reg = <0 0xe6f30000 0 64>;
1277 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001278 clocks = <&cpg CPG_MOD 202>,
1279 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1280 <&scif_clk>;
1281 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001282 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>;
1283 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001284 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001285 resets = <&cpg 202>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001286 status = "disabled";
1287 };
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001288
Keita Kobayashid7e0d642017-01-26 09:52:29 +01001289 i2c_dvfs: i2c@e60b0000 {
1290 #address-cells = <1>;
1291 #size-cells = <0>;
1292 compatible = "renesas,iic-r8a7795",
1293 "renesas,rcar-gen3-iic",
1294 "renesas,rmobile-iic";
1295 reg = <0 0xe60b0000 0 0x425>;
1296 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
1297 clocks = <&cpg CPG_MOD 926>;
1298 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001299 resets = <&cpg 926>;
Wolfram Sang482e5652017-05-28 12:14:29 +02001300 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
1301 dma-names = "tx", "rx";
Keita Kobayashid7e0d642017-01-26 09:52:29 +01001302 status = "disabled";
1303 };
1304
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001305 i2c0: i2c@e6500000 {
1306 #address-cells = <1>;
1307 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001308 compatible = "renesas,i2c-r8a7795",
1309 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001310 reg = <0 0xe6500000 0 0x40>;
1311 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
1312 clocks = <&cpg CPG_MOD 931>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001313 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001314 resets = <&cpg 931>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001315 dmas = <&dmac1 0x91>, <&dmac1 0x90>;
1316 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001317 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001318 status = "disabled";
1319 };
1320
1321 i2c1: i2c@e6508000 {
1322 #address-cells = <1>;
1323 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001324 compatible = "renesas,i2c-r8a7795",
1325 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001326 reg = <0 0xe6508000 0 0x40>;
1327 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
1328 clocks = <&cpg CPG_MOD 930>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001329 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001330 resets = <&cpg 930>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001331 dmas = <&dmac1 0x93>, <&dmac1 0x92>;
1332 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001333 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001334 status = "disabled";
1335 };
1336
1337 i2c2: i2c@e6510000 {
1338 #address-cells = <1>;
1339 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001340 compatible = "renesas,i2c-r8a7795",
1341 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001342 reg = <0 0xe6510000 0 0x40>;
1343 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
1344 clocks = <&cpg CPG_MOD 929>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001345 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001346 resets = <&cpg 929>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001347 dmas = <&dmac1 0x95>, <&dmac1 0x94>;
1348 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001349 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001350 status = "disabled";
1351 };
1352
1353 i2c3: i2c@e66d0000 {
1354 #address-cells = <1>;
1355 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001356 compatible = "renesas,i2c-r8a7795",
1357 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001358 reg = <0 0xe66d0000 0 0x40>;
1359 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
1360 clocks = <&cpg CPG_MOD 928>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001361 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001362 resets = <&cpg 928>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001363 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
1364 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001365 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001366 status = "disabled";
1367 };
1368
1369 i2c4: i2c@e66d8000 {
1370 #address-cells = <1>;
1371 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001372 compatible = "renesas,i2c-r8a7795",
1373 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001374 reg = <0 0xe66d8000 0 0x40>;
1375 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
1376 clocks = <&cpg CPG_MOD 927>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001377 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001378 resets = <&cpg 927>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001379 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
1380 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001381 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001382 status = "disabled";
1383 };
1384
1385 i2c5: i2c@e66e0000 {
1386 #address-cells = <1>;
1387 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001388 compatible = "renesas,i2c-r8a7795",
1389 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001390 reg = <0 0xe66e0000 0 0x40>;
1391 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1392 clocks = <&cpg CPG_MOD 919>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001393 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001394 resets = <&cpg 919>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001395 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
1396 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001397 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001398 status = "disabled";
1399 };
1400
1401 i2c6: i2c@e66e8000 {
1402 #address-cells = <1>;
1403 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001404 compatible = "renesas,i2c-r8a7795",
1405 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001406 reg = <0 0xe66e8000 0 0x40>;
1407 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1408 clocks = <&cpg CPG_MOD 918>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001409 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001410 resets = <&cpg 918>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001411 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
1412 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001413 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001414 status = "disabled";
1415 };
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001416
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001417 pwm0: pwm@e6e30000 {
1418 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1419 reg = <0 0xe6e30000 0 0x8>;
1420 clocks = <&cpg CPG_MOD 523>;
1421 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001422 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001423 #pwm-cells = <2>;
1424 status = "disabled";
1425 };
1426
1427 pwm1: pwm@e6e31000 {
1428 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1429 reg = <0 0xe6e31000 0 0x8>;
1430 clocks = <&cpg CPG_MOD 523>;
1431 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001432 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001433 #pwm-cells = <2>;
1434 status = "disabled";
1435 };
1436
1437 pwm2: pwm@e6e32000 {
1438 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1439 reg = <0 0xe6e32000 0 0x8>;
1440 clocks = <&cpg CPG_MOD 523>;
1441 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001442 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001443 #pwm-cells = <2>;
1444 status = "disabled";
1445 };
1446
1447 pwm3: pwm@e6e33000 {
1448 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1449 reg = <0 0xe6e33000 0 0x8>;
1450 clocks = <&cpg CPG_MOD 523>;
1451 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001452 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001453 #pwm-cells = <2>;
1454 status = "disabled";
1455 };
1456
1457 pwm4: pwm@e6e34000 {
1458 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1459 reg = <0 0xe6e34000 0 0x8>;
1460 clocks = <&cpg CPG_MOD 523>;
1461 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001462 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001463 #pwm-cells = <2>;
1464 status = "disabled";
1465 };
1466
1467 pwm5: pwm@e6e35000 {
1468 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1469 reg = <0 0xe6e35000 0 0x8>;
1470 clocks = <&cpg CPG_MOD 523>;
1471 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001472 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001473 #pwm-cells = <2>;
1474 status = "disabled";
1475 };
1476
1477 pwm6: pwm@e6e36000 {
1478 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1479 reg = <0 0xe6e36000 0 0x8>;
1480 clocks = <&cpg CPG_MOD 523>;
1481 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001482 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001483 #pwm-cells = <2>;
1484 status = "disabled";
1485 };
1486
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001487 rcar_sound: sound@ec500000 {
1488 /*
1489 * #sound-dai-cells is required
1490 *
1491 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1492 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1493 */
1494 /*
1495 * #clock-cells is required for audio_clkout0/1/2/3
1496 *
1497 * clkout : #clock-cells = <0>; <&rcar_sound>;
1498 * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
1499 */
1500 compatible = "renesas,rcar_sound-r8a7795", "renesas,rcar_sound-gen3";
1501 reg = <0 0xec500000 0 0x1000>, /* SCU */
1502 <0 0xec5a0000 0 0x100>, /* ADG */
1503 <0 0xec540000 0 0x1000>, /* SSIU */
1504 <0 0xec541000 0 0x280>, /* SSI */
1505 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1506 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1507
1508 clocks = <&cpg CPG_MOD 1005>,
1509 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1510 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1511 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1512 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1513 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001514 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1515 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1516 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1517 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1518 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001519 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001520 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001521 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001522 <&audio_clk_a>, <&audio_clk_b>,
1523 <&audio_clk_c>,
1524 <&cpg CPG_CORE R8A7795_CLK_S0D4>;
1525 clock-names = "ssi-all",
1526 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1527 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1528 "ssi.1", "ssi.0",
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001529 "src.9", "src.8", "src.7", "src.6",
1530 "src.5", "src.4", "src.3", "src.2",
1531 "src.1", "src.0",
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001532 "mix.1", "mix.0",
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001533 "ctu.1", "ctu.0",
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001534 "dvc.0", "dvc.1",
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001535 "clk_a", "clk_b", "clk_c", "clk_i";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001536 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoeven161a1912017-06-12 11:32:16 +02001537 resets = <&cpg 1005>,
1538 <&cpg 1006>, <&cpg 1007>,
1539 <&cpg 1008>, <&cpg 1009>,
1540 <&cpg 1010>, <&cpg 1011>,
1541 <&cpg 1012>, <&cpg 1013>,
1542 <&cpg 1014>, <&cpg 1015>;
1543 reset-names = "ssi-all",
1544 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1545 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1546 "ssi.1", "ssi.0";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001547 status = "disabled";
1548
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001549 rcar_sound,dvc {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001550 dvc0: dvc-0 {
Kuninori Morimotob5a8ffa2017-03-07 05:30:06 +00001551 dmas = <&audma1 0xbc>;
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001552 dma-names = "tx";
1553 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001554 dvc1: dvc-1 {
Kuninori Morimotob5a8ffa2017-03-07 05:30:06 +00001555 dmas = <&audma1 0xbe>;
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001556 dma-names = "tx";
1557 };
1558 };
1559
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001560 rcar_sound,mix {
1561 mix0: mix-0 { };
1562 mix1: mix-1 { };
1563 };
1564
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001565 rcar_sound,ctu {
1566 ctu00: ctu-0 { };
1567 ctu01: ctu-1 { };
1568 ctu02: ctu-2 { };
1569 ctu03: ctu-3 { };
1570 ctu10: ctu-4 { };
1571 ctu11: ctu-5 { };
1572 ctu12: ctu-6 { };
1573 ctu13: ctu-7 { };
1574 };
1575
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001576 rcar_sound,src {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001577 src0: src-0 {
Simon Horman52b541a2016-02-02 14:31:03 +01001578 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001579 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1580 dma-names = "rx", "tx";
1581 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001582 src1: src-1 {
Simon Horman52b541a2016-02-02 14:31:03 +01001583 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001584 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1585 dma-names = "rx", "tx";
1586 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001587 src2: src-2 {
Simon Horman52b541a2016-02-02 14:31:03 +01001588 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001589 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1590 dma-names = "rx", "tx";
1591 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001592 src3: src-3 {
Simon Horman52b541a2016-02-02 14:31:03 +01001593 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001594 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1595 dma-names = "rx", "tx";
1596 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001597 src4: src-4 {
Simon Horman52b541a2016-02-02 14:31:03 +01001598 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001599 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1600 dma-names = "rx", "tx";
1601 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001602 src5: src-5 {
Simon Horman52b541a2016-02-02 14:31:03 +01001603 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001604 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1605 dma-names = "rx", "tx";
1606 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001607 src6: src-6 {
Simon Horman52b541a2016-02-02 14:31:03 +01001608 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001609 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1610 dma-names = "rx", "tx";
1611 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001612 src7: src-7 {
Simon Horman52b541a2016-02-02 14:31:03 +01001613 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001614 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1615 dma-names = "rx", "tx";
1616 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001617 src8: src-8 {
Simon Horman52b541a2016-02-02 14:31:03 +01001618 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001619 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1620 dma-names = "rx", "tx";
1621 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001622 src9: src-9 {
Simon Horman52b541a2016-02-02 14:31:03 +01001623 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001624 dmas = <&audma0 0x97>, <&audma1 0xba>;
1625 dma-names = "rx", "tx";
1626 };
1627 };
1628
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001629 rcar_sound,ssi {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001630 ssi0: ssi-0 {
Simon Horman52b541a2016-02-02 14:31:03 +01001631 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001632 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1633 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001634 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001635 ssi1: ssi-1 {
Simon Horman52b541a2016-02-02 14:31:03 +01001636 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001637 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1638 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001639 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001640 ssi2: ssi-2 {
Simon Horman52b541a2016-02-02 14:31:03 +01001641 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001642 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1643 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001644 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001645 ssi3: ssi-3 {
Simon Horman52b541a2016-02-02 14:31:03 +01001646 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001647 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1648 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001649 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001650 ssi4: ssi-4 {
Simon Horman52b541a2016-02-02 14:31:03 +01001651 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001652 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1653 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001654 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001655 ssi5: ssi-5 {
Simon Horman52b541a2016-02-02 14:31:03 +01001656 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001657 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1658 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001659 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001660 ssi6: ssi-6 {
Simon Horman52b541a2016-02-02 14:31:03 +01001661 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001662 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1663 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001664 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001665 ssi7: ssi-7 {
Simon Horman52b541a2016-02-02 14:31:03 +01001666 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001667 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1668 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001669 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001670 ssi8: ssi-8 {
Simon Horman52b541a2016-02-02 14:31:03 +01001671 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001672 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1673 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001674 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001675 ssi9: ssi-9 {
Simon Horman52b541a2016-02-02 14:31:03 +01001676 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001677 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1678 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001679 };
1680 };
1681 };
Kouei Abe4c134722015-12-14 16:42:34 +01001682
1683 sata: sata@ee300000 {
Simon Horman41f148f2017-08-09 10:26:43 +02001684 compatible = "renesas,sata-r8a7795",
1685 "renesas,rcar-gen3-sata";
Magnus Damme9f00892017-03-20 17:49:21 +09001686 reg = <0 0xee300000 0 0x200000>;
Kouei Abe4c134722015-12-14 16:42:34 +01001687 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht2eb2b502015-12-16 11:34:21 +01001688 clocks = <&cpg CPG_MOD 815>;
Geert Uytterhoeven2cab2262017-01-16 17:57:53 +01001689 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001690 resets = <&cpg 815>;
Kouei Abe4c134722015-12-14 16:42:34 +01001691 status = "disabled";
Magnus Damm07038242017-11-10 14:25:30 +01001692 iommus = <&ipmmu_hc 2>;
Kouei Abe4c134722015-12-14 16:42:34 +01001693 };
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001694
Yoshihiro Shimoda7c1e5ea2017-12-07 18:55:39 +09001695 usb3_phy0: usb-phy@e65ee000 {
1696 compatible = "renesas,r8a7795-usb3-phy",
1697 "renesas,rcar-gen3-usb3-phy";
1698 reg = <0 0xe65ee000 0 0x90>;
1699 clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
1700 <&usb_extal_clk>;
1701 clock-names = "usb3-if", "usb3s_clk", "usb_extal";
1702 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1703 resets = <&cpg 328>;
1704 #phy-cells = <0>;
1705 status = "disabled";
1706 };
1707
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001708 xhci0: usb@ee000000 {
Simon Horman81ae0ac2016-03-24 11:01:09 +09001709 compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001710 reg = <0 0xee000000 0 0xc00>;
1711 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1712 clocks = <&cpg CPG_MOD 328>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001713 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001714 resets = <&cpg 328>;
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001715 status = "disabled";
1716 };
1717
Yoshihiro Shimoda3bdba1b2017-09-21 14:31:25 +09001718 usb3_peri0: usb@ee020000 {
1719 compatible = "renesas,r8a7795-usb3-peri",
1720 "renesas,rcar-gen3-usb3-peri";
1721 reg = <0 0xee020000 0 0x400>;
1722 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1723 clocks = <&cpg CPG_MOD 328>;
1724 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1725 resets = <&cpg 328>;
1726 status = "disabled";
1727 };
1728
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001729 usb_dmac0: dma-controller@e65a0000 {
1730 compatible = "renesas,r8a7795-usb-dmac",
1731 "renesas,usb-dmac";
1732 reg = <0 0xe65a0000 0 0x100>;
1733 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
1734 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
1735 interrupt-names = "ch0", "ch1";
1736 clocks = <&cpg CPG_MOD 330>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001737 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001738 resets = <&cpg 330>;
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001739 #dma-cells = <1>;
1740 dma-channels = <2>;
1741 };
1742
1743 usb_dmac1: dma-controller@e65b0000 {
1744 compatible = "renesas,r8a7795-usb-dmac",
1745 "renesas,usb-dmac";
1746 reg = <0 0xe65b0000 0 0x100>;
1747 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
1748 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
1749 interrupt-names = "ch0", "ch1";
1750 clocks = <&cpg CPG_MOD 331>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001751 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001752 resets = <&cpg 331>;
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001753 #dma-cells = <1>;
1754 dma-channels = <2>;
1755 };
Ai Kyused9d67012016-02-15 16:01:49 +01001756
Yoshihiro Shimoda62f40bc2017-07-26 20:29:39 +09001757 usb_dmac2: dma-controller@e6460000 {
1758 compatible = "renesas,r8a7795-usb-dmac",
1759 "renesas,usb-dmac";
1760 reg = <0 0xe6460000 0 0x100>;
1761 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH
1762 GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
1763 interrupt-names = "ch0", "ch1";
1764 clocks = <&cpg CPG_MOD 326>;
1765 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1766 resets = <&cpg 326>;
1767 #dma-cells = <1>;
1768 dma-channels = <2>;
1769 };
1770
1771 usb_dmac3: dma-controller@e6470000 {
1772 compatible = "renesas,r8a7795-usb-dmac",
1773 "renesas,usb-dmac";
1774 reg = <0 0xe6470000 0 0x100>;
1775 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH
1776 GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1777 interrupt-names = "ch0", "ch1";
1778 clocks = <&cpg CPG_MOD 329>;
1779 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1780 resets = <&cpg 329>;
1781 #dma-cells = <1>;
1782 dma-channels = <2>;
1783 };
1784
Ai Kyused9d67012016-02-15 16:01:49 +01001785 sdhi0: sd@ee100000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001786 compatible = "renesas,sdhi-r8a7795",
1787 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001788 reg = <0 0xee100000 0 0x2000>;
1789 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1790 clocks = <&cpg CPG_MOD 314>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001791 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001792 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001793 resets = <&cpg 314>;
Ai Kyused9d67012016-02-15 16:01:49 +01001794 status = "disabled";
1795 };
1796
1797 sdhi1: sd@ee120000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001798 compatible = "renesas,sdhi-r8a7795",
1799 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001800 reg = <0 0xee120000 0 0x2000>;
1801 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1802 clocks = <&cpg CPG_MOD 313>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001803 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001804 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001805 resets = <&cpg 313>;
Ai Kyused9d67012016-02-15 16:01:49 +01001806 status = "disabled";
1807 };
1808
1809 sdhi2: sd@ee140000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001810 compatible = "renesas,sdhi-r8a7795",
1811 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001812 reg = <0 0xee140000 0 0x2000>;
1813 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1814 clocks = <&cpg CPG_MOD 312>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001815 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001816 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001817 resets = <&cpg 312>;
Ai Kyused9d67012016-02-15 16:01:49 +01001818 status = "disabled";
1819 };
1820
1821 sdhi3: sd@ee160000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001822 compatible = "renesas,sdhi-r8a7795",
1823 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001824 reg = <0 0xee160000 0 0x2000>;
1825 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1826 clocks = <&cpg CPG_MOD 311>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001827 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001828 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001829 resets = <&cpg 311>;
Ai Kyused9d67012016-02-15 16:01:49 +01001830 status = "disabled";
1831 };
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001832
1833 usb2_phy0: usb-phy@ee080200 {
Simon Horman66950922016-12-01 15:25:54 +01001834 compatible = "renesas,usb2-phy-r8a7795",
1835 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001836 reg = <0 0xee080200 0 0x700>;
1837 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1838 clocks = <&cpg CPG_MOD 703>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001839 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001840 resets = <&cpg 703>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001841 #phy-cells = <0>;
1842 status = "disabled";
1843 };
1844
1845 usb2_phy1: usb-phy@ee0a0200 {
Simon Horman66950922016-12-01 15:25:54 +01001846 compatible = "renesas,usb2-phy-r8a7795",
1847 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001848 reg = <0 0xee0a0200 0 0x700>;
1849 clocks = <&cpg CPG_MOD 702>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001850 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001851 resets = <&cpg 702>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001852 #phy-cells = <0>;
1853 status = "disabled";
1854 };
1855
1856 usb2_phy2: usb-phy@ee0c0200 {
Simon Horman66950922016-12-01 15:25:54 +01001857 compatible = "renesas,usb2-phy-r8a7795",
1858 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001859 reg = <0 0xee0c0200 0 0x700>;
1860 clocks = <&cpg CPG_MOD 701>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001861 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001862 resets = <&cpg 701>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001863 #phy-cells = <0>;
1864 status = "disabled";
1865 };
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001866
Yoshihiro Shimodaac29cc42017-07-26 20:29:37 +09001867 usb2_phy3: usb-phy@ee0e0200 {
1868 compatible = "renesas,usb2-phy-r8a7795",
1869 "renesas,rcar-gen3-usb2-phy";
1870 reg = <0 0xee0e0200 0 0x700>;
1871 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1872 clocks = <&cpg CPG_MOD 700>;
1873 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1874 resets = <&cpg 700>;
1875 #phy-cells = <0>;
1876 status = "disabled";
1877 };
1878
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001879 ehci0: usb@ee080100 {
1880 compatible = "generic-ehci";
1881 reg = <0 0xee080100 0 0x100>;
1882 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1883 clocks = <&cpg CPG_MOD 703>;
1884 phys = <&usb2_phy0>;
1885 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001886 companion = <&ohci0>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001887 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001888 resets = <&cpg 703>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001889 status = "disabled";
1890 };
1891
1892 ehci1: usb@ee0a0100 {
1893 compatible = "generic-ehci";
1894 reg = <0 0xee0a0100 0 0x100>;
1895 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1896 clocks = <&cpg CPG_MOD 702>;
1897 phys = <&usb2_phy1>;
1898 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001899 companion = <&ohci1>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001900 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001901 resets = <&cpg 702>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001902 status = "disabled";
1903 };
1904
1905 ehci2: usb@ee0c0100 {
1906 compatible = "generic-ehci";
1907 reg = <0 0xee0c0100 0 0x100>;
1908 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1909 clocks = <&cpg CPG_MOD 701>;
1910 phys = <&usb2_phy2>;
1911 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001912 companion = <&ohci2>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001913 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001914 resets = <&cpg 701>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001915 status = "disabled";
1916 };
1917
Yoshihiro Shimoda4dad6dc2017-07-26 20:29:38 +09001918 ehci3: usb@ee0e0100 {
1919 compatible = "generic-ehci";
1920 reg = <0 0xee0e0100 0 0x100>;
1921 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1922 clocks = <&cpg CPG_MOD 700>;
1923 phys = <&usb2_phy3>;
1924 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001925 companion = <&ohci3>;
Yoshihiro Shimoda4dad6dc2017-07-26 20:29:38 +09001926 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1927 resets = <&cpg 700>;
1928 status = "disabled";
1929 };
1930
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001931 ohci0: usb@ee080000 {
1932 compatible = "generic-ohci";
1933 reg = <0 0xee080000 0 0x100>;
1934 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1935 clocks = <&cpg CPG_MOD 703>;
1936 phys = <&usb2_phy0>;
1937 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001938 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001939 resets = <&cpg 703>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001940 status = "disabled";
1941 };
1942
1943 ohci1: usb@ee0a0000 {
1944 compatible = "generic-ohci";
1945 reg = <0 0xee0a0000 0 0x100>;
1946 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1947 clocks = <&cpg CPG_MOD 702>;
1948 phys = <&usb2_phy1>;
1949 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001950 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001951 resets = <&cpg 702>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001952 status = "disabled";
1953 };
1954
1955 ohci2: usb@ee0c0000 {
1956 compatible = "generic-ohci";
1957 reg = <0 0xee0c0000 0 0x100>;
1958 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1959 clocks = <&cpg CPG_MOD 701>;
1960 phys = <&usb2_phy2>;
1961 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001962 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001963 resets = <&cpg 701>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001964 status = "disabled";
1965 };
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001966
Yoshihiro Shimoda4dad6dc2017-07-26 20:29:38 +09001967 ohci3: usb@ee0e0000 {
1968 compatible = "generic-ohci";
1969 reg = <0 0xee0e0000 0 0x100>;
1970 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1971 clocks = <&cpg CPG_MOD 700>;
1972 phys = <&usb2_phy3>;
1973 phy-names = "usb";
1974 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1975 resets = <&cpg 700>;
1976 status = "disabled";
1977 };
1978
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001979 hsusb: usb@e6590000 {
1980 compatible = "renesas,usbhs-r8a7795",
1981 "renesas,rcar-gen3-usbhs";
1982 reg = <0 0xe6590000 0 0x100>;
1983 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1984 clocks = <&cpg CPG_MOD 704>;
1985 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
1986 <&usb_dmac1 0>, <&usb_dmac1 1>;
1987 dma-names = "ch0", "ch1", "ch2", "ch3";
1988 renesas,buswait = <11>;
1989 phys = <&usb2_phy0>;
1990 phy-names = "usb";
1991 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001992 resets = <&cpg 704>;
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001993 status = "disabled";
1994 };
1995
Yoshihiro Shimoda4725f2b2017-07-26 20:29:40 +09001996 hsusb3: usb@e659c000 {
1997 compatible = "renesas,usbhs-r8a7795",
1998 "renesas,rcar-gen3-usbhs";
1999 reg = <0 0xe659c000 0 0x100>;
2000 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
2001 clocks = <&cpg CPG_MOD 705>;
2002 dmas = <&usb_dmac2 0>, <&usb_dmac2 1>,
2003 <&usb_dmac3 0>, <&usb_dmac3 1>;
2004 dma-names = "ch0", "ch1", "ch2", "ch3";
2005 renesas,buswait = <11>;
2006 phys = <&usb2_phy3>;
2007 phy-names = "usb";
2008 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
2009 resets = <&cpg 705>;
2010 status = "disabled";
2011 };
2012
Phil Edworthy92510242016-04-05 11:51:26 +01002013 pciec0: pcie@fe000000 {
Simon Hormanfb04f4b2016-12-08 16:29:29 +01002014 compatible = "renesas,pcie-r8a7795",
2015 "renesas,pcie-rcar-gen3";
Phil Edworthy92510242016-04-05 11:51:26 +01002016 reg = <0 0xfe000000 0 0x80000>;
2017 #address-cells = <3>;
2018 #size-cells = <2>;
2019 bus-range = <0x00 0xff>;
2020 device_type = "pci";
2021 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
2022 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
2023 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
2024 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
2025 /* Map all possible DDR as inbound ranges */
2026 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
2027 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2028 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2029 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
2030 #interrupt-cells = <1>;
2031 interrupt-map-mask = <0 0 0 0>;
2032 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
2033 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
2034 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02002035 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002036 resets = <&cpg 319>;
Phil Edworthy92510242016-04-05 11:51:26 +01002037 status = "disabled";
2038 };
2039
2040 pciec1: pcie@ee800000 {
Simon Hormanfb04f4b2016-12-08 16:29:29 +01002041 compatible = "renesas,pcie-r8a7795",
2042 "renesas,pcie-rcar-gen3";
Phil Edworthy92510242016-04-05 11:51:26 +01002043 reg = <0 0xee800000 0 0x80000>;
2044 #address-cells = <3>;
2045 #size-cells = <2>;
2046 bus-range = <0x00 0xff>;
2047 device_type = "pci";
2048 ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
2049 0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
2050 0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
2051 0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
2052 /* Map all possible DDR as inbound ranges */
2053 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
2054 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
2055 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
2056 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
2057 #interrupt-cells = <1>;
2058 interrupt-map-mask = <0 0 0 0>;
2059 interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
2060 clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
2061 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02002062 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002063 resets = <&cpg 318>;
Phil Edworthy92510242016-04-05 11:51:26 +01002064 status = "disabled";
2065 };
Kieran Bingham28fc8132016-06-30 14:32:42 +01002066
Sergei Shtylyov24604cd2017-06-27 20:30:53 +03002067 imr-lx4@fe860000 {
2068 compatible = "renesas,r8a7795-imr-lx4",
2069 "renesas,imr-lx4";
2070 reg = <0 0xfe860000 0 0x2000>;
2071 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
2072 clocks = <&cpg CPG_MOD 823>;
2073 power-domains = <&sysc R8A7795_PD_A3VC>;
2074 resets = <&cpg 823>;
2075 };
2076
2077 imr-lx4@fe870000 {
2078 compatible = "renesas,r8a7795-imr-lx4",
2079 "renesas,imr-lx4";
2080 reg = <0 0xfe870000 0 0x2000>;
2081 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
2082 clocks = <&cpg CPG_MOD 822>;
2083 power-domains = <&sysc R8A7795_PD_A3VC>;
2084 resets = <&cpg 822>;
2085 };
2086
2087 imr-lx4@fe880000 {
2088 compatible = "renesas,r8a7795-imr-lx4",
2089 "renesas,imr-lx4";
2090 reg = <0 0xfe880000 0 0x2000>;
2091 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
2092 clocks = <&cpg CPG_MOD 821>;
2093 power-domains = <&sysc R8A7795_PD_A3VC>;
2094 resets = <&cpg 821>;
2095 };
2096
2097 imr-lx4@fe890000 {
2098 compatible = "renesas,r8a7795-imr-lx4",
2099 "renesas,imr-lx4";
2100 reg = <0 0xfe890000 0 0x2000>;
2101 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
2102 clocks = <&cpg CPG_MOD 820>;
2103 power-domains = <&sysc R8A7795_PD_A3VC>;
2104 resets = <&cpg 820>;
2105 };
2106
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002107 vspbc: vsp@fe920000 {
2108 compatible = "renesas,vsp2";
2109 reg = <0 0xfe920000 0 0x8000>;
2110 interrupts = <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>;
2111 clocks = <&cpg CPG_MOD 624>;
2112 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002113 resets = <&cpg 624>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002114
2115 renesas,fcp = <&fcpvb1>;
2116 };
2117
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002118 fcpvb1: fcp@fe92f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002119 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002120 reg = <0 0xfe92f000 0 0x200>;
2121 clocks = <&cpg CPG_MOD 606>;
2122 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002123 resets = <&cpg 606>;
Magnus Dammcdd919b2017-11-10 14:25:26 +01002124 iommus = <&ipmmu_vp1 7>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002125 };
2126
Kieran Bingham28fc8132016-06-30 14:32:42 +01002127 fcpf0: fcp@fe950000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002128 compatible = "renesas,fcpf";
Kieran Bingham28fc8132016-06-30 14:32:42 +01002129 reg = <0 0xfe950000 0 0x200>;
2130 clocks = <&cpg CPG_MOD 615>;
2131 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002132 resets = <&cpg 615>;
Magnus Dammafdeb142017-11-10 14:25:24 +01002133 iommus = <&ipmmu_vp0 0>;
Kieran Bingham28fc8132016-06-30 14:32:42 +01002134 };
2135
2136 fcpf1: fcp@fe951000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002137 compatible = "renesas,fcpf";
Kieran Bingham28fc8132016-06-30 14:32:42 +01002138 reg = <0 0xfe951000 0 0x200>;
2139 clocks = <&cpg CPG_MOD 614>;
2140 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002141 resets = <&cpg 614>;
Magnus Dammafdeb142017-11-10 14:25:24 +01002142 iommus = <&ipmmu_vp1 1>;
Kieran Bingham28fc8132016-06-30 14:32:42 +01002143 };
2144
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002145 vspbd: vsp@fe960000 {
2146 compatible = "renesas,vsp2";
2147 reg = <0 0xfe960000 0 0x8000>;
2148 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
2149 clocks = <&cpg CPG_MOD 626>;
2150 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002151 resets = <&cpg 626>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002152
2153 renesas,fcp = <&fcpvb0>;
2154 };
2155
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002156 fcpvb0: fcp@fe96f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002157 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002158 reg = <0 0xfe96f000 0 0x200>;
2159 clocks = <&cpg CPG_MOD 607>;
2160 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002161 resets = <&cpg 607>;
Magnus Dammcdd919b2017-11-10 14:25:26 +01002162 iommus = <&ipmmu_vp0 5>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002163 };
2164
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002165 vspi0: vsp@fe9a0000 {
2166 compatible = "renesas,vsp2";
2167 reg = <0 0xfe9a0000 0 0x8000>;
2168 interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
2169 clocks = <&cpg CPG_MOD 631>;
2170 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002171 resets = <&cpg 631>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002172
2173 renesas,fcp = <&fcpvi0>;
2174 };
2175
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002176 fcpvi0: fcp@fe9af000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002177 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002178 reg = <0 0xfe9af000 0 0x200>;
2179 clocks = <&cpg CPG_MOD 611>;
2180 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002181 resets = <&cpg 611>;
Magnus Damma02aac42017-11-10 14:25:27 +01002182 iommus = <&ipmmu_vp0 8>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002183 };
2184
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002185 vspi1: vsp@fe9b0000 {
2186 compatible = "renesas,vsp2";
2187 reg = <0 0xfe9b0000 0 0x8000>;
2188 interrupts = <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
2189 clocks = <&cpg CPG_MOD 630>;
2190 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002191 resets = <&cpg 630>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002192
2193 renesas,fcp = <&fcpvi1>;
2194 };
2195
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002196 fcpvi1: fcp@fe9bf000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002197 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002198 reg = <0 0xfe9bf000 0 0x200>;
2199 clocks = <&cpg CPG_MOD 610>;
2200 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002201 resets = <&cpg 610>;
Magnus Damma02aac42017-11-10 14:25:27 +01002202 iommus = <&ipmmu_vp1 9>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002203 };
2204
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002205 vspd0: vsp@fea20000 {
2206 compatible = "renesas,vsp2";
2207 reg = <0 0xfea20000 0 0x4000>;
2208 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
2209 clocks = <&cpg CPG_MOD 623>;
2210 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002211 resets = <&cpg 623>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002212
2213 renesas,fcp = <&fcpvd0>;
2214 };
2215
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002216 fcpvd0: fcp@fea27000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002217 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002218 reg = <0 0xfea27000 0 0x200>;
2219 clocks = <&cpg CPG_MOD 603>;
2220 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002221 resets = <&cpg 603>;
Magnus Damm45b894a2017-11-10 14:25:22 +01002222 iommus = <&ipmmu_vi0 8>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002223 };
2224
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002225 vspd1: vsp@fea28000 {
2226 compatible = "renesas,vsp2";
2227 reg = <0 0xfea28000 0 0x4000>;
2228 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
2229 clocks = <&cpg CPG_MOD 622>;
2230 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002231 resets = <&cpg 622>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002232
2233 renesas,fcp = <&fcpvd1>;
2234 };
2235
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002236 fcpvd1: fcp@fea2f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002237 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002238 reg = <0 0xfea2f000 0 0x200>;
2239 clocks = <&cpg CPG_MOD 602>;
2240 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002241 resets = <&cpg 602>;
Magnus Damm45b894a2017-11-10 14:25:22 +01002242 iommus = <&ipmmu_vi0 9>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002243 };
2244
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002245 vspd2: vsp@fea30000 {
2246 compatible = "renesas,vsp2";
2247 reg = <0 0xfea30000 0 0x4000>;
2248 interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
2249 clocks = <&cpg CPG_MOD 621>;
2250 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002251 resets = <&cpg 621>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002252
2253 renesas,fcp = <&fcpvd2>;
2254 };
2255
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002256 fcpvd2: fcp@fea37000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002257 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002258 reg = <0 0xfea37000 0 0x200>;
2259 clocks = <&cpg CPG_MOD 601>;
2260 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002261 resets = <&cpg 601>;
Magnus Damm45b894a2017-11-10 14:25:22 +01002262 iommus = <&ipmmu_vi1 10>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002263 };
2264
Kieran Binghambfb31452016-06-30 14:32:43 +01002265 fdp1@fe940000 {
2266 compatible = "renesas,fdp1";
2267 reg = <0 0xfe940000 0 0x2400>;
2268 interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
2269 clocks = <&cpg CPG_MOD 119>;
2270 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002271 resets = <&cpg 119>;
Kieran Binghambfb31452016-06-30 14:32:43 +01002272 renesas,fcp = <&fcpf0>;
2273 };
2274
2275 fdp1@fe944000 {
2276 compatible = "renesas,fdp1";
2277 reg = <0 0xfe944000 0 0x2400>;
2278 interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
2279 clocks = <&cpg CPG_MOD 118>;
2280 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002281 resets = <&cpg 118>;
Kieran Binghambfb31452016-06-30 14:32:43 +01002282 renesas,fcp = <&fcpf1>;
2283 };
2284
Geert Uytterhoeven6b5ac2f2017-08-30 12:03:17 +02002285 hdmi0: hdmi@fead0000 {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002286 compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
2287 reg = <0 0xfead0000 0 0x10000>;
2288 interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
2289 clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7795_CLK_HDMI>;
2290 clock-names = "iahb", "isfr";
2291 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
2292 resets = <&cpg 729>;
2293 status = "disabled";
2294
2295 ports {
2296 #address-cells = <1>;
2297 #size-cells = <0>;
2298 port@0 {
2299 reg = <0>;
2300 dw_hdmi0_in: endpoint {
2301 remote-endpoint = <&du_out_hdmi0>;
2302 };
2303 };
2304 port@1 {
2305 reg = <1>;
2306 };
2307 };
2308 };
2309
Geert Uytterhoeven6b5ac2f2017-08-30 12:03:17 +02002310 hdmi1: hdmi@feae0000 {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002311 compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
2312 reg = <0 0xfeae0000 0 0x10000>;
2313 interrupts = <GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH>;
2314 clocks = <&cpg CPG_MOD 728>, <&cpg CPG_CORE R8A7795_CLK_HDMI>;
2315 clock-names = "iahb", "isfr";
2316 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
2317 resets = <&cpg 728>;
2318 status = "disabled";
2319
2320 ports {
2321 #address-cells = <1>;
2322 #size-cells = <0>;
2323 port@0 {
2324 reg = <0>;
2325 dw_hdmi1_in: endpoint {
2326 remote-endpoint = <&du_out_hdmi1>;
2327 };
2328 };
2329 port@1 {
2330 reg = <1>;
2331 };
2332 };
2333 };
2334
Laurent Pincharta001a072016-08-09 15:29:11 +03002335 du: display@feb00000 {
Laurent Pinchartf0499b92017-06-26 19:29:30 +03002336 compatible = "renesas,du-r8a7795";
Laurent Pincharta001a072016-08-09 15:29:11 +03002337 reg = <0 0xfeb00000 0 0x80000>,
2338 <0 0xfeb90000 0 0x14>;
2339 reg-names = "du", "lvds.0";
2340 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2341 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2342 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
2343 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
2344 clocks = <&cpg CPG_MOD 724>,
2345 <&cpg CPG_MOD 723>,
2346 <&cpg CPG_MOD 722>,
2347 <&cpg CPG_MOD 721>,
2348 <&cpg CPG_MOD 727>;
2349 clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0";
Laurent Pinchartf0499b92017-06-26 19:29:30 +03002350 vsps = <&vspd0 0 &vspd1 0 &vspd2 0 &vspd0 1>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002351 status = "disabled";
2352
Laurent Pincharta001a072016-08-09 15:29:11 +03002353 ports {
2354 #address-cells = <1>;
2355 #size-cells = <0>;
2356
2357 port@0 {
2358 reg = <0>;
2359 du_out_rgb: endpoint {
2360 };
2361 };
2362 port@1 {
2363 reg = <1>;
2364 du_out_hdmi0: endpoint {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002365 remote-endpoint = <&dw_hdmi0_in>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002366 };
2367 };
2368 port@2 {
2369 reg = <2>;
2370 du_out_hdmi1: endpoint {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002371 remote-endpoint = <&dw_hdmi1_in>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002372 };
2373 };
2374 port@3 {
2375 reg = <3>;
2376 du_out_lvds0: endpoint {
2377 };
2378 };
2379 };
2380 };
Wolfram Sangb443cd12017-01-20 12:26:42 +01002381
2382 tsc: thermal@e6198000 {
2383 compatible = "renesas,r8a7795-thermal";
2384 reg = <0 0xe6198000 0 0x68>,
2385 <0 0xe61a0000 0 0x5c>,
2386 <0 0xe61a8000 0 0x5c>;
2387 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
2388 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
2389 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
2390 clocks = <&cpg CPG_MOD 522>;
2391 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002392 resets = <&cpg 522>;
Wolfram Sangb443cd12017-01-20 12:26:42 +01002393 #thermal-sensor-cells = <1>;
2394 status = "okay";
2395 };
Simon Horman4f5dc772017-11-30 11:25:39 +01002396 };
Wolfram Sangb443cd12017-01-20 12:26:42 +01002397
Simon Horman4f5dc772017-11-30 11:25:39 +01002398 timer {
2399 compatible = "arm,armv8-timer";
2400 interrupts-extended = <&gic GIC_PPI 13
2401 (GIC_CPU_MASK_SIMPLE(8) |
2402 IRQ_TYPE_LEVEL_LOW)>,
2403 <&gic GIC_PPI 14
2404 (GIC_CPU_MASK_SIMPLE(8) |
2405 IRQ_TYPE_LEVEL_LOW)>,
2406 <&gic GIC_PPI 11
2407 (GIC_CPU_MASK_SIMPLE(8) |
2408 IRQ_TYPE_LEVEL_LOW)>,
2409 <&gic GIC_PPI 10
2410 (GIC_CPU_MASK_SIMPLE(8) |
2411 IRQ_TYPE_LEVEL_LOW)>;
2412 };
Wolfram Sangb443cd12017-01-20 12:26:42 +01002413
Simon Horman4f5dc772017-11-30 11:25:39 +01002414 thermal-zones {
2415 sensor_thermal1: sensor-thermal1 {
2416 polling-delay-passive = <250>;
2417 polling-delay = <1000>;
2418 thermal-sensors = <&tsc 0>;
2419
2420 trips {
2421 sensor1_crit: sensor1-crit {
2422 temperature = <120000>;
2423 hysteresis = <2000>;
2424 type = "critical";
Wolfram Sangb443cd12017-01-20 12:26:42 +01002425 };
2426 };
Simon Horman4f5dc772017-11-30 11:25:39 +01002427 };
Wolfram Sangb443cd12017-01-20 12:26:42 +01002428
Simon Horman4f5dc772017-11-30 11:25:39 +01002429 sensor_thermal2: sensor-thermal2 {
2430 polling-delay-passive = <250>;
2431 polling-delay = <1000>;
2432 thermal-sensors = <&tsc 1>;
Wolfram Sangb443cd12017-01-20 12:26:42 +01002433
Simon Horman4f5dc772017-11-30 11:25:39 +01002434 trips {
2435 sensor2_crit: sensor2-crit {
2436 temperature = <120000>;
2437 hysteresis = <2000>;
2438 type = "critical";
Wolfram Sangb443cd12017-01-20 12:26:42 +01002439 };
2440 };
Simon Horman4f5dc772017-11-30 11:25:39 +01002441 };
Wolfram Sangb443cd12017-01-20 12:26:42 +01002442
Simon Horman4f5dc772017-11-30 11:25:39 +01002443 sensor_thermal3: sensor-thermal3 {
2444 polling-delay-passive = <250>;
2445 polling-delay = <1000>;
2446 thermal-sensors = <&tsc 2>;
Wolfram Sangb443cd12017-01-20 12:26:42 +01002447
Simon Horman4f5dc772017-11-30 11:25:39 +01002448 trips {
2449 sensor3_crit: sensor3-crit {
2450 temperature = <120000>;
2451 hysteresis = <2000>;
2452 type = "critical";
Wolfram Sangb443cd12017-01-20 12:26:42 +01002453 };
2454 };
2455 };
Simon Horman26a7e062015-11-17 02:42:32 +09002456 };
Yoshihiro Shimoda7c1e5ea2017-12-07 18:55:39 +09002457
2458 /* External USB clocks - can be overridden by the board */
2459 usb3s0_clk: usb3s0 {
2460 compatible = "fixed-clock";
2461 #clock-cells = <0>;
2462 clock-frequency = <0>;
2463 };
2464
2465 usb_extal_clk: usb_extal {
2466 compatible = "fixed-clock";
2467 #clock-cells = <0>;
2468 clock-frequency = <0>;
2469 };
Simon Horman26a7e062015-11-17 02:42:32 +09002470};