blob: db019f2619c750752faf700564f815544b51e5f7 [file] [log] [blame]
Magnus Damm0468b2d2013-03-28 00:49:34 +09001/*
2 * Device Tree Source for the r8a7790 SoC
3 *
Kazuya Mizuguchib621f6d2015-02-19 10:42:55 -05004 * Copyright (C) 2015 Renesas Electronics Corporation
Sergei Shtylyovd8913c62014-02-20 02:20:43 +03005 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded Inc.
Magnus Damm0468b2d2013-03-28 00:49:34 +09007 *
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
11 */
12
Laurent Pinchart22a1f592013-12-11 15:05:14 +010013#include <dt-bindings/clock/r8a7790-clock.h>
Laurent Pinchart5f75e732013-11-19 03:18:25 +010014#include <dt-bindings/interrupt-controller/arm-gic.h>
15#include <dt-bindings/interrupt-controller/irq.h>
16
Magnus Damm0468b2d2013-03-28 00:49:34 +090017/ {
18 compatible = "renesas,r8a7790";
19 interrupt-parent = <&gic>;
Takashi Yoshii8585deb2013-03-29 16:49:17 +090020 #address-cells = <2>;
21 #size-cells = <2>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090022
Wolfram Sang6b1d7c62014-02-16 10:40:58 +010023 aliases {
24 i2c0 = &i2c0;
25 i2c1 = &i2c1;
26 i2c2 = &i2c2;
27 i2c3 = &i2c3;
Wolfram Sang05f39912014-03-25 19:56:29 +010028 i2c4 = &iic0;
29 i2c5 = &iic1;
30 i2c6 = &iic2;
31 i2c7 = &iic3;
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +010032 spi0 = &qspi;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +010033 spi1 = &msiof0;
34 spi2 = &msiof1;
35 spi3 = &msiof2;
36 spi4 = &msiof3;
Ben Dooks9f685bf2014-08-13 00:16:18 +040037 vin0 = &vin0;
38 vin1 = &vin1;
39 vin2 = &vin2;
40 vin3 = &vin3;
Wolfram Sang6b1d7c62014-02-16 10:40:58 +010041 };
42
Magnus Damm0468b2d2013-03-28 00:49:34 +090043 cpus {
44 #address-cells = <1>;
45 #size-cells = <0>;
46
47 cpu0: cpu@0 {
48 device_type = "cpu";
49 compatible = "arm,cortex-a15";
50 reg = <0>;
51 clock-frequency = <1300000000>;
Benoit Coussonb989e132014-06-03 21:02:24 +090052 voltage-tolerance = <1>; /* 1% */
53 clocks = <&cpg_clocks R8A7790_CLK_Z>;
54 clock-latency = <300000>; /* 300 us */
55
56 /* kHz - uV - OPPs unknown yet */
57 operating-points = <1400000 1000000>,
58 <1225000 1000000>,
59 <1050000 1000000>,
60 < 875000 1000000>,
61 < 700000 1000000>,
62 < 350000 1000000>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090063 };
Magnus Dammc1f95972013-08-29 08:22:17 +090064
65 cpu1: cpu@1 {
66 device_type = "cpu";
67 compatible = "arm,cortex-a15";
68 reg = <1>;
69 clock-frequency = <1300000000>;
70 };
71
72 cpu2: cpu@2 {
73 device_type = "cpu";
74 compatible = "arm,cortex-a15";
75 reg = <2>;
76 clock-frequency = <1300000000>;
77 };
78
79 cpu3: cpu@3 {
80 device_type = "cpu";
81 compatible = "arm,cortex-a15";
82 reg = <3>;
83 clock-frequency = <1300000000>;
84 };
Magnus Damm2007e742013-09-15 00:28:58 +090085
86 cpu4: cpu@4 {
87 device_type = "cpu";
88 compatible = "arm,cortex-a7";
89 reg = <0x100>;
90 clock-frequency = <780000000>;
91 };
92
93 cpu5: cpu@5 {
94 device_type = "cpu";
95 compatible = "arm,cortex-a7";
96 reg = <0x101>;
97 clock-frequency = <780000000>;
98 };
99
100 cpu6: cpu@6 {
101 device_type = "cpu";
102 compatible = "arm,cortex-a7";
103 reg = <0x102>;
104 clock-frequency = <780000000>;
105 };
106
107 cpu7: cpu@7 {
108 device_type = "cpu";
109 compatible = "arm,cortex-a7";
110 reg = <0x103>;
111 clock-frequency = <780000000>;
112 };
Magnus Damm0468b2d2013-03-28 00:49:34 +0900113 };
114
115 gic: interrupt-controller@f1001000 {
Geert Uytterhoevene715e9c2015-06-17 15:03:33 +0200116 compatible = "arm,gic-400";
Magnus Damm0468b2d2013-03-28 00:49:34 +0900117 #interrupt-cells = <3>;
118 #address-cells = <0>;
119 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900120 reg = <0 0xf1001000 0 0x1000>,
121 <0 0xf1002000 0 0x1000>,
122 <0 0xf1004000 0 0x2000>,
123 <0 0xf1006000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900124 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900125 };
126
Magnus Damm23de2272013-11-21 14:19:29 +0900127 gpio0: gpio@e6050000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200128 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900129 reg = <0 0xe6050000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900130 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200131 #gpio-cells = <2>;
132 gpio-controller;
133 gpio-ranges = <&pfc 0 0 32>;
134 #interrupt-cells = <2>;
135 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200136 clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200137 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200138 };
139
Magnus Damm23de2272013-11-21 14:19:29 +0900140 gpio1: gpio@e6051000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200141 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900142 reg = <0 0xe6051000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900143 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200144 #gpio-cells = <2>;
145 gpio-controller;
Sergei Shtylyov56a2182f2015-10-22 02:04:41 +0300146 gpio-ranges = <&pfc 0 32 30>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200147 #interrupt-cells = <2>;
148 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200149 clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200150 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200151 };
152
Magnus Damm23de2272013-11-21 14:19:29 +0900153 gpio2: gpio@e6052000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200154 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900155 reg = <0 0xe6052000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900156 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200157 #gpio-cells = <2>;
158 gpio-controller;
Sergei Shtylyov56a2182f2015-10-22 02:04:41 +0300159 gpio-ranges = <&pfc 0 64 30>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200160 #interrupt-cells = <2>;
161 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200162 clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200163 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200164 };
165
Magnus Damm23de2272013-11-21 14:19:29 +0900166 gpio3: gpio@e6053000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200167 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900168 reg = <0 0xe6053000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900169 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200170 #gpio-cells = <2>;
171 gpio-controller;
172 gpio-ranges = <&pfc 0 96 32>;
173 #interrupt-cells = <2>;
174 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200175 clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200176 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200177 };
178
Magnus Damm23de2272013-11-21 14:19:29 +0900179 gpio4: gpio@e6054000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200180 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900181 reg = <0 0xe6054000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900182 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200183 #gpio-cells = <2>;
184 gpio-controller;
185 gpio-ranges = <&pfc 0 128 32>;
186 #interrupt-cells = <2>;
187 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200188 clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200189 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200190 };
191
Magnus Damm23de2272013-11-21 14:19:29 +0900192 gpio5: gpio@e6055000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200193 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900194 reg = <0 0xe6055000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900195 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200196 #gpio-cells = <2>;
197 gpio-controller;
198 gpio-ranges = <&pfc 0 160 32>;
199 #interrupt-cells = <2>;
200 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200201 clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200202 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200203 };
204
Magnus Damm03e2f562013-11-20 16:59:30 +0900205 thermal@e61f0000 {
206 compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal";
207 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900208 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevend3a439d2014-01-07 19:57:14 +0100209 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200210 power-domains = <&cpg_clocks>;
Magnus Damm03e2f562013-11-20 16:59:30 +0900211 };
212
Magnus Damm0468b2d2013-03-28 00:49:34 +0900213 timer {
214 compatible = "arm,armv7-timer";
Simon Horman3abb4d52016-01-15 11:44:15 +0900215 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
216 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
217 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
218 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900219 };
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900220
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200221 cmt0: timer@ffca0000 {
Simon Horman37757032014-09-08 09:27:45 +0900222 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200223 reg = <0 0xffca0000 0 0x1004>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900224 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
225 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200226 clocks = <&mstp1_clks R8A7790_CLK_CMT0>;
227 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200228 power-domains = <&cpg_clocks>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200229
230 renesas,channels-mask = <0x60>;
231
232 status = "disabled";
233 };
234
235 cmt1: timer@e6130000 {
Simon Horman37757032014-09-08 09:27:45 +0900236 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200237 reg = <0 0xe6130000 0 0x1004>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900238 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
239 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
240 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
241 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
242 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
243 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
244 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
245 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200246 clocks = <&mstp3_clks R8A7790_CLK_CMT1>;
247 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200248 power-domains = <&cpg_clocks>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200249
250 renesas,channels-mask = <0xff>;
251
252 status = "disabled";
253 };
254
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900255 irqc0: interrupt-controller@e61c0000 {
Magnus Damm220fc352013-11-20 09:07:40 +0900256 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900257 #interrupt-cells = <2>;
258 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900259 reg = <0 0xe61c0000 0 0x200>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900260 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
261 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
262 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +0100264 clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200265 power-domains = <&cpg_clocks>;
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900266 };
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200267
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200268 dmac0: dma-controller@e6700000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900269 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200270 reg = <0 0xe6700000 0 0x20000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900271 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
272 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
273 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
274 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
275 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
276 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
277 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
278 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
279 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
280 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
281 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
282 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
283 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
284 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
285 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
286 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +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 R8A7790_CLK_SYS_DMAC0>;
293 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200294 power-domains = <&cpg_clocks>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200295 #dma-cells = <1>;
296 dma-channels = <15>;
297 };
298
299 dmac1: dma-controller@e6720000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900300 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200301 reg = <0 0xe6720000 0 0x20000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900302 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
303 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
304 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
305 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
306 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
307 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
308 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
309 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
310 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
311 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
312 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
313 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
314 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
315 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
316 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
317 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200318 interrupt-names = "error",
319 "ch0", "ch1", "ch2", "ch3",
320 "ch4", "ch5", "ch6", "ch7",
321 "ch8", "ch9", "ch10", "ch11",
322 "ch12", "ch13", "ch14";
323 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC1>;
324 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200325 power-domains = <&cpg_clocks>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200326 #dma-cells = <1>;
327 dma-channels = <15>;
328 };
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800329
330 audma0: dma-controller@ec700000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900331 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800332 reg = <0 0xec700000 0 0x10000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900333 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
334 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
335 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
336 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
337 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
338 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
339 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
340 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
341 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
342 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
343 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
344 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
345 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
346 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800347 interrupt-names = "error",
348 "ch0", "ch1", "ch2", "ch3",
349 "ch4", "ch5", "ch6", "ch7",
350 "ch8", "ch9", "ch10", "ch11",
351 "ch12";
352 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC0>;
353 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200354 power-domains = <&cpg_clocks>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800355 #dma-cells = <1>;
356 dma-channels = <13>;
357 };
358
359 audma1: dma-controller@ec720000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900360 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800361 reg = <0 0xec720000 0 0x10000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900362 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
363 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
364 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
365 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
366 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
367 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
368 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
369 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
370 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
371 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
372 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
373 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
374 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
375 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800376 interrupt-names = "error",
377 "ch0", "ch1", "ch2", "ch3",
378 "ch4", "ch5", "ch6", "ch7",
379 "ch8", "ch9", "ch10", "ch11",
380 "ch12";
381 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC1>;
382 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200383 power-domains = <&cpg_clocks>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800384 #dma-cells = <1>;
385 dma-channels = <13>;
386 };
387
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900388 usb_dmac0: dma-controller@e65a0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900389 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900390 reg = <0 0xe65a0000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900391 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
392 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900393 interrupt-names = "ch0", "ch1";
394 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200395 power-domains = <&cpg_clocks>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900396 #dma-cells = <1>;
397 dma-channels = <2>;
398 };
399
400 usb_dmac1: dma-controller@e65b0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900401 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900402 reg = <0 0xe65b0000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900403 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
404 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900405 interrupt-names = "ch0", "ch1";
406 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200407 power-domains = <&cpg_clocks>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900408 #dma-cells = <1>;
409 dma-channels = <2>;
410 };
411
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200412 i2c0: i2c@e6508000 {
413 #address-cells = <1>;
414 #size-cells = <0>;
415 compatible = "renesas,i2c-r8a7790";
416 reg = <0 0xe6508000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900417 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000418 clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200419 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100420 i2c-scl-internal-delay-ns = <110>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200421 status = "disabled";
422 };
423
424 i2c1: i2c@e6518000 {
425 #address-cells = <1>;
426 #size-cells = <0>;
427 compatible = "renesas,i2c-r8a7790";
428 reg = <0 0xe6518000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900429 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000430 clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200431 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100432 i2c-scl-internal-delay-ns = <6>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200433 status = "disabled";
434 };
435
436 i2c2: i2c@e6530000 {
437 #address-cells = <1>;
438 #size-cells = <0>;
439 compatible = "renesas,i2c-r8a7790";
440 reg = <0 0xe6530000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900441 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000442 clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200443 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100444 i2c-scl-internal-delay-ns = <6>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200445 status = "disabled";
446 };
447
448 i2c3: i2c@e6540000 {
449 #address-cells = <1>;
450 #size-cells = <0>;
451 compatible = "renesas,i2c-r8a7790";
452 reg = <0 0xe6540000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900453 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000454 clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200455 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100456 i2c-scl-internal-delay-ns = <110>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200457 status = "disabled";
458 };
459
Wolfram Sang05f39912014-03-25 19:56:29 +0100460 iic0: i2c@e6500000 {
461 #address-cells = <1>;
462 #size-cells = <0>;
463 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
464 reg = <0 0xe6500000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900465 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100466 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100467 dmas = <&dmac0 0x61>, <&dmac0 0x62>;
468 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200469 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100470 status = "disabled";
471 };
472
473 iic1: i2c@e6510000 {
474 #address-cells = <1>;
475 #size-cells = <0>;
476 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
477 reg = <0 0xe6510000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900478 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100479 clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100480 dmas = <&dmac0 0x65>, <&dmac0 0x66>;
481 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200482 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100483 status = "disabled";
484 };
485
486 iic2: i2c@e6520000 {
487 #address-cells = <1>;
488 #size-cells = <0>;
489 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
490 reg = <0 0xe6520000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900491 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100492 clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100493 dmas = <&dmac0 0x69>, <&dmac0 0x6a>;
494 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200495 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100496 status = "disabled";
497 };
498
499 iic3: i2c@e60b0000 {
500 #address-cells = <1>;
501 #size-cells = <0>;
502 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
503 reg = <0 0xe60b0000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900504 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100505 clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100506 dmas = <&dmac0 0x77>, <&dmac0 0x78>;
507 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200508 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100509 status = "disabled";
510 };
511
Laurent Pinchart22c2b782014-10-26 19:40:11 +0200512 mmcif0: mmc@ee200000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900513 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200514 reg = <0 0xee200000 0 0x80>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900515 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100516 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
Laurent Pinchart108216c2014-10-26 19:40:13 +0200517 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
518 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200519 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200520 reg-io-width = <4>;
521 status = "disabled";
Kuninori Morimoto96370052015-05-14 07:23:04 +0000522 max-frequency = <97500000>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200523 };
524
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700525 mmcif1: mmc@ee220000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900526 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200527 reg = <0 0xee220000 0 0x80>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900528 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100529 clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
Laurent Pinchart108216c2014-10-26 19:40:13 +0200530 dmas = <&dmac0 0xe1>, <&dmac0 0xe2>;
531 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200532 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200533 reg-io-width = <4>;
534 status = "disabled";
Kuninori Morimoto96370052015-05-14 07:23:04 +0000535 max-frequency = <97500000>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200536 };
537
Laurent Pinchart9694c772013-05-09 15:05:57 +0200538 pfc: pfc@e6060000 {
539 compatible = "renesas,pfc-r8a7790";
540 reg = <0 0xe6060000 0 0x250>;
541 };
Olof Johansson55689bf2013-08-14 00:24:05 -0700542
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700543 sdhi0: sd@ee100000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200544 compatible = "renesas,sdhi-r8a7790";
Kuninori Morimoto66f47ed2015-02-24 02:20:37 +0000545 reg = <0 0xee100000 0 0x328>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900546 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100547 clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000548 dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
549 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200550 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200551 status = "disabled";
552 };
553
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700554 sdhi1: sd@ee120000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200555 compatible = "renesas,sdhi-r8a7790";
Kuninori Morimoto66f47ed2015-02-24 02:20:37 +0000556 reg = <0 0xee120000 0 0x328>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900557 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100558 clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000559 dmas = <&dmac1 0xc9>, <&dmac1 0xca>;
560 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200561 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200562 status = "disabled";
563 };
564
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700565 sdhi2: sd@ee140000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200566 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200567 reg = <0 0xee140000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900568 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100569 clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000570 dmas = <&dmac1 0xc1>, <&dmac1 0xc2>;
571 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200572 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200573 status = "disabled";
574 };
575
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700576 sdhi3: sd@ee160000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200577 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200578 reg = <0 0xee160000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900579 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100580 clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000581 dmas = <&dmac1 0xd3>, <&dmac1 0xd4>;
582 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200583 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200584 status = "disabled";
585 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100586
Laurent Pinchart597af202013-10-29 16:23:12 +0100587 scifa0: serial@e6c40000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100588 compatible = "renesas,scifa-r8a7790",
589 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100590 reg = <0 0xe6c40000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900591 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100592 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100593 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200594 dmas = <&dmac0 0x21>, <&dmac0 0x22>;
595 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200596 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100597 status = "disabled";
598 };
599
600 scifa1: serial@e6c50000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100601 compatible = "renesas,scifa-r8a7790",
602 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100603 reg = <0 0xe6c50000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900604 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100605 clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100606 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200607 dmas = <&dmac0 0x25>, <&dmac0 0x26>;
608 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200609 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100610 status = "disabled";
611 };
612
613 scifa2: serial@e6c60000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100614 compatible = "renesas,scifa-r8a7790",
615 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100616 reg = <0 0xe6c60000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900617 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100618 clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100619 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200620 dmas = <&dmac0 0x27>, <&dmac0 0x28>;
621 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200622 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100623 status = "disabled";
624 };
625
626 scifb0: serial@e6c20000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100627 compatible = "renesas,scifb-r8a7790",
628 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100629 reg = <0 0xe6c20000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900630 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100631 clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100632 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200633 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>;
634 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200635 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100636 status = "disabled";
637 };
638
639 scifb1: serial@e6c30000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100640 compatible = "renesas,scifb-r8a7790",
641 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100642 reg = <0 0xe6c30000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900643 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100644 clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100645 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200646 dmas = <&dmac0 0x19>, <&dmac0 0x1a>;
647 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200648 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100649 status = "disabled";
650 };
651
652 scifb2: serial@e6ce0000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100653 compatible = "renesas,scifb-r8a7790",
654 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100655 reg = <0 0xe6ce0000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900656 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100657 clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100658 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200659 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>;
660 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200661 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100662 status = "disabled";
663 };
664
665 scif0: serial@e6e60000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100666 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
667 "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100668 reg = <0 0xe6e60000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900669 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100670 clocks = <&mstp7_clks R8A7790_CLK_SCIF0>, <&zs_clk>,
671 <&scif_clk>;
672 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200673 dmas = <&dmac0 0x29>, <&dmac0 0x2a>;
674 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200675 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100676 status = "disabled";
677 };
678
679 scif1: serial@e6e68000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100680 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
681 "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100682 reg = <0 0xe6e68000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900683 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100684 clocks = <&mstp7_clks R8A7790_CLK_SCIF1>, <&zs_clk>,
685 <&scif_clk>;
686 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200687 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>;
688 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200689 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100690 status = "disabled";
691 };
692
693 hscif0: serial@e62c0000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100694 compatible = "renesas,hscif-r8a7790",
695 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100696 reg = <0 0xe62c0000 0 96>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900697 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100698 clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>, <&zs_clk>,
699 <&scif_clk>;
700 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200701 dmas = <&dmac0 0x39>, <&dmac0 0x3a>;
702 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200703 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100704 status = "disabled";
705 };
706
707 hscif1: serial@e62c8000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100708 compatible = "renesas,hscif-r8a7790",
709 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100710 reg = <0 0xe62c8000 0 96>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900711 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100712 clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>, <&zs_clk>,
713 <&scif_clk>;
714 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200715 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>;
716 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200717 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100718 status = "disabled";
719 };
720
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300721 ether: ethernet@ee700000 {
722 compatible = "renesas,ether-r8a7790";
723 reg = <0 0xee700000 0 0x400>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900724 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300725 clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200726 power-domains = <&cpg_clocks>;
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300727 phy-mode = "rmii";
728 #address-cells = <1>;
729 #size-cells = <0>;
730 status = "disabled";
731 };
732
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300733 avb: ethernet@e6800000 {
734 compatible = "renesas,etheravb-r8a7790";
735 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900736 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300737 clocks = <&mstp8_clks R8A7790_CLK_ETHERAVB>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200738 power-domains = <&cpg_clocks>;
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300739 #address-cells = <1>;
740 #size-cells = <0>;
741 status = "disabled";
742 };
743
Valentine Barshakcde630f2014-01-14 21:05:30 +0400744 sata0: sata@ee300000 {
745 compatible = "renesas,sata-r8a7790";
746 reg = <0 0xee300000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900747 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400748 clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200749 power-domains = <&cpg_clocks>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400750 status = "disabled";
751 };
752
753 sata1: sata@ee500000 {
754 compatible = "renesas,sata-r8a7790";
755 reg = <0 0xee500000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900756 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400757 clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200758 power-domains = <&cpg_clocks>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400759 status = "disabled";
760 };
761
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900762 hsusb: usb@e6590000 {
Simon Hormand87ec942016-01-04 08:20:17 +1100763 compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900764 reg = <0 0xe6590000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900765 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900766 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
Yoshihiro Shimodae8295dc2015-05-08 16:13:07 +0900767 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
768 <&usb_dmac1 0>, <&usb_dmac1 1>;
769 dma-names = "ch0", "ch1", "ch2", "ch3";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200770 power-domains = <&cpg_clocks>;
771 renesas,buswait = <4>;
772 phys = <&usb0 1>;
773 phy-names = "usb";
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900774 status = "disabled";
775 };
776
Sergei Shtylyove089f652014-09-27 01:00:20 +0400777 usbphy: usb-phy@e6590100 {
778 compatible = "renesas,usb-phy-r8a7790";
779 reg = <0 0xe6590100 0 0x100>;
780 #address-cells = <1>;
781 #size-cells = <0>;
782 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
783 clock-names = "usbhs";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200784 power-domains = <&cpg_clocks>;
Sergei Shtylyove089f652014-09-27 01:00:20 +0400785 status = "disabled";
786
787 usb0: usb-channel@0 {
788 reg = <0>;
789 #phy-cells = <1>;
790 };
791 usb2: usb-channel@2 {
792 reg = <2>;
793 #phy-cells = <1>;
794 };
795 };
796
Ben Dooks9f685bf2014-08-13 00:16:18 +0400797 vin0: video@e6ef0000 {
798 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400799 reg = <0 0xe6ef0000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900800 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200801 clocks = <&mstp8_clks R8A7790_CLK_VIN0>;
802 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400803 status = "disabled";
804 };
805
806 vin1: video@e6ef1000 {
807 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400808 reg = <0 0xe6ef1000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900809 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200810 clocks = <&mstp8_clks R8A7790_CLK_VIN1>;
811 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400812 status = "disabled";
813 };
814
815 vin2: video@e6ef2000 {
816 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400817 reg = <0 0xe6ef2000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900818 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200819 clocks = <&mstp8_clks R8A7790_CLK_VIN2>;
820 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400821 status = "disabled";
822 };
823
824 vin3: video@e6ef3000 {
825 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400826 reg = <0 0xe6ef3000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900827 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200828 clocks = <&mstp8_clks R8A7790_CLK_VIN3>;
829 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400830 status = "disabled";
831 };
832
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100833 vsp1@fe920000 {
834 compatible = "renesas,vsp1";
835 reg = <0 0xfe920000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900836 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100837 clocks = <&mstp1_clks R8A7790_CLK_VSP1_R>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200838 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100839
840 renesas,has-sru;
841 renesas,#rpf = <5>;
842 renesas,#uds = <1>;
843 renesas,#wpf = <4>;
844 };
845
846 vsp1@fe928000 {
847 compatible = "renesas,vsp1";
848 reg = <0 0xfe928000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900849 interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100850 clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200851 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100852
853 renesas,has-lut;
854 renesas,has-sru;
855 renesas,#rpf = <5>;
856 renesas,#uds = <3>;
857 renesas,#wpf = <4>;
858 };
859
860 vsp1@fe930000 {
861 compatible = "renesas,vsp1";
862 reg = <0 0xfe930000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900863 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100864 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200865 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100866
867 renesas,has-lif;
868 renesas,has-lut;
869 renesas,#rpf = <4>;
870 renesas,#uds = <1>;
871 renesas,#wpf = <4>;
872 };
873
874 vsp1@fe938000 {
875 compatible = "renesas,vsp1";
876 reg = <0 0xfe938000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900877 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100878 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200879 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100880
881 renesas,has-lif;
882 renesas,has-lut;
883 renesas,#rpf = <4>;
884 renesas,#uds = <1>;
885 renesas,#wpf = <4>;
886 };
887
888 du: display@feb00000 {
889 compatible = "renesas,du-r8a7790";
890 reg = <0 0xfeb00000 0 0x70000>,
891 <0 0xfeb90000 0 0x1c>,
892 <0 0xfeb94000 0 0x1c>;
893 reg-names = "du", "lvds.0", "lvds.1";
Simon Horman3abb4d52016-01-15 11:44:15 +0900894 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
895 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
896 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100897 clocks = <&mstp7_clks R8A7790_CLK_DU0>,
898 <&mstp7_clks R8A7790_CLK_DU1>,
899 <&mstp7_clks R8A7790_CLK_DU2>,
900 <&mstp7_clks R8A7790_CLK_LVDS0>,
901 <&mstp7_clks R8A7790_CLK_LVDS1>;
902 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
903 status = "disabled";
904
905 ports {
906 #address-cells = <1>;
907 #size-cells = <0>;
908
909 port@0 {
910 reg = <0>;
911 du_out_rgb: endpoint {
912 };
913 };
914 port@1 {
915 reg = <1>;
916 du_out_lvds0: endpoint {
917 };
918 };
919 port@2 {
920 reg = <2>;
921 du_out_lvds1: endpoint {
922 };
923 };
924 };
925 };
926
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300927 can0: can@e6e80000 {
928 compatible = "renesas,can-r8a7790";
929 reg = <0 0xe6e80000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900930 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300931 clocks = <&mstp9_clks R8A7790_CLK_RCAN0>,
932 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
933 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200934 power-domains = <&cpg_clocks>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300935 status = "disabled";
936 };
937
938 can1: can@e6e88000 {
939 compatible = "renesas,can-r8a7790";
940 reg = <0 0xe6e88000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900941 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300942 clocks = <&mstp9_clks R8A7790_CLK_RCAN1>,
943 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
944 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200945 power-domains = <&cpg_clocks>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300946 status = "disabled";
947 };
948
Mikhail Ulyanovfb847572015-07-24 16:25:45 +0300949 jpu: jpeg-codec@fe980000 {
950 compatible = "renesas,jpu-r8a7790";
951 reg = <0 0xfe980000 0 0x10300>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900952 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
Mikhail Ulyanovfb847572015-07-24 16:25:45 +0300953 clocks = <&mstp1_clks R8A7790_CLK_JPU>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200954 power-domains = <&cpg_clocks>;
Mikhail Ulyanovfb847572015-07-24 16:25:45 +0300955 };
956
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100957 clocks {
958 #address-cells = <2>;
959 #size-cells = <2>;
960 ranges;
961
962 /* External root clock */
963 extal_clk: extal_clk {
964 compatible = "fixed-clock";
965 #clock-cells = <0>;
966 /* This value must be overriden by the board. */
967 clock-frequency = <0>;
968 clock-output-names = "extal";
969 };
970
Phil Edworthy51d17912014-06-13 10:37:16 +0100971 /* External PCIe clock - can be overridden by the board */
972 pcie_bus_clk: pcie_bus_clk {
973 compatible = "fixed-clock";
974 #clock-cells = <0>;
975 clock-frequency = <100000000>;
976 clock-output-names = "pcie_bus";
977 status = "disabled";
978 };
979
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -0800980 /*
981 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
982 * default. Boards that provide audio clocks should override them.
983 */
984 audio_clk_a: audio_clk_a {
985 compatible = "fixed-clock";
986 #clock-cells = <0>;
987 clock-frequency = <0>;
988 clock-output-names = "audio_clk_a";
989 };
990 audio_clk_b: audio_clk_b {
991 compatible = "fixed-clock";
992 #clock-cells = <0>;
993 clock-frequency = <0>;
994 clock-output-names = "audio_clk_b";
995 };
996 audio_clk_c: audio_clk_c {
997 compatible = "fixed-clock";
998 #clock-cells = <0>;
999 clock-frequency = <0>;
1000 clock-output-names = "audio_clk_c";
1001 };
1002
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +01001003 /* External SCIF clock */
1004 scif_clk: scif {
1005 compatible = "fixed-clock";
1006 #clock-cells = <0>;
1007 /* This value must be overridden by the board. */
1008 clock-frequency = <0>;
1009 status = "disabled";
1010 };
1011
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001012 /* External USB clock - can be overridden by the board */
1013 usb_extal_clk: usb_extal_clk {
1014 compatible = "fixed-clock";
1015 #clock-cells = <0>;
1016 clock-frequency = <48000000>;
1017 clock-output-names = "usb_extal";
1018 };
1019
1020 /* External CAN clock */
1021 can_clk: can_clk {
1022 compatible = "fixed-clock";
1023 #clock-cells = <0>;
1024 /* This value must be overridden by the board. */
1025 clock-frequency = <0>;
1026 clock-output-names = "can_clk";
1027 status = "disabled";
1028 };
1029
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001030 /* Special CPG clocks */
1031 cpg_clocks: cpg_clocks@e6150000 {
1032 compatible = "renesas,r8a7790-cpg-clocks",
1033 "renesas,rcar-gen2-cpg-clocks";
1034 reg = <0 0xe6150000 0 0x1000>;
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001035 clocks = <&extal_clk &usb_extal_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001036 #clock-cells = <1>;
1037 clock-output-names = "main", "pll0", "pll1", "pll3",
1038 "lb", "qspi", "sdh", "sd0", "sd1",
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001039 "z", "rcan", "adsp";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001040 #power-domain-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001041 };
1042
1043 /* Variable factor clocks */
1044 sd2_clk: sd2_clk@e6150078 {
1045 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1046 reg = <0 0xe6150078 0 4>;
1047 clocks = <&pll1_div2_clk>;
1048 #clock-cells = <0>;
1049 clock-output-names = "sd2";
1050 };
Shinobu Ueharaedd7b932014-10-30 14:57:57 +09001051 sd3_clk: sd3_clk@e615026c {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001052 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
Shinobu Ueharaedd7b932014-10-30 14:57:57 +09001053 reg = <0 0xe615026c 0 4>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001054 clocks = <&pll1_div2_clk>;
1055 #clock-cells = <0>;
1056 clock-output-names = "sd3";
1057 };
1058 mmc0_clk: mmc0_clk@e6150240 {
1059 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1060 reg = <0 0xe6150240 0 4>;
1061 clocks = <&pll1_div2_clk>;
1062 #clock-cells = <0>;
1063 clock-output-names = "mmc0";
1064 };
1065 mmc1_clk: mmc1_clk@e6150244 {
1066 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1067 reg = <0 0xe6150244 0 4>;
1068 clocks = <&pll1_div2_clk>;
1069 #clock-cells = <0>;
1070 clock-output-names = "mmc1";
1071 };
1072 ssp_clk: ssp_clk@e6150248 {
1073 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1074 reg = <0 0xe6150248 0 4>;
1075 clocks = <&pll1_div2_clk>;
1076 #clock-cells = <0>;
1077 clock-output-names = "ssp";
1078 };
1079 ssprs_clk: ssprs_clk@e615024c {
1080 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1081 reg = <0 0xe615024c 0 4>;
1082 clocks = <&pll1_div2_clk>;
1083 #clock-cells = <0>;
1084 clock-output-names = "ssprs";
1085 };
1086
1087 /* Fixed factor clocks */
1088 pll1_div2_clk: pll1_div2_clk {
1089 compatible = "fixed-factor-clock";
1090 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1091 #clock-cells = <0>;
1092 clock-div = <2>;
1093 clock-mult = <1>;
1094 clock-output-names = "pll1_div2";
1095 };
1096 z2_clk: z2_clk {
1097 compatible = "fixed-factor-clock";
1098 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1099 #clock-cells = <0>;
1100 clock-div = <2>;
1101 clock-mult = <1>;
1102 clock-output-names = "z2";
1103 };
1104 zg_clk: zg_clk {
1105 compatible = "fixed-factor-clock";
1106 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1107 #clock-cells = <0>;
1108 clock-div = <3>;
1109 clock-mult = <1>;
1110 clock-output-names = "zg";
1111 };
1112 zx_clk: zx_clk {
1113 compatible = "fixed-factor-clock";
1114 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1115 #clock-cells = <0>;
1116 clock-div = <3>;
1117 clock-mult = <1>;
1118 clock-output-names = "zx";
1119 };
1120 zs_clk: zs_clk {
1121 compatible = "fixed-factor-clock";
1122 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1123 #clock-cells = <0>;
1124 clock-div = <6>;
1125 clock-mult = <1>;
1126 clock-output-names = "zs";
1127 };
1128 hp_clk: hp_clk {
1129 compatible = "fixed-factor-clock";
1130 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1131 #clock-cells = <0>;
1132 clock-div = <12>;
1133 clock-mult = <1>;
1134 clock-output-names = "hp";
1135 };
1136 i_clk: i_clk {
1137 compatible = "fixed-factor-clock";
1138 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1139 #clock-cells = <0>;
1140 clock-div = <2>;
1141 clock-mult = <1>;
1142 clock-output-names = "i";
1143 };
1144 b_clk: b_clk {
1145 compatible = "fixed-factor-clock";
1146 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1147 #clock-cells = <0>;
1148 clock-div = <12>;
1149 clock-mult = <1>;
1150 clock-output-names = "b";
1151 };
1152 p_clk: p_clk {
1153 compatible = "fixed-factor-clock";
1154 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1155 #clock-cells = <0>;
1156 clock-div = <24>;
1157 clock-mult = <1>;
1158 clock-output-names = "p";
1159 };
1160 cl_clk: cl_clk {
1161 compatible = "fixed-factor-clock";
1162 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1163 #clock-cells = <0>;
1164 clock-div = <48>;
1165 clock-mult = <1>;
1166 clock-output-names = "cl";
1167 };
1168 m2_clk: m2_clk {
1169 compatible = "fixed-factor-clock";
1170 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1171 #clock-cells = <0>;
1172 clock-div = <8>;
1173 clock-mult = <1>;
1174 clock-output-names = "m2";
1175 };
1176 imp_clk: imp_clk {
1177 compatible = "fixed-factor-clock";
1178 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1179 #clock-cells = <0>;
1180 clock-div = <4>;
1181 clock-mult = <1>;
1182 clock-output-names = "imp";
1183 };
1184 rclk_clk: rclk_clk {
1185 compatible = "fixed-factor-clock";
1186 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1187 #clock-cells = <0>;
1188 clock-div = <(48 * 1024)>;
1189 clock-mult = <1>;
1190 clock-output-names = "rclk";
1191 };
1192 oscclk_clk: oscclk_clk {
1193 compatible = "fixed-factor-clock";
1194 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1195 #clock-cells = <0>;
1196 clock-div = <(12 * 1024)>;
1197 clock-mult = <1>;
1198 clock-output-names = "oscclk";
1199 };
1200 zb3_clk: zb3_clk {
1201 compatible = "fixed-factor-clock";
1202 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1203 #clock-cells = <0>;
1204 clock-div = <4>;
1205 clock-mult = <1>;
1206 clock-output-names = "zb3";
1207 };
1208 zb3d2_clk: zb3d2_clk {
1209 compatible = "fixed-factor-clock";
1210 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1211 #clock-cells = <0>;
1212 clock-div = <8>;
1213 clock-mult = <1>;
1214 clock-output-names = "zb3d2";
1215 };
1216 ddr_clk: ddr_clk {
1217 compatible = "fixed-factor-clock";
1218 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1219 #clock-cells = <0>;
1220 clock-div = <8>;
1221 clock-mult = <1>;
1222 clock-output-names = "ddr";
1223 };
1224 mp_clk: mp_clk {
1225 compatible = "fixed-factor-clock";
1226 clocks = <&pll1_div2_clk>;
1227 #clock-cells = <0>;
1228 clock-div = <15>;
1229 clock-mult = <1>;
1230 clock-output-names = "mp";
1231 };
1232 cp_clk: cp_clk {
1233 compatible = "fixed-factor-clock";
1234 clocks = <&extal_clk>;
1235 #clock-cells = <0>;
1236 clock-div = <2>;
1237 clock-mult = <1>;
1238 clock-output-names = "cp";
1239 };
1240
1241 /* Gate clocks */
Laurent Pinchart9d909512013-12-19 16:51:01 +01001242 mstp0_clks: mstp0_clks@e6150130 {
1243 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1244 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1245 clocks = <&mp_clk>;
1246 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001247 clock-indices = <R8A7790_CLK_MSIOF0>;
Laurent Pinchart9d909512013-12-19 16:51:01 +01001248 clock-output-names = "msiof0";
1249 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001250 mstp1_clks: mstp1_clks@e6150134 {
1251 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1252 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001253 clocks = <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&m2_clk>,
1254 <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>, <&zs_clk>,
1255 <&zs_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
1256 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001257 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001258 clock-indices = <
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001259 R8A7790_CLK_VCP1 R8A7790_CLK_VCP0 R8A7790_CLK_VPC1
1260 R8A7790_CLK_VPC0 R8A7790_CLK_JPU R8A7790_CLK_SSP1
1261 R8A7790_CLK_TMU1 R8A7790_CLK_3DG R8A7790_CLK_2DDMAC
1262 R8A7790_CLK_FDP1_2 R8A7790_CLK_FDP1_1 R8A7790_CLK_FDP1_0
1263 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 R8A7790_CLK_CMT0
1264 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 R8A7790_CLK_VSP1_DU0
1265 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001266 >;
1267 clock-output-names =
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001268 "vcp1", "vcp0", "vpc1", "vpc0", "jpu", "ssp1",
1269 "tmu1", "3dg", "2ddmac", "fdp1-2", "fdp1-1",
1270 "fdp1-0", "tmu3", "tmu2", "cmt0", "tmu0",
Kouei Abe2284ff52014-10-14 16:01:40 +09001271 "vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001272 };
1273 mstp2_clks: mstp2_clks@e6150138 {
1274 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1275 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1276 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001277 <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&zs_clk>,
1278 <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001279 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001280 clock-indices = <
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001281 R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
Laurent Pinchart9d909512013-12-19 16:51:01 +01001282 R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
1283 R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001284 R8A7790_CLK_SYS_DMAC1 R8A7790_CLK_SYS_DMAC0
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001285 >;
1286 clock-output-names =
Laurent Pinchart9d909512013-12-19 16:51:01 +01001287 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001288 "scifb1", "msiof1", "msiof3", "scifb2",
1289 "sys-dmac1", "sys-dmac0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001290 };
1291 mstp3_clks: mstp3_clks@e615013c {
1292 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1293 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Wolfram Sang17465142014-03-11 22:24:37 +01001294 clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
1295 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001296 <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
1297 <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001298 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001299 clock-indices = <
Wolfram Sang17465142014-03-11 22:24:37 +01001300 R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
1301 R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
Phil Edworthyecafea82014-06-13 10:37:15 +01001302 R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001303 R8A7790_CLK_USBDMAC0 R8A7790_CLK_USBDMAC1
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001304 >;
1305 clock-output-names =
Wolfram Sang17465142014-03-11 22:24:37 +01001306 "iic2", "tpu0", "mmcif1", "sdhi3",
1307 "sdhi2", "sdhi1", "sdhi0", "mmcif0",
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001308 "iic0", "pciec", "iic1", "ssusb", "cmt1",
1309 "usbdmac0", "usbdmac1";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001310 };
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +01001311 mstp4_clks: mstp4_clks@e6150140 {
1312 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1313 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1314 clocks = <&cp_clk>;
1315 #clock-cells = <1>;
1316 clock-indices = <R8A7790_CLK_IRQC>;
1317 clock-output-names = "irqc";
1318 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001319 mstp5_clks: mstp5_clks@e6150144 {
1320 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1321 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001322 clocks = <&hp_clk>, <&hp_clk>, <&cpg_clocks R8A7790_CLK_ADSP>,
1323 <&extal_clk>, <&p_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001324 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001325 clock-indices = <
1326 R8A7790_CLK_AUDIO_DMAC0 R8A7790_CLK_AUDIO_DMAC1
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001327 R8A7790_CLK_ADSP_MOD R8A7790_CLK_THERMAL
1328 R8A7790_CLK_PWM
Ben Dooksb54010a2014-11-10 19:49:37 +01001329 >;
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001330 clock-output-names = "audmac0", "audmac1", "adsp_mod",
1331 "thermal", "pwm";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001332 };
1333 mstp7_clks: mstp7_clks@e615014c {
1334 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1335 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Kazuya Mizuguchib621f6d2015-02-19 10:42:55 -05001336 clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001337 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
1338 <&zx_clk>;
1339 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001340 clock-indices = <
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001341 R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1
1342 R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0
1343 R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0
1344 R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0
1345 >;
1346 clock-output-names =
1347 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
1348 "scif0", "du2", "du1", "du0", "lvds1", "lvds0";
1349 };
1350 mstp8_clks: mstp8_clks@e6150990 {
1351 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1352 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001353 clocks = <&hp_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>,
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001354 <&zg_clk>, <&hp_clk>, <&p_clk>, <&zs_clk>,
1355 <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001356 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001357 clock-indices = <
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001358 R8A7790_CLK_MLB R8A7790_CLK_VIN3 R8A7790_CLK_VIN2
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001359 R8A7790_CLK_VIN1 R8A7790_CLK_VIN0
1360 R8A7790_CLK_ETHERAVB R8A7790_CLK_ETHER
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001361 R8A7790_CLK_SATA1 R8A7790_CLK_SATA0
Laurent Pinchart3f2beaa2014-01-07 09:22:53 +01001362 >;
Laurent Pinchartbccccc32014-01-07 09:22:55 +01001363 clock-output-names =
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001364 "mlb", "vin3", "vin2", "vin1", "vin0",
1365 "etheravb", "ether", "sata1", "sata0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001366 };
1367 mstp9_clks: mstp9_clks@e6150994 {
1368 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1369 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001370 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
1371 <&cp_clk>, <&cp_clk>, <&cp_clk>,
1372 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
Laurent Pinchart3672b052014-04-01 13:02:17 +02001373 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001374 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001375 clock-indices = <
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001376 R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
1377 R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
Wolfram Sang17465142014-03-11 22:24:37 +01001378 R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
1379 R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001380 >;
Laurent Pinchart91b56ca2013-12-19 16:51:03 +01001381 clock-output-names =
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001382 "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
Wolfram Sang17465142014-03-11 22:24:37 +01001383 "rcan1", "rcan0", "qspi_mod", "iic3",
1384 "i2c3", "i2c2", "i2c1", "i2c0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001385 };
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001386 mstp10_clks: mstp10_clks@e6150998 {
1387 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1388 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1389 clocks = <&p_clk>,
1390 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1391 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1392 <&p_clk>,
1393 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1394 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1395 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1396 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1397 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001398 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001399 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>;
1400
1401 #clock-cells = <1>;
1402 clock-indices = <
1403 R8A7790_CLK_SSI_ALL
1404 R8A7790_CLK_SSI9 R8A7790_CLK_SSI8 R8A7790_CLK_SSI7 R8A7790_CLK_SSI6 R8A7790_CLK_SSI5
1405 R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0
1406 R8A7790_CLK_SCU_ALL
1407 R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001408 R8A7790_CLK_SCU_CTU1_MIX1 R8A7790_CLK_SCU_CTU0_MIX0
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001409 R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5
1410 R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0
1411 >;
1412 clock-output-names =
1413 "ssi-all",
1414 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
1415 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
1416 "scu-all",
1417 "scu-dvc1", "scu-dvc0",
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001418 "scu-ctu1-mix1", "scu-ctu0-mix0",
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001419 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
1420 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
1421 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001422 };
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001423
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +01001424 qspi: spi@e6b10000 {
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001425 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
1426 reg = <0 0xe6b10000 0 0x2c>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001427 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001428 clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>;
Geert Uytterhoeven37cf3d62014-08-06 14:59:08 +02001429 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
1430 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001431 power-domains = <&cpg_clocks>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001432 num-cs = <1>;
1433 #address-cells = <1>;
1434 #size-cells = <0>;
1435 status = "disabled";
1436 };
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001437
1438 msiof0: spi@e6e20000 {
1439 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001440 reg = <0 0xe6e20000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001441 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001442 clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001443 dmas = <&dmac0 0x51>, <&dmac0 0x52>;
1444 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001445 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001446 #address-cells = <1>;
1447 #size-cells = <0>;
1448 status = "disabled";
1449 };
1450
1451 msiof1: spi@e6e10000 {
1452 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001453 reg = <0 0xe6e10000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001454 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001455 clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001456 dmas = <&dmac0 0x55>, <&dmac0 0x56>;
1457 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001458 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001459 #address-cells = <1>;
1460 #size-cells = <0>;
1461 status = "disabled";
1462 };
1463
1464 msiof2: spi@e6e00000 {
1465 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001466 reg = <0 0xe6e00000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001467 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001468 clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001469 dmas = <&dmac0 0x41>, <&dmac0 0x42>;
1470 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001471 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001472 #address-cells = <1>;
1473 #size-cells = <0>;
1474 status = "disabled";
1475 };
1476
1477 msiof3: spi@e6c90000 {
1478 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001479 reg = <0 0xe6c90000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001480 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001481 clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001482 dmas = <&dmac0 0x45>, <&dmac0 0x46>;
1483 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001484 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001485 #address-cells = <1>;
1486 #size-cells = <0>;
1487 status = "disabled";
1488 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001489
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001490 xhci: usb@ee000000 {
1491 compatible = "renesas,xhci-r8a7790";
1492 reg = <0 0xee000000 0 0xc00>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001493 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001494 clocks = <&mstp3_clks R8A7790_CLK_SSUSB>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001495 power-domains = <&cpg_clocks>;
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001496 phys = <&usb2 1>;
1497 phy-names = "usb";
1498 status = "disabled";
1499 };
1500
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001501 pci0: pci@ee090000 {
1502 compatible = "renesas,pci-r8a7790";
1503 device_type = "pci";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001504 reg = <0 0xee090000 0 0xc00>,
1505 <0 0xee080000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001506 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001507 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1508 power-domains = <&cpg_clocks>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001509 status = "disabled";
1510
1511 bus-range = <0 0>;
1512 #address-cells = <3>;
1513 #size-cells = <2>;
1514 #interrupt-cells = <1>;
1515 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1516 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001517 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1518 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1519 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov538c40e2014-09-29 22:21:59 +04001520
1521 usb@0,1 {
1522 reg = <0x800 0 0 0 0>;
1523 device_type = "pci";
1524 phys = <&usb0 0>;
1525 phy-names = "usb";
1526 };
1527
1528 usb@0,2 {
1529 reg = <0x1000 0 0 0 0>;
1530 device_type = "pci";
1531 phys = <&usb0 0>;
1532 phy-names = "usb";
1533 };
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001534 };
1535
1536 pci1: pci@ee0b0000 {
1537 compatible = "renesas,pci-r8a7790";
1538 device_type = "pci";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001539 reg = <0 0xee0b0000 0 0xc00>,
1540 <0 0xee0a0000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001541 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001542 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1543 power-domains = <&cpg_clocks>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001544 status = "disabled";
1545
1546 bus-range = <1 1>;
1547 #address-cells = <3>;
1548 #size-cells = <2>;
1549 #interrupt-cells = <1>;
1550 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
1551 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001552 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1553 0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1554 0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001555 };
1556
1557 pci2: pci@ee0d0000 {
1558 compatible = "renesas,pci-r8a7790";
1559 device_type = "pci";
1560 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001561 power-domains = <&cpg_clocks>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001562 reg = <0 0xee0d0000 0 0xc00>,
1563 <0 0xee0c0000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001564 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001565 status = "disabled";
1566
1567 bus-range = <2 2>;
1568 #address-cells = <3>;
1569 #size-cells = <2>;
1570 #interrupt-cells = <1>;
1571 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1572 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001573 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1574 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1575 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov538c40e2014-09-29 22:21:59 +04001576
1577 usb@0,1 {
1578 reg = <0x800 0 0 0 0>;
1579 device_type = "pci";
1580 phys = <&usb2 0>;
1581 phy-names = "usb";
1582 };
1583
1584 usb@0,2 {
1585 reg = <0x1000 0 0 0 0>;
1586 device_type = "pci";
1587 phys = <&usb2 0>;
1588 phy-names = "usb";
1589 };
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001590 };
1591
Phil Edworthy745329d2014-06-13 10:37:17 +01001592 pciec: pcie@fe000000 {
Simon Hormane670be82015-12-18 11:36:02 +09001593 compatible = "renesas,pcie-r8a7790", "renesas,pcie-rcar-gen2";
Phil Edworthy745329d2014-06-13 10:37:17 +01001594 reg = <0 0xfe000000 0 0x80000>;
1595 #address-cells = <3>;
1596 #size-cells = <2>;
1597 bus-range = <0x00 0xff>;
1598 device_type = "pci";
1599 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1600 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1601 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1602 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1603 /* Map all possible DDR as inbound ranges */
1604 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1605 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001606 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1607 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1608 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001609 #interrupt-cells = <1>;
1610 interrupt-map-mask = <0 0 0 0>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001611 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001612 clocks = <&mstp3_clks R8A7790_CLK_PCIEC>, <&pcie_bus_clk>;
1613 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001614 power-domains = <&cpg_clocks>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001615 status = "disabled";
1616 };
1617
Geert Uytterhoevenb694e382015-04-27 14:55:28 +02001618 rcar_sound: sound@ec500000 {
Kuninori Morimotoad632412014-12-17 06:11:52 +00001619 /*
1620 * #sound-dai-cells is required
1621 *
1622 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1623 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1624 */
Geert Uytterhoeven31078ec2015-01-06 21:01:52 +01001625 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001626 reg = <0 0xec500000 0 0x1000>, /* SCU */
1627 <0 0xec5a0000 0 0x100>, /* ADG */
1628 <0 0xec540000 0 0x1000>, /* SSIU */
Kuninori Morimoto4bc4a202015-08-24 08:27:56 +00001629 <0 0xec541000 0 0x280>, /* SSI */
Kuninori Morimoto0c602672015-03-10 01:39:39 +00001630 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1631 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Kuninori Morimoto46a158f2015-03-10 01:39:01 +00001632
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001633 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1634 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
1635 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
1636 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
1637 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
1638 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
1639 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
1640 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
1641 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
1642 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
1643 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001644 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001645 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001646 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001647 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1648 clock-names = "ssi-all",
1649 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1650 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1651 "src.9", "src.8", "src.7", "src.6", "src.5",
1652 "src.4", "src.3", "src.2", "src.1", "src.0",
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001653 "ctu.0", "ctu.1",
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001654 "mix.0", "mix.1",
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001655 "dvc.0", "dvc.1",
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001656 "clk_a", "clk_b", "clk_c", "clk_i";
Geert Uytterhoeven6507c4e2015-08-20 01:24:44 +00001657 power-domains = <&cpg_clocks>;
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001658
1659 status = "disabled";
1660
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001661 rcar_sound,dvc {
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001662 dvc0: dvc@0 {
1663 dmas = <&audma0 0xbc>;
1664 dma-names = "tx";
1665 };
1666 dvc1: dvc@1 {
1667 dmas = <&audma0 0xbe>;
1668 dma-names = "tx";
1669 };
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001670 };
1671
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001672 rcar_sound,mix {
1673 mix0: mix@0 { };
1674 mix1: mix@1 { };
1675 };
1676
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001677 rcar_sound,ctu {
1678 ctu00: ctu@0 { };
1679 ctu01: ctu@1 { };
1680 ctu02: ctu@2 { };
1681 ctu03: ctu@3 { };
1682 ctu10: ctu@4 { };
1683 ctu11: ctu@5 { };
1684 ctu12: ctu@6 { };
1685 ctu13: ctu@7 { };
1686 };
1687
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001688 rcar_sound,src {
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001689 src0: src@0 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001690 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001691 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1692 dma-names = "rx", "tx";
1693 };
1694 src1: src@1 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001695 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001696 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1697 dma-names = "rx", "tx";
1698 };
1699 src2: src@2 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001700 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001701 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1702 dma-names = "rx", "tx";
1703 };
1704 src3: src@3 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001705 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001706 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1707 dma-names = "rx", "tx";
1708 };
1709 src4: src@4 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001710 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001711 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1712 dma-names = "rx", "tx";
1713 };
1714 src5: src@5 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001715 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001716 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1717 dma-names = "rx", "tx";
1718 };
1719 src6: src@6 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001720 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001721 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1722 dma-names = "rx", "tx";
1723 };
1724 src7: src@7 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001725 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001726 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1727 dma-names = "rx", "tx";
1728 };
1729 src8: src@8 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001730 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001731 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1732 dma-names = "rx", "tx";
1733 };
1734 src9: src@9 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001735 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001736 dmas = <&audma0 0x97>, <&audma1 0xba>;
1737 dma-names = "rx", "tx";
1738 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001739 };
1740
1741 rcar_sound,ssi {
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001742 ssi0: ssi@0 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001743 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001744 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1745 dma-names = "rx", "tx", "rxu", "txu";
1746 };
1747 ssi1: ssi@1 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001748 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001749 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1750 dma-names = "rx", "tx", "rxu", "txu";
1751 };
1752 ssi2: ssi@2 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001753 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001754 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1755 dma-names = "rx", "tx", "rxu", "txu";
1756 };
1757 ssi3: ssi@3 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001758 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001759 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1760 dma-names = "rx", "tx", "rxu", "txu";
1761 };
1762 ssi4: ssi@4 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001763 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001764 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1765 dma-names = "rx", "tx", "rxu", "txu";
1766 };
1767 ssi5: ssi@5 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001768 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001769 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1770 dma-names = "rx", "tx", "rxu", "txu";
1771 };
1772 ssi6: ssi@6 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001773 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001774 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1775 dma-names = "rx", "tx", "rxu", "txu";
1776 };
1777 ssi7: ssi@7 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001778 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001779 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1780 dma-names = "rx", "tx", "rxu", "txu";
1781 };
1782 ssi8: ssi@8 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001783 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001784 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1785 dma-names = "rx", "tx", "rxu", "txu";
1786 };
1787 ssi9: ssi@9 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001788 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001789 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1790 dma-names = "rx", "tx", "rxu", "txu";
1791 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001792 };
1793 };
Laurent Pinchart70496722015-01-27 11:13:23 +02001794
1795 ipmmu_sy0: mmu@e6280000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001796 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001797 reg = <0 0xe6280000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001798 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1799 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001800 #iommu-cells = <1>;
1801 status = "disabled";
1802 };
1803
1804 ipmmu_sy1: mmu@e6290000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001805 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001806 reg = <0 0xe6290000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001807 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001808 #iommu-cells = <1>;
1809 status = "disabled";
1810 };
1811
1812 ipmmu_ds: mmu@e6740000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001813 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001814 reg = <0 0xe6740000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001815 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1816 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001817 #iommu-cells = <1>;
1818 status = "disabled";
1819 };
1820
1821 ipmmu_mp: mmu@ec680000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001822 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001823 reg = <0 0xec680000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001824 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001825 #iommu-cells = <1>;
1826 status = "disabled";
1827 };
1828
1829 ipmmu_mx: mmu@fe951000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001830 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001831 reg = <0 0xfe951000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001832 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1833 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001834 #iommu-cells = <1>;
1835 status = "disabled";
1836 };
1837
1838 ipmmu_rt: mmu@ffc80000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001839 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001840 reg = <0 0xffc80000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001841 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001842 #iommu-cells = <1>;
1843 status = "disabled";
1844 };
Magnus Damm0468b2d2013-03-28 00:49:34 +09001845};