2 * Device Tree Source for Renesas r8a7779
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Simon Horman
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.
12 /include/ "skeleton.dtsi"
14 #include <dt-bindings/clock/r8a7779-clock.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
19 compatible = "renesas,r8a7779";
20 interrupt-parent = <&gic>;
28 compatible = "arm,cortex-a9";
30 clock-frequency = <1000000000>;
34 compatible = "arm,cortex-a9";
36 clock-frequency = <1000000000>;
40 compatible = "arm,cortex-a9";
42 clock-frequency = <1000000000>;
46 compatible = "arm,cortex-a9";
48 clock-frequency = <1000000000>;
58 gic: interrupt-controller@f0001000 {
59 compatible = "arm,cortex-a9-gic";
60 #interrupt-cells = <3>;
62 reg = <0xf0001000 0x1000>,
67 compatible = "arm,cortex-a9-twd-timer";
68 reg = <0xf0000600 0x20>;
69 interrupts = <GIC_PPI 13
70 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
71 clocks = <&cpg_clocks R8A7779_CLK_ZS>;
74 gpio0: gpio@ffc40000 {
75 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
76 reg = <0xffc40000 0x2c>;
77 interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>;
80 gpio-ranges = <&pfc 0 0 32>;
81 #interrupt-cells = <2>;
85 gpio1: gpio@ffc41000 {
86 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
87 reg = <0xffc41000 0x2c>;
88 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>;
91 gpio-ranges = <&pfc 0 32 32>;
92 #interrupt-cells = <2>;
96 gpio2: gpio@ffc42000 {
97 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
98 reg = <0xffc42000 0x2c>;
99 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
102 gpio-ranges = <&pfc 0 64 32>;
103 #interrupt-cells = <2>;
104 interrupt-controller;
107 gpio3: gpio@ffc43000 {
108 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
109 reg = <0xffc43000 0x2c>;
110 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
113 gpio-ranges = <&pfc 0 96 32>;
114 #interrupt-cells = <2>;
115 interrupt-controller;
118 gpio4: gpio@ffc44000 {
119 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
120 reg = <0xffc44000 0x2c>;
121 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
124 gpio-ranges = <&pfc 0 128 32>;
125 #interrupt-cells = <2>;
126 interrupt-controller;
129 gpio5: gpio@ffc45000 {
130 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
131 reg = <0xffc45000 0x2c>;
132 interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>;
135 gpio-ranges = <&pfc 0 160 32>;
136 #interrupt-cells = <2>;
137 interrupt-controller;
140 gpio6: gpio@ffc46000 {
141 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
142 reg = <0xffc46000 0x2c>;
143 interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>;
146 gpio-ranges = <&pfc 0 192 9>;
147 #interrupt-cells = <2>;
148 interrupt-controller;
151 irqpin0: interrupt-controller@fe780010 {
152 compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin";
153 #interrupt-cells = <2>;
155 interrupt-controller;
156 reg = <0xfe78001c 4>,
161 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH
162 0 28 IRQ_TYPE_LEVEL_HIGH
163 0 29 IRQ_TYPE_LEVEL_HIGH
164 0 30 IRQ_TYPE_LEVEL_HIGH>;
165 sense-bitfield-width = <2>;
169 #address-cells = <1>;
171 compatible = "renesas,i2c-r8a7779";
172 reg = <0xffc70000 0x1000>;
173 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
174 clocks = <&mstp0_clks R8A7779_CLK_I2C0>;
179 #address-cells = <1>;
181 compatible = "renesas,i2c-r8a7779";
182 reg = <0xffc71000 0x1000>;
183 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
184 clocks = <&mstp0_clks R8A7779_CLK_I2C1>;
189 #address-cells = <1>;
191 compatible = "renesas,i2c-r8a7779";
192 reg = <0xffc72000 0x1000>;
193 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&mstp0_clks R8A7779_CLK_I2C2>;
199 #address-cells = <1>;
201 compatible = "renesas,i2c-r8a7779";
202 reg = <0xffc73000 0x1000>;
203 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
204 clocks = <&mstp0_clks R8A7779_CLK_I2C3>;
208 scif0: serial@ffe40000 {
209 compatible = "renesas,scif-r8a7779", "renesas,scif";
210 reg = <0xffe40000 0x100>;
211 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>;
212 clocks = <&mstp0_clks R8A7779_CLK_SCIF0>;
213 clock-names = "sci_ick";
217 scif1: serial@ffe41000 {
218 compatible = "renesas,scif-r8a7779", "renesas,scif";
219 reg = <0xffe41000 0x100>;
220 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
221 clocks = <&mstp0_clks R8A7779_CLK_SCIF1>;
222 clock-names = "sci_ick";
226 scif2: serial@ffe42000 {
227 compatible = "renesas,scif-r8a7779", "renesas,scif";
228 reg = <0xffe42000 0x100>;
229 interrupts = <0 90 IRQ_TYPE_LEVEL_HIGH>;
230 clocks = <&mstp0_clks R8A7779_CLK_SCIF2>;
231 clock-names = "sci_ick";
235 scif3: serial@ffe43000 {
236 compatible = "renesas,scif-r8a7779", "renesas,scif";
237 reg = <0xffe43000 0x100>;
238 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>;
239 clocks = <&mstp0_clks R8A7779_CLK_SCIF3>;
240 clock-names = "sci_ick";
244 scif4: serial@ffe44000 {
245 compatible = "renesas,scif-r8a7779", "renesas,scif";
246 reg = <0xffe44000 0x100>;
247 interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
248 clocks = <&mstp0_clks R8A7779_CLK_SCIF4>;
249 clock-names = "sci_ick";
253 scif5: serial@ffe45000 {
254 compatible = "renesas,scif-r8a7779", "renesas,scif";
255 reg = <0xffe45000 0x100>;
256 interrupts = <0 93 IRQ_TYPE_LEVEL_HIGH>;
257 clocks = <&mstp0_clks R8A7779_CLK_SCIF5>;
258 clock-names = "sci_ick";
263 compatible = "renesas,pfc-r8a7779";
264 reg = <0xfffc0000 0x23c>;
268 compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal";
269 reg = <0xffc48000 0x38>;
272 tmu0: timer@ffd80000 {
273 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
274 reg = <0xffd80000 0x30>;
275 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>,
276 <0 33 IRQ_TYPE_LEVEL_HIGH>,
277 <0 34 IRQ_TYPE_LEVEL_HIGH>;
278 clocks = <&mstp0_clks R8A7779_CLK_TMU0>;
281 #renesas,channels = <3>;
286 tmu1: timer@ffd81000 {
287 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
288 reg = <0xffd81000 0x30>;
289 interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>,
290 <0 37 IRQ_TYPE_LEVEL_HIGH>,
291 <0 38 IRQ_TYPE_LEVEL_HIGH>;
292 clocks = <&mstp0_clks R8A7779_CLK_TMU1>;
295 #renesas,channels = <3>;
300 tmu2: timer@ffd82000 {
301 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
302 reg = <0xffd82000 0x30>;
303 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>,
304 <0 41 IRQ_TYPE_LEVEL_HIGH>,
305 <0 42 IRQ_TYPE_LEVEL_HIGH>;
306 clocks = <&mstp0_clks R8A7779_CLK_TMU2>;
309 #renesas,channels = <3>;
314 sata: sata@fc600000 {
315 compatible = "renesas,sata-r8a7779", "renesas,rcar-sata";
316 reg = <0xfc600000 0x2000>;
317 interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
318 clocks = <&mstp1_clks R8A7779_CLK_SATA>;
322 compatible = "renesas,sdhi-r8a7779";
323 reg = <0xffe4c000 0x100>;
324 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>;
325 clocks = <&mstp3_clks R8A7779_CLK_SDHI0>;
330 compatible = "renesas,sdhi-r8a7779";
331 reg = <0xffe4d000 0x100>;
332 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&mstp3_clks R8A7779_CLK_SDHI1>;
338 compatible = "renesas,sdhi-r8a7779";
339 reg = <0xffe4e000 0x100>;
340 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
341 clocks = <&mstp3_clks R8A7779_CLK_SDHI2>;
346 compatible = "renesas,sdhi-r8a7779";
347 reg = <0xffe4f000 0x100>;
348 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
349 clocks = <&mstp3_clks R8A7779_CLK_SDHI3>;
353 hspi0: spi@fffc7000 {
354 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
355 reg = <0xfffc7000 0x18>;
356 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
357 #address-cells = <1>;
359 clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
363 hspi1: spi@fffc8000 {
364 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
365 reg = <0xfffc8000 0x18>;
366 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
367 #address-cells = <1>;
369 clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
373 hspi2: spi@fffc6000 {
374 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
375 reg = <0xfffc6000 0x18>;
376 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
377 #address-cells = <1>;
379 clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
383 du: display@fff80000 {
384 compatible = "renesas,du-r8a7779";
385 reg = <0 0xfff80000 0 0x40000>;
386 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
387 clocks = <&mstp1_clks R8A7779_CLK_DU>;
391 #address-cells = <1>;
396 du_out_rgb0: endpoint {
401 du_out_rgb1: endpoint {
408 #address-cells = <1>;
412 /* External root clock */
413 extal_clk: extal_clk {
414 compatible = "fixed-clock";
416 /* This value must be overriden by the board. */
417 clock-frequency = <0>;
418 clock-output-names = "extal";
421 /* Special CPG clocks */
422 cpg_clocks: clocks@ffc80000 {
423 compatible = "renesas,r8a7779-cpg-clocks";
424 reg = <0xffc80000 0x30>;
425 clocks = <&extal_clk>;
427 clock-output-names = "plla", "z", "zs", "s",
428 "s1", "p", "b", "out";
431 /* Fixed factor clocks */
433 compatible = "fixed-factor-clock";
434 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
438 clock-output-names = "i";
441 compatible = "fixed-factor-clock";
442 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
446 clock-output-names = "s3";
449 compatible = "fixed-factor-clock";
450 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
454 clock-output-names = "s4";
457 compatible = "fixed-factor-clock";
458 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
462 clock-output-names = "g";
466 mstp0_clks: clocks@ffc80030 {
467 compatible = "renesas,r8a7779-mstp-clocks",
468 "renesas,cpg-mstp-clocks";
469 reg = <0xffc80030 4>;
470 clocks = <&cpg_clocks R8A7779_CLK_S>,
471 <&cpg_clocks R8A7779_CLK_P>,
472 <&cpg_clocks R8A7779_CLK_P>,
473 <&cpg_clocks R8A7779_CLK_P>,
474 <&cpg_clocks R8A7779_CLK_S>,
475 <&cpg_clocks R8A7779_CLK_S>,
476 <&cpg_clocks R8A7779_CLK_P>,
477 <&cpg_clocks R8A7779_CLK_P>,
478 <&cpg_clocks R8A7779_CLK_P>,
479 <&cpg_clocks R8A7779_CLK_P>,
480 <&cpg_clocks R8A7779_CLK_P>,
481 <&cpg_clocks R8A7779_CLK_P>,
482 <&cpg_clocks R8A7779_CLK_P>,
483 <&cpg_clocks R8A7779_CLK_P>,
484 <&cpg_clocks R8A7779_CLK_P>,
485 <&cpg_clocks R8A7779_CLK_P>;
488 R8A7779_CLK_HSPI R8A7779_CLK_TMU2
489 R8A7779_CLK_TMU1 R8A7779_CLK_TMU0
490 R8A7779_CLK_HSCIF1 R8A7779_CLK_HSCIF0
491 R8A7779_CLK_SCIF5 R8A7779_CLK_SCIF4
492 R8A7779_CLK_SCIF3 R8A7779_CLK_SCIF2
493 R8A7779_CLK_SCIF1 R8A7779_CLK_SCIF0
494 R8A7779_CLK_I2C3 R8A7779_CLK_I2C2
495 R8A7779_CLK_I2C1 R8A7779_CLK_I2C0
498 "hspi", "tmu2", "tmu1", "tmu0", "hscif1",
499 "hscif0", "scif5", "scif4", "scif3", "scif2",
500 "scif1", "scif0", "i2c3", "i2c2", "i2c1",
503 mstp1_clks: clocks@ffc80034 {
504 compatible = "renesas,r8a7779-mstp-clocks",
505 "renesas,cpg-mstp-clocks";
506 reg = <0xffc80034 4>, <0xffc80044 4>;
507 clocks = <&cpg_clocks R8A7779_CLK_P>,
508 <&cpg_clocks R8A7779_CLK_P>,
509 <&cpg_clocks R8A7779_CLK_S>,
510 <&cpg_clocks R8A7779_CLK_S>,
511 <&cpg_clocks R8A7779_CLK_S>,
512 <&cpg_clocks R8A7779_CLK_S>,
513 <&cpg_clocks R8A7779_CLK_P>,
514 <&cpg_clocks R8A7779_CLK_P>,
515 <&cpg_clocks R8A7779_CLK_P>,
516 <&cpg_clocks R8A7779_CLK_S>;
519 R8A7779_CLK_USB01 R8A7779_CLK_USB2
520 R8A7779_CLK_DU R8A7779_CLK_VIN2
521 R8A7779_CLK_VIN1 R8A7779_CLK_VIN0
522 R8A7779_CLK_ETHER R8A7779_CLK_SATA
523 R8A7779_CLK_PCIE R8A7779_CLK_VIN3
532 mstp3_clks: clocks@ffc8003c {
533 compatible = "renesas,r8a7779-mstp-clocks",
534 "renesas,cpg-mstp-clocks";
535 reg = <0xffc8003c 4>;
536 clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>,
537 <&s4_clk>, <&s4_clk>;
540 R8A7779_CLK_SDHI3 R8A7779_CLK_SDHI2
541 R8A7779_CLK_SDHI1 R8A7779_CLK_SDHI0
542 R8A7779_CLK_MMC1 R8A7779_CLK_MMC0
545 "sdhi3", "sdhi2", "sdhi1", "sdhi0",