blob: b03a77b3d22f13d2e9059b1fd7902c346c5402e9 [file] [log] [blame]
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001/*
2 * Device Tree Source for the r8a7794 SoC
3 *
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 * Copyright (C) 2014 Ulrich Hecht
6 *
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
10 */
11
12#include <dt-bindings/clock/r8a7794-clock.h>
13#include <dt-bindings/interrupt-controller/arm-gic.h>
14#include <dt-bindings/interrupt-controller/irq.h>
15
16/ {
17 compatible = "renesas,r8a7794";
18 interrupt-parent = <&gic>;
19 #address-cells = <2>;
20 #size-cells = <2>;
21
Sergei Shtylyov740b4a92015-08-11 00:59:24 +030022 aliases {
Sergei Shtylyov54285212015-08-20 01:00:09 +030023 i2c0 = &i2c0;
24 i2c1 = &i2c1;
25 i2c2 = &i2c2;
26 i2c3 = &i2c3;
27 i2c4 = &i2c4;
28 i2c5 = &i2c5;
Sergei Shtylyov740b4a92015-08-11 00:59:24 +030029 spi0 = &qspi;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +030030 vin0 = &vin0;
31 vin1 = &vin1;
Sergei Shtylyov740b4a92015-08-11 00:59:24 +030032 };
33
Ulrich Hecht0dce5452014-09-05 12:23:48 +020034 cpus {
35 #address-cells = <1>;
36 #size-cells = <0>;
37
38 cpu0: cpu@0 {
39 device_type = "cpu";
40 compatible = "arm,cortex-a7";
41 reg = <0>;
42 clock-frequency = <1000000000>;
43 };
44
45 cpu1: cpu@1 {
46 device_type = "cpu";
47 compatible = "arm,cortex-a7";
48 reg = <1>;
49 clock-frequency = <1000000000>;
50 };
51 };
52
53 gic: interrupt-controller@f1001000 {
Geert Uytterhoevenc73ddf42015-06-17 15:03:36 +020054 compatible = "arm,gic-400";
Ulrich Hecht0dce5452014-09-05 12:23:48 +020055 #interrupt-cells = <3>;
56 #address-cells = <0>;
57 interrupt-controller;
58 reg = <0 0xf1001000 0 0x1000>,
59 <0 0xf1002000 0 0x1000>,
60 <0 0xf1004000 0 0x2000>,
61 <0 0xf1006000 0 0x2000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +090062 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +020063 };
64
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030065 gpio0: gpio@e6050000 {
66 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
67 reg = <0 0xe6050000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +090068 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030069 #gpio-cells = <2>;
70 gpio-controller;
71 gpio-ranges = <&pfc 0 0 32>;
72 #interrupt-cells = <2>;
73 interrupt-controller;
74 clocks = <&mstp9_clks R8A7794_CLK_GPIO0>;
75 power-domains = <&cpg_clocks>;
76 };
77
78 gpio1: gpio@e6051000 {
79 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
80 reg = <0 0xe6051000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +090081 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030082 #gpio-cells = <2>;
83 gpio-controller;
84 gpio-ranges = <&pfc 0 32 26>;
85 #interrupt-cells = <2>;
86 interrupt-controller;
87 clocks = <&mstp9_clks R8A7794_CLK_GPIO1>;
88 power-domains = <&cpg_clocks>;
89 };
90
91 gpio2: gpio@e6052000 {
92 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
93 reg = <0 0xe6052000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +090094 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030095 #gpio-cells = <2>;
96 gpio-controller;
97 gpio-ranges = <&pfc 0 64 32>;
98 #interrupt-cells = <2>;
99 interrupt-controller;
100 clocks = <&mstp9_clks R8A7794_CLK_GPIO2>;
101 power-domains = <&cpg_clocks>;
102 };
103
104 gpio3: gpio@e6053000 {
105 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
106 reg = <0 0xe6053000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900107 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300108 #gpio-cells = <2>;
109 gpio-controller;
110 gpio-ranges = <&pfc 0 96 32>;
111 #interrupt-cells = <2>;
112 interrupt-controller;
113 clocks = <&mstp9_clks R8A7794_CLK_GPIO3>;
114 power-domains = <&cpg_clocks>;
115 };
116
117 gpio4: gpio@e6054000 {
118 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
119 reg = <0 0xe6054000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900120 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300121 #gpio-cells = <2>;
122 gpio-controller;
123 gpio-ranges = <&pfc 0 128 32>;
124 #interrupt-cells = <2>;
125 interrupt-controller;
126 clocks = <&mstp9_clks R8A7794_CLK_GPIO4>;
127 power-domains = <&cpg_clocks>;
128 };
129
130 gpio5: gpio@e6055000 {
131 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
132 reg = <0 0xe6055000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900133 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300134 #gpio-cells = <2>;
135 gpio-controller;
136 gpio-ranges = <&pfc 0 160 28>;
137 #interrupt-cells = <2>;
138 interrupt-controller;
139 clocks = <&mstp9_clks R8A7794_CLK_GPIO5>;
140 power-domains = <&cpg_clocks>;
141 };
142
143 gpio6: gpio@e6055400 {
144 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
145 reg = <0 0xe6055400 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900146 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300147 #gpio-cells = <2>;
148 gpio-controller;
149 gpio-ranges = <&pfc 0 192 26>;
150 #interrupt-cells = <2>;
151 interrupt-controller;
152 clocks = <&mstp9_clks R8A7794_CLK_GPIO6>;
153 power-domains = <&cpg_clocks>;
154 };
155
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200156 cmt0: timer@ffca0000 {
157 compatible = "renesas,cmt-48-gen2";
158 reg = <0 0xffca0000 0 0x1004>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900159 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
160 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200161 clocks = <&mstp1_clks R8A7794_CLK_CMT0>;
162 clock-names = "fck";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200163 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200164
165 renesas,channels-mask = <0x60>;
166
167 status = "disabled";
168 };
169
170 cmt1: timer@e6130000 {
171 compatible = "renesas,cmt-48-gen2";
172 reg = <0 0xe6130000 0 0x1004>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900173 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
174 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
175 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
176 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
177 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
178 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
179 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
180 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200181 clocks = <&mstp3_clks R8A7794_CLK_CMT1>;
182 clock-names = "fck";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200183 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200184
185 renesas,channels-mask = <0xff>;
186
187 status = "disabled";
188 };
189
Hisashi Nakamurada336482014-09-12 10:52:06 +0200190 timer {
191 compatible = "arm,armv7-timer";
Simon Horman8d47e6a2016-01-18 14:18:44 +0900192 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
193 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
194 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
195 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
Hisashi Nakamurada336482014-09-12 10:52:06 +0200196 };
197
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200198 irqc0: interrupt-controller@e61c0000 {
199 compatible = "renesas,irqc-r8a7794", "renesas,irqc";
200 #interrupt-cells = <2>;
201 interrupt-controller;
202 reg = <0 0xe61c0000 0 0x200>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900203 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
206 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
207 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
208 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
209 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
210 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
211 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
212 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven1c5ca5d2015-03-18 19:56:01 +0100213 clocks = <&mstp4_clks R8A7794_CLK_IRQC>;
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200214 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200215 };
216
Sergei Shtylyovfd1683c2015-07-28 01:29:31 +0300217 pfc: pin-controller@e6060000 {
218 compatible = "renesas,pfc-r8a7794";
219 reg = <0 0xe6060000 0 0x11c>;
Sergei Shtylyovfd1683c2015-07-28 01:29:31 +0300220 };
221
Laurent Pinchartbd847482015-01-27 19:12:17 +0200222 dmac0: dma-controller@e6700000 {
Simon Horman0a3d0582015-11-13 11:23:51 +0900223 compatible = "renesas,dmac-r8a7794", "renesas,rcar-dmac";
Laurent Pinchartbd847482015-01-27 19:12:17 +0200224 reg = <0 0xe6700000 0 0x20000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900225 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
226 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
227 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
228 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
229 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
230 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
231 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
232 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
233 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
234 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
235 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
236 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
237 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
238 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
239 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
240 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200241 interrupt-names = "error",
242 "ch0", "ch1", "ch2", "ch3",
243 "ch4", "ch5", "ch6", "ch7",
244 "ch8", "ch9", "ch10", "ch11",
245 "ch12", "ch13", "ch14";
246 clocks = <&mstp2_clks R8A7794_CLK_SYS_DMAC0>;
247 clock-names = "fck";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200248 power-domains = <&cpg_clocks>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200249 #dma-cells = <1>;
250 dma-channels = <15>;
251 };
252
253 dmac1: dma-controller@e6720000 {
Simon Horman0a3d0582015-11-13 11:23:51 +0900254 compatible = "renesas,dmac-r8a7794", "renesas,rcar-dmac";
Laurent Pinchartbd847482015-01-27 19:12:17 +0200255 reg = <0 0xe6720000 0 0x20000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900256 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
257 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
258 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
259 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
260 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
261 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
262 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
263 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
264 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
265 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
266 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
267 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
268 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
269 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
270 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
271 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200272 interrupt-names = "error",
273 "ch0", "ch1", "ch2", "ch3",
274 "ch4", "ch5", "ch6", "ch7",
275 "ch8", "ch9", "ch10", "ch11",
276 "ch12", "ch13", "ch14";
277 clocks = <&mstp2_clks R8A7794_CLK_SYS_DMAC1>;
278 clock-names = "fck";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200279 power-domains = <&cpg_clocks>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200280 #dma-cells = <1>;
281 dma-channels = <15>;
282 };
283
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200284 scifa0: serial@e6c40000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100285 compatible = "renesas,scifa-r8a7794",
286 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200287 reg = <0 0xe6c40000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900288 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200289 clocks = <&mstp2_clks R8A7794_CLK_SCIFA0>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100290 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200291 dmas = <&dmac0 0x21>, <&dmac0 0x22>;
292 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200293 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200294 status = "disabled";
295 };
296
297 scifa1: serial@e6c50000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100298 compatible = "renesas,scifa-r8a7794",
299 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200300 reg = <0 0xe6c50000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900301 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200302 clocks = <&mstp2_clks R8A7794_CLK_SCIFA1>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100303 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200304 dmas = <&dmac0 0x25>, <&dmac0 0x26>;
305 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200306 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200307 status = "disabled";
308 };
309
310 scifa2: serial@e6c60000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100311 compatible = "renesas,scifa-r8a7794",
312 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200313 reg = <0 0xe6c60000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900314 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200315 clocks = <&mstp2_clks R8A7794_CLK_SCIFA2>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100316 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200317 dmas = <&dmac0 0x27>, <&dmac0 0x28>;
318 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200319 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200320 status = "disabled";
321 };
322
323 scifa3: serial@e6c70000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100324 compatible = "renesas,scifa-r8a7794",
325 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200326 reg = <0 0xe6c70000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900327 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200328 clocks = <&mstp11_clks R8A7794_CLK_SCIFA3>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100329 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200330 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>;
331 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200332 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200333 status = "disabled";
334 };
335
336 scifa4: serial@e6c78000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100337 compatible = "renesas,scifa-r8a7794",
338 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200339 reg = <0 0xe6c78000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900340 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200341 clocks = <&mstp11_clks R8A7794_CLK_SCIFA4>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100342 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200343 dmas = <&dmac0 0x1f>, <&dmac0 0x20>;
344 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200345 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200346 status = "disabled";
347 };
348
349 scifa5: serial@e6c80000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100350 compatible = "renesas,scifa-r8a7794",
351 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200352 reg = <0 0xe6c80000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900353 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200354 clocks = <&mstp11_clks R8A7794_CLK_SCIFA5>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100355 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200356 dmas = <&dmac0 0x23>, <&dmac0 0x24>;
357 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200358 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200359 status = "disabled";
360 };
361
362 scifb0: serial@e6c20000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100363 compatible = "renesas,scifb-r8a7794",
364 "renesas,rcar-gen2-scifb", "renesas,scifb";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200365 reg = <0 0xe6c20000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900366 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200367 clocks = <&mstp2_clks R8A7794_CLK_SCIFB0>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100368 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200369 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>;
370 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200371 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200372 status = "disabled";
373 };
374
375 scifb1: serial@e6c30000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100376 compatible = "renesas,scifb-r8a7794",
377 "renesas,rcar-gen2-scifb", "renesas,scifb";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200378 reg = <0 0xe6c30000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900379 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200380 clocks = <&mstp2_clks R8A7794_CLK_SCIFB1>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100381 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200382 dmas = <&dmac0 0x19>, <&dmac0 0x1a>;
383 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200384 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200385 status = "disabled";
386 };
387
388 scifb2: serial@e6ce0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100389 compatible = "renesas,scifb-r8a7794",
390 "renesas,rcar-gen2-scifb", "renesas,scifb";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200391 reg = <0 0xe6ce0000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900392 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200393 clocks = <&mstp2_clks R8A7794_CLK_SCIFB2>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100394 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200395 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>;
396 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200397 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200398 status = "disabled";
399 };
400
401 scif0: serial@e6e60000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100402 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
403 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200404 reg = <0 0xe6e60000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900405 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200406 clocks = <&mstp7_clks R8A7794_CLK_SCIF0>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100407 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200408 dmas = <&dmac0 0x29>, <&dmac0 0x2a>;
409 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200410 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200411 status = "disabled";
412 };
413
414 scif1: serial@e6e68000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100415 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
416 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200417 reg = <0 0xe6e68000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900418 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200419 clocks = <&mstp7_clks R8A7794_CLK_SCIF1>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100420 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200421 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>;
422 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200423 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200424 status = "disabled";
425 };
426
427 scif2: serial@e6e58000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100428 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
429 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200430 reg = <0 0xe6e58000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900431 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200432 clocks = <&mstp7_clks R8A7794_CLK_SCIF2>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100433 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200434 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>;
435 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200436 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200437 status = "disabled";
438 };
439
440 scif3: serial@e6ea8000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100441 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
442 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200443 reg = <0 0xe6ea8000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900444 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200445 clocks = <&mstp7_clks R8A7794_CLK_SCIF3>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100446 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200447 dmas = <&dmac0 0x2f>, <&dmac0 0x30>;
448 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200449 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200450 status = "disabled";
451 };
452
453 scif4: serial@e6ee0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100454 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
455 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200456 reg = <0 0xe6ee0000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900457 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200458 clocks = <&mstp7_clks R8A7794_CLK_SCIF4>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100459 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200460 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>;
461 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200462 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200463 status = "disabled";
464 };
465
466 scif5: serial@e6ee8000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100467 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
468 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200469 reg = <0 0xe6ee8000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900470 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200471 clocks = <&mstp7_clks R8A7794_CLK_SCIF5>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100472 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200473 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>;
474 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200475 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200476 status = "disabled";
477 };
478
479 hscif0: serial@e62c0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100480 compatible = "renesas,hscif-r8a7794",
481 "renesas,rcar-gen2-hscif", "renesas,hscif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200482 reg = <0 0xe62c0000 0 96>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900483 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200484 clocks = <&mstp7_clks R8A7794_CLK_HSCIF0>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100485 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200486 dmas = <&dmac0 0x39>, <&dmac0 0x3a>;
487 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200488 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200489 status = "disabled";
490 };
491
492 hscif1: serial@e62c8000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100493 compatible = "renesas,hscif-r8a7794",
494 "renesas,rcar-gen2-hscif", "renesas,hscif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200495 reg = <0 0xe62c8000 0 96>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900496 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200497 clocks = <&mstp7_clks R8A7794_CLK_HSCIF1>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100498 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200499 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>;
500 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200501 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200502 status = "disabled";
503 };
504
505 hscif2: serial@e62d0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100506 compatible = "renesas,hscif-r8a7794",
507 "renesas,rcar-gen2-hscif", "renesas,hscif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200508 reg = <0 0xe62d0000 0 96>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900509 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200510 clocks = <&mstp7_clks R8A7794_CLK_HSCIF2>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100511 clock-names = "fck";
Geert Uytterhoeven8233a0d2015-05-20 19:46:27 +0200512 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>;
513 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200514 power-domains = <&cpg_clocks>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200515 status = "disabled";
516 };
517
Laurent Pinchart82818d32015-01-27 10:45:55 +0200518 ether: ethernet@ee700000 {
519 compatible = "renesas,ether-r8a7794";
520 reg = <0 0xee700000 0 0x400>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900521 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart82818d32015-01-27 10:45:55 +0200522 clocks = <&mstp8_clks R8A7794_CLK_ETHER>;
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200523 power-domains = <&cpg_clocks>;
Laurent Pinchart82818d32015-01-27 10:45:55 +0200524 phy-mode = "rmii";
525 #address-cells = <1>;
526 #size-cells = <0>;
527 status = "disabled";
528 };
529
Sergei Shtylyov54285212015-08-20 01:00:09 +0300530 /* The memory map in the User's Manual maps the cores to bus numbers */
531 i2c0: i2c@e6508000 {
532 compatible = "renesas,i2c-r8a7794";
533 reg = <0 0xe6508000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900534 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300535 clocks = <&mstp9_clks R8A7794_CLK_I2C0>;
536 power-domains = <&cpg_clocks>;
537 #address-cells = <1>;
538 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100539 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300540 status = "disabled";
541 };
542
543 i2c1: i2c@e6518000 {
544 compatible = "renesas,i2c-r8a7794";
545 reg = <0 0xe6518000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900546 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300547 clocks = <&mstp9_clks R8A7794_CLK_I2C1>;
548 power-domains = <&cpg_clocks>;
549 #address-cells = <1>;
550 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100551 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300552 status = "disabled";
553 };
554
555 i2c2: i2c@e6530000 {
556 compatible = "renesas,i2c-r8a7794";
557 reg = <0 0xe6530000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900558 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300559 clocks = <&mstp9_clks R8A7794_CLK_I2C2>;
560 power-domains = <&cpg_clocks>;
561 #address-cells = <1>;
562 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100563 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300564 status = "disabled";
565 };
566
567 i2c3: i2c@e6540000 {
568 compatible = "renesas,i2c-r8a7794";
569 reg = <0 0xe6540000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900570 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300571 clocks = <&mstp9_clks R8A7794_CLK_I2C3>;
572 power-domains = <&cpg_clocks>;
573 #address-cells = <1>;
574 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100575 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300576 status = "disabled";
577 };
578
579 i2c4: i2c@e6520000 {
580 compatible = "renesas,i2c-r8a7794";
581 reg = <0 0xe6520000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900582 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300583 clocks = <&mstp9_clks R8A7794_CLK_I2C4>;
584 power-domains = <&cpg_clocks>;
585 #address-cells = <1>;
586 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100587 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300588 status = "disabled";
589 };
590
591 i2c5: i2c@e6528000 {
592 compatible = "renesas,i2c-r8a7794";
593 reg = <0 0xe6528000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900594 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300595 clocks = <&mstp9_clks R8A7794_CLK_I2C5>;
596 power-domains = <&cpg_clocks>;
597 #address-cells = <1>;
598 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100599 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300600 status = "disabled";
601 };
602
Sergei Shtylyov6cdf6ba2015-07-31 00:54:05 +0300603 mmcif0: mmc@ee200000 {
604 compatible = "renesas,mmcif-r8a7794", "renesas,sh-mmcif";
605 reg = <0 0xee200000 0 0x80>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900606 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6cdf6ba2015-07-31 00:54:05 +0300607 clocks = <&mstp3_clks R8A7794_CLK_MMCIF0>;
608 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
609 dma-names = "tx", "rx";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200610 power-domains = <&cpg_clocks>;
Sergei Shtylyov6cdf6ba2015-07-31 00:54:05 +0300611 reg-io-width = <4>;
612 status = "disabled";
613 };
614
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300615 sdhi0: sd@ee100000 {
616 compatible = "renesas,sdhi-r8a7794";
617 reg = <0 0xee100000 0 0x200>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900618 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300619 clocks = <&mstp3_clks R8A7794_CLK_SDHI0>;
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200620 power-domains = <&cpg_clocks>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300621 status = "disabled";
622 };
623
624 sdhi1: sd@ee140000 {
625 compatible = "renesas,sdhi-r8a7794";
626 reg = <0 0xee140000 0 0x100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900627 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300628 clocks = <&mstp3_clks R8A7794_CLK_SDHI1>;
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200629 power-domains = <&cpg_clocks>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300630 status = "disabled";
631 };
632
633 sdhi2: sd@ee160000 {
634 compatible = "renesas,sdhi-r8a7794";
635 reg = <0 0xee160000 0 0x100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900636 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300637 clocks = <&mstp3_clks R8A7794_CLK_SDHI2>;
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200638 power-domains = <&cpg_clocks>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300639 status = "disabled";
640 };
641
Sergei Shtylyov740b4a92015-08-11 00:59:24 +0300642 qspi: spi@e6b10000 {
643 compatible = "renesas,qspi-r8a7794", "renesas,qspi";
644 reg = <0 0xe6b10000 0 0x2c>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900645 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov740b4a92015-08-11 00:59:24 +0300646 clocks = <&mstp9_clks R8A7794_CLK_QSPI_MOD>;
647 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
648 dma-names = "tx", "rx";
649 power-domains = <&cpg_clocks>;
650 num-cs = <1>;
651 #address-cells = <1>;
652 #size-cells = <0>;
653 status = "disabled";
654 };
655
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300656 vin0: video@e6ef0000 {
657 compatible = "renesas,vin-r8a7794";
658 reg = <0 0xe6ef0000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900659 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300660 clocks = <&mstp8_clks R8A7794_CLK_VIN0>;
661 power-domains = <&cpg_clocks>;
662 status = "disabled";
663 };
664
665 vin1: video@e6ef1000 {
666 compatible = "renesas,vin-r8a7794";
667 reg = <0 0xe6ef1000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900668 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300669 clocks = <&mstp8_clks R8A7794_CLK_VIN1>;
670 power-domains = <&cpg_clocks>;
671 status = "disabled";
672 };
673
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300674 pci0: pci@ee090000 {
675 compatible = "renesas,pci-r8a7794";
676 device_type = "pci";
677 reg = <0 0xee090000 0 0xc00>,
678 <0 0xee080000 0 0x1100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900679 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300680 clocks = <&mstp7_clks R8A7794_CLK_EHCI>;
681 power-domains = <&cpg_clocks>;
682 status = "disabled";
683
684 bus-range = <0 0>;
685 #address-cells = <3>;
686 #size-cells = <2>;
687 #interrupt-cells = <1>;
688 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
689 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900690 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
691 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
692 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov45cb0bd2015-09-13 02:00:19 +0300693
694 usb@0,1 {
695 reg = <0x800 0 0 0 0>;
696 device_type = "pci";
697 phys = <&usb0 0>;
698 phy-names = "usb";
699 };
700
701 usb@0,2 {
702 reg = <0x1000 0 0 0 0>;
703 device_type = "pci";
704 phys = <&usb0 0>;
705 phy-names = "usb";
706 };
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300707 };
708
709 pci1: pci@ee0d0000 {
710 compatible = "renesas,pci-r8a7794";
711 device_type = "pci";
712 reg = <0 0xee0d0000 0 0xc00>,
713 <0 0xee0c0000 0 0x1100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900714 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300715 clocks = <&mstp7_clks R8A7794_CLK_EHCI>;
716 power-domains = <&cpg_clocks>;
717 status = "disabled";
718
719 bus-range = <1 1>;
720 #address-cells = <3>;
721 #size-cells = <2>;
722 #interrupt-cells = <1>;
723 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
724 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900725 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
726 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
727 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov45cb0bd2015-09-13 02:00:19 +0300728
729 usb@0,1 {
730 reg = <0x800 0 0 0 0>;
731 device_type = "pci";
732 phys = <&usb2 0>;
733 phy-names = "usb";
734 };
735
736 usb@0,2 {
737 reg = <0x1000 0 0 0 0>;
738 device_type = "pci";
739 phys = <&usb2 0>;
740 phy-names = "usb";
741 };
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300742 };
743
Sergei Shtylyov2f33b9f2015-09-17 02:53:58 +0300744 hsusb: usb@e6590000 {
Simon Horman1472ffa2015-12-08 14:24:50 +0900745 compatible = "renesas,usbhs-r8a7794", "renesas,rcar-gen2-usbhs";
Sergei Shtylyov2f33b9f2015-09-17 02:53:58 +0300746 reg = <0 0xe6590000 0 0x100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900747 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov2f33b9f2015-09-17 02:53:58 +0300748 clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
749 power-domains = <&cpg_clocks>;
750 renesas,buswait = <4>;
751 phys = <&usb0 1>;
752 phy-names = "usb";
753 status = "disabled";
754 };
755
Sergei Shtylyov74ef4572015-10-02 01:05:12 +0300756 usbphy: usb-phy@e6590100 {
757 compatible = "renesas,usb-phy-r8a7794";
758 reg = <0 0xe6590100 0 0x100>;
759 #address-cells = <1>;
760 #size-cells = <0>;
761 clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
762 clock-names = "usbhs";
763 power-domains = <&cpg_clocks>;
764 status = "disabled";
765
766 usb0: usb-channel@0 {
767 reg = <0>;
768 #phy-cells = <1>;
769 };
770 usb2: usb-channel@2 {
771 reg = <2>;
772 #phy-cells = <1>;
773 };
774 };
775
Laurent Pinchart46c4f132015-11-16 17:57:20 +0900776 du: display@feb00000 {
777 compatible = "renesas,du-r8a7794";
778 reg = <0 0xfeb00000 0 0x40000>;
779 reg-names = "du";
Simon Horman8d47e6a2016-01-18 14:18:44 +0900780 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
781 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart46c4f132015-11-16 17:57:20 +0900782 clocks = <&mstp7_clks R8A7794_CLK_DU0>,
783 <&mstp7_clks R8A7794_CLK_DU0>;
784 clock-names = "du.0", "du.1";
785 status = "disabled";
786
787 ports {
788 #address-cells = <1>;
789 #size-cells = <0>;
790
791 port@0 {
792 reg = <0>;
793 du_out_rgb0: endpoint {
794 };
795 };
796 port@1 {
797 reg = <1>;
798 du_out_rgb1: endpoint {
799 };
800 };
801 };
802 };
803
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200804 clocks {
805 #address-cells = <2>;
806 #size-cells = <2>;
807 ranges;
808
809 /* External root clock */
810 extal_clk: extal_clk {
811 compatible = "fixed-clock";
812 #clock-cells = <0>;
813 /* This value must be overriden by the board. */
814 clock-frequency = <0>;
815 clock-output-names = "extal";
816 };
817
818 /* Special CPG clocks */
819 cpg_clocks: cpg_clocks@e6150000 {
820 compatible = "renesas,r8a7794-cpg-clocks",
821 "renesas,rcar-gen2-cpg-clocks";
822 reg = <0 0xe6150000 0 0x1000>;
823 clocks = <&extal_clk>;
824 #clock-cells = <1>;
825 clock-output-names = "main", "pll0", "pll1", "pll3",
826 "lb", "qspi", "sdh", "sd0", "z";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200827 #power-domain-cells = <0>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200828 };
Shinobu Uehara8e181632014-05-23 11:37:45 +0900829 /* Variable factor clocks */
Simon Horman5e7e1552015-01-05 09:40:49 +0900830 sd2_clk: sd2_clk@e6150078 {
Shinobu Uehara8e181632014-05-23 11:37:45 +0900831 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
832 reg = <0 0xe6150078 0 4>;
833 clocks = <&pll1_div2_clk>;
834 #clock-cells = <0>;
Simon Horman5e7e1552015-01-05 09:40:49 +0900835 clock-output-names = "sd2";
Shinobu Uehara8e181632014-05-23 11:37:45 +0900836 };
Simon Horman5e7e1552015-01-05 09:40:49 +0900837 sd3_clk: sd3_clk@e615026c {
Shinobu Uehara8e181632014-05-23 11:37:45 +0900838 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
Simon Horman5e7e1552015-01-05 09:40:49 +0900839 reg = <0 0xe615026c 0 4>;
Shinobu Uehara8e181632014-05-23 11:37:45 +0900840 clocks = <&pll1_div2_clk>;
841 #clock-cells = <0>;
Simon Horman5e7e1552015-01-05 09:40:49 +0900842 clock-output-names = "sd3";
Shinobu Uehara8e181632014-05-23 11:37:45 +0900843 };
Shinobu Ueharadeac1502014-05-27 10:39:26 +0900844 mmc0_clk: mmc0_clk@e6150240 {
845 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
846 reg = <0 0xe6150240 0 4>;
847 clocks = <&pll1_div2_clk>;
848 #clock-cells = <0>;
849 clock-output-names = "mmc0";
850 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200851
852 /* Fixed factor clocks */
853 pll1_div2_clk: pll1_div2_clk {
854 compatible = "fixed-factor-clock";
855 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
856 #clock-cells = <0>;
857 clock-div = <2>;
858 clock-mult = <1>;
859 clock-output-names = "pll1_div2";
860 };
861 zg_clk: zg_clk {
862 compatible = "fixed-factor-clock";
863 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
864 #clock-cells = <0>;
865 clock-div = <6>;
866 clock-mult = <1>;
867 clock-output-names = "zg";
868 };
869 zx_clk: zx_clk {
870 compatible = "fixed-factor-clock";
871 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
872 #clock-cells = <0>;
873 clock-div = <3>;
874 clock-mult = <1>;
875 clock-output-names = "zx";
876 };
877 zs_clk: zs_clk {
878 compatible = "fixed-factor-clock";
879 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
880 #clock-cells = <0>;
881 clock-div = <6>;
882 clock-mult = <1>;
883 clock-output-names = "zs";
884 };
885 hp_clk: hp_clk {
886 compatible = "fixed-factor-clock";
887 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
888 #clock-cells = <0>;
889 clock-div = <12>;
890 clock-mult = <1>;
891 clock-output-names = "hp";
892 };
893 i_clk: i_clk {
894 compatible = "fixed-factor-clock";
895 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
896 #clock-cells = <0>;
897 clock-div = <2>;
898 clock-mult = <1>;
899 clock-output-names = "i";
900 };
901 b_clk: b_clk {
902 compatible = "fixed-factor-clock";
903 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
904 #clock-cells = <0>;
905 clock-div = <12>;
906 clock-mult = <1>;
907 clock-output-names = "b";
908 };
909 p_clk: p_clk {
910 compatible = "fixed-factor-clock";
911 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
912 #clock-cells = <0>;
913 clock-div = <24>;
914 clock-mult = <1>;
915 clock-output-names = "p";
916 };
917 cl_clk: cl_clk {
918 compatible = "fixed-factor-clock";
919 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
920 #clock-cells = <0>;
921 clock-div = <48>;
922 clock-mult = <1>;
923 clock-output-names = "cl";
924 };
925 m2_clk: m2_clk {
926 compatible = "fixed-factor-clock";
927 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
928 #clock-cells = <0>;
929 clock-div = <8>;
930 clock-mult = <1>;
931 clock-output-names = "m2";
932 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200933 rclk_clk: rclk_clk {
934 compatible = "fixed-factor-clock";
935 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
936 #clock-cells = <0>;
937 clock-div = <(48 * 1024)>;
938 clock-mult = <1>;
939 clock-output-names = "rclk";
940 };
941 oscclk_clk: oscclk_clk {
942 compatible = "fixed-factor-clock";
943 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
944 #clock-cells = <0>;
945 clock-div = <(12 * 1024)>;
946 clock-mult = <1>;
947 clock-output-names = "oscclk";
948 };
949 zb3_clk: zb3_clk {
950 compatible = "fixed-factor-clock";
951 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
952 #clock-cells = <0>;
953 clock-div = <4>;
954 clock-mult = <1>;
955 clock-output-names = "zb3";
956 };
957 zb3d2_clk: zb3d2_clk {
958 compatible = "fixed-factor-clock";
959 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
960 #clock-cells = <0>;
961 clock-div = <8>;
962 clock-mult = <1>;
963 clock-output-names = "zb3d2";
964 };
965 ddr_clk: ddr_clk {
966 compatible = "fixed-factor-clock";
967 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
968 #clock-cells = <0>;
969 clock-div = <8>;
970 clock-mult = <1>;
971 clock-output-names = "ddr";
972 };
973 mp_clk: mp_clk {
974 compatible = "fixed-factor-clock";
975 clocks = <&pll1_div2_clk>;
976 #clock-cells = <0>;
977 clock-div = <15>;
978 clock-mult = <1>;
979 clock-output-names = "mp";
980 };
981 cp_clk: cp_clk {
982 compatible = "fixed-factor-clock";
983 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
984 #clock-cells = <0>;
985 clock-div = <48>;
986 clock-mult = <1>;
987 clock-output-names = "cp";
988 };
989
990 acp_clk: acp_clk {
991 compatible = "fixed-factor-clock";
992 clocks = <&extal_clk>;
993 #clock-cells = <0>;
994 clock-div = <2>;
995 clock-mult = <1>;
996 clock-output-names = "acp";
997 };
998
999 /* Gate clocks */
1000 mstp0_clks: mstp0_clks@e6150130 {
1001 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1002 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1003 clocks = <&mp_clk>;
1004 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001005 clock-indices = <R8A7794_CLK_MSIOF0>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001006 clock-output-names = "msiof0";
1007 };
1008 mstp1_clks: mstp1_clks@e6150134 {
1009 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1010 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Yoshifumi Hosoyadc3cf932014-11-12 17:55:57 +09001011 clocks = <&zs_clk>, <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>,
1012 <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, <&cp_clk>,
1013 <&zs_clk>, <&zs_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001014 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001015 clock-indices = <
Yoshifumi Hosoyadc3cf932014-11-12 17:55:57 +09001016 R8A7794_CLK_VCP0 R8A7794_CLK_VPC0 R8A7794_CLK_TMU1
1017 R8A7794_CLK_3DG R8A7794_CLK_2DDMAC R8A7794_CLK_FDP1_0
1018 R8A7794_CLK_TMU3 R8A7794_CLK_TMU2 R8A7794_CLK_CMT0
1019 R8A7794_CLK_TMU0 R8A7794_CLK_VSP1_DU0 R8A7794_CLK_VSP1_S
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001020 >;
1021 clock-output-names =
Yoshifumi Hosoyadc3cf932014-11-12 17:55:57 +09001022 "vcp0", "vpc0", "tmu1", "3dg", "2ddmac", "fdp1-0",
1023 "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du0", "vsps";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001024 };
1025 mstp2_clks: mstp2_clks@e6150138 {
1026 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1027 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1028 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Hiroyuki Yokoyamabe16cd32014-12-10 10:21:12 +09001029 <&mp_clk>, <&mp_clk>, <&mp_clk>,
1030 <&zs_clk>, <&zs_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001031 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001032 clock-indices = <
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001033 R8A7794_CLK_SCIFA2 R8A7794_CLK_SCIFA1 R8A7794_CLK_SCIFA0
1034 R8A7794_CLK_MSIOF2 R8A7794_CLK_SCIFB0 R8A7794_CLK_SCIFB1
1035 R8A7794_CLK_MSIOF1 R8A7794_CLK_SCIFB2
Hiroyuki Yokoyamabe16cd32014-12-10 10:21:12 +09001036 R8A7794_CLK_SYS_DMAC1 R8A7794_CLK_SYS_DMAC0
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001037 >;
1038 clock-output-names =
1039 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Hiroyuki Yokoyamabe16cd32014-12-10 10:21:12 +09001040 "scifb1", "msiof1", "scifb2",
1041 "sys-dmac1", "sys-dmac0";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001042 };
1043 mstp3_clks: mstp3_clks@e615013c {
1044 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1045 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Simon Horman5e7e1552015-01-05 09:40:49 +09001046 clocks = <&sd3_clk>, <&sd2_clk>, <&cpg_clocks R8A7794_CLK_SD0>,
Shinobu Ueharadeac1502014-05-27 10:39:26 +09001047 <&mmc0_clk>, <&rclk_clk>, <&hp_clk>, <&hp_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001048 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001049 clock-indices = <
Shinobu Uehara8e181632014-05-23 11:37:45 +09001050 R8A7794_CLK_SDHI2 R8A7794_CLK_SDHI1 R8A7794_CLK_SDHI0
Shinobu Ueharadeac1502014-05-27 10:39:26 +09001051 R8A7794_CLK_MMCIF0 R8A7794_CLK_CMT1
1052 R8A7794_CLK_USBDMAC0 R8A7794_CLK_USBDMAC1
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001053 >;
1054 clock-output-names =
Shinobu Uehara8e181632014-05-23 11:37:45 +09001055 "sdhi2", "sdhi1", "sdhi0",
Shinobu Ueharadeac1502014-05-27 10:39:26 +09001056 "mmcif0", "cmt1", "usbdmac0", "usbdmac1";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001057 };
Geert Uytterhoeven1c5ca5d2015-03-18 19:56:01 +01001058 mstp4_clks: mstp4_clks@e6150140 {
1059 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1060 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1061 clocks = <&cp_clk>;
1062 #clock-cells = <1>;
1063 clock-indices = <R8A7794_CLK_IRQC>;
1064 clock-output-names = "irqc";
1065 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001066 mstp7_clks: mstp7_clks@e615014c {
1067 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1068 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Shinobu Ueharac7bab9f2014-12-05 12:01:12 +09001069 clocks = <&mp_clk>, <&mp_clk>,
1070 <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
Laurent Pinchart9859cd32015-11-16 17:57:11 +09001071 <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1072 <&zx_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001073 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001074 clock-indices = <
Shinobu Ueharac7bab9f2014-12-05 12:01:12 +09001075 R8A7794_CLK_EHCI R8A7794_CLK_HSUSB
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001076 R8A7794_CLK_HSCIF2 R8A7794_CLK_SCIF5
1077 R8A7794_CLK_SCIF4 R8A7794_CLK_HSCIF1 R8A7794_CLK_HSCIF0
1078 R8A7794_CLK_SCIF3 R8A7794_CLK_SCIF2 R8A7794_CLK_SCIF1
Laurent Pinchart9859cd32015-11-16 17:57:11 +09001079 R8A7794_CLK_SCIF0 R8A7794_CLK_DU0
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001080 >;
1081 clock-output-names =
Shinobu Ueharac7bab9f2014-12-05 12:01:12 +09001082 "ehci", "hsusb",
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001083 "hscif2", "scif5", "scif4", "hscif1", "hscif0",
Laurent Pinchart9859cd32015-11-16 17:57:11 +09001084 "scif3", "scif2", "scif1", "scif0", "du0";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001085 };
1086 mstp8_clks: mstp8_clks@e6150990 {
1087 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1088 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Koji Matsuoka148ebf42014-10-30 14:58:55 +09001089 clocks = <&zg_clk>, <&zg_clk>, <&p_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001090 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001091 clock-indices = <
Koji Matsuoka148ebf42014-10-30 14:58:55 +09001092 R8A7794_CLK_VIN1 R8A7794_CLK_VIN0 R8A7794_CLK_ETHER
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001093 >;
1094 clock-output-names =
Koji Matsuoka148ebf42014-10-30 14:58:55 +09001095 "vin1", "vin0", "ether";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001096 };
Hisashi Nakamura32814802014-12-11 12:21:14 +09001097 mstp9_clks: mstp9_clks@e6150994 {
1098 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1099 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001100 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
1101 <&cp_clk>, <&cp_clk>, <&cp_clk>,
1102 <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>,
1103 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
Hisashi Nakamura32814802014-12-11 12:21:14 +09001104 #clock-cells = <1>;
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001105 clock-indices = <R8A7794_CLK_GPIO6 R8A7794_CLK_GPIO5
1106 R8A7794_CLK_GPIO4 R8A7794_CLK_GPIO3
1107 R8A7794_CLK_GPIO2 R8A7794_CLK_GPIO1
1108 R8A7794_CLK_GPIO0 R8A7794_CLK_QSPI_MOD
1109 R8A7794_CLK_I2C5 R8A7794_CLK_I2C4
1110 R8A7794_CLK_I2C3 R8A7794_CLK_I2C2
1111 R8A7794_CLK_I2C1 R8A7794_CLK_I2C0>;
Koji Matsuokac5d82c92014-05-23 18:37:04 +09001112 clock-output-names =
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001113 "gpio6", "gpio5", "gpio4", "gpio3", "gpio2",
1114 "gpio1", "gpio0", "qspi_mod",
1115 "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0";
Hisashi Nakamura32814802014-12-11 12:21:14 +09001116 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001117 mstp11_clks: mstp11_clks@e615099c {
1118 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1119 reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;
1120 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>;
1121 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001122 clock-indices = <
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001123 R8A7794_CLK_SCIFA3 R8A7794_CLK_SCIFA4 R8A7794_CLK_SCIFA5
1124 >;
1125 clock-output-names = "scifa3", "scifa4", "scifa5";
1126 };
1127 };
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001128
1129 ipmmu_sy0: mmu@e6280000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001130 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001131 reg = <0 0xe6280000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001132 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1133 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001134 #iommu-cells = <1>;
1135 status = "disabled";
1136 };
1137
1138 ipmmu_sy1: mmu@e6290000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001139 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001140 reg = <0 0xe6290000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001141 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001142 #iommu-cells = <1>;
1143 status = "disabled";
1144 };
1145
1146 ipmmu_ds: mmu@e6740000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001147 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001148 reg = <0 0xe6740000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001149 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1150 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001151 #iommu-cells = <1>;
Magnus Damm832d3e42015-10-18 14:26:56 +09001152 status = "disabled";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001153 };
1154
1155 ipmmu_mp: mmu@ec680000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001156 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001157 reg = <0 0xec680000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001158 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001159 #iommu-cells = <1>;
1160 status = "disabled";
1161 };
1162
1163 ipmmu_mx: mmu@fe951000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001164 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001165 reg = <0 0xfe951000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001166 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1167 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001168 #iommu-cells = <1>;
Magnus Damm832d3e42015-10-18 14:26:56 +09001169 status = "disabled";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001170 };
1171
1172 ipmmu_gp: mmu@e62a0000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001173 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001174 reg = <0 0xe62a0000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001175 interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
1176 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001177 #iommu-cells = <1>;
1178 status = "disabled";
1179 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001180};