blob: 6db4f10376a11177beb995cfb19d0b7ada978c5c [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",
Simon Hormand6d70372017-10-13 14:33:10 +0200223 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900224 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",
Simon Hormand6d70372017-10-13 14:33:10 +0200238 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900239 reg = <0 0xe6051000 0 0x50>;
240 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
241 #gpio-cells = <2>;
242 gpio-controller;
Takeshi Kiharaeb14ed12017-11-23 11:58:50 +0100243 gpio-ranges = <&pfc 0 32 29>;
Takeshi Kihara7b086232015-10-29 08:09:18 +0900244 #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",
Simon Hormand6d70372017-10-13 14:33:10 +0200253 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900254 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",
Simon Hormand6d70372017-10-13 14:33:10 +0200268 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900269 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",
Simon Hormand6d70372017-10-13 14:33:10 +0200283 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900284 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",
Simon Hormand6d70372017-10-13 14:33:10 +0200298 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900299 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",
Simon Hormand6d70372017-10-13 14:33:10 +0200313 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900314 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",
Simon Hormand6d70372017-10-13 14:33:10 +0200328 "renesas,rcar-gen3-gpio";
Takeshi Kihara7b086232015-10-29 08:09:18 +0900329 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
Magnus Damm3b7e7842017-11-10 14:25:18 +0100424 ipmmu_vi0: mmu@febd0000 {
425 compatible = "renesas,ipmmu-r8a7795";
426 reg = <0 0xfebd0000 0 0x1000>;
427 renesas,ipmmu-main = <&ipmmu_mm 14>;
428 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
429 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100430 };
431
432 ipmmu_vi1: mmu@febe0000 {
433 compatible = "renesas,ipmmu-r8a7795";
434 reg = <0 0xfebe0000 0 0x1000>;
435 renesas,ipmmu-main = <&ipmmu_mm 15>;
436 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
437 #iommu-cells = <1>;
438 status = "disabled";
439 };
440
441 ipmmu_vp0: mmu@fe990000 {
442 compatible = "renesas,ipmmu-r8a7795";
443 reg = <0 0xfe990000 0 0x1000>;
444 renesas,ipmmu-main = <&ipmmu_mm 16>;
445 power-domains = <&sysc R8A7795_PD_A3VP>;
446 #iommu-cells = <1>;
447 status = "disabled";
448 };
449
450 ipmmu_vp1: mmu@fe980000 {
451 compatible = "renesas,ipmmu-r8a7795";
452 reg = <0 0xfe980000 0 0x1000>;
453 renesas,ipmmu-main = <&ipmmu_mm 17>;
454 power-domains = <&sysc R8A7795_PD_A3VP>;
455 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100456 };
457
458 ipmmu_vc0: mmu@fe6b0000 {
459 compatible = "renesas,ipmmu-r8a7795";
460 reg = <0 0xfe6b0000 0 0x1000>;
461 renesas,ipmmu-main = <&ipmmu_mm 12>;
462 power-domains = <&sysc R8A7795_PD_A3VC>;
463 #iommu-cells = <1>;
464 status = "disabled";
465 };
466
467 ipmmu_vc1: mmu@fe6f0000 {
468 compatible = "renesas,ipmmu-r8a7795";
469 reg = <0 0xfe6f0000 0 0x1000>;
470 renesas,ipmmu-main = <&ipmmu_mm 13>;
471 power-domains = <&sysc R8A7795_PD_A3VC>;
472 #iommu-cells = <1>;
473 status = "disabled";
474 };
475
476 ipmmu_pv0: mmu@fd800000 {
477 compatible = "renesas,ipmmu-r8a7795";
478 reg = <0 0xfd800000 0 0x1000>;
479 renesas,ipmmu-main = <&ipmmu_mm 6>;
480 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
481 #iommu-cells = <1>;
482 status = "disabled";
483 };
484
485 ipmmu_pv2: mmu@fd960000 {
486 compatible = "renesas,ipmmu-r8a7795";
487 reg = <0 0xfd960000 0 0x1000>;
488 renesas,ipmmu-main = <&ipmmu_mm 8>;
489 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
490 #iommu-cells = <1>;
491 status = "disabled";
492 };
493
494 ipmmu_pv3: mmu@fd970000 {
495 compatible = "renesas,ipmmu-r8a7795";
496 reg = <0 0xfd970000 0 0x1000>;
497 renesas,ipmmu-main = <&ipmmu_mm 9>;
498 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
499 #iommu-cells = <1>;
500 status = "disabled";
501 };
502
503 ipmmu_ir: mmu@ff8b0000 {
504 compatible = "renesas,ipmmu-r8a7795";
505 reg = <0 0xff8b0000 0 0x1000>;
506 renesas,ipmmu-main = <&ipmmu_mm 3>;
507 power-domains = <&sysc R8A7795_PD_A3IR>;
508 #iommu-cells = <1>;
509 status = "disabled";
510 };
511
512 ipmmu_hc: mmu@e6570000 {
513 compatible = "renesas,ipmmu-r8a7795";
514 reg = <0 0xe6570000 0 0x1000>;
515 renesas,ipmmu-main = <&ipmmu_mm 2>;
516 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
517 #iommu-cells = <1>;
518 status = "disabled";
519 };
520
521 ipmmu_rt: mmu@ffc80000 {
522 compatible = "renesas,ipmmu-r8a7795";
523 reg = <0 0xffc80000 0 0x1000>;
524 renesas,ipmmu-main = <&ipmmu_mm 10>;
525 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
526 #iommu-cells = <1>;
527 status = "disabled";
528 };
529
530 ipmmu_mp0: mmu@ec670000 {
531 compatible = "renesas,ipmmu-r8a7795";
532 reg = <0 0xec670000 0 0x1000>;
533 renesas,ipmmu-main = <&ipmmu_mm 4>;
534 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
535 #iommu-cells = <1>;
536 status = "disabled";
537 };
538
539 ipmmu_ds0: mmu@e6740000 {
540 compatible = "renesas,ipmmu-r8a7795";
541 reg = <0 0xe6740000 0 0x1000>;
542 renesas,ipmmu-main = <&ipmmu_mm 0>;
543 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
544 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100545 };
546
547 ipmmu_ds1: mmu@e7740000 {
548 compatible = "renesas,ipmmu-r8a7795";
549 reg = <0 0xe7740000 0 0x1000>;
550 renesas,ipmmu-main = <&ipmmu_mm 1>;
551 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
552 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100553 };
554
555 ipmmu_mm: mmu@e67b0000 {
556 compatible = "renesas,ipmmu-r8a7795";
557 reg = <0 0xe67b0000 0 0x1000>;
558 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
559 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
560 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
561 #iommu-cells = <1>;
Magnus Damm3b7e7842017-11-10 14:25:18 +0100562 };
563
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900564 dmac0: dma-controller@e6700000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100565 compatible = "renesas,dmac-r8a7795",
566 "renesas,rcar-dmac";
567 reg = <0 0xe6700000 0 0x10000>;
568 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
569 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
570 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
571 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
572 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
573 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
574 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
575 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
576 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
577 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
578 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
579 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
580 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
581 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
582 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
583 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
584 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
585 interrupt-names = "error",
586 "ch0", "ch1", "ch2", "ch3",
587 "ch4", "ch5", "ch6", "ch7",
588 "ch8", "ch9", "ch10", "ch11",
589 "ch12", "ch13", "ch14", "ch15";
590 clocks = <&cpg CPG_MOD 219>;
591 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200592 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100593 resets = <&cpg 219>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100594 #dma-cells = <1>;
595 dma-channels = <16>;
Magnus Dammbf2ca652017-11-10 14:25:20 +0100596 iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
597 <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
598 <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
599 <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
600 <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
601 <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
602 <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
603 <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900604 };
605
606 dmac1: dma-controller@e7300000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100607 compatible = "renesas,dmac-r8a7795",
608 "renesas,rcar-dmac";
609 reg = <0 0xe7300000 0 0x10000>;
610 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
611 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
612 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
613 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
614 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
615 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
616 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
617 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
618 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
619 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
620 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
621 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
622 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
623 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
624 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
625 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
626 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
627 interrupt-names = "error",
628 "ch0", "ch1", "ch2", "ch3",
629 "ch4", "ch5", "ch6", "ch7",
630 "ch8", "ch9", "ch10", "ch11",
631 "ch12", "ch13", "ch14", "ch15";
632 clocks = <&cpg CPG_MOD 218>;
633 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200634 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100635 resets = <&cpg 218>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100636 #dma-cells = <1>;
637 dma-channels = <16>;
Magnus Dammbf2ca652017-11-10 14:25:20 +0100638 iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
639 <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
640 <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
641 <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
642 <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
643 <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
644 <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
645 <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900646 };
647
648 dmac2: dma-controller@e7310000 {
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100649 compatible = "renesas,dmac-r8a7795",
650 "renesas,rcar-dmac";
651 reg = <0 0xe7310000 0 0x10000>;
652 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
653 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
654 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
655 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
656 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
657 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
658 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
659 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
660 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
661 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
662 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
663 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
664 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
665 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
666 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
667 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
668 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
669 interrupt-names = "error",
670 "ch0", "ch1", "ch2", "ch3",
671 "ch4", "ch5", "ch6", "ch7",
672 "ch8", "ch9", "ch10", "ch11",
673 "ch12", "ch13", "ch14", "ch15";
674 clocks = <&cpg CPG_MOD 217>;
675 clock-names = "fck";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200676 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100677 resets = <&cpg 217>;
Geert Uytterhoevene2102ce2016-01-19 10:06:21 +0100678 #dma-cells = <1>;
679 dma-channels = <16>;
Magnus Dammbf2ca652017-11-10 14:25:20 +0100680 iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
681 <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
682 <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
683 <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
684 <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
685 <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
686 <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
687 <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
Geert Uytterhoevend9202122015-10-02 11:55:40 +0900688 };
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +0900689
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000690 audma0: dma-controller@ec700000 {
691 compatible = "renesas,dmac-r8a7795",
692 "renesas,rcar-dmac";
693 reg = <0 0xec700000 0 0x10000>;
694 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
695 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
696 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
697 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
698 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
699 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
700 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
701 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
702 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
703 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
704 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
705 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
706 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
707 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
708 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
709 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
710 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
711 interrupt-names = "error",
712 "ch0", "ch1", "ch2", "ch3",
713 "ch4", "ch5", "ch6", "ch7",
714 "ch8", "ch9", "ch10", "ch11",
715 "ch12", "ch13", "ch14", "ch15";
716 clocks = <&cpg CPG_MOD 502>;
717 clock-names = "fck";
718 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100719 resets = <&cpg 502>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000720 #dma-cells = <1>;
721 dma-channels = <16>;
Magnus Dammc2b57f72017-11-10 14:25:21 +0100722 iommus = <&ipmmu_mp0 0>, <&ipmmu_mp0 1>,
723 <&ipmmu_mp0 2>, <&ipmmu_mp0 3>,
724 <&ipmmu_mp0 4>, <&ipmmu_mp0 5>,
725 <&ipmmu_mp0 6>, <&ipmmu_mp0 7>,
726 <&ipmmu_mp0 8>, <&ipmmu_mp0 9>,
727 <&ipmmu_mp0 10>, <&ipmmu_mp0 11>,
728 <&ipmmu_mp0 12>, <&ipmmu_mp0 13>,
729 <&ipmmu_mp0 14>, <&ipmmu_mp0 15>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000730 };
731
732 audma1: dma-controller@ec720000 {
733 compatible = "renesas,dmac-r8a7795",
734 "renesas,rcar-dmac";
735 reg = <0 0xec720000 0 0x10000>;
736 interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
737 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
738 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
739 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
740 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
741 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
742 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
743 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
744 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
745 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
746 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
747 GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
748 GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
749 GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
750 GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
751 GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
752 GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
753 interrupt-names = "error",
754 "ch0", "ch1", "ch2", "ch3",
755 "ch4", "ch5", "ch6", "ch7",
756 "ch8", "ch9", "ch10", "ch11",
757 "ch12", "ch13", "ch14", "ch15";
758 clocks = <&cpg CPG_MOD 501>;
759 clock-names = "fck";
760 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100761 resets = <&cpg 501>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000762 #dma-cells = <1>;
763 dma-channels = <16>;
Magnus Dammc2b57f72017-11-10 14:25:21 +0100764 iommus = <&ipmmu_mp0 16>, <&ipmmu_mp0 17>,
765 <&ipmmu_mp0 18>, <&ipmmu_mp0 19>,
766 <&ipmmu_mp0 20>, <&ipmmu_mp0 21>,
767 <&ipmmu_mp0 22>, <&ipmmu_mp0 23>,
768 <&ipmmu_mp0 24>, <&ipmmu_mp0 25>,
769 <&ipmmu_mp0 26>, <&ipmmu_mp0 27>,
770 <&ipmmu_mp0 28>, <&ipmmu_mp0 29>,
771 <&ipmmu_mp0 30>, <&ipmmu_mp0 31>;
Kuninori Morimoto769fa832016-12-21 04:56:54 +0000772 };
773
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900774 avb: ethernet@e6800000 {
Simon Horman2b953cc2016-02-23 10:17:46 +0900775 compatible = "renesas,etheravb-r8a7795",
776 "renesas,etheravb-rcar-gen3";
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900777 reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
778 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
779 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
780 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
781 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
782 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
783 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
784 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
785 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
786 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
787 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
788 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
789 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
790 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
791 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
792 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
793 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
794 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
795 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
796 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
797 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
798 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
799 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
800 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
801 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
802 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
803 interrupt-names = "ch0", "ch1", "ch2", "ch3",
804 "ch4", "ch5", "ch6", "ch7",
805 "ch8", "ch9", "ch10", "ch11",
806 "ch12", "ch13", "ch14", "ch15",
807 "ch16", "ch17", "ch18", "ch19",
808 "ch20", "ch21", "ch22", "ch23",
809 "ch24";
810 clocks = <&cpg CPG_MOD 812>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200811 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100812 resets = <&cpg 812>;
Kazuya Mizuguchidda38872017-02-01 09:42:00 +0100813 phy-mode = "rgmii-txid";
Magnus Dammca8740f2017-11-10 14:25:29 +0100814 iommus = <&ipmmu_ds0 16>;
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900815 #address-cells = <1>;
816 #size-cells = <0>;
Geert Uytterhoeven0d1390f2017-01-25 14:19:30 +0100817 status = "disabled";
Kazuya Mizuguchia92843c2015-11-02 13:31:44 +0900818 };
819
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000820 can0: can@e6c30000 {
821 compatible = "renesas,can-r8a7795",
822 "renesas,rcar-gen3-can";
823 reg = <0 0xe6c30000 0 0x1000>;
824 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
825 clocks = <&cpg CPG_MOD 916>,
826 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
827 <&can_clk>;
828 clock-names = "clkp1", "clkp2", "can_clk";
829 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
830 assigned-clock-rates = <40000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200831 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100832 resets = <&cpg 916>;
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000833 status = "disabled";
834 };
835
836 can1: can@e6c38000 {
837 compatible = "renesas,can-r8a7795",
838 "renesas,rcar-gen3-can";
839 reg = <0 0xe6c38000 0 0x1000>;
840 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
841 clocks = <&cpg CPG_MOD 915>,
842 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
843 <&can_clk>;
844 clock-names = "clkp1", "clkp2", "can_clk";
845 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
846 assigned-clock-rates = <40000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +0200847 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100848 resets = <&cpg 915>;
Ramesh Shanmugasundaram308b7e42016-02-29 14:22:39 +0000849 status = "disabled";
850 };
851
Ramesh Shanmugasundaram162cd782016-06-17 13:35:43 +0100852 canfd: can@e66c0000 {
853 compatible = "renesas,r8a7795-canfd",
854 "renesas,rcar-gen3-canfd";
855 reg = <0 0xe66c0000 0 0x8000>;
856 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
857 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
858 clocks = <&cpg CPG_MOD 914>,
859 <&cpg CPG_CORE R8A7795_CLK_CANFD>,
860 <&can_clk>;
861 clock-names = "fck", "canfd", "can_clk";
862 assigned-clocks = <&cpg CPG_CORE R8A7795_CLK_CANFD>;
863 assigned-clock-rates = <40000000>;
864 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +0100865 resets = <&cpg 914>;
Ramesh Shanmugasundaram162cd782016-06-17 13:35:43 +0100866 status = "disabled";
867
868 channel0 {
869 status = "disabled";
870 };
871
872 channel1 {
873 status = "disabled";
874 };
875 };
876
Ramesh Shanmugasundaram91662b12017-06-23 10:13:20 +0100877 drif00: rif@e6f40000 {
878 compatible = "renesas,r8a7795-drif",
879 "renesas,rcar-gen3-drif";
880 reg = <0 0xe6f40000 0 0x64>;
881 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
882 clocks = <&cpg CPG_MOD 515>;
883 clock-names = "fck";
884 dmas = <&dmac1 0x20>, <&dmac2 0x20>;
885 dma-names = "rx", "rx";
886 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
887 resets = <&cpg 515>;
888 renesas,bonding = <&drif01>;
889 status = "disabled";
890 };
891
892 drif01: rif@e6f50000 {
893 compatible = "renesas,r8a7795-drif",
894 "renesas,rcar-gen3-drif";
895 reg = <0 0xe6f50000 0 0x64>;
896 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
897 clocks = <&cpg CPG_MOD 514>;
898 clock-names = "fck";
899 dmas = <&dmac1 0x22>, <&dmac2 0x22>;
900 dma-names = "rx", "rx";
901 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
902 resets = <&cpg 514>;
903 renesas,bonding = <&drif00>;
904 status = "disabled";
905 };
906
907 drif10: rif@e6f60000 {
908 compatible = "renesas,r8a7795-drif",
909 "renesas,rcar-gen3-drif";
910 reg = <0 0xe6f60000 0 0x64>;
911 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
912 clocks = <&cpg CPG_MOD 513>;
913 clock-names = "fck";
914 dmas = <&dmac1 0x24>, <&dmac2 0x24>;
915 dma-names = "rx", "rx";
916 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
917 resets = <&cpg 513>;
918 renesas,bonding = <&drif11>;
919 status = "disabled";
920 };
921
922 drif11: rif@e6f70000 {
923 compatible = "renesas,r8a7795-drif",
924 "renesas,rcar-gen3-drif";
925 reg = <0 0xe6f70000 0 0x64>;
926 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
927 clocks = <&cpg CPG_MOD 512>;
928 clock-names = "fck";
929 dmas = <&dmac1 0x26>, <&dmac2 0x26>;
930 dma-names = "rx", "rx";
931 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
932 resets = <&cpg 512>;
933 renesas,bonding = <&drif10>;
934 status = "disabled";
935 };
936
937 drif20: rif@e6f80000 {
938 compatible = "renesas,r8a7795-drif",
939 "renesas,rcar-gen3-drif";
940 reg = <0 0xe6f80000 0 0x64>;
941 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
942 clocks = <&cpg CPG_MOD 511>;
943 clock-names = "fck";
944 dmas = <&dmac1 0x28>, <&dmac2 0x28>;
945 dma-names = "rx", "rx";
946 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
947 resets = <&cpg 511>;
948 renesas,bonding = <&drif21>;
949 status = "disabled";
950 };
951
952 drif21: rif@e6f90000 {
953 compatible = "renesas,r8a7795-drif",
954 "renesas,rcar-gen3-drif";
955 reg = <0 0xe6f90000 0 0x64>;
956 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
957 clocks = <&cpg CPG_MOD 510>;
958 clock-names = "fck";
959 dmas = <&dmac1 0x2a>, <&dmac2 0x2a>;
960 dma-names = "rx", "rx";
961 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
962 resets = <&cpg 510>;
963 renesas,bonding = <&drif20>;
964 status = "disabled";
965 };
966
967 drif30: rif@e6fa0000 {
968 compatible = "renesas,r8a7795-drif",
969 "renesas,rcar-gen3-drif";
970 reg = <0 0xe6fa0000 0 0x64>;
971 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
972 clocks = <&cpg CPG_MOD 509>;
973 clock-names = "fck";
974 dmas = <&dmac1 0x2c>, <&dmac2 0x2c>;
975 dma-names = "rx", "rx";
976 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
977 resets = <&cpg 509>;
978 renesas,bonding = <&drif31>;
979 status = "disabled";
980 };
981
982 drif31: rif@e6fb0000 {
983 compatible = "renesas,r8a7795-drif",
984 "renesas,rcar-gen3-drif";
985 reg = <0 0xe6fb0000 0 0x64>;
986 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
987 clocks = <&cpg CPG_MOD 508>;
988 clock-names = "fck";
989 dmas = <&dmac1 0x2e>, <&dmac2 0x2e>;
990 dma-names = "rx", "rx";
991 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
992 resets = <&cpg 508>;
993 renesas,bonding = <&drif30>;
994 status = "disabled";
995 };
996
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +0100997 hscif0: serial@e6540000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +0100998 compatible = "renesas,hscif-r8a7795",
999 "renesas,rcar-gen3-hscif",
1000 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001001 reg = <0 0xe6540000 0 96>;
1002 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001003 clocks = <&cpg CPG_MOD 520>,
1004 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1005 <&scif_clk>;
1006 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001007 dmas = <&dmac1 0x31>, <&dmac1 0x30>;
1008 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001009 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001010 resets = <&cpg 520>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001011 status = "disabled";
1012 };
1013
1014 hscif1: serial@e6550000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001015 compatible = "renesas,hscif-r8a7795",
1016 "renesas,rcar-gen3-hscif",
1017 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001018 reg = <0 0xe6550000 0 96>;
1019 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001020 clocks = <&cpg CPG_MOD 519>,
1021 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1022 <&scif_clk>;
1023 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001024 dmas = <&dmac1 0x33>, <&dmac1 0x32>;
1025 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001026 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001027 resets = <&cpg 519>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001028 status = "disabled";
1029 };
1030
1031 hscif2: serial@e6560000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001032 compatible = "renesas,hscif-r8a7795",
1033 "renesas,rcar-gen3-hscif",
1034 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001035 reg = <0 0xe6560000 0 96>;
1036 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001037 clocks = <&cpg CPG_MOD 518>,
1038 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1039 <&scif_clk>;
1040 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001041 dmas = <&dmac1 0x35>, <&dmac1 0x34>;
1042 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001043 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001044 resets = <&cpg 518>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001045 status = "disabled";
1046 };
1047
1048 hscif3: serial@e66a0000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001049 compatible = "renesas,hscif-r8a7795",
1050 "renesas,rcar-gen3-hscif",
1051 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001052 reg = <0 0xe66a0000 0 96>;
1053 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001054 clocks = <&cpg CPG_MOD 517>,
1055 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1056 <&scif_clk>;
1057 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001058 dmas = <&dmac0 0x37>, <&dmac0 0x36>;
1059 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001060 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001061 resets = <&cpg 517>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001062 status = "disabled";
1063 };
1064
1065 hscif4: serial@e66b0000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001066 compatible = "renesas,hscif-r8a7795",
1067 "renesas,rcar-gen3-hscif",
1068 "renesas,hscif";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001069 reg = <0 0xe66b0000 0 96>;
1070 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001071 clocks = <&cpg CPG_MOD 516>,
1072 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1073 <&scif_clk>;
1074 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001075 dmas = <&dmac0 0x39>, <&dmac0 0x38>;
1076 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001077 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001078 resets = <&cpg 516>;
Geert Uytterhoeven4fa04292015-11-19 19:29:11 +01001079 status = "disabled";
1080 };
1081
Geert Uytterhoevenecad1872017-07-12 12:34:21 +02001082 msiof0: spi@e6e90000 {
1083 compatible = "renesas,msiof-r8a7795",
1084 "renesas,rcar-gen3-msiof";
1085 reg = <0 0xe6e90000 0 0x0064>;
1086 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1087 clocks = <&cpg CPG_MOD 211>;
1088 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1089 <&dmac2 0x41>, <&dmac2 0x40>;
1090 dma-names = "tx", "rx", "tx", "rx";
1091 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1092 resets = <&cpg 211>;
1093 #address-cells = <1>;
1094 #size-cells = <0>;
1095 status = "disabled";
1096 };
1097
1098 msiof1: spi@e6ea0000 {
1099 compatible = "renesas,msiof-r8a7795",
1100 "renesas,rcar-gen3-msiof";
1101 reg = <0 0xe6ea0000 0 0x0064>;
1102 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1103 clocks = <&cpg CPG_MOD 210>;
1104 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1105 <&dmac2 0x43>, <&dmac2 0x42>;
1106 dma-names = "tx", "rx", "tx", "rx";
1107 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1108 resets = <&cpg 210>;
1109 #address-cells = <1>;
1110 #size-cells = <0>;
1111 status = "disabled";
1112 };
1113
1114 msiof2: spi@e6c00000 {
1115 compatible = "renesas,msiof-r8a7795",
1116 "renesas,rcar-gen3-msiof";
1117 reg = <0 0xe6c00000 0 0x0064>;
1118 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1119 clocks = <&cpg CPG_MOD 209>;
1120 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1121 dma-names = "tx", "rx";
1122 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1123 resets = <&cpg 209>;
1124 #address-cells = <1>;
1125 #size-cells = <0>;
1126 status = "disabled";
1127 };
1128
1129 msiof3: spi@e6c10000 {
1130 compatible = "renesas,msiof-r8a7795",
1131 "renesas,rcar-gen3-msiof";
1132 reg = <0 0xe6c10000 0 0x0064>;
1133 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1134 clocks = <&cpg CPG_MOD 208>;
1135 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1136 dma-names = "tx", "rx";
1137 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1138 resets = <&cpg 208>;
1139 #address-cells = <1>;
1140 #size-cells = <0>;
1141 status = "disabled";
1142 };
1143
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001144 scif0: serial@e6e60000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001145 compatible = "renesas,scif-r8a7795",
1146 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001147 reg = <0 0xe6e60000 0 64>;
1148 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001149 clocks = <&cpg CPG_MOD 207>,
1150 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1151 <&scif_clk>;
1152 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001153 dmas = <&dmac1 0x51>, <&dmac1 0x50>;
1154 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001155 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001156 resets = <&cpg 207>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001157 status = "disabled";
1158 };
1159
1160 scif1: serial@e6e68000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001161 compatible = "renesas,scif-r8a7795",
1162 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001163 reg = <0 0xe6e68000 0 64>;
1164 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001165 clocks = <&cpg CPG_MOD 206>,
1166 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1167 <&scif_clk>;
1168 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001169 dmas = <&dmac1 0x53>, <&dmac1 0x52>;
1170 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001171 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001172 resets = <&cpg 206>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001173 status = "disabled";
1174 };
1175
1176 scif2: serial@e6e88000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001177 compatible = "renesas,scif-r8a7795",
1178 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001179 reg = <0 0xe6e88000 0 64>;
1180 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001181 clocks = <&cpg CPG_MOD 310>,
1182 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1183 <&scif_clk>;
1184 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001185 dmas = <&dmac1 0x13>, <&dmac1 0x12>;
1186 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001187 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001188 resets = <&cpg 310>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001189 status = "disabled";
1190 };
1191
1192 scif3: serial@e6c50000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001193 compatible = "renesas,scif-r8a7795",
1194 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001195 reg = <0 0xe6c50000 0 64>;
1196 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001197 clocks = <&cpg CPG_MOD 204>,
1198 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1199 <&scif_clk>;
1200 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001201 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1202 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001203 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001204 resets = <&cpg 204>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001205 status = "disabled";
1206 };
1207
1208 scif4: serial@e6c40000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001209 compatible = "renesas,scif-r8a7795",
1210 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001211 reg = <0 0xe6c40000 0 64>;
1212 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001213 clocks = <&cpg CPG_MOD 203>,
1214 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1215 <&scif_clk>;
1216 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001217 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1218 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001219 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001220 resets = <&cpg 203>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001221 status = "disabled";
1222 };
1223
1224 scif5: serial@e6f30000 {
Geert Uytterhoeven653f5022016-01-29 10:32:08 +01001225 compatible = "renesas,scif-r8a7795",
1226 "renesas,rcar-gen3-scif", "renesas,scif";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001227 reg = <0 0xe6f30000 0 64>;
1228 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven3da41e42016-01-29 11:04:43 +01001229 clocks = <&cpg CPG_MOD 202>,
1230 <&cpg CPG_CORE R8A7795_CLK_S3D1>,
1231 <&scif_clk>;
1232 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001233 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>;
1234 dma-names = "tx", "rx";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001235 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001236 resets = <&cpg 202>;
Geert Uytterhoeven49af46b2015-10-02 11:55:51 +09001237 status = "disabled";
1238 };
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001239
Keita Kobayashid7e0d642017-01-26 09:52:29 +01001240 i2c_dvfs: i2c@e60b0000 {
1241 #address-cells = <1>;
1242 #size-cells = <0>;
1243 compatible = "renesas,iic-r8a7795",
1244 "renesas,rcar-gen3-iic",
1245 "renesas,rmobile-iic";
1246 reg = <0 0xe60b0000 0 0x425>;
1247 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
1248 clocks = <&cpg CPG_MOD 926>;
1249 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001250 resets = <&cpg 926>;
Wolfram Sang482e5652017-05-28 12:14:29 +02001251 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
1252 dma-names = "tx", "rx";
Keita Kobayashid7e0d642017-01-26 09:52:29 +01001253 status = "disabled";
1254 };
1255
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001256 i2c0: i2c@e6500000 {
1257 #address-cells = <1>;
1258 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001259 compatible = "renesas,i2c-r8a7795",
1260 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001261 reg = <0 0xe6500000 0 0x40>;
1262 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
1263 clocks = <&cpg CPG_MOD 931>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001264 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001265 resets = <&cpg 931>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001266 dmas = <&dmac1 0x91>, <&dmac1 0x90>;
1267 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001268 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001269 status = "disabled";
1270 };
1271
1272 i2c1: i2c@e6508000 {
1273 #address-cells = <1>;
1274 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001275 compatible = "renesas,i2c-r8a7795",
1276 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001277 reg = <0 0xe6508000 0 0x40>;
1278 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
1279 clocks = <&cpg CPG_MOD 930>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001280 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001281 resets = <&cpg 930>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001282 dmas = <&dmac1 0x93>, <&dmac1 0x92>;
1283 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001284 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001285 status = "disabled";
1286 };
1287
1288 i2c2: i2c@e6510000 {
1289 #address-cells = <1>;
1290 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001291 compatible = "renesas,i2c-r8a7795",
1292 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001293 reg = <0 0xe6510000 0 0x40>;
1294 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
1295 clocks = <&cpg CPG_MOD 929>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001296 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001297 resets = <&cpg 929>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001298 dmas = <&dmac1 0x95>, <&dmac1 0x94>;
1299 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001300 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001301 status = "disabled";
1302 };
1303
1304 i2c3: i2c@e66d0000 {
1305 #address-cells = <1>;
1306 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001307 compatible = "renesas,i2c-r8a7795",
1308 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001309 reg = <0 0xe66d0000 0 0x40>;
1310 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
1311 clocks = <&cpg CPG_MOD 928>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001312 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001313 resets = <&cpg 928>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001314 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
1315 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001316 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001317 status = "disabled";
1318 };
1319
1320 i2c4: i2c@e66d8000 {
1321 #address-cells = <1>;
1322 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001323 compatible = "renesas,i2c-r8a7795",
1324 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001325 reg = <0 0xe66d8000 0 0x40>;
1326 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
1327 clocks = <&cpg CPG_MOD 927>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001328 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001329 resets = <&cpg 927>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001330 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
1331 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001332 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001333 status = "disabled";
1334 };
1335
1336 i2c5: i2c@e66e0000 {
1337 #address-cells = <1>;
1338 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001339 compatible = "renesas,i2c-r8a7795",
1340 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001341 reg = <0 0xe66e0000 0 0x40>;
1342 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1343 clocks = <&cpg CPG_MOD 919>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001344 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001345 resets = <&cpg 919>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001346 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
1347 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001348 i2c-scl-internal-delay-ns = <110>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001349 status = "disabled";
1350 };
1351
1352 i2c6: i2c@e66e8000 {
1353 #address-cells = <1>;
1354 #size-cells = <0>;
Simon Hormand8ebefc2016-12-13 12:45:54 +01001355 compatible = "renesas,i2c-r8a7795",
1356 "renesas,rcar-gen3-i2c";
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001357 reg = <0 0xe66e8000 0 0x40>;
1358 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1359 clocks = <&cpg CPG_MOD 918>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001360 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001361 resets = <&cpg 918>;
Niklas Söderlundd78a1cf2016-05-17 12:28:01 +02001362 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
1363 dma-names = "tx", "rx";
Wolfram Sang9036a732015-12-08 10:37:53 +01001364 i2c-scl-internal-delay-ns = <6>;
Kuninori Morimoto32bc0c52015-10-28 08:05:27 +09001365 status = "disabled";
1366 };
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001367
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001368 pwm0: pwm@e6e30000 {
1369 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1370 reg = <0 0xe6e30000 0 0x8>;
1371 clocks = <&cpg CPG_MOD 523>;
1372 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001373 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001374 #pwm-cells = <2>;
1375 status = "disabled";
1376 };
1377
1378 pwm1: pwm@e6e31000 {
1379 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1380 reg = <0 0xe6e31000 0 0x8>;
1381 clocks = <&cpg CPG_MOD 523>;
1382 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001383 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001384 #pwm-cells = <2>;
1385 status = "disabled";
1386 };
1387
1388 pwm2: pwm@e6e32000 {
1389 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1390 reg = <0 0xe6e32000 0 0x8>;
1391 clocks = <&cpg CPG_MOD 523>;
1392 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001393 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001394 #pwm-cells = <2>;
1395 status = "disabled";
1396 };
1397
1398 pwm3: pwm@e6e33000 {
1399 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1400 reg = <0 0xe6e33000 0 0x8>;
1401 clocks = <&cpg CPG_MOD 523>;
1402 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001403 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001404 #pwm-cells = <2>;
1405 status = "disabled";
1406 };
1407
1408 pwm4: pwm@e6e34000 {
1409 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1410 reg = <0 0xe6e34000 0 0x8>;
1411 clocks = <&cpg CPG_MOD 523>;
1412 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001413 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001414 #pwm-cells = <2>;
1415 status = "disabled";
1416 };
1417
1418 pwm5: pwm@e6e35000 {
1419 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1420 reg = <0 0xe6e35000 0 0x8>;
1421 clocks = <&cpg CPG_MOD 523>;
1422 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001423 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001424 #pwm-cells = <2>;
1425 status = "disabled";
1426 };
1427
1428 pwm6: pwm@e6e36000 {
1429 compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar";
1430 reg = <0 0xe6e36000 0 0x8>;
1431 clocks = <&cpg CPG_MOD 523>;
1432 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001433 resets = <&cpg 523>;
Laurent Pinchartb2b9443b2016-11-19 05:28:07 +02001434 #pwm-cells = <2>;
1435 status = "disabled";
1436 };
1437
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001438 rcar_sound: sound@ec500000 {
1439 /*
1440 * #sound-dai-cells is required
1441 *
1442 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1443 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1444 */
1445 /*
1446 * #clock-cells is required for audio_clkout0/1/2/3
1447 *
1448 * clkout : #clock-cells = <0>; <&rcar_sound>;
1449 * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
1450 */
1451 compatible = "renesas,rcar_sound-r8a7795", "renesas,rcar_sound-gen3";
1452 reg = <0 0xec500000 0 0x1000>, /* SCU */
1453 <0 0xec5a0000 0 0x100>, /* ADG */
1454 <0 0xec540000 0 0x1000>, /* SSIU */
1455 <0 0xec541000 0 0x280>, /* SSI */
1456 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1457 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1458
1459 clocks = <&cpg CPG_MOD 1005>,
1460 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1461 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1462 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1463 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1464 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001465 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1466 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1467 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1468 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1469 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001470 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001471 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001472 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001473 <&audio_clk_a>, <&audio_clk_b>,
1474 <&audio_clk_c>,
1475 <&cpg CPG_CORE R8A7795_CLK_S0D4>;
1476 clock-names = "ssi-all",
1477 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1478 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1479 "ssi.1", "ssi.0",
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001480 "src.9", "src.8", "src.7", "src.6",
1481 "src.5", "src.4", "src.3", "src.2",
1482 "src.1", "src.0",
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001483 "mix.1", "mix.0",
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001484 "ctu.1", "ctu.0",
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001485 "dvc.0", "dvc.1",
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001486 "clk_a", "clk_b", "clk_c", "clk_i";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001487 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoeven161a1912017-06-12 11:32:16 +02001488 resets = <&cpg 1005>,
1489 <&cpg 1006>, <&cpg 1007>,
1490 <&cpg 1008>, <&cpg 1009>,
1491 <&cpg 1010>, <&cpg 1011>,
1492 <&cpg 1012>, <&cpg 1013>,
1493 <&cpg 1014>, <&cpg 1015>;
1494 reset-names = "ssi-all",
1495 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1496 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1497 "ssi.1", "ssi.0";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001498 status = "disabled";
1499
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001500 rcar_sound,dvc {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001501 dvc0: dvc-0 {
Kuninori Morimotob5a8ffa2017-03-07 05:30:06 +00001502 dmas = <&audma1 0xbc>;
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001503 dma-names = "tx";
1504 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001505 dvc1: dvc-1 {
Kuninori Morimotob5a8ffa2017-03-07 05:30:06 +00001506 dmas = <&audma1 0xbe>;
Kuninori Morimotob9dd9452015-11-25 06:37:29 +00001507 dma-names = "tx";
1508 };
1509 };
1510
Kuninori Morimotoad5805f2016-12-06 03:54:58 +00001511 rcar_sound,mix {
1512 mix0: mix-0 { };
1513 mix1: mix-1 { };
1514 };
1515
Kuninori Morimotoc9293d72016-12-06 03:54:21 +00001516 rcar_sound,ctu {
1517 ctu00: ctu-0 { };
1518 ctu01: ctu-1 { };
1519 ctu02: ctu-2 { };
1520 ctu03: ctu-3 { };
1521 ctu10: ctu-4 { };
1522 ctu11: ctu-5 { };
1523 ctu12: ctu-6 { };
1524 ctu13: ctu-7 { };
1525 };
1526
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001527 rcar_sound,src {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001528 src0: src-0 {
Simon Horman52b541a2016-02-02 14:31:03 +01001529 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001530 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1531 dma-names = "rx", "tx";
1532 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001533 src1: src-1 {
Simon Horman52b541a2016-02-02 14:31:03 +01001534 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001535 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1536 dma-names = "rx", "tx";
1537 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001538 src2: src-2 {
Simon Horman52b541a2016-02-02 14:31:03 +01001539 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001540 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1541 dma-names = "rx", "tx";
1542 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001543 src3: src-3 {
Simon Horman52b541a2016-02-02 14:31:03 +01001544 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001545 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1546 dma-names = "rx", "tx";
1547 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001548 src4: src-4 {
Simon Horman52b541a2016-02-02 14:31:03 +01001549 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001550 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1551 dma-names = "rx", "tx";
1552 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001553 src5: src-5 {
Simon Horman52b541a2016-02-02 14:31:03 +01001554 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001555 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1556 dma-names = "rx", "tx";
1557 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001558 src6: src-6 {
Simon Horman52b541a2016-02-02 14:31:03 +01001559 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001560 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1561 dma-names = "rx", "tx";
1562 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001563 src7: src-7 {
Simon Horman52b541a2016-02-02 14:31:03 +01001564 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001565 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1566 dma-names = "rx", "tx";
1567 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001568 src8: src-8 {
Simon Horman52b541a2016-02-02 14:31:03 +01001569 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001570 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1571 dma-names = "rx", "tx";
1572 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001573 src9: src-9 {
Simon Horman52b541a2016-02-02 14:31:03 +01001574 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotob868ff52015-11-25 06:37:08 +00001575 dmas = <&audma0 0x97>, <&audma1 0xba>;
1576 dma-names = "rx", "tx";
1577 };
1578 };
1579
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001580 rcar_sound,ssi {
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001581 ssi0: ssi-0 {
Simon Horman52b541a2016-02-02 14:31:03 +01001582 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001583 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1584 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001585 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001586 ssi1: ssi-1 {
Simon Horman52b541a2016-02-02 14:31:03 +01001587 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001588 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1589 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001590 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001591 ssi2: ssi-2 {
Simon Horman52b541a2016-02-02 14:31:03 +01001592 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001593 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1594 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001595 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001596 ssi3: ssi-3 {
Simon Horman52b541a2016-02-02 14:31:03 +01001597 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001598 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1599 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001600 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001601 ssi4: ssi-4 {
Simon Horman52b541a2016-02-02 14:31:03 +01001602 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001603 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1604 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001605 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001606 ssi5: ssi-5 {
Simon Horman52b541a2016-02-02 14:31:03 +01001607 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001608 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1609 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001610 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001611 ssi6: ssi-6 {
Simon Horman52b541a2016-02-02 14:31:03 +01001612 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001613 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1614 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001615 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001616 ssi7: ssi-7 {
Simon Horman52b541a2016-02-02 14:31:03 +01001617 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001618 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1619 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001620 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001621 ssi8: ssi-8 {
Simon Horman52b541a2016-02-02 14:31:03 +01001622 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001623 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1624 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001625 };
Geert Uytterhoeven6f7bf822016-05-20 09:10:13 +02001626 ssi9: ssi-9 {
Simon Horman52b541a2016-02-02 14:31:03 +01001627 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto10d18ab2015-11-25 06:36:48 +00001628 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1629 dma-names = "rx", "tx", "rxu", "txu";
Kuninori Morimoto623197b2015-11-25 06:36:25 +00001630 };
1631 };
1632 };
Kouei Abe4c134722015-12-14 16:42:34 +01001633
1634 sata: sata@ee300000 {
Simon Horman41f148f2017-08-09 10:26:43 +02001635 compatible = "renesas,sata-r8a7795",
1636 "renesas,rcar-gen3-sata";
Magnus Damme9f00892017-03-20 17:49:21 +09001637 reg = <0 0xee300000 0 0x200000>;
Kouei Abe4c134722015-12-14 16:42:34 +01001638 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht2eb2b502015-12-16 11:34:21 +01001639 clocks = <&cpg CPG_MOD 815>;
Geert Uytterhoeven2cab2262017-01-16 17:57:53 +01001640 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001641 resets = <&cpg 815>;
Kouei Abe4c134722015-12-14 16:42:34 +01001642 status = "disabled";
Magnus Damm07038242017-11-10 14:25:30 +01001643 iommus = <&ipmmu_hc 2>;
Kouei Abe4c134722015-12-14 16:42:34 +01001644 };
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001645
1646 xhci0: usb@ee000000 {
Simon Horman81ae0ac2016-03-24 11:01:09 +09001647 compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001648 reg = <0 0xee000000 0 0xc00>;
1649 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1650 clocks = <&cpg CPG_MOD 328>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001651 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001652 resets = <&cpg 328>;
Yoshihiro Shimoda171f2ef2016-01-22 19:03:22 +09001653 status = "disabled";
1654 };
1655
Yoshihiro Shimoda3bdba1b2017-09-21 14:31:25 +09001656 usb3_peri0: usb@ee020000 {
1657 compatible = "renesas,r8a7795-usb3-peri",
1658 "renesas,rcar-gen3-usb3-peri";
1659 reg = <0 0xee020000 0 0x400>;
1660 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1661 clocks = <&cpg CPG_MOD 328>;
1662 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1663 resets = <&cpg 328>;
1664 status = "disabled";
1665 };
1666
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001667 usb_dmac0: dma-controller@e65a0000 {
1668 compatible = "renesas,r8a7795-usb-dmac",
1669 "renesas,usb-dmac";
1670 reg = <0 0xe65a0000 0 0x100>;
1671 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
1672 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
1673 interrupt-names = "ch0", "ch1";
1674 clocks = <&cpg CPG_MOD 330>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001675 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001676 resets = <&cpg 330>;
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001677 #dma-cells = <1>;
1678 dma-channels = <2>;
1679 };
1680
1681 usb_dmac1: dma-controller@e65b0000 {
1682 compatible = "renesas,r8a7795-usb-dmac",
1683 "renesas,usb-dmac";
1684 reg = <0 0xe65b0000 0 0x100>;
1685 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
1686 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
1687 interrupt-names = "ch0", "ch1";
1688 clocks = <&cpg CPG_MOD 331>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001689 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001690 resets = <&cpg 331>;
Yoshihiro Shimoda652a4302016-02-01 19:29:00 +09001691 #dma-cells = <1>;
1692 dma-channels = <2>;
1693 };
Ai Kyused9d67012016-02-15 16:01:49 +01001694
Yoshihiro Shimoda62f40bc2017-07-26 20:29:39 +09001695 usb_dmac2: dma-controller@e6460000 {
1696 compatible = "renesas,r8a7795-usb-dmac",
1697 "renesas,usb-dmac";
1698 reg = <0 0xe6460000 0 0x100>;
1699 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH
1700 GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
1701 interrupt-names = "ch0", "ch1";
1702 clocks = <&cpg CPG_MOD 326>;
1703 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1704 resets = <&cpg 326>;
1705 #dma-cells = <1>;
1706 dma-channels = <2>;
1707 };
1708
1709 usb_dmac3: dma-controller@e6470000 {
1710 compatible = "renesas,r8a7795-usb-dmac",
1711 "renesas,usb-dmac";
1712 reg = <0 0xe6470000 0 0x100>;
1713 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH
1714 GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1715 interrupt-names = "ch0", "ch1";
1716 clocks = <&cpg CPG_MOD 329>;
1717 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1718 resets = <&cpg 329>;
1719 #dma-cells = <1>;
1720 dma-channels = <2>;
1721 };
1722
Ai Kyused9d67012016-02-15 16:01:49 +01001723 sdhi0: sd@ee100000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001724 compatible = "renesas,sdhi-r8a7795",
1725 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001726 reg = <0 0xee100000 0 0x2000>;
1727 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1728 clocks = <&cpg CPG_MOD 314>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001729 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001730 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001731 resets = <&cpg 314>;
Ai Kyused9d67012016-02-15 16:01:49 +01001732 status = "disabled";
1733 };
1734
1735 sdhi1: sd@ee120000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001736 compatible = "renesas,sdhi-r8a7795",
1737 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001738 reg = <0 0xee120000 0 0x2000>;
1739 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1740 clocks = <&cpg CPG_MOD 313>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001741 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001742 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001743 resets = <&cpg 313>;
Ai Kyused9d67012016-02-15 16:01:49 +01001744 status = "disabled";
1745 };
1746
1747 sdhi2: sd@ee140000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001748 compatible = "renesas,sdhi-r8a7795",
1749 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001750 reg = <0 0xee140000 0 0x2000>;
1751 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1752 clocks = <&cpg CPG_MOD 312>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001753 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001754 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001755 resets = <&cpg 312>;
Ai Kyused9d67012016-02-15 16:01:49 +01001756 status = "disabled";
1757 };
1758
1759 sdhi3: sd@ee160000 {
Simon Hormane4428a72017-10-17 08:09:49 +02001760 compatible = "renesas,sdhi-r8a7795",
1761 "renesas,rcar-gen3-sdhi";
Ai Kyused9d67012016-02-15 16:01:49 +01001762 reg = <0 0xee160000 0 0x2000>;
1763 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1764 clocks = <&cpg CPG_MOD 311>;
Wolfram Sangdcdca4d2016-07-21 19:01:44 +02001765 max-frequency = <200000000>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001766 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001767 resets = <&cpg 311>;
Ai Kyused9d67012016-02-15 16:01:49 +01001768 status = "disabled";
1769 };
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001770
1771 usb2_phy0: usb-phy@ee080200 {
Simon Horman66950922016-12-01 15:25:54 +01001772 compatible = "renesas,usb2-phy-r8a7795",
1773 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001774 reg = <0 0xee080200 0 0x700>;
1775 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1776 clocks = <&cpg CPG_MOD 703>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001777 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001778 resets = <&cpg 703>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001779 #phy-cells = <0>;
1780 status = "disabled";
1781 };
1782
1783 usb2_phy1: usb-phy@ee0a0200 {
Simon Horman66950922016-12-01 15:25:54 +01001784 compatible = "renesas,usb2-phy-r8a7795",
1785 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001786 reg = <0 0xee0a0200 0 0x700>;
1787 clocks = <&cpg CPG_MOD 702>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001788 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001789 resets = <&cpg 702>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001790 #phy-cells = <0>;
1791 status = "disabled";
1792 };
1793
1794 usb2_phy2: usb-phy@ee0c0200 {
Simon Horman66950922016-12-01 15:25:54 +01001795 compatible = "renesas,usb2-phy-r8a7795",
1796 "renesas,rcar-gen3-usb2-phy";
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001797 reg = <0 0xee0c0200 0 0x700>;
1798 clocks = <&cpg CPG_MOD 701>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001799 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001800 resets = <&cpg 701>;
Yoshihiro Shimoda5923bb52016-02-23 21:28:32 +09001801 #phy-cells = <0>;
1802 status = "disabled";
1803 };
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001804
Yoshihiro Shimodaac29cc42017-07-26 20:29:37 +09001805 usb2_phy3: usb-phy@ee0e0200 {
1806 compatible = "renesas,usb2-phy-r8a7795",
1807 "renesas,rcar-gen3-usb2-phy";
1808 reg = <0 0xee0e0200 0 0x700>;
1809 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1810 clocks = <&cpg CPG_MOD 700>;
1811 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1812 resets = <&cpg 700>;
1813 #phy-cells = <0>;
1814 status = "disabled";
1815 };
1816
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001817 ehci0: usb@ee080100 {
1818 compatible = "generic-ehci";
1819 reg = <0 0xee080100 0 0x100>;
1820 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1821 clocks = <&cpg CPG_MOD 703>;
1822 phys = <&usb2_phy0>;
1823 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001824 companion = <&ohci0>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001825 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001826 resets = <&cpg 703>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001827 status = "disabled";
1828 };
1829
1830 ehci1: usb@ee0a0100 {
1831 compatible = "generic-ehci";
1832 reg = <0 0xee0a0100 0 0x100>;
1833 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1834 clocks = <&cpg CPG_MOD 702>;
1835 phys = <&usb2_phy1>;
1836 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001837 companion = <&ohci1>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001838 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001839 resets = <&cpg 702>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001840 status = "disabled";
1841 };
1842
1843 ehci2: usb@ee0c0100 {
1844 compatible = "generic-ehci";
1845 reg = <0 0xee0c0100 0 0x100>;
1846 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1847 clocks = <&cpg CPG_MOD 701>;
1848 phys = <&usb2_phy2>;
1849 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001850 companion = <&ohci2>;
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001851 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001852 resets = <&cpg 701>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001853 status = "disabled";
1854 };
1855
Yoshihiro Shimoda4dad6dc2017-07-26 20:29:38 +09001856 ehci3: usb@ee0e0100 {
1857 compatible = "generic-ehci";
1858 reg = <0 0xee0e0100 0 0x100>;
1859 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1860 clocks = <&cpg CPG_MOD 700>;
1861 phys = <&usb2_phy3>;
1862 phy-names = "usb";
Simon Hormanc3a937b2017-08-08 09:39:12 +02001863 companion = <&ohci3>;
Yoshihiro Shimoda4dad6dc2017-07-26 20:29:38 +09001864 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1865 resets = <&cpg 700>;
1866 status = "disabled";
1867 };
1868
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001869 ohci0: usb@ee080000 {
1870 compatible = "generic-ohci";
1871 reg = <0 0xee080000 0 0x100>;
1872 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1873 clocks = <&cpg CPG_MOD 703>;
1874 phys = <&usb2_phy0>;
1875 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001876 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001877 resets = <&cpg 703>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001878 status = "disabled";
1879 };
1880
1881 ohci1: usb@ee0a0000 {
1882 compatible = "generic-ohci";
1883 reg = <0 0xee0a0000 0 0x100>;
1884 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1885 clocks = <&cpg CPG_MOD 702>;
1886 phys = <&usb2_phy1>;
1887 phy-names = "usb";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001888 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001889 resets = <&cpg 702>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001890 status = "disabled";
1891 };
1892
1893 ohci2: usb@ee0c0000 {
1894 compatible = "generic-ohci";
1895 reg = <0 0xee0c0000 0 0x100>;
1896 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1897 clocks = <&cpg CPG_MOD 701>;
1898 phys = <&usb2_phy2>;
1899 phy-names = "usb";
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 701>;
Yoshihiro Shimodaa2bcdc22016-02-23 21:28:33 +09001902 status = "disabled";
1903 };
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001904
Yoshihiro Shimoda4dad6dc2017-07-26 20:29:38 +09001905 ohci3: usb@ee0e0000 {
1906 compatible = "generic-ohci";
1907 reg = <0 0xee0e0000 0 0x100>;
1908 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1909 clocks = <&cpg CPG_MOD 700>;
1910 phys = <&usb2_phy3>;
1911 phy-names = "usb";
1912 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1913 resets = <&cpg 700>;
1914 status = "disabled";
1915 };
1916
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001917 hsusb: usb@e6590000 {
1918 compatible = "renesas,usbhs-r8a7795",
1919 "renesas,rcar-gen3-usbhs";
1920 reg = <0 0xe6590000 0 0x100>;
1921 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1922 clocks = <&cpg CPG_MOD 704>;
1923 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
1924 <&usb_dmac1 0>, <&usb_dmac1 1>;
1925 dma-names = "ch0", "ch1", "ch2", "ch3";
1926 renesas,buswait = <11>;
1927 phys = <&usb2_phy0>;
1928 phy-names = "usb";
1929 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001930 resets = <&cpg 704>;
Yoshihiro Shimodad2422e12016-07-21 19:46:57 +09001931 status = "disabled";
1932 };
1933
Yoshihiro Shimoda4725f2b2017-07-26 20:29:40 +09001934 hsusb3: usb@e659c000 {
1935 compatible = "renesas,usbhs-r8a7795",
1936 "renesas,rcar-gen3-usbhs";
1937 reg = <0 0xe659c000 0 0x100>;
1938 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1939 clocks = <&cpg CPG_MOD 705>;
1940 dmas = <&usb_dmac2 0>, <&usb_dmac2 1>,
1941 <&usb_dmac3 0>, <&usb_dmac3 1>;
1942 dma-names = "ch0", "ch1", "ch2", "ch3";
1943 renesas,buswait = <11>;
1944 phys = <&usb2_phy3>;
1945 phy-names = "usb";
1946 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
1947 resets = <&cpg 705>;
1948 status = "disabled";
1949 };
1950
Phil Edworthy92510242016-04-05 11:51:26 +01001951 pciec0: pcie@fe000000 {
Simon Hormanfb04f4b2016-12-08 16:29:29 +01001952 compatible = "renesas,pcie-r8a7795",
1953 "renesas,pcie-rcar-gen3";
Phil Edworthy92510242016-04-05 11:51:26 +01001954 reg = <0 0xfe000000 0 0x80000>;
1955 #address-cells = <3>;
1956 #size-cells = <2>;
1957 bus-range = <0x00 0xff>;
1958 device_type = "pci";
1959 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1960 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1961 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1962 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1963 /* Map all possible DDR as inbound ranges */
1964 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
1965 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1966 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1967 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1968 #interrupt-cells = <1>;
1969 interrupt-map-mask = <0 0 0 0>;
1970 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1971 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1972 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02001973 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01001974 resets = <&cpg 319>;
Phil Edworthy92510242016-04-05 11:51:26 +01001975 status = "disabled";
1976 };
1977
1978 pciec1: pcie@ee800000 {
Simon Hormanfb04f4b2016-12-08 16:29:29 +01001979 compatible = "renesas,pcie-r8a7795",
1980 "renesas,pcie-rcar-gen3";
Phil Edworthy92510242016-04-05 11:51:26 +01001981 reg = <0 0xee800000 0 0x80000>;
1982 #address-cells = <3>;
1983 #size-cells = <2>;
1984 bus-range = <0x00 0xff>;
1985 device_type = "pci";
1986 ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
1987 0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
1988 0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
1989 0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
1990 /* Map all possible DDR as inbound ranges */
1991 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
1992 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
1993 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1994 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
1995 #interrupt-cells = <1>;
1996 interrupt-map-mask = <0 0 0 0>;
1997 interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
1998 clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
1999 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven38dbb452015-08-10 13:47:07 +02002000 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002001 resets = <&cpg 318>;
Phil Edworthy92510242016-04-05 11:51:26 +01002002 status = "disabled";
2003 };
Kieran Bingham28fc8132016-06-30 14:32:42 +01002004
Sergei Shtylyov24604cd2017-06-27 20:30:53 +03002005 imr-lx4@fe860000 {
2006 compatible = "renesas,r8a7795-imr-lx4",
2007 "renesas,imr-lx4";
2008 reg = <0 0xfe860000 0 0x2000>;
2009 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
2010 clocks = <&cpg CPG_MOD 823>;
2011 power-domains = <&sysc R8A7795_PD_A3VC>;
2012 resets = <&cpg 823>;
2013 };
2014
2015 imr-lx4@fe870000 {
2016 compatible = "renesas,r8a7795-imr-lx4",
2017 "renesas,imr-lx4";
2018 reg = <0 0xfe870000 0 0x2000>;
2019 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
2020 clocks = <&cpg CPG_MOD 822>;
2021 power-domains = <&sysc R8A7795_PD_A3VC>;
2022 resets = <&cpg 822>;
2023 };
2024
2025 imr-lx4@fe880000 {
2026 compatible = "renesas,r8a7795-imr-lx4",
2027 "renesas,imr-lx4";
2028 reg = <0 0xfe880000 0 0x2000>;
2029 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
2030 clocks = <&cpg CPG_MOD 821>;
2031 power-domains = <&sysc R8A7795_PD_A3VC>;
2032 resets = <&cpg 821>;
2033 };
2034
2035 imr-lx4@fe890000 {
2036 compatible = "renesas,r8a7795-imr-lx4",
2037 "renesas,imr-lx4";
2038 reg = <0 0xfe890000 0 0x2000>;
2039 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
2040 clocks = <&cpg CPG_MOD 820>;
2041 power-domains = <&sysc R8A7795_PD_A3VC>;
2042 resets = <&cpg 820>;
2043 };
2044
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002045 vspbc: vsp@fe920000 {
2046 compatible = "renesas,vsp2";
2047 reg = <0 0xfe920000 0 0x8000>;
2048 interrupts = <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>;
2049 clocks = <&cpg CPG_MOD 624>;
2050 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002051 resets = <&cpg 624>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002052
2053 renesas,fcp = <&fcpvb1>;
2054 };
2055
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002056 fcpvb1: fcp@fe92f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002057 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002058 reg = <0 0xfe92f000 0 0x200>;
2059 clocks = <&cpg CPG_MOD 606>;
2060 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002061 resets = <&cpg 606>;
Magnus Dammcdd919b2017-11-10 14:25:26 +01002062 iommus = <&ipmmu_vp1 7>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002063 };
2064
Kieran Bingham28fc8132016-06-30 14:32:42 +01002065 fcpf0: fcp@fe950000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002066 compatible = "renesas,fcpf";
Kieran Bingham28fc8132016-06-30 14:32:42 +01002067 reg = <0 0xfe950000 0 0x200>;
2068 clocks = <&cpg CPG_MOD 615>;
2069 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002070 resets = <&cpg 615>;
Magnus Dammafdeb142017-11-10 14:25:24 +01002071 iommus = <&ipmmu_vp0 0>;
Kieran Bingham28fc8132016-06-30 14:32:42 +01002072 };
2073
2074 fcpf1: fcp@fe951000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002075 compatible = "renesas,fcpf";
Kieran Bingham28fc8132016-06-30 14:32:42 +01002076 reg = <0 0xfe951000 0 0x200>;
2077 clocks = <&cpg CPG_MOD 614>;
2078 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002079 resets = <&cpg 614>;
Magnus Dammafdeb142017-11-10 14:25:24 +01002080 iommus = <&ipmmu_vp1 1>;
Kieran Bingham28fc8132016-06-30 14:32:42 +01002081 };
2082
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002083 vspbd: vsp@fe960000 {
2084 compatible = "renesas,vsp2";
2085 reg = <0 0xfe960000 0 0x8000>;
2086 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
2087 clocks = <&cpg CPG_MOD 626>;
2088 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002089 resets = <&cpg 626>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002090
2091 renesas,fcp = <&fcpvb0>;
2092 };
2093
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002094 fcpvb0: fcp@fe96f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002095 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002096 reg = <0 0xfe96f000 0 0x200>;
2097 clocks = <&cpg CPG_MOD 607>;
2098 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002099 resets = <&cpg 607>;
Magnus Dammcdd919b2017-11-10 14:25:26 +01002100 iommus = <&ipmmu_vp0 5>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002101 };
2102
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002103 vspi0: vsp@fe9a0000 {
2104 compatible = "renesas,vsp2";
2105 reg = <0 0xfe9a0000 0 0x8000>;
2106 interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
2107 clocks = <&cpg CPG_MOD 631>;
2108 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002109 resets = <&cpg 631>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002110
2111 renesas,fcp = <&fcpvi0>;
2112 };
2113
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002114 fcpvi0: fcp@fe9af000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002115 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002116 reg = <0 0xfe9af000 0 0x200>;
2117 clocks = <&cpg CPG_MOD 611>;
2118 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002119 resets = <&cpg 611>;
Magnus Damma02aac42017-11-10 14:25:27 +01002120 iommus = <&ipmmu_vp0 8>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002121 };
2122
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002123 vspi1: vsp@fe9b0000 {
2124 compatible = "renesas,vsp2";
2125 reg = <0 0xfe9b0000 0 0x8000>;
2126 interrupts = <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
2127 clocks = <&cpg CPG_MOD 630>;
2128 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002129 resets = <&cpg 630>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002130
2131 renesas,fcp = <&fcpvi1>;
2132 };
2133
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002134 fcpvi1: fcp@fe9bf000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002135 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002136 reg = <0 0xfe9bf000 0 0x200>;
2137 clocks = <&cpg CPG_MOD 610>;
2138 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002139 resets = <&cpg 610>;
Magnus Damma02aac42017-11-10 14:25:27 +01002140 iommus = <&ipmmu_vp1 9>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002141 };
2142
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002143 vspd0: vsp@fea20000 {
2144 compatible = "renesas,vsp2";
2145 reg = <0 0xfea20000 0 0x4000>;
2146 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
2147 clocks = <&cpg CPG_MOD 623>;
2148 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002149 resets = <&cpg 623>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002150
2151 renesas,fcp = <&fcpvd0>;
2152 };
2153
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002154 fcpvd0: fcp@fea27000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002155 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002156 reg = <0 0xfea27000 0 0x200>;
2157 clocks = <&cpg CPG_MOD 603>;
2158 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002159 resets = <&cpg 603>;
Magnus Damm45b894a2017-11-10 14:25:22 +01002160 iommus = <&ipmmu_vi0 8>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002161 };
2162
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002163 vspd1: vsp@fea28000 {
2164 compatible = "renesas,vsp2";
2165 reg = <0 0xfea28000 0 0x4000>;
2166 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
2167 clocks = <&cpg CPG_MOD 622>;
2168 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002169 resets = <&cpg 622>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002170
2171 renesas,fcp = <&fcpvd1>;
2172 };
2173
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002174 fcpvd1: fcp@fea2f000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002175 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002176 reg = <0 0xfea2f000 0 0x200>;
2177 clocks = <&cpg CPG_MOD 602>;
2178 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002179 resets = <&cpg 602>;
Magnus Damm45b894a2017-11-10 14:25:22 +01002180 iommus = <&ipmmu_vi0 9>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002181 };
2182
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002183 vspd2: vsp@fea30000 {
2184 compatible = "renesas,vsp2";
2185 reg = <0 0xfea30000 0 0x4000>;
2186 interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
2187 clocks = <&cpg CPG_MOD 621>;
2188 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002189 resets = <&cpg 621>;
Laurent Pinchart9f8573e2016-08-09 15:29:10 +03002190
2191 renesas,fcp = <&fcpvd2>;
2192 };
2193
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002194 fcpvd2: fcp@fea37000 {
Laurent Pinchartab33da02016-10-17 23:29:03 +03002195 compatible = "renesas,fcpv";
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002196 reg = <0 0xfea37000 0 0x200>;
2197 clocks = <&cpg CPG_MOD 601>;
2198 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002199 resets = <&cpg 601>;
Magnus Damm45b894a2017-11-10 14:25:22 +01002200 iommus = <&ipmmu_vi1 10>;
Laurent Pinchart52cd0782016-08-09 15:29:09 +03002201 };
2202
Kieran Binghambfb31452016-06-30 14:32:43 +01002203 fdp1@fe940000 {
2204 compatible = "renesas,fdp1";
2205 reg = <0 0xfe940000 0 0x2400>;
2206 interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
2207 clocks = <&cpg CPG_MOD 119>;
2208 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002209 resets = <&cpg 119>;
Kieran Binghambfb31452016-06-30 14:32:43 +01002210 renesas,fcp = <&fcpf0>;
2211 };
2212
2213 fdp1@fe944000 {
2214 compatible = "renesas,fdp1";
2215 reg = <0 0xfe944000 0 0x2400>;
2216 interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
2217 clocks = <&cpg CPG_MOD 118>;
2218 power-domains = <&sysc R8A7795_PD_A3VP>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002219 resets = <&cpg 118>;
Kieran Binghambfb31452016-06-30 14:32:43 +01002220 renesas,fcp = <&fcpf1>;
2221 };
2222
Geert Uytterhoeven6b5ac2f2017-08-30 12:03:17 +02002223 hdmi0: hdmi@fead0000 {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002224 compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
2225 reg = <0 0xfead0000 0 0x10000>;
2226 interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
2227 clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7795_CLK_HDMI>;
2228 clock-names = "iahb", "isfr";
2229 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
2230 resets = <&cpg 729>;
2231 status = "disabled";
2232
2233 ports {
2234 #address-cells = <1>;
2235 #size-cells = <0>;
2236 port@0 {
2237 reg = <0>;
2238 dw_hdmi0_in: endpoint {
2239 remote-endpoint = <&du_out_hdmi0>;
2240 };
2241 };
2242 port@1 {
2243 reg = <1>;
2244 };
2245 };
2246 };
2247
Geert Uytterhoeven6b5ac2f2017-08-30 12:03:17 +02002248 hdmi1: hdmi@feae0000 {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002249 compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
2250 reg = <0 0xfeae0000 0 0x10000>;
2251 interrupts = <GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH>;
2252 clocks = <&cpg CPG_MOD 728>, <&cpg CPG_CORE R8A7795_CLK_HDMI>;
2253 clock-names = "iahb", "isfr";
2254 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
2255 resets = <&cpg 728>;
2256 status = "disabled";
2257
2258 ports {
2259 #address-cells = <1>;
2260 #size-cells = <0>;
2261 port@0 {
2262 reg = <0>;
2263 dw_hdmi1_in: endpoint {
2264 remote-endpoint = <&du_out_hdmi1>;
2265 };
2266 };
2267 port@1 {
2268 reg = <1>;
2269 };
2270 };
2271 };
2272
Laurent Pincharta001a072016-08-09 15:29:11 +03002273 du: display@feb00000 {
Laurent Pinchartf0499b92017-06-26 19:29:30 +03002274 compatible = "renesas,du-r8a7795";
Laurent Pincharta001a072016-08-09 15:29:11 +03002275 reg = <0 0xfeb00000 0 0x80000>,
2276 <0 0xfeb90000 0 0x14>;
2277 reg-names = "du", "lvds.0";
2278 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2279 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2280 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>,
2281 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
2282 clocks = <&cpg CPG_MOD 724>,
2283 <&cpg CPG_MOD 723>,
2284 <&cpg CPG_MOD 722>,
2285 <&cpg CPG_MOD 721>,
2286 <&cpg CPG_MOD 727>;
2287 clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0";
Laurent Pinchartf0499b92017-06-26 19:29:30 +03002288 vsps = <&vspd0 0 &vspd1 0 &vspd2 0 &vspd0 1>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002289 status = "disabled";
2290
Laurent Pincharta001a072016-08-09 15:29:11 +03002291 ports {
2292 #address-cells = <1>;
2293 #size-cells = <0>;
2294
2295 port@0 {
2296 reg = <0>;
2297 du_out_rgb: endpoint {
2298 };
2299 };
2300 port@1 {
2301 reg = <1>;
2302 du_out_hdmi0: endpoint {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002303 remote-endpoint = <&dw_hdmi0_in>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002304 };
2305 };
2306 port@2 {
2307 reg = <2>;
2308 du_out_hdmi1: endpoint {
Ulrich Hecht12daaf72017-05-14 02:16:13 +03002309 remote-endpoint = <&dw_hdmi1_in>;
Laurent Pincharta001a072016-08-09 15:29:11 +03002310 };
2311 };
2312 port@3 {
2313 reg = <3>;
2314 du_out_lvds0: endpoint {
2315 };
2316 };
2317 };
2318 };
Wolfram Sangb443cd12017-01-20 12:26:42 +01002319
2320 tsc: thermal@e6198000 {
2321 compatible = "renesas,r8a7795-thermal";
2322 reg = <0 0xe6198000 0 0x68>,
2323 <0 0xe61a0000 0 0x5c>,
2324 <0 0xe61a8000 0 0x5c>;
2325 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
2326 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
2327 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
2328 clocks = <&cpg CPG_MOD 522>;
2329 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
Geert Uytterhoevendcccc132017-03-16 15:07:23 +01002330 resets = <&cpg 522>;
Wolfram Sangb443cd12017-01-20 12:26:42 +01002331 #thermal-sensor-cells = <1>;
2332 status = "okay";
2333 };
2334
2335 thermal-zones {
2336 sensor_thermal1: sensor-thermal1 {
2337 polling-delay-passive = <250>;
2338 polling-delay = <1000>;
2339 thermal-sensors = <&tsc 0>;
2340
2341 trips {
2342 sensor1_crit: sensor1-crit {
2343 temperature = <120000>;
2344 hysteresis = <2000>;
2345 type = "critical";
2346 };
2347 };
2348 };
2349
2350 sensor_thermal2: sensor-thermal2 {
2351 polling-delay-passive = <250>;
2352 polling-delay = <1000>;
2353 thermal-sensors = <&tsc 1>;
2354
2355 trips {
2356 sensor2_crit: sensor2-crit {
2357 temperature = <120000>;
2358 hysteresis = <2000>;
2359 type = "critical";
2360 };
2361 };
2362 };
2363
2364 sensor_thermal3: sensor-thermal3 {
2365 polling-delay-passive = <250>;
2366 polling-delay = <1000>;
2367 thermal-sensors = <&tsc 2>;
2368
2369 trips {
2370 sensor3_crit: sensor3-crit {
2371 temperature = <120000>;
2372 hysteresis = <2000>;
2373 type = "critical";
2374 };
2375 };
2376 };
2377 };
Simon Horman26a7e062015-11-17 02:42:32 +09002378 };
2379};