blob: 8f0086bbd96bb27a9ca9978844819c59b624a859 [file] [log] [blame]
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +09001/*
2 * Device Tree Source for the r8a7791 SoC
3 *
Kazuya Mizuguchi118e4e62015-02-19 10:43:10 -05004 * Copyright (C) 2013-2015 Renesas Electronics Corporation
Sergei Shtylyov2e5d55c2014-02-20 02:27:04 +03005 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded Inc.
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +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 Pinchart59e79892013-12-11 15:05:16 +010013#include <dt-bindings/clock/r8a7791-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 Uytterhoeven8574de82015-01-20 14:44:58 +010016#include <dt-bindings/power/r8a7791-sysc.h>
Laurent Pinchart5f75e732013-11-19 03:18:25 +010017
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090018/ {
19 compatible = "renesas,r8a7791";
20 interrupt-parent = <&gic>;
21 #address-cells = <2>;
22 #size-cells = <2>;
23
Wolfram Sang5bd3de72014-02-17 11:44:41 +010024 aliases {
25 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 i2c2 = &i2c2;
28 i2c3 = &i2c3;
29 i2c4 = &i2c4;
30 i2c5 = &i2c5;
Wolfram Sang36408d92014-03-10 12:26:58 +010031 i2c6 = &i2c6;
32 i2c7 = &i2c7;
33 i2c8 = &i2c8;
Geert Uytterhoeven6f3e4ee2014-02-25 11:30:14 +010034 spi0 = &qspi;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +010035 spi1 = &msiof0;
36 spi2 = &msiof1;
37 spi3 = &msiof2;
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +040038 vin0 = &vin0;
39 vin1 = &vin1;
40 vin2 = &vin2;
Wolfram Sang5bd3de72014-02-17 11:44:41 +010041 };
42
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090043 cpus {
44 #address-cells = <1>;
45 #size-cells = <0>;
Magnus Damm477cbcb2016-06-28 16:10:41 +020046 enable-method = "renesas,apmu";
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090047
48 cpu0: cpu@0 {
49 device_type = "cpu";
50 compatible = "arm,cortex-a15";
51 reg = <0>;
Magnus Damm896b79d2014-03-06 12:15:36 +090052 clock-frequency = <1500000000>;
Gaku Inamia57004ec2014-06-03 21:03:10 +090053 voltage-tolerance = <1>; /* 1% */
54 clocks = <&cpg_clocks R8A7791_CLK_Z>;
55 clock-latency = <300000>; /* 300 us */
Geert Uytterhoeven8574de82015-01-20 14:44:58 +010056 power-domains = <&sysc R8A7791_PD_CA15_CPU0>;
Geert Uytterhoeven8ffe93a2015-06-02 14:33:46 +020057 next-level-cache = <&L2_CA15>;
Gaku Inamia57004ec2014-06-03 21:03:10 +090058
59 /* kHz - uV - OPPs unknown yet */
60 operating-points = <1500000 1000000>,
61 <1312500 1000000>,
62 <1125000 1000000>,
63 < 937500 1000000>,
64 < 750000 1000000>,
65 < 375000 1000000>;
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090066 };
Magnus Damm15ab4262013-10-01 17:13:07 +090067
68 cpu1: cpu@1 {
69 device_type = "cpu";
70 compatible = "arm,cortex-a15";
71 reg = <1>;
Magnus Damm896b79d2014-03-06 12:15:36 +090072 clock-frequency = <1500000000>;
Geert Uytterhoeven8574de82015-01-20 14:44:58 +010073 power-domains = <&sysc R8A7791_PD_CA15_CPU1>;
Geert Uytterhoeven8ffe93a2015-06-02 14:33:46 +020074 next-level-cache = <&L2_CA15>;
Magnus Damm15ab4262013-10-01 17:13:07 +090075 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +020076
77 L2_CA15: cache-controller@0 {
78 compatible = "cache";
79 reg = <0>;
80 power-domains = <&sysc R8A7791_PD_CA15_SCU>;
81 cache-unified;
82 cache-level = <2>;
83 };
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090084 };
85
Kuninori Morimotocac68a52016-01-28 02:46:01 +000086 thermal-zones {
87 cpu_thermal: cpu-thermal {
88 polling-delay-passive = <0>;
89 polling-delay = <0>;
90
91 thermal-sensors = <&thermal>;
92
93 trips {
94 cpu-crit {
95 temperature = <115000>;
96 hysteresis = <0>;
97 type = "critical";
98 };
99 };
100 cooling-maps {
101 };
102 };
103 };
104
Magnus Damm477cbcb2016-06-28 16:10:41 +0200105 apmu@e6152000 {
106 compatible = "renesas,r8a7791-apmu", "renesas,apmu";
107 reg = <0 0xe6152000 0 0x188>;
108 cpus = <&cpu0 &cpu1>;
109 };
110
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +0900111 gic: interrupt-controller@f1001000 {
Geert Uytterhoevend238b5e2015-06-17 15:03:34 +0200112 compatible = "arm,gic-400";
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +0900113 #interrupt-cells = <3>;
114 #address-cells = <0>;
115 interrupt-controller;
116 reg = <0 0xf1001000 0 0x1000>,
117 <0 0xf1002000 0 0x1000>,
118 <0 0xf1004000 0 0x2000>,
119 <0 0xf1006000 0 0x2000>;
Simon Horman386a9292016-01-15 11:44:16 +0900120 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +0900121 };
Magnus Dammd77db732013-10-01 17:12:29 +0900122
Magnus Damm89fbba12013-11-21 14:22:00 +0900123 gpio0: gpio@e6050000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900124 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900125 reg = <0 0xe6050000 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900126 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900127 #gpio-cells = <2>;
128 gpio-controller;
129 gpio-ranges = <&pfc 0 0 32>;
130 #interrupt-cells = <2>;
131 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200132 clocks = <&mstp9_clks R8A7791_CLK_GPIO0>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100133 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900134 };
135
Magnus Damm89fbba12013-11-21 14:22:00 +0900136 gpio1: gpio@e6051000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900137 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900138 reg = <0 0xe6051000 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900139 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900140 #gpio-cells = <2>;
141 gpio-controller;
Sergei Shtylyov1329f6d2015-10-22 02:05:19 +0300142 gpio-ranges = <&pfc 0 32 26>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900143 #interrupt-cells = <2>;
144 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200145 clocks = <&mstp9_clks R8A7791_CLK_GPIO1>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100146 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900147 };
148
Magnus Damm89fbba12013-11-21 14:22:00 +0900149 gpio2: gpio@e6052000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900150 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900151 reg = <0 0xe6052000 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900152 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900153 #gpio-cells = <2>;
154 gpio-controller;
155 gpio-ranges = <&pfc 0 64 32>;
156 #interrupt-cells = <2>;
157 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200158 clocks = <&mstp9_clks R8A7791_CLK_GPIO2>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100159 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900160 };
161
Magnus Damm89fbba12013-11-21 14:22:00 +0900162 gpio3: gpio@e6053000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900163 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900164 reg = <0 0xe6053000 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900165 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900166 #gpio-cells = <2>;
167 gpio-controller;
168 gpio-ranges = <&pfc 0 96 32>;
169 #interrupt-cells = <2>;
170 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200171 clocks = <&mstp9_clks R8A7791_CLK_GPIO3>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100172 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900173 };
174
Magnus Damm89fbba12013-11-21 14:22:00 +0900175 gpio4: gpio@e6054000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900176 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900177 reg = <0 0xe6054000 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900178 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900179 #gpio-cells = <2>;
180 gpio-controller;
181 gpio-ranges = <&pfc 0 128 32>;
182 #interrupt-cells = <2>;
183 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200184 clocks = <&mstp9_clks R8A7791_CLK_GPIO4>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100185 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900186 };
187
Magnus Damm89fbba12013-11-21 14:22:00 +0900188 gpio5: gpio@e6055000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900189 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900190 reg = <0 0xe6055000 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900191 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900192 #gpio-cells = <2>;
193 gpio-controller;
194 gpio-ranges = <&pfc 0 160 32>;
195 #interrupt-cells = <2>;
196 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200197 clocks = <&mstp9_clks R8A7791_CLK_GPIO5>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100198 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900199 };
200
Magnus Damm89fbba12013-11-21 14:22:00 +0900201 gpio6: gpio@e6055400 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900202 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900203 reg = <0 0xe6055400 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900204 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900205 #gpio-cells = <2>;
206 gpio-controller;
207 gpio-ranges = <&pfc 0 192 32>;
208 #interrupt-cells = <2>;
209 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200210 clocks = <&mstp9_clks R8A7791_CLK_GPIO6>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100211 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900212 };
213
Magnus Damm89fbba12013-11-21 14:22:00 +0900214 gpio7: gpio@e6055800 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900215 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900216 reg = <0 0xe6055800 0 0x50>;
Simon Horman386a9292016-01-15 11:44:16 +0900217 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900218 #gpio-cells = <2>;
219 gpio-controller;
220 gpio-ranges = <&pfc 0 224 26>;
221 #interrupt-cells = <2>;
222 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200223 clocks = <&mstp9_clks R8A7791_CLK_GPIO7>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100224 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900225 };
226
Kuninori Morimotocac68a52016-01-28 02:46:01 +0000227 thermal: thermal@e61f0000 {
228 compatible = "renesas,thermal-r8a7791",
229 "renesas,rcar-gen2-thermal",
230 "renesas,rcar-thermal";
Magnus Dammd103f4d2013-11-20 16:59:48 +0900231 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Simon Horman386a9292016-01-15 11:44:16 +0900232 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven563bc8e2014-01-07 19:57:13 +0100233 clocks = <&mstp5_clks R8A7791_CLK_THERMAL>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100234 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Kuninori Morimotocac68a52016-01-28 02:46:01 +0000235 #thermal-sensor-cells = <0>;
Magnus Dammd103f4d2013-11-20 16:59:48 +0900236 };
237
Magnus Damm03586ac2013-10-01 17:12:38 +0900238 timer {
239 compatible = "arm,armv7-timer";
Simon Horman386a9292016-01-15 11:44:16 +0900240 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
241 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
242 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
243 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm03586ac2013-10-01 17:12:38 +0900244 };
245
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200246 cmt0: timer@ffca0000 {
Simon Horman4217f322014-09-08 09:27:46 +0900247 compatible = "renesas,cmt-48-r8a7791", "renesas,cmt-48-gen2";
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200248 reg = <0 0xffca0000 0 0x1004>;
Simon Horman386a9292016-01-15 11:44:16 +0900249 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
250 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200251 clocks = <&mstp1_clks R8A7791_CLK_CMT0>;
252 clock-names = "fck";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100253 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200254
255 renesas,channels-mask = <0x60>;
256
257 status = "disabled";
258 };
259
260 cmt1: timer@e6130000 {
Simon Horman4217f322014-09-08 09:27:46 +0900261 compatible = "renesas,cmt-48-r8a7791", "renesas,cmt-48-gen2";
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200262 reg = <0 0xe6130000 0 0x1004>;
Simon Horman386a9292016-01-15 11:44:16 +0900263 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
264 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
265 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
266 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
269 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
270 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200271 clocks = <&mstp3_clks R8A7791_CLK_CMT1>;
272 clock-names = "fck";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100273 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200274
275 renesas,channels-mask = <0xff>;
276
277 status = "disabled";
278 };
279
Magnus Dammd77db732013-10-01 17:12:29 +0900280 irqc0: interrupt-controller@e61c0000 {
Magnus Damm26041b02013-11-20 13:18:05 +0900281 compatible = "renesas,irqc-r8a7791", "renesas,irqc";
Magnus Dammd77db732013-10-01 17:12:29 +0900282 #interrupt-cells = <2>;
283 interrupt-controller;
284 reg = <0 0xe61c0000 0 0x200>;
Simon Horman386a9292016-01-15 11:44:16 +0900285 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
286 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
287 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
288 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
289 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
290 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
291 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
292 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven62d386c2015-03-18 19:56:00 +0100295 clocks = <&mstp4_clks R8A7791_CLK_IRQC>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100296 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammd77db732013-10-01 17:12:29 +0900297 };
Magnus Damm55146922013-10-08 12:39:01 +0900298
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200299 dmac0: dma-controller@e6700000 {
Simon Hormane6d12b42015-11-13 11:23:49 +0900300 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200301 reg = <0 0xe6700000 0 0x20000>;
Simon Horman386a9292016-01-15 11:44:16 +0900302 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
303 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
304 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
305 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
306 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
307 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
308 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
309 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
310 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
311 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
312 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
313 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
314 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
315 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
316 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
317 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200318 interrupt-names = "error",
319 "ch0", "ch1", "ch2", "ch3",
320 "ch4", "ch5", "ch6", "ch7",
321 "ch8", "ch9", "ch10", "ch11",
322 "ch12", "ch13", "ch14";
323 clocks = <&mstp2_clks R8A7791_CLK_SYS_DMAC0>;
324 clock-names = "fck";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100325 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200326 #dma-cells = <1>;
327 dma-channels = <15>;
328 };
329
330 dmac1: dma-controller@e6720000 {
Simon Hormane6d12b42015-11-13 11:23:49 +0900331 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200332 reg = <0 0xe6720000 0 0x20000>;
Simon Horman386a9292016-01-15 11:44:16 +0900333 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
334 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
335 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
336 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
337 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
338 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
339 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
340 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
341 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
342 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
343 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
344 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
345 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
346 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
347 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
348 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200349 interrupt-names = "error",
350 "ch0", "ch1", "ch2", "ch3",
351 "ch4", "ch5", "ch6", "ch7",
352 "ch8", "ch9", "ch10", "ch11",
353 "ch12", "ch13", "ch14";
354 clocks = <&mstp2_clks R8A7791_CLK_SYS_DMAC1>;
355 clock-names = "fck";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100356 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200357 #dma-cells = <1>;
358 dma-channels = <15>;
359 };
360
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800361 audma0: dma-controller@ec700000 {
Simon Hormane6d12b42015-11-13 11:23:49 +0900362 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800363 reg = <0 0xec700000 0 0x10000>;
Simon Horman386a9292016-01-15 11:44:16 +0900364 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
365 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
366 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
367 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
368 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
369 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
370 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
371 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
372 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
373 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
374 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
375 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
376 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
377 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800378 interrupt-names = "error",
379 "ch0", "ch1", "ch2", "ch3",
380 "ch4", "ch5", "ch6", "ch7",
381 "ch8", "ch9", "ch10", "ch11",
382 "ch12";
383 clocks = <&mstp5_clks R8A7791_CLK_AUDIO_DMAC0>;
384 clock-names = "fck";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100385 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800386 #dma-cells = <1>;
387 dma-channels = <13>;
388 };
389
390 audma1: dma-controller@ec720000 {
Simon Hormane6d12b42015-11-13 11:23:49 +0900391 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800392 reg = <0 0xec720000 0 0x10000>;
Simon Horman386a9292016-01-15 11:44:16 +0900393 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
394 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
395 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
396 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
397 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
398 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
399 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
400 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
401 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
402 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
403 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
404 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
405 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
406 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800407 interrupt-names = "error",
408 "ch0", "ch1", "ch2", "ch3",
409 "ch4", "ch5", "ch6", "ch7",
410 "ch8", "ch9", "ch10", "ch11",
411 "ch12";
412 clocks = <&mstp5_clks R8A7791_CLK_AUDIO_DMAC1>;
413 clock-names = "fck";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100414 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800415 #dma-cells = <1>;
416 dma-channels = <13>;
417 };
418
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900419 usb_dmac0: dma-controller@e65a0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900420 compatible = "renesas,r8a7791-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900421 reg = <0 0xe65a0000 0 0x100>;
Simon Horman386a9292016-01-15 11:44:16 +0900422 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
423 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900424 interrupt-names = "ch0", "ch1";
425 clocks = <&mstp3_clks R8A7791_CLK_USBDMAC0>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100426 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900427 #dma-cells = <1>;
428 dma-channels = <2>;
429 };
430
431 usb_dmac1: dma-controller@e65b0000 {
Simon Hormand01c8be2015-12-11 11:59:38 +0900432 compatible = "renesas,r8a7791-usb-dmac", "renesas,usb-dmac";
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900433 reg = <0 0xe65b0000 0 0x100>;
Simon Horman386a9292016-01-15 11:44:16 +0900434 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
435 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900436 interrupt-names = "ch0", "ch1";
437 clocks = <&mstp3_clks R8A7791_CLK_USBDMAC1>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100438 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900439 #dma-cells = <1>;
440 dma-channels = <2>;
441 };
442
Wolfram Sang36408d92014-03-10 12:26:58 +0100443 /* The memory map in the User's Manual maps the cores to bus numbers */
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100444 i2c0: i2c@e6508000 {
445 #address-cells = <1>;
446 #size-cells = <0>;
447 compatible = "renesas,i2c-r8a7791";
448 reg = <0 0xe6508000 0 0x40>;
Simon Horman386a9292016-01-15 11:44:16 +0900449 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100450 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100451 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang49160dc2015-12-08 10:37:51 +0100452 i2c-scl-internal-delay-ns = <6>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100453 status = "disabled";
454 };
455
456 i2c1: i2c@e6518000 {
457 #address-cells = <1>;
458 #size-cells = <0>;
459 compatible = "renesas,i2c-r8a7791";
460 reg = <0 0xe6518000 0 0x40>;
Simon Horman386a9292016-01-15 11:44:16 +0900461 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100462 clocks = <&mstp9_clks R8A7791_CLK_I2C1>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100463 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang49160dc2015-12-08 10:37:51 +0100464 i2c-scl-internal-delay-ns = <6>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100465 status = "disabled";
466 };
467
468 i2c2: i2c@e6530000 {
469 #address-cells = <1>;
470 #size-cells = <0>;
471 compatible = "renesas,i2c-r8a7791";
472 reg = <0 0xe6530000 0 0x40>;
Simon Horman386a9292016-01-15 11:44:16 +0900473 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100474 clocks = <&mstp9_clks R8A7791_CLK_I2C2>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100475 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang49160dc2015-12-08 10:37:51 +0100476 i2c-scl-internal-delay-ns = <6>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100477 status = "disabled";
478 };
479
480 i2c3: i2c@e6540000 {
481 #address-cells = <1>;
482 #size-cells = <0>;
483 compatible = "renesas,i2c-r8a7791";
484 reg = <0 0xe6540000 0 0x40>;
Simon Horman386a9292016-01-15 11:44:16 +0900485 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100486 clocks = <&mstp9_clks R8A7791_CLK_I2C3>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100487 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang49160dc2015-12-08 10:37:51 +0100488 i2c-scl-internal-delay-ns = <6>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100489 status = "disabled";
490 };
491
492 i2c4: i2c@e6520000 {
493 #address-cells = <1>;
494 #size-cells = <0>;
495 compatible = "renesas,i2c-r8a7791";
496 reg = <0 0xe6520000 0 0x40>;
Simon Horman386a9292016-01-15 11:44:16 +0900497 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100498 clocks = <&mstp9_clks R8A7791_CLK_I2C4>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100499 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang49160dc2015-12-08 10:37:51 +0100500 i2c-scl-internal-delay-ns = <6>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100501 status = "disabled";
502 };
503
504 i2c5: i2c@e6528000 {
Wolfram Sang36408d92014-03-10 12:26:58 +0100505 /* doesn't need pinmux */
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100506 #address-cells = <1>;
507 #size-cells = <0>;
508 compatible = "renesas,i2c-r8a7791";
509 reg = <0 0xe6528000 0 0x40>;
Simon Horman386a9292016-01-15 11:44:16 +0900510 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100511 clocks = <&mstp9_clks R8A7791_CLK_I2C5>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100512 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang49160dc2015-12-08 10:37:51 +0100513 i2c-scl-internal-delay-ns = <110>;
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100514 status = "disabled";
515 };
516
Wolfram Sang36408d92014-03-10 12:26:58 +0100517 i2c6: i2c@e60b0000 {
518 /* doesn't need pinmux */
519 #address-cells = <1>;
520 #size-cells = <0>;
521 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
522 reg = <0 0xe60b0000 0 0x425>;
Simon Horman386a9292016-01-15 11:44:16 +0900523 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang36408d92014-03-10 12:26:58 +0100524 clocks = <&mstp9_clks R8A7791_CLK_IICDVFS>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200525 dmas = <&dmac0 0x77>, <&dmac0 0x78>,
526 <&dmac1 0x77>, <&dmac1 0x78>;
527 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100528 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang36408d92014-03-10 12:26:58 +0100529 status = "disabled";
530 };
531
532 i2c7: i2c@e6500000 {
533 #address-cells = <1>;
534 #size-cells = <0>;
535 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
536 reg = <0 0xe6500000 0 0x425>;
Simon Horman386a9292016-01-15 11:44:16 +0900537 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang36408d92014-03-10 12:26:58 +0100538 clocks = <&mstp3_clks R8A7791_CLK_IIC0>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200539 dmas = <&dmac0 0x61>, <&dmac0 0x62>,
540 <&dmac1 0x61>, <&dmac1 0x62>;
541 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100542 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang36408d92014-03-10 12:26:58 +0100543 status = "disabled";
544 };
545
546 i2c8: i2c@e6510000 {
547 #address-cells = <1>;
548 #size-cells = <0>;
549 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
550 reg = <0 0xe6510000 0 0x425>;
Simon Horman386a9292016-01-15 11:44:16 +0900551 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang36408d92014-03-10 12:26:58 +0100552 clocks = <&mstp3_clks R8A7791_CLK_IIC1>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200553 dmas = <&dmac0 0x65>, <&dmac0 0x66>,
554 <&dmac1 0x65>, <&dmac1 0x66>;
555 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100556 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Wolfram Sang36408d92014-03-10 12:26:58 +0100557 status = "disabled";
558 };
559
Magnus Damm55146922013-10-08 12:39:01 +0900560 pfc: pfc@e6060000 {
561 compatible = "renesas,pfc-r8a7791";
562 reg = <0 0xe6060000 0 0x250>;
Magnus Damm55146922013-10-08 12:39:01 +0900563 };
Laurent Pinchart59e79892013-12-11 15:05:16 +0100564
Laurent Pinchart8edae492014-10-26 19:40:12 +0200565 mmcif0: mmc@ee200000 {
566 compatible = "renesas,mmcif-r8a7791", "renesas,sh-mmcif";
567 reg = <0 0xee200000 0 0x80>;
Simon Horman386a9292016-01-15 11:44:16 +0900568 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart8edae492014-10-26 19:40:12 +0200569 clocks = <&mstp3_clks R8A7791_CLK_MMCIF0>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200570 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
571 <&dmac1 0xd1>, <&dmac1 0xd2>;
572 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100573 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart8edae492014-10-26 19:40:12 +0200574 reg-io-width = <4>;
575 status = "disabled";
Kuninori Morimotod957ab82015-05-14 07:23:20 +0000576 max-frequency = <97500000>;
Laurent Pinchart8edae492014-10-26 19:40:12 +0200577 };
578
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900579 sdhi0: sd@ee100000 {
580 compatible = "renesas,sdhi-r8a7791";
Kuninori Morimotoe849b062015-02-24 02:20:52 +0000581 reg = <0 0xee100000 0 0x328>;
Simon Horman386a9292016-01-15 11:44:16 +0900582 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900583 clocks = <&mstp3_clks R8A7791_CLK_SDHI0>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200584 dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
585 <&dmac1 0xcd>, <&dmac1 0xce>;
586 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100587 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900588 status = "disabled";
589 };
590
591 sdhi1: sd@ee140000 {
592 compatible = "renesas,sdhi-r8a7791";
593 reg = <0 0xee140000 0 0x100>;
Simon Horman386a9292016-01-15 11:44:16 +0900594 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900595 clocks = <&mstp3_clks R8A7791_CLK_SDHI1>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200596 dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
597 <&dmac1 0xc1>, <&dmac1 0xc2>;
598 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100599 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900600 status = "disabled";
601 };
602
603 sdhi2: sd@ee160000 {
604 compatible = "renesas,sdhi-r8a7791";
605 reg = <0 0xee160000 0 0x100>;
Simon Horman386a9292016-01-15 11:44:16 +0900606 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900607 clocks = <&mstp3_clks R8A7791_CLK_SDHI2>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200608 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
609 <&dmac1 0xd3>, <&dmac1 0xd4>;
610 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100611 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900612 status = "disabled";
613 };
614
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100615 scifa0: serial@e6c40000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100616 compatible = "renesas,scifa-r8a7791",
617 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100618 reg = <0 0xe6c40000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900619 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100620 clocks = <&mstp2_clks R8A7791_CLK_SCIFA0>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100621 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200622 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
623 <&dmac1 0x21>, <&dmac1 0x22>;
624 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100625 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100626 status = "disabled";
627 };
628
629 scifa1: serial@e6c50000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100630 compatible = "renesas,scifa-r8a7791",
631 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100632 reg = <0 0xe6c50000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900633 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100634 clocks = <&mstp2_clks R8A7791_CLK_SCIFA1>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100635 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200636 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
637 <&dmac1 0x25>, <&dmac1 0x26>;
638 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100639 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100640 status = "disabled";
641 };
642
643 scifa2: serial@e6c60000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100644 compatible = "renesas,scifa-r8a7791",
645 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100646 reg = <0 0xe6c60000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900647 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100648 clocks = <&mstp2_clks R8A7791_CLK_SCIFA2>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100649 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200650 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
651 <&dmac1 0x27>, <&dmac1 0x28>;
652 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100653 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100654 status = "disabled";
655 };
656
657 scifa3: serial@e6c70000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100658 compatible = "renesas,scifa-r8a7791",
659 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100660 reg = <0 0xe6c70000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900661 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100662 clocks = <&mstp11_clks R8A7791_CLK_SCIFA3>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100663 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200664 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
665 <&dmac1 0x1b>, <&dmac1 0x1c>;
666 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100667 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100668 status = "disabled";
669 };
670
671 scifa4: serial@e6c78000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100672 compatible = "renesas,scifa-r8a7791",
673 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100674 reg = <0 0xe6c78000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900675 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100676 clocks = <&mstp11_clks R8A7791_CLK_SCIFA4>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100677 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200678 dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
679 <&dmac1 0x1f>, <&dmac1 0x20>;
680 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100681 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100682 status = "disabled";
683 };
684
685 scifa5: serial@e6c80000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100686 compatible = "renesas,scifa-r8a7791",
687 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100688 reg = <0 0xe6c80000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900689 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100690 clocks = <&mstp11_clks R8A7791_CLK_SCIFA5>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100691 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200692 dmas = <&dmac0 0x23>, <&dmac0 0x24>,
693 <&dmac1 0x23>, <&dmac1 0x24>;
694 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100695 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100696 status = "disabled";
697 };
698
699 scifb0: serial@e6c20000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100700 compatible = "renesas,scifb-r8a7791",
701 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100702 reg = <0 0xe6c20000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900703 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100704 clocks = <&mstp2_clks R8A7791_CLK_SCIFB0>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100705 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200706 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
707 <&dmac1 0x3d>, <&dmac1 0x3e>;
708 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100709 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100710 status = "disabled";
711 };
712
713 scifb1: serial@e6c30000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100714 compatible = "renesas,scifb-r8a7791",
715 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100716 reg = <0 0xe6c30000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900717 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100718 clocks = <&mstp2_clks R8A7791_CLK_SCIFB1>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100719 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200720 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
721 <&dmac1 0x19>, <&dmac1 0x1a>;
722 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100723 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100724 status = "disabled";
725 };
726
727 scifb2: serial@e6ce0000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100728 compatible = "renesas,scifb-r8a7791",
729 "renesas,rcar-gen2-scifb", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100730 reg = <0 0xe6ce0000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900731 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100732 clocks = <&mstp2_clks R8A7791_CLK_SCIFB2>;
Laurent Pinchartbb7ca192016-01-29 10:47:38 +0100733 clock-names = "fck";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200734 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
735 <&dmac1 0x1d>, <&dmac1 0x1e>;
736 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100737 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100738 status = "disabled";
739 };
740
741 scif0: serial@e6e60000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100742 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
743 "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100744 reg = <0 0xe6e60000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900745 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100746 clocks = <&mstp7_clks R8A7791_CLK_SCIF0>, <&zs_clk>,
747 <&scif_clk>;
748 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200749 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
750 <&dmac1 0x29>, <&dmac1 0x2a>;
751 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100752 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100753 status = "disabled";
754 };
755
756 scif1: serial@e6e68000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100757 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
758 "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100759 reg = <0 0xe6e68000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900760 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100761 clocks = <&mstp7_clks R8A7791_CLK_SCIF1>, <&zs_clk>,
762 <&scif_clk>;
763 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200764 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
765 <&dmac1 0x2d>, <&dmac1 0x2e>;
766 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100767 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100768 status = "disabled";
769 };
770
771 scif2: serial@e6e58000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100772 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
773 "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100774 reg = <0 0xe6e58000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900775 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100776 clocks = <&mstp7_clks R8A7791_CLK_SCIF2>, <&zs_clk>,
777 <&scif_clk>;
778 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200779 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
780 <&dmac1 0x2b>, <&dmac1 0x2c>;
781 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100782 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100783 status = "disabled";
784 };
785
786 scif3: serial@e6ea8000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100787 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
788 "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100789 reg = <0 0xe6ea8000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900790 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100791 clocks = <&mstp7_clks R8A7791_CLK_SCIF3>, <&zs_clk>,
792 <&scif_clk>;
793 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200794 dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
795 <&dmac1 0x2f>, <&dmac1 0x30>;
796 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100797 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100798 status = "disabled";
799 };
800
801 scif4: serial@e6ee0000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100802 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
803 "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100804 reg = <0 0xe6ee0000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900805 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100806 clocks = <&mstp7_clks R8A7791_CLK_SCIF4>, <&zs_clk>,
807 <&scif_clk>;
808 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200809 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
810 <&dmac1 0xfb>, <&dmac1 0xfc>;
811 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100812 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100813 status = "disabled";
814 };
815
816 scif5: serial@e6ee8000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100817 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
818 "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100819 reg = <0 0xe6ee8000 0 64>;
Simon Horman386a9292016-01-15 11:44:16 +0900820 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100821 clocks = <&mstp7_clks R8A7791_CLK_SCIF5>, <&zs_clk>,
822 <&scif_clk>;
823 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200824 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
825 <&dmac1 0xfd>, <&dmac1 0xfe>;
826 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100827 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100828 status = "disabled";
829 };
830
831 hscif0: serial@e62c0000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100832 compatible = "renesas,hscif-r8a7791",
833 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100834 reg = <0 0xe62c0000 0 96>;
Simon Horman386a9292016-01-15 11:44:16 +0900835 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100836 clocks = <&mstp7_clks R8A7791_CLK_HSCIF0>, <&zs_clk>,
837 <&scif_clk>;
838 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200839 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
840 <&dmac1 0x39>, <&dmac1 0x3a>;
841 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100842 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100843 status = "disabled";
844 };
845
846 hscif1: serial@e62c8000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100847 compatible = "renesas,hscif-r8a7791",
848 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100849 reg = <0 0xe62c8000 0 96>;
Simon Horman386a9292016-01-15 11:44:16 +0900850 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100851 clocks = <&mstp7_clks R8A7791_CLK_HSCIF1>, <&zs_clk>,
852 <&scif_clk>;
853 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200854 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
855 <&dmac1 0x4d>, <&dmac1 0x4e>;
856 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100857 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100858 status = "disabled";
859 };
860
861 hscif2: serial@e62d0000 {
Geert Uytterhoevenb5b52dd2016-01-29 10:32:05 +0100862 compatible = "renesas,hscif-r8a7791",
863 "renesas,rcar-gen2-hscif", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100864 reg = <0 0xe62d0000 0 96>;
Simon Horman386a9292016-01-15 11:44:16 +0900865 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +0100866 clocks = <&mstp7_clks R8A7791_CLK_HSCIF2>, <&zs_clk>,
867 <&scif_clk>;
868 clock-names = "fck", "brg_int", "scif_clk";
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +0200869 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
870 <&dmac1 0x3b>, <&dmac1 0x3c>;
871 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100872 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100873 status = "disabled";
874 };
875
Sergei Shtylyov2e5d55c2014-02-20 02:27:04 +0300876 ether: ethernet@ee700000 {
877 compatible = "renesas,ether-r8a7791";
878 reg = <0 0xee700000 0 0x400>;
Simon Horman386a9292016-01-15 11:44:16 +0900879 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov2e5d55c2014-02-20 02:27:04 +0300880 clocks = <&mstp8_clks R8A7791_CLK_ETHER>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100881 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov2e5d55c2014-02-20 02:27:04 +0300882 phy-mode = "rmii";
883 #address-cells = <1>;
884 #size-cells = <0>;
885 status = "disabled";
886 };
887
Sergei Shtylyov46ece342015-12-03 01:23:03 +0300888 avb: ethernet@e6800000 {
889 compatible = "renesas,etheravb-r8a7791",
890 "renesas,etheravb-rcar-gen2";
891 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
Simon Horman386a9292016-01-15 11:44:16 +0900892 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov46ece342015-12-03 01:23:03 +0300893 clocks = <&mstp8_clks R8A7791_CLK_ETHERAVB>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100894 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov46ece342015-12-03 01:23:03 +0300895 #address-cells = <1>;
896 #size-cells = <0>;
897 status = "disabled";
898 };
899
Valentine Barshakb8532c62014-01-14 21:05:40 +0400900 sata0: sata@ee300000 {
901 compatible = "renesas,sata-r8a7791";
902 reg = <0 0xee300000 0 0x2000>;
Simon Horman386a9292016-01-15 11:44:16 +0900903 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400904 clocks = <&mstp8_clks R8A7791_CLK_SATA0>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100905 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400906 status = "disabled";
907 };
908
909 sata1: sata@ee500000 {
910 compatible = "renesas,sata-r8a7791";
911 reg = <0 0xee500000 0 0x2000>;
Simon Horman386a9292016-01-15 11:44:16 +0900912 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400913 clocks = <&mstp8_clks R8A7791_CLK_SATA1>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100914 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400915 status = "disabled";
916 };
917
Yoshihiro Shimoda1c1fee72014-10-24 19:45:06 +0900918 hsusb: usb@e6590000 {
Simon Horman8cf1d452016-01-04 08:20:18 +1100919 compatible = "renesas,usbhs-r8a7791", "renesas,rcar-gen2-usbhs";
Yoshihiro Shimoda1c1fee72014-10-24 19:45:06 +0900920 reg = <0 0xe6590000 0 0x100>;
Simon Horman386a9292016-01-15 11:44:16 +0900921 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimoda1c1fee72014-10-24 19:45:06 +0900922 clocks = <&mstp7_clks R8A7791_CLK_HSUSB>;
Yoshihiro Shimoda77069932015-05-08 16:13:34 +0900923 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
924 <&usb_dmac1 0>, <&usb_dmac1 1>;
925 dma-names = "ch0", "ch1", "ch2", "ch3";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100926 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Geert Uytterhoeven797a0622015-08-04 14:28:11 +0200927 renesas,buswait = <4>;
928 phys = <&usb0 1>;
929 phy-names = "usb";
Yoshihiro Shimoda1c1fee72014-10-24 19:45:06 +0900930 status = "disabled";
931 };
932
Sergei Shtylyov3b7e5302014-09-27 01:08:12 +0400933 usbphy: usb-phy@e6590100 {
934 compatible = "renesas,usb-phy-r8a7791";
935 reg = <0 0xe6590100 0 0x100>;
936 #address-cells = <1>;
937 #size-cells = <0>;
938 clocks = <&mstp7_clks R8A7791_CLK_HSUSB>;
939 clock-names = "usbhs";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100940 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov3b7e5302014-09-27 01:08:12 +0400941 status = "disabled";
942
943 usb0: usb-channel@0 {
944 reg = <0>;
945 #phy-cells = <1>;
946 };
947 usb2: usb-channel@2 {
948 reg = <2>;
949 #phy-cells = <1>;
950 };
951 };
952
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400953 vin0: video@e6ef0000 {
954 compatible = "renesas,vin-r8a7791";
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400955 reg = <0 0xe6ef0000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +0900956 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven797a0622015-08-04 14:28:11 +0200957 clocks = <&mstp8_clks R8A7791_CLK_VIN0>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100958 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400959 status = "disabled";
960 };
961
962 vin1: video@e6ef1000 {
963 compatible = "renesas,vin-r8a7791";
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400964 reg = <0 0xe6ef1000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +0900965 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven797a0622015-08-04 14:28:11 +0200966 clocks = <&mstp8_clks R8A7791_CLK_VIN1>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100967 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400968 status = "disabled";
969 };
970
971 vin2: video@e6ef2000 {
972 compatible = "renesas,vin-r8a7791";
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400973 reg = <0 0xe6ef2000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +0900974 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven797a0622015-08-04 14:28:11 +0200975 clocks = <&mstp8_clks R8A7791_CLK_VIN2>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100976 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400977 status = "disabled";
978 };
979
Laurent Pinchart8eefac22014-01-21 16:00:46 +0100980 vsp1@fe928000 {
981 compatible = "renesas,vsp1";
982 reg = <0 0xfe928000 0 0x8000>;
Simon Horman386a9292016-01-15 11:44:16 +0900983 interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart8eefac22014-01-21 16:00:46 +0100984 clocks = <&mstp1_clks R8A7791_CLK_VSP1_S>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100985 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart8eefac22014-01-21 16:00:46 +0100986
987 renesas,has-lut;
988 renesas,has-sru;
989 renesas,#rpf = <5>;
990 renesas,#uds = <3>;
991 renesas,#wpf = <4>;
992 };
993
994 vsp1@fe930000 {
995 compatible = "renesas,vsp1";
996 reg = <0 0xfe930000 0 0x8000>;
Simon Horman386a9292016-01-15 11:44:16 +0900997 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart8eefac22014-01-21 16:00:46 +0100998 clocks = <&mstp1_clks R8A7791_CLK_VSP1_DU0>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +0100999 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart8eefac22014-01-21 16:00:46 +01001000
1001 renesas,has-lif;
1002 renesas,has-lut;
1003 renesas,#rpf = <4>;
1004 renesas,#uds = <1>;
1005 renesas,#wpf = <4>;
1006 };
1007
1008 vsp1@fe938000 {
1009 compatible = "renesas,vsp1";
1010 reg = <0 0xfe938000 0 0x8000>;
Simon Horman386a9292016-01-15 11:44:16 +09001011 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart8eefac22014-01-21 16:00:46 +01001012 clocks = <&mstp1_clks R8A7791_CLK_VSP1_DU1>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001013 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Laurent Pinchart8eefac22014-01-21 16:00:46 +01001014
1015 renesas,has-lif;
1016 renesas,has-lut;
1017 renesas,#rpf = <4>;
1018 renesas,#uds = <1>;
1019 renesas,#wpf = <4>;
1020 };
1021
1022 du: display@feb00000 {
1023 compatible = "renesas,du-r8a7791";
1024 reg = <0 0xfeb00000 0 0x40000>,
1025 <0 0xfeb90000 0 0x1c>;
1026 reg-names = "du", "lvds.0";
Simon Horman386a9292016-01-15 11:44:16 +09001027 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1028 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart8eefac22014-01-21 16:00:46 +01001029 clocks = <&mstp7_clks R8A7791_CLK_DU0>,
1030 <&mstp7_clks R8A7791_CLK_DU1>,
1031 <&mstp7_clks R8A7791_CLK_LVDS0>;
1032 clock-names = "du.0", "du.1", "lvds.0";
1033 status = "disabled";
1034
1035 ports {
1036 #address-cells = <1>;
1037 #size-cells = <0>;
1038
1039 port@0 {
1040 reg = <0>;
1041 du_out_rgb: endpoint {
1042 };
1043 };
1044 port@1 {
1045 reg = <1>;
1046 du_out_lvds0: endpoint {
1047 };
1048 };
1049 };
1050 };
1051
Sergei Shtylyov3cf01882015-01-06 01:25:25 +03001052 can0: can@e6e80000 {
Simon Horman73ae9cf2016-03-14 11:13:58 +09001053 compatible = "renesas,can-r8a7791", "renesas,rcar-gen2-can";
Sergei Shtylyov3cf01882015-01-06 01:25:25 +03001054 reg = <0 0xe6e80000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001055 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov3cf01882015-01-06 01:25:25 +03001056 clocks = <&mstp9_clks R8A7791_CLK_RCAN0>,
1057 <&cpg_clocks R8A7791_CLK_RCAN>, <&can_clk>;
1058 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001059 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov3cf01882015-01-06 01:25:25 +03001060 status = "disabled";
1061 };
1062
1063 can1: can@e6e88000 {
Simon Horman73ae9cf2016-03-14 11:13:58 +09001064 compatible = "renesas,can-r8a7791", "renesas,rcar-gen2-can";
Sergei Shtylyov3cf01882015-01-06 01:25:25 +03001065 reg = <0 0xe6e88000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001066 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyov3cf01882015-01-06 01:25:25 +03001067 clocks = <&mstp9_clks R8A7791_CLK_RCAN1>,
1068 <&cpg_clocks R8A7791_CLK_RCAN>, <&can_clk>;
1069 clock-names = "clkp1", "clkp2", "can_clk";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001070 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyov3cf01882015-01-06 01:25:25 +03001071 status = "disabled";
1072 };
1073
Mikhail Ulyanov0caa3662015-07-24 16:25:46 +03001074 jpu: jpeg-codec@fe980000 {
Simon Horman803f7e02016-02-24 11:29:06 +09001075 compatible = "renesas,jpu-r8a7791", "renesas,rcar-gen2-jpu";
Mikhail Ulyanov0caa3662015-07-24 16:25:46 +03001076 reg = <0 0xfe980000 0 0x10300>;
Simon Horman386a9292016-01-15 11:44:16 +09001077 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
Mikhail Ulyanov0caa3662015-07-24 16:25:46 +03001078 clocks = <&mstp1_clks R8A7791_CLK_JPU>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001079 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Mikhail Ulyanov0caa3662015-07-24 16:25:46 +03001080 };
1081
Laurent Pinchart59e79892013-12-11 15:05:16 +01001082 clocks {
1083 #address-cells = <2>;
1084 #size-cells = <2>;
1085 ranges;
1086
1087 /* External root clock */
Simon Hormanf6176042016-03-18 08:16:23 +09001088 extal_clk: extal {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001089 compatible = "fixed-clock";
1090 #clock-cells = <0>;
1091 /* This value must be overriden by the board. */
1092 clock-frequency = <0>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001093 };
1094
Kuninori Morimoto0d3dbde2014-06-11 21:44:04 -07001095 /*
1096 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
1097 * default. Boards that provide audio clocks should override them.
1098 */
1099 audio_clk_a: audio_clk_a {
1100 compatible = "fixed-clock";
1101 #clock-cells = <0>;
1102 clock-frequency = <0>;
Kuninori Morimoto0d3dbde2014-06-11 21:44:04 -07001103 };
1104 audio_clk_b: audio_clk_b {
1105 compatible = "fixed-clock";
1106 #clock-cells = <0>;
1107 clock-frequency = <0>;
Kuninori Morimoto0d3dbde2014-06-11 21:44:04 -07001108 };
1109 audio_clk_c: audio_clk_c {
1110 compatible = "fixed-clock";
1111 #clock-cells = <0>;
1112 clock-frequency = <0>;
Kuninori Morimoto0d3dbde2014-06-11 21:44:04 -07001113 };
1114
Phil Edworthy66c405e2014-06-13 10:37:19 +01001115 /* External PCIe clock - can be overridden by the board */
Simon Hormanf6176042016-03-18 08:16:23 +09001116 pcie_bus_clk: pcie_bus {
Phil Edworthy66c405e2014-06-13 10:37:19 +01001117 compatible = "fixed-clock";
1118 #clock-cells = <0>;
Sjoerd Simonsac6908b2016-04-06 14:52:53 +02001119 clock-frequency = <0>;
Phil Edworthy66c405e2014-06-13 10:37:19 +01001120 };
1121
Geert Uytterhoeven394730a2016-01-29 11:04:40 +01001122 /* External SCIF clock */
1123 scif_clk: scif {
1124 compatible = "fixed-clock";
1125 #clock-cells = <0>;
1126 /* This value must be overridden by the board. */
1127 clock-frequency = <0>;
Geert Uytterhoeven394730a2016-01-29 11:04:40 +01001128 };
1129
Sergei Shtylyovb3242522015-01-06 01:24:08 +03001130 /* External USB clock - can be overridden by the board */
Simon Hormanf6176042016-03-18 08:16:23 +09001131 usb_extal_clk: usb_extal {
Sergei Shtylyovb3242522015-01-06 01:24:08 +03001132 compatible = "fixed-clock";
1133 #clock-cells = <0>;
1134 clock-frequency = <48000000>;
Sergei Shtylyovb3242522015-01-06 01:24:08 +03001135 };
1136
1137 /* External CAN clock */
1138 can_clk: can_clk {
1139 compatible = "fixed-clock";
1140 #clock-cells = <0>;
1141 /* This value must be overridden by the board. */
1142 clock-frequency = <0>;
Sergei Shtylyovb3242522015-01-06 01:24:08 +03001143 };
1144
Laurent Pinchart59e79892013-12-11 15:05:16 +01001145 /* Special CPG clocks */
1146 cpg_clocks: cpg_clocks@e6150000 {
1147 compatible = "renesas,r8a7791-cpg-clocks",
1148 "renesas,rcar-gen2-cpg-clocks";
1149 reg = <0 0xe6150000 0 0x1000>;
Sergei Shtylyovb3242522015-01-06 01:24:08 +03001150 clocks = <&extal_clk &usb_extal_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001151 #clock-cells = <1>;
1152 clock-output-names = "main", "pll0", "pll1", "pll3",
Sergei Shtylyovb3242522015-01-06 01:24:08 +03001153 "lb", "qspi", "sdh", "sd0", "z",
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +03001154 "rcan", "adsp";
Geert Uytterhoeven797a0622015-08-04 14:28:11 +02001155 #power-domain-cells = <0>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001156 };
1157
1158 /* Variable factor clocks */
Simon Hormanf6176042016-03-18 08:16:23 +09001159 sd2_clk: sd2@e6150078 {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001160 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
1161 reg = <0 0xe6150078 0 4>;
1162 clocks = <&pll1_div2_clk>;
1163 #clock-cells = <0>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001164 };
Simon Hormanf6176042016-03-18 08:16:23 +09001165 sd3_clk: sd3@e615026c {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001166 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
Shinobu Ueharac9b22772014-07-21 22:04:29 -07001167 reg = <0 0xe615026c 0 4>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001168 clocks = <&pll1_div2_clk>;
1169 #clock-cells = <0>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001170 };
Simon Hormanf6176042016-03-18 08:16:23 +09001171 mmc0_clk: mmc0@e6150240 {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001172 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
1173 reg = <0 0xe6150240 0 4>;
1174 clocks = <&pll1_div2_clk>;
1175 #clock-cells = <0>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001176 };
Simon Hormanf6176042016-03-18 08:16:23 +09001177 ssp_clk: ssp@e6150248 {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001178 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
1179 reg = <0 0xe6150248 0 4>;
1180 clocks = <&pll1_div2_clk>;
1181 #clock-cells = <0>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001182 };
Simon Hormanf6176042016-03-18 08:16:23 +09001183 ssprs_clk: ssprs@e615024c {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001184 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
1185 reg = <0 0xe615024c 0 4>;
1186 clocks = <&pll1_div2_clk>;
1187 #clock-cells = <0>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001188 };
1189
1190 /* Fixed factor clocks */
Simon Hormanf6176042016-03-18 08:16:23 +09001191 pll1_div2_clk: pll1_div2 {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001192 compatible = "fixed-factor-clock";
1193 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1194 #clock-cells = <0>;
1195 clock-div = <2>;
1196 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001197 };
Simon Hormanf6176042016-03-18 08:16:23 +09001198 zg_clk: zg {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001199 compatible = "fixed-factor-clock";
1200 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1201 #clock-cells = <0>;
1202 clock-div = <3>;
1203 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001204 };
Simon Hormanf6176042016-03-18 08:16:23 +09001205 zx_clk: zx {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001206 compatible = "fixed-factor-clock";
1207 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1208 #clock-cells = <0>;
1209 clock-div = <3>;
1210 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001211 };
Simon Hormanf6176042016-03-18 08:16:23 +09001212 zs_clk: zs {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001213 compatible = "fixed-factor-clock";
1214 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1215 #clock-cells = <0>;
1216 clock-div = <6>;
1217 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001218 };
Simon Hormanf6176042016-03-18 08:16:23 +09001219 hp_clk: hp {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001220 compatible = "fixed-factor-clock";
1221 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1222 #clock-cells = <0>;
1223 clock-div = <12>;
1224 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001225 };
Simon Hormanf6176042016-03-18 08:16:23 +09001226 i_clk: i {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001227 compatible = "fixed-factor-clock";
1228 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1229 #clock-cells = <0>;
1230 clock-div = <2>;
1231 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001232 };
Simon Hormanf6176042016-03-18 08:16:23 +09001233 b_clk: b {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001234 compatible = "fixed-factor-clock";
1235 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1236 #clock-cells = <0>;
1237 clock-div = <12>;
1238 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001239 };
Simon Hormanf6176042016-03-18 08:16:23 +09001240 p_clk: p {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001241 compatible = "fixed-factor-clock";
1242 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1243 #clock-cells = <0>;
1244 clock-div = <24>;
1245 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001246 };
Simon Hormanf6176042016-03-18 08:16:23 +09001247 cl_clk: cl {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001248 compatible = "fixed-factor-clock";
1249 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1250 #clock-cells = <0>;
1251 clock-div = <48>;
1252 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001253 };
Simon Hormanf6176042016-03-18 08:16:23 +09001254 m2_clk: m2 {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001255 compatible = "fixed-factor-clock";
1256 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1257 #clock-cells = <0>;
1258 clock-div = <8>;
1259 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001260 };
Simon Hormanf6176042016-03-18 08:16:23 +09001261 rclk_clk: rclk {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001262 compatible = "fixed-factor-clock";
1263 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1264 #clock-cells = <0>;
1265 clock-div = <(48 * 1024)>;
1266 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001267 };
Simon Hormanf6176042016-03-18 08:16:23 +09001268 oscclk_clk: oscclk {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001269 compatible = "fixed-factor-clock";
1270 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1271 #clock-cells = <0>;
1272 clock-div = <(12 * 1024)>;
1273 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001274 };
Simon Hormanf6176042016-03-18 08:16:23 +09001275 zb3_clk: zb3 {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001276 compatible = "fixed-factor-clock";
1277 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
1278 #clock-cells = <0>;
1279 clock-div = <4>;
1280 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001281 };
Simon Hormanf6176042016-03-18 08:16:23 +09001282 zb3d2_clk: zb3d2 {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001283 compatible = "fixed-factor-clock";
1284 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
1285 #clock-cells = <0>;
1286 clock-div = <8>;
1287 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001288 };
Simon Hormanf6176042016-03-18 08:16:23 +09001289 ddr_clk: ddr {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001290 compatible = "fixed-factor-clock";
1291 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
1292 #clock-cells = <0>;
1293 clock-div = <8>;
1294 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001295 };
Simon Hormanf6176042016-03-18 08:16:23 +09001296 mp_clk: mp {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001297 compatible = "fixed-factor-clock";
1298 clocks = <&pll1_div2_clk>;
1299 #clock-cells = <0>;
1300 clock-div = <15>;
1301 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001302 };
Simon Hormanf6176042016-03-18 08:16:23 +09001303 cp_clk: cp {
Laurent Pinchart59e79892013-12-11 15:05:16 +01001304 compatible = "fixed-factor-clock";
1305 clocks = <&extal_clk>;
1306 #clock-cells = <0>;
1307 clock-div = <2>;
1308 clock-mult = <1>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001309 };
1310
1311 /* Gate clocks */
Laurent Pinchartcded80f2013-12-19 16:51:02 +01001312 mstp0_clks: mstp0_clks@e6150130 {
1313 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1314 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1315 clocks = <&mp_clk>;
1316 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001317 clock-indices = <R8A7791_CLK_MSIOF0>;
Laurent Pinchartcded80f2013-12-19 16:51:02 +01001318 clock-output-names = "msiof0";
1319 };
Laurent Pinchart59e79892013-12-11 15:05:16 +01001320 mstp1_clks: mstp1_clks@e6150134 {
1321 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1322 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Yoshifumi Hosoya74d89d22014-10-14 16:01:43 +09001323 clocks = <&zs_clk>, <&zs_clk>, <&m2_clk>, <&zs_clk>, <&p_clk>,
1324 <&zg_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
1325 <&p_clk>, <&rclk_clk>, <&cp_clk>, <&zs_clk>, <&zs_clk>,
1326 <&zs_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001327 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001328 clock-indices = <
Yoshifumi Hosoya74d89d22014-10-14 16:01:43 +09001329 R8A7791_CLK_VCP0 R8A7791_CLK_VPC0 R8A7791_CLK_JPU
1330 R8A7791_CLK_SSP1 R8A7791_CLK_TMU1 R8A7791_CLK_3DG
1331 R8A7791_CLK_2DDMAC R8A7791_CLK_FDP1_1 R8A7791_CLK_FDP1_0
1332 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 R8A7791_CLK_CMT0
1333 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1 R8A7791_CLK_VSP1_DU0
1334 R8A7791_CLK_VSP1_S
Laurent Pinchart59e79892013-12-11 15:05:16 +01001335 >;
1336 clock-output-names =
Yoshifumi Hosoya74d89d22014-10-14 16:01:43 +09001337 "vcp0", "vpc0", "jpu", "ssp1", "tmu1", "3dg",
1338 "2ddmac", "fdp1-1", "fdp1-0", "tmu3", "tmu2", "cmt0",
1339 "tmu0", "vsp1-du1", "vsp1-du0", "vsp1-sy";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001340 };
1341 mstp2_clks: mstp2_clks@e6150138 {
1342 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1343 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1344 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Geert Uytterhoeven4e074bc2014-06-02 15:42:07 +02001345 <&mp_clk>, <&mp_clk>, <&mp_clk>,
1346 <&zs_clk>, <&zs_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001347 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001348 clock-indices = <
Laurent Pinchart59e79892013-12-11 15:05:16 +01001349 R8A7791_CLK_SCIFA2 R8A7791_CLK_SCIFA1 R8A7791_CLK_SCIFA0
Laurent Pinchartcded80f2013-12-19 16:51:02 +01001350 R8A7791_CLK_MSIOF2 R8A7791_CLK_SCIFB0 R8A7791_CLK_SCIFB1
1351 R8A7791_CLK_MSIOF1 R8A7791_CLK_SCIFB2
Geert Uytterhoeven4e074bc2014-06-02 15:42:07 +02001352 R8A7791_CLK_SYS_DMAC1 R8A7791_CLK_SYS_DMAC0
Laurent Pinchart59e79892013-12-11 15:05:16 +01001353 >;
1354 clock-output-names =
Geert Uytterhoeven0c002ef2014-02-20 15:49:29 +01001355 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Geert Uytterhoeven4e074bc2014-06-02 15:42:07 +02001356 "scifb1", "msiof1", "scifb2",
1357 "sys-dmac1", "sys-dmac0";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001358 };
1359 mstp3_clks: mstp3_clks@e615013c {
1360 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1361 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Simon Horman2ea0d4e2015-01-29 10:41:24 +09001362 clocks = <&cp_clk>, <&sd3_clk>, <&sd2_clk>, <&cpg_clocks R8A7791_CLK_SD0>,
Yoshihiro Shimodab9473d92014-11-17 18:25:25 +09001363 <&mmc0_clk>, <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
1364 <&hp_clk>, <&hp_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001365 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001366 clock-indices = <
Wolfram Sangc08691b2014-03-10 12:26:57 +01001367 R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1 R8A7791_CLK_SDHI0
Phil Edworthy4bfb3762014-06-13 10:37:18 +01001368 R8A7791_CLK_MMCIF0 R8A7791_CLK_IIC0 R8A7791_CLK_PCIEC R8A7791_CLK_IIC1
1369 R8A7791_CLK_SSUSB R8A7791_CLK_CMT1
Yoshihiro Shimodab9473d92014-11-17 18:25:25 +09001370 R8A7791_CLK_USBDMAC0 R8A7791_CLK_USBDMAC1
Laurent Pinchart59e79892013-12-11 15:05:16 +01001371 >;
1372 clock-output-names =
Wolfram Sangc08691b2014-03-10 12:26:57 +01001373 "tpu0", "sdhi2", "sdhi1", "sdhi0",
Yoshihiro Shimodab9473d92014-11-17 18:25:25 +09001374 "mmcif0", "i2c7", "pciec", "i2c8", "ssusb", "cmt1",
1375 "usbdmac0", "usbdmac1";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001376 };
Geert Uytterhoeven62d386c2015-03-18 19:56:00 +01001377 mstp4_clks: mstp4_clks@e6150140 {
1378 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1379 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1380 clocks = <&cp_clk>;
1381 #clock-cells = <1>;
1382 clock-indices = <R8A7791_CLK_IRQC>;
1383 clock-output-names = "irqc";
1384 };
Laurent Pinchart59e79892013-12-11 15:05:16 +01001385 mstp5_clks: mstp5_clks@e6150144 {
1386 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1387 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +03001388 clocks = <&hp_clk>, <&hp_clk>, <&cpg_clocks R8A7791_CLK_ADSP>,
1389 <&extal_clk>, <&p_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001390 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001391 clock-indices = <
1392 R8A7791_CLK_AUDIO_DMAC0 R8A7791_CLK_AUDIO_DMAC1
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +03001393 R8A7791_CLK_ADSP_MOD R8A7791_CLK_THERMAL
1394 R8A7791_CLK_PWM
Ben Dookscb0bf852014-11-10 19:49:38 +01001395 >;
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +03001396 clock-output-names = "audmac0", "audmac1", "adsp_mod",
1397 "thermal", "pwm";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001398 };
1399 mstp7_clks: mstp7_clks@e615014c {
1400 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1401 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Kazuya Mizuguchi118e4e62015-02-19 10:43:10 -05001402 clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
Laurent Pinchart59e79892013-12-11 15:05:16 +01001403 <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1404 <&zx_clk>, <&zx_clk>, <&zx_clk>;
1405 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001406 clock-indices = <
Magnus Damm6225b992014-04-07 15:04:21 +09001407 R8A7791_CLK_EHCI R8A7791_CLK_HSUSB R8A7791_CLK_HSCIF2 R8A7791_CLK_SCIF5
Laurent Pinchart59e79892013-12-11 15:05:16 +01001408 R8A7791_CLK_SCIF4 R8A7791_CLK_HSCIF1 R8A7791_CLK_HSCIF0
1409 R8A7791_CLK_SCIF3 R8A7791_CLK_SCIF2 R8A7791_CLK_SCIF1
1410 R8A7791_CLK_SCIF0 R8A7791_CLK_DU1 R8A7791_CLK_DU0
1411 R8A7791_CLK_LVDS0
1412 >;
1413 clock-output-names =
Magnus Damm6225b992014-04-07 15:04:21 +09001414 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
Laurent Pinchart59e79892013-12-11 15:05:16 +01001415 "scif3", "scif2", "scif1", "scif0", "du1", "du0", "lvds0";
1416 };
1417 mstp8_clks: mstp8_clks@e6150990 {
1418 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1419 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Ryo Kataoka75a499a2015-02-19 22:29:06 +09001420 clocks = <&zx_clk>, <&hp_clk>, <&zg_clk>, <&zg_clk>,
Sergei Shtylyoveaa870b2015-12-03 01:21:49 +03001421 <&zg_clk>, <&hp_clk>, <&p_clk>, <&zs_clk>,
1422 <&zs_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001423 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001424 clock-indices = <
Andrey Gusakov7408d302014-12-18 23:43:03 +03001425 R8A7791_CLK_IPMMU_SGX R8A7791_CLK_MLB
Laurent Pinchart09c98342014-01-07 09:22:54 +01001426 R8A7791_CLK_VIN2 R8A7791_CLK_VIN1 R8A7791_CLK_VIN0
Sergei Shtylyoveaa870b2015-12-03 01:21:49 +03001427 R8A7791_CLK_ETHERAVB R8A7791_CLK_ETHER
1428 R8A7791_CLK_SATA1 R8A7791_CLK_SATA0
Laurent Pinchart09c98342014-01-07 09:22:54 +01001429 >;
Laurent Pinchart65f05c32014-01-07 09:22:56 +01001430 clock-output-names =
Sergei Shtylyoveaa870b2015-12-03 01:21:49 +03001431 "ipmmu_sgx", "mlb", "vin2", "vin1", "vin0",
1432 "etheravb", "ether", "sata1", "sata0";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001433 };
1434 mstp9_clks: mstp9_clks@e6150994 {
1435 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1436 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +02001437 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
1438 <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
1439 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>, <&hp_clk>,
Laurent Pinchart11b48db2014-04-01 13:02:18 +02001440 <&cp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>,
1441 <&hp_clk>, <&hp_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001442 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001443 clock-indices = <
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +02001444 R8A7791_CLK_GPIO7 R8A7791_CLK_GPIO6 R8A7791_CLK_GPIO5 R8A7791_CLK_GPIO4
1445 R8A7791_CLK_GPIO3 R8A7791_CLK_GPIO2 R8A7791_CLK_GPIO1 R8A7791_CLK_GPIO0
Wolfram Sangc08691b2014-03-10 12:26:57 +01001446 R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD R8A7791_CLK_I2C5
1447 R8A7791_CLK_IICDVFS R8A7791_CLK_I2C4 R8A7791_CLK_I2C3 R8A7791_CLK_I2C2
1448 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
Laurent Pinchart59e79892013-12-11 15:05:16 +01001449 >;
1450 clock-output-names =
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +02001451 "gpio7", "gpio6", "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
1452 "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c6", "i2c4", "i2c3", "i2c2",
1453 "i2c1", "i2c0";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001454 };
Kuninori Morimotoee914152014-06-11 21:44:16 -07001455 mstp10_clks: mstp10_clks@e6150998 {
1456 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1457 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1458 clocks = <&p_clk>,
1459 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1460 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1461 <&p_clk>,
1462 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1463 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1464 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1465 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1466 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
Kuninori Morimoto88401702015-07-21 00:27:03 +00001467 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
Kuninori Morimotoee914152014-06-11 21:44:16 -07001468 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>;
1469
1470 #clock-cells = <1>;
1471 clock-indices = <
1472 R8A7791_CLK_SSI_ALL
1473 R8A7791_CLK_SSI9 R8A7791_CLK_SSI8 R8A7791_CLK_SSI7 R8A7791_CLK_SSI6 R8A7791_CLK_SSI5
1474 R8A7791_CLK_SSI4 R8A7791_CLK_SSI3 R8A7791_CLK_SSI2 R8A7791_CLK_SSI1 R8A7791_CLK_SSI0
1475 R8A7791_CLK_SCU_ALL
1476 R8A7791_CLK_SCU_DVC1 R8A7791_CLK_SCU_DVC0
Kuninori Morimoto88401702015-07-21 00:27:03 +00001477 R8A7791_CLK_SCU_CTU1_MIX1 R8A7791_CLK_SCU_CTU0_MIX0
Kuninori Morimotoee914152014-06-11 21:44:16 -07001478 R8A7791_CLK_SCU_SRC9 R8A7791_CLK_SCU_SRC8 R8A7791_CLK_SCU_SRC7 R8A7791_CLK_SCU_SRC6 R8A7791_CLK_SCU_SRC5
1479 R8A7791_CLK_SCU_SRC4 R8A7791_CLK_SCU_SRC3 R8A7791_CLK_SCU_SRC2 R8A7791_CLK_SCU_SRC1 R8A7791_CLK_SCU_SRC0
1480 >;
1481 clock-output-names =
1482 "ssi-all",
1483 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
1484 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
1485 "scu-all",
1486 "scu-dvc1", "scu-dvc0",
Kuninori Morimoto88401702015-07-21 00:27:03 +00001487 "scu-ctu1-mix1", "scu-ctu0-mix0",
Kuninori Morimotoee914152014-06-11 21:44:16 -07001488 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
1489 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
1490 };
Laurent Pinchart59e79892013-12-11 15:05:16 +01001491 mstp11_clks: mstp11_clks@e615099c {
1492 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1493 reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;
1494 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>;
1495 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001496 clock-indices = <
Laurent Pinchart59e79892013-12-11 15:05:16 +01001497 R8A7791_CLK_SCIFA3 R8A7791_CLK_SCIFA4 R8A7791_CLK_SCIFA5
1498 >;
1499 clock-output-names = "scifa3", "scifa4", "scifa5";
1500 };
1501 };
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001502
Geert Uytterhoeven8574de82015-01-20 14:44:58 +01001503 sysc: system-controller@e6180000 {
1504 compatible = "renesas,r8a7791-sysc";
1505 reg = <0 0xe6180000 0 0x0200>;
1506 #power-domain-cells = <1>;
1507 };
1508
Geert Uytterhoeven6f3e4ee2014-02-25 11:30:14 +01001509 qspi: spi@e6b10000 {
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001510 compatible = "renesas,qspi-r8a7791", "renesas,qspi";
1511 reg = <0 0xe6b10000 0 0x2c>;
Simon Horman386a9292016-01-15 11:44:16 +09001512 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001513 clocks = <&mstp9_clks R8A7791_CLK_QSPI_MOD>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +02001514 dmas = <&dmac0 0x17>, <&dmac0 0x18>,
1515 <&dmac1 0x17>, <&dmac1 0x18>;
1516 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001517 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001518 num-cs = <1>;
1519 #address-cells = <1>;
1520 #size-cells = <0>;
1521 status = "disabled";
1522 };
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001523
1524 msiof0: spi@e6e20000 {
1525 compatible = "renesas,msiof-r8a7791";
Ryo Kataokacb6d08a2015-04-05 01:55:12 +09001526 reg = <0 0xe6e20000 0 0x0064>;
Simon Horman386a9292016-01-15 11:44:16 +09001527 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001528 clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +02001529 dmas = <&dmac0 0x51>, <&dmac0 0x52>,
1530 <&dmac1 0x51>, <&dmac1 0x52>;
1531 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001532 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001533 #address-cells = <1>;
1534 #size-cells = <0>;
1535 status = "disabled";
1536 };
1537
1538 msiof1: spi@e6e10000 {
1539 compatible = "renesas,msiof-r8a7791";
Ryo Kataokacb6d08a2015-04-05 01:55:12 +09001540 reg = <0 0xe6e10000 0 0x0064>;
Simon Horman386a9292016-01-15 11:44:16 +09001541 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001542 clocks = <&mstp2_clks R8A7791_CLK_MSIOF1>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +02001543 dmas = <&dmac0 0x55>, <&dmac0 0x56>,
1544 <&dmac1 0x55>, <&dmac1 0x56>;
1545 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001546 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001547 #address-cells = <1>;
1548 #size-cells = <0>;
1549 status = "disabled";
1550 };
1551
1552 msiof2: spi@e6e00000 {
1553 compatible = "renesas,msiof-r8a7791";
Ryo Kataokacb6d08a2015-04-05 01:55:12 +09001554 reg = <0 0xe6e00000 0 0x0064>;
Simon Horman386a9292016-01-15 11:44:16 +09001555 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001556 clocks = <&mstp2_clks R8A7791_CLK_MSIOF2>;
Niklas Söderlund4aed4c9f2016-05-12 10:54:43 +02001557 dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1558 <&dmac1 0x41>, <&dmac1 0x42>;
1559 dma-names = "tx", "rx", "tx", "rx";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001560 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001561 #address-cells = <1>;
1562 #size-cells = <0>;
1563 status = "disabled";
1564 };
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001565
Yoshihiro Shimodac1969312014-10-24 19:43:02 +09001566 xhci: usb@ee000000 {
Simon Horman26dba292016-03-24 11:01:08 +09001567 compatible = "renesas,xhci-r8a7791", "renesas,rcar-gen2-xhci";
Yoshihiro Shimodac1969312014-10-24 19:43:02 +09001568 reg = <0 0xee000000 0 0xc00>;
Simon Horman386a9292016-01-15 11:44:16 +09001569 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
Yoshihiro Shimodac1969312014-10-24 19:43:02 +09001570 clocks = <&mstp3_clks R8A7791_CLK_SSUSB>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001571 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Yoshihiro Shimodac1969312014-10-24 19:43:02 +09001572 phys = <&usb2 1>;
1573 phy-names = "usb";
1574 status = "disabled";
1575 };
1576
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001577 pci0: pci@ee090000 {
Simon Hormand4809682015-12-18 11:42:38 +09001578 compatible = "renesas,pci-r8a7791", "renesas,pci-rcar-gen2";
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001579 device_type = "pci";
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001580 reg = <0 0xee090000 0 0xc00>,
1581 <0 0xee080000 0 0x1100>;
Simon Horman386a9292016-01-15 11:44:16 +09001582 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven797a0622015-08-04 14:28:11 +02001583 clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001584 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001585 status = "disabled";
1586
1587 bus-range = <0 0>;
1588 #address-cells = <3>;
1589 #size-cells = <2>;
1590 #interrupt-cells = <1>;
1591 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1592 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman386a9292016-01-15 11:44:16 +09001593 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1594 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1595 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove1bce122014-09-29 22:23:11 +04001596
1597 usb@0,1 {
1598 reg = <0x800 0 0 0 0>;
1599 device_type = "pci";
1600 phys = <&usb0 0>;
1601 phy-names = "usb";
1602 };
1603
1604 usb@0,2 {
1605 reg = <0x1000 0 0 0 0>;
1606 device_type = "pci";
1607 phys = <&usb0 0>;
1608 phy-names = "usb";
1609 };
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001610 };
1611
1612 pci1: pci@ee0d0000 {
Simon Hormand4809682015-12-18 11:42:38 +09001613 compatible = "renesas,pci-r8a7791", "renesas,pci-rcar-gen2";
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001614 device_type = "pci";
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001615 reg = <0 0xee0d0000 0 0xc00>,
1616 <0 0xee0c0000 0 0x1100>;
Simon Horman386a9292016-01-15 11:44:16 +09001617 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven797a0622015-08-04 14:28:11 +02001618 clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001619 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001620 status = "disabled";
1621
1622 bus-range = <1 1>;
1623 #address-cells = <3>;
1624 #size-cells = <2>;
1625 #interrupt-cells = <1>;
1626 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1627 interrupt-map-mask = <0xff00 0 0 0x7>;
Simon Horman386a9292016-01-15 11:44:16 +09001628 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1629 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1630 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove1bce122014-09-29 22:23:11 +04001631
1632 usb@0,1 {
1633 reg = <0x800 0 0 0 0>;
1634 device_type = "pci";
1635 phys = <&usb2 0>;
1636 phy-names = "usb";
1637 };
1638
1639 usb@0,2 {
1640 reg = <0x1000 0 0 0 0>;
1641 device_type = "pci";
1642 phys = <&usb2 0>;
1643 phy-names = "usb";
1644 };
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001645 };
1646
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001647 pciec: pcie@fe000000 {
Simon Hormanbbb45f62015-12-18 11:36:03 +09001648 compatible = "renesas,pcie-r8a7791", "renesas,pcie-rcar-gen2";
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001649 reg = <0 0xfe000000 0 0x80000>;
1650 #address-cells = <3>;
1651 #size-cells = <2>;
1652 bus-range = <0x00 0xff>;
1653 device_type = "pci";
1654 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1655 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1656 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1657 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1658 /* Map all possible DDR as inbound ranges */
1659 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1660 0x43000000 2 0x00000000 2 0x00000000 1 0x00000000>;
Simon Horman386a9292016-01-15 11:44:16 +09001661 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1662 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1663 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001664 #interrupt-cells = <1>;
1665 interrupt-map-mask = <0 0 0 0>;
Simon Horman386a9292016-01-15 11:44:16 +09001666 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001667 clocks = <&mstp3_clks R8A7791_CLK_PCIEC>, <&pcie_bus_clk>;
1668 clock-names = "pcie", "pcie_bus";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001669 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001670 status = "disabled";
1671 };
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001672
Laurent Pinchartf1951852015-01-27 11:13:24 +02001673 ipmmu_sy0: mmu@e6280000 {
Magnus Damm3c8ab0c2015-11-17 13:31:05 +09001674 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Laurent Pinchartf1951852015-01-27 11:13:24 +02001675 reg = <0 0xe6280000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001676 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1677 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf1951852015-01-27 11:13:24 +02001678 #iommu-cells = <1>;
1679 status = "disabled";
1680 };
1681
1682 ipmmu_sy1: mmu@e6290000 {
Magnus Damm3c8ab0c2015-11-17 13:31:05 +09001683 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Laurent Pinchartf1951852015-01-27 11:13:24 +02001684 reg = <0 0xe6290000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001685 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf1951852015-01-27 11:13:24 +02001686 #iommu-cells = <1>;
1687 status = "disabled";
1688 };
1689
1690 ipmmu_ds: mmu@e6740000 {
Magnus Damm3c8ab0c2015-11-17 13:31:05 +09001691 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Laurent Pinchartf1951852015-01-27 11:13:24 +02001692 reg = <0 0xe6740000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001693 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1694 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf1951852015-01-27 11:13:24 +02001695 #iommu-cells = <1>;
1696 status = "disabled";
1697 };
1698
1699 ipmmu_mp: mmu@ec680000 {
Magnus Damm3c8ab0c2015-11-17 13:31:05 +09001700 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Laurent Pinchartf1951852015-01-27 11:13:24 +02001701 reg = <0 0xec680000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001702 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf1951852015-01-27 11:13:24 +02001703 #iommu-cells = <1>;
1704 status = "disabled";
1705 };
1706
1707 ipmmu_mx: mmu@fe951000 {
Magnus Damm3c8ab0c2015-11-17 13:31:05 +09001708 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Laurent Pinchartf1951852015-01-27 11:13:24 +02001709 reg = <0 0xfe951000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001710 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1711 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf1951852015-01-27 11:13:24 +02001712 #iommu-cells = <1>;
1713 status = "disabled";
1714 };
1715
1716 ipmmu_rt: mmu@ffc80000 {
Magnus Damm3c8ab0c2015-11-17 13:31:05 +09001717 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Laurent Pinchartf1951852015-01-27 11:13:24 +02001718 reg = <0 0xffc80000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001719 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf1951852015-01-27 11:13:24 +02001720 #iommu-cells = <1>;
1721 status = "disabled";
1722 };
1723
1724 ipmmu_gp: mmu@e62a0000 {
Magnus Damm3c8ab0c2015-11-17 13:31:05 +09001725 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Laurent Pinchartf1951852015-01-27 11:13:24 +02001726 reg = <0 0xe62a0000 0 0x1000>;
Simon Horman386a9292016-01-15 11:44:16 +09001727 interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
1728 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf1951852015-01-27 11:13:24 +02001729 #iommu-cells = <1>;
1730 status = "disabled";
1731 };
1732
Geert Uytterhoeven6c63e072015-04-27 14:55:29 +02001733 rcar_sound: sound@ec500000 {
Kuninori Morimotod2b541c2014-12-17 06:12:02 +00001734 /*
1735 * #sound-dai-cells is required
1736 *
1737 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1738 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1739 */
Geert Uytterhoevenf49cd2b2015-01-06 21:01:53 +01001740 compatible = "renesas,rcar_sound-r8a7791", "renesas,rcar_sound-gen2";
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001741 reg = <0 0xec500000 0 0x1000>, /* SCU */
1742 <0 0xec5a0000 0 0x100>, /* ADG */
1743 <0 0xec540000 0 0x1000>, /* SSIU */
Kuninori Morimoto8c3f9032015-08-24 08:28:17 +00001744 <0 0xec541000 0 0x280>, /* SSI */
Kuninori Morimotod73a5012015-03-10 01:39:55 +00001745 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1746 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Kuninori Morimotod88a6a22015-03-10 01:39:18 +00001747
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001748 clocks = <&mstp10_clks R8A7791_CLK_SSI_ALL>,
1749 <&mstp10_clks R8A7791_CLK_SSI9>, <&mstp10_clks R8A7791_CLK_SSI8>,
1750 <&mstp10_clks R8A7791_CLK_SSI7>, <&mstp10_clks R8A7791_CLK_SSI6>,
1751 <&mstp10_clks R8A7791_CLK_SSI5>, <&mstp10_clks R8A7791_CLK_SSI4>,
1752 <&mstp10_clks R8A7791_CLK_SSI3>, <&mstp10_clks R8A7791_CLK_SSI2>,
1753 <&mstp10_clks R8A7791_CLK_SSI1>, <&mstp10_clks R8A7791_CLK_SSI0>,
1754 <&mstp10_clks R8A7791_CLK_SCU_SRC9>, <&mstp10_clks R8A7791_CLK_SCU_SRC8>,
1755 <&mstp10_clks R8A7791_CLK_SCU_SRC7>, <&mstp10_clks R8A7791_CLK_SCU_SRC6>,
1756 <&mstp10_clks R8A7791_CLK_SCU_SRC5>, <&mstp10_clks R8A7791_CLK_SCU_SRC4>,
1757 <&mstp10_clks R8A7791_CLK_SCU_SRC3>, <&mstp10_clks R8A7791_CLK_SCU_SRC2>,
1758 <&mstp10_clks R8A7791_CLK_SCU_SRC1>, <&mstp10_clks R8A7791_CLK_SCU_SRC0>,
Kuninori Morimoto88401702015-07-21 00:27:03 +00001759 <&mstp10_clks R8A7791_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7791_CLK_SCU_CTU1_MIX1>,
Kuninori Morimoto7fd6e112015-07-21 00:27:24 +00001760 <&mstp10_clks R8A7791_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7791_CLK_SCU_CTU1_MIX1>,
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001761 <&mstp10_clks R8A7791_CLK_SCU_DVC0>, <&mstp10_clks R8A7791_CLK_SCU_DVC1>,
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001762 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1763 clock-names = "ssi-all",
1764 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1765 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1766 "src.9", "src.8", "src.7", "src.6", "src.5",
1767 "src.4", "src.3", "src.2", "src.1", "src.0",
Kuninori Morimoto88401702015-07-21 00:27:03 +00001768 "ctu.0", "ctu.1",
Kuninori Morimoto7fd6e112015-07-21 00:27:24 +00001769 "mix.0", "mix.1",
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001770 "dvc.0", "dvc.1",
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001771 "clk_a", "clk_b", "clk_c", "clk_i";
Geert Uytterhoeven5aa80652015-01-20 14:44:58 +01001772 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001773
1774 status = "disabled";
1775
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001776 rcar_sound,dvc {
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001777 dvc0: dvc-0 {
Kuninori Morimoto63573332015-03-10 01:40:27 +00001778 dmas = <&audma0 0xbc>;
1779 dma-names = "tx";
1780 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001781 dvc1: dvc-1 {
Kuninori Morimoto63573332015-03-10 01:40:27 +00001782 dmas = <&audma0 0xbe>;
1783 dma-names = "tx";
1784 };
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001785 };
1786
Kuninori Morimoto7fd6e112015-07-21 00:27:24 +00001787 rcar_sound,mix {
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001788 mix0: mix-0 { };
1789 mix1: mix-1 { };
Kuninori Morimoto7fd6e112015-07-21 00:27:24 +00001790 };
1791
Kuninori Morimoto88401702015-07-21 00:27:03 +00001792 rcar_sound,ctu {
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001793 ctu00: ctu-0 { };
1794 ctu01: ctu-1 { };
1795 ctu02: ctu-2 { };
1796 ctu03: ctu-3 { };
1797 ctu10: ctu-4 { };
1798 ctu11: ctu-5 { };
1799 ctu12: ctu-6 { };
1800 ctu13: ctu-7 { };
Kuninori Morimoto88401702015-07-21 00:27:03 +00001801 };
1802
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001803 rcar_sound,src {
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001804 src0: src-0 {
Simon Horman386a9292016-01-15 11:44:16 +09001805 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001806 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1807 dma-names = "rx", "tx";
1808 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001809 src1: src-1 {
Simon Horman386a9292016-01-15 11:44:16 +09001810 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001811 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1812 dma-names = "rx", "tx";
1813 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001814 src2: src-2 {
Simon Horman386a9292016-01-15 11:44:16 +09001815 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001816 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1817 dma-names = "rx", "tx";
1818 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001819 src3: src-3 {
Simon Horman386a9292016-01-15 11:44:16 +09001820 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001821 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1822 dma-names = "rx", "tx";
1823 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001824 src4: src-4 {
Simon Horman386a9292016-01-15 11:44:16 +09001825 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001826 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1827 dma-names = "rx", "tx";
1828 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001829 src5: src-5 {
Simon Horman386a9292016-01-15 11:44:16 +09001830 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001831 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1832 dma-names = "rx", "tx";
1833 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001834 src6: src-6 {
Simon Horman386a9292016-01-15 11:44:16 +09001835 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001836 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1837 dma-names = "rx", "tx";
1838 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001839 src7: src-7 {
Simon Horman386a9292016-01-15 11:44:16 +09001840 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001841 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1842 dma-names = "rx", "tx";
1843 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001844 src8: src-8 {
Simon Horman386a9292016-01-15 11:44:16 +09001845 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001846 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1847 dma-names = "rx", "tx";
1848 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001849 src9: src-9 {
Simon Horman386a9292016-01-15 11:44:16 +09001850 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001851 dmas = <&audma0 0x97>, <&audma1 0xba>;
1852 dma-names = "rx", "tx";
1853 };
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001854 };
1855
1856 rcar_sound,ssi {
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001857 ssi0: ssi-0 {
Simon Horman386a9292016-01-15 11:44:16 +09001858 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001859 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1860 dma-names = "rx", "tx", "rxu", "txu";
1861 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001862 ssi1: ssi-1 {
Simon Horman386a9292016-01-15 11:44:16 +09001863 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001864 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1865 dma-names = "rx", "tx", "rxu", "txu";
1866 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001867 ssi2: ssi-2 {
Simon Horman386a9292016-01-15 11:44:16 +09001868 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001869 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1870 dma-names = "rx", "tx", "rxu", "txu";
1871 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001872 ssi3: ssi-3 {
Simon Horman386a9292016-01-15 11:44:16 +09001873 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001874 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1875 dma-names = "rx", "tx", "rxu", "txu";
1876 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001877 ssi4: ssi-4 {
Simon Horman386a9292016-01-15 11:44:16 +09001878 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001879 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1880 dma-names = "rx", "tx", "rxu", "txu";
1881 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001882 ssi5: ssi-5 {
Simon Horman386a9292016-01-15 11:44:16 +09001883 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001884 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1885 dma-names = "rx", "tx", "rxu", "txu";
1886 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001887 ssi6: ssi-6 {
Simon Horman386a9292016-01-15 11:44:16 +09001888 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001889 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1890 dma-names = "rx", "tx", "rxu", "txu";
1891 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001892 ssi7: ssi-7 {
Simon Horman386a9292016-01-15 11:44:16 +09001893 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001894 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1895 dma-names = "rx", "tx", "rxu", "txu";
1896 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001897 ssi8: ssi-8 {
Simon Horman386a9292016-01-15 11:44:16 +09001898 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001899 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1900 dma-names = "rx", "tx", "rxu", "txu";
1901 };
Geert Uytterhoeven6f9314c2016-05-20 09:09:57 +02001902 ssi9: ssi-9 {
Simon Horman386a9292016-01-15 11:44:16 +09001903 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto63573332015-03-10 01:40:27 +00001904 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1905 dma-names = "rx", "tx", "rxu", "txu";
1906 };
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001907 };
1908 };
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +09001909};