blob: cba41c199fd83c8762f7ae591ba9261ea4d6df32 [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>
Geert Uytterhoeven0761ff22015-01-20 14:44:58 +010015#include <dt-bindings/power/r8a7794-sysc.h>
Ulrich Hecht0dce5452014-09-05 12:23:48 +020016
17/ {
18 compatible = "renesas,r8a7794";
19 interrupt-parent = <&gic>;
20 #address-cells = <2>;
21 #size-cells = <2>;
22
Sergei Shtylyov740b4a92015-08-11 00:59:24 +030023 aliases {
Sergei Shtylyov54285212015-08-20 01:00:09 +030024 i2c0 = &i2c0;
25 i2c1 = &i2c1;
26 i2c2 = &i2c2;
27 i2c3 = &i2c3;
28 i2c4 = &i2c4;
29 i2c5 = &i2c5;
Simon Hormanaa9b9922016-03-17 16:35:17 +090030 i2c6 = &i2c6;
31 i2c7 = &i2c7;
Sergei Shtylyov740b4a92015-08-11 00:59:24 +030032 spi0 = &qspi;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +030033 vin0 = &vin0;
34 vin1 = &vin1;
Sergei Shtylyov740b4a92015-08-11 00:59:24 +030035 };
36
Ulrich Hecht0dce5452014-09-05 12:23:48 +020037 cpus {
38 #address-cells = <1>;
39 #size-cells = <0>;
40
41 cpu0: cpu@0 {
42 device_type = "cpu";
43 compatible = "arm,cortex-a7";
44 reg = <0>;
45 clock-frequency = <1000000000>;
Geert Uytterhoeven0761ff22015-01-20 14:44:58 +010046 power-domains = <&sysc R8A7794_PD_CA7_CPU0>;
Geert Uytterhoevend12a3842015-06-02 14:34:35 +020047 next-level-cache = <&L2_CA7>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +020048 };
49
50 cpu1: cpu@1 {
51 device_type = "cpu";
52 compatible = "arm,cortex-a7";
53 reg = <1>;
54 clock-frequency = <1000000000>;
Geert Uytterhoeven0761ff22015-01-20 14:44:58 +010055 power-domains = <&sysc R8A7794_PD_CA7_CPU1>;
Geert Uytterhoevend12a3842015-06-02 14:34:35 +020056 next-level-cache = <&L2_CA7>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +020057 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +020058
Geert Uytterhoeven34ea4b42016-05-20 09:09:59 +020059 L2_CA7: cache-controller@0 {
60 compatible = "cache";
61 reg = <0>;
62 power-domains = <&sysc R8A7794_PD_CA7_SCU>;
63 cache-unified;
64 cache-level = <2>;
65 };
Geert Uytterhoevend12a3842015-06-02 14:34:35 +020066 };
67
Ulrich Hecht0dce5452014-09-05 12:23:48 +020068 gic: interrupt-controller@f1001000 {
Geert Uytterhoevenc73ddf42015-06-17 15:03:36 +020069 compatible = "arm,gic-400";
Ulrich Hecht0dce5452014-09-05 12:23:48 +020070 #interrupt-cells = <3>;
71 #address-cells = <0>;
72 interrupt-controller;
73 reg = <0 0xf1001000 0 0x1000>,
74 <0 0xf1002000 0 0x1000>,
75 <0 0xf1004000 0 0x2000>,
76 <0 0xf1006000 0 0x2000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +090077 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +020078 };
79
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030080 gpio0: gpio@e6050000 {
81 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
82 reg = <0 0xe6050000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +090083 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030084 #gpio-cells = <2>;
85 gpio-controller;
86 gpio-ranges = <&pfc 0 0 32>;
87 #interrupt-cells = <2>;
88 interrupt-controller;
89 clocks = <&mstp9_clks R8A7794_CLK_GPIO0>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +010090 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030091 };
92
93 gpio1: gpio@e6051000 {
94 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
95 reg = <0 0xe6051000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +090096 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +030097 #gpio-cells = <2>;
98 gpio-controller;
99 gpio-ranges = <&pfc 0 32 26>;
100 #interrupt-cells = <2>;
101 interrupt-controller;
102 clocks = <&mstp9_clks R8A7794_CLK_GPIO1>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100103 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300104 };
105
106 gpio2: gpio@e6052000 {
107 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
108 reg = <0 0xe6052000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900109 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300110 #gpio-cells = <2>;
111 gpio-controller;
112 gpio-ranges = <&pfc 0 64 32>;
113 #interrupt-cells = <2>;
114 interrupt-controller;
115 clocks = <&mstp9_clks R8A7794_CLK_GPIO2>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100116 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300117 };
118
119 gpio3: gpio@e6053000 {
120 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
121 reg = <0 0xe6053000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900122 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300123 #gpio-cells = <2>;
124 gpio-controller;
125 gpio-ranges = <&pfc 0 96 32>;
126 #interrupt-cells = <2>;
127 interrupt-controller;
128 clocks = <&mstp9_clks R8A7794_CLK_GPIO3>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100129 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300130 };
131
132 gpio4: gpio@e6054000 {
133 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
134 reg = <0 0xe6054000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900135 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300136 #gpio-cells = <2>;
137 gpio-controller;
138 gpio-ranges = <&pfc 0 128 32>;
139 #interrupt-cells = <2>;
140 interrupt-controller;
141 clocks = <&mstp9_clks R8A7794_CLK_GPIO4>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100142 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300143 };
144
145 gpio5: gpio@e6055000 {
146 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
147 reg = <0 0xe6055000 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900148 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300149 #gpio-cells = <2>;
150 gpio-controller;
151 gpio-ranges = <&pfc 0 160 28>;
152 #interrupt-cells = <2>;
153 interrupt-controller;
154 clocks = <&mstp9_clks R8A7794_CLK_GPIO5>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100155 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300156 };
157
158 gpio6: gpio@e6055400 {
159 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
160 reg = <0 0xe6055400 0 0x50>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900161 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300162 #gpio-cells = <2>;
163 gpio-controller;
164 gpio-ranges = <&pfc 0 192 26>;
165 #interrupt-cells = <2>;
166 interrupt-controller;
167 clocks = <&mstp9_clks R8A7794_CLK_GPIO6>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100168 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyove8f5de32015-08-09 01:09:31 +0300169 };
170
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200171 cmt0: timer@ffca0000 {
172 compatible = "renesas,cmt-48-gen2";
173 reg = <0 0xffca0000 0 0x1004>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900174 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
175 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200176 clocks = <&mstp1_clks R8A7794_CLK_CMT0>;
177 clock-names = "fck";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100178 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200179
180 renesas,channels-mask = <0x60>;
181
182 status = "disabled";
183 };
184
185 cmt1: timer@e6130000 {
186 compatible = "renesas,cmt-48-gen2";
187 reg = <0 0xe6130000 0 0x1004>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900188 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
189 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
190 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
191 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
192 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
193 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
194 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
195 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200196 clocks = <&mstp3_clks R8A7794_CLK_CMT1>;
197 clock-names = "fck";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100198 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200199
200 renesas,channels-mask = <0xff>;
201
202 status = "disabled";
203 };
204
Hisashi Nakamurada336482014-09-12 10:52:06 +0200205 timer {
206 compatible = "arm,armv7-timer";
Simon Horman8d47e6a2016-01-18 14:18:44 +0900207 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
208 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
209 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
210 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
Hisashi Nakamurada336482014-09-12 10:52:06 +0200211 };
212
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200213 irqc0: interrupt-controller@e61c0000 {
214 compatible = "renesas,irqc-r8a7794", "renesas,irqc";
215 #interrupt-cells = <2>;
216 interrupt-controller;
217 reg = <0 0xe61c0000 0 0x200>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900218 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
219 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
220 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
221 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
222 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
223 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
224 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
225 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
226 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
227 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven1c5ca5d2015-03-18 19:56:01 +0100228 clocks = <&mstp4_clks R8A7794_CLK_IRQC>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100229 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200230 };
231
Sergei Shtylyovfd1683c2015-07-28 01:29:31 +0300232 pfc: pin-controller@e6060000 {
233 compatible = "renesas,pfc-r8a7794";
234 reg = <0 0xe6060000 0 0x11c>;
Sergei Shtylyovfd1683c2015-07-28 01:29:31 +0300235 };
236
Laurent Pinchartbd847482015-01-27 19:12:17 +0200237 dmac0: dma-controller@e6700000 {
Simon Horman0a3d0582015-11-13 11:23:51 +0900238 compatible = "renesas,dmac-r8a7794", "renesas,rcar-dmac";
Laurent Pinchartbd847482015-01-27 19:12:17 +0200239 reg = <0 0xe6700000 0 0x20000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900240 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
241 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
242 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
243 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
244 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
245 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
246 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
247 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
248 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
249 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
250 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
251 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
252 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
253 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
254 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
255 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200256 interrupt-names = "error",
257 "ch0", "ch1", "ch2", "ch3",
258 "ch4", "ch5", "ch6", "ch7",
259 "ch8", "ch9", "ch10", "ch11",
260 "ch12", "ch13", "ch14";
261 clocks = <&mstp2_clks R8A7794_CLK_SYS_DMAC0>;
262 clock-names = "fck";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100263 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200264 #dma-cells = <1>;
265 dma-channels = <15>;
266 };
267
268 dmac1: dma-controller@e6720000 {
Simon Horman0a3d0582015-11-13 11:23:51 +0900269 compatible = "renesas,dmac-r8a7794", "renesas,rcar-dmac";
Laurent Pinchartbd847482015-01-27 19:12:17 +0200270 reg = <0 0xe6720000 0 0x20000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900271 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
272 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
273 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
274 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
275 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
276 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
277 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
278 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
279 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
280 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
281 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
282 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
283 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
284 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
285 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
286 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200287 interrupt-names = "error",
288 "ch0", "ch1", "ch2", "ch3",
289 "ch4", "ch5", "ch6", "ch7",
290 "ch8", "ch9", "ch10", "ch11",
291 "ch12", "ch13", "ch14";
292 clocks = <&mstp2_clks R8A7794_CLK_SYS_DMAC1>;
293 clock-names = "fck";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100294 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Laurent Pinchartbd847482015-01-27 19:12:17 +0200295 #dma-cells = <1>;
296 dma-channels = <15>;
297 };
298
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200299 scifa0: serial@e6c40000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100300 compatible = "renesas,scifa-r8a7794",
301 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200302 reg = <0 0xe6c40000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900303 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200304 clocks = <&mstp2_clks R8A7794_CLK_SCIFA0>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100305 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200306 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
307 <&dmac1 0x21>, <&dmac1 0x22>;
308 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100309 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200310 status = "disabled";
311 };
312
313 scifa1: serial@e6c50000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100314 compatible = "renesas,scifa-r8a7794",
315 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200316 reg = <0 0xe6c50000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900317 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200318 clocks = <&mstp2_clks R8A7794_CLK_SCIFA1>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100319 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200320 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
321 <&dmac1 0x25>, <&dmac1 0x26>;
322 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100323 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200324 status = "disabled";
325 };
326
327 scifa2: serial@e6c60000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100328 compatible = "renesas,scifa-r8a7794",
329 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200330 reg = <0 0xe6c60000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900331 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200332 clocks = <&mstp2_clks R8A7794_CLK_SCIFA2>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100333 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200334 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
335 <&dmac1 0x27>, <&dmac1 0x28>;
336 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100337 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200338 status = "disabled";
339 };
340
341 scifa3: serial@e6c70000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100342 compatible = "renesas,scifa-r8a7794",
343 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200344 reg = <0 0xe6c70000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900345 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200346 clocks = <&mstp11_clks R8A7794_CLK_SCIFA3>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100347 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200348 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
349 <&dmac1 0x1b>, <&dmac1 0x1c>;
350 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100351 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200352 status = "disabled";
353 };
354
355 scifa4: serial@e6c78000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100356 compatible = "renesas,scifa-r8a7794",
357 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200358 reg = <0 0xe6c78000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900359 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200360 clocks = <&mstp11_clks R8A7794_CLK_SCIFA4>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100361 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200362 dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
363 <&dmac1 0x1f>, <&dmac1 0x20>;
364 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100365 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200366 status = "disabled";
367 };
368
369 scifa5: serial@e6c80000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100370 compatible = "renesas,scifa-r8a7794",
371 "renesas,rcar-gen2-scifa", "renesas,scifa";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200372 reg = <0 0xe6c80000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900373 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200374 clocks = <&mstp11_clks R8A7794_CLK_SCIFA5>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100375 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200376 dmas = <&dmac0 0x23>, <&dmac0 0x24>,
377 <&dmac1 0x23>, <&dmac1 0x24>;
378 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100379 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200380 status = "disabled";
381 };
382
383 scifb0: serial@e6c20000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100384 compatible = "renesas,scifb-r8a7794",
385 "renesas,rcar-gen2-scifb", "renesas,scifb";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200386 reg = <0 0xe6c20000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900387 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200388 clocks = <&mstp2_clks R8A7794_CLK_SCIFB0>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100389 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200390 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
391 <&dmac1 0x3d>, <&dmac1 0x3e>;
392 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100393 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200394 status = "disabled";
395 };
396
397 scifb1: serial@e6c30000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100398 compatible = "renesas,scifb-r8a7794",
399 "renesas,rcar-gen2-scifb", "renesas,scifb";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200400 reg = <0 0xe6c30000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900401 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200402 clocks = <&mstp2_clks R8A7794_CLK_SCIFB1>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100403 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200404 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
405 <&dmac1 0x19>, <&dmac1 0x1a>;
406 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100407 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200408 status = "disabled";
409 };
410
411 scifb2: serial@e6ce0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100412 compatible = "renesas,scifb-r8a7794",
413 "renesas,rcar-gen2-scifb", "renesas,scifb";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200414 reg = <0 0xe6ce0000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900415 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200416 clocks = <&mstp2_clks R8A7794_CLK_SCIFB2>;
Laurent Pinchart1b463bd2016-01-29 10:47:40 +0100417 clock-names = "fck";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200418 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
419 <&dmac1 0x1d>, <&dmac1 0x1e>;
420 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100421 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200422 status = "disabled";
423 };
424
425 scif0: serial@e6e60000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100426 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
427 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200428 reg = <0 0xe6e60000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900429 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100430 clocks = <&mstp7_clks R8A7794_CLK_SCIF0>, <&zs_clk>,
431 <&scif_clk>;
432 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200433 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
434 <&dmac1 0x29>, <&dmac1 0x2a>;
435 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100436 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200437 status = "disabled";
438 };
439
440 scif1: serial@e6e68000 {
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 0xe6e68000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900444 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100445 clocks = <&mstp7_clks R8A7794_CLK_SCIF1>, <&zs_clk>,
446 <&scif_clk>;
447 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200448 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
449 <&dmac1 0x2d>, <&dmac1 0x2e>;
450 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100451 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200452 status = "disabled";
453 };
454
455 scif2: serial@e6e58000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100456 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
457 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200458 reg = <0 0xe6e58000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900459 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100460 clocks = <&mstp7_clks R8A7794_CLK_SCIF2>, <&zs_clk>,
461 <&scif_clk>;
462 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200463 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
464 <&dmac1 0x2b>, <&dmac1 0x2c>;
465 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100466 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200467 status = "disabled";
468 };
469
470 scif3: serial@e6ea8000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100471 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
472 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200473 reg = <0 0xe6ea8000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900474 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100475 clocks = <&mstp7_clks R8A7794_CLK_SCIF3>, <&zs_clk>,
476 <&scif_clk>;
477 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200478 dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
479 <&dmac1 0x2f>, <&dmac1 0x30>;
480 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100481 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200482 status = "disabled";
483 };
484
485 scif4: serial@e6ee0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100486 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
487 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200488 reg = <0 0xe6ee0000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900489 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100490 clocks = <&mstp7_clks R8A7794_CLK_SCIF4>, <&zs_clk>,
491 <&scif_clk>;
492 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200493 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
494 <&dmac1 0xfb>, <&dmac1 0xfc>;
495 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100496 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200497 status = "disabled";
498 };
499
500 scif5: serial@e6ee8000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100501 compatible = "renesas,scif-r8a7794", "renesas,rcar-gen2-scif",
502 "renesas,scif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200503 reg = <0 0xe6ee8000 0 64>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900504 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100505 clocks = <&mstp7_clks R8A7794_CLK_SCIF5>, <&zs_clk>,
506 <&scif_clk>;
507 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200508 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
509 <&dmac1 0xfd>, <&dmac1 0xfe>;
510 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100511 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200512 status = "disabled";
513 };
514
515 hscif0: serial@e62c0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100516 compatible = "renesas,hscif-r8a7794",
517 "renesas,rcar-gen2-hscif", "renesas,hscif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200518 reg = <0 0xe62c0000 0 96>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900519 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100520 clocks = <&mstp7_clks R8A7794_CLK_HSCIF0>, <&zs_clk>,
521 <&scif_clk>;
522 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200523 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
524 <&dmac1 0x39>, <&dmac1 0x3a>;
525 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100526 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200527 status = "disabled";
528 };
529
530 hscif1: serial@e62c8000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100531 compatible = "renesas,hscif-r8a7794",
532 "renesas,rcar-gen2-hscif", "renesas,hscif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200533 reg = <0 0xe62c8000 0 96>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900534 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100535 clocks = <&mstp7_clks R8A7794_CLK_HSCIF1>, <&zs_clk>,
536 <&scif_clk>;
537 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200538 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
539 <&dmac1 0x4d>, <&dmac1 0x4e>;
540 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100541 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200542 status = "disabled";
543 };
544
545 hscif2: serial@e62d0000 {
Geert Uytterhoeven06930a12016-01-29 10:32:07 +0100546 compatible = "renesas,hscif-r8a7794",
547 "renesas,rcar-gen2-hscif", "renesas,hscif";
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200548 reg = <0 0xe62d0000 0 96>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900549 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100550 clocks = <&mstp7_clks R8A7794_CLK_HSCIF2>, <&zs_clk>,
551 <&scif_clk>;
552 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200553 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
554 <&dmac1 0x3b>, <&dmac1 0x3c>;
555 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100556 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200557 status = "disabled";
558 };
559
Laurent Pinchart82818d32015-01-27 10:45:55 +0200560 ether: ethernet@ee700000 {
561 compatible = "renesas,ether-r8a7794";
562 reg = <0 0xee700000 0 0x400>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900563 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart82818d32015-01-27 10:45:55 +0200564 clocks = <&mstp8_clks R8A7794_CLK_ETHER>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100565 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Laurent Pinchart82818d32015-01-27 10:45:55 +0200566 phy-mode = "rmii";
567 #address-cells = <1>;
568 #size-cells = <0>;
569 status = "disabled";
570 };
571
Sergei Shtylyov89aac8a2016-02-17 23:45:10 +0300572 avb: ethernet@e6800000 {
573 compatible = "renesas,etheravb-r8a7794",
574 "renesas,etheravb-rcar-gen2";
575 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
576 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
577 clocks = <&mstp8_clks R8A7794_CLK_ETHERAVB>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100578 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov89aac8a2016-02-17 23:45:10 +0300579 #address-cells = <1>;
580 #size-cells = <0>;
581 status = "disabled";
582 };
583
Sergei Shtylyov54285212015-08-20 01:00:09 +0300584 /* The memory map in the User's Manual maps the cores to bus numbers */
585 i2c0: i2c@e6508000 {
586 compatible = "renesas,i2c-r8a7794";
587 reg = <0 0xe6508000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900588 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300589 clocks = <&mstp9_clks R8A7794_CLK_I2C0>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100590 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300591 #address-cells = <1>;
592 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100593 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300594 status = "disabled";
595 };
596
597 i2c1: i2c@e6518000 {
598 compatible = "renesas,i2c-r8a7794";
599 reg = <0 0xe6518000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900600 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300601 clocks = <&mstp9_clks R8A7794_CLK_I2C1>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100602 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300603 #address-cells = <1>;
604 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100605 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300606 status = "disabled";
607 };
608
609 i2c2: i2c@e6530000 {
610 compatible = "renesas,i2c-r8a7794";
611 reg = <0 0xe6530000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900612 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300613 clocks = <&mstp9_clks R8A7794_CLK_I2C2>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100614 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300615 #address-cells = <1>;
616 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100617 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300618 status = "disabled";
619 };
620
621 i2c3: i2c@e6540000 {
622 compatible = "renesas,i2c-r8a7794";
623 reg = <0 0xe6540000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900624 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300625 clocks = <&mstp9_clks R8A7794_CLK_I2C3>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100626 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300627 #address-cells = <1>;
628 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100629 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300630 status = "disabled";
631 };
632
633 i2c4: i2c@e6520000 {
634 compatible = "renesas,i2c-r8a7794";
635 reg = <0 0xe6520000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900636 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300637 clocks = <&mstp9_clks R8A7794_CLK_I2C4>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100638 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300639 #address-cells = <1>;
640 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100641 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300642 status = "disabled";
643 };
644
645 i2c5: i2c@e6528000 {
646 compatible = "renesas,i2c-r8a7794";
647 reg = <0 0xe6528000 0 0x40>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900648 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300649 clocks = <&mstp9_clks R8A7794_CLK_I2C5>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100650 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300651 #address-cells = <1>;
652 #size-cells = <0>;
Wolfram Sang691cd0a2015-12-08 10:37:52 +0100653 i2c-scl-internal-delay-ns = <6>;
Sergei Shtylyov54285212015-08-20 01:00:09 +0300654 status = "disabled";
655 };
656
Simon Hormanaa9b9922016-03-17 16:35:17 +0900657 i2c6: i2c@e6500000 {
658 compatible = "renesas,iic-r8a7794", "renesas,rmobile-iic";
659 reg = <0 0xe6500000 0 0x425>;
660 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
661 clocks = <&mstp3_clks R8A7794_CLK_IIC0>;
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200662 dmas = <&dmac0 0x61>, <&dmac0 0x62>,
663 <&dmac1 0x61>, <&dmac1 0x62>;
664 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100665 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Simon Hormanaa9b9922016-03-17 16:35:17 +0900666 #address-cells = <1>;
667 #size-cells = <0>;
668 status = "disabled";
669 };
670
671 i2c7: i2c@e6510000 {
672 compatible = "renesas,iic-r8a7794", "renesas,rmobile-iic";
673 reg = <0 0xe6510000 0 0x425>;
674 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
675 clocks = <&mstp3_clks R8A7794_CLK_IIC1>;
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200676 dmas = <&dmac0 0x65>, <&dmac0 0x66>,
677 <&dmac1 0x65>, <&dmac1 0x66>;
678 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100679 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Simon Hormanaa9b9922016-03-17 16:35:17 +0900680 #address-cells = <1>;
681 #size-cells = <0>;
682 status = "disabled";
683 };
684
Sergei Shtylyov6cdf6ba2015-07-31 00:54:05 +0300685 mmcif0: mmc@ee200000 {
686 compatible = "renesas,mmcif-r8a7794", "renesas,sh-mmcif";
687 reg = <0 0xee200000 0 0x80>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900688 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6cdf6ba2015-07-31 00:54:05 +0300689 clocks = <&mstp3_clks R8A7794_CLK_MMCIF0>;
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200690 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
691 <&dmac1 0xd1>, <&dmac1 0xd2>;
692 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100693 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov6cdf6ba2015-07-31 00:54:05 +0300694 reg-io-width = <4>;
695 status = "disabled";
696 };
697
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300698 sdhi0: sd@ee100000 {
699 compatible = "renesas,sdhi-r8a7794";
Simon Horman83701e02016-07-21 08:44:08 +0900700 reg = <0 0xee100000 0 0x328>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900701 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300702 clocks = <&mstp3_clks R8A7794_CLK_SDHI0>;
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200703 dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
704 <&dmac1 0xcd>, <&dmac1 0xce>;
705 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100706 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300707 status = "disabled";
708 };
709
710 sdhi1: sd@ee140000 {
711 compatible = "renesas,sdhi-r8a7794";
712 reg = <0 0xee140000 0 0x100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900713 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300714 clocks = <&mstp3_clks R8A7794_CLK_SDHI1>;
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200715 dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
716 <&dmac1 0xc1>, <&dmac1 0xc2>;
717 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100718 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300719 status = "disabled";
720 };
721
722 sdhi2: sd@ee160000 {
723 compatible = "renesas,sdhi-r8a7794";
724 reg = <0 0xee160000 0 0x100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900725 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300726 clocks = <&mstp3_clks R8A7794_CLK_SDHI2>;
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200727 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
728 <&dmac1 0xd3>, <&dmac1 0xd4>;
729 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100730 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyovb8e8ea12015-02-22 01:26:37 +0300731 status = "disabled";
732 };
733
Sergei Shtylyov740b4a92015-08-11 00:59:24 +0300734 qspi: spi@e6b10000 {
735 compatible = "renesas,qspi-r8a7794", "renesas,qspi";
736 reg = <0 0xe6b10000 0 0x2c>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900737 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov740b4a92015-08-11 00:59:24 +0300738 clocks = <&mstp9_clks R8A7794_CLK_QSPI_MOD>;
Niklas Söderlundb38605e2016-05-12 10:54:45 +0200739 dmas = <&dmac0 0x17>, <&dmac0 0x18>,
740 <&dmac1 0x17>, <&dmac1 0x18>;
741 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100742 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov740b4a92015-08-11 00:59:24 +0300743 num-cs = <1>;
744 #address-cells = <1>;
745 #size-cells = <0>;
746 status = "disabled";
747 };
748
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300749 vin0: video@e6ef0000 {
750 compatible = "renesas,vin-r8a7794";
751 reg = <0 0xe6ef0000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900752 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300753 clocks = <&mstp8_clks R8A7794_CLK_VIN0>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100754 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300755 status = "disabled";
756 };
757
758 vin1: video@e6ef1000 {
759 compatible = "renesas,vin-r8a7794";
760 reg = <0 0xe6ef1000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900761 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300762 clocks = <&mstp8_clks R8A7794_CLK_VIN1>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100763 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov1afe77c2015-08-20 01:22:24 +0300764 status = "disabled";
765 };
766
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300767 pci0: pci@ee090000 {
Simon Hormanc99fbe62015-12-18 11:42:39 +0900768 compatible = "renesas,pci-r8a7794", "renesas,pci-rcar-gen2";
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300769 device_type = "pci";
770 reg = <0 0xee090000 0 0xc00>,
771 <0 0xee080000 0 0x1100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900772 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300773 clocks = <&mstp7_clks R8A7794_CLK_EHCI>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100774 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300775 status = "disabled";
776
777 bus-range = <0 0>;
778 #address-cells = <3>;
779 #size-cells = <2>;
780 #interrupt-cells = <1>;
781 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
782 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900783 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
784 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
785 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov45cb0bd2015-09-13 02:00:19 +0300786
787 usb@0,1 {
788 reg = <0x800 0 0 0 0>;
789 device_type = "pci";
790 phys = <&usb0 0>;
791 phy-names = "usb";
792 };
793
794 usb@0,2 {
795 reg = <0x1000 0 0 0 0>;
796 device_type = "pci";
797 phys = <&usb0 0>;
798 phy-names = "usb";
799 };
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300800 };
801
802 pci1: pci@ee0d0000 {
Simon Hormanc99fbe62015-12-18 11:42:39 +0900803 compatible = "renesas,pci-r8a7794", "renesas,pci-rcar-gen2";
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300804 device_type = "pci";
805 reg = <0 0xee0d0000 0 0xc00>,
806 <0 0xee0c0000 0 0x1100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900807 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300808 clocks = <&mstp7_clks R8A7794_CLK_EHCI>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100809 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300810 status = "disabled";
811
812 bus-range = <1 1>;
813 #address-cells = <3>;
814 #size-cells = <2>;
815 #interrupt-cells = <1>;
816 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
817 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900818 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
819 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
820 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov45cb0bd2015-09-13 02:00:19 +0300821
822 usb@0,1 {
823 reg = <0x800 0 0 0 0>;
824 device_type = "pci";
825 phys = <&usb2 0>;
826 phy-names = "usb";
827 };
828
829 usb@0,2 {
830 reg = <0x1000 0 0 0 0>;
831 device_type = "pci";
832 phys = <&usb2 0>;
833 phy-names = "usb";
834 };
Sergei Shtylyova6a130b2015-09-13 01:30:05 +0300835 };
836
Sergei Shtylyov2f33b9f2015-09-17 02:53:58 +0300837 hsusb: usb@e6590000 {
Simon Horman1472ffa2015-12-08 14:24:50 +0900838 compatible = "renesas,usbhs-r8a7794", "renesas,rcar-gen2-usbhs";
Sergei Shtylyov2f33b9f2015-09-17 02:53:58 +0300839 reg = <0 0xe6590000 0 0x100>;
Simon Horman8d47e6a2016-01-18 14:18:44 +0900840 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov2f33b9f2015-09-17 02:53:58 +0300841 clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100842 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov2f33b9f2015-09-17 02:53:58 +0300843 renesas,buswait = <4>;
844 phys = <&usb0 1>;
845 phy-names = "usb";
846 status = "disabled";
847 };
848
Sergei Shtylyov74ef4572015-10-02 01:05:12 +0300849 usbphy: usb-phy@e6590100 {
850 compatible = "renesas,usb-phy-r8a7794";
851 reg = <0 0xe6590100 0 0x100>;
852 #address-cells = <1>;
853 #size-cells = <0>;
854 clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
855 clock-names = "usbhs";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100856 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Sergei Shtylyov74ef4572015-10-02 01:05:12 +0300857 status = "disabled";
858
859 usb0: usb-channel@0 {
860 reg = <0>;
861 #phy-cells = <1>;
862 };
863 usb2: usb-channel@2 {
864 reg = <2>;
865 #phy-cells = <1>;
866 };
867 };
868
Laurent Pinchart46c4f132015-11-16 17:57:20 +0900869 du: display@feb00000 {
870 compatible = "renesas,du-r8a7794";
871 reg = <0 0xfeb00000 0 0x40000>;
872 reg-names = "du";
Simon Horman8d47e6a2016-01-18 14:18:44 +0900873 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
874 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart46c4f132015-11-16 17:57:20 +0900875 clocks = <&mstp7_clks R8A7794_CLK_DU0>,
876 <&mstp7_clks R8A7794_CLK_DU0>;
877 clock-names = "du.0", "du.1";
878 status = "disabled";
879
880 ports {
881 #address-cells = <1>;
882 #size-cells = <0>;
883
884 port@0 {
885 reg = <0>;
886 du_out_rgb0: endpoint {
887 };
888 };
889 port@1 {
890 reg = <1>;
891 du_out_rgb1: endpoint {
892 };
893 };
894 };
895 };
896
Simon Horman9f1c1a22016-03-15 09:26:34 +0900897 can0: can@e6e80000 {
898 compatible = "renesas,can-r8a7794", "renesas,rcar-gen2-can";
899 reg = <0 0xe6e80000 0 0x1000>;
900 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
901 clocks = <&mstp9_clks R8A7794_CLK_RCAN0>,
902 <&cpg_clocks R8A7794_CLK_RCAN>, <&can_clk>;
903 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100904 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Simon Horman9f1c1a22016-03-15 09:26:34 +0900905 status = "disabled";
906 };
907
908 can1: can@e6e88000 {
909 compatible = "renesas,can-r8a7794", "renesas,rcar-gen2-can";
910 reg = <0 0xe6e88000 0 0x1000>;
911 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
912 clocks = <&mstp9_clks R8A7794_CLK_RCAN1>,
913 <&cpg_clocks R8A7794_CLK_RCAN>, <&can_clk>;
914 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven25611e42015-01-20 14:44:58 +0100915 power-domains = <&sysc R8A7794_PD_ALWAYS_ON>;
Simon Horman9f1c1a22016-03-15 09:26:34 +0900916 status = "disabled";
917 };
918
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200919 clocks {
920 #address-cells = <2>;
921 #size-cells = <2>;
922 ranges;
923
924 /* External root clock */
Simon Horman337f6be2016-03-18 08:17:57 +0900925 extal_clk: extal {
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200926 compatible = "fixed-clock";
927 #clock-cells = <0>;
928 /* This value must be overriden by the board. */
929 clock-frequency = <0>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200930 };
931
Simon Hormane980f942016-03-15 09:26:33 +0900932 /* External USB clock - can be overridden by the board */
933 usb_extal_clk: usb_extal {
934 compatible = "fixed-clock";
935 #clock-cells = <0>;
936 clock-frequency = <48000000>;
937 };
938
939 /* External CAN clock */
940 can_clk: can {
941 compatible = "fixed-clock";
942 #clock-cells = <0>;
943 /* This value must be overridden by the board. */
944 clock-frequency = <0>;
Simon Hormane980f942016-03-15 09:26:33 +0900945 };
946
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100947 /* External SCIF clock */
948 scif_clk: scif {
949 compatible = "fixed-clock";
950 #clock-cells = <0>;
951 /* This value must be overridden by the board. */
952 clock-frequency = <0>;
Geert Uytterhoevena8644462016-01-29 11:04:42 +0100953 };
954
Sergei Shtylyov0b1f0e32016-07-27 23:59:18 +0300955 /*
956 * The external audio clocks are configured as 0 Hz fixed
957 * frequency clocks by default. Boards that provide audio
958 * clocks should override them.
959 */
960 audio_clka: audio_clka {
961 compatible = "fixed-clock";
962 #clock-cells = <0>;
963 clock-frequency = <0>;
964 };
965 audio_clkb: audio_clkb {
966 compatible = "fixed-clock";
967 #clock-cells = <0>;
968 clock-frequency = <0>;
969 };
970 audio_clkc: audio_clkc {
971 compatible = "fixed-clock";
972 #clock-cells = <0>;
973 clock-frequency = <0>;
974 };
975
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200976 /* Special CPG clocks */
977 cpg_clocks: cpg_clocks@e6150000 {
978 compatible = "renesas,r8a7794-cpg-clocks",
979 "renesas,rcar-gen2-cpg-clocks";
980 reg = <0 0xe6150000 0 0x1000>;
Simon Hormane980f942016-03-15 09:26:33 +0900981 clocks = <&extal_clk &usb_extal_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200982 #clock-cells = <1>;
983 clock-output-names = "main", "pll0", "pll1", "pll3",
Simon Hormane980f942016-03-15 09:26:33 +0900984 "lb", "qspi", "sdh", "sd0", "z",
985 "rcan";
Geert Uytterhoeven60c07452015-08-04 14:28:13 +0200986 #power-domain-cells = <0>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +0200987 };
Shinobu Uehara8e181632014-05-23 11:37:45 +0900988 /* Variable factor clocks */
Simon Horman337f6be2016-03-18 08:17:57 +0900989 sd2_clk: sd2@e6150078 {
Shinobu Uehara8e181632014-05-23 11:37:45 +0900990 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
991 reg = <0 0xe6150078 0 4>;
992 clocks = <&pll1_div2_clk>;
993 #clock-cells = <0>;
Shinobu Uehara8e181632014-05-23 11:37:45 +0900994 };
Simon Horman337f6be2016-03-18 08:17:57 +0900995 sd3_clk: sd3@e615026c {
Shinobu Uehara8e181632014-05-23 11:37:45 +0900996 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
Simon Horman5e7e1552015-01-05 09:40:49 +0900997 reg = <0 0xe615026c 0 4>;
Shinobu Uehara8e181632014-05-23 11:37:45 +0900998 clocks = <&pll1_div2_clk>;
999 #clock-cells = <0>;
Shinobu Uehara8e181632014-05-23 11:37:45 +09001000 };
Simon Horman337f6be2016-03-18 08:17:57 +09001001 mmc0_clk: mmc0@e6150240 {
Shinobu Ueharadeac1502014-05-27 10:39:26 +09001002 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
1003 reg = <0 0xe6150240 0 4>;
1004 clocks = <&pll1_div2_clk>;
1005 #clock-cells = <0>;
Shinobu Ueharadeac1502014-05-27 10:39:26 +09001006 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001007
1008 /* Fixed factor clocks */
Simon Horman337f6be2016-03-18 08:17:57 +09001009 pll1_div2_clk: pll1_div2 {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001010 compatible = "fixed-factor-clock";
1011 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1012 #clock-cells = <0>;
1013 clock-div = <2>;
1014 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001015 };
Simon Horman337f6be2016-03-18 08:17:57 +09001016 zg_clk: zg {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001017 compatible = "fixed-factor-clock";
1018 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1019 #clock-cells = <0>;
1020 clock-div = <6>;
1021 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001022 };
Simon Horman337f6be2016-03-18 08:17:57 +09001023 zx_clk: zx {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001024 compatible = "fixed-factor-clock";
1025 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1026 #clock-cells = <0>;
1027 clock-div = <3>;
1028 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001029 };
Simon Horman337f6be2016-03-18 08:17:57 +09001030 zs_clk: zs {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001031 compatible = "fixed-factor-clock";
1032 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1033 #clock-cells = <0>;
1034 clock-div = <6>;
1035 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001036 };
Simon Horman337f6be2016-03-18 08:17:57 +09001037 hp_clk: hp {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001038 compatible = "fixed-factor-clock";
1039 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1040 #clock-cells = <0>;
1041 clock-div = <12>;
1042 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001043 };
Simon Horman337f6be2016-03-18 08:17:57 +09001044 i_clk: i {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001045 compatible = "fixed-factor-clock";
1046 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1047 #clock-cells = <0>;
1048 clock-div = <2>;
1049 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001050 };
Simon Horman337f6be2016-03-18 08:17:57 +09001051 b_clk: b {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001052 compatible = "fixed-factor-clock";
1053 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1054 #clock-cells = <0>;
1055 clock-div = <12>;
1056 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001057 };
Simon Horman337f6be2016-03-18 08:17:57 +09001058 p_clk: p {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001059 compatible = "fixed-factor-clock";
1060 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1061 #clock-cells = <0>;
1062 clock-div = <24>;
1063 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001064 };
Simon Horman337f6be2016-03-18 08:17:57 +09001065 cl_clk: cl {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001066 compatible = "fixed-factor-clock";
1067 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1068 #clock-cells = <0>;
1069 clock-div = <48>;
1070 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001071 };
Simon Horman337f6be2016-03-18 08:17:57 +09001072 m2_clk: m2 {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001073 compatible = "fixed-factor-clock";
1074 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1075 #clock-cells = <0>;
1076 clock-div = <8>;
1077 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001078 };
Simon Horman337f6be2016-03-18 08:17:57 +09001079 rclk_clk: rclk {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001080 compatible = "fixed-factor-clock";
1081 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1082 #clock-cells = <0>;
1083 clock-div = <(48 * 1024)>;
1084 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001085 };
Simon Horman337f6be2016-03-18 08:17:57 +09001086 oscclk_clk: oscclk {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001087 compatible = "fixed-factor-clock";
1088 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1089 #clock-cells = <0>;
1090 clock-div = <(12 * 1024)>;
1091 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001092 };
Simon Horman337f6be2016-03-18 08:17:57 +09001093 zb3_clk: zb3 {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001094 compatible = "fixed-factor-clock";
1095 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
1096 #clock-cells = <0>;
1097 clock-div = <4>;
1098 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001099 };
Simon Horman337f6be2016-03-18 08:17:57 +09001100 zb3d2_clk: zb3d2 {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001101 compatible = "fixed-factor-clock";
1102 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
1103 #clock-cells = <0>;
1104 clock-div = <8>;
1105 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001106 };
Simon Horman337f6be2016-03-18 08:17:57 +09001107 ddr_clk: ddr {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001108 compatible = "fixed-factor-clock";
1109 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
1110 #clock-cells = <0>;
1111 clock-div = <8>;
1112 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001113 };
Simon Horman337f6be2016-03-18 08:17:57 +09001114 mp_clk: mp {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001115 compatible = "fixed-factor-clock";
1116 clocks = <&pll1_div2_clk>;
1117 #clock-cells = <0>;
1118 clock-div = <15>;
1119 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001120 };
Simon Horman337f6be2016-03-18 08:17:57 +09001121 cp_clk: cp {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001122 compatible = "fixed-factor-clock";
1123 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
1124 #clock-cells = <0>;
1125 clock-div = <48>;
1126 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001127 };
1128
Simon Horman337f6be2016-03-18 08:17:57 +09001129 acp_clk: acp {
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001130 compatible = "fixed-factor-clock";
1131 clocks = <&extal_clk>;
1132 #clock-cells = <0>;
1133 clock-div = <2>;
1134 clock-mult = <1>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001135 };
1136
1137 /* Gate clocks */
1138 mstp0_clks: mstp0_clks@e6150130 {
1139 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1140 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1141 clocks = <&mp_clk>;
1142 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001143 clock-indices = <R8A7794_CLK_MSIOF0>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001144 clock-output-names = "msiof0";
1145 };
1146 mstp1_clks: mstp1_clks@e6150134 {
1147 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1148 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Yoshifumi Hosoyadc3cf932014-11-12 17:55:57 +09001149 clocks = <&zs_clk>, <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>,
1150 <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, <&cp_clk>,
1151 <&zs_clk>, <&zs_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001152 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001153 clock-indices = <
Yoshifumi Hosoyadc3cf932014-11-12 17:55:57 +09001154 R8A7794_CLK_VCP0 R8A7794_CLK_VPC0 R8A7794_CLK_TMU1
1155 R8A7794_CLK_3DG R8A7794_CLK_2DDMAC R8A7794_CLK_FDP1_0
1156 R8A7794_CLK_TMU3 R8A7794_CLK_TMU2 R8A7794_CLK_CMT0
1157 R8A7794_CLK_TMU0 R8A7794_CLK_VSP1_DU0 R8A7794_CLK_VSP1_S
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001158 >;
1159 clock-output-names =
Yoshifumi Hosoyadc3cf932014-11-12 17:55:57 +09001160 "vcp0", "vpc0", "tmu1", "3dg", "2ddmac", "fdp1-0",
1161 "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du0", "vsps";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001162 };
1163 mstp2_clks: mstp2_clks@e6150138 {
1164 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1165 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1166 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Hiroyuki Yokoyamabe16cd32014-12-10 10:21:12 +09001167 <&mp_clk>, <&mp_clk>, <&mp_clk>,
1168 <&zs_clk>, <&zs_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001169 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001170 clock-indices = <
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001171 R8A7794_CLK_SCIFA2 R8A7794_CLK_SCIFA1 R8A7794_CLK_SCIFA0
1172 R8A7794_CLK_MSIOF2 R8A7794_CLK_SCIFB0 R8A7794_CLK_SCIFB1
1173 R8A7794_CLK_MSIOF1 R8A7794_CLK_SCIFB2
Hiroyuki Yokoyamabe16cd32014-12-10 10:21:12 +09001174 R8A7794_CLK_SYS_DMAC1 R8A7794_CLK_SYS_DMAC0
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001175 >;
1176 clock-output-names =
1177 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Hiroyuki Yokoyamabe16cd32014-12-10 10:21:12 +09001178 "scifb1", "msiof1", "scifb2",
1179 "sys-dmac1", "sys-dmac0";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001180 };
1181 mstp3_clks: mstp3_clks@e615013c {
1182 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1183 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Simon Horman5e7e1552015-01-05 09:40:49 +09001184 clocks = <&sd3_clk>, <&sd2_clk>, <&cpg_clocks R8A7794_CLK_SD0>,
Simon Hormana856b192016-03-17 16:33:10 +09001185 <&mmc0_clk>, <&hp_clk>, <&hp_clk>, <&rclk_clk>,
1186 <&hp_clk>, <&hp_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001187 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001188 clock-indices = <
Shinobu Uehara8e181632014-05-23 11:37:45 +09001189 R8A7794_CLK_SDHI2 R8A7794_CLK_SDHI1 R8A7794_CLK_SDHI0
Simon Hormana856b192016-03-17 16:33:10 +09001190 R8A7794_CLK_MMCIF0 R8A7794_CLK_IIC0
1191 R8A7794_CLK_IIC1 R8A7794_CLK_CMT1
Shinobu Ueharadeac1502014-05-27 10:39:26 +09001192 R8A7794_CLK_USBDMAC0 R8A7794_CLK_USBDMAC1
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001193 >;
1194 clock-output-names =
Shinobu Uehara8e181632014-05-23 11:37:45 +09001195 "sdhi2", "sdhi1", "sdhi0",
Simon Hormana856b192016-03-17 16:33:10 +09001196 "mmcif0", "i2c6", "i2c7",
1197 "cmt1", "usbdmac0", "usbdmac1";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001198 };
Geert Uytterhoeven1c5ca5d2015-03-18 19:56:01 +01001199 mstp4_clks: mstp4_clks@e6150140 {
1200 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1201 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1202 clocks = <&cp_clk>;
1203 #clock-cells = <1>;
1204 clock-indices = <R8A7794_CLK_IRQC>;
1205 clock-output-names = "irqc";
1206 };
Sergei Shtylyov2a29f9d2016-07-27 23:59:59 +03001207 mstp5_clks: mstp5_clks@e6150144 {
1208 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1209 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
1210 clocks = <&hp_clk>, <&extal_clk>, <&p_clk>;
1211 #clock-cells = <1>;
1212 clock-indices = <R8A7794_CLK_AUDIO_DMAC0
1213 R8A7794_CLK_PWM>;
1214 clock-output-names = "audmac0", "pwm";
1215 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001216 mstp7_clks: mstp7_clks@e615014c {
1217 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1218 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Shinobu Ueharac7bab9f2014-12-05 12:01:12 +09001219 clocks = <&mp_clk>, <&mp_clk>,
1220 <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
Laurent Pinchart9859cd32015-11-16 17:57:11 +09001221 <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1222 <&zx_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001223 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001224 clock-indices = <
Shinobu Ueharac7bab9f2014-12-05 12:01:12 +09001225 R8A7794_CLK_EHCI R8A7794_CLK_HSUSB
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001226 R8A7794_CLK_HSCIF2 R8A7794_CLK_SCIF5
1227 R8A7794_CLK_SCIF4 R8A7794_CLK_HSCIF1 R8A7794_CLK_HSCIF0
1228 R8A7794_CLK_SCIF3 R8A7794_CLK_SCIF2 R8A7794_CLK_SCIF1
Laurent Pinchart9859cd32015-11-16 17:57:11 +09001229 R8A7794_CLK_SCIF0 R8A7794_CLK_DU0
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001230 >;
1231 clock-output-names =
Shinobu Ueharac7bab9f2014-12-05 12:01:12 +09001232 "ehci", "hsusb",
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001233 "hscif2", "scif5", "scif4", "hscif1", "hscif0",
Laurent Pinchart9859cd32015-11-16 17:57:11 +09001234 "scif3", "scif2", "scif1", "scif0", "du0";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001235 };
1236 mstp8_clks: mstp8_clks@e6150990 {
1237 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1238 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Sergei Shtylyov255a4042016-02-17 23:43:41 +03001239 clocks = <&zg_clk>, <&zg_clk>, <&hp_clk>, <&p_clk>;
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001240 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001241 clock-indices = <
Sergei Shtylyov255a4042016-02-17 23:43:41 +03001242 R8A7794_CLK_VIN1 R8A7794_CLK_VIN0
1243 R8A7794_CLK_ETHERAVB R8A7794_CLK_ETHER
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001244 >;
1245 clock-output-names =
Sergei Shtylyov255a4042016-02-17 23:43:41 +03001246 "vin1", "vin0", "etheravb", "ether";
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001247 };
Hisashi Nakamura32814802014-12-11 12:21:14 +09001248 mstp9_clks: mstp9_clks@e6150994 {
1249 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1250 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001251 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
Simon Hormane980f942016-03-15 09:26:33 +09001252 <&cp_clk>, <&cp_clk>, <&cp_clk>, <&p_clk>,
1253 <&p_clk>, <&cpg_clocks R8A7794_CLK_QSPI>,
1254 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>,
1255 <&hp_clk>, <&hp_clk>;
Hisashi Nakamura32814802014-12-11 12:21:14 +09001256 #clock-cells = <1>;
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001257 clock-indices = <R8A7794_CLK_GPIO6 R8A7794_CLK_GPIO5
1258 R8A7794_CLK_GPIO4 R8A7794_CLK_GPIO3
1259 R8A7794_CLK_GPIO2 R8A7794_CLK_GPIO1
Simon Hormane980f942016-03-15 09:26:33 +09001260 R8A7794_CLK_GPIO0 R8A7794_CLK_RCAN1
1261 R8A7794_CLK_RCAN0 R8A7794_CLK_QSPI_MOD
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001262 R8A7794_CLK_I2C5 R8A7794_CLK_I2C4
1263 R8A7794_CLK_I2C3 R8A7794_CLK_I2C2
1264 R8A7794_CLK_I2C1 R8A7794_CLK_I2C0>;
Koji Matsuokac5d82c92014-05-23 18:37:04 +09001265 clock-output-names =
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001266 "gpio6", "gpio5", "gpio4", "gpio3", "gpio2",
Simon Hormane980f942016-03-15 09:26:33 +09001267 "gpio1", "gpio0", "rcan1", "rcan0", "qspi_mod",
Sergei Shtylyov3f37e012015-08-09 01:08:21 +03001268 "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0";
Hisashi Nakamura32814802014-12-11 12:21:14 +09001269 };
Sergei Shtylyov975fb772016-07-27 14:01:01 -07001270 mstp10_clks: mstp10_clks@e6150998 {
1271 compatible = "renesas,r8a7794-mstp-clocks",
1272 "renesas,cpg-mstp-clocks";
1273 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1274 clocks = <&p_clk>,
1275 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1276 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1277 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1278 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1279 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1280 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1281 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1282 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1283 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1284 <&mstp10_clks R8A7794_CLK_SSI_ALL>,
1285 <&p_clk>,
1286 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1287 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1288 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1289 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1290 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1291 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1292 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1293 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1294 <&mstp10_clks R8A7794_CLK_SCU_ALL>,
1295 <&mstp10_clks R8A7794_CLK_SCU_ALL>;
1296 #clock-cells = <1>;
1297 clock-indices = <R8A7794_CLK_SSI_ALL
1298 R8A7794_CLK_SSI9 R8A7794_CLK_SSI8
1299 R8A7794_CLK_SSI7 R8A7794_CLK_SSI6
1300 R8A7794_CLK_SSI5 R8A7794_CLK_SSI4
1301 R8A7794_CLK_SSI3 R8A7794_CLK_SSI2
1302 R8A7794_CLK_SSI1 R8A7794_CLK_SSI0
1303 R8A7794_CLK_SCU_ALL
1304 R8A7794_CLK_SCU_DVC1
1305 R8A7794_CLK_SCU_DVC0
1306 R8A7794_CLK_SCU_CTU1_MIX1
1307 R8A7794_CLK_SCU_CTU0_MIX0
1308 R8A7794_CLK_SCU_SRC6
1309 R8A7794_CLK_SCU_SRC5
1310 R8A7794_CLK_SCU_SRC4
1311 R8A7794_CLK_SCU_SRC3
1312 R8A7794_CLK_SCU_SRC2
1313 R8A7794_CLK_SCU_SRC1>;
1314 clock-output-names = "ssi-all", "ssi9", "ssi8", "ssi7",
1315 "ssi6", "ssi5", "ssi4", "ssi3",
1316 "ssi2", "ssi1", "ssi0",
1317 "scu-all", "scu-dvc1", "scu-dvc0",
1318 "scu-ctu1-mix1", "scu-ctu0-mix0",
1319 "scu-src6", "scu-src5", "scu-src4",
1320 "scu-src3", "scu-src2", "scu-src1";
1321 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001322 mstp11_clks: mstp11_clks@e615099c {
1323 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1324 reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;
1325 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>;
1326 #clock-cells = <1>;
Geert Uytterhoeven1045d062014-11-10 19:49:39 +01001327 clock-indices = <
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001328 R8A7794_CLK_SCIFA3 R8A7794_CLK_SCIFA4 R8A7794_CLK_SCIFA5
1329 >;
1330 clock-output-names = "scifa3", "scifa4", "scifa5";
1331 };
1332 };
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001333
Geert Uytterhoeven0761ff22015-01-20 14:44:58 +01001334 sysc: system-controller@e6180000 {
1335 compatible = "renesas,r8a7794-sysc";
1336 reg = <0 0xe6180000 0 0x0200>;
1337 #power-domain-cells = <1>;
1338 };
1339
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001340 ipmmu_sy0: mmu@e6280000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001341 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001342 reg = <0 0xe6280000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001343 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1344 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001345 #iommu-cells = <1>;
1346 status = "disabled";
1347 };
1348
1349 ipmmu_sy1: mmu@e6290000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001350 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001351 reg = <0 0xe6290000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001352 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001353 #iommu-cells = <1>;
1354 status = "disabled";
1355 };
1356
1357 ipmmu_ds: mmu@e6740000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001358 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001359 reg = <0 0xe6740000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001360 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1361 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001362 #iommu-cells = <1>;
Magnus Damm832d3e42015-10-18 14:26:56 +09001363 status = "disabled";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001364 };
1365
1366 ipmmu_mp: mmu@ec680000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001367 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001368 reg = <0 0xec680000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001369 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001370 #iommu-cells = <1>;
1371 status = "disabled";
1372 };
1373
1374 ipmmu_mx: mmu@fe951000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001375 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001376 reg = <0 0xfe951000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001377 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1378 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001379 #iommu-cells = <1>;
Magnus Damm832d3e42015-10-18 14:26:56 +09001380 status = "disabled";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001381 };
1382
1383 ipmmu_gp: mmu@e62a0000 {
Magnus Damm0da4cfd2015-11-17 13:31:22 +09001384 compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa";
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001385 reg = <0 0xe62a0000 0 0x1000>;
Simon Horman8d47e6a2016-01-18 14:18:44 +09001386 interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
1387 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart1cb27942015-01-27 11:13:25 +02001388 #iommu-cells = <1>;
1389 status = "disabled";
1390 };
Ulrich Hecht0dce5452014-09-05 12:23:48 +02001391};