blob: 0423996e4dccf612a0521546699d17df3ae9c360 [file] [log] [blame]
Magnus Damme3da5b32013-09-19 05:11:11 +09001/*
2 * Device Tree Source for the r7s72100 SoC
3 *
Wolfram Sangb6face42014-05-14 03:10:06 +02004 * Copyright (C) 2013-14 Renesas Solutions Corp.
5 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
Magnus Damme3da5b32013-09-19 05:11:11 +09006 *
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
10 */
11
Wolfram Sangb6face42014-05-14 03:10:06 +020012#include <dt-bindings/clock/r7s72100-clock.h>
Simon Horman16af4e92016-01-28 10:29:35 +090013#include <dt-bindings/interrupt-controller/arm-gic.h>
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +010014#include <dt-bindings/interrupt-controller/irq.h>
15
Magnus Damme3da5b32013-09-19 05:11:11 +090016/ {
17 compatible = "renesas,r7s72100";
18 interrupt-parent = <&gic>;
19 #address-cells = <1>;
20 #size-cells = <1>;
21
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +010022 aliases {
Wolfram Sangc81a4d32014-02-17 22:19:17 +010023 i2c0 = &i2c0;
24 i2c1 = &i2c1;
25 i2c2 = &i2c2;
26 i2c3 = &i2c3;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +010027 spi0 = &spi0;
28 spi1 = &spi1;
29 spi2 = &spi2;
30 spi3 = &spi3;
31 spi4 = &spi4;
32 };
33
Wolfram Sangb6face42014-05-14 03:10:06 +020034 clocks {
35 ranges;
36 #address-cells = <1>;
37 #size-cells = <1>;
38
39 /* External clocks */
Simon Horman21f18972016-03-18 08:10:44 +090040 extal_clk: extal {
Wolfram Sangb6face42014-05-14 03:10:06 +020041 #clock-cells = <0>;
42 compatible = "fixed-clock";
43 /* If clk present, value must be set by board */
44 clock-frequency = <0>;
Wolfram Sangb6face42014-05-14 03:10:06 +020045 };
46
Simon Horman21f18972016-03-18 08:10:44 +090047 usb_x1_clk: usb_x1 {
Wolfram Sangb6face42014-05-14 03:10:06 +020048 #clock-cells = <0>;
49 compatible = "fixed-clock";
50 /* If clk present, value must be set by board */
51 clock-frequency = <0>;
Wolfram Sangb6face42014-05-14 03:10:06 +020052 };
53
Chris Brandtdeddcb82017-03-29 10:30:32 -070054 rtc_x1_clk: rtc_x1 {
55 #clock-cells = <0>;
56 compatible = "fixed-clock";
57 /* If clk present, value must be set by board to 32678 */
58 clock-frequency = <0>;
59 };
60
61 rtc_x3_clk: rtc_x3 {
62 #clock-cells = <0>;
63 compatible = "fixed-clock";
64 /* If clk present, value must be set by board to 4000000 */
65 clock-frequency = <0>;
66 };
67
Wolfram Sangb6face42014-05-14 03:10:06 +020068 /* Fixed factor clocks */
Simon Horman21f18972016-03-18 08:10:44 +090069 b_clk: b {
Wolfram Sangb6face42014-05-14 03:10:06 +020070 #clock-cells = <0>;
71 compatible = "fixed-factor-clock";
72 clocks = <&cpg_clocks R7S72100_CLK_PLL>;
73 clock-mult = <1>;
74 clock-div = <3>;
Wolfram Sangb6face42014-05-14 03:10:06 +020075 };
Simon Horman21f18972016-03-18 08:10:44 +090076 p1_clk: p1 {
Wolfram Sangb6face42014-05-14 03:10:06 +020077 #clock-cells = <0>;
78 compatible = "fixed-factor-clock";
79 clocks = <&cpg_clocks R7S72100_CLK_PLL>;
80 clock-mult = <1>;
81 clock-div = <6>;
Wolfram Sangb6face42014-05-14 03:10:06 +020082 };
Simon Horman21f18972016-03-18 08:10:44 +090083 p0_clk: p0 {
Wolfram Sangb6face42014-05-14 03:10:06 +020084 #clock-cells = <0>;
85 compatible = "fixed-factor-clock";
86 clocks = <&cpg_clocks R7S72100_CLK_PLL>;
87 clock-mult = <1>;
88 clock-div = <12>;
Wolfram Sangb6face42014-05-14 03:10:06 +020089 };
90
Ulrich Hecht005980c2014-09-25 10:32:12 +090091 /* Special CPG clocks */
92 cpg_clocks: cpg_clocks@fcfe0000 {
93 #clock-cells = <1>;
94 compatible = "renesas,r7s72100-cpg-clocks",
95 "renesas,rz-cpg-clocks";
96 reg = <0xfcfe0000 0x18>;
97 clocks = <&extal_clk>, <&usb_x1_clk>;
98 clock-output-names = "pll", "i", "g";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +020099 #power-domain-cells = <0>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900100 };
101
Wolfram Sangb6face42014-05-14 03:10:06 +0200102 /* MSTP clocks */
103 mstp3_clks: mstp3_clks@fcfe0420 {
104 #clock-cells = <1>;
105 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
106 reg = <0xfcfe0420 4>;
107 clocks = <&p0_clk>;
108 clock-indices = <R7S72100_CLK_MTU2>;
109 clock-output-names = "mtu2";
110 };
111
112 mstp4_clks: mstp4_clks@fcfe0424 {
113 #clock-cells = <1>;
114 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
115 reg = <0xfcfe0424 4>;
116 clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>,
117 <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>;
118 clock-indices = <
119 R7S72100_CLK_SCIF0 R7S72100_CLK_SCIF1 R7S72100_CLK_SCIF2 R7S72100_CLK_SCIF3
120 R7S72100_CLK_SCIF4 R7S72100_CLK_SCIF5 R7S72100_CLK_SCIF6 R7S72100_CLK_SCIF7
121 >;
122 clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7";
123 };
Wolfram Sangd1655662014-05-14 03:10:11 +0200124
Chris Brandtcfddd3d2017-01-23 08:55:18 -0500125 mstp5_clks: mstp5_clks@fcfe0428 {
126 #clock-cells = <1>;
127 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
128 reg = <0xfcfe0428 4>;
129 clocks = <&p0_clk>, <&p0_clk>;
130 clock-indices = <R7S72100_CLK_OSTM0 R7S72100_CLK_OSTM1>;
131 clock-output-names = "ostm0", "ostm1";
132 };
133
Chris Brandt929ded32017-03-29 10:30:31 -0700134 mstp6_clks: mstp6_clks@fcfe042c {
135 #clock-cells = <1>;
136 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
137 reg = <0xfcfe042c 4>;
138 clocks = <&p0_clk>;
139 clock-indices = <R7S72100_CLK_RTC>;
140 clock-output-names = "rtc";
141 };
142
Chris Brandt969244f2016-09-01 21:40:10 -0400143 mstp7_clks: mstp7_clks@fcfe0430 {
144 #clock-cells = <1>;
145 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
146 reg = <0xfcfe0430 4>;
Chris Brandt91a7c502017-03-30 14:16:09 -0700147 clocks = <&b_clk>;
Chris Brandt969244f2016-09-01 21:40:10 -0400148 clock-indices = <R7S72100_CLK_ETHER>;
149 clock-output-names = "ether";
150 };
151
Chris Brandt6c35a662016-09-15 15:34:02 -0400152 mstp8_clks: mstp8_clks@fcfe0434 {
153 #clock-cells = <1>;
154 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
155 reg = <0xfcfe0434 4>;
156 clocks = <&p1_clk>;
157 clock-indices = <R7S72100_CLK_MMCIF>;
158 clock-output-names = "mmcif";
159 };
160
Wolfram Sangd1655662014-05-14 03:10:11 +0200161 mstp9_clks: mstp9_clks@fcfe0438 {
162 #clock-cells = <1>;
163 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
164 reg = <0xfcfe0438 4>;
165 clocks = <&p0_clk>, <&p0_clk>, <&p0_clk>, <&p0_clk>;
166 clock-indices = <
167 R7S72100_CLK_I2C0 R7S72100_CLK_I2C1 R7S72100_CLK_I2C2 R7S72100_CLK_I2C3
168 >;
169 clock-output-names = "i2c0", "i2c1", "i2c2", "i2c3";
170 };
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200171
172 mstp10_clks: mstp10_clks@fcfe043c {
173 #clock-cells = <1>;
174 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
175 reg = <0xfcfe043c 4>;
176 clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>,
177 <&p1_clk>;
178 clock-indices = <
179 R7S72100_CLK_SPI0 R7S72100_CLK_SPI1 R7S72100_CLK_SPI2 R7S72100_CLK_SPI3
180 R7S72100_CLK_SPI4
181 >;
182 clock-output-names = "spi0", "spi1", "spi2", "spi3", "spi4";
183 };
Chris Brandt7c8522b2016-09-22 17:32:09 -0400184 mstp12_clks: mstp12_clks@fcfe0444 {
185 #clock-cells = <1>;
186 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
187 reg = <0xfcfe0444 4>;
Chris Brandt3d2abda2017-01-25 15:28:10 -0500188 clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>;
189 clock-indices = <
190 R7S72100_CLK_SDHI00 R7S72100_CLK_SDHI01
191 R7S72100_CLK_SDHI10 R7S72100_CLK_SDHI11
192 >;
193 clock-output-names = "sdhi00", "sdhi01", "sdhi10", "sdhi11";
Chris Brandt7c8522b2016-09-22 17:32:09 -0400194 };
Wolfram Sangb6face42014-05-14 03:10:06 +0200195 };
196
Magnus Damme3da5b32013-09-19 05:11:11 +0900197 cpus {
198 #address-cells = <1>;
199 #size-cells = <0>;
200
201 cpu@0 {
202 device_type = "cpu";
203 compatible = "arm,cortex-a9";
204 reg = <0>;
Magnus Damm005407f2014-06-06 14:28:49 +0900205 clock-frequency = <400000000>;
Chris Brandtf08578e2017-02-16 18:55:55 +0100206 next-level-cache = <&L2>;
Magnus Damme3da5b32013-09-19 05:11:11 +0900207 };
208 };
209
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200210 scif0: serial@e8007000 {
211 compatible = "renesas,scif-r7s72100", "renesas,scif";
212 reg = <0xe8007000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900213 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
214 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
215 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
216 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200217 clocks = <&mstp4_clks R7S72100_CLK_SCIF0>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100218 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200219 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200220 status = "disabled";
221 };
222
223 scif1: serial@e8007800 {
224 compatible = "renesas,scif-r7s72100", "renesas,scif";
225 reg = <0xe8007800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900226 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
227 <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
228 <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
229 <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200230 clocks = <&mstp4_clks R7S72100_CLK_SCIF1>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100231 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200232 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200233 status = "disabled";
234 };
235
236 scif2: serial@e8008000 {
237 compatible = "renesas,scif-r7s72100", "renesas,scif";
238 reg = <0xe8008000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900239 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
240 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
241 <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
242 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200243 clocks = <&mstp4_clks R7S72100_CLK_SCIF2>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100244 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200245 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200246 status = "disabled";
247 };
248
249 scif3: serial@e8008800 {
250 compatible = "renesas,scif-r7s72100", "renesas,scif";
251 reg = <0xe8008800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900252 interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
253 <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
254 <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
255 <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200256 clocks = <&mstp4_clks R7S72100_CLK_SCIF3>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100257 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200258 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200259 status = "disabled";
260 };
261
262 scif4: serial@e8009000 {
263 compatible = "renesas,scif-r7s72100", "renesas,scif";
264 reg = <0xe8009000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900265 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
266 <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200269 clocks = <&mstp4_clks R7S72100_CLK_SCIF4>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100270 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200271 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200272 status = "disabled";
273 };
274
275 scif5: serial@e8009800 {
276 compatible = "renesas,scif-r7s72100", "renesas,scif";
277 reg = <0xe8009800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900278 interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
279 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
280 <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200282 clocks = <&mstp4_clks R7S72100_CLK_SCIF5>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100283 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200284 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200285 status = "disabled";
286 };
287
288 scif6: serial@e800a000 {
289 compatible = "renesas,scif-r7s72100", "renesas,scif";
290 reg = <0xe800a000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900291 interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
292 <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200295 clocks = <&mstp4_clks R7S72100_CLK_SCIF6>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100296 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200297 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200298 status = "disabled";
299 };
300
301 scif7: serial@e800a800 {
302 compatible = "renesas,scif-r7s72100", "renesas,scif";
303 reg = <0xe800a800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900304 interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
307 <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200308 clocks = <&mstp4_clks R7S72100_CLK_SCIF7>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100309 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200310 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200311 status = "disabled";
312 };
313
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100314 spi0: spi@e800c800 {
315 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
316 reg = <0xe800c800 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900317 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
318 <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>,
319 <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100320 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200321 clocks = <&mstp10_clks R7S72100_CLK_SPI0>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200322 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100323 num-cs = <1>;
324 #address-cells = <1>;
325 #size-cells = <0>;
326 status = "disabled";
327 };
328
329 spi1: spi@e800d000 {
330 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
331 reg = <0xe800d000 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900332 interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>,
333 <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
334 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100335 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200336 clocks = <&mstp10_clks R7S72100_CLK_SPI1>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200337 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100338 num-cs = <1>;
339 #address-cells = <1>;
340 #size-cells = <0>;
341 status = "disabled";
342 };
343
344 spi2: spi@e800d800 {
345 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
346 reg = <0xe800d800 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900347 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
348 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
349 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100350 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200351 clocks = <&mstp10_clks R7S72100_CLK_SPI2>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200352 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100353 num-cs = <1>;
354 #address-cells = <1>;
355 #size-cells = <0>;
356 status = "disabled";
357 };
358
359 spi3: spi@e800e000 {
360 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
361 reg = <0xe800e000 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900362 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
363 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
364 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100365 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200366 clocks = <&mstp10_clks R7S72100_CLK_SPI3>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200367 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100368 num-cs = <1>;
369 #address-cells = <1>;
370 #size-cells = <0>;
371 status = "disabled";
372 };
373
374 spi4: spi@e800e800 {
375 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
376 reg = <0xe800e800 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900377 interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
378 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
379 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100380 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200381 clocks = <&mstp10_clks R7S72100_CLK_SPI4>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200382 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100383 num-cs = <1>;
384 #address-cells = <1>;
385 #size-cells = <0>;
386 status = "disabled";
387 };
Ulrich Hecht005980c2014-09-25 10:32:12 +0900388
389 gic: interrupt-controller@e8201000 {
Geert Uytterhoevend9e1a0e2015-11-20 13:36:52 +0100390 compatible = "arm,pl390";
Ulrich Hecht005980c2014-09-25 10:32:12 +0900391 #interrupt-cells = <3>;
392 #address-cells = <0>;
393 interrupt-controller;
394 reg = <0xe8201000 0x1000>,
395 <0xe8202000 0x1000>;
396 };
397
Chris Brandtf08578e2017-02-16 18:55:55 +0100398 L2: cache-controller@3ffff000 {
399 compatible = "arm,pl310-cache";
400 reg = <0x3ffff000 0x1000>;
401 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
402 arm,early-bresp-disable;
403 arm,full-line-zero-disable;
404 cache-unified;
405 cache-level = <2>;
406 };
407
Chris Brandt69ed50d2017-03-04 17:37:37 -0500408 wdt: watchdog@fcfe0000 {
409 compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt";
410 reg = <0xfcfe0000 0x6>;
411 interrupts = <GIC_SPI 106 IRQ_TYPE_EDGE_RISING>;
412 clocks = <&p0_clk>;
413 };
414
Ulrich Hecht005980c2014-09-25 10:32:12 +0900415 i2c0: i2c@fcfee000 {
416 #address-cells = <1>;
417 #size-cells = <0>;
418 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
419 reg = <0xfcfee000 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900420 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
421 <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>,
422 <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>,
423 <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
424 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
425 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
426 <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
427 <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900428 clocks = <&mstp9_clks R7S72100_CLK_I2C0>;
429 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200430 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900431 status = "disabled";
432 };
433
434 i2c1: i2c@fcfee400 {
435 #address-cells = <1>;
436 #size-cells = <0>;
437 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
438 reg = <0xfcfee400 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900439 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
440 <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>,
441 <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>,
442 <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
443 <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
444 <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
445 <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
446 <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900447 clocks = <&mstp9_clks R7S72100_CLK_I2C1>;
448 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200449 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900450 status = "disabled";
451 };
452
453 i2c2: i2c@fcfee800 {
454 #address-cells = <1>;
455 #size-cells = <0>;
456 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
457 reg = <0xfcfee800 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900458 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
459 <GIC_SPI 174 IRQ_TYPE_EDGE_RISING>,
460 <GIC_SPI 175 IRQ_TYPE_EDGE_RISING>,
461 <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
462 <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
463 <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
464 <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
465 <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900466 clocks = <&mstp9_clks R7S72100_CLK_I2C2>;
467 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200468 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900469 status = "disabled";
470 };
471
472 i2c3: i2c@fcfeec00 {
473 #address-cells = <1>;
474 #size-cells = <0>;
475 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
476 reg = <0xfcfeec00 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900477 interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
478 <GIC_SPI 182 IRQ_TYPE_EDGE_RISING>,
479 <GIC_SPI 183 IRQ_TYPE_EDGE_RISING>,
480 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
481 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
482 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
483 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
484 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900485 clocks = <&mstp9_clks R7S72100_CLK_I2C3>;
486 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200487 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900488 status = "disabled";
489 };
490
491 mtu2: timer@fcff0000 {
492 compatible = "renesas,mtu2-r7s72100", "renesas,mtu2";
493 reg = <0xfcff0000 0x400>;
Simon Horman16af4e92016-01-28 10:29:35 +0900494 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900495 interrupt-names = "tgi0a";
496 clocks = <&mstp3_clks R7S72100_CLK_MTU2>;
497 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200498 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900499 status = "disabled";
500 };
Chris Brandte5482402016-09-01 21:40:11 -0400501
502 ether: ethernet@e8203000 {
503 compatible = "renesas,ether-r7s72100";
504 reg = <0xe8203000 0x800>,
505 <0xe8204800 0x200>;
506 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
507 clocks = <&mstp7_clks R7S72100_CLK_ETHER>;
508 power-domains = <&cpg_clocks>;
509 phy-mode = "mii";
510 #address-cells = <1>;
511 #size-cells = <0>;
512 status = "disabled";
513 };
Chris Brandt88786222016-09-20 11:46:18 -0400514
515 mmcif: mmc@e804c800 {
516 compatible = "renesas,mmcif-r7s72100", "renesas,sh-mmcif";
517 reg = <0xe804c800 0x80>;
518 interrupts = <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH
519 GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH
520 GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
521 clocks = <&mstp8_clks R7S72100_CLK_MMCIF>;
Chris Brandt5786ac12017-01-23 09:13:49 -0500522 power-domains = <&cpg_clocks>;
Chris Brandt88786222016-09-20 11:46:18 -0400523 reg-io-width = <4>;
524 bus-width = <8>;
525 status = "disabled";
526 };
Chris Brandt66474692016-09-26 16:40:31 -0400527
528 sdhi0: sd@e804e000 {
529 compatible = "renesas,sdhi-r7s72100";
530 reg = <0xe804e000 0x100>;
531 interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH
532 GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH
533 GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
534
Chris Brandt3d2abda2017-01-25 15:28:10 -0500535 clocks = <&mstp12_clks R7S72100_CLK_SDHI00>,
536 <&mstp12_clks R7S72100_CLK_SDHI01>;
537 clock-names = "core", "cd";
Chris Brandt39321972017-02-09 08:38:03 -0500538 power-domains = <&cpg_clocks>;
Chris Brandt66474692016-09-26 16:40:31 -0400539 cap-sd-highspeed;
540 cap-sdio-irq;
541 status = "disabled";
542 };
543
544 sdhi1: sd@e804e800 {
545 compatible = "renesas,sdhi-r7s72100";
546 reg = <0xe804e800 0x100>;
547 interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH
548 GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH
549 GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>;
550
Chris Brandt3d2abda2017-01-25 15:28:10 -0500551 clocks = <&mstp12_clks R7S72100_CLK_SDHI10>,
552 <&mstp12_clks R7S72100_CLK_SDHI11>;
553 clock-names = "core", "cd";
Chris Brandt39321972017-02-09 08:38:03 -0500554 power-domains = <&cpg_clocks>;
Chris Brandt66474692016-09-26 16:40:31 -0400555 cap-sd-highspeed;
556 cap-sdio-irq;
557 status = "disabled";
558 };
Chris Brandt69b5c6d2017-01-23 08:55:19 -0500559
560 ostm0: timer@fcfec000 {
561 compatible = "renesas,r7s72100-ostm", "renesas,ostm";
562 reg = <0xfcfec000 0x30>;
563 interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>;
564 clocks = <&mstp5_clks R7S72100_CLK_OSTM0>;
565 power-domains = <&cpg_clocks>;
566 status = "disabled";
567 };
568
569 ostm1: timer@fcfec400 {
570 compatible = "renesas,r7s72100-ostm", "renesas,ostm";
571 reg = <0xfcfec400 0x30>;
572 interrupts = <GIC_SPI 103 IRQ_TYPE_EDGE_RISING>;
573 clocks = <&mstp5_clks R7S72100_CLK_OSTM1>;
574 power-domains = <&cpg_clocks>;
575 status = "disabled";
576 };
Chris Brandt3b5e3f02017-03-29 10:30:33 -0700577
578 rtc: rtc@fcff1000 {
579 compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
580 reg = <0xfcff1000 0x2e>;
581 interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING
582 GIC_SPI 277 IRQ_TYPE_EDGE_RISING
583 GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
584 interrupt-names = "alarm", "period", "carry";
585 clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
586 <&rtc_x3_clk>, <&extal_clk>;
587 clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
588 power-domains = <&cpg_clocks>;
589 status = "disabled";
590 };
Magnus Damme3da5b32013-09-19 05:11:11 +0900591};