blob: 47ef53a4c8bf6a0235f6624a646da5d728913d8c [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
Wolfram Sangb6face42014-05-14 03:10:06 +020054 /* Fixed factor clocks */
Simon Horman21f18972016-03-18 08:10:44 +090055 b_clk: b {
Wolfram Sangb6face42014-05-14 03:10:06 +020056 #clock-cells = <0>;
57 compatible = "fixed-factor-clock";
58 clocks = <&cpg_clocks R7S72100_CLK_PLL>;
59 clock-mult = <1>;
60 clock-div = <3>;
Wolfram Sangb6face42014-05-14 03:10:06 +020061 };
Simon Horman21f18972016-03-18 08:10:44 +090062 p1_clk: p1 {
Wolfram Sangb6face42014-05-14 03:10:06 +020063 #clock-cells = <0>;
64 compatible = "fixed-factor-clock";
65 clocks = <&cpg_clocks R7S72100_CLK_PLL>;
66 clock-mult = <1>;
67 clock-div = <6>;
Wolfram Sangb6face42014-05-14 03:10:06 +020068 };
Simon Horman21f18972016-03-18 08:10:44 +090069 p0_clk: p0 {
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 = <12>;
Wolfram Sangb6face42014-05-14 03:10:06 +020075 };
76
Ulrich Hecht005980c2014-09-25 10:32:12 +090077 /* Special CPG clocks */
78 cpg_clocks: cpg_clocks@fcfe0000 {
79 #clock-cells = <1>;
80 compatible = "renesas,r7s72100-cpg-clocks",
81 "renesas,rz-cpg-clocks";
82 reg = <0xfcfe0000 0x18>;
83 clocks = <&extal_clk>, <&usb_x1_clk>;
84 clock-output-names = "pll", "i", "g";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +020085 #power-domain-cells = <0>;
Ulrich Hecht005980c2014-09-25 10:32:12 +090086 };
87
Wolfram Sangb6face42014-05-14 03:10:06 +020088 /* MSTP clocks */
89 mstp3_clks: mstp3_clks@fcfe0420 {
90 #clock-cells = <1>;
91 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
92 reg = <0xfcfe0420 4>;
93 clocks = <&p0_clk>;
94 clock-indices = <R7S72100_CLK_MTU2>;
95 clock-output-names = "mtu2";
96 };
97
98 mstp4_clks: mstp4_clks@fcfe0424 {
99 #clock-cells = <1>;
100 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
101 reg = <0xfcfe0424 4>;
102 clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>,
103 <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>;
104 clock-indices = <
105 R7S72100_CLK_SCIF0 R7S72100_CLK_SCIF1 R7S72100_CLK_SCIF2 R7S72100_CLK_SCIF3
106 R7S72100_CLK_SCIF4 R7S72100_CLK_SCIF5 R7S72100_CLK_SCIF6 R7S72100_CLK_SCIF7
107 >;
108 clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7";
109 };
Wolfram Sangd1655662014-05-14 03:10:11 +0200110
Chris Brandtcfddd3d2017-01-23 08:55:18 -0500111 mstp5_clks: mstp5_clks@fcfe0428 {
112 #clock-cells = <1>;
113 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
114 reg = <0xfcfe0428 4>;
115 clocks = <&p0_clk>, <&p0_clk>;
116 clock-indices = <R7S72100_CLK_OSTM0 R7S72100_CLK_OSTM1>;
117 clock-output-names = "ostm0", "ostm1";
118 };
119
Chris Brandt969244f2016-09-01 21:40:10 -0400120 mstp7_clks: mstp7_clks@fcfe0430 {
121 #clock-cells = <1>;
122 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
123 reg = <0xfcfe0430 4>;
Chris Brandt91a7c502017-03-30 14:16:09 -0700124 clocks = <&b_clk>;
Chris Brandt969244f2016-09-01 21:40:10 -0400125 clock-indices = <R7S72100_CLK_ETHER>;
126 clock-output-names = "ether";
127 };
128
Chris Brandt6c35a662016-09-15 15:34:02 -0400129 mstp8_clks: mstp8_clks@fcfe0434 {
130 #clock-cells = <1>;
131 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
132 reg = <0xfcfe0434 4>;
133 clocks = <&p1_clk>;
134 clock-indices = <R7S72100_CLK_MMCIF>;
135 clock-output-names = "mmcif";
136 };
137
Wolfram Sangd1655662014-05-14 03:10:11 +0200138 mstp9_clks: mstp9_clks@fcfe0438 {
139 #clock-cells = <1>;
140 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
141 reg = <0xfcfe0438 4>;
142 clocks = <&p0_clk>, <&p0_clk>, <&p0_clk>, <&p0_clk>;
143 clock-indices = <
144 R7S72100_CLK_I2C0 R7S72100_CLK_I2C1 R7S72100_CLK_I2C2 R7S72100_CLK_I2C3
145 >;
146 clock-output-names = "i2c0", "i2c1", "i2c2", "i2c3";
147 };
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200148
149 mstp10_clks: mstp10_clks@fcfe043c {
150 #clock-cells = <1>;
151 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
152 reg = <0xfcfe043c 4>;
153 clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>,
154 <&p1_clk>;
155 clock-indices = <
156 R7S72100_CLK_SPI0 R7S72100_CLK_SPI1 R7S72100_CLK_SPI2 R7S72100_CLK_SPI3
157 R7S72100_CLK_SPI4
158 >;
159 clock-output-names = "spi0", "spi1", "spi2", "spi3", "spi4";
160 };
Chris Brandt7c8522b2016-09-22 17:32:09 -0400161 mstp12_clks: mstp12_clks@fcfe0444 {
162 #clock-cells = <1>;
163 compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
164 reg = <0xfcfe0444 4>;
Chris Brandt3d2abda2017-01-25 15:28:10 -0500165 clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>;
166 clock-indices = <
167 R7S72100_CLK_SDHI00 R7S72100_CLK_SDHI01
168 R7S72100_CLK_SDHI10 R7S72100_CLK_SDHI11
169 >;
170 clock-output-names = "sdhi00", "sdhi01", "sdhi10", "sdhi11";
Chris Brandt7c8522b2016-09-22 17:32:09 -0400171 };
Wolfram Sangb6face42014-05-14 03:10:06 +0200172 };
173
Magnus Damme3da5b32013-09-19 05:11:11 +0900174 cpus {
175 #address-cells = <1>;
176 #size-cells = <0>;
177
178 cpu@0 {
179 device_type = "cpu";
180 compatible = "arm,cortex-a9";
181 reg = <0>;
Magnus Damm005407f2014-06-06 14:28:49 +0900182 clock-frequency = <400000000>;
Magnus Damme3da5b32013-09-19 05:11:11 +0900183 };
184 };
185
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200186 scif0: serial@e8007000 {
187 compatible = "renesas,scif-r7s72100", "renesas,scif";
188 reg = <0xe8007000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900189 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
190 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
191 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
192 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200193 clocks = <&mstp4_clks R7S72100_CLK_SCIF0>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100194 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200195 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200196 status = "disabled";
197 };
198
199 scif1: serial@e8007800 {
200 compatible = "renesas,scif-r7s72100", "renesas,scif";
201 reg = <0xe8007800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900202 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
203 <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
204 <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
205 <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200206 clocks = <&mstp4_clks R7S72100_CLK_SCIF1>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100207 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200208 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200209 status = "disabled";
210 };
211
212 scif2: serial@e8008000 {
213 compatible = "renesas,scif-r7s72100", "renesas,scif";
214 reg = <0xe8008000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900215 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
216 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
217 <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
218 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200219 clocks = <&mstp4_clks R7S72100_CLK_SCIF2>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100220 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200221 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200222 status = "disabled";
223 };
224
225 scif3: serial@e8008800 {
226 compatible = "renesas,scif-r7s72100", "renesas,scif";
227 reg = <0xe8008800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900228 interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
229 <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
230 <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
231 <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200232 clocks = <&mstp4_clks R7S72100_CLK_SCIF3>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100233 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200234 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200235 status = "disabled";
236 };
237
238 scif4: serial@e8009000 {
239 compatible = "renesas,scif-r7s72100", "renesas,scif";
240 reg = <0xe8009000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900241 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
242 <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
243 <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
244 <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200245 clocks = <&mstp4_clks R7S72100_CLK_SCIF4>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100246 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200247 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200248 status = "disabled";
249 };
250
251 scif5: serial@e8009800 {
252 compatible = "renesas,scif-r7s72100", "renesas,scif";
253 reg = <0xe8009800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900254 interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
255 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
256 <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
257 <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200258 clocks = <&mstp4_clks R7S72100_CLK_SCIF5>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100259 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200260 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200261 status = "disabled";
262 };
263
264 scif6: serial@e800a000 {
265 compatible = "renesas,scif-r7s72100", "renesas,scif";
266 reg = <0xe800a000 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900267 interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
269 <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
270 <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200271 clocks = <&mstp4_clks R7S72100_CLK_SCIF6>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100272 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200273 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200274 status = "disabled";
275 };
276
277 scif7: serial@e800a800 {
278 compatible = "renesas,scif-r7s72100", "renesas,scif";
279 reg = <0xe800a800 64>;
Simon Horman16af4e92016-01-28 10:29:35 +0900280 interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
282 <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
283 <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200284 clocks = <&mstp4_clks R7S72100_CLK_SCIF7>;
Laurent Pinchart92489122016-01-29 10:47:32 +0100285 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200286 power-domains = <&cpg_clocks>;
Wolfram Sang4c84c1b2014-05-14 03:10:08 +0200287 status = "disabled";
288 };
289
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100290 spi0: spi@e800c800 {
291 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
292 reg = <0xe800c800 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900293 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>,
295 <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100296 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200297 clocks = <&mstp10_clks R7S72100_CLK_SPI0>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200298 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100299 num-cs = <1>;
300 #address-cells = <1>;
301 #size-cells = <0>;
302 status = "disabled";
303 };
304
305 spi1: spi@e800d000 {
306 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
307 reg = <0xe800d000 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900308 interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100311 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200312 clocks = <&mstp10_clks R7S72100_CLK_SPI1>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200313 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100314 num-cs = <1>;
315 #address-cells = <1>;
316 #size-cells = <0>;
317 status = "disabled";
318 };
319
320 spi2: spi@e800d800 {
321 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
322 reg = <0xe800d800 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900323 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
324 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
325 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100326 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200327 clocks = <&mstp10_clks R7S72100_CLK_SPI2>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200328 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100329 num-cs = <1>;
330 #address-cells = <1>;
331 #size-cells = <0>;
332 status = "disabled";
333 };
334
335 spi3: spi@e800e000 {
336 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
337 reg = <0xe800e000 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900338 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
339 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
340 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100341 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200342 clocks = <&mstp10_clks R7S72100_CLK_SPI3>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200343 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100344 num-cs = <1>;
345 #address-cells = <1>;
346 #size-cells = <0>;
347 status = "disabled";
348 };
349
350 spi4: spi@e800e800 {
351 compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
352 reg = <0xe800e800 0x24>;
Simon Horman16af4e92016-01-28 10:29:35 +0900353 interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
354 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
355 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100356 interrupt-names = "error", "rx", "tx";
Wolfram Sang52eed4f2014-05-14 03:10:13 +0200357 clocks = <&mstp10_clks R7S72100_CLK_SPI4>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200358 power-domains = <&cpg_clocks>;
Geert Uytterhoeven4b18e832014-02-04 16:23:59 +0100359 num-cs = <1>;
360 #address-cells = <1>;
361 #size-cells = <0>;
362 status = "disabled";
363 };
Ulrich Hecht005980c2014-09-25 10:32:12 +0900364
365 gic: interrupt-controller@e8201000 {
Geert Uytterhoevend9e1a0e2015-11-20 13:36:52 +0100366 compatible = "arm,pl390";
Ulrich Hecht005980c2014-09-25 10:32:12 +0900367 #interrupt-cells = <3>;
368 #address-cells = <0>;
369 interrupt-controller;
370 reg = <0xe8201000 0x1000>,
371 <0xe8202000 0x1000>;
372 };
373
Chris Brandt69ed50d2017-03-04 17:37:37 -0500374 wdt: watchdog@fcfe0000 {
375 compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt";
376 reg = <0xfcfe0000 0x6>;
377 interrupts = <GIC_SPI 106 IRQ_TYPE_EDGE_RISING>;
378 clocks = <&p0_clk>;
379 };
380
Ulrich Hecht005980c2014-09-25 10:32:12 +0900381 i2c0: i2c@fcfee000 {
382 #address-cells = <1>;
383 #size-cells = <0>;
384 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
385 reg = <0xfcfee000 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900386 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
387 <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>,
388 <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>,
389 <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
390 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
391 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
392 <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
393 <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900394 clocks = <&mstp9_clks R7S72100_CLK_I2C0>;
395 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200396 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900397 status = "disabled";
398 };
399
400 i2c1: i2c@fcfee400 {
401 #address-cells = <1>;
402 #size-cells = <0>;
403 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
404 reg = <0xfcfee400 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900405 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
406 <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>,
407 <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>,
408 <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
409 <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
410 <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
411 <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
412 <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900413 clocks = <&mstp9_clks R7S72100_CLK_I2C1>;
414 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200415 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900416 status = "disabled";
417 };
418
419 i2c2: i2c@fcfee800 {
420 #address-cells = <1>;
421 #size-cells = <0>;
422 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
423 reg = <0xfcfee800 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900424 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
425 <GIC_SPI 174 IRQ_TYPE_EDGE_RISING>,
426 <GIC_SPI 175 IRQ_TYPE_EDGE_RISING>,
427 <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
428 <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
429 <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
430 <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
431 <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900432 clocks = <&mstp9_clks R7S72100_CLK_I2C2>;
433 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200434 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900435 status = "disabled";
436 };
437
438 i2c3: i2c@fcfeec00 {
439 #address-cells = <1>;
440 #size-cells = <0>;
441 compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
442 reg = <0xfcfeec00 0x44>;
Simon Horman16af4e92016-01-28 10:29:35 +0900443 interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
444 <GIC_SPI 182 IRQ_TYPE_EDGE_RISING>,
445 <GIC_SPI 183 IRQ_TYPE_EDGE_RISING>,
446 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
447 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
448 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
449 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
450 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900451 clocks = <&mstp9_clks R7S72100_CLK_I2C3>;
452 clock-frequency = <100000>;
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200453 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900454 status = "disabled";
455 };
456
457 mtu2: timer@fcff0000 {
458 compatible = "renesas,mtu2-r7s72100", "renesas,mtu2";
459 reg = <0xfcff0000 0x400>;
Simon Horman16af4e92016-01-28 10:29:35 +0900460 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900461 interrupt-names = "tgi0a";
462 clocks = <&mstp3_clks R7S72100_CLK_MTU2>;
463 clock-names = "fck";
Geert Uytterhoevencbe1f832015-08-04 14:28:07 +0200464 power-domains = <&cpg_clocks>;
Ulrich Hecht005980c2014-09-25 10:32:12 +0900465 status = "disabled";
466 };
Chris Brandte5482402016-09-01 21:40:11 -0400467
468 ether: ethernet@e8203000 {
469 compatible = "renesas,ether-r7s72100";
470 reg = <0xe8203000 0x800>,
471 <0xe8204800 0x200>;
472 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
473 clocks = <&mstp7_clks R7S72100_CLK_ETHER>;
474 power-domains = <&cpg_clocks>;
475 phy-mode = "mii";
476 #address-cells = <1>;
477 #size-cells = <0>;
478 status = "disabled";
479 };
Chris Brandt88786222016-09-20 11:46:18 -0400480
481 mmcif: mmc@e804c800 {
482 compatible = "renesas,mmcif-r7s72100", "renesas,sh-mmcif";
483 reg = <0xe804c800 0x80>;
484 interrupts = <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH
485 GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH
486 GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
487 clocks = <&mstp8_clks R7S72100_CLK_MMCIF>;
Chris Brandt5786ac12017-01-23 09:13:49 -0500488 power-domains = <&cpg_clocks>;
Chris Brandt88786222016-09-20 11:46:18 -0400489 reg-io-width = <4>;
490 bus-width = <8>;
491 status = "disabled";
492 };
Chris Brandt66474692016-09-26 16:40:31 -0400493
494 sdhi0: sd@e804e000 {
495 compatible = "renesas,sdhi-r7s72100";
496 reg = <0xe804e000 0x100>;
497 interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH
498 GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH
499 GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
500
Chris Brandt3d2abda2017-01-25 15:28:10 -0500501 clocks = <&mstp12_clks R7S72100_CLK_SDHI00>,
502 <&mstp12_clks R7S72100_CLK_SDHI01>;
503 clock-names = "core", "cd";
Chris Brandt39321972017-02-09 08:38:03 -0500504 power-domains = <&cpg_clocks>;
Chris Brandt66474692016-09-26 16:40:31 -0400505 cap-sd-highspeed;
506 cap-sdio-irq;
507 status = "disabled";
508 };
509
510 sdhi1: sd@e804e800 {
511 compatible = "renesas,sdhi-r7s72100";
512 reg = <0xe804e800 0x100>;
513 interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH
514 GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH
515 GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>;
516
Chris Brandt3d2abda2017-01-25 15:28:10 -0500517 clocks = <&mstp12_clks R7S72100_CLK_SDHI10>,
518 <&mstp12_clks R7S72100_CLK_SDHI11>;
519 clock-names = "core", "cd";
Chris Brandt39321972017-02-09 08:38:03 -0500520 power-domains = <&cpg_clocks>;
Chris Brandt66474692016-09-26 16:40:31 -0400521 cap-sd-highspeed;
522 cap-sdio-irq;
523 status = "disabled";
524 };
Chris Brandt69b5c6d2017-01-23 08:55:19 -0500525
526 ostm0: timer@fcfec000 {
527 compatible = "renesas,r7s72100-ostm", "renesas,ostm";
528 reg = <0xfcfec000 0x30>;
529 interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>;
530 clocks = <&mstp5_clks R7S72100_CLK_OSTM0>;
531 power-domains = <&cpg_clocks>;
532 status = "disabled";
533 };
534
535 ostm1: timer@fcfec400 {
536 compatible = "renesas,r7s72100-ostm", "renesas,ostm";
537 reg = <0xfcfec400 0x30>;
538 interrupts = <GIC_SPI 103 IRQ_TYPE_EDGE_RISING>;
539 clocks = <&mstp5_clks R7S72100_CLK_OSTM1>;
540 power-domains = <&cpg_clocks>;
541 status = "disabled";
542 };
Magnus Damme3da5b32013-09-19 05:11:11 +0900543};