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