blob: ba4c2530d79f867785b298651d0e832304a38adb [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 */
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020055 next-level-cache = <&L2_CA15>;
Benoit Coussonb989e132014-06-03 21:02:24 +090056
57 /* kHz - uV - OPPs unknown yet */
58 operating-points = <1400000 1000000>,
59 <1225000 1000000>,
60 <1050000 1000000>,
61 < 875000 1000000>,
62 < 700000 1000000>,
63 < 350000 1000000>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090064 };
Magnus Dammc1f95972013-08-29 08:22:17 +090065
66 cpu1: cpu@1 {
67 device_type = "cpu";
68 compatible = "arm,cortex-a15";
69 reg = <1>;
70 clock-frequency = <1300000000>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020071 next-level-cache = <&L2_CA15>;
Magnus Dammc1f95972013-08-29 08:22:17 +090072 };
73
74 cpu2: cpu@2 {
75 device_type = "cpu";
76 compatible = "arm,cortex-a15";
77 reg = <2>;
78 clock-frequency = <1300000000>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020079 next-level-cache = <&L2_CA15>;
Magnus Dammc1f95972013-08-29 08:22:17 +090080 };
81
82 cpu3: cpu@3 {
83 device_type = "cpu";
84 compatible = "arm,cortex-a15";
85 reg = <3>;
86 clock-frequency = <1300000000>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020087 next-level-cache = <&L2_CA15>;
Magnus Dammc1f95972013-08-29 08:22:17 +090088 };
Magnus Damm2007e742013-09-15 00:28:58 +090089
90 cpu4: cpu@4 {
91 device_type = "cpu";
92 compatible = "arm,cortex-a7";
93 reg = <0x100>;
94 clock-frequency = <780000000>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020095 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +090096 };
97
98 cpu5: cpu@5 {
99 device_type = "cpu";
100 compatible = "arm,cortex-a7";
101 reg = <0x101>;
102 clock-frequency = <780000000>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200103 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +0900104 };
105
106 cpu6: cpu@6 {
107 device_type = "cpu";
108 compatible = "arm,cortex-a7";
109 reg = <0x102>;
110 clock-frequency = <780000000>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200111 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +0900112 };
113
114 cpu7: cpu@7 {
115 device_type = "cpu";
116 compatible = "arm,cortex-a7";
117 reg = <0x103>;
118 clock-frequency = <780000000>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200119 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +0900120 };
Magnus Damm0468b2d2013-03-28 00:49:34 +0900121 };
122
Kuninori Morimotoa8b805f32016-01-28 02:45:34 +0000123 thermal-zones {
124 cpu_thermal: cpu-thermal {
125 polling-delay-passive = <0>;
126 polling-delay = <0>;
127
128 thermal-sensors = <&thermal>;
129
130 trips {
131 cpu-crit {
132 temperature = <115000>;
133 hysteresis = <0>;
134 type = "critical";
135 };
136 };
137 cooling-maps {
138 };
139 };
140 };
141
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200142 L2_CA15: cache-controller@0 {
143 compatible = "cache";
144 cache-unified;
145 cache-level = <2>;
146 };
147
148 L2_CA7: cache-controller@1 {
149 compatible = "cache";
150 cache-unified;
151 cache-level = <2>;
152 };
153
Magnus Damm0468b2d2013-03-28 00:49:34 +0900154 gic: interrupt-controller@f1001000 {
Geert Uytterhoevene715e9c2015-06-17 15:03:33 +0200155 compatible = "arm,gic-400";
Magnus Damm0468b2d2013-03-28 00:49:34 +0900156 #interrupt-cells = <3>;
157 #address-cells = <0>;
158 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900159 reg = <0 0xf1001000 0 0x1000>,
160 <0 0xf1002000 0 0x1000>,
161 <0 0xf1004000 0 0x2000>,
162 <0 0xf1006000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900163 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900164 };
165
Magnus Damm23de2272013-11-21 14:19:29 +0900166 gpio0: gpio@e6050000 {
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 0xe6050000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900169 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200170 #gpio-cells = <2>;
171 gpio-controller;
172 gpio-ranges = <&pfc 0 0 32>;
173 #interrupt-cells = <2>;
174 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200175 clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
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 gpio1: gpio@e6051000 {
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 0xe6051000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900182 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200183 #gpio-cells = <2>;
184 gpio-controller;
Sergei Shtylyov56a2182f2015-10-22 02:04:41 +0300185 gpio-ranges = <&pfc 0 32 30>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200186 #interrupt-cells = <2>;
187 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200188 clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
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 gpio2: gpio@e6052000 {
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 0xe6052000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900195 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200196 #gpio-cells = <2>;
197 gpio-controller;
Sergei Shtylyov56a2182f2015-10-22 02:04:41 +0300198 gpio-ranges = <&pfc 0 64 30>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200199 #interrupt-cells = <2>;
200 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200201 clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200202 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200203 };
204
Magnus Damm23de2272013-11-21 14:19:29 +0900205 gpio3: gpio@e6053000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200206 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900207 reg = <0 0xe6053000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900208 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200209 #gpio-cells = <2>;
210 gpio-controller;
211 gpio-ranges = <&pfc 0 96 32>;
212 #interrupt-cells = <2>;
213 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200214 clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200215 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200216 };
217
Magnus Damm23de2272013-11-21 14:19:29 +0900218 gpio4: gpio@e6054000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200219 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900220 reg = <0 0xe6054000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900221 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200222 #gpio-cells = <2>;
223 gpio-controller;
224 gpio-ranges = <&pfc 0 128 32>;
225 #interrupt-cells = <2>;
226 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200227 clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200228 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200229 };
230
Magnus Damm23de2272013-11-21 14:19:29 +0900231 gpio5: gpio@e6055000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200232 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900233 reg = <0 0xe6055000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900234 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200235 #gpio-cells = <2>;
236 gpio-controller;
237 gpio-ranges = <&pfc 0 160 32>;
238 #interrupt-cells = <2>;
239 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200240 clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200241 power-domains = <&cpg_clocks>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200242 };
243
Kuninori Morimotoa8b805f32016-01-28 02:45:34 +0000244 thermal: thermal@e61f0000 {
245 compatible = "renesas,thermal-r8a7790",
246 "renesas,rcar-gen2-thermal",
247 "renesas,rcar-thermal";
Magnus Damm03e2f562013-11-20 16:59:30 +0900248 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900249 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevend3a439d2014-01-07 19:57:14 +0100250 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200251 power-domains = <&cpg_clocks>;
Kuninori Morimotoa8b805f32016-01-28 02:45:34 +0000252 #thermal-sensor-cells = <0>;
Magnus Damm03e2f562013-11-20 16:59:30 +0900253 };
254
Magnus Damm0468b2d2013-03-28 00:49:34 +0900255 timer {
256 compatible = "arm,armv7-timer";
Simon Horman3abb4d52016-01-15 11:44:15 +0900257 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
258 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
259 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
260 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900261 };
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900262
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200263 cmt0: timer@ffca0000 {
Simon Horman37757032014-09-08 09:27:45 +0900264 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200265 reg = <0 0xffca0000 0 0x1004>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900266 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200268 clocks = <&mstp1_clks R8A7790_CLK_CMT0>;
269 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200270 power-domains = <&cpg_clocks>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200271
272 renesas,channels-mask = <0x60>;
273
274 status = "disabled";
275 };
276
277 cmt1: timer@e6130000 {
Simon Horman37757032014-09-08 09:27:45 +0900278 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200279 reg = <0 0xe6130000 0 0x1004>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900280 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
282 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
283 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
284 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
285 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
286 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
287 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200288 clocks = <&mstp3_clks R8A7790_CLK_CMT1>;
289 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200290 power-domains = <&cpg_clocks>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200291
292 renesas,channels-mask = <0xff>;
293
294 status = "disabled";
295 };
296
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900297 irqc0: interrupt-controller@e61c0000 {
Magnus Damm220fc352013-11-20 09:07:40 +0900298 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900299 #interrupt-cells = <2>;
300 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900301 reg = <0 0xe61c0000 0 0x200>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900302 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +0100306 clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200307 power-domains = <&cpg_clocks>;
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900308 };
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200309
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200310 dmac0: dma-controller@e6700000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900311 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200312 reg = <0 0xe6700000 0 0x20000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900313 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
314 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
315 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
316 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
317 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
318 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
319 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
320 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
321 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
322 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
323 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
324 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
325 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
326 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
327 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
328 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200329 interrupt-names = "error",
330 "ch0", "ch1", "ch2", "ch3",
331 "ch4", "ch5", "ch6", "ch7",
332 "ch8", "ch9", "ch10", "ch11",
333 "ch12", "ch13", "ch14";
334 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC0>;
335 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200336 power-domains = <&cpg_clocks>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200337 #dma-cells = <1>;
338 dma-channels = <15>;
339 };
340
341 dmac1: dma-controller@e6720000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900342 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200343 reg = <0 0xe6720000 0 0x20000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900344 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
345 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
346 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
347 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
348 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
349 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
350 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
351 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
352 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
353 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
354 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
355 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
356 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
357 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
358 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
359 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200360 interrupt-names = "error",
361 "ch0", "ch1", "ch2", "ch3",
362 "ch4", "ch5", "ch6", "ch7",
363 "ch8", "ch9", "ch10", "ch11",
364 "ch12", "ch13", "ch14";
365 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC1>;
366 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200367 power-domains = <&cpg_clocks>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200368 #dma-cells = <1>;
369 dma-channels = <15>;
370 };
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800371
372 audma0: dma-controller@ec700000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900373 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800374 reg = <0 0xec700000 0 0x10000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900375 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
376 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
377 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
378 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
379 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
380 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
381 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
382 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
383 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
384 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
385 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
386 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
387 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
388 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800389 interrupt-names = "error",
390 "ch0", "ch1", "ch2", "ch3",
391 "ch4", "ch5", "ch6", "ch7",
392 "ch8", "ch9", "ch10", "ch11",
393 "ch12";
394 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC0>;
395 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200396 power-domains = <&cpg_clocks>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800397 #dma-cells = <1>;
398 dma-channels = <13>;
399 };
400
401 audma1: dma-controller@ec720000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900402 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800403 reg = <0 0xec720000 0 0x10000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900404 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
405 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
406 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
407 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
408 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
409 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
410 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
411 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
412 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
413 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
414 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
415 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
416 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
417 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800418 interrupt-names = "error",
419 "ch0", "ch1", "ch2", "ch3",
420 "ch4", "ch5", "ch6", "ch7",
421 "ch8", "ch9", "ch10", "ch11",
422 "ch12";
423 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC1>;
424 clock-names = "fck";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200425 power-domains = <&cpg_clocks>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800426 #dma-cells = <1>;
427 dma-channels = <13>;
428 };
429
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900430 usb_dmac0: dma-controller@e65a0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900431 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900432 reg = <0 0xe65a0000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900433 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
434 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900435 interrupt-names = "ch0", "ch1";
436 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200437 power-domains = <&cpg_clocks>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900438 #dma-cells = <1>;
439 dma-channels = <2>;
440 };
441
442 usb_dmac1: dma-controller@e65b0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900443 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900444 reg = <0 0xe65b0000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900445 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
446 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900447 interrupt-names = "ch0", "ch1";
448 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200449 power-domains = <&cpg_clocks>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900450 #dma-cells = <1>;
451 dma-channels = <2>;
452 };
453
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200454 i2c0: i2c@e6508000 {
455 #address-cells = <1>;
456 #size-cells = <0>;
457 compatible = "renesas,i2c-r8a7790";
458 reg = <0 0xe6508000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900459 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000460 clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200461 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100462 i2c-scl-internal-delay-ns = <110>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200463 status = "disabled";
464 };
465
466 i2c1: i2c@e6518000 {
467 #address-cells = <1>;
468 #size-cells = <0>;
469 compatible = "renesas,i2c-r8a7790";
470 reg = <0 0xe6518000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900471 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000472 clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200473 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100474 i2c-scl-internal-delay-ns = <6>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200475 status = "disabled";
476 };
477
478 i2c2: i2c@e6530000 {
479 #address-cells = <1>;
480 #size-cells = <0>;
481 compatible = "renesas,i2c-r8a7790";
482 reg = <0 0xe6530000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900483 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000484 clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200485 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100486 i2c-scl-internal-delay-ns = <6>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200487 status = "disabled";
488 };
489
490 i2c3: i2c@e6540000 {
491 #address-cells = <1>;
492 #size-cells = <0>;
493 compatible = "renesas,i2c-r8a7790";
494 reg = <0 0xe6540000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900495 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000496 clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200497 power-domains = <&cpg_clocks>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100498 i2c-scl-internal-delay-ns = <110>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200499 status = "disabled";
500 };
501
Wolfram Sang05f39912014-03-25 19:56:29 +0100502 iic0: i2c@e6500000 {
503 #address-cells = <1>;
504 #size-cells = <0>;
505 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
506 reg = <0 0xe6500000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900507 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100508 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100509 dmas = <&dmac0 0x61>, <&dmac0 0x62>;
510 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200511 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100512 status = "disabled";
513 };
514
515 iic1: i2c@e6510000 {
516 #address-cells = <1>;
517 #size-cells = <0>;
518 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
519 reg = <0 0xe6510000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900520 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100521 clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100522 dmas = <&dmac0 0x65>, <&dmac0 0x66>;
523 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200524 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100525 status = "disabled";
526 };
527
528 iic2: i2c@e6520000 {
529 #address-cells = <1>;
530 #size-cells = <0>;
531 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
532 reg = <0 0xe6520000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900533 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100534 clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100535 dmas = <&dmac0 0x69>, <&dmac0 0x6a>;
536 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200537 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100538 status = "disabled";
539 };
540
541 iic3: i2c@e60b0000 {
542 #address-cells = <1>;
543 #size-cells = <0>;
544 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
545 reg = <0 0xe60b0000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900546 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100547 clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
Wolfram Sang0d73ca42014-11-07 11:11:43 +0100548 dmas = <&dmac0 0x77>, <&dmac0 0x78>;
549 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200550 power-domains = <&cpg_clocks>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100551 status = "disabled";
552 };
553
Laurent Pinchart22c2b782014-10-26 19:40:11 +0200554 mmcif0: mmc@ee200000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900555 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200556 reg = <0 0xee200000 0 0x80>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900557 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100558 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
Laurent Pinchart108216c2014-10-26 19:40:13 +0200559 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
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 reg-io-width = <4>;
563 status = "disabled";
Kuninori Morimoto96370052015-05-14 07:23:04 +0000564 max-frequency = <97500000>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200565 };
566
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700567 mmcif1: mmc@ee220000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900568 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200569 reg = <0 0xee220000 0 0x80>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900570 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100571 clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
Laurent Pinchart108216c2014-10-26 19:40:13 +0200572 dmas = <&dmac0 0xe1>, <&dmac0 0xe2>;
573 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200574 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200575 reg-io-width = <4>;
576 status = "disabled";
Kuninori Morimoto96370052015-05-14 07:23:04 +0000577 max-frequency = <97500000>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200578 };
579
Laurent Pinchart9694c772013-05-09 15:05:57 +0200580 pfc: pfc@e6060000 {
581 compatible = "renesas,pfc-r8a7790";
582 reg = <0 0xe6060000 0 0x250>;
583 };
Olof Johansson55689bf2013-08-14 00:24:05 -0700584
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700585 sdhi0: sd@ee100000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200586 compatible = "renesas,sdhi-r8a7790";
Kuninori Morimoto66f47ed2015-02-24 02:20:37 +0000587 reg = <0 0xee100000 0 0x328>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900588 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100589 clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000590 dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
591 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200592 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200593 status = "disabled";
594 };
595
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700596 sdhi1: sd@ee120000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200597 compatible = "renesas,sdhi-r8a7790";
Kuninori Morimoto66f47ed2015-02-24 02:20:37 +0000598 reg = <0 0xee120000 0 0x328>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900599 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100600 clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000601 dmas = <&dmac1 0xc9>, <&dmac1 0xca>;
602 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200603 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200604 status = "disabled";
605 };
606
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700607 sdhi2: sd@ee140000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200608 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200609 reg = <0 0xee140000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900610 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100611 clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000612 dmas = <&dmac1 0xc1>, <&dmac1 0xc2>;
613 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200614 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200615 status = "disabled";
616 };
617
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700618 sdhi3: sd@ee160000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200619 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200620 reg = <0 0xee160000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900621 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100622 clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
Laurent Pinchart941fe362015-02-24 02:20:03 +0000623 dmas = <&dmac1 0xd3>, <&dmac1 0xd4>;
624 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200625 power-domains = <&cpg_clocks>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200626 status = "disabled";
627 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100628
Laurent Pinchart597af202013-10-29 16:23:12 +0100629 scifa0: serial@e6c40000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100630 compatible = "renesas,scifa-r8a7790",
631 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100632 reg = <0 0xe6c40000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900633 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100634 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100635 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200636 dmas = <&dmac0 0x21>, <&dmac0 0x22>;
637 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200638 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100639 status = "disabled";
640 };
641
642 scifa1: serial@e6c50000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100643 compatible = "renesas,scifa-r8a7790",
644 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100645 reg = <0 0xe6c50000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900646 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100647 clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100648 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200649 dmas = <&dmac0 0x25>, <&dmac0 0x26>;
650 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200651 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100652 status = "disabled";
653 };
654
655 scifa2: serial@e6c60000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100656 compatible = "renesas,scifa-r8a7790",
657 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100658 reg = <0 0xe6c60000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900659 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100660 clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100661 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200662 dmas = <&dmac0 0x27>, <&dmac0 0x28>;
663 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200664 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100665 status = "disabled";
666 };
667
668 scifb0: serial@e6c20000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100669 compatible = "renesas,scifb-r8a7790",
670 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100671 reg = <0 0xe6c20000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900672 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100673 clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100674 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200675 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>;
676 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200677 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100678 status = "disabled";
679 };
680
681 scifb1: serial@e6c30000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100682 compatible = "renesas,scifb-r8a7790",
683 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100684 reg = <0 0xe6c30000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900685 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100686 clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100687 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200688 dmas = <&dmac0 0x19>, <&dmac0 0x1a>;
689 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200690 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100691 status = "disabled";
692 };
693
694 scifb2: serial@e6ce0000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100695 compatible = "renesas,scifb-r8a7790",
696 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100697 reg = <0 0xe6ce0000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900698 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100699 clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100700 clock-names = "fck";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200701 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>;
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 scif0: serial@e6e60000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100708 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
709 "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100710 reg = <0 0xe6e60000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900711 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100712 clocks = <&mstp7_clks R8A7790_CLK_SCIF0>, <&zs_clk>,
713 <&scif_clk>;
714 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200715 dmas = <&dmac0 0x29>, <&dmac0 0x2a>;
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
721 scif1: serial@e6e68000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100722 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
723 "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100724 reg = <0 0xe6e68000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900725 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100726 clocks = <&mstp7_clks R8A7790_CLK_SCIF1>, <&zs_clk>,
727 <&scif_clk>;
728 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200729 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>;
730 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200731 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100732 status = "disabled";
733 };
734
735 hscif0: serial@e62c0000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100736 compatible = "renesas,hscif-r8a7790",
737 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100738 reg = <0 0xe62c0000 0 96>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900739 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100740 clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>, <&zs_clk>,
741 <&scif_clk>;
742 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200743 dmas = <&dmac0 0x39>, <&dmac0 0x3a>;
744 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200745 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100746 status = "disabled";
747 };
748
749 hscif1: serial@e62c8000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100750 compatible = "renesas,hscif-r8a7790",
751 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100752 reg = <0 0xe62c8000 0 96>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900753 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100754 clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>, <&zs_clk>,
755 <&scif_clk>;
756 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevenacea43f2015-05-20 19:46:25 +0200757 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>;
758 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200759 power-domains = <&cpg_clocks>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100760 status = "disabled";
761 };
762
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300763 ether: ethernet@ee700000 {
764 compatible = "renesas,ether-r8a7790";
765 reg = <0 0xee700000 0 0x400>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900766 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300767 clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200768 power-domains = <&cpg_clocks>;
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300769 phy-mode = "rmii";
770 #address-cells = <1>;
771 #size-cells = <0>;
772 status = "disabled";
773 };
774
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300775 avb: ethernet@e6800000 {
776 compatible = "renesas,etheravb-r8a7790";
777 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900778 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300779 clocks = <&mstp8_clks R8A7790_CLK_ETHERAVB>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200780 power-domains = <&cpg_clocks>;
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300781 #address-cells = <1>;
782 #size-cells = <0>;
783 status = "disabled";
784 };
785
Valentine Barshakcde630f2014-01-14 21:05:30 +0400786 sata0: sata@ee300000 {
787 compatible = "renesas,sata-r8a7790";
788 reg = <0 0xee300000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900789 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400790 clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200791 power-domains = <&cpg_clocks>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400792 status = "disabled";
793 };
794
795 sata1: sata@ee500000 {
796 compatible = "renesas,sata-r8a7790";
797 reg = <0 0xee500000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900798 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400799 clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200800 power-domains = <&cpg_clocks>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400801 status = "disabled";
802 };
803
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900804 hsusb: usb@e6590000 {
Simon Hormand87ec942016-01-04 08:20:17 +1100805 compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900806 reg = <0 0xe6590000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900807 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900808 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
Yoshihiro Shimodae8295dc2015-05-08 16:13:07 +0900809 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
810 <&usb_dmac1 0>, <&usb_dmac1 1>;
811 dma-names = "ch0", "ch1", "ch2", "ch3";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200812 power-domains = <&cpg_clocks>;
813 renesas,buswait = <4>;
814 phys = <&usb0 1>;
815 phy-names = "usb";
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900816 status = "disabled";
817 };
818
Sergei Shtylyove089f652014-09-27 01:00:20 +0400819 usbphy: usb-phy@e6590100 {
820 compatible = "renesas,usb-phy-r8a7790";
821 reg = <0 0xe6590100 0 0x100>;
822 #address-cells = <1>;
823 #size-cells = <0>;
824 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
825 clock-names = "usbhs";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200826 power-domains = <&cpg_clocks>;
Sergei Shtylyove089f652014-09-27 01:00:20 +0400827 status = "disabled";
828
829 usb0: usb-channel@0 {
830 reg = <0>;
831 #phy-cells = <1>;
832 };
833 usb2: usb-channel@2 {
834 reg = <2>;
835 #phy-cells = <1>;
836 };
837 };
838
Ben Dooks9f685bf2014-08-13 00:16:18 +0400839 vin0: video@e6ef0000 {
840 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400841 reg = <0 0xe6ef0000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900842 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200843 clocks = <&mstp8_clks R8A7790_CLK_VIN0>;
844 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400845 status = "disabled";
846 };
847
848 vin1: video@e6ef1000 {
849 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400850 reg = <0 0xe6ef1000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900851 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200852 clocks = <&mstp8_clks R8A7790_CLK_VIN1>;
853 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400854 status = "disabled";
855 };
856
857 vin2: video@e6ef2000 {
858 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400859 reg = <0 0xe6ef2000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900860 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200861 clocks = <&mstp8_clks R8A7790_CLK_VIN2>;
862 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400863 status = "disabled";
864 };
865
866 vin3: video@e6ef3000 {
867 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400868 reg = <0 0xe6ef3000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900869 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200870 clocks = <&mstp8_clks R8A7790_CLK_VIN3>;
871 power-domains = <&cpg_clocks>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400872 status = "disabled";
873 };
874
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100875 vsp1@fe920000 {
876 compatible = "renesas,vsp1";
877 reg = <0 0xfe920000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900878 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100879 clocks = <&mstp1_clks R8A7790_CLK_VSP1_R>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200880 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100881
882 renesas,has-sru;
883 renesas,#rpf = <5>;
884 renesas,#uds = <1>;
885 renesas,#wpf = <4>;
886 };
887
888 vsp1@fe928000 {
889 compatible = "renesas,vsp1";
890 reg = <0 0xfe928000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900891 interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100892 clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200893 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100894
895 renesas,has-lut;
896 renesas,has-sru;
897 renesas,#rpf = <5>;
898 renesas,#uds = <3>;
899 renesas,#wpf = <4>;
900 };
901
902 vsp1@fe930000 {
903 compatible = "renesas,vsp1";
904 reg = <0 0xfe930000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900905 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100906 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU0>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200907 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100908
909 renesas,has-lif;
910 renesas,has-lut;
911 renesas,#rpf = <4>;
912 renesas,#uds = <1>;
913 renesas,#wpf = <4>;
914 };
915
916 vsp1@fe938000 {
917 compatible = "renesas,vsp1";
918 reg = <0 0xfe938000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900919 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100920 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU1>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200921 power-domains = <&cpg_clocks>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100922
923 renesas,has-lif;
924 renesas,has-lut;
925 renesas,#rpf = <4>;
926 renesas,#uds = <1>;
927 renesas,#wpf = <4>;
928 };
929
930 du: display@feb00000 {
931 compatible = "renesas,du-r8a7790";
932 reg = <0 0xfeb00000 0 0x70000>,
933 <0 0xfeb90000 0 0x1c>,
934 <0 0xfeb94000 0 0x1c>;
935 reg-names = "du", "lvds.0", "lvds.1";
Simon Horman3abb4d52016-01-15 11:44:15 +0900936 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
937 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
938 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100939 clocks = <&mstp7_clks R8A7790_CLK_DU0>,
940 <&mstp7_clks R8A7790_CLK_DU1>,
941 <&mstp7_clks R8A7790_CLK_DU2>,
942 <&mstp7_clks R8A7790_CLK_LVDS0>,
943 <&mstp7_clks R8A7790_CLK_LVDS1>;
944 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
945 status = "disabled";
946
947 ports {
948 #address-cells = <1>;
949 #size-cells = <0>;
950
951 port@0 {
952 reg = <0>;
953 du_out_rgb: endpoint {
954 };
955 };
956 port@1 {
957 reg = <1>;
958 du_out_lvds0: endpoint {
959 };
960 };
961 port@2 {
962 reg = <2>;
963 du_out_lvds1: endpoint {
964 };
965 };
966 };
967 };
968
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300969 can0: can@e6e80000 {
970 compatible = "renesas,can-r8a7790";
971 reg = <0 0xe6e80000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900972 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300973 clocks = <&mstp9_clks R8A7790_CLK_RCAN0>,
974 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
975 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200976 power-domains = <&cpg_clocks>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300977 status = "disabled";
978 };
979
980 can1: can@e6e88000 {
981 compatible = "renesas,can-r8a7790";
982 reg = <0 0xe6e88000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900983 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300984 clocks = <&mstp9_clks R8A7790_CLK_RCAN1>,
985 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
986 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200987 power-domains = <&cpg_clocks>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +0300988 status = "disabled";
989 };
990
Mikhail Ulyanovfb847572015-07-24 16:25:45 +0300991 jpu: jpeg-codec@fe980000 {
992 compatible = "renesas,jpu-r8a7790";
993 reg = <0 0xfe980000 0 0x10300>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900994 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
Mikhail Ulyanovfb847572015-07-24 16:25:45 +0300995 clocks = <&mstp1_clks R8A7790_CLK_JPU>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200996 power-domains = <&cpg_clocks>;
Mikhail Ulyanovfb847572015-07-24 16:25:45 +0300997 };
998
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100999 clocks {
1000 #address-cells = <2>;
1001 #size-cells = <2>;
1002 ranges;
1003
1004 /* External root clock */
1005 extal_clk: extal_clk {
1006 compatible = "fixed-clock";
1007 #clock-cells = <0>;
1008 /* This value must be overriden by the board. */
1009 clock-frequency = <0>;
1010 clock-output-names = "extal";
1011 };
1012
Phil Edworthy51d17912014-06-13 10:37:16 +01001013 /* External PCIe clock - can be overridden by the board */
1014 pcie_bus_clk: pcie_bus_clk {
1015 compatible = "fixed-clock";
1016 #clock-cells = <0>;
1017 clock-frequency = <100000000>;
1018 clock-output-names = "pcie_bus";
1019 status = "disabled";
1020 };
1021
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -08001022 /*
1023 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
1024 * default. Boards that provide audio clocks should override them.
1025 */
1026 audio_clk_a: audio_clk_a {
1027 compatible = "fixed-clock";
1028 #clock-cells = <0>;
1029 clock-frequency = <0>;
1030 clock-output-names = "audio_clk_a";
1031 };
1032 audio_clk_b: audio_clk_b {
1033 compatible = "fixed-clock";
1034 #clock-cells = <0>;
1035 clock-frequency = <0>;
1036 clock-output-names = "audio_clk_b";
1037 };
1038 audio_clk_c: audio_clk_c {
1039 compatible = "fixed-clock";
1040 #clock-cells = <0>;
1041 clock-frequency = <0>;
1042 clock-output-names = "audio_clk_c";
1043 };
1044
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +01001045 /* External SCIF clock */
1046 scif_clk: scif {
1047 compatible = "fixed-clock";
1048 #clock-cells = <0>;
1049 /* This value must be overridden by the board. */
1050 clock-frequency = <0>;
1051 status = "disabled";
1052 };
1053
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001054 /* External USB clock - can be overridden by the board */
1055 usb_extal_clk: usb_extal_clk {
1056 compatible = "fixed-clock";
1057 #clock-cells = <0>;
1058 clock-frequency = <48000000>;
1059 clock-output-names = "usb_extal";
1060 };
1061
1062 /* External CAN clock */
1063 can_clk: can_clk {
1064 compatible = "fixed-clock";
1065 #clock-cells = <0>;
1066 /* This value must be overridden by the board. */
1067 clock-frequency = <0>;
1068 clock-output-names = "can_clk";
1069 status = "disabled";
1070 };
1071
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001072 /* Special CPG clocks */
1073 cpg_clocks: cpg_clocks@e6150000 {
1074 compatible = "renesas,r8a7790-cpg-clocks",
1075 "renesas,rcar-gen2-cpg-clocks";
1076 reg = <0 0xe6150000 0 0x1000>;
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001077 clocks = <&extal_clk &usb_extal_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001078 #clock-cells = <1>;
1079 clock-output-names = "main", "pll0", "pll1", "pll3",
1080 "lb", "qspi", "sdh", "sd0", "sd1",
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001081 "z", "rcan", "adsp";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001082 #power-domain-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001083 };
1084
1085 /* Variable factor clocks */
1086 sd2_clk: sd2_clk@e6150078 {
1087 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1088 reg = <0 0xe6150078 0 4>;
1089 clocks = <&pll1_div2_clk>;
1090 #clock-cells = <0>;
1091 clock-output-names = "sd2";
1092 };
Shinobu Ueharaedd7b932014-10-30 14:57:57 +09001093 sd3_clk: sd3_clk@e615026c {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001094 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
Shinobu Ueharaedd7b932014-10-30 14:57:57 +09001095 reg = <0 0xe615026c 0 4>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001096 clocks = <&pll1_div2_clk>;
1097 #clock-cells = <0>;
1098 clock-output-names = "sd3";
1099 };
1100 mmc0_clk: mmc0_clk@e6150240 {
1101 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1102 reg = <0 0xe6150240 0 4>;
1103 clocks = <&pll1_div2_clk>;
1104 #clock-cells = <0>;
1105 clock-output-names = "mmc0";
1106 };
1107 mmc1_clk: mmc1_clk@e6150244 {
1108 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1109 reg = <0 0xe6150244 0 4>;
1110 clocks = <&pll1_div2_clk>;
1111 #clock-cells = <0>;
1112 clock-output-names = "mmc1";
1113 };
1114 ssp_clk: ssp_clk@e6150248 {
1115 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1116 reg = <0 0xe6150248 0 4>;
1117 clocks = <&pll1_div2_clk>;
1118 #clock-cells = <0>;
1119 clock-output-names = "ssp";
1120 };
1121 ssprs_clk: ssprs_clk@e615024c {
1122 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1123 reg = <0 0xe615024c 0 4>;
1124 clocks = <&pll1_div2_clk>;
1125 #clock-cells = <0>;
1126 clock-output-names = "ssprs";
1127 };
1128
1129 /* Fixed factor clocks */
1130 pll1_div2_clk: pll1_div2_clk {
1131 compatible = "fixed-factor-clock";
1132 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1133 #clock-cells = <0>;
1134 clock-div = <2>;
1135 clock-mult = <1>;
1136 clock-output-names = "pll1_div2";
1137 };
1138 z2_clk: z2_clk {
1139 compatible = "fixed-factor-clock";
1140 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1141 #clock-cells = <0>;
1142 clock-div = <2>;
1143 clock-mult = <1>;
1144 clock-output-names = "z2";
1145 };
1146 zg_clk: zg_clk {
1147 compatible = "fixed-factor-clock";
1148 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1149 #clock-cells = <0>;
1150 clock-div = <3>;
1151 clock-mult = <1>;
1152 clock-output-names = "zg";
1153 };
1154 zx_clk: zx_clk {
1155 compatible = "fixed-factor-clock";
1156 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1157 #clock-cells = <0>;
1158 clock-div = <3>;
1159 clock-mult = <1>;
1160 clock-output-names = "zx";
1161 };
1162 zs_clk: zs_clk {
1163 compatible = "fixed-factor-clock";
1164 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1165 #clock-cells = <0>;
1166 clock-div = <6>;
1167 clock-mult = <1>;
1168 clock-output-names = "zs";
1169 };
1170 hp_clk: hp_clk {
1171 compatible = "fixed-factor-clock";
1172 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1173 #clock-cells = <0>;
1174 clock-div = <12>;
1175 clock-mult = <1>;
1176 clock-output-names = "hp";
1177 };
1178 i_clk: i_clk {
1179 compatible = "fixed-factor-clock";
1180 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1181 #clock-cells = <0>;
1182 clock-div = <2>;
1183 clock-mult = <1>;
1184 clock-output-names = "i";
1185 };
1186 b_clk: b_clk {
1187 compatible = "fixed-factor-clock";
1188 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1189 #clock-cells = <0>;
1190 clock-div = <12>;
1191 clock-mult = <1>;
1192 clock-output-names = "b";
1193 };
1194 p_clk: p_clk {
1195 compatible = "fixed-factor-clock";
1196 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1197 #clock-cells = <0>;
1198 clock-div = <24>;
1199 clock-mult = <1>;
1200 clock-output-names = "p";
1201 };
1202 cl_clk: cl_clk {
1203 compatible = "fixed-factor-clock";
1204 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1205 #clock-cells = <0>;
1206 clock-div = <48>;
1207 clock-mult = <1>;
1208 clock-output-names = "cl";
1209 };
1210 m2_clk: m2_clk {
1211 compatible = "fixed-factor-clock";
1212 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1213 #clock-cells = <0>;
1214 clock-div = <8>;
1215 clock-mult = <1>;
1216 clock-output-names = "m2";
1217 };
1218 imp_clk: imp_clk {
1219 compatible = "fixed-factor-clock";
1220 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1221 #clock-cells = <0>;
1222 clock-div = <4>;
1223 clock-mult = <1>;
1224 clock-output-names = "imp";
1225 };
1226 rclk_clk: rclk_clk {
1227 compatible = "fixed-factor-clock";
1228 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1229 #clock-cells = <0>;
1230 clock-div = <(48 * 1024)>;
1231 clock-mult = <1>;
1232 clock-output-names = "rclk";
1233 };
1234 oscclk_clk: oscclk_clk {
1235 compatible = "fixed-factor-clock";
1236 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1237 #clock-cells = <0>;
1238 clock-div = <(12 * 1024)>;
1239 clock-mult = <1>;
1240 clock-output-names = "oscclk";
1241 };
1242 zb3_clk: zb3_clk {
1243 compatible = "fixed-factor-clock";
1244 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1245 #clock-cells = <0>;
1246 clock-div = <4>;
1247 clock-mult = <1>;
1248 clock-output-names = "zb3";
1249 };
1250 zb3d2_clk: zb3d2_clk {
1251 compatible = "fixed-factor-clock";
1252 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1253 #clock-cells = <0>;
1254 clock-div = <8>;
1255 clock-mult = <1>;
1256 clock-output-names = "zb3d2";
1257 };
1258 ddr_clk: ddr_clk {
1259 compatible = "fixed-factor-clock";
1260 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1261 #clock-cells = <0>;
1262 clock-div = <8>;
1263 clock-mult = <1>;
1264 clock-output-names = "ddr";
1265 };
1266 mp_clk: mp_clk {
1267 compatible = "fixed-factor-clock";
1268 clocks = <&pll1_div2_clk>;
1269 #clock-cells = <0>;
1270 clock-div = <15>;
1271 clock-mult = <1>;
1272 clock-output-names = "mp";
1273 };
1274 cp_clk: cp_clk {
1275 compatible = "fixed-factor-clock";
1276 clocks = <&extal_clk>;
1277 #clock-cells = <0>;
1278 clock-div = <2>;
1279 clock-mult = <1>;
1280 clock-output-names = "cp";
1281 };
1282
1283 /* Gate clocks */
Laurent Pinchart9d909512013-12-19 16:51:01 +01001284 mstp0_clks: mstp0_clks@e6150130 {
1285 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1286 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1287 clocks = <&mp_clk>;
1288 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001289 clock-indices = <R8A7790_CLK_MSIOF0>;
Laurent Pinchart9d909512013-12-19 16:51:01 +01001290 clock-output-names = "msiof0";
1291 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001292 mstp1_clks: mstp1_clks@e6150134 {
1293 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1294 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001295 clocks = <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&m2_clk>,
1296 <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>, <&zs_clk>,
1297 <&zs_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
1298 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001299 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001300 clock-indices = <
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001301 R8A7790_CLK_VCP1 R8A7790_CLK_VCP0 R8A7790_CLK_VPC1
1302 R8A7790_CLK_VPC0 R8A7790_CLK_JPU R8A7790_CLK_SSP1
1303 R8A7790_CLK_TMU1 R8A7790_CLK_3DG R8A7790_CLK_2DDMAC
1304 R8A7790_CLK_FDP1_2 R8A7790_CLK_FDP1_1 R8A7790_CLK_FDP1_0
1305 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 R8A7790_CLK_CMT0
1306 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 R8A7790_CLK_VSP1_DU0
1307 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001308 >;
1309 clock-output-names =
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001310 "vcp1", "vcp0", "vpc1", "vpc0", "jpu", "ssp1",
1311 "tmu1", "3dg", "2ddmac", "fdp1-2", "fdp1-1",
1312 "fdp1-0", "tmu3", "tmu2", "cmt0", "tmu0",
Kouei Abe2284ff52014-10-14 16:01:40 +09001313 "vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001314 };
1315 mstp2_clks: mstp2_clks@e6150138 {
1316 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1317 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1318 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001319 <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&zs_clk>,
1320 <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001321 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001322 clock-indices = <
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001323 R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
Laurent Pinchart9d909512013-12-19 16:51:01 +01001324 R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
1325 R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001326 R8A7790_CLK_SYS_DMAC1 R8A7790_CLK_SYS_DMAC0
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001327 >;
1328 clock-output-names =
Laurent Pinchart9d909512013-12-19 16:51:01 +01001329 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001330 "scifb1", "msiof1", "msiof3", "scifb2",
1331 "sys-dmac1", "sys-dmac0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001332 };
1333 mstp3_clks: mstp3_clks@e615013c {
1334 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1335 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Wolfram Sang17465142014-03-11 22:24:37 +01001336 clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
1337 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001338 <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
1339 <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001340 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001341 clock-indices = <
Wolfram Sang17465142014-03-11 22:24:37 +01001342 R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
1343 R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
Phil Edworthyecafea82014-06-13 10:37:15 +01001344 R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001345 R8A7790_CLK_USBDMAC0 R8A7790_CLK_USBDMAC1
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001346 >;
1347 clock-output-names =
Wolfram Sang17465142014-03-11 22:24:37 +01001348 "iic2", "tpu0", "mmcif1", "sdhi3",
1349 "sdhi2", "sdhi1", "sdhi0", "mmcif0",
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001350 "iic0", "pciec", "iic1", "ssusb", "cmt1",
1351 "usbdmac0", "usbdmac1";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001352 };
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +01001353 mstp4_clks: mstp4_clks@e6150140 {
1354 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1355 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1356 clocks = <&cp_clk>;
1357 #clock-cells = <1>;
1358 clock-indices = <R8A7790_CLK_IRQC>;
1359 clock-output-names = "irqc";
1360 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001361 mstp5_clks: mstp5_clks@e6150144 {
1362 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1363 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001364 clocks = <&hp_clk>, <&hp_clk>, <&cpg_clocks R8A7790_CLK_ADSP>,
1365 <&extal_clk>, <&p_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001366 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001367 clock-indices = <
1368 R8A7790_CLK_AUDIO_DMAC0 R8A7790_CLK_AUDIO_DMAC1
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001369 R8A7790_CLK_ADSP_MOD R8A7790_CLK_THERMAL
1370 R8A7790_CLK_PWM
Ben Dooksb54010a2014-11-10 19:49:37 +01001371 >;
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001372 clock-output-names = "audmac0", "audmac1", "adsp_mod",
1373 "thermal", "pwm";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001374 };
1375 mstp7_clks: mstp7_clks@e615014c {
1376 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1377 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Kazuya Mizuguchib621f6d2015-02-19 10:42:55 -05001378 clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001379 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
1380 <&zx_clk>;
1381 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001382 clock-indices = <
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001383 R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1
1384 R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0
1385 R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0
1386 R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0
1387 >;
1388 clock-output-names =
1389 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
1390 "scif0", "du2", "du1", "du0", "lvds1", "lvds0";
1391 };
1392 mstp8_clks: mstp8_clks@e6150990 {
1393 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1394 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001395 clocks = <&hp_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>,
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001396 <&zg_clk>, <&hp_clk>, <&p_clk>, <&zs_clk>,
1397 <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001398 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001399 clock-indices = <
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001400 R8A7790_CLK_MLB R8A7790_CLK_VIN3 R8A7790_CLK_VIN2
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001401 R8A7790_CLK_VIN1 R8A7790_CLK_VIN0
1402 R8A7790_CLK_ETHERAVB R8A7790_CLK_ETHER
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001403 R8A7790_CLK_SATA1 R8A7790_CLK_SATA0
Laurent Pinchart3f2beaa2014-01-07 09:22:53 +01001404 >;
Laurent Pinchartbccccc32014-01-07 09:22:55 +01001405 clock-output-names =
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001406 "mlb", "vin3", "vin2", "vin1", "vin0",
1407 "etheravb", "ether", "sata1", "sata0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001408 };
1409 mstp9_clks: mstp9_clks@e6150994 {
1410 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1411 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001412 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
1413 <&cp_clk>, <&cp_clk>, <&cp_clk>,
1414 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
Laurent Pinchart3672b052014-04-01 13:02:17 +02001415 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001416 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001417 clock-indices = <
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001418 R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
1419 R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
Wolfram Sang17465142014-03-11 22:24:37 +01001420 R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
1421 R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001422 >;
Laurent Pinchart91b56ca2013-12-19 16:51:03 +01001423 clock-output-names =
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001424 "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
Wolfram Sang17465142014-03-11 22:24:37 +01001425 "rcan1", "rcan0", "qspi_mod", "iic3",
1426 "i2c3", "i2c2", "i2c1", "i2c0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001427 };
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001428 mstp10_clks: mstp10_clks@e6150998 {
1429 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1430 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1431 clocks = <&p_clk>,
1432 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1433 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1434 <&p_clk>,
1435 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1436 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1437 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1438 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1439 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001440 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001441 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>;
1442
1443 #clock-cells = <1>;
1444 clock-indices = <
1445 R8A7790_CLK_SSI_ALL
1446 R8A7790_CLK_SSI9 R8A7790_CLK_SSI8 R8A7790_CLK_SSI7 R8A7790_CLK_SSI6 R8A7790_CLK_SSI5
1447 R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0
1448 R8A7790_CLK_SCU_ALL
1449 R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001450 R8A7790_CLK_SCU_CTU1_MIX1 R8A7790_CLK_SCU_CTU0_MIX0
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001451 R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5
1452 R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0
1453 >;
1454 clock-output-names =
1455 "ssi-all",
1456 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
1457 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
1458 "scu-all",
1459 "scu-dvc1", "scu-dvc0",
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001460 "scu-ctu1-mix1", "scu-ctu0-mix0",
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001461 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
1462 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
1463 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001464 };
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001465
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +01001466 qspi: spi@e6b10000 {
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001467 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
1468 reg = <0 0xe6b10000 0 0x2c>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001469 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001470 clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>;
Geert Uytterhoeven37cf3d62014-08-06 14:59:08 +02001471 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
1472 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001473 power-domains = <&cpg_clocks>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001474 num-cs = <1>;
1475 #address-cells = <1>;
1476 #size-cells = <0>;
1477 status = "disabled";
1478 };
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001479
1480 msiof0: spi@e6e20000 {
1481 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001482 reg = <0 0xe6e20000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001483 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001484 clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001485 dmas = <&dmac0 0x51>, <&dmac0 0x52>;
1486 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001487 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001488 #address-cells = <1>;
1489 #size-cells = <0>;
1490 status = "disabled";
1491 };
1492
1493 msiof1: spi@e6e10000 {
1494 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001495 reg = <0 0xe6e10000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001496 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001497 clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001498 dmas = <&dmac0 0x55>, <&dmac0 0x56>;
1499 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001500 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001501 #address-cells = <1>;
1502 #size-cells = <0>;
1503 status = "disabled";
1504 };
1505
1506 msiof2: spi@e6e00000 {
1507 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001508 reg = <0 0xe6e00000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001509 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001510 clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001511 dmas = <&dmac0 0x41>, <&dmac0 0x42>;
1512 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001513 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001514 #address-cells = <1>;
1515 #size-cells = <0>;
1516 status = "disabled";
1517 };
1518
1519 msiof3: spi@e6c90000 {
1520 compatible = "renesas,msiof-r8a7790";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001521 reg = <0 0xe6c90000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001522 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001523 clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001524 dmas = <&dmac0 0x45>, <&dmac0 0x46>;
1525 dma-names = "tx", "rx";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001526 power-domains = <&cpg_clocks>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001527 #address-cells = <1>;
1528 #size-cells = <0>;
1529 status = "disabled";
1530 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001531
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001532 xhci: usb@ee000000 {
1533 compatible = "renesas,xhci-r8a7790";
1534 reg = <0 0xee000000 0 0xc00>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001535 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001536 clocks = <&mstp3_clks R8A7790_CLK_SSUSB>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001537 power-domains = <&cpg_clocks>;
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001538 phys = <&usb2 1>;
1539 phy-names = "usb";
1540 status = "disabled";
1541 };
1542
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001543 pci0: pci@ee090000 {
Simon Horman2d82c142015-12-18 11:42:37 +09001544 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001545 device_type = "pci";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001546 reg = <0 0xee090000 0 0xc00>,
1547 <0 0xee080000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001548 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001549 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1550 power-domains = <&cpg_clocks>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001551 status = "disabled";
1552
1553 bus-range = <0 0>;
1554 #address-cells = <3>;
1555 #size-cells = <2>;
1556 #interrupt-cells = <1>;
1557 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1558 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001559 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1560 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1561 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov538c40e2014-09-29 22:21:59 +04001562
1563 usb@0,1 {
1564 reg = <0x800 0 0 0 0>;
1565 device_type = "pci";
1566 phys = <&usb0 0>;
1567 phy-names = "usb";
1568 };
1569
1570 usb@0,2 {
1571 reg = <0x1000 0 0 0 0>;
1572 device_type = "pci";
1573 phys = <&usb0 0>;
1574 phy-names = "usb";
1575 };
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001576 };
1577
1578 pci1: pci@ee0b0000 {
Simon Horman2d82c142015-12-18 11:42:37 +09001579 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001580 device_type = "pci";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001581 reg = <0 0xee0b0000 0 0xc00>,
1582 <0 0xee0a0000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001583 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001584 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1585 power-domains = <&cpg_clocks>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001586 status = "disabled";
1587
1588 bus-range = <1 1>;
1589 #address-cells = <3>;
1590 #size-cells = <2>;
1591 #interrupt-cells = <1>;
1592 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
1593 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001594 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1595 0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1596 0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001597 };
1598
1599 pci2: pci@ee0d0000 {
Simon Horman2d82c142015-12-18 11:42:37 +09001600 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001601 device_type = "pci";
1602 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001603 power-domains = <&cpg_clocks>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001604 reg = <0 0xee0d0000 0 0xc00>,
1605 <0 0xee0c0000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001606 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001607 status = "disabled";
1608
1609 bus-range = <2 2>;
1610 #address-cells = <3>;
1611 #size-cells = <2>;
1612 #interrupt-cells = <1>;
1613 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1614 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001615 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1616 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1617 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov538c40e2014-09-29 22:21:59 +04001618
1619 usb@0,1 {
1620 reg = <0x800 0 0 0 0>;
1621 device_type = "pci";
1622 phys = <&usb2 0>;
1623 phy-names = "usb";
1624 };
1625
1626 usb@0,2 {
1627 reg = <0x1000 0 0 0 0>;
1628 device_type = "pci";
1629 phys = <&usb2 0>;
1630 phy-names = "usb";
1631 };
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001632 };
1633
Phil Edworthy745329d2014-06-13 10:37:17 +01001634 pciec: pcie@fe000000 {
Simon Hormane670be82015-12-18 11:36:02 +09001635 compatible = "renesas,pcie-r8a7790", "renesas,pcie-rcar-gen2";
Phil Edworthy745329d2014-06-13 10:37:17 +01001636 reg = <0 0xfe000000 0 0x80000>;
1637 #address-cells = <3>;
1638 #size-cells = <2>;
1639 bus-range = <0x00 0xff>;
1640 device_type = "pci";
1641 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1642 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1643 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1644 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1645 /* Map all possible DDR as inbound ranges */
1646 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1647 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001648 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1649 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1650 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001651 #interrupt-cells = <1>;
1652 interrupt-map-mask = <0 0 0 0>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001653 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001654 clocks = <&mstp3_clks R8A7790_CLK_PCIEC>, <&pcie_bus_clk>;
1655 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001656 power-domains = <&cpg_clocks>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001657 status = "disabled";
1658 };
1659
Geert Uytterhoevenb694e382015-04-27 14:55:28 +02001660 rcar_sound: sound@ec500000 {
Kuninori Morimotoad632412014-12-17 06:11:52 +00001661 /*
1662 * #sound-dai-cells is required
1663 *
1664 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1665 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1666 */
Geert Uytterhoeven31078ec2015-01-06 21:01:52 +01001667 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001668 reg = <0 0xec500000 0 0x1000>, /* SCU */
1669 <0 0xec5a0000 0 0x100>, /* ADG */
1670 <0 0xec540000 0 0x1000>, /* SSIU */
Kuninori Morimoto4bc4a202015-08-24 08:27:56 +00001671 <0 0xec541000 0 0x280>, /* SSI */
Kuninori Morimoto0c602672015-03-10 01:39:39 +00001672 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1673 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Kuninori Morimoto46a158f2015-03-10 01:39:01 +00001674
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001675 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1676 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
1677 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
1678 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
1679 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
1680 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
1681 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
1682 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
1683 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
1684 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
1685 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001686 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001687 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001688 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001689 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1690 clock-names = "ssi-all",
1691 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1692 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1693 "src.9", "src.8", "src.7", "src.6", "src.5",
1694 "src.4", "src.3", "src.2", "src.1", "src.0",
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001695 "ctu.0", "ctu.1",
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001696 "mix.0", "mix.1",
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001697 "dvc.0", "dvc.1",
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001698 "clk_a", "clk_b", "clk_c", "clk_i";
Geert Uytterhoeven6507c4e2015-08-20 01:24:44 +00001699 power-domains = <&cpg_clocks>;
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001700
1701 status = "disabled";
1702
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001703 rcar_sound,dvc {
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001704 dvc0: dvc@0 {
1705 dmas = <&audma0 0xbc>;
1706 dma-names = "tx";
1707 };
1708 dvc1: dvc@1 {
1709 dmas = <&audma0 0xbe>;
1710 dma-names = "tx";
1711 };
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001712 };
1713
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001714 rcar_sound,mix {
1715 mix0: mix@0 { };
1716 mix1: mix@1 { };
1717 };
1718
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001719 rcar_sound,ctu {
1720 ctu00: ctu@0 { };
1721 ctu01: ctu@1 { };
1722 ctu02: ctu@2 { };
1723 ctu03: ctu@3 { };
1724 ctu10: ctu@4 { };
1725 ctu11: ctu@5 { };
1726 ctu12: ctu@6 { };
1727 ctu13: ctu@7 { };
1728 };
1729
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001730 rcar_sound,src {
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001731 src0: src@0 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001732 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001733 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1734 dma-names = "rx", "tx";
1735 };
1736 src1: src@1 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001737 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001738 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1739 dma-names = "rx", "tx";
1740 };
1741 src2: src@2 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001742 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001743 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1744 dma-names = "rx", "tx";
1745 };
1746 src3: src@3 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001747 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001748 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1749 dma-names = "rx", "tx";
1750 };
1751 src4: src@4 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001752 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001753 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1754 dma-names = "rx", "tx";
1755 };
1756 src5: src@5 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001757 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001758 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1759 dma-names = "rx", "tx";
1760 };
1761 src6: src@6 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001762 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001763 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1764 dma-names = "rx", "tx";
1765 };
1766 src7: src@7 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001767 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001768 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1769 dma-names = "rx", "tx";
1770 };
1771 src8: src@8 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001772 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001773 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1774 dma-names = "rx", "tx";
1775 };
1776 src9: src@9 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001777 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001778 dmas = <&audma0 0x97>, <&audma1 0xba>;
1779 dma-names = "rx", "tx";
1780 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001781 };
1782
1783 rcar_sound,ssi {
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001784 ssi0: ssi@0 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001785 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001786 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1787 dma-names = "rx", "tx", "rxu", "txu";
1788 };
1789 ssi1: ssi@1 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001790 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001791 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1792 dma-names = "rx", "tx", "rxu", "txu";
1793 };
1794 ssi2: ssi@2 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001795 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001796 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1797 dma-names = "rx", "tx", "rxu", "txu";
1798 };
1799 ssi3: ssi@3 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001800 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001801 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1802 dma-names = "rx", "tx", "rxu", "txu";
1803 };
1804 ssi4: ssi@4 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001805 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001806 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1807 dma-names = "rx", "tx", "rxu", "txu";
1808 };
1809 ssi5: ssi@5 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001810 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001811 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1812 dma-names = "rx", "tx", "rxu", "txu";
1813 };
1814 ssi6: ssi@6 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001815 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001816 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1817 dma-names = "rx", "tx", "rxu", "txu";
1818 };
1819 ssi7: ssi@7 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001820 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001821 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1822 dma-names = "rx", "tx", "rxu", "txu";
1823 };
1824 ssi8: ssi@8 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001825 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001826 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1827 dma-names = "rx", "tx", "rxu", "txu";
1828 };
1829 ssi9: ssi@9 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001830 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001831 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1832 dma-names = "rx", "tx", "rxu", "txu";
1833 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001834 };
1835 };
Laurent Pinchart70496722015-01-27 11:13:23 +02001836
1837 ipmmu_sy0: mmu@e6280000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001838 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001839 reg = <0 0xe6280000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001840 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1841 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001842 #iommu-cells = <1>;
1843 status = "disabled";
1844 };
1845
1846 ipmmu_sy1: mmu@e6290000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001847 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001848 reg = <0 0xe6290000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001849 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001850 #iommu-cells = <1>;
1851 status = "disabled";
1852 };
1853
1854 ipmmu_ds: mmu@e6740000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001855 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001856 reg = <0 0xe6740000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001857 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1858 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001859 #iommu-cells = <1>;
1860 status = "disabled";
1861 };
1862
1863 ipmmu_mp: mmu@ec680000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001864 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001865 reg = <0 0xec680000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001866 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001867 #iommu-cells = <1>;
1868 status = "disabled";
1869 };
1870
1871 ipmmu_mx: mmu@fe951000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001872 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001873 reg = <0 0xfe951000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001874 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1875 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001876 #iommu-cells = <1>;
1877 status = "disabled";
1878 };
1879
1880 ipmmu_rt: mmu@ffc80000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001881 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001882 reg = <0 0xffc80000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001883 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001884 #iommu-cells = <1>;
1885 status = "disabled";
1886 };
Magnus Damm0468b2d2013-03-28 00:49:34 +09001887};