Linux 3.14.25
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / boot / dts / r8a7779.dtsi
1 /*
2  * Device Tree Source for Renesas r8a7779
3  *
4  * Copyright (C) 2013 Renesas Solutions Corp.
5  * Copyright (C) 2013 Simon Horman
6  *
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
12 /include/ "skeleton.dtsi"
13
14 #include <dt-bindings/interrupt-controller/irq.h>
15
16 / {
17         compatible = "renesas,r8a7779";
18
19         cpus {
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22
23                 cpu@0 {
24                         device_type = "cpu";
25                         compatible = "arm,cortex-a9";
26                         reg = <0>;
27                 };
28                 cpu@1 {
29                         device_type = "cpu";
30                         compatible = "arm,cortex-a9";
31                         reg = <1>;
32                 };
33                 cpu@2 {
34                         device_type = "cpu";
35                         compatible = "arm,cortex-a9";
36                         reg = <2>;
37                 };
38                 cpu@3 {
39                         device_type = "cpu";
40                         compatible = "arm,cortex-a9";
41                         reg = <3>;
42                 };
43         };
44
45         aliases {
46                 spi0 = &hspi0;
47                 spi1 = &hspi1;
48                 spi2 = &hspi2;
49         };
50
51         gic: interrupt-controller@f0001000 {
52                 compatible = "arm,cortex-a9-gic";
53                 #interrupt-cells = <3>;
54                 interrupt-controller;
55                 reg = <0xf0001000 0x1000>,
56                       <0xf0000100 0x100>;
57         };
58
59         gpio0: gpio@ffc40000 {
60                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
61                 reg = <0xffc40000 0x2c>;
62                 interrupt-parent = <&gic>;
63                 interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>;
64                 #gpio-cells = <2>;
65                 gpio-controller;
66                 gpio-ranges = <&pfc 0 0 32>;
67                 #interrupt-cells = <2>;
68                 interrupt-controller;
69         };
70
71         gpio1: gpio@ffc41000 {
72                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
73                 reg = <0xffc41000 0x2c>;
74                 interrupt-parent = <&gic>;
75                 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>;
76                 #gpio-cells = <2>;
77                 gpio-controller;
78                 gpio-ranges = <&pfc 0 32 32>;
79                 #interrupt-cells = <2>;
80                 interrupt-controller;
81         };
82
83         gpio2: gpio@ffc42000 {
84                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
85                 reg = <0xffc42000 0x2c>;
86                 interrupt-parent = <&gic>;
87                 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
88                 #gpio-cells = <2>;
89                 gpio-controller;
90                 gpio-ranges = <&pfc 0 64 32>;
91                 #interrupt-cells = <2>;
92                 interrupt-controller;
93         };
94
95         gpio3: gpio@ffc43000 {
96                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
97                 reg = <0xffc43000 0x2c>;
98                 interrupt-parent = <&gic>;
99                 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
100                 #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-r8a7779", "renesas,gpio-rcar";
109                 reg = <0xffc44000 0x2c>;
110                 interrupt-parent = <&gic>;
111                 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
112                 #gpio-cells = <2>;
113                 gpio-controller;
114                 gpio-ranges = <&pfc 0 128 32>;
115                 #interrupt-cells = <2>;
116                 interrupt-controller;
117         };
118
119         gpio5: gpio@ffc45000 {
120                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
121                 reg = <0xffc45000 0x2c>;
122                 interrupt-parent = <&gic>;
123                 interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>;
124                 #gpio-cells = <2>;
125                 gpio-controller;
126                 gpio-ranges = <&pfc 0 160 32>;
127                 #interrupt-cells = <2>;
128                 interrupt-controller;
129         };
130
131         gpio6: gpio@ffc46000 {
132                 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
133                 reg = <0xffc46000 0x2c>;
134                 interrupt-parent = <&gic>;
135                 interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>;
136                 #gpio-cells = <2>;
137                 gpio-controller;
138                 gpio-ranges = <&pfc 0 192 9>;
139                 #interrupt-cells = <2>;
140                 interrupt-controller;
141         };
142
143         irqpin0: irqpin@fe780010 {
144                 compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin";
145                 #interrupt-cells = <2>;
146                 status = "disabled";
147                 interrupt-controller;
148                 reg = <0xfe78001c 4>,
149                         <0xfe780010 4>,
150                         <0xfe780024 4>,
151                         <0xfe780044 4>,
152                         <0xfe780064 4>;
153                 interrupt-parent = <&gic>;
154                 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH
155                               0 28 IRQ_TYPE_LEVEL_HIGH
156                               0 29 IRQ_TYPE_LEVEL_HIGH
157                               0 30 IRQ_TYPE_LEVEL_HIGH>;
158                 sense-bitfield-width = <2>;
159         };
160
161         i2c0: i2c@ffc70000 {
162                 #address-cells = <1>;
163                 #size-cells = <0>;
164                 compatible = "renesas,i2c-r8a7779";
165                 reg = <0xffc70000 0x1000>;
166                 interrupt-parent = <&gic>;
167                 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
168                 status = "disabled";
169         };
170
171         i2c1: i2c@ffc71000 {
172                 #address-cells = <1>;
173                 #size-cells = <0>;
174                 compatible = "renesas,i2c-r8a7779";
175                 reg = <0xffc71000 0x1000>;
176                 interrupt-parent = <&gic>;
177                 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
178                 status = "disabled";
179         };
180
181         i2c2: i2c@ffc72000 {
182                 #address-cells = <1>;
183                 #size-cells = <0>;
184                 compatible = "renesas,i2c-r8a7779";
185                 reg = <0xffc72000 0x1000>;
186                 interrupt-parent = <&gic>;
187                 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
188                 status = "disabled";
189         };
190
191         i2c3: i2c@ffc73000 {
192                 #address-cells = <1>;
193                 #size-cells = <0>;
194                 compatible = "renesas,i2c-r8a7779";
195                 reg = <0xffc73000 0x1000>;
196                 interrupt-parent = <&gic>;
197                 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
198                 status = "disabled";
199         };
200
201         pfc: pfc@fffc0000 {
202                 compatible = "renesas,pfc-r8a7779";
203                 reg = <0xfffc0000 0x23c>;
204         };
205
206         thermal@ffc48000 {
207                 compatible = "renesas,rcar-thermal";
208                 reg = <0xffc48000 0x38>;
209         };
210
211         sata: sata@fc600000 {
212                 compatible = "renesas,rcar-sata";
213                 reg = <0xfc600000 0x2000>;
214                 interrupt-parent = <&gic>;
215                 interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
216         };
217
218         sdhi0: sd@ffe4c000 {
219                 compatible = "renesas,sdhi-r8a7779";
220                 reg = <0xffe4c000 0x100>;
221                 interrupt-parent = <&gic>;
222                 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>;
223                 cap-sd-highspeed;
224                 cap-sdio-irq;
225                 status = "disabled";
226         };
227
228         sdhi1: sd@ffe4d000 {
229                 compatible = "renesas,sdhi-r8a7779";
230                 reg = <0xffe4d000 0x100>;
231                 interrupt-parent = <&gic>;
232                 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
233                 cap-sd-highspeed;
234                 cap-sdio-irq;
235                 status = "disabled";
236         };
237
238         sdhi2: sd@ffe4e000 {
239                 compatible = "renesas,sdhi-r8a7779";
240                 reg = <0xffe4e000 0x100>;
241                 interrupt-parent = <&gic>;
242                 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
243                 cap-sd-highspeed;
244                 cap-sdio-irq;
245                 status = "disabled";
246         };
247
248         sdhi3: sd@ffe4f000 {
249                 compatible = "renesas,sdhi-r8a7779";
250                 reg = <0xffe4f000 0x100>;
251                 interrupt-parent = <&gic>;
252                 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
253                 cap-sd-highspeed;
254                 cap-sdio-irq;
255                 status = "disabled";
256         };
257
258         hspi0: spi@fffc7000 {
259                 compatible = "renesas,hspi";
260                 reg = <0xfffc7000 0x18>;
261                 interrupt-controller = <&gic>;
262                 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
263                 status = "disabled";
264         };
265
266         hspi1: spi@fffc8000 {
267                 compatible = "renesas,hspi";
268                 reg = <0xfffc8000 0x18>;
269                 interrupt-controller = <&gic>;
270                 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
271                 status = "disabled";
272         };
273
274         hspi2: spi@fffc6000 {
275                 compatible = "renesas,hspi";
276                 reg = <0xfffc6000 0x18>;
277                 interrupt-controller = <&gic>;
278                 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
279                 status = "disabled";
280         };
281 };