blob: 99269aaca6fc953eccc3218cf78487d0a9c156d3 [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>
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +010016#include <dt-bindings/power/r8a7790-sysc.h>
Laurent Pinchart5f75e732013-11-19 03:18:25 +010017
Magnus Damm0468b2d2013-03-28 00:49:34 +090018/ {
19 compatible = "renesas,r8a7790";
20 interrupt-parent = <&gic>;
Takashi Yoshii8585deb2013-03-29 16:49:17 +090021 #address-cells = <2>;
22 #size-cells = <2>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090023
Wolfram Sang6b1d7c62014-02-16 10:40:58 +010024 aliases {
25 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 i2c2 = &i2c2;
28 i2c3 = &i2c3;
Wolfram Sang05f39912014-03-25 19:56:29 +010029 i2c4 = &iic0;
30 i2c5 = &iic1;
31 i2c6 = &iic2;
32 i2c7 = &iic3;
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +010033 spi0 = &qspi;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +010034 spi1 = &msiof0;
35 spi2 = &msiof1;
36 spi3 = &msiof2;
37 spi4 = &msiof3;
Ben Dooks9f685bf2014-08-13 00:16:18 +040038 vin0 = &vin0;
39 vin1 = &vin1;
40 vin2 = &vin2;
41 vin3 = &vin3;
Wolfram Sang6b1d7c62014-02-16 10:40:58 +010042 };
43
Magnus Damm0468b2d2013-03-28 00:49:34 +090044 cpus {
45 #address-cells = <1>;
46 #size-cells = <0>;
Magnus Dammdc378792016-06-28 16:10:40 +020047 enable-method = "renesas,apmu";
Magnus Damm0468b2d2013-03-28 00:49:34 +090048
49 cpu0: cpu@0 {
50 device_type = "cpu";
51 compatible = "arm,cortex-a15";
52 reg = <0>;
53 clock-frequency = <1300000000>;
Benoit Coussonb989e132014-06-03 21:02:24 +090054 voltage-tolerance = <1>; /* 1% */
55 clocks = <&cpg_clocks R8A7790_CLK_Z>;
56 clock-latency = <300000>; /* 300 us */
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +010057 power-domains = <&sysc R8A7790_PD_CA15_CPU0>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020058 next-level-cache = <&L2_CA15>;
Benoit Coussonb989e132014-06-03 21:02:24 +090059
60 /* kHz - uV - OPPs unknown yet */
61 operating-points = <1400000 1000000>,
62 <1225000 1000000>,
63 <1050000 1000000>,
64 < 875000 1000000>,
65 < 700000 1000000>,
66 < 350000 1000000>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090067 };
Magnus Dammc1f95972013-08-29 08:22:17 +090068
69 cpu1: cpu@1 {
70 device_type = "cpu";
71 compatible = "arm,cortex-a15";
72 reg = <1>;
73 clock-frequency = <1300000000>;
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +010074 power-domains = <&sysc R8A7790_PD_CA15_CPU1>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020075 next-level-cache = <&L2_CA15>;
Magnus Dammc1f95972013-08-29 08:22:17 +090076 };
77
78 cpu2: cpu@2 {
79 device_type = "cpu";
80 compatible = "arm,cortex-a15";
81 reg = <2>;
82 clock-frequency = <1300000000>;
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +010083 power-domains = <&sysc R8A7790_PD_CA15_CPU2>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020084 next-level-cache = <&L2_CA15>;
Magnus Dammc1f95972013-08-29 08:22:17 +090085 };
86
87 cpu3: cpu@3 {
88 device_type = "cpu";
89 compatible = "arm,cortex-a15";
90 reg = <3>;
91 clock-frequency = <1300000000>;
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +010092 power-domains = <&sysc R8A7790_PD_CA15_CPU3>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +020093 next-level-cache = <&L2_CA15>;
Magnus Dammc1f95972013-08-29 08:22:17 +090094 };
Magnus Damm2007e742013-09-15 00:28:58 +090095
Geert Uytterhoeven1eed15e2016-05-13 09:38:33 +020096 cpu4: cpu@100 {
Magnus Damm2007e742013-09-15 00:28:58 +090097 device_type = "cpu";
98 compatible = "arm,cortex-a7";
99 reg = <0x100>;
100 clock-frequency = <780000000>;
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +0100101 power-domains = <&sysc R8A7790_PD_CA7_CPU0>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200102 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +0900103 };
104
Geert Uytterhoeven1eed15e2016-05-13 09:38:33 +0200105 cpu5: cpu@101 {
Magnus Damm2007e742013-09-15 00:28:58 +0900106 device_type = "cpu";
107 compatible = "arm,cortex-a7";
108 reg = <0x101>;
109 clock-frequency = <780000000>;
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +0100110 power-domains = <&sysc R8A7790_PD_CA7_CPU1>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200111 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +0900112 };
113
Geert Uytterhoeven1eed15e2016-05-13 09:38:33 +0200114 cpu6: cpu@102 {
Magnus Damm2007e742013-09-15 00:28:58 +0900115 device_type = "cpu";
116 compatible = "arm,cortex-a7";
117 reg = <0x102>;
118 clock-frequency = <780000000>;
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +0100119 power-domains = <&sysc R8A7790_PD_CA7_CPU2>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200120 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +0900121 };
122
Geert Uytterhoeven1eed15e2016-05-13 09:38:33 +0200123 cpu7: cpu@103 {
Magnus Damm2007e742013-09-15 00:28:58 +0900124 device_type = "cpu";
125 compatible = "arm,cortex-a7";
126 reg = <0x103>;
127 clock-frequency = <780000000>;
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +0100128 power-domains = <&sysc R8A7790_PD_CA7_CPU3>;
Geert Uytterhoevenfb1cecd2015-06-02 14:31:39 +0200129 next-level-cache = <&L2_CA7>;
Magnus Damm2007e742013-09-15 00:28:58 +0900130 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +0200131
Geert Uytterhoevend4929092017-03-06 17:40:39 +0100132 L2_CA15: cache-controller-0 {
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +0200133 compatible = "cache";
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +0200134 power-domains = <&sysc R8A7790_PD_CA15_SCU>;
135 cache-unified;
136 cache-level = <2>;
137 };
138
Geert Uytterhoevend4929092017-03-06 17:40:39 +0100139 L2_CA7: cache-controller-1 {
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +0200140 compatible = "cache";
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +0200141 power-domains = <&sysc R8A7790_PD_CA7_SCU>;
142 cache-unified;
143 cache-level = <2>;
144 };
Magnus Damm0468b2d2013-03-28 00:49:34 +0900145 };
146
Kuninori Morimotoa8b805f32016-01-28 02:45:34 +0000147 thermal-zones {
148 cpu_thermal: cpu-thermal {
149 polling-delay-passive = <0>;
150 polling-delay = <0>;
151
152 thermal-sensors = <&thermal>;
153
154 trips {
155 cpu-crit {
156 temperature = <115000>;
157 hysteresis = <0>;
158 type = "critical";
159 };
160 };
161 cooling-maps {
162 };
163 };
164 };
165
Magnus Dammdc378792016-06-28 16:10:40 +0200166 apmu@e6151000 {
167 compatible = "renesas,r8a7790-apmu", "renesas,apmu";
168 reg = <0 0xe6151000 0 0x188>;
169 cpus = <&cpu4 &cpu5 &cpu6 &cpu7>;
170 };
171
172 apmu@e6152000 {
173 compatible = "renesas,r8a7790-apmu", "renesas,apmu";
174 reg = <0 0xe6152000 0 0x188>;
175 cpus = <&cpu0 &cpu1 &cpu2 &cpu3>;
176 };
177
Magnus Damm0468b2d2013-03-28 00:49:34 +0900178 gic: interrupt-controller@f1001000 {
Geert Uytterhoevene715e9c2015-06-17 15:03:33 +0200179 compatible = "arm,gic-400";
Magnus Damm0468b2d2013-03-28 00:49:34 +0900180 #interrupt-cells = <3>;
181 #address-cells = <0>;
182 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900183 reg = <0 0xf1001000 0 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +0000184 <0 0xf1002000 0 0x2000>,
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900185 <0 0xf1004000 0 0x2000>,
186 <0 0xf1006000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900187 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Geert Uytterhoeven9e585232017-03-06 17:58:07 +0100188 clocks = <&mstp4_clks R8A7790_CLK_INTC_SYS>;
189 clock-names = "clk";
190 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900191 };
192
Magnus Damm23de2272013-11-21 14:19:29 +0900193 gpio0: gpio@e6050000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200194 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900195 reg = <0 0xe6050000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900196 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200197 #gpio-cells = <2>;
198 gpio-controller;
199 gpio-ranges = <&pfc 0 0 32>;
200 #interrupt-cells = <2>;
201 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200202 clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100203 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200204 };
205
Magnus Damm23de2272013-11-21 14:19:29 +0900206 gpio1: gpio@e6051000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200207 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900208 reg = <0 0xe6051000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900209 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200210 #gpio-cells = <2>;
211 gpio-controller;
Sergei Shtylyov56a2182f2015-10-22 02:04:41 +0300212 gpio-ranges = <&pfc 0 32 30>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200213 #interrupt-cells = <2>;
214 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200215 clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100216 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200217 };
218
Magnus Damm23de2272013-11-21 14:19:29 +0900219 gpio2: gpio@e6052000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200220 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900221 reg = <0 0xe6052000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900222 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200223 #gpio-cells = <2>;
224 gpio-controller;
Sergei Shtylyov56a2182f2015-10-22 02:04:41 +0300225 gpio-ranges = <&pfc 0 64 30>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200226 #interrupt-cells = <2>;
227 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200228 clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100229 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200230 };
231
Magnus Damm23de2272013-11-21 14:19:29 +0900232 gpio3: gpio@e6053000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200233 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900234 reg = <0 0xe6053000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900235 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200236 #gpio-cells = <2>;
237 gpio-controller;
238 gpio-ranges = <&pfc 0 96 32>;
239 #interrupt-cells = <2>;
240 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200241 clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100242 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200243 };
244
Magnus Damm23de2272013-11-21 14:19:29 +0900245 gpio4: gpio@e6054000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200246 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900247 reg = <0 0xe6054000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900248 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200249 #gpio-cells = <2>;
250 gpio-controller;
251 gpio-ranges = <&pfc 0 128 32>;
252 #interrupt-cells = <2>;
253 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200254 clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100255 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200256 };
257
Magnus Damm23de2272013-11-21 14:19:29 +0900258 gpio5: gpio@e6055000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200259 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900260 reg = <0 0xe6055000 0 0x50>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900261 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200262 #gpio-cells = <2>;
263 gpio-controller;
264 gpio-ranges = <&pfc 0 160 32>;
265 #interrupt-cells = <2>;
266 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200267 clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100268 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200269 };
270
Kuninori Morimotoa8b805f32016-01-28 02:45:34 +0000271 thermal: thermal@e61f0000 {
272 compatible = "renesas,thermal-r8a7790",
273 "renesas,rcar-gen2-thermal",
274 "renesas,rcar-thermal";
Magnus Damm03e2f562013-11-20 16:59:30 +0900275 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900276 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevend3a439d2014-01-07 19:57:14 +0100277 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100278 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Kuninori Morimotoa8b805f32016-01-28 02:45:34 +0000279 #thermal-sensor-cells = <0>;
Magnus Damm03e2f562013-11-20 16:59:30 +0900280 };
281
Magnus Damm0468b2d2013-03-28 00:49:34 +0900282 timer {
283 compatible = "arm,armv7-timer";
Simon Horman3abb4d52016-01-15 11:44:15 +0900284 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
285 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
286 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
287 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900288 };
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900289
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200290 cmt0: timer@ffca0000 {
Simon Horman37757032014-09-08 09:27:45 +0900291 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200292 reg = <0 0xffca0000 0 0x1004>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900293 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200295 clocks = <&mstp1_clks R8A7790_CLK_CMT0>;
296 clock-names = "fck";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100297 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200298
299 renesas,channels-mask = <0x60>;
300
301 status = "disabled";
302 };
303
304 cmt1: timer@e6130000 {
Simon Horman37757032014-09-08 09:27:45 +0900305 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200306 reg = <0 0xe6130000 0 0x1004>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900307 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
311 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
312 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
313 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
314 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200315 clocks = <&mstp3_clks R8A7790_CLK_CMT1>;
316 clock-names = "fck";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100317 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200318
319 renesas,channels-mask = <0xff>;
320
321 status = "disabled";
322 };
323
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900324 irqc0: interrupt-controller@e61c0000 {
Magnus Damm220fc352013-11-20 09:07:40 +0900325 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900326 #interrupt-cells = <2>;
327 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900328 reg = <0 0xe61c0000 0 0x200>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900329 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
330 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
332 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +0100333 clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100334 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900335 };
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200336
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200337 dmac0: dma-controller@e6700000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900338 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200339 reg = <0 0xe6700000 0 0x20000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900340 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
341 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
342 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
343 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
344 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
345 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
346 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
347 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
348 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
349 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
350 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
351 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
352 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
353 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
354 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
355 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200356 interrupt-names = "error",
357 "ch0", "ch1", "ch2", "ch3",
358 "ch4", "ch5", "ch6", "ch7",
359 "ch8", "ch9", "ch10", "ch11",
360 "ch12", "ch13", "ch14";
361 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC0>;
362 clock-names = "fck";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100363 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200364 #dma-cells = <1>;
365 dma-channels = <15>;
366 };
367
368 dmac1: dma-controller@e6720000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900369 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200370 reg = <0 0xe6720000 0 0x20000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900371 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
372 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
373 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
374 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
375 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
376 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
377 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
378 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
379 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
380 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
381 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
382 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
383 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
384 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
385 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
386 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200387 interrupt-names = "error",
388 "ch0", "ch1", "ch2", "ch3",
389 "ch4", "ch5", "ch6", "ch7",
390 "ch8", "ch9", "ch10", "ch11",
391 "ch12", "ch13", "ch14";
392 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC1>;
393 clock-names = "fck";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100394 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200395 #dma-cells = <1>;
396 dma-channels = <15>;
397 };
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800398
399 audma0: dma-controller@ec700000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900400 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800401 reg = <0 0xec700000 0 0x10000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900402 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
403 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
404 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
405 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
406 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
407 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
408 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
409 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
410 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
411 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
412 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
413 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
414 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
415 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800416 interrupt-names = "error",
417 "ch0", "ch1", "ch2", "ch3",
418 "ch4", "ch5", "ch6", "ch7",
419 "ch8", "ch9", "ch10", "ch11",
420 "ch12";
421 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC0>;
422 clock-names = "fck";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100423 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800424 #dma-cells = <1>;
425 dma-channels = <13>;
426 };
427
428 audma1: dma-controller@ec720000 {
Simon Horman4af0a662015-11-13 11:23:48 +0900429 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800430 reg = <0 0xec720000 0 0x10000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900431 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
432 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
433 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
434 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
435 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
436 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
437 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
438 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
439 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
440 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
441 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
442 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
443 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
444 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800445 interrupt-names = "error",
446 "ch0", "ch1", "ch2", "ch3",
447 "ch4", "ch5", "ch6", "ch7",
448 "ch8", "ch9", "ch10", "ch11",
449 "ch12";
450 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC1>;
451 clock-names = "fck";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100452 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Kuninori Morimotoba3240b2014-11-03 17:44:51 -0800453 #dma-cells = <1>;
454 dma-channels = <13>;
455 };
456
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900457 usb_dmac0: dma-controller@e65a0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900458 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900459 reg = <0 0xe65a0000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900460 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
461 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900462 interrupt-names = "ch0", "ch1";
463 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100464 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900465 #dma-cells = <1>;
466 dma-channels = <2>;
467 };
468
469 usb_dmac1: dma-controller@e65b0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900470 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900471 reg = <0 0xe65b0000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900472 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
473 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900474 interrupt-names = "ch0", "ch1";
475 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100476 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Yoshihiro Shimodaa3ff2092015-05-08 16:13:06 +0900477 #dma-cells = <1>;
478 dma-channels = <2>;
479 };
480
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200481 i2c0: i2c@e6508000 {
482 #address-cells = <1>;
483 #size-cells = <0>;
Simon Horman82f8bfb2016-12-13 12:45:49 +0100484 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200485 reg = <0 0xe6508000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900486 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000487 clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100488 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100489 i2c-scl-internal-delay-ns = <110>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200490 status = "disabled";
491 };
492
493 i2c1: i2c@e6518000 {
494 #address-cells = <1>;
495 #size-cells = <0>;
Simon Horman82f8bfb2016-12-13 12:45:49 +0100496 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200497 reg = <0 0xe6518000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900498 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000499 clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100500 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100501 i2c-scl-internal-delay-ns = <6>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200502 status = "disabled";
503 };
504
505 i2c2: i2c@e6530000 {
506 #address-cells = <1>;
507 #size-cells = <0>;
Simon Horman82f8bfb2016-12-13 12:45:49 +0100508 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200509 reg = <0 0xe6530000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900510 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000511 clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100512 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100513 i2c-scl-internal-delay-ns = <6>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200514 status = "disabled";
515 };
516
517 i2c3: i2c@e6540000 {
518 #address-cells = <1>;
519 #size-cells = <0>;
Simon Horman82f8bfb2016-12-13 12:45:49 +0100520 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200521 reg = <0 0xe6540000 0 0x40>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900522 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000523 clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100524 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sangac8e7f32015-12-08 10:37:50 +0100525 i2c-scl-internal-delay-ns = <110>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200526 status = "disabled";
527 };
528
Wolfram Sang05f39912014-03-25 19:56:29 +0100529 iic0: i2c@e6500000 {
530 #address-cells = <1>;
531 #size-cells = <0>;
Simon Hormanb8075ee2016-12-13 12:45:56 +0100532 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
533 "renesas,rmobile-iic";
Wolfram Sang05f39912014-03-25 19:56:29 +0100534 reg = <0 0xe6500000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900535 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100536 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200537 dmas = <&dmac0 0x61>, <&dmac0 0x62>,
538 <&dmac1 0x61>, <&dmac1 0x62>;
539 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100540 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100541 status = "disabled";
542 };
543
544 iic1: i2c@e6510000 {
545 #address-cells = <1>;
546 #size-cells = <0>;
Simon Hormanb8075ee2016-12-13 12:45:56 +0100547 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
548 "renesas,rmobile-iic";
Wolfram Sang05f39912014-03-25 19:56:29 +0100549 reg = <0 0xe6510000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900550 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100551 clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200552 dmas = <&dmac0 0x65>, <&dmac0 0x66>,
553 <&dmac1 0x65>, <&dmac1 0x66>;
554 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100555 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100556 status = "disabled";
557 };
558
559 iic2: i2c@e6520000 {
560 #address-cells = <1>;
561 #size-cells = <0>;
Simon Hormanb8075ee2016-12-13 12:45:56 +0100562 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
563 "renesas,rmobile-iic";
Wolfram Sang05f39912014-03-25 19:56:29 +0100564 reg = <0 0xe6520000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900565 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100566 clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200567 dmas = <&dmac0 0x69>, <&dmac0 0x6a>,
568 <&dmac1 0x69>, <&dmac1 0x6a>;
569 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100570 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100571 status = "disabled";
572 };
573
574 iic3: i2c@e60b0000 {
575 #address-cells = <1>;
576 #size-cells = <0>;
Simon Hormanb8075ee2016-12-13 12:45:56 +0100577 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
578 "renesas,rmobile-iic";
Wolfram Sang05f39912014-03-25 19:56:29 +0100579 reg = <0 0xe60b0000 0 0x425>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900580 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100581 clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200582 dmas = <&dmac0 0x77>, <&dmac0 0x78>,
583 <&dmac1 0x77>, <&dmac1 0x78>;
584 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100585 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Wolfram Sang05f39912014-03-25 19:56:29 +0100586 status = "disabled";
587 };
588
Laurent Pinchart22c2b782014-10-26 19:40:11 +0200589 mmcif0: mmc@ee200000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900590 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200591 reg = <0 0xee200000 0 0x80>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900592 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100593 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200594 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
595 <&dmac1 0xd1>, <&dmac1 0xd2>;
596 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100597 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200598 reg-io-width = <4>;
599 status = "disabled";
Kuninori Morimoto96370052015-05-14 07:23:04 +0000600 max-frequency = <97500000>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200601 };
602
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700603 mmcif1: mmc@ee220000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900604 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200605 reg = <0 0xee220000 0 0x80>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900606 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100607 clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200608 dmas = <&dmac0 0xe1>, <&dmac0 0xe2>,
609 <&dmac1 0xe1>, <&dmac1 0xe2>;
610 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100611 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200612 reg-io-width = <4>;
613 status = "disabled";
Kuninori Morimoto96370052015-05-14 07:23:04 +0000614 max-frequency = <97500000>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200615 };
616
Laurent Pinchart9694c772013-05-09 15:05:57 +0200617 pfc: pfc@e6060000 {
618 compatible = "renesas,pfc-r8a7790";
619 reg = <0 0xe6060000 0 0x250>;
620 };
Olof Johansson55689bf2013-08-14 00:24:05 -0700621
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700622 sdhi0: sd@ee100000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200623 compatible = "renesas,sdhi-r8a7790";
Kuninori Morimoto66f47ed2015-02-24 02:20:37 +0000624 reg = <0 0xee100000 0 0x328>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900625 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100626 clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200627 dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
628 <&dmac1 0xcd>, <&dmac1 0xce>;
629 dma-names = "tx", "rx", "tx", "rx";
Wolfram Sang21c7d0f2016-04-18 11:41:30 +0200630 max-frequency = <195000000>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100631 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200632 status = "disabled";
633 };
634
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700635 sdhi1: sd@ee120000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200636 compatible = "renesas,sdhi-r8a7790";
Kuninori Morimoto66f47ed2015-02-24 02:20:37 +0000637 reg = <0 0xee120000 0 0x328>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900638 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100639 clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200640 dmas = <&dmac0 0xc9>, <&dmac0 0xca>,
641 <&dmac1 0xc9>, <&dmac1 0xca>;
642 dma-names = "tx", "rx", "tx", "rx";
Wolfram Sang21c7d0f2016-04-18 11:41:30 +0200643 max-frequency = <195000000>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100644 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200645 status = "disabled";
646 };
647
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700648 sdhi2: sd@ee140000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200649 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200650 reg = <0 0xee140000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900651 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100652 clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200653 dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
654 <&dmac1 0xc1>, <&dmac1 0xc2>;
655 dma-names = "tx", "rx", "tx", "rx";
Ben Hutchings22f708b2016-04-01 17:44:38 +0200656 max-frequency = <97500000>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100657 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200658 status = "disabled";
659 };
660
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700661 sdhi3: sd@ee160000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200662 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200663 reg = <0 0xee160000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900664 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100665 clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200666 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
667 <&dmac1 0xd3>, <&dmac1 0xd4>;
668 dma-names = "tx", "rx", "tx", "rx";
Ben Hutchings22f708b2016-04-01 17:44:38 +0200669 max-frequency = <97500000>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100670 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200671 status = "disabled";
672 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100673
Laurent Pinchart597af202013-10-29 16:23:12 +0100674 scifa0: serial@e6c40000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100675 compatible = "renesas,scifa-r8a7790",
676 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100677 reg = <0 0xe6c40000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900678 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100679 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100680 clock-names = "fck";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200681 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
682 <&dmac1 0x21>, <&dmac1 0x22>;
683 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100684 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100685 status = "disabled";
686 };
687
688 scifa1: serial@e6c50000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100689 compatible = "renesas,scifa-r8a7790",
690 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100691 reg = <0 0xe6c50000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900692 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100693 clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100694 clock-names = "fck";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200695 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
696 <&dmac1 0x25>, <&dmac1 0x26>;
697 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100698 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100699 status = "disabled";
700 };
701
702 scifa2: serial@e6c60000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100703 compatible = "renesas,scifa-r8a7790",
704 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100705 reg = <0 0xe6c60000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900706 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100707 clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100708 clock-names = "fck";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200709 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
710 <&dmac1 0x27>, <&dmac1 0x28>;
711 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100712 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100713 status = "disabled";
714 };
715
716 scifb0: serial@e6c20000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100717 compatible = "renesas,scifb-r8a7790",
718 "renesas,rcar-gen2-scifb", "renesas,scifb";
Geert Uytterhoevenf31fbe82016-09-19 16:18:53 +0200719 reg = <0 0xe6c20000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900720 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100721 clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100722 clock-names = "fck";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200723 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
724 <&dmac1 0x3d>, <&dmac1 0x3e>;
725 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100726 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100727 status = "disabled";
728 };
729
730 scifb1: serial@e6c30000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100731 compatible = "renesas,scifb-r8a7790",
732 "renesas,rcar-gen2-scifb", "renesas,scifb";
Geert Uytterhoevenf31fbe82016-09-19 16:18:53 +0200733 reg = <0 0xe6c30000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900734 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100735 clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100736 clock-names = "fck";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200737 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
738 <&dmac1 0x19>, <&dmac1 0x1a>;
739 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100740 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100741 status = "disabled";
742 };
743
744 scifb2: serial@e6ce0000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100745 compatible = "renesas,scifb-r8a7790",
746 "renesas,rcar-gen2-scifb", "renesas,scifb";
Geert Uytterhoevenf31fbe82016-09-19 16:18:53 +0200747 reg = <0 0xe6ce0000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900748 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100749 clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
Laurent Pinchart6c6e12a2016-01-29 10:47:37 +0100750 clock-names = "fck";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200751 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
752 <&dmac1 0x1d>, <&dmac1 0x1e>;
753 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100754 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100755 status = "disabled";
756 };
757
758 scif0: serial@e6e60000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100759 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
760 "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100761 reg = <0 0xe6e60000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900762 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100763 clocks = <&mstp7_clks R8A7790_CLK_SCIF0>, <&zs_clk>,
764 <&scif_clk>;
765 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200766 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
767 <&dmac1 0x29>, <&dmac1 0x2a>;
768 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100769 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100770 status = "disabled";
771 };
772
773 scif1: serial@e6e68000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100774 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
775 "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100776 reg = <0 0xe6e68000 0 64>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900777 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100778 clocks = <&mstp7_clks R8A7790_CLK_SCIF1>, <&zs_clk>,
779 <&scif_clk>;
780 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200781 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
782 <&dmac1 0x2d>, <&dmac1 0x2e>;
783 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100784 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100785 status = "disabled";
786 };
787
Geert Uytterhoeven022869a2016-03-03 10:32:41 +0100788 scif2: serial@e6e56000 {
789 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
790 "renesas,scif";
791 reg = <0 0xe6e56000 0 64>;
792 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
793 clocks = <&mstp3_clks R8A7790_CLK_SCIF2>, <&zs_clk>,
794 <&scif_clk>;
795 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200796 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
797 <&dmac1 0x2b>, <&dmac1 0x2c>;
798 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100799 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Geert Uytterhoeven022869a2016-03-03 10:32:41 +0100800 status = "disabled";
801 };
802
Laurent Pinchart597af202013-10-29 16:23:12 +0100803 hscif0: serial@e62c0000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100804 compatible = "renesas,hscif-r8a7790",
805 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100806 reg = <0 0xe62c0000 0 96>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900807 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100808 clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>, <&zs_clk>,
809 <&scif_clk>;
810 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200811 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
812 <&dmac1 0x39>, <&dmac1 0x3a>;
813 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100814 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100815 status = "disabled";
816 };
817
818 hscif1: serial@e62c8000 {
Geert Uytterhoevena20dc9f2016-01-29 10:32:04 +0100819 compatible = "renesas,hscif-r8a7790",
820 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100821 reg = <0 0xe62c8000 0 96>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900822 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +0100823 clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>, <&zs_clk>,
824 <&scif_clk>;
825 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlundbadf8572016-05-12 10:54:42 +0200826 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
827 <&dmac1 0x4d>, <&dmac1 0x4e>;
828 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100829 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100830 status = "disabled";
831 };
832
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300833 ether: ethernet@ee700000 {
834 compatible = "renesas,ether-r8a7790";
835 reg = <0 0xee700000 0 0x400>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900836 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300837 clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100838 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300839 phy-mode = "rmii";
840 #address-cells = <1>;
841 #size-cells = <0>;
842 status = "disabled";
843 };
844
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300845 avb: ethernet@e6800000 {
Simon Hormand92df7e2016-02-23 10:17:45 +0900846 compatible = "renesas,etheravb-r8a7790",
847 "renesas,etheravb-rcar-gen2";
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300848 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900849 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300850 clocks = <&mstp8_clks R8A7790_CLK_ETHERAVB>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100851 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Sergei Shtylyovf25d6b92015-06-16 02:43:51 +0300852 #address-cells = <1>;
853 #size-cells = <0>;
854 status = "disabled";
855 };
856
Valentine Barshakcde630f2014-01-14 21:05:30 +0400857 sata0: sata@ee300000 {
858 compatible = "renesas,sata-r8a7790";
859 reg = <0 0xee300000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900860 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400861 clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100862 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400863 status = "disabled";
864 };
865
866 sata1: sata@ee500000 {
867 compatible = "renesas,sata-r8a7790";
868 reg = <0 0xee500000 0 0x2000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900869 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400870 clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100871 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400872 status = "disabled";
873 };
874
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900875 hsusb: usb@e6590000 {
Simon Hormand87ec942016-01-04 08:20:17 +1100876 compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900877 reg = <0 0xe6590000 0 0x100>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900878 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900879 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
Yoshihiro Shimodae8295dc2015-05-08 16:13:07 +0900880 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
881 <&usb_dmac1 0>, <&usb_dmac1 1>;
882 dma-names = "ch0", "ch1", "ch2", "ch3";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100883 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200884 renesas,buswait = <4>;
885 phys = <&usb0 1>;
886 phy-names = "usb";
Yoshihiro Shimodaae0a5552014-10-24 19:44:33 +0900887 status = "disabled";
888 };
889
Sergei Shtylyove089f652014-09-27 01:00:20 +0400890 usbphy: usb-phy@e6590100 {
Simon Horman3b0922c2016-12-01 15:25:51 +0100891 compatible = "renesas,usb-phy-r8a7790",
892 "renesas,rcar-gen2-usb-phy";
Sergei Shtylyove089f652014-09-27 01:00:20 +0400893 reg = <0 0xe6590100 0 0x100>;
894 #address-cells = <1>;
895 #size-cells = <0>;
896 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
897 clock-names = "usbhs";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100898 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Sergei Shtylyove089f652014-09-27 01:00:20 +0400899 status = "disabled";
900
901 usb0: usb-channel@0 {
902 reg = <0>;
903 #phy-cells = <1>;
904 };
905 usb2: usb-channel@2 {
906 reg = <2>;
907 #phy-cells = <1>;
908 };
909 };
910
Ben Dooks9f685bf2014-08-13 00:16:18 +0400911 vin0: video@e6ef0000 {
912 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400913 reg = <0 0xe6ef0000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900914 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200915 clocks = <&mstp8_clks R8A7790_CLK_VIN0>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100916 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400917 status = "disabled";
918 };
919
920 vin1: video@e6ef1000 {
921 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400922 reg = <0 0xe6ef1000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900923 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200924 clocks = <&mstp8_clks R8A7790_CLK_VIN1>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100925 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400926 status = "disabled";
927 };
928
929 vin2: video@e6ef2000 {
930 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400931 reg = <0 0xe6ef2000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900932 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200933 clocks = <&mstp8_clks R8A7790_CLK_VIN2>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100934 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400935 status = "disabled";
936 };
937
938 vin3: video@e6ef3000 {
939 compatible = "renesas,vin-r8a7790";
Ben Dooks9f685bf2014-08-13 00:16:18 +0400940 reg = <0 0xe6ef3000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900941 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +0200942 clocks = <&mstp8_clks R8A7790_CLK_VIN3>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100943 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Ben Dooks9f685bf2014-08-13 00:16:18 +0400944 status = "disabled";
945 };
946
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100947 vsp1@fe920000 {
948 compatible = "renesas,vsp1";
949 reg = <0 0xfe920000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900950 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100951 clocks = <&mstp1_clks R8A7790_CLK_VSP1_R>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100952 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100953 };
954
955 vsp1@fe928000 {
956 compatible = "renesas,vsp1";
957 reg = <0 0xfe928000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900958 interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100959 clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100960 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100961 };
962
963 vsp1@fe930000 {
964 compatible = "renesas,vsp1";
965 reg = <0 0xfe930000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900966 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100967 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU0>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100968 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100969 };
970
971 vsp1@fe938000 {
972 compatible = "renesas,vsp1";
973 reg = <0 0xfe938000 0 0x8000>;
Simon Horman3abb4d52016-01-15 11:44:15 +0900974 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100975 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU1>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +0100976 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100977 };
978
979 du: display@feb00000 {
980 compatible = "renesas,du-r8a7790";
981 reg = <0 0xfeb00000 0 0x70000>,
982 <0 0xfeb90000 0 0x1c>,
983 <0 0xfeb94000 0 0x1c>;
984 reg-names = "du", "lvds.0", "lvds.1";
Simon Horman3abb4d52016-01-15 11:44:15 +0900985 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
986 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
987 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100988 clocks = <&mstp7_clks R8A7790_CLK_DU0>,
989 <&mstp7_clks R8A7790_CLK_DU1>,
990 <&mstp7_clks R8A7790_CLK_DU2>,
991 <&mstp7_clks R8A7790_CLK_LVDS0>,
992 <&mstp7_clks R8A7790_CLK_LVDS1>;
993 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
994 status = "disabled";
995
996 ports {
997 #address-cells = <1>;
998 #size-cells = <0>;
999
1000 port@0 {
1001 reg = <0>;
1002 du_out_rgb: endpoint {
1003 };
1004 };
1005 port@1 {
1006 reg = <1>;
1007 du_out_lvds0: endpoint {
1008 };
1009 };
1010 port@2 {
1011 reg = <2>;
1012 du_out_lvds1: endpoint {
1013 };
1014 };
1015 };
1016 };
1017
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +03001018 can0: can@e6e80000 {
Simon Horman28e941d2016-03-14 11:13:59 +09001019 compatible = "renesas,can-r8a7790", "renesas,rcar-gen2-can";
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +03001020 reg = <0 0xe6e80000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001021 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +03001022 clocks = <&mstp9_clks R8A7790_CLK_RCAN0>,
1023 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
1024 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001025 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +03001026 status = "disabled";
1027 };
1028
1029 can1: can@e6e88000 {
Simon Horman28e941d2016-03-14 11:13:59 +09001030 compatible = "renesas,can-r8a7790", "renesas,rcar-gen2-can";
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +03001031 reg = <0 0xe6e88000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001032 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +03001033 clocks = <&mstp9_clks R8A7790_CLK_RCAN1>,
1034 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
1035 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001036 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Sergei Shtylyov6a7742b2015-01-06 00:34:42 +03001037 status = "disabled";
1038 };
1039
Mikhail Ulyanovfb847572015-07-24 16:25:45 +03001040 jpu: jpeg-codec@fe980000 {
Simon Horman1c4b68f2016-02-24 11:29:05 +09001041 compatible = "renesas,jpu-r8a7790", "renesas,rcar-gen2-jpu";
Mikhail Ulyanovfb847572015-07-24 16:25:45 +03001042 reg = <0 0xfe980000 0 0x10300>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001043 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
Mikhail Ulyanovfb847572015-07-24 16:25:45 +03001044 clocks = <&mstp1_clks R8A7790_CLK_JPU>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001045 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Mikhail Ulyanovfb847572015-07-24 16:25:45 +03001046 };
1047
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001048 clocks {
1049 #address-cells = <2>;
1050 #size-cells = <2>;
1051 ranges;
1052
1053 /* External root clock */
Simon Hormanb19dd472016-03-16 09:21:13 +09001054 extal_clk: extal {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001055 compatible = "fixed-clock";
1056 #clock-cells = <0>;
1057 /* This value must be overriden by the board. */
1058 clock-frequency = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001059 };
1060
Phil Edworthy51d17912014-06-13 10:37:16 +01001061 /* External PCIe clock - can be overridden by the board */
Simon Hormanb19dd472016-03-16 09:21:13 +09001062 pcie_bus_clk: pcie_bus {
Phil Edworthy51d17912014-06-13 10:37:16 +01001063 compatible = "fixed-clock";
1064 #clock-cells = <0>;
Geert Uytterhoeven03adc182016-04-25 16:08:33 +02001065 clock-frequency = <0>;
Phil Edworthy51d17912014-06-13 10:37:16 +01001066 };
1067
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -08001068 /*
1069 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
1070 * default. Boards that provide audio clocks should override them.
1071 */
1072 audio_clk_a: audio_clk_a {
1073 compatible = "fixed-clock";
1074 #clock-cells = <0>;
1075 clock-frequency = <0>;
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -08001076 };
1077 audio_clk_b: audio_clk_b {
1078 compatible = "fixed-clock";
1079 #clock-cells = <0>;
1080 clock-frequency = <0>;
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -08001081 };
1082 audio_clk_c: audio_clk_c {
1083 compatible = "fixed-clock";
1084 #clock-cells = <0>;
1085 clock-frequency = <0>;
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -08001086 };
1087
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +01001088 /* External SCIF clock */
1089 scif_clk: scif {
1090 compatible = "fixed-clock";
1091 #clock-cells = <0>;
1092 /* This value must be overridden by the board. */
1093 clock-frequency = <0>;
Geert Uytterhoeven42af65e2016-01-29 11:04:39 +01001094 };
1095
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001096 /* External USB clock - can be overridden by the board */
Simon Hormanb19dd472016-03-16 09:21:13 +09001097 usb_extal_clk: usb_extal {
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001098 compatible = "fixed-clock";
1099 #clock-cells = <0>;
1100 clock-frequency = <48000000>;
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001101 };
1102
1103 /* External CAN clock */
Geert Uytterhoeven5b476a92017-04-03 12:08:07 +02001104 can_clk: can {
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001105 compatible = "fixed-clock";
1106 #clock-cells = <0>;
1107 /* This value must be overridden by the board. */
1108 clock-frequency = <0>;
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001109 };
1110
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001111 /* Special CPG clocks */
1112 cpg_clocks: cpg_clocks@e6150000 {
1113 compatible = "renesas,r8a7790-cpg-clocks",
1114 "renesas,rcar-gen2-cpg-clocks";
1115 reg = <0 0xe6150000 0 0x1000>;
Sergei Shtylyov41650f42015-01-06 00:33:25 +03001116 clocks = <&extal_clk &usb_extal_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001117 #clock-cells = <1>;
1118 clock-output-names = "main", "pll0", "pll1", "pll3",
1119 "lb", "qspi", "sdh", "sd0", "sd1",
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001120 "z", "rcan", "adsp";
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001121 #power-domain-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001122 };
1123
1124 /* Variable factor clocks */
Simon Hormanb19dd472016-03-16 09:21:13 +09001125 sd2_clk: sd2@e6150078 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001126 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1127 reg = <0 0xe6150078 0 4>;
1128 clocks = <&pll1_div2_clk>;
1129 #clock-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001130 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001131 sd3_clk: sd3@e615026c {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001132 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
Shinobu Ueharaedd7b932014-10-30 14:57:57 +09001133 reg = <0 0xe615026c 0 4>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001134 clocks = <&pll1_div2_clk>;
1135 #clock-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001136 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001137 mmc0_clk: mmc0@e6150240 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001138 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1139 reg = <0 0xe6150240 0 4>;
1140 clocks = <&pll1_div2_clk>;
1141 #clock-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001142 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001143 mmc1_clk: mmc1@e6150244 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001144 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1145 reg = <0 0xe6150244 0 4>;
1146 clocks = <&pll1_div2_clk>;
1147 #clock-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001148 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001149 ssp_clk: ssp@e6150248 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001150 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1151 reg = <0 0xe6150248 0 4>;
1152 clocks = <&pll1_div2_clk>;
1153 #clock-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001154 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001155 ssprs_clk: ssprs@e615024c {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001156 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1157 reg = <0 0xe615024c 0 4>;
1158 clocks = <&pll1_div2_clk>;
1159 #clock-cells = <0>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001160 };
1161
1162 /* Fixed factor clocks */
Simon Hormanb19dd472016-03-16 09:21:13 +09001163 pll1_div2_clk: pll1_div2 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001164 compatible = "fixed-factor-clock";
1165 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1166 #clock-cells = <0>;
1167 clock-div = <2>;
1168 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001169 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001170 z2_clk: z2 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001171 compatible = "fixed-factor-clock";
1172 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1173 #clock-cells = <0>;
1174 clock-div = <2>;
1175 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001176 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001177 zg_clk: zg {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001178 compatible = "fixed-factor-clock";
1179 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1180 #clock-cells = <0>;
1181 clock-div = <3>;
1182 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001183 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001184 zx_clk: zx {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001185 compatible = "fixed-factor-clock";
1186 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1187 #clock-cells = <0>;
1188 clock-div = <3>;
1189 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001190 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001191 zs_clk: zs {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001192 compatible = "fixed-factor-clock";
1193 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1194 #clock-cells = <0>;
1195 clock-div = <6>;
1196 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001197 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001198 hp_clk: hp {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001199 compatible = "fixed-factor-clock";
1200 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1201 #clock-cells = <0>;
1202 clock-div = <12>;
1203 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001204 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001205 i_clk: i {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001206 compatible = "fixed-factor-clock";
1207 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1208 #clock-cells = <0>;
1209 clock-div = <2>;
1210 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001211 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001212 b_clk: b {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001213 compatible = "fixed-factor-clock";
1214 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1215 #clock-cells = <0>;
1216 clock-div = <12>;
1217 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001218 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001219 p_clk: p {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001220 compatible = "fixed-factor-clock";
1221 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1222 #clock-cells = <0>;
1223 clock-div = <24>;
1224 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001225 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001226 cl_clk: cl {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001227 compatible = "fixed-factor-clock";
1228 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1229 #clock-cells = <0>;
1230 clock-div = <48>;
1231 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001232 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001233 m2_clk: m2 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001234 compatible = "fixed-factor-clock";
1235 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1236 #clock-cells = <0>;
1237 clock-div = <8>;
1238 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001239 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001240 imp_clk: imp {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001241 compatible = "fixed-factor-clock";
1242 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1243 #clock-cells = <0>;
1244 clock-div = <4>;
1245 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001246 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001247 rclk_clk: rclk {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001248 compatible = "fixed-factor-clock";
1249 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1250 #clock-cells = <0>;
1251 clock-div = <(48 * 1024)>;
1252 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001253 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001254 oscclk_clk: oscclk {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001255 compatible = "fixed-factor-clock";
1256 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1257 #clock-cells = <0>;
1258 clock-div = <(12 * 1024)>;
1259 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001260 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001261 zb3_clk: zb3 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001262 compatible = "fixed-factor-clock";
1263 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1264 #clock-cells = <0>;
1265 clock-div = <4>;
1266 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001267 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001268 zb3d2_clk: zb3d2 {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001269 compatible = "fixed-factor-clock";
1270 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1271 #clock-cells = <0>;
1272 clock-div = <8>;
1273 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001274 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001275 ddr_clk: ddr {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001276 compatible = "fixed-factor-clock";
1277 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1278 #clock-cells = <0>;
1279 clock-div = <8>;
1280 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001281 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001282 mp_clk: mp {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001283 compatible = "fixed-factor-clock";
1284 clocks = <&pll1_div2_clk>;
1285 #clock-cells = <0>;
1286 clock-div = <15>;
1287 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001288 };
Simon Hormanb19dd472016-03-16 09:21:13 +09001289 cp_clk: cp {
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001290 compatible = "fixed-factor-clock";
1291 clocks = <&extal_clk>;
1292 #clock-cells = <0>;
1293 clock-div = <2>;
1294 clock-mult = <1>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001295 };
1296
1297 /* Gate clocks */
Laurent Pinchart9d909512013-12-19 16:51:01 +01001298 mstp0_clks: mstp0_clks@e6150130 {
1299 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1300 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1301 clocks = <&mp_clk>;
1302 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001303 clock-indices = <R8A7790_CLK_MSIOF0>;
Laurent Pinchart9d909512013-12-19 16:51:01 +01001304 clock-output-names = "msiof0";
1305 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001306 mstp1_clks: mstp1_clks@e6150134 {
1307 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1308 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001309 clocks = <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&m2_clk>,
1310 <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>, <&zs_clk>,
1311 <&zs_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
1312 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001313 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001314 clock-indices = <
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001315 R8A7790_CLK_VCP1 R8A7790_CLK_VCP0 R8A7790_CLK_VPC1
1316 R8A7790_CLK_VPC0 R8A7790_CLK_JPU R8A7790_CLK_SSP1
1317 R8A7790_CLK_TMU1 R8A7790_CLK_3DG R8A7790_CLK_2DDMAC
1318 R8A7790_CLK_FDP1_2 R8A7790_CLK_FDP1_1 R8A7790_CLK_FDP1_0
1319 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 R8A7790_CLK_CMT0
1320 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 R8A7790_CLK_VSP1_DU0
1321 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001322 >;
1323 clock-output-names =
Yoshifumi Hosoya4ba8f242014-10-14 16:01:42 +09001324 "vcp1", "vcp0", "vpc1", "vpc0", "jpu", "ssp1",
1325 "tmu1", "3dg", "2ddmac", "fdp1-2", "fdp1-1",
1326 "fdp1-0", "tmu3", "tmu2", "cmt0", "tmu0",
Kouei Abe2284ff52014-10-14 16:01:40 +09001327 "vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001328 };
1329 mstp2_clks: mstp2_clks@e6150138 {
1330 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1331 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1332 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001333 <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&zs_clk>,
1334 <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001335 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001336 clock-indices = <
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001337 R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
Laurent Pinchart9d909512013-12-19 16:51:01 +01001338 R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
1339 R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001340 R8A7790_CLK_SYS_DMAC1 R8A7790_CLK_SYS_DMAC0
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001341 >;
1342 clock-output-names =
Laurent Pinchart9d909512013-12-19 16:51:01 +01001343 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Laurent Pinchartc819acd2014-07-19 01:50:23 +02001344 "scifb1", "msiof1", "msiof3", "scifb2",
1345 "sys-dmac1", "sys-dmac0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001346 };
1347 mstp3_clks: mstp3_clks@e615013c {
1348 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1349 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Geert Uytterhoeven38805822016-03-03 10:32:40 +01001350 clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&p_clk>, <&sd3_clk>,
Wolfram Sang17465142014-03-11 22:24:37 +01001351 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001352 <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
1353 <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001354 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001355 clock-indices = <
Geert Uytterhoeven38805822016-03-03 10:32:40 +01001356 R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SCIF2 R8A7790_CLK_SDHI3
Wolfram Sang17465142014-03-11 22:24:37 +01001357 R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
Phil Edworthyecafea82014-06-13 10:37:15 +01001358 R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001359 R8A7790_CLK_USBDMAC0 R8A7790_CLK_USBDMAC1
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001360 >;
1361 clock-output-names =
Geert Uytterhoeven38805822016-03-03 10:32:40 +01001362 "iic2", "tpu0", "mmcif1", "scif2", "sdhi3",
Wolfram Sang17465142014-03-11 22:24:37 +01001363 "sdhi2", "sdhi1", "sdhi0", "mmcif0",
Yoshihiro Shimodab02ce792014-11-17 18:25:13 +09001364 "iic0", "pciec", "iic1", "ssusb", "cmt1",
1365 "usbdmac0", "usbdmac1";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001366 };
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +01001367 mstp4_clks: mstp4_clks@e6150140 {
1368 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1369 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
Geert Uytterhoeven9e585232017-03-06 17:58:07 +01001370 clocks = <&cp_clk>, <&zs_clk>;
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +01001371 #clock-cells = <1>;
Geert Uytterhoeven9e585232017-03-06 17:58:07 +01001372 clock-indices = <R8A7790_CLK_IRQC R8A7790_CLK_INTC_SYS>;
1373 clock-output-names = "irqc", "intc-sys";
Geert Uytterhoeven61624ca2015-03-18 19:55:59 +01001374 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001375 mstp5_clks: mstp5_clks@e6150144 {
1376 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1377 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001378 clocks = <&hp_clk>, <&hp_clk>, <&cpg_clocks R8A7790_CLK_ADSP>,
1379 <&extal_clk>, <&p_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001380 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001381 clock-indices = <
1382 R8A7790_CLK_AUDIO_DMAC0 R8A7790_CLK_AUDIO_DMAC1
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001383 R8A7790_CLK_ADSP_MOD R8A7790_CLK_THERMAL
1384 R8A7790_CLK_PWM
Ben Dooksb54010a2014-11-10 19:49:37 +01001385 >;
Sergei Shtylyov3453ca92014-12-30 23:21:45 +03001386 clock-output-names = "audmac0", "audmac1", "adsp_mod",
1387 "thermal", "pwm";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001388 };
1389 mstp7_clks: mstp7_clks@e615014c {
1390 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1391 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Kazuya Mizuguchib621f6d2015-02-19 10:42:55 -05001392 clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001393 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
1394 <&zx_clk>;
1395 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001396 clock-indices = <
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001397 R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1
1398 R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0
1399 R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0
1400 R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0
1401 >;
1402 clock-output-names =
1403 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
1404 "scif0", "du2", "du1", "du0", "lvds1", "lvds0";
1405 };
1406 mstp8_clks: mstp8_clks@e6150990 {
1407 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1408 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001409 clocks = <&hp_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>,
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001410 <&zg_clk>, <&hp_clk>, <&p_clk>, <&zs_clk>,
1411 <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001412 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001413 clock-indices = <
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001414 R8A7790_CLK_MLB R8A7790_CLK_VIN3 R8A7790_CLK_VIN2
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001415 R8A7790_CLK_VIN1 R8A7790_CLK_VIN0
1416 R8A7790_CLK_ETHERAVB R8A7790_CLK_ETHER
Andrey Gusakovf6b5dd42014-12-18 23:41:52 +03001417 R8A7790_CLK_SATA1 R8A7790_CLK_SATA0
Laurent Pinchart3f2beaa2014-01-07 09:22:53 +01001418 >;
Laurent Pinchartbccccc32014-01-07 09:22:55 +01001419 clock-output-names =
Sergei Shtylyov63d2d752015-06-16 02:42:42 +03001420 "mlb", "vin3", "vin2", "vin1", "vin0",
1421 "etheravb", "ether", "sata1", "sata0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001422 };
1423 mstp9_clks: mstp9_clks@e6150994 {
1424 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1425 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001426 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
1427 <&cp_clk>, <&cp_clk>, <&cp_clk>,
1428 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
Laurent Pinchart3672b052014-04-01 13:02:17 +02001429 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001430 #clock-cells = <1>;
Ben Dooksb54010a2014-11-10 19:49:37 +01001431 clock-indices = <
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001432 R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
1433 R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
Wolfram Sang17465142014-03-11 22:24:37 +01001434 R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
1435 R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001436 >;
Laurent Pinchart91b56ca2013-12-19 16:51:03 +01001437 clock-output-names =
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001438 "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
Wolfram Sang17465142014-03-11 22:24:37 +01001439 "rcan1", "rcan0", "qspi_mod", "iic3",
1440 "i2c3", "i2c2", "i2c1", "i2c0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001441 };
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001442 mstp10_clks: mstp10_clks@e6150998 {
1443 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1444 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1445 clocks = <&p_clk>,
Geert Uytterhoevend13d4e02017-04-03 11:45:41 +02001446 <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1447 <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1448 <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1449 <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1450 <&mstp10_clks R8A7790_CLK_SSI_ALL>, <&mstp10_clks R8A7790_CLK_SSI_ALL>,
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001451 <&p_clk>,
1452 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1453 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1454 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1455 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1456 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001457 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001458 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>;
1459
1460 #clock-cells = <1>;
1461 clock-indices = <
1462 R8A7790_CLK_SSI_ALL
1463 R8A7790_CLK_SSI9 R8A7790_CLK_SSI8 R8A7790_CLK_SSI7 R8A7790_CLK_SSI6 R8A7790_CLK_SSI5
1464 R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0
1465 R8A7790_CLK_SCU_ALL
1466 R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001467 R8A7790_CLK_SCU_CTU1_MIX1 R8A7790_CLK_SCU_CTU0_MIX0
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001468 R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5
1469 R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0
1470 >;
1471 clock-output-names =
1472 "ssi-all",
1473 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
1474 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
1475 "scu-all",
1476 "scu-dvc1", "scu-dvc0",
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001477 "scu-ctu1-mix1", "scu-ctu0-mix0",
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001478 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
1479 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
1480 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001481 };
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001482
Geert Uytterhoeven328f39b82016-11-14 19:37:11 +01001483 prr: chipid@ff000044 {
1484 compatible = "renesas,prr";
1485 reg = <0 0xff000044 0 4>;
1486 };
1487
Geert Uytterhoevendd2b2672015-06-12 10:08:25 +02001488 rst: reset-controller@e6160000 {
1489 compatible = "renesas,r8a7790-rst";
1490 reg = <0 0xe6160000 0 0x0100>;
1491 };
1492
Geert Uytterhoeven4c8eb3c2015-01-20 14:44:58 +01001493 sysc: system-controller@e6180000 {
1494 compatible = "renesas,r8a7790-sysc";
1495 reg = <0 0xe6180000 0 0x0200>;
1496 #power-domain-cells = <1>;
1497 };
1498
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +01001499 qspi: spi@e6b10000 {
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001500 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
1501 reg = <0 0xe6b10000 0 0x2c>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001502 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001503 clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +02001504 dmas = <&dmac0 0x17>, <&dmac0 0x18>,
1505 <&dmac1 0x17>, <&dmac1 0x18>;
1506 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001507 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001508 num-cs = <1>;
1509 #address-cells = <1>;
1510 #size-cells = <0>;
1511 status = "disabled";
1512 };
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001513
1514 msiof0: spi@e6e20000 {
Simon Horman654450b2016-12-20 11:32:39 +01001515 compatible = "renesas,msiof-r8a7790",
1516 "renesas,rcar-gen2-msiof";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001517 reg = <0 0xe6e20000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001518 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001519 clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +02001520 dmas = <&dmac0 0x51>, <&dmac0 0x52>,
1521 <&dmac1 0x51>, <&dmac1 0x52>;
1522 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001523 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001524 #address-cells = <1>;
1525 #size-cells = <0>;
1526 status = "disabled";
1527 };
1528
1529 msiof1: spi@e6e10000 {
Simon Horman654450b2016-12-20 11:32:39 +01001530 compatible = "renesas,msiof-r8a7790",
1531 "renesas,rcar-gen2-msiof";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001532 reg = <0 0xe6e10000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001533 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001534 clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +02001535 dmas = <&dmac0 0x55>, <&dmac0 0x56>,
1536 <&dmac1 0x55>, <&dmac1 0x56>;
1537 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001538 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001539 #address-cells = <1>;
1540 #size-cells = <0>;
1541 status = "disabled";
1542 };
1543
1544 msiof2: spi@e6e00000 {
Simon Horman654450b2016-12-20 11:32:39 +01001545 compatible = "renesas,msiof-r8a7790",
1546 "renesas,rcar-gen2-msiof";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001547 reg = <0 0xe6e00000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001548 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001549 clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +02001550 dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1551 <&dmac1 0x41>, <&dmac1 0x42>;
1552 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001553 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001554 #address-cells = <1>;
1555 #size-cells = <0>;
1556 status = "disabled";
1557 };
1558
1559 msiof3: spi@e6c90000 {
Simon Horman654450b2016-12-20 11:32:39 +01001560 compatible = "renesas,msiof-r8a7790",
1561 "renesas,rcar-gen2-msiof";
Ryo Kataokac7d1f082015-04-05 01:54:31 +09001562 reg = <0 0xe6c90000 0 0x0064>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001563 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001564 clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
Niklas Söderlundbadf8572016-05-12 10:54:42 +02001565 dmas = <&dmac0 0x45>, <&dmac0 0x46>,
1566 <&dmac1 0x45>, <&dmac1 0x46>;
1567 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001568 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001569 #address-cells = <1>;
1570 #size-cells = <0>;
1571 status = "disabled";
1572 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001573
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001574 xhci: usb@ee000000 {
Simon Horman92cc7792016-03-24 11:01:07 +09001575 compatible = "renesas,xhci-r8a7790", "renesas,rcar-gen2-xhci";
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001576 reg = <0 0xee000000 0 0xc00>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001577 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001578 clocks = <&mstp3_clks R8A7790_CLK_SSUSB>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001579 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Yoshihiro Shimoda157fcd82014-10-24 19:41:46 +09001580 phys = <&usb2 1>;
1581 phy-names = "usb";
1582 status = "disabled";
1583 };
1584
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001585 pci0: pci@ee090000 {
Simon Horman2d82c142015-12-18 11:42:37 +09001586 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001587 device_type = "pci";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001588 reg = <0 0xee090000 0 0xc00>,
1589 <0 0xee080000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001590 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001591 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001592 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001593 status = "disabled";
1594
1595 bus-range = <0 0>;
1596 #address-cells = <3>;
1597 #size-cells = <2>;
1598 #interrupt-cells = <1>;
1599 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1600 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001601 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1602 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1603 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov538c40e2014-09-29 22:21:59 +04001604
1605 usb@0,1 {
1606 reg = <0x800 0 0 0 0>;
1607 device_type = "pci";
1608 phys = <&usb0 0>;
1609 phy-names = "usb";
1610 };
1611
1612 usb@0,2 {
1613 reg = <0x1000 0 0 0 0>;
1614 device_type = "pci";
1615 phys = <&usb0 0>;
1616 phy-names = "usb";
1617 };
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001618 };
1619
1620 pci1: pci@ee0b0000 {
Simon Horman2d82c142015-12-18 11:42:37 +09001621 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001622 device_type = "pci";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001623 reg = <0 0xee0b0000 0 0xc00>,
1624 <0 0xee0a0000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001625 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven484adb02015-08-04 14:28:10 +02001626 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001627 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001628 status = "disabled";
1629
1630 bus-range = <1 1>;
1631 #address-cells = <3>;
1632 #size-cells = <2>;
1633 #interrupt-cells = <1>;
1634 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
1635 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001636 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1637 0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1638 0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001639 };
1640
1641 pci2: pci@ee0d0000 {
Simon Horman2d82c142015-12-18 11:42:37 +09001642 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001643 device_type = "pci";
1644 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001645 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001646 reg = <0 0xee0d0000 0 0xc00>,
1647 <0 0xee0c0000 0 0x1100>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001648 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001649 status = "disabled";
1650
1651 bus-range = <2 2>;
1652 #address-cells = <3>;
1653 #size-cells = <2>;
1654 #interrupt-cells = <1>;
1655 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1656 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001657 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1658 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1659 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov538c40e2014-09-29 22:21:59 +04001660
1661 usb@0,1 {
1662 reg = <0x800 0 0 0 0>;
1663 device_type = "pci";
1664 phys = <&usb2 0>;
1665 phy-names = "usb";
1666 };
1667
1668 usb@0,2 {
1669 reg = <0x1000 0 0 0 0>;
1670 device_type = "pci";
1671 phys = <&usb2 0>;
1672 phy-names = "usb";
1673 };
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001674 };
1675
Phil Edworthy745329d2014-06-13 10:37:17 +01001676 pciec: pcie@fe000000 {
Simon Hormane670be82015-12-18 11:36:02 +09001677 compatible = "renesas,pcie-r8a7790", "renesas,pcie-rcar-gen2";
Phil Edworthy745329d2014-06-13 10:37:17 +01001678 reg = <0 0xfe000000 0 0x80000>;
1679 #address-cells = <3>;
1680 #size-cells = <2>;
1681 bus-range = <0x00 0xff>;
1682 device_type = "pci";
1683 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1684 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1685 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1686 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1687 /* Map all possible DDR as inbound ranges */
1688 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1689 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001690 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1691 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1692 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001693 #interrupt-cells = <1>;
1694 interrupt-map-mask = <0 0 0 0>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001695 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001696 clocks = <&mstp3_clks R8A7790_CLK_PCIEC>, <&pcie_bus_clk>;
1697 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001698 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Phil Edworthy745329d2014-06-13 10:37:17 +01001699 status = "disabled";
1700 };
1701
Geert Uytterhoevenb694e382015-04-27 14:55:28 +02001702 rcar_sound: sound@ec500000 {
Kuninori Morimotoad632412014-12-17 06:11:52 +00001703 /*
1704 * #sound-dai-cells is required
1705 *
1706 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1707 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1708 */
Geert Uytterhoeven31078ec2015-01-06 21:01:52 +01001709 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001710 reg = <0 0xec500000 0 0x1000>, /* SCU */
1711 <0 0xec5a0000 0 0x100>, /* ADG */
1712 <0 0xec540000 0 0x1000>, /* SSIU */
Kuninori Morimoto4bc4a202015-08-24 08:27:56 +00001713 <0 0xec541000 0 0x280>, /* SSI */
Kuninori Morimoto0c602672015-03-10 01:39:39 +00001714 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1715 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Kuninori Morimoto46a158f2015-03-10 01:39:01 +00001716
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001717 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1718 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
1719 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
1720 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
1721 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
1722 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
1723 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
1724 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
1725 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
1726 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
1727 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001728 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001729 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001730 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001731 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1732 clock-names = "ssi-all",
1733 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1734 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1735 "src.9", "src.8", "src.7", "src.6", "src.5",
1736 "src.4", "src.3", "src.2", "src.1", "src.0",
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001737 "ctu.0", "ctu.1",
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001738 "mix.0", "mix.1",
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001739 "dvc.0", "dvc.1",
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001740 "clk_a", "clk_b", "clk_c", "clk_i";
Geert Uytterhoeven36ee3c22015-01-20 14:44:58 +01001741 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001742
1743 status = "disabled";
1744
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001745 rcar_sound,dvc {
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001746 dvc0: dvc-0 {
Kuninori Morimotoc4a59df2017-03-07 05:28:57 +00001747 dmas = <&audma1 0xbc>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001748 dma-names = "tx";
1749 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001750 dvc1: dvc-1 {
Kuninori Morimotoc4a59df2017-03-07 05:28:57 +00001751 dmas = <&audma1 0xbe>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001752 dma-names = "tx";
1753 };
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001754 };
1755
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001756 rcar_sound,mix {
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001757 mix0: mix-0 { };
1758 mix1: mix-1 { };
Kuninori Morimotofc67bf42015-07-21 00:26:42 +00001759 };
1760
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001761 rcar_sound,ctu {
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001762 ctu00: ctu-0 { };
1763 ctu01: ctu-1 { };
1764 ctu02: ctu-2 { };
1765 ctu03: ctu-3 { };
1766 ctu10: ctu-4 { };
1767 ctu11: ctu-5 { };
1768 ctu12: ctu-6 { };
1769 ctu13: ctu-7 { };
Kuninori Morimotoa7163782015-07-21 00:26:20 +00001770 };
1771
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001772 rcar_sound,src {
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001773 src0: src-0 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001774 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001775 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1776 dma-names = "rx", "tx";
1777 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001778 src1: src-1 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001779 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001780 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1781 dma-names = "rx", "tx";
1782 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001783 src2: src-2 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001784 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001785 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1786 dma-names = "rx", "tx";
1787 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001788 src3: src-3 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001789 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001790 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1791 dma-names = "rx", "tx";
1792 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001793 src4: src-4 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001794 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001795 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1796 dma-names = "rx", "tx";
1797 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001798 src5: src-5 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001799 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001800 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1801 dma-names = "rx", "tx";
1802 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001803 src6: src-6 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001804 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001805 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1806 dma-names = "rx", "tx";
1807 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001808 src7: src-7 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001809 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001810 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1811 dma-names = "rx", "tx";
1812 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001813 src8: src-8 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001814 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001815 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1816 dma-names = "rx", "tx";
1817 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001818 src9: src-9 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001819 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001820 dmas = <&audma0 0x97>, <&audma1 0xba>;
1821 dma-names = "rx", "tx";
1822 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001823 };
1824
1825 rcar_sound,ssi {
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001826 ssi0: ssi-0 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001827 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001828 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1829 dma-names = "rx", "tx", "rxu", "txu";
1830 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001831 ssi1: ssi-1 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001832 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001833 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1834 dma-names = "rx", "tx", "rxu", "txu";
1835 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001836 ssi2: ssi-2 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001837 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001838 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1839 dma-names = "rx", "tx", "rxu", "txu";
1840 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001841 ssi3: ssi-3 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001842 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001843 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1844 dma-names = "rx", "tx", "rxu", "txu";
1845 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001846 ssi4: ssi-4 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001847 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001848 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1849 dma-names = "rx", "tx", "rxu", "txu";
1850 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001851 ssi5: ssi-5 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001852 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001853 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1854 dma-names = "rx", "tx", "rxu", "txu";
1855 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001856 ssi6: ssi-6 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001857 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001858 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1859 dma-names = "rx", "tx", "rxu", "txu";
1860 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001861 ssi7: ssi-7 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001862 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001863 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1864 dma-names = "rx", "tx", "rxu", "txu";
1865 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001866 ssi8: ssi-8 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001867 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001868 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1869 dma-names = "rx", "tx", "rxu", "txu";
1870 };
Geert Uytterhoeven2c3de362016-05-20 09:09:56 +02001871 ssi9: ssi-9 {
Simon Horman3abb4d52016-01-15 11:44:15 +09001872 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto118a5092015-03-10 01:40:13 +00001873 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1874 dma-names = "rx", "tx", "rxu", "txu";
1875 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001876 };
1877 };
Laurent Pinchart70496722015-01-27 11:13:23 +02001878
1879 ipmmu_sy0: mmu@e6280000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001880 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001881 reg = <0 0xe6280000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001882 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1883 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001884 #iommu-cells = <1>;
1885 status = "disabled";
1886 };
1887
1888 ipmmu_sy1: mmu@e6290000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001889 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001890 reg = <0 0xe6290000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001891 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001892 #iommu-cells = <1>;
1893 status = "disabled";
1894 };
1895
1896 ipmmu_ds: mmu@e6740000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001897 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001898 reg = <0 0xe6740000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001899 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1900 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001901 #iommu-cells = <1>;
1902 status = "disabled";
1903 };
1904
1905 ipmmu_mp: mmu@ec680000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001906 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001907 reg = <0 0xec680000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001908 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001909 #iommu-cells = <1>;
1910 status = "disabled";
1911 };
1912
1913 ipmmu_mx: mmu@fe951000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001914 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001915 reg = <0 0xfe951000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001916 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1917 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001918 #iommu-cells = <1>;
1919 status = "disabled";
1920 };
1921
1922 ipmmu_rt: mmu@ffc80000 {
Magnus Dammc8d66862015-11-17 13:30:56 +09001923 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
Laurent Pinchart70496722015-01-27 11:13:23 +02001924 reg = <0 0xffc80000 0 0x1000>;
Simon Horman3abb4d52016-01-15 11:44:15 +09001925 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart70496722015-01-27 11:13:23 +02001926 #iommu-cells = <1>;
1927 status = "disabled";
1928 };
Magnus Damm0468b2d2013-03-28 00:49:34 +09001929};