blob: 0d9f311d15d13e8241340a50f6f99ca5acbc3643 [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
Gaku Inami12e51552015-12-04 14:38:51 +010033 psci {
Khiem Nguyen71585042017-02-24 14:49:13 +010034 compatible = "arm,psci-1.0", "arm,psci-0.2";
Gaku Inami12e51552015-12-04 14:38:51 +010035 method = "smc";
36 };
37
Simon Horman26a7e062015-11-17 02:42:32 +090038 cpus {
39 #address-cells = <1>;
40 #size-cells = <0>;
41
Simon Horman26a7e062015-11-17 02:42:32 +090042 a57_0: cpu@0 {
43 compatible = "arm,cortex-a57", "arm,armv8";
44 reg = <0x0>;
45 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020046 power-domains = <&sysc R8A7795_PD_CA57_CPU0>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010047 next-level-cache = <&L2_CA57>;
Gaku Inami12e51552015-12-04 14:38:51 +010048 enable-method = "psci";
Simon Horman26a7e062015-11-17 02:42:32 +090049 };
Gaku Inami0ed1a792015-12-04 14:38:52 +010050
51 a57_1: cpu@1 {
52 compatible = "arm,cortex-a57","arm,armv8";
53 reg = <0x1>;
54 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020055 power-domains = <&sysc R8A7795_PD_CA57_CPU1>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010056 next-level-cache = <&L2_CA57>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010057 enable-method = "psci";
58 };
Geert Uytterhoevena5547642016-06-10 12:06:45 +020059
Gaku Inami0ed1a792015-12-04 14:38:52 +010060 a57_2: cpu@2 {
61 compatible = "arm,cortex-a57","arm,armv8";
62 reg = <0x2>;
63 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020064 power-domains = <&sysc R8A7795_PD_CA57_CPU2>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010065 next-level-cache = <&L2_CA57>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010066 enable-method = "psci";
67 };
Geert Uytterhoevena5547642016-06-10 12:06:45 +020068
Gaku Inami0ed1a792015-12-04 14:38:52 +010069 a57_3: cpu@3 {
70 compatible = "arm,cortex-a57","arm,armv8";
71 reg = <0x3>;
72 device_type = "cpu";
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +020073 power-domains = <&sysc R8A7795_PD_CA57_CPU3>;
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +010074 next-level-cache = <&L2_CA57>;
Gaku Inami0ed1a792015-12-04 14:38:52 +010075 enable-method = "psci";
76 };
Simon Horman26a7e062015-11-17 02:42:32 +090077
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +010078 a53_0: cpu@100 {
79 compatible = "arm,cortex-a53", "arm,armv8";
80 reg = <0x100>;
81 device_type = "cpu";
82 power-domains = <&sysc R8A7795_PD_CA53_CPU0>;
83 next-level-cache = <&L2_CA53>;
84 enable-method = "psci";
85 };
86
87 a53_1: cpu@101 {
88 compatible = "arm,cortex-a53","arm,armv8";
89 reg = <0x101>;
90 device_type = "cpu";
91 power-domains = <&sysc R8A7795_PD_CA53_CPU1>;
92 next-level-cache = <&L2_CA53>;
93 enable-method = "psci";
94 };
95
96 a53_2: cpu@102 {
97 compatible = "arm,cortex-a53","arm,armv8";
98 reg = <0x102>;
99 device_type = "cpu";
100 power-domains = <&sysc R8A7795_PD_CA53_CPU2>;
101 next-level-cache = <&L2_CA53>;
102 enable-method = "psci";
103 };
104
105 a53_3: cpu@103 {
106 compatible = "arm,cortex-a53","arm,armv8";
107 reg = <0x103>;
108 device_type = "cpu";
109 power-domains = <&sysc R8A7795_PD_CA53_CPU3>;
110 next-level-cache = <&L2_CA53>;
111 enable-method = "psci";
112 };
113
Geert Uytterhoevend1658562017-03-03 14:18:16 +0100114 L2_CA57: cache-controller-0 {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200115 compatible = "cache";
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200116 power-domains = <&sysc R8A7795_PD_CA57_SCU>;
117 cache-unified;
118 cache-level = <2>;
119 };
Geert Uytterhoeven7b337e62016-01-16 15:17:36 +0100120
Geert Uytterhoevend1658562017-03-03 14:18:16 +0100121 L2_CA53: cache-controller-1 {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200122 compatible = "cache";
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +0200123 power-domains = <&sysc R8A7795_PD_CA53_SCU>;
124 cache-unified;
125 cache-level = <2>;
126 };
Geert Uytterhoeven8e1c3aa2015-09-30 15:22:15 +0200127 };
128
Simon Horman26a7e062015-11-17 02:42:32 +0900129 extal_clk: extal {
130 compatible = "fixed-clock";
131 #clock-cells = <0>;
132 /* This value must be overridden by the board */
133 clock-frequency = <0>;
134 };
135
136 extalr_clk: extalr {
137 compatible = "fixed-clock";
138 #clock-cells = <0>;
139 /* This value must be overridden by the board */
140 clock-frequency = <0>;
141 };
142
Kuninori Morimoto623197b2015-11-25 06:36:25 +0000143 /*
144 * The external audio clocks are configured as 0 Hz fixed frequency
145 * clocks by default.
146 * Boards that provide audio clocks should override them.
147 */
148 audio_clk_a: audio_clk_a {
149 compatible = "fixed-clock";
150 #clock-cells = <0>;
151 clock-frequency = <0>;
152 };
153
154 audio_clk_b: audio_clk_b {
155 compatible = "fixed-clock";
156 #clock-cells = <0>;
157 clock-frequency = <0>;
158 };
159
160 audio_clk_c: audio_clk_c {
161 compatible = "fixed-clock";
162 #clock-cells = <0>;
163 clock-frequency = <0>;
164 };
165
Ramesh Shanmugasundaram7811482f2016-02-26 16:38:47 +0000166 /* External CAN clock - to be overridden by boards that provide it */
167 can_clk: can {
168 compatible = "fixed-clock";
169 #clock-cells = <0>;
170 clock-frequency = <0>;
Ramesh Shanmugasundaram7811482f2016-02-26 16:38:47 +0000171 };
172
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100173 /* External SCIF clock - to be overridden by boards that provide it */
174 scif_clk: scif {
175 compatible = "fixed-clock";
176 #clock-cells = <0>;
177 clock-frequency = <0>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100178 };
179
Phil Edworthy92510242016-04-05 11:51:26 +0100180 /* External PCIe clock - can be overridden by the board */
181 pcie_bus_clk: pcie_bus {
182 compatible = "fixed-clock";
183 #clock-cells = <0>;
Geert Uytterhoeven9f33a8a2016-04-25 16:08:30 +0200184 clock-frequency = <0>;
Phil Edworthy92510242016-04-05 11:51:26 +0100185 };
186
Geert Uytterhoeven291e0c42017-05-15 14:44:11 +0200187 soc: soc {
Simon Horman26a7e062015-11-17 02:42:32 +0900188 compatible = "simple-bus";
189 interrupt-parent = <&gic>;
Gaku Inami0ed1a792015-12-04 14:38:52 +0100190
Simon Horman26a7e062015-11-17 02:42:32 +0900191 #address-cells = <2>;
192 #size-cells = <2>;
193 ranges;
194
Simon Horman21cc4052016-05-25 10:11:40 +0900195 gic: interrupt-controller@f1010000 {
Simon Horman26a7e062015-11-17 02:42:32 +0900196 compatible = "arm,gic-400";
197 #interrupt-cells = <3>;
198 #address-cells = <0>;
199 interrupt-controller;
200 reg = <0x0 0xf1010000 0 0x1000>,
Pooya Keshavarzi457f47b2016-04-19 08:29:55 +0200201 <0x0 0xf1020000 0 0x20000>,
Dirk Behme4c811ed2016-02-16 10:43:22 +0100202 <0x0 0xf1040000 0 0x20000>,
Pooya Keshavarzi457f47b2016-04-19 08:29:55 +0200203 <0x0 0xf1060000 0 0x20000>;
Simon Horman26a7e062015-11-17 02:42:32 +0900204 interrupts = <GIC_PPI 9
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100205 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
Geert Uytterhoevenb6e56e42017-01-17 13:49:19 +0100206 clocks = <&cpg CPG_MOD 408>;
207 clock-names = "clk";
208 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100209 resets = <&cpg 408>;
Simon Horman26a7e062015-11-17 02:42:32 +0900210 };
211
Wolfram Sang31148152016-04-01 13:56:24 +0200212 wdt0: watchdog@e6020000 {
213 compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt";
214 reg = <0 0xe6020000 0 0x0c>;
215 clocks = <&cpg CPG_MOD 402>;
Geert Uytterhoevenb186fbb2016-05-20 09:43:02 +0200216 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100217 resets = <&cpg 402>;
Wolfram Sang31148152016-04-01 13:56:24 +0200218 status = "disabled";
219 };
220
Takeshi Kihara7b086232015-10-29 08:09:18 +0900221 gpio0: gpio@e6050000 {
222 compatible = "renesas,gpio-r8a7795",
223 "renesas,gpio-rcar";
224 reg = <0 0xe6050000 0 0x50>;
225 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
226 #gpio-cells = <2>;
227 gpio-controller;
228 gpio-ranges = <&pfc 0 0 16>;
229 #interrupt-cells = <2>;
230 interrupt-controller;
231 clocks = <&cpg CPG_MOD 912>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200232 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100233 resets = <&cpg 912>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900234 };
235
236 gpio1: gpio@e6051000 {
237 compatible = "renesas,gpio-r8a7795",
238 "renesas,gpio-rcar";
239 reg = <0 0xe6051000 0 0x50>;
240 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
241 #gpio-cells = <2>;
242 gpio-controller;
243 gpio-ranges = <&pfc 0 32 28>;
244 #interrupt-cells = <2>;
245 interrupt-controller;
246 clocks = <&cpg CPG_MOD 911>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200247 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100248 resets = <&cpg 911>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900249 };
250
251 gpio2: gpio@e6052000 {
252 compatible = "renesas,gpio-r8a7795",
253 "renesas,gpio-rcar";
254 reg = <0 0xe6052000 0 0x50>;
255 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
256 #gpio-cells = <2>;
257 gpio-controller;
258 gpio-ranges = <&pfc 0 64 15>;
259 #interrupt-cells = <2>;
260 interrupt-controller;
261 clocks = <&cpg CPG_MOD 910>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200262 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100263 resets = <&cpg 910>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900264 };
265
266 gpio3: gpio@e6053000 {
267 compatible = "renesas,gpio-r8a7795",
268 "renesas,gpio-rcar";
269 reg = <0 0xe6053000 0 0x50>;
270 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
271 #gpio-cells = <2>;
272 gpio-controller;
273 gpio-ranges = <&pfc 0 96 16>;
274 #interrupt-cells = <2>;
275 interrupt-controller;
276 clocks = <&cpg CPG_MOD 909>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200277 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100278 resets = <&cpg 909>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900279 };
280
281 gpio4: gpio@e6054000 {
282 compatible = "renesas,gpio-r8a7795",
283 "renesas,gpio-rcar";
284 reg = <0 0xe6054000 0 0x50>;
285 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
286 #gpio-cells = <2>;
287 gpio-controller;
288 gpio-ranges = <&pfc 0 128 18>;
289 #interrupt-cells = <2>;
290 interrupt-controller;
291 clocks = <&cpg CPG_MOD 908>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200292 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100293 resets = <&cpg 908>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900294 };
295
296 gpio5: gpio@e6055000 {
297 compatible = "renesas,gpio-r8a7795",
298 "renesas,gpio-rcar";
299 reg = <0 0xe6055000 0 0x50>;
300 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
301 #gpio-cells = <2>;
302 gpio-controller;
303 gpio-ranges = <&pfc 0 160 26>;
304 #interrupt-cells = <2>;
305 interrupt-controller;
306 clocks = <&cpg CPG_MOD 907>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200307 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100308 resets = <&cpg 907>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900309 };
310
311 gpio6: gpio@e6055400 {
312 compatible = "renesas,gpio-r8a7795",
313 "renesas,gpio-rcar";
314 reg = <0 0xe6055400 0 0x50>;
315 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
316 #gpio-cells = <2>;
317 gpio-controller;
318 gpio-ranges = <&pfc 0 192 32>;
319 #interrupt-cells = <2>;
320 interrupt-controller;
321 clocks = <&cpg CPG_MOD 906>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200322 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100323 resets = <&cpg 906>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900324 };
325
326 gpio7: gpio@e6055800 {
327 compatible = "renesas,gpio-r8a7795",
328 "renesas,gpio-rcar";
329 reg = <0 0xe6055800 0 0x50>;
330 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
331 #gpio-cells = <2>;
332 gpio-controller;
333 gpio-ranges = <&pfc 0 224 4>;
334 #interrupt-cells = <2>;
335 interrupt-controller;
336 clocks = <&cpg CPG_MOD 905>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200337 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100338 resets = <&cpg 905>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900339 };
340
Dirk Behme3d0cd462016-01-16 15:13:56 +0100341 pmu_a57 {
342 compatible = "arm,cortex-a57-pmu";
Yoshifumi Hosoyaa6b6b472015-12-04 14:38:53 +0100343 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
344 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
345 <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
346 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
347 interrupt-affinity = <&a57_0>,
348 <&a57_1>,
349 <&a57_2>,
350 <&a57_3>;
351 };
352
Geert Uytterhoeven91907482017-02-24 14:59:28 +0100353 pmu_a53 {
354 compatible = "arm,cortex-a53-pmu";
355 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
356 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
357 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
358 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
359 interrupt-affinity = <&a53_0>,
360 <&a53_1>,
361 <&a53_2>,
362 <&a53_3>;
363 };
364
Simon Horman26a7e062015-11-17 02:42:32 +0900365 timer {
366 compatible = "arm,armv8-timer";
367 interrupts = <GIC_PPI 13
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100368 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
Simon Horman26a7e062015-11-17 02:42:32 +0900369 <GIC_PPI 14
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100370 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
Simon Horman26a7e062015-11-17 02:42:32 +0900371 <GIC_PPI 11
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100372 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
Simon Horman26a7e062015-11-17 02:42:32 +0900373 <GIC_PPI 10
Geert Uytterhoeven799a75a2017-02-24 14:59:27 +0100374 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
Simon Horman26a7e062015-11-17 02:42:32 +0900375 };
376
377 cpg: clock-controller@e6150000 {
378 compatible = "renesas,r8a7795-cpg-mssr";
379 reg = <0 0xe6150000 0 0x1000>;
380 clocks = <&extal_clk>, <&extalr_clk>;
381 clock-names = "extal", "extalr";
382 #clock-cells = <2>;
383 #power-domain-cells = <0>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100384 #reset-cells = <1>;
Simon Horman26a7e062015-11-17 02:42:32 +0900385 };
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900386
Geert Uytterhoeven6ddbb4c2015-09-01 16:15:32 +0200387 rst: reset-controller@e6160000 {
388 compatible = "renesas,r8a7795-rst";
389 reg = <0 0xe6160000 0 0x0200>;
390 };
391
Geert Uytterhoevenbd6777f2016-11-14 19:37:16 +0100392 prr: chipid@fff00044 {
393 compatible = "renesas,prr";
394 reg = <0 0xfff00044 0 4>;
395 };
396
Geert Uytterhoevenabbecab2015-08-10 13:47:07 +0200397 sysc: system-controller@e6180000 {
398 compatible = "renesas,r8a7795-sysc";
399 reg = <0 0xe6180000 0 0x0400>;
400 #power-domain-cells = <1>;
401 };
402
Simon Horman3e7a5b32017-04-24 10:51:55 +0200403 pfc: pin-controller@e6060000 {
Kuninori Morimoto92418442015-10-02 11:56:01 +0900404 compatible = "renesas,pfc-r8a7795";
405 reg = <0 0xe6060000 0 0x50c>;
406 };
407
Magnus Damm9c6c0532016-02-16 11:26:44 +0900408 intc_ex: interrupt-controller@e61c0000 {
409 compatible = "renesas,intc-ex-r8a7795", "renesas,irqc";
410 #interrupt-cells = <2>;
411 interrupt-controller;
412 reg = <0 0xe61c0000 0 0x200>;
413 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
414 GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
415 GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
416 GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
417 GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
418 GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
419 clocks = <&cpg CPG_MOD 407>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200420 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100421 resets = <&cpg 407>;
Magnus Damm9c6c0532016-02-16 11:26:44 +0900422 };
423
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900424 dmac0: dma-controller@e6700000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100425 compatible = "renesas,dmac-r8a7795",
426 "renesas,rcar-dmac";
427 reg = <0 0xe6700000 0 0x10000>;
428 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
429 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
430 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
431 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
432 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
433 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
434 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
435 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
436 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
437 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
438 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
439 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
440 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
441 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
442 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
443 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
444 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
445 interrupt-names = "error",
446 "ch0", "ch1", "ch2", "ch3",
447 "ch4", "ch5", "ch6", "ch7",
448 "ch8", "ch9", "ch10", "ch11",
449 "ch12", "ch13", "ch14", "ch15";
450 clocks = <&cpg CPG_MOD 219>;
451 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200452 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100453 resets = <&cpg 219>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100454 #dma-cells = <1>;
455 dma-channels = <16>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900456 };
457
458 dmac1: dma-controller@e7300000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100459 compatible = "renesas,dmac-r8a7795",
460 "renesas,rcar-dmac";
461 reg = <0 0xe7300000 0 0x10000>;
462 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
463 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
464 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
465 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
466 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
467 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
468 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
469 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
470 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
471 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
472 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
473 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
474 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
475 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
476 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
477 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
478 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
479 interrupt-names = "error",
480 "ch0", "ch1", "ch2", "ch3",
481 "ch4", "ch5", "ch6", "ch7",
482 "ch8", "ch9", "ch10", "ch11",
483 "ch12", "ch13", "ch14", "ch15";
484 clocks = <&cpg CPG_MOD 218>;
485 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200486 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100487 resets = <&cpg 218>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100488 #dma-cells = <1>;
489 dma-channels = <16>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900490 };
491
492 dmac2: dma-controller@e7310000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100493 compatible = "renesas,dmac-r8a7795",
494 "renesas,rcar-dmac";
495 reg = <0 0xe7310000 0 0x10000>;
496 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
497 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
498 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
499 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
500 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
501 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
502 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
503 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
504 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
505 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
506 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
507 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
508 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
509 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
510 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
511 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
512 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
513 interrupt-names = "error",
514 "ch0", "ch1", "ch2", "ch3",
515 "ch4", "ch5", "ch6", "ch7",
516 "ch8", "ch9", "ch10", "ch11",
517 "ch12", "ch13", "ch14", "ch15";
518 clocks = <&cpg CPG_MOD 217>;
519 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200520 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100521 resets = <&cpg 217>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100522 #dma-cells = <1>;
523 dma-channels = <16>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900524 };
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900525
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000526 audma0: dma-controller@ec700000 {
527 compatible = "renesas,dmac-r8a7795",
528 "renesas,rcar-dmac";
529 reg = <0 0xec700000 0 0x10000>;
530 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
531 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
532 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
533 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
534 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
535 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
536 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
537 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
538 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
539 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
540 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
541 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
542 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
543 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
544 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
545 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
546 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
547 interrupt-names = "error",
548 "ch0", "ch1", "ch2", "ch3",
549 "ch4", "ch5", "ch6", "ch7",
550 "ch8", "ch9", "ch10", "ch11",
551 "ch12", "ch13", "ch14", "ch15";
552 clocks = <&cpg CPG_MOD 502>;
553 clock-names = "fck";
554 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100555 resets = <&cpg 502>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000556 #dma-cells = <1>;
557 dma-channels = <16>;
558 };
559
560 audma1: dma-controller@ec720000 {
561 compatible = "renesas,dmac-r8a7795",
562 "renesas,rcar-dmac";
563 reg = <0 0xec720000 0 0x10000>;
564 interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
565 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
566 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
567 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
568 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
569 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
570 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
571 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
572 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
573 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
574 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
575 GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
576 GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
577 GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
578 GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
579 GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
580 GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
581 interrupt-names = "error",
582 "ch0", "ch1", "ch2", "ch3",
583 "ch4", "ch5", "ch6", "ch7",
584 "ch8", "ch9", "ch10", "ch11",
585 "ch12", "ch13", "ch14", "ch15";
586 clocks = <&cpg CPG_MOD 501>;
587 clock-names = "fck";
588 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100589 resets = <&cpg 501>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000590 #dma-cells = <1>;
591 dma-channels = <16>;
592 };
593
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900594 avb: ethernet@e6800000 {
Simon Horman2b953cc2016-02-23 10:17:46 +0900595 compatible = "renesas,etheravb-r8a7795",
596 "renesas,etheravb-rcar-gen3";
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900597 reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
598 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
599 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
600 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
601 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
602 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
603 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
604 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
605 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
606 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
607 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
608 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
609 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
610 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
611 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
612 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
613 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
614 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
615 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
616 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
617 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
618 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
619 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
620 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
621 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
622 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
623 interrupt-names = "ch0", "ch1", "ch2", "ch3",
624 "ch4", "ch5", "ch6", "ch7",
625 "ch8", "ch9", "ch10", "ch11",
626 "ch12", "ch13", "ch14", "ch15",
627 "ch16", "ch17", "ch18", "ch19",
628 "ch20", "ch21", "ch22", "ch23",
629 "ch24";
630 clocks = <&cpg CPG_MOD 812>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200631 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100632 resets = <&cpg 812>;
Kazuya Mizuguchidda38872017-02-01 09:42:00 +0100633 phy-mode = "rgmii-txid";
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900634 #address-cells = <1>;
635 #size-cells = <0>;
Geert Uytterhoeven0d1390f2017-01-25 14:19:30 +0100636 status = "disabled";
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900637 };
638
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000639 can0: can@e6c30000 {
640 compatible = "renesas,can-r8a7795",
641 "renesas,rcar-gen3-can";
642 reg = <0 0xe6c30000 0 0x1000>;
643 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
644 clocks = <&cpg CPG_MOD 916>,
645 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
646 <&can_clk>;
647 clock-names = "clkp1", "clkp2", "can_clk";
648 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
649 assigned-clock-rates = <40000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200650 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100651 resets = <&cpg 916>;
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000652 status = "disabled";
653 };
654
655 can1: can@e6c38000 {
656 compatible = "renesas,can-r8a7795",
657 "renesas,rcar-gen3-can";
658 reg = <0 0xe6c38000 0 0x1000>;
659 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
660 clocks = <&cpg CPG_MOD 915>,
661 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
662 <&can_clk>;
663 clock-names = "clkp1", "clkp2", "can_clk";
664 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
665 assigned-clock-rates = <40000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200666 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100667 resets = <&cpg 915>;
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000668 status = "disabled";
669 };
670
Ramesh Shanmugasundaram162cd782016-06-17 13:35:43 +0100671 canfd: can@e66c0000 {
672 compatible = "renesas,r8a7795-canfd",
673 "renesas,rcar-gen3-canfd";
674 reg = <0 0xe66c0000 0 0x8000>;
675 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
676 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
677 clocks = <&cpg CPG_MOD 914>,
678 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
679 <&can_clk>;
680 clock-names = "fck", "canfd", "can_clk";
681 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
682 assigned-clock-rates = <40000000>;
683 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100684 resets = <&cpg 914>;
Ramesh Shanmugasundaram162cd782016-06-17 13:35:43 +0100685 status = "disabled";
686
687 channel0 {
688 status = "disabled";
689 };
690
691 channel1 {
692 status = "disabled";
693 };
694 };
695
Ramesh Shanmugasundaram91662b12017-06-23 10:13:20 +0100696 drif00: rif@e6f40000 {
697 compatible = "renesas,r8a7795-drif",
698 "renesas,rcar-gen3-drif";
699 reg = <0 0xe6f40000 0 0x64>;
700 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
701 clocks = <&cpg CPG_MOD 515>;
702 clock-names = "fck";
703 dmas = <&dmac1 0x20>, <&dmac2 0x20>;
704 dma-names = "rx", "rx";
705 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
706 resets = <&cpg 515>;
707 renesas,bonding = <&drif01>;
708 status = "disabled";
709 };
710
711 drif01: rif@e6f50000 {
712 compatible = "renesas,r8a7795-drif",
713 "renesas,rcar-gen3-drif";
714 reg = <0 0xe6f50000 0 0x64>;
715 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
716 clocks = <&cpg CPG_MOD 514>;
717 clock-names = "fck";
718 dmas = <&dmac1 0x22>, <&dmac2 0x22>;
719 dma-names = "rx", "rx";
720 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
721 resets = <&cpg 514>;
722 renesas,bonding = <&drif00>;
723 status = "disabled";
724 };
725
726 drif10: rif@e6f60000 {
727 compatible = "renesas,r8a7795-drif",
728 "renesas,rcar-gen3-drif";
729 reg = <0 0xe6f60000 0 0x64>;
730 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
731 clocks = <&cpg CPG_MOD 513>;
732 clock-names = "fck";
733 dmas = <&dmac1 0x24>, <&dmac2 0x24>;
734 dma-names = "rx", "rx";
735 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
736 resets = <&cpg 513>;
737 renesas,bonding = <&drif11>;
738 status = "disabled";
739 };
740
741 drif11: rif@e6f70000 {
742 compatible = "renesas,r8a7795-drif",
743 "renesas,rcar-gen3-drif";
744 reg = <0 0xe6f70000 0 0x64>;
745 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
746 clocks = <&cpg CPG_MOD 512>;
747 clock-names = "fck";
748 dmas = <&dmac1 0x26>, <&dmac2 0x26>;
749 dma-names = "rx", "rx";
750 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
751 resets = <&cpg 512>;
752 renesas,bonding = <&drif10>;
753 status = "disabled";
754 };
755
756 drif20: rif@e6f80000 {
757 compatible = "renesas,r8a7795-drif",
758 "renesas,rcar-gen3-drif";
759 reg = <0 0xe6f80000 0 0x64>;
760 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
761 clocks = <&cpg CPG_MOD 511>;
762 clock-names = "fck";
763 dmas = <&dmac1 0x28>, <&dmac2 0x28>;
764 dma-names = "rx", "rx";
765 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
766 resets = <&cpg 511>;
767 renesas,bonding = <&drif21>;
768 status = "disabled";
769 };
770
771 drif21: rif@e6f90000 {
772 compatible = "renesas,r8a7795-drif",
773 "renesas,rcar-gen3-drif";
774 reg = <0 0xe6f90000 0 0x64>;
775 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
776 clocks = <&cpg CPG_MOD 510>;
777 clock-names = "fck";
778 dmas = <&dmac1 0x2a>, <&dmac2 0x2a>;
779 dma-names = "rx", "rx";
780 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
781 resets = <&cpg 510>;
782 renesas,bonding = <&drif20>;
783 status = "disabled";
784 };
785
786 drif30: rif@e6fa0000 {
787 compatible = "renesas,r8a7795-drif",
788 "renesas,rcar-gen3-drif";
789 reg = <0 0xe6fa0000 0 0x64>;
790 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
791 clocks = <&cpg CPG_MOD 509>;
792 clock-names = "fck";
793 dmas = <&dmac1 0x2c>, <&dmac2 0x2c>;
794 dma-names = "rx", "rx";
795 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
796 resets = <&cpg 509>;
797 renesas,bonding = <&drif31>;
798 status = "disabled";
799 };
800
801 drif31: rif@e6fb0000 {
802 compatible = "renesas,r8a7795-drif",
803 "renesas,rcar-gen3-drif";
804 reg = <0 0xe6fb0000 0 0x64>;
805 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
806 clocks = <&cpg CPG_MOD 508>;
807 clock-names = "fck";
808 dmas = <&dmac1 0x2e>, <&dmac2 0x2e>;
809 dma-names = "rx", "rx";
810 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
811 resets = <&cpg 508>;
812 renesas,bonding = <&drif30>;
813 status = "disabled";
814 };
815
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100816 hscif0: serial@e6540000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100817 compatible = "renesas,hscif-r8a7795",
818 "renesas,rcar-gen3-hscif",
819 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100820 reg = <0 0xe6540000 0 96>;
821 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100822 clocks = <&cpg CPG_MOD 520>,
823 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
824 <&scif_clk>;
825 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100826 dmas = <&dmac1 0x31>, <&dmac1 0x30>;
827 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200828 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100829 resets = <&cpg 520>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100830 status = "disabled";
831 };
832
833 hscif1: serial@e6550000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100834 compatible = "renesas,hscif-r8a7795",
835 "renesas,rcar-gen3-hscif",
836 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100837 reg = <0 0xe6550000 0 96>;
838 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100839 clocks = <&cpg CPG_MOD 519>,
840 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
841 <&scif_clk>;
842 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100843 dmas = <&dmac1 0x33>, <&dmac1 0x32>;
844 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200845 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100846 resets = <&cpg 519>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100847 status = "disabled";
848 };
849
850 hscif2: serial@e6560000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100851 compatible = "renesas,hscif-r8a7795",
852 "renesas,rcar-gen3-hscif",
853 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100854 reg = <0 0xe6560000 0 96>;
855 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100856 clocks = <&cpg CPG_MOD 518>,
857 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
858 <&scif_clk>;
859 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100860 dmas = <&dmac1 0x35>, <&dmac1 0x34>;
861 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200862 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100863 resets = <&cpg 518>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100864 status = "disabled";
865 };
866
867 hscif3: serial@e66a0000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100868 compatible = "renesas,hscif-r8a7795",
869 "renesas,rcar-gen3-hscif",
870 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100871 reg = <0 0xe66a0000 0 96>;
872 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100873 clocks = <&cpg CPG_MOD 517>,
874 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
875 <&scif_clk>;
876 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100877 dmas = <&dmac0 0x37>, <&dmac0 0x36>;
878 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200879 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100880 resets = <&cpg 517>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100881 status = "disabled";
882 };
883
884 hscif4: serial@e66b0000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100885 compatible = "renesas,hscif-r8a7795",
886 "renesas,rcar-gen3-hscif",
887 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100888 reg = <0 0xe66b0000 0 96>;
889 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100890 clocks = <&cpg CPG_MOD 516>,
891 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
892 <&scif_clk>;
893 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100894 dmas = <&dmac0 0x39>, <&dmac0 0x38>;
895 dma-names = "tx", "rx";
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 516>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100898 status = "disabled";
899 };
900
Geert Uytterhoevenecad1872017-07-12 12:34:21 +0200901 msiof0: spi@e6e90000 {
902 compatible = "renesas,msiof-r8a7795",
903 "renesas,rcar-gen3-msiof";
904 reg = <0 0xe6e90000 0 0x0064>;
905 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
906 clocks = <&cpg CPG_MOD 211>;
907 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
908 <&dmac2 0x41>, <&dmac2 0x40>;
909 dma-names = "tx", "rx", "tx", "rx";
910 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
911 resets = <&cpg 211>;
912 #address-cells = <1>;
913 #size-cells = <0>;
914 status = "disabled";
915 };
916
917 msiof1: spi@e6ea0000 {
918 compatible = "renesas,msiof-r8a7795",
919 "renesas,rcar-gen3-msiof";
920 reg = <0 0xe6ea0000 0 0x0064>;
921 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
922 clocks = <&cpg CPG_MOD 210>;
923 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
924 <&dmac2 0x43>, <&dmac2 0x42>;
925 dma-names = "tx", "rx", "tx", "rx";
926 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
927 resets = <&cpg 210>;
928 #address-cells = <1>;
929 #size-cells = <0>;
930 status = "disabled";
931 };
932
933 msiof2: spi@e6c00000 {
934 compatible = "renesas,msiof-r8a7795",
935 "renesas,rcar-gen3-msiof";
936 reg = <0 0xe6c00000 0 0x0064>;
937 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
938 clocks = <&cpg CPG_MOD 209>;
939 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
940 dma-names = "tx", "rx";
941 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
942 resets = <&cpg 209>;
943 #address-cells = <1>;
944 #size-cells = <0>;
945 status = "disabled";
946 };
947
948 msiof3: spi@e6c10000 {
949 compatible = "renesas,msiof-r8a7795",
950 "renesas,rcar-gen3-msiof";
951 reg = <0 0xe6c10000 0 0x0064>;
952 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
953 clocks = <&cpg CPG_MOD 208>;
954 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
955 dma-names = "tx", "rx";
956 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
957 resets = <&cpg 208>;
958 #address-cells = <1>;
959 #size-cells = <0>;
960 status = "disabled";
961 };
962
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900963 scif0: serial@e6e60000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100964 compatible = "renesas,scif-r8a7795",
965 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900966 reg = <0 0xe6e60000 0 64>;
967 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100968 clocks = <&cpg CPG_MOD 207>,
969 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
970 <&scif_clk>;
971 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900972 dmas = <&dmac1 0x51>, <&dmac1 0x50>;
973 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200974 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100975 resets = <&cpg 207>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900976 status = "disabled";
977 };
978
979 scif1: serial@e6e68000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100980 compatible = "renesas,scif-r8a7795",
981 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900982 reg = <0 0xe6e68000 0 64>;
983 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +0100984 clocks = <&cpg CPG_MOD 206>,
985 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
986 <&scif_clk>;
987 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900988 dmas = <&dmac1 0x53>, <&dmac1 0x52>;
989 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200990 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100991 resets = <&cpg 206>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900992 status = "disabled";
993 };
994
995 scif2: serial@e6e88000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100996 compatible = "renesas,scif-r8a7795",
997 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900998 reg = <0 0xe6e88000 0 64>;
999 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001000 clocks = <&cpg CPG_MOD 310>,
1001 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1002 <&scif_clk>;
1003 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001004 dmas = <&dmac1 0x13>, <&dmac1 0x12>;
1005 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001006 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001007 resets = <&cpg 310>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001008 status = "disabled";
1009 };
1010
1011 scif3: serial@e6c50000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001012 compatible = "renesas,scif-r8a7795",
1013 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001014 reg = <0 0xe6c50000 0 64>;
1015 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001016 clocks = <&cpg CPG_MOD 204>,
1017 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1018 <&scif_clk>;
1019 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001020 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1021 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001022 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001023 resets = <&cpg 204>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001024 status = "disabled";
1025 };
1026
1027 scif4: serial@e6c40000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001028 compatible = "renesas,scif-r8a7795",
1029 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001030 reg = <0 0xe6c40000 0 64>;
1031 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001032 clocks = <&cpg CPG_MOD 203>,
1033 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1034 <&scif_clk>;
1035 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001036 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1037 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001038 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001039 resets = <&cpg 203>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001040 status = "disabled";
1041 };
1042
1043 scif5: serial@e6f30000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001044 compatible = "renesas,scif-r8a7795",
1045 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001046 reg = <0 0xe6f30000 0 64>;
1047 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001048 clocks = <&cpg CPG_MOD 202>,
1049 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1050 <&scif_clk>;
1051 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001052 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>;
1053 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001054 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001055 resets = <&cpg 202>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001056 status = "disabled";
1057 };
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001058
Keita Kobayashid7e0d642017-01-26 09:52:29 +01001059 i2c_dvfs: i2c@e60b0000 {
1060 #address-cells = <1>;
1061 #size-cells = <0>;
1062 compatible = "renesas,iic-r8a7795",
1063 "renesas,rcar-gen3-iic",
1064 "renesas,rmobile-iic";
1065 reg = <0 0xe60b0000 0 0x425>;
1066 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
1067 clocks = <&cpg CPG_MOD 926>;
1068 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001069 resets = <&cpg 926>;
Wolfram Sang482e5652017-05-28 12:14:29 +02001070 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
1071 dma-names = "tx", "rx";
Keita Kobayashid7e0d642017-01-26 09:52:29 +01001072 status = "disabled";
1073 };
1074
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001075 i2c0: i2c@e6500000 {
1076 #address-cells = <1>;
1077 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001078 compatible = "renesas,i2c-r8a7795",
1079 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001080 reg = <0 0xe6500000 0 0x40>;
1081 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
1082 clocks = <&cpg CPG_MOD 931>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001083 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001084 resets = <&cpg 931>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001085 dmas = <&dmac1 0x91>, <&dmac1 0x90>;
1086 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001087 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001088 status = "disabled";
1089 };
1090
1091 i2c1: i2c@e6508000 {
1092 #address-cells = <1>;
1093 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001094 compatible = "renesas,i2c-r8a7795",
1095 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001096 reg = <0 0xe6508000 0 0x40>;
1097 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
1098 clocks = <&cpg CPG_MOD 930>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001099 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001100 resets = <&cpg 930>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001101 dmas = <&dmac1 0x93>, <&dmac1 0x92>;
1102 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001103 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001104 status = "disabled";
1105 };
1106
1107 i2c2: i2c@e6510000 {
1108 #address-cells = <1>;
1109 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001110 compatible = "renesas,i2c-r8a7795",
1111 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001112 reg = <0 0xe6510000 0 0x40>;
1113 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
1114 clocks = <&cpg CPG_MOD 929>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001115 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001116 resets = <&cpg 929>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001117 dmas = <&dmac1 0x95>, <&dmac1 0x94>;
1118 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001119 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001120 status = "disabled";
1121 };
1122
1123 i2c3: i2c@e66d0000 {
1124 #address-cells = <1>;
1125 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001126 compatible = "renesas,i2c-r8a7795",
1127 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001128 reg = <0 0xe66d0000 0 0x40>;
1129 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
1130 clocks = <&cpg CPG_MOD 928>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001131 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001132 resets = <&cpg 928>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001133 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
1134 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001135 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001136 status = "disabled";
1137 };
1138
1139 i2c4: i2c@e66d8000 {
1140 #address-cells = <1>;
1141 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001142 compatible = "renesas,i2c-r8a7795",
1143 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001144 reg = <0 0xe66d8000 0 0x40>;
1145 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
1146 clocks = <&cpg CPG_MOD 927>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001147 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001148 resets = <&cpg 927>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001149 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
1150 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001151 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001152 status = "disabled";
1153 };
1154
1155 i2c5: i2c@e66e0000 {
1156 #address-cells = <1>;
1157 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001158 compatible = "renesas,i2c-r8a7795",
1159 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001160 reg = <0 0xe66e0000 0 0x40>;
1161 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1162 clocks = <&cpg CPG_MOD 919>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001163 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001164 resets = <&cpg 919>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001165 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
1166 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001167 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001168 status = "disabled";
1169 };
1170
1171 i2c6: i2c@e66e8000 {
1172 #address-cells = <1>;
1173 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001174 compatible = "renesas,i2c-r8a7795",
1175 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001176 reg = <0 0xe66e8000 0 0x40>;
1177 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1178 clocks = <&cpg CPG_MOD 918>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001179 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001180 resets = <&cpg 918>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001181 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
1182 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001183 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001184 status = "disabled";
1185 };
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001186
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001187 pwm0: pwm@e6e30000 {
1188 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1189 reg = <0 0xe6e30000 0 0x8>;
1190 clocks = <&cpg CPG_MOD 523>;
1191 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001192 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001193 #pwm-cells = <2>;
1194 status = "disabled";
1195 };
1196
1197 pwm1: pwm@e6e31000 {
1198 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1199 reg = <0 0xe6e31000 0 0x8>;
1200 clocks = <&cpg CPG_MOD 523>;
1201 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001202 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001203 #pwm-cells = <2>;
1204 status = "disabled";
1205 };
1206
1207 pwm2: pwm@e6e32000 {
1208 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1209 reg = <0 0xe6e32000 0 0x8>;
1210 clocks = <&cpg CPG_MOD 523>;
1211 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001212 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001213 #pwm-cells = <2>;
1214 status = "disabled";
1215 };
1216
1217 pwm3: pwm@e6e33000 {
1218 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1219 reg = <0 0xe6e33000 0 0x8>;
1220 clocks = <&cpg CPG_MOD 523>;
1221 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001222 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001223 #pwm-cells = <2>;
1224 status = "disabled";
1225 };
1226
1227 pwm4: pwm@e6e34000 {
1228 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1229 reg = <0 0xe6e34000 0 0x8>;
1230 clocks = <&cpg CPG_MOD 523>;
1231 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001232 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001233 #pwm-cells = <2>;
1234 status = "disabled";
1235 };
1236
1237 pwm5: pwm@e6e35000 {
1238 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1239 reg = <0 0xe6e35000 0 0x8>;
1240 clocks = <&cpg CPG_MOD 523>;
1241 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001242 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001243 #pwm-cells = <2>;
1244 status = "disabled";
1245 };
1246
1247 pwm6: pwm@e6e36000 {
1248 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1249 reg = <0 0xe6e36000 0 0x8>;
1250 clocks = <&cpg CPG_MOD 523>;
1251 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001252 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001253 #pwm-cells = <2>;
1254 status = "disabled";
1255 };
1256
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001257 rcar_sound: sound@ec500000 {
1258 /*
1259 * #sound-dai-cells is required
1260 *
1261 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1262 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1263 */
1264 /*
1265 * #clock-cells is required for audio_clkout0/1/2/3
1266 *
1267 * clkout : #clock-cells = <0>; <&rcar_sound>;
1268 * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
1269 */
1270 compatible = "renesas,rcar_sound-r8a7795", "renesas,rcar_sound-gen3";
1271 reg = <0 0xec500000 0 0x1000>, /* SCU */
1272 <0 0xec5a0000 0 0x100>, /* ADG */
1273 <0 0xec540000 0 0x1000>, /* SSIU */
1274 <0 0xec541000 0 0x280>, /* SSI */
1275 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1276 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1277
1278 clocks = <&cpg CPG_MOD 1005>,
1279 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1280 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1281 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1282 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1283 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001284 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1285 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1286 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1287 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1288 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001289 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001290 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001291 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001292 <&audio_clk_a>, <&audio_clk_b>,
1293 <&audio_clk_c>,
1294 <&cpg CPG_CORE R8A7795_CLK_S0D4>;
1295 clock-names = "ssi-all",
1296 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1297 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1298 "ssi.1", "ssi.0",
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001299 "src.9", "src.8", "src.7", "src.6",
1300 "src.5", "src.4", "src.3", "src.2",
1301 "src.1", "src.0",
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001302 "mix.1", "mix.0",
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001303 "ctu.1", "ctu.0",
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001304 "dvc.0", "dvc.1",
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001305 "clk_a", "clk_b", "clk_c", "clk_i";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001306 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoeven161a1912017-06-12 11:32:16 +02001307 resets = <&cpg 1005>,
1308 <&cpg 1006>, <&cpg 1007>,
1309 <&cpg 1008>, <&cpg 1009>,
1310 <&cpg 1010>, <&cpg 1011>,
1311 <&cpg 1012>, <&cpg 1013>,
1312 <&cpg 1014>, <&cpg 1015>;
1313 reset-names = "ssi-all",
1314 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1315 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1316 "ssi.1", "ssi.0";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001317 status = "disabled";
1318
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001319 rcar_sound,dvc {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001320 dvc0: dvc-0 {
Kuninori Morimotob5a8ffa2017-03-07 05:30:06 +00001321 dmas = <&audma1 0xbc>;
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001322 dma-names = "tx";
1323 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001324 dvc1: dvc-1 {
Kuninori Morimotob5a8ffa2017-03-07 05:30:06 +00001325 dmas = <&audma1 0xbe>;
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001326 dma-names = "tx";
1327 };
1328 };
1329
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001330 rcar_sound,mix {
1331 mix0: mix-0 { };
1332 mix1: mix-1 { };
1333 };
1334
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001335 rcar_sound,ctu {
1336 ctu00: ctu-0 { };
1337 ctu01: ctu-1 { };
1338 ctu02: ctu-2 { };
1339 ctu03: ctu-3 { };
1340 ctu10: ctu-4 { };
1341 ctu11: ctu-5 { };
1342 ctu12: ctu-6 { };
1343 ctu13: ctu-7 { };
1344 };
1345
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001346 rcar_sound,src {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001347 src0: src-0 {
Simon Horman52b541a2016-02-02 14:31:03 +01001348 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001349 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1350 dma-names = "rx", "tx";
1351 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001352 src1: src-1 {
Simon Horman52b541a2016-02-02 14:31:03 +01001353 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001354 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1355 dma-names = "rx", "tx";
1356 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001357 src2: src-2 {
Simon Horman52b541a2016-02-02 14:31:03 +01001358 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001359 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1360 dma-names = "rx", "tx";
1361 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001362 src3: src-3 {
Simon Horman52b541a2016-02-02 14:31:03 +01001363 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001364 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1365 dma-names = "rx", "tx";
1366 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001367 src4: src-4 {
Simon Horman52b541a2016-02-02 14:31:03 +01001368 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001369 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1370 dma-names = "rx", "tx";
1371 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001372 src5: src-5 {
Simon Horman52b541a2016-02-02 14:31:03 +01001373 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001374 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1375 dma-names = "rx", "tx";
1376 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001377 src6: src-6 {
Simon Horman52b541a2016-02-02 14:31:03 +01001378 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001379 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1380 dma-names = "rx", "tx";
1381 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001382 src7: src-7 {
Simon Horman52b541a2016-02-02 14:31:03 +01001383 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001384 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1385 dma-names = "rx", "tx";
1386 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001387 src8: src-8 {
Simon Horman52b541a2016-02-02 14:31:03 +01001388 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001389 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1390 dma-names = "rx", "tx";
1391 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001392 src9: src-9 {
Simon Horman52b541a2016-02-02 14:31:03 +01001393 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001394 dmas = <&audma0 0x97>, <&audma1 0xba>;
1395 dma-names = "rx", "tx";
1396 };
1397 };
1398
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001399 rcar_sound,ssi {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001400 ssi0: ssi-0 {
Simon Horman52b541a2016-02-02 14:31:03 +01001401 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001402 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1403 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001404 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001405 ssi1: ssi-1 {
Simon Horman52b541a2016-02-02 14:31:03 +01001406 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001407 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1408 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001409 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001410 ssi2: ssi-2 {
Simon Horman52b541a2016-02-02 14:31:03 +01001411 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001412 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1413 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001414 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001415 ssi3: ssi-3 {
Simon Horman52b541a2016-02-02 14:31:03 +01001416 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001417 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1418 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001419 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001420 ssi4: ssi-4 {
Simon Horman52b541a2016-02-02 14:31:03 +01001421 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001422 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1423 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001424 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001425 ssi5: ssi-5 {
Simon Horman52b541a2016-02-02 14:31:03 +01001426 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001427 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1428 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001429 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001430 ssi6: ssi-6 {
Simon Horman52b541a2016-02-02 14:31:03 +01001431 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001432 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1433 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001434 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001435 ssi7: ssi-7 {
Simon Horman52b541a2016-02-02 14:31:03 +01001436 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001437 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1438 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001439 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001440 ssi8: ssi-8 {
Simon Horman52b541a2016-02-02 14:31:03 +01001441 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001442 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1443 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001444 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001445 ssi9: ssi-9 {
Simon Horman52b541a2016-02-02 14:31:03 +01001446 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001447 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1448 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001449 };
1450 };
1451 };
Kouei Abe4c134722015-12-14 16:42:34 +01001452
1453 sata: sata@ee300000 {
1454 compatible = "renesas,sata-r8a7795";
Magnus Damme9f00892017-03-20 17:49:21 +09001455 reg = <0 0xee300000 0 0x200000>;
Kouei Abe4c134722015-12-14 16:42:34 +01001456 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht2eb2b502015-12-16 11:34:21 +01001457 clocks = <&cpg CPG_MOD 815>;
Geert Uytterhoeven2cab2262017-01-16 17:57:53 +01001458 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001459 resets = <&cpg 815>;
Kouei Abe4c134722015-12-14 16:42:34 +01001460 status = "disabled";
1461 };
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001462
1463 xhci0: usb@ee000000 {
Simon Horman81ae0ac2016-03-24 11:01:09 +09001464 compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001465 reg = <0 0xee000000 0 0xc00>;
1466 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1467 clocks = <&cpg CPG_MOD 328>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001468 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001469 resets = <&cpg 328>;
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001470 status = "disabled";
1471 };
1472
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001473 usb_dmac0: dma-controller@e65a0000 {
1474 compatible = "renesas,r8a7795-usb-dmac",
1475 "renesas,usb-dmac";
1476 reg = <0 0xe65a0000 0 0x100>;
1477 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
1478 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
1479 interrupt-names = "ch0", "ch1";
1480 clocks = <&cpg CPG_MOD 330>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001481 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001482 resets = <&cpg 330>;
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001483 #dma-cells = <1>;
1484 dma-channels = <2>;
1485 };
1486
1487 usb_dmac1: dma-controller@e65b0000 {
1488 compatible = "renesas,r8a7795-usb-dmac",
1489 "renesas,usb-dmac";
1490 reg = <0 0xe65b0000 0 0x100>;
1491 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
1492 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
1493 interrupt-names = "ch0", "ch1";
1494 clocks = <&cpg CPG_MOD 331>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001495 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001496 resets = <&cpg 331>;
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001497 #dma-cells = <1>;
1498 dma-channels = <2>;
1499 };
Ai Kyused9d67012016-02-15 16:01:49 +01001500
1501 sdhi0: sd@ee100000 {
1502 compatible = "renesas,sdhi-r8a7795";
1503 reg = <0 0xee100000 0 0x2000>;
1504 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1505 clocks = <&cpg CPG_MOD 314>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001506 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001507 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001508 resets = <&cpg 314>;
Ai Kyused9d67012016-02-15 16:01:49 +01001509 status = "disabled";
1510 };
1511
1512 sdhi1: sd@ee120000 {
1513 compatible = "renesas,sdhi-r8a7795";
1514 reg = <0 0xee120000 0 0x2000>;
1515 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1516 clocks = <&cpg CPG_MOD 313>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001517 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001518 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001519 resets = <&cpg 313>;
Ai Kyused9d67012016-02-15 16:01:49 +01001520 status = "disabled";
1521 };
1522
1523 sdhi2: sd@ee140000 {
1524 compatible = "renesas,sdhi-r8a7795";
1525 reg = <0 0xee140000 0 0x2000>;
1526 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1527 clocks = <&cpg CPG_MOD 312>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001528 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001529 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001530 resets = <&cpg 312>;
Ai Kyused9d67012016-02-15 16:01:49 +01001531 status = "disabled";
1532 };
1533
1534 sdhi3: sd@ee160000 {
1535 compatible = "renesas,sdhi-r8a7795";
1536 reg = <0 0xee160000 0 0x2000>;
1537 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1538 clocks = <&cpg CPG_MOD 311>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001539 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001540 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001541 resets = <&cpg 311>;
Ai Kyused9d67012016-02-15 16:01:49 +01001542 status = "disabled";
1543 };
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001544
1545 usb2_phy0: usb-phy@ee080200 {
Simon Horman66950922016-12-01 15:25:54 +01001546 compatible = "renesas,usb2-phy-r8a7795",
1547 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001548 reg = <0 0xee080200 0 0x700>;
1549 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1550 clocks = <&cpg CPG_MOD 703>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001551 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001552 resets = <&cpg 703>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001553 #phy-cells = <0>;
1554 status = "disabled";
1555 };
1556
1557 usb2_phy1: usb-phy@ee0a0200 {
Simon Horman66950922016-12-01 15:25:54 +01001558 compatible = "renesas,usb2-phy-r8a7795",
1559 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001560 reg = <0 0xee0a0200 0 0x700>;
1561 clocks = <&cpg CPG_MOD 702>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001562 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001563 resets = <&cpg 702>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001564 #phy-cells = <0>;
1565 status = "disabled";
1566 };
1567
1568 usb2_phy2: usb-phy@ee0c0200 {
Simon Horman66950922016-12-01 15:25:54 +01001569 compatible = "renesas,usb2-phy-r8a7795",
1570 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001571 reg = <0 0xee0c0200 0 0x700>;
1572 clocks = <&cpg CPG_MOD 701>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001573 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001574 resets = <&cpg 701>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001575 #phy-cells = <0>;
1576 status = "disabled";
1577 };
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001578
Yoshihiro Shimodaac29cc42017-07-26 20:29:37 +09001579 usb2_phy3: usb-phy@ee0e0200 {
1580 compatible = "renesas,usb2-phy-r8a7795",
1581 "renesas,rcar-gen3-usb2-phy";
1582 reg = <0 0xee0e0200 0 0x700>;
1583 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1584 clocks = <&cpg CPG_MOD 700>;
1585 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1586 resets = <&cpg 700>;
1587 #phy-cells = <0>;
1588 status = "disabled";
1589 };
1590
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001591 ehci0: usb@ee080100 {
1592 compatible = "generic-ehci";
1593 reg = <0 0xee080100 0 0x100>;
1594 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1595 clocks = <&cpg CPG_MOD 703>;
1596 phys = <&usb2_phy0>;
1597 phy-names = "usb";
Kazuya Mizuguchi1c422b42017-07-26 20:29:36 +09001598 companion= <&ohci0>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001599 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001600 resets = <&cpg 703>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001601 status = "disabled";
1602 };
1603
1604 ehci1: usb@ee0a0100 {
1605 compatible = "generic-ehci";
1606 reg = <0 0xee0a0100 0 0x100>;
1607 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1608 clocks = <&cpg CPG_MOD 702>;
1609 phys = <&usb2_phy1>;
1610 phy-names = "usb";
Kazuya Mizuguchi1c422b42017-07-26 20:29:36 +09001611 companion= <&ohci1>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001612 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001613 resets = <&cpg 702>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001614 status = "disabled";
1615 };
1616
1617 ehci2: usb@ee0c0100 {
1618 compatible = "generic-ehci";
1619 reg = <0 0xee0c0100 0 0x100>;
1620 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1621 clocks = <&cpg CPG_MOD 701>;
1622 phys = <&usb2_phy2>;
1623 phy-names = "usb";
Kazuya Mizuguchi1c422b42017-07-26 20:29:36 +09001624 companion= <&ohci2>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001625 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001626 resets = <&cpg 701>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001627 status = "disabled";
1628 };
1629
1630 ohci0: usb@ee080000 {
1631 compatible = "generic-ohci";
1632 reg = <0 0xee080000 0 0x100>;
1633 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1634 clocks = <&cpg CPG_MOD 703>;
1635 phys = <&usb2_phy0>;
1636 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001637 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001638 resets = <&cpg 703>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001639 status = "disabled";
1640 };
1641
1642 ohci1: usb@ee0a0000 {
1643 compatible = "generic-ohci";
1644 reg = <0 0xee0a0000 0 0x100>;
1645 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1646 clocks = <&cpg CPG_MOD 702>;
1647 phys = <&usb2_phy1>;
1648 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001649 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001650 resets = <&cpg 702>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001651 status = "disabled";
1652 };
1653
1654 ohci2: usb@ee0c0000 {
1655 compatible = "generic-ohci";
1656 reg = <0 0xee0c0000 0 0x100>;
1657 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1658 clocks = <&cpg CPG_MOD 701>;
1659 phys = <&usb2_phy2>;
1660 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001661 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001662 resets = <&cpg 701>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001663 status = "disabled";
1664 };
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001665
1666 hsusb: usb@e6590000 {
1667 compatible = "renesas,usbhs-r8a7795",
1668 "renesas,rcar-gen3-usbhs";
1669 reg = <0 0xe6590000 0 0x100>;
1670 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1671 clocks = <&cpg CPG_MOD 704>;
1672 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
1673 <&usb_dmac1 0>, <&usb_dmac1 1>;
1674 dma-names = "ch0", "ch1", "ch2", "ch3";
1675 renesas,buswait = <11>;
1676 phys = <&usb2_phy0>;
1677 phy-names = "usb";
1678 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001679 resets = <&cpg 704>;
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001680 status = "disabled";
1681 };
1682
Phil Edworthy92510242016-04-05 11:51:26 +01001683 pciec0: pcie@fe000000 {
Simon Hormanfb04f4b2016-12-08 16:29:29 +01001684 compatible = "renesas,pcie-r8a7795",
1685 "renesas,pcie-rcar-gen3";
Phil Edworthy92510242016-04-05 11:51:26 +01001686 reg = <0 0xfe000000 0 0x80000>;
1687 #address-cells = <3>;
1688 #size-cells = <2>;
1689 bus-range = <0x00 0xff>;
1690 device_type = "pci";
1691 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1692 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1693 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1694 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1695 /* Map all possible DDR as inbound ranges */
1696 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
1697 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1698 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1699 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1700 #interrupt-cells = <1>;
1701 interrupt-map-mask = <0 0 0 0>;
1702 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1703 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1704 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001705 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001706 resets = <&cpg 319>;
Phil Edworthy92510242016-04-05 11:51:26 +01001707 status = "disabled";
1708 };
1709
1710 pciec1: pcie@ee800000 {
Simon Hormanfb04f4b2016-12-08 16:29:29 +01001711 compatible = "renesas,pcie-r8a7795",
1712 "renesas,pcie-rcar-gen3";
Phil Edworthy92510242016-04-05 11:51:26 +01001713 reg = <0 0xee800000 0 0x80000>;
1714 #address-cells = <3>;
1715 #size-cells = <2>;
1716 bus-range = <0x00 0xff>;
1717 device_type = "pci";
1718 ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
1719 0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
1720 0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
1721 0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
1722 /* Map all possible DDR as inbound ranges */
1723 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
1724 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
1725 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1726 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
1727 #interrupt-cells = <1>;
1728 interrupt-map-mask = <0 0 0 0>;
1729 interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
1730 clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
1731 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001732 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001733 resets = <&cpg 318>;
Phil Edworthy92510242016-04-05 11:51:26 +01001734 status = "disabled";
1735 };
Kieran Bingham28fc8132016-06-30 14:32:42 +01001736
Sergei Shtylyov24604cd2017-06-27 20:30:53 +03001737 imr-lx4@fe860000 {
1738 compatible = "renesas,r8a7795-imr-lx4",
1739 "renesas,imr-lx4";
1740 reg = <0 0xfe860000 0 0x2000>;
1741 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
1742 clocks = <&cpg CPG_MOD 823>;
1743 power-domains = <&sysc R8A7795_PD_A3VC>;
1744 resets = <&cpg 823>;
1745 };
1746
1747 imr-lx4@fe870000 {
1748 compatible = "renesas,r8a7795-imr-lx4",
1749 "renesas,imr-lx4";
1750 reg = <0 0xfe870000 0 0x2000>;
1751 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
1752 clocks = <&cpg CPG_MOD 822>;
1753 power-domains = <&sysc R8A7795_PD_A3VC>;
1754 resets = <&cpg 822>;
1755 };
1756
1757 imr-lx4@fe880000 {
1758 compatible = "renesas,r8a7795-imr-lx4",
1759 "renesas,imr-lx4";
1760 reg = <0 0xfe880000 0 0x2000>;
1761 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
1762 clocks = <&cpg CPG_MOD 821>;
1763 power-domains = <&sysc R8A7795_PD_A3VC>;
1764 resets = <&cpg 821>;
1765 };
1766
1767 imr-lx4@fe890000 {
1768 compatible = "renesas,r8a7795-imr-lx4",
1769 "renesas,imr-lx4";
1770 reg = <0 0xfe890000 0 0x2000>;
1771 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
1772 clocks = <&cpg CPG_MOD 820>;
1773 power-domains = <&sysc R8A7795_PD_A3VC>;
1774 resets = <&cpg 820>;
1775 };
1776
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001777 vspbc: vsp@fe920000 {
1778 compatible = "renesas,vsp2";
1779 reg = <0 0xfe920000 0 0x8000>;
1780 interrupts = <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>;
1781 clocks = <&cpg CPG_MOD 624>;
1782 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001783 resets = <&cpg 624>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001784
1785 renesas,fcp = <&fcpvb1>;
1786 };
1787
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001788 fcpvb1: fcp@fe92f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001789 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001790 reg = <0 0xfe92f000 0 0x200>;
1791 clocks = <&cpg CPG_MOD 606>;
1792 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001793 resets = <&cpg 606>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001794 };
1795
Kieran Bingham28fc8132016-06-30 14:32:42 +01001796 fcpf0: fcp@fe950000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001797 compatible = "renesas,fcpf";
Kieran Bingham28fc8132016-06-30 14:32:42 +01001798 reg = <0 0xfe950000 0 0x200>;
1799 clocks = <&cpg CPG_MOD 615>;
1800 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001801 resets = <&cpg 615>;
Kieran Bingham28fc8132016-06-30 14:32:42 +01001802 };
1803
1804 fcpf1: fcp@fe951000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001805 compatible = "renesas,fcpf";
Kieran Bingham28fc8132016-06-30 14:32:42 +01001806 reg = <0 0xfe951000 0 0x200>;
1807 clocks = <&cpg CPG_MOD 614>;
1808 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001809 resets = <&cpg 614>;
Kieran Bingham28fc8132016-06-30 14:32:42 +01001810 };
1811
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001812 vspbd: vsp@fe960000 {
1813 compatible = "renesas,vsp2";
1814 reg = <0 0xfe960000 0 0x8000>;
1815 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1816 clocks = <&cpg CPG_MOD 626>;
1817 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001818 resets = <&cpg 626>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001819
1820 renesas,fcp = <&fcpvb0>;
1821 };
1822
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001823 fcpvb0: fcp@fe96f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001824 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001825 reg = <0 0xfe96f000 0 0x200>;
1826 clocks = <&cpg CPG_MOD 607>;
1827 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001828 resets = <&cpg 607>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001829 };
1830
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001831 vspi0: vsp@fe9a0000 {
1832 compatible = "renesas,vsp2";
1833 reg = <0 0xfe9a0000 0 0x8000>;
1834 interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
1835 clocks = <&cpg CPG_MOD 631>;
1836 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001837 resets = <&cpg 631>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001838
1839 renesas,fcp = <&fcpvi0>;
1840 };
1841
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001842 fcpvi0: fcp@fe9af000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001843 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001844 reg = <0 0xfe9af000 0 0x200>;
1845 clocks = <&cpg CPG_MOD 611>;
1846 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001847 resets = <&cpg 611>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001848 };
1849
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001850 vspi1: vsp@fe9b0000 {
1851 compatible = "renesas,vsp2";
1852 reg = <0 0xfe9b0000 0 0x8000>;
1853 interrupts = <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
1854 clocks = <&cpg CPG_MOD 630>;
1855 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001856 resets = <&cpg 630>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001857
1858 renesas,fcp = <&fcpvi1>;
1859 };
1860
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001861 fcpvi1: fcp@fe9bf000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001862 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001863 reg = <0 0xfe9bf000 0 0x200>;
1864 clocks = <&cpg CPG_MOD 610>;
1865 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001866 resets = <&cpg 610>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001867 };
1868
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001869 vspd0: vsp@fea20000 {
1870 compatible = "renesas,vsp2";
1871 reg = <0 0xfea20000 0 0x4000>;
1872 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
1873 clocks = <&cpg CPG_MOD 623>;
1874 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001875 resets = <&cpg 623>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001876
1877 renesas,fcp = <&fcpvd0>;
1878 };
1879
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001880 fcpvd0: fcp@fea27000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001881 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001882 reg = <0 0xfea27000 0 0x200>;
1883 clocks = <&cpg CPG_MOD 603>;
1884 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001885 resets = <&cpg 603>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001886 };
1887
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001888 vspd1: vsp@fea28000 {
1889 compatible = "renesas,vsp2";
1890 reg = <0 0xfea28000 0 0x4000>;
1891 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
1892 clocks = <&cpg CPG_MOD 622>;
1893 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001894 resets = <&cpg 622>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001895
1896 renesas,fcp = <&fcpvd1>;
1897 };
1898
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001899 fcpvd1: fcp@fea2f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001900 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001901 reg = <0 0xfea2f000 0 0x200>;
1902 clocks = <&cpg CPG_MOD 602>;
1903 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001904 resets = <&cpg 602>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001905 };
1906
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001907 vspd2: vsp@fea30000 {
1908 compatible = "renesas,vsp2";
1909 reg = <0 0xfea30000 0 0x4000>;
1910 interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
1911 clocks = <&cpg CPG_MOD 621>;
1912 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001913 resets = <&cpg 621>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03001914
1915 renesas,fcp = <&fcpvd2>;
1916 };
1917
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001918 fcpvd2: fcp@fea37000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03001919 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001920 reg = <0 0xfea37000 0 0x200>;
1921 clocks = <&cpg CPG_MOD 601>;
1922 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001923 resets = <&cpg 601>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03001924 };
1925
Kieran Binghambfb31452016-06-30 14:32:43 +01001926 fdp1@fe940000 {
1927 compatible = "renesas,fdp1";
1928 reg = <0 0xfe940000 0 0x2400>;
1929 interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
1930 clocks = <&cpg CPG_MOD 119>;
1931 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001932 resets = <&cpg 119>;
Kieran Binghambfb31452016-06-30 14:32:43 +01001933 renesas,fcp = <&fcpf0>;
1934 };
1935
1936 fdp1@fe944000 {
1937 compatible = "renesas,fdp1";
1938 reg = <0 0xfe944000 0 0x2400>;
1939 interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
1940 clocks = <&cpg CPG_MOD 118>;
1941 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001942 resets = <&cpg 118>;
Kieran Binghambfb31452016-06-30 14:32:43 +01001943 renesas,fcp = <&fcpf1>;
1944 };
1945
Ulrich Hecht12daaf72017-05-14 02:16:13 +03001946 hdmi0: hdmi0@fead0000 {
1947 compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
1948 reg = <0 0xfead0000 0 0x10000>;
1949 interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
1950 clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7795_CLK_HDMI>;
1951 clock-names = "iahb", "isfr";
1952 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1953 resets = <&cpg 729>;
1954 status = "disabled";
1955
1956 ports {
1957 #address-cells = <1>;
1958 #size-cells = <0>;
1959 port@0 {
1960 reg = <0>;
1961 dw_hdmi0_in: endpoint {
1962 remote-endpoint = <&du_out_hdmi0>;
1963 };
1964 };
1965 port@1 {
1966 reg = <1>;
1967 };
1968 };
1969 };
1970
1971 hdmi1: hdmi1@feae0000 {
1972 compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
1973 reg = <0 0xfeae0000 0 0x10000>;
1974 interrupts = <GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH>;
1975 clocks = <&cpg CPG_MOD 728>, <&cpg CPG_CORE R8A7795_CLK_HDMI>;
1976 clock-names = "iahb", "isfr";
1977 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1978 resets = <&cpg 728>;
1979 status = "disabled";
1980
1981 ports {
1982 #address-cells = <1>;
1983 #size-cells = <0>;
1984 port@0 {
1985 reg = <0>;
1986 dw_hdmi1_in: endpoint {
1987 remote-endpoint = <&du_out_hdmi1>;
1988 };
1989 };
1990 port@1 {
1991 reg = <1>;
1992 };
1993 };
1994 };
1995
Laurent Pincharta001a072016-08-09 15:29:11 +03001996 du: display@feb00000 {
Laurent Pinchartf0499b92017-06-26 19:29:30 +03001997 compatible = "renesas,du-r8a7795";
Laurent Pincharta001a072016-08-09 15:29:11 +03001998 reg = <0 0xfeb00000 0 0x80000>,
1999 <0 0xfeb90000 0 0x14>;
2000 reg-names = "du", "lvds.0";
2001 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2002 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2003 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
2004 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
2005 clocks = <&cpg CPG_MOD 724>,
2006 <&cpg CPG_MOD 723>,
2007 <&cpg CPG_MOD 722>,
2008 <&cpg CPG_MOD 721>,
2009 <&cpg CPG_MOD 727>;
2010 clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0";
Laurent Pinchartf0499b92017-06-26 19:29:30 +03002011 vsps = <&vspd0 0 &vspd1 0 &vspd2 0 &vspd0 1>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002012 status = "disabled";
2013
Laurent Pincharta001a072016-08-09 15:29:11 +03002014 ports {
2015 #address-cells = <1>;
2016 #size-cells = <0>;
2017
2018 port@0 {
2019 reg = <0>;
2020 du_out_rgb: endpoint {
2021 };
2022 };
2023 port@1 {
2024 reg = <1>;
2025 du_out_hdmi0: endpoint {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002026 remote-endpoint = <&dw_hdmi0_in>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002027 };
2028 };
2029 port@2 {
2030 reg = <2>;
2031 du_out_hdmi1: endpoint {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002032 remote-endpoint = <&dw_hdmi1_in>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002033 };
2034 };
2035 port@3 {
2036 reg = <3>;
2037 du_out_lvds0: endpoint {
2038 };
2039 };
2040 };
2041 };
Wolfram Sangb443cd12017-01-20 12:26:42 +01002042
2043 tsc: thermal@e6198000 {
2044 compatible = "renesas,r8a7795-thermal";
2045 reg = <0 0xe6198000 0 0x68>,
2046 <0 0xe61a0000 0 0x5c>,
2047 <0 0xe61a8000 0 0x5c>;
2048 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
2049 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
2050 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
2051 clocks = <&cpg CPG_MOD 522>;
2052 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002053 resets = <&cpg 522>;
Wolfram Sangb443cd12017-01-20 12:26:42 +01002054 #thermal-sensor-cells = <1>;
2055 status = "okay";
2056 };
2057
2058 thermal-zones {
2059 sensor_thermal1: sensor-thermal1 {
2060 polling-delay-passive = <250>;
2061 polling-delay = <1000>;
2062 thermal-sensors = <&tsc 0>;
2063
2064 trips {
2065 sensor1_crit: sensor1-crit {
2066 temperature = <120000>;
2067 hysteresis = <2000>;
2068 type = "critical";
2069 };
2070 };
2071 };
2072
2073 sensor_thermal2: sensor-thermal2 {
2074 polling-delay-passive = <250>;
2075 polling-delay = <1000>;
2076 thermal-sensors = <&tsc 1>;
2077
2078 trips {
2079 sensor2_crit: sensor2-crit {
2080 temperature = <120000>;
2081 hysteresis = <2000>;
2082 type = "critical";
2083 };
2084 };
2085 };
2086
2087 sensor_thermal3: sensor-thermal3 {
2088 polling-delay-passive = <250>;
2089 polling-delay = <1000>;
2090 thermal-sensors = <&tsc 2>;
2091
2092 trips {
2093 sensor3_crit: sensor3-crit {
2094 temperature = <120000>;
2095 hysteresis = <2000>;
2096 type = "critical";
2097 };
2098 };
2099 };
2100 };
Simon Horman26a7e062015-11-17 02:42:32 +09002101 };
2102};