blob: 3af0a2187493101f142a2739bbec15172b0449b9 [file] [log] [blame]
Kuninori Morimotoccb7cc72013-03-21 03:01:36 -07001/*
2 * Device Tree Source for Renesas r8a7778
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6 *
7 * based on r8a7779
8 *
9 * Copyright (C) 2013 Renesas Solutions Corp.
10 * Copyright (C) 2013 Simon Horman
11 *
12 * This file is licensed under the terms of the GNU General Public License
13 * version 2. This program is licensed "as is" without any warranty of any
14 * kind, whether express or implied.
15 */
16
17/include/ "skeleton.dtsi"
18
Laurent Pinchart5f75e732013-11-19 03:18:25 +010019#include <dt-bindings/interrupt-controller/irq.h>
20
Kuninori Morimotoccb7cc72013-03-21 03:01:36 -070021/ {
22 compatible = "renesas,r8a7778";
Laurent Pinchart9ff254a2014-04-30 02:41:28 +020023 interrupt-parent = <&gic>;
Kuninori Morimotoccb7cc72013-03-21 03:01:36 -070024
25 cpus {
26 cpu@0 {
27 compatible = "arm,cortex-a9";
28 };
29 };
30
Kuninori Morimotoa50da082013-10-31 18:22:21 -070031 aliases {
32 spi0 = &hspi0;
33 spi1 = &hspi1;
34 spi2 = &hspi2;
35 };
36
Kuninori Morimotoccb7cc72013-03-21 03:01:36 -070037 gic: interrupt-controller@fe438000 {
38 compatible = "arm,cortex-a9-gic";
39 #interrupt-cells = <3>;
40 interrupt-controller;
41 reg = <0xfe438000 0x1000>,
42 <0xfe430000 0x100>;
43 };
Laurent Pinchart0697ccc2013-05-09 15:05:57 +020044
Kuninori Morimoto87f1ba82013-10-02 01:32:12 -070045 /* irqpin: IRQ0 - IRQ3 */
46 irqpin: irqpin@fe78001c {
Magnus Dammd79af222013-11-28 08:15:11 +090047 compatible = "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin";
Kuninori Morimoto87f1ba82013-10-02 01:32:12 -070048 #interrupt-cells = <2>;
49 interrupt-controller;
50 status = "disabled"; /* default off */
51 reg = <0xfe78001c 4>,
52 <0xfe780010 4>,
53 <0xfe780024 4>,
54 <0xfe780044 4>,
55 <0xfe780064 4>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010056 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH
57 0 28 IRQ_TYPE_LEVEL_HIGH
58 0 29 IRQ_TYPE_LEVEL_HIGH
59 0 30 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto87f1ba82013-10-02 01:32:12 -070060 sense-bitfield-width = <2>;
61 };
62
Laurent Pinchartaaf7eda2013-05-10 15:51:14 +020063 gpio0: gpio@ffc40000 {
64 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
65 reg = <0xffc40000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010066 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartaaf7eda2013-05-10 15:51:14 +020067 #gpio-cells = <2>;
68 gpio-controller;
69 gpio-ranges = <&pfc 0 0 32>;
70 #interrupt-cells = <2>;
71 interrupt-controller;
72 };
73
74 gpio1: gpio@ffc41000 {
75 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
76 reg = <0xffc41000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010077 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartaaf7eda2013-05-10 15:51:14 +020078 #gpio-cells = <2>;
79 gpio-controller;
80 gpio-ranges = <&pfc 0 32 32>;
81 #interrupt-cells = <2>;
82 interrupt-controller;
83 };
84
85 gpio2: gpio@ffc42000 {
86 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
87 reg = <0xffc42000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010088 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartaaf7eda2013-05-10 15:51:14 +020089 #gpio-cells = <2>;
90 gpio-controller;
91 gpio-ranges = <&pfc 0 64 32>;
92 #interrupt-cells = <2>;
93 interrupt-controller;
94 };
95
96 gpio3: gpio@ffc43000 {
97 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
98 reg = <0xffc43000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010099 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartaaf7eda2013-05-10 15:51:14 +0200100 #gpio-cells = <2>;
101 gpio-controller;
102 gpio-ranges = <&pfc 0 96 32>;
103 #interrupt-cells = <2>;
104 interrupt-controller;
105 };
106
107 gpio4: gpio@ffc44000 {
108 compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar";
109 reg = <0xffc44000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100110 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartaaf7eda2013-05-10 15:51:14 +0200111 #gpio-cells = <2>;
112 gpio-controller;
113 gpio-ranges = <&pfc 0 128 27>;
114 #interrupt-cells = <2>;
115 interrupt-controller;
116 };
117
Laurent Pinchart0697ccc2013-05-09 15:05:57 +0200118 pfc: pfc@fffc0000 {
119 compatible = "renesas,pfc-r8a7778";
Laurent Pinchart80d01fe2013-10-03 19:35:41 +0200120 reg = <0xfffc0000 0x118>;
Laurent Pinchart0697ccc2013-05-09 15:05:57 +0200121 };
Kuninori Morimoto3acb51b2013-10-03 23:44:15 -0700122
123 i2c0: i2c@ffc70000 {
124 #address-cells = <1>;
125 #size-cells = <0>;
126 compatible = "renesas,i2c-r8a7778";
127 reg = <0xffc70000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100128 interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto3acb51b2013-10-03 23:44:15 -0700129 status = "disabled";
130 };
131
132 i2c1: i2c@ffc71000 {
133 #address-cells = <1>;
134 #size-cells = <0>;
135 compatible = "renesas,i2c-r8a7778";
136 reg = <0xffc71000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100137 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto3acb51b2013-10-03 23:44:15 -0700138 status = "disabled";
139 };
140
141 i2c2: i2c@ffc72000 {
142 #address-cells = <1>;
143 #size-cells = <0>;
144 compatible = "renesas,i2c-r8a7778";
145 reg = <0xffc72000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100146 interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto3acb51b2013-10-03 23:44:15 -0700147 status = "disabled";
148 };
149
150 i2c3: i2c@ffc73000 {
151 #address-cells = <1>;
152 #size-cells = <0>;
153 compatible = "renesas,i2c-r8a7778";
154 reg = <0xffc73000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100155 interrupts = <0 77 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto3acb51b2013-10-03 23:44:15 -0700156 status = "disabled";
157 };
Kuninori Morimotof7b901752013-10-03 18:32:22 -0700158
Kuninori Morimoto14e1d912013-10-21 19:35:42 -0700159 mmcif: mmc@ffe4e000 {
Kuninori Morimotof7b901752013-10-03 18:32:22 -0700160 compatible = "renesas,sh-mmcif";
161 reg = <0xffe4e000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100162 interrupts = <0 61 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimotof7b901752013-10-03 18:32:22 -0700163 status = "disabled";
164 };
Kuninori Morimoto04cbd882013-10-10 23:35:46 -0700165
Kuninori Morimoto14e1d912013-10-21 19:35:42 -0700166 sdhi0: sd@ffe4c000 {
Kuninori Morimoto04cbd882013-10-10 23:35:46 -0700167 compatible = "renesas,sdhi-r8a7778";
168 reg = <0xffe4c000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100169 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto04cbd882013-10-10 23:35:46 -0700170 cap-sd-highspeed;
171 cap-sdio-irq;
172 status = "disabled";
173 };
174
Kuninori Morimoto14e1d912013-10-21 19:35:42 -0700175 sdhi1: sd@ffe4d000 {
Kuninori Morimoto04cbd882013-10-10 23:35:46 -0700176 compatible = "renesas,sdhi-r8a7778";
177 reg = <0xffe4d000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100178 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto04cbd882013-10-10 23:35:46 -0700179 cap-sd-highspeed;
180 cap-sdio-irq;
181 status = "disabled";
182 };
183
Kuninori Morimoto14e1d912013-10-21 19:35:42 -0700184 sdhi2: sd@ffe4f000 {
Kuninori Morimoto04cbd882013-10-10 23:35:46 -0700185 compatible = "renesas,sdhi-r8a7778";
186 reg = <0xffe4f000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100187 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
Kuninori Morimoto04cbd882013-10-10 23:35:46 -0700188 cap-sd-highspeed;
189 cap-sdio-irq;
190 status = "disabled";
191 };
Kuninori Morimotoae4273e2013-10-03 23:44:15 -0700192
Kuninori Morimotoa50da082013-10-31 18:22:21 -0700193 hspi0: spi@fffc7000 {
Geert Uytterhoevena34c50d2014-03-14 11:06:40 +0100194 compatible = "renesas,hspi-r8a7778", "renesas,hspi";
Kuninori Morimotoa50da082013-10-31 18:22:21 -0700195 reg = <0xfffc7000 0x18>;
Laurent Pinchartd6dd1312013-11-28 17:22:13 +0100196 interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena34c50d2014-03-14 11:06:40 +0100197 #address-cells = <1>;
198 #size-cells = <0>;
Kuninori Morimotoa50da082013-10-31 18:22:21 -0700199 status = "disabled";
200 };
201
202 hspi1: spi@fffc8000 {
Geert Uytterhoevena34c50d2014-03-14 11:06:40 +0100203 compatible = "renesas,hspi-r8a7778", "renesas,hspi";
Kuninori Morimotoa50da082013-10-31 18:22:21 -0700204 reg = <0xfffc8000 0x18>;
Laurent Pinchartd6dd1312013-11-28 17:22:13 +0100205 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena34c50d2014-03-14 11:06:40 +0100206 #address-cells = <1>;
207 #size-cells = <0>;
Kuninori Morimotoa50da082013-10-31 18:22:21 -0700208 status = "disabled";
209 };
210
211 hspi2: spi@fffc6000 {
Geert Uytterhoevena34c50d2014-03-14 11:06:40 +0100212 compatible = "renesas,hspi-r8a7778", "renesas,hspi";
Kuninori Morimotoa50da082013-10-31 18:22:21 -0700213 reg = <0xfffc6000 0x18>;
Laurent Pinchartd6dd1312013-11-28 17:22:13 +0100214 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevena34c50d2014-03-14 11:06:40 +0100215 #address-cells = <1>;
216 #size-cells = <0>;
Kuninori Morimotoa50da082013-10-31 18:22:21 -0700217 status = "disabled";
218 };
Kuninori Morimotoccb7cc72013-03-21 03:01:36 -0700219};