blob: b28a55fdf3ce2ec2030e897a9aa545083cc5df7f [file] [log] [blame]
Maxime Ripard8aed3b32013-03-10 16:09:06 +01001/*
2 * Copyright 2013 Maxime Ripard
3 *
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
5 *
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/include/ "skeleton.dtsi"
15
16/ {
17 interrupt-parent = <&gic>;
18
Maxime Ripard54428d42014-01-02 22:05:04 +010019 aliases {
20 serial0 = &uart0;
21 serial1 = &uart1;
22 serial2 = &uart2;
23 serial3 = &uart3;
24 serial4 = &uart4;
25 serial5 = &uart5;
26 };
27
28
Maxime Ripard8aed3b32013-03-10 16:09:06 +010029 cpus {
30 #address-cells = <1>;
31 #size-cells = <0>;
32
33 cpu@0 {
34 compatible = "arm,cortex-a7";
35 device_type = "cpu";
36 reg = <0>;
37 };
38
39 cpu@1 {
40 compatible = "arm,cortex-a7";
41 device_type = "cpu";
42 reg = <1>;
43 };
44
45 cpu@2 {
46 compatible = "arm,cortex-a7";
47 device_type = "cpu";
48 reg = <2>;
49 };
50
51 cpu@3 {
52 compatible = "arm,cortex-a7";
53 device_type = "cpu";
54 reg = <3>;
55 };
56 };
57
58 memory {
59 reg = <0x40000000 0x80000000>;
60 };
61
62 clocks {
63 #address-cells = <1>;
Maxime Ripard98096562013-07-23 23:54:19 +020064 #size-cells = <1>;
65 ranges;
Maxime Ripard8aed3b32013-03-10 16:09:06 +010066
Maxime Ripard98096562013-07-23 23:54:19 +020067 osc24M: osc24M {
Maxime Ripard8aed3b32013-03-10 16:09:06 +010068 #clock-cells = <0>;
69 compatible = "fixed-clock";
70 clock-frequency = <24000000>;
71 };
Maxime Ripard98096562013-07-23 23:54:19 +020072
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +080073 osc32k: clk@0 {
Maxime Ripard98096562013-07-23 23:54:19 +020074 #clock-cells = <0>;
75 compatible = "fixed-clock";
76 clock-frequency = <32768>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +080077 clock-output-names = "osc32k";
Maxime Ripard98096562013-07-23 23:54:19 +020078 };
79
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +080080 pll1: clk@01c20000 {
Maxime Ripard98096562013-07-23 23:54:19 +020081 #clock-cells = <0>;
82 compatible = "allwinner,sun6i-a31-pll1-clk";
83 reg = <0x01c20000 0x4>;
84 clocks = <&osc24M>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +080085 clock-output-names = "pll1";
Maxime Ripard98096562013-07-23 23:54:19 +020086 };
87
Maxime Ripardb0a09c72014-02-05 14:05:04 +010088 pll6: clk@01c20028 {
Maxime Ripard98096562013-07-23 23:54:19 +020089 #clock-cells = <0>;
Maxime Ripardb0a09c72014-02-05 14:05:04 +010090 compatible = "allwinner,sun6i-a31-pll6-clk";
91 reg = <0x01c20028 0x4>;
92 clocks = <&osc24M>;
93 clock-output-names = "pll6";
Maxime Ripard98096562013-07-23 23:54:19 +020094 };
95
96 cpu: cpu@01c20050 {
97 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +010098 compatible = "allwinner,sun4i-a10-cpu-clk";
Maxime Ripard98096562013-07-23 23:54:19 +020099 reg = <0x01c20050 0x4>;
100
101 /*
102 * PLL1 is listed twice here.
103 * While it looks suspicious, it's actually documented
104 * that way both in the datasheet and in the code from
105 * Allwinner.
106 */
107 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll1>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800108 clock-output-names = "cpu";
Maxime Ripard98096562013-07-23 23:54:19 +0200109 };
110
111 axi: axi@01c20050 {
112 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100113 compatible = "allwinner,sun4i-a10-axi-clk";
Maxime Ripard98096562013-07-23 23:54:19 +0200114 reg = <0x01c20050 0x4>;
115 clocks = <&cpu>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800116 clock-output-names = "axi";
Maxime Ripard98096562013-07-23 23:54:19 +0200117 };
118
119 ahb1_mux: ahb1_mux@01c20054 {
120 #clock-cells = <0>;
121 compatible = "allwinner,sun6i-a31-ahb1-mux-clk";
122 reg = <0x01c20054 0x4>;
123 clocks = <&osc32k>, <&osc24M>, <&axi>, <&pll6>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800124 clock-output-names = "ahb1_mux";
Maxime Ripard98096562013-07-23 23:54:19 +0200125 };
126
127 ahb1: ahb1@01c20054 {
128 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100129 compatible = "allwinner,sun4i-a10-ahb-clk";
Maxime Ripard98096562013-07-23 23:54:19 +0200130 reg = <0x01c20054 0x4>;
131 clocks = <&ahb1_mux>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800132 clock-output-names = "ahb1";
Maxime Ripard98096562013-07-23 23:54:19 +0200133 };
134
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800135 ahb1_gates: clk@01c20060 {
Maxime Ripard98096562013-07-23 23:54:19 +0200136 #clock-cells = <1>;
137 compatible = "allwinner,sun6i-a31-ahb1-gates-clk";
138 reg = <0x01c20060 0x8>;
139 clocks = <&ahb1>;
140 clock-output-names = "ahb1_mipidsi", "ahb1_ss",
141 "ahb1_dma", "ahb1_mmc0", "ahb1_mmc1",
142 "ahb1_mmc2", "ahb1_mmc3", "ahb1_nand1",
143 "ahb1_nand0", "ahb1_sdram",
144 "ahb1_gmac", "ahb1_ts", "ahb1_hstimer",
145 "ahb1_spi0", "ahb1_spi1", "ahb1_spi2",
146 "ahb1_spi3", "ahb1_otg", "ahb1_ehci0",
147 "ahb1_ehci1", "ahb1_ohci0",
148 "ahb1_ohci1", "ahb1_ohci2", "ahb1_ve",
149 "ahb1_lcd0", "ahb1_lcd1", "ahb1_csi",
150 "ahb1_hdmi", "ahb1_de0", "ahb1_de1",
151 "ahb1_fe0", "ahb1_fe1", "ahb1_mp",
152 "ahb1_gpu", "ahb1_deu0", "ahb1_deu1",
153 "ahb1_drc0", "ahb1_drc1";
154 };
155
156 apb1: apb1@01c20054 {
157 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100158 compatible = "allwinner,sun4i-a10-apb0-clk";
Maxime Ripard98096562013-07-23 23:54:19 +0200159 reg = <0x01c20054 0x4>;
160 clocks = <&ahb1>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800161 clock-output-names = "apb1";
Maxime Ripard98096562013-07-23 23:54:19 +0200162 };
163
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800164 apb1_gates: clk@01c20068 {
Maxime Ripard98096562013-07-23 23:54:19 +0200165 #clock-cells = <1>;
166 compatible = "allwinner,sun6i-a31-apb1-gates-clk";
167 reg = <0x01c20068 0x4>;
168 clocks = <&apb1>;
169 clock-output-names = "apb1_codec", "apb1_digital_mic",
170 "apb1_pio", "apb1_daudio0",
171 "apb1_daudio1";
172 };
173
174 apb2_mux: apb2_mux@01c20058 {
175 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100176 compatible = "allwinner,sun4i-a10-apb1-mux-clk";
Maxime Ripard98096562013-07-23 23:54:19 +0200177 reg = <0x01c20058 0x4>;
178 clocks = <&osc32k>, <&osc24M>, <&pll6>, <&pll6>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800179 clock-output-names = "apb2_mux";
Maxime Ripard98096562013-07-23 23:54:19 +0200180 };
181
182 apb2: apb2@01c20058 {
183 #clock-cells = <0>;
184 compatible = "allwinner,sun6i-a31-apb2-div-clk";
185 reg = <0x01c20058 0x4>;
186 clocks = <&apb2_mux>;
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800187 clock-output-names = "apb2";
Maxime Ripard98096562013-07-23 23:54:19 +0200188 };
189
Chen-Yu Tsai7b5b2902014-02-03 09:51:43 +0800190 apb2_gates: clk@01c2006c {
Maxime Ripard98096562013-07-23 23:54:19 +0200191 #clock-cells = <1>;
192 compatible = "allwinner,sun6i-a31-apb2-gates-clk";
Maxime Ripard439d9f52013-09-24 16:30:05 +0300193 reg = <0x01c2006c 0x4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200194 clocks = <&apb2>;
195 clock-output-names = "apb2_i2c0", "apb2_i2c1",
196 "apb2_i2c2", "apb2_i2c3", "apb2_uart0",
197 "apb2_uart1", "apb2_uart2", "apb2_uart3",
198 "apb2_uart4", "apb2_uart5";
199 };
Maxime Ripardb0a09c72014-02-05 14:05:04 +0100200
201 spi0_clk: clk@01c200a0 {
202 #clock-cells = <0>;
Maxime Ripard225b0212014-02-24 17:29:06 +0100203 compatible = "allwinner,sun4i-a10-mod0-clk";
Maxime Ripardb0a09c72014-02-05 14:05:04 +0100204 reg = <0x01c200a0 0x4>;
205 clocks = <&osc24M>, <&pll6>;
206 clock-output-names = "spi0";
207 };
208
209 spi1_clk: clk@01c200a4 {
210 #clock-cells = <0>;
Maxime Ripard225b0212014-02-24 17:29:06 +0100211 compatible = "allwinner,sun4i-a10-mod0-clk";
Maxime Ripardb0a09c72014-02-05 14:05:04 +0100212 reg = <0x01c200a4 0x4>;
213 clocks = <&osc24M>, <&pll6>;
214 clock-output-names = "spi1";
215 };
216
217 spi2_clk: clk@01c200a8 {
218 #clock-cells = <0>;
Maxime Ripard225b0212014-02-24 17:29:06 +0100219 compatible = "allwinner,sun4i-a10-mod0-clk";
Maxime Ripardb0a09c72014-02-05 14:05:04 +0100220 reg = <0x01c200a8 0x4>;
221 clocks = <&osc24M>, <&pll6>;
222 clock-output-names = "spi2";
223 };
224
225 spi3_clk: clk@01c200ac {
226 #clock-cells = <0>;
Maxime Ripard225b0212014-02-24 17:29:06 +0100227 compatible = "allwinner,sun4i-a10-mod0-clk";
Maxime Ripardb0a09c72014-02-05 14:05:04 +0100228 reg = <0x01c200ac 0x4>;
229 clocks = <&osc24M>, <&pll6>;
230 clock-output-names = "spi3";
231 };
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100232 };
233
234 soc@01c00000 {
235 compatible = "simple-bus";
236 #address-cells = <1>;
237 #size-cells = <1>;
238 ranges;
239
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100240 dma: dma-controller@01c02000 {
241 compatible = "allwinner,sun6i-a31-dma";
242 reg = <0x01c02000 0x1000>;
243 interrupts = <0 50 4>;
244 clocks = <&ahb1_gates 6>;
245 resets = <&ahb1_rst 6>;
246 #dma-cells = <1>;
247 };
248
Maxime Ripard140e1722013-03-12 22:16:05 +0100249 pio: pinctrl@01c20800 {
250 compatible = "allwinner,sun6i-a31-pinctrl";
251 reg = <0x01c20800 0x400>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100252 interrupts = <0 11 4>,
253 <0 15 4>,
254 <0 16 4>,
255 <0 17 4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200256 clocks = <&apb1_gates 5>;
Maxime Ripard140e1722013-03-12 22:16:05 +0100257 gpio-controller;
258 interrupt-controller;
259 #address-cells = <1>;
260 #size-cells = <0>;
261 #gpio-cells = <3>;
Maxime Ripardab4238c2013-06-22 23:56:40 +0200262
263 uart0_pins_a: uart0@0 {
264 allwinner,pins = "PH20", "PH21";
265 allwinner,function = "uart0";
266 allwinner,drive = <0>;
267 allwinner,pull = <0>;
268 };
Maxime Ripard8be188b2014-03-04 17:28:40 +0100269
270 i2c0_pins_a: i2c0@0 {
271 allwinner,pins = "PH14", "PH15";
272 allwinner,function = "i2c0";
273 allwinner,drive = <0>;
274 allwinner,pull = <0>;
275 };
276
277 i2c1_pins_a: i2c1@0 {
278 allwinner,pins = "PH16", "PH17";
279 allwinner,function = "i2c1";
280 allwinner,drive = <0>;
281 allwinner,pull = <0>;
282 };
283
284 i2c2_pins_a: i2c2@0 {
285 allwinner,pins = "PH18", "PH19";
286 allwinner,function = "i2c2";
287 allwinner,drive = <0>;
288 allwinner,pull = <0>;
289 };
Maxime Ripard140e1722013-03-12 22:16:05 +0100290 };
291
Maxime Ripard24a661e92013-09-24 11:10:41 +0300292 ahb1_rst: reset@01c202c0 {
293 #reset-cells = <1>;
294 compatible = "allwinner,sun6i-a31-ahb1-reset";
295 reg = <0x01c202c0 0xc>;
296 };
297
298 apb1_rst: reset@01c202d0 {
299 #reset-cells = <1>;
300 compatible = "allwinner,sun6i-a31-clock-reset";
301 reg = <0x01c202d0 0x4>;
302 };
303
304 apb2_rst: reset@01c202d8 {
305 #reset-cells = <1>;
306 compatible = "allwinner,sun6i-a31-clock-reset";
307 reg = <0x01c202d8 0x4>;
308 };
309
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100310 timer@01c20c00 {
Maxime Ripardb4f26442014-02-06 10:40:32 +0100311 compatible = "allwinner,sun4i-a10-timer";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100312 reg = <0x01c20c00 0xa0>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100313 interrupts = <0 18 4>,
314 <0 19 4>,
315 <0 20 4>,
316 <0 21 4>,
317 <0 22 4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200318 clocks = <&osc24M>;
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100319 };
320
321 wdt1: watchdog@01c20ca0 {
Maxime Ripardca5d04d2014-02-07 22:29:26 +0100322 compatible = "allwinner,sun6i-a31-wdt";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100323 reg = <0x01c20ca0 0x20>;
324 };
325
326 uart0: serial@01c28000 {
327 compatible = "snps,dw-apb-uart";
328 reg = <0x01c28000 0x400>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100329 interrupts = <0 0 4>;
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100330 reg-shift = <2>;
331 reg-io-width = <4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200332 clocks = <&apb2_gates 16>;
Maxime Ripard24a661e92013-09-24 11:10:41 +0300333 resets = <&apb2_rst 16>;
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100334 dmas = <&dma 6>, <&dma 6>;
335 dma-names = "rx", "tx";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100336 status = "disabled";
337 };
338
339 uart1: serial@01c28400 {
340 compatible = "snps,dw-apb-uart";
341 reg = <0x01c28400 0x400>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100342 interrupts = <0 1 4>;
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100343 reg-shift = <2>;
344 reg-io-width = <4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200345 clocks = <&apb2_gates 17>;
Maxime Ripard24a661e92013-09-24 11:10:41 +0300346 resets = <&apb2_rst 17>;
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100347 dmas = <&dma 7>, <&dma 7>;
348 dma-names = "rx", "tx";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100349 status = "disabled";
350 };
351
352 uart2: serial@01c28800 {
353 compatible = "snps,dw-apb-uart";
354 reg = <0x01c28800 0x400>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100355 interrupts = <0 2 4>;
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100356 reg-shift = <2>;
357 reg-io-width = <4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200358 clocks = <&apb2_gates 18>;
Maxime Ripard24a661e92013-09-24 11:10:41 +0300359 resets = <&apb2_rst 18>;
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100360 dmas = <&dma 8>, <&dma 8>;
361 dma-names = "rx", "tx";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100362 status = "disabled";
363 };
364
365 uart3: serial@01c28c00 {
366 compatible = "snps,dw-apb-uart";
367 reg = <0x01c28c00 0x400>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100368 interrupts = <0 3 4>;
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100369 reg-shift = <2>;
370 reg-io-width = <4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200371 clocks = <&apb2_gates 19>;
Maxime Ripard24a661e92013-09-24 11:10:41 +0300372 resets = <&apb2_rst 19>;
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100373 dmas = <&dma 9>, <&dma 9>;
374 dma-names = "rx", "tx";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100375 status = "disabled";
376 };
377
378 uart4: serial@01c29000 {
379 compatible = "snps,dw-apb-uart";
380 reg = <0x01c29000 0x400>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100381 interrupts = <0 4 4>;
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100382 reg-shift = <2>;
383 reg-io-width = <4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200384 clocks = <&apb2_gates 20>;
Maxime Ripard24a661e92013-09-24 11:10:41 +0300385 resets = <&apb2_rst 20>;
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100386 dmas = <&dma 10>, <&dma 10>;
387 dma-names = "rx", "tx";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100388 status = "disabled";
389 };
390
391 uart5: serial@01c29400 {
392 compatible = "snps,dw-apb-uart";
393 reg = <0x01c29400 0x400>;
Maxime Ripard6f97dc82013-12-10 19:37:22 +0100394 interrupts = <0 5 4>;
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100395 reg-shift = <2>;
396 reg-io-width = <4>;
Maxime Ripard98096562013-07-23 23:54:19 +0200397 clocks = <&apb2_gates 21>;
Maxime Ripard24a661e92013-09-24 11:10:41 +0300398 resets = <&apb2_rst 21>;
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100399 dmas = <&dma 22>, <&dma 22>;
400 dma-names = "rx", "tx";
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100401 status = "disabled";
402 };
403
Maxime Ripard96c7cc92014-03-04 17:28:39 +0100404 i2c0: i2c@01c2ac00 {
405 compatible = "allwinner,sun6i-a31-i2c";
406 reg = <0x01c2ac00 0x400>;
407 interrupts = <0 6 4>;
408 clocks = <&apb2_gates 0>;
409 clock-frequency = <100000>;
410 resets = <&apb2_rst 0>;
411 status = "disabled";
412 };
413
414 i2c1: i2c@01c2b000 {
415 compatible = "allwinner,sun6i-a31-i2c";
416 reg = <0x01c2b000 0x400>;
417 interrupts = <0 7 4>;
418 clocks = <&apb2_gates 1>;
419 clock-frequency = <100000>;
420 resets = <&apb2_rst 1>;
421 status = "disabled";
422 };
423
424 i2c2: i2c@01c2b400 {
425 compatible = "allwinner,sun6i-a31-i2c";
426 reg = <0x01c2b400 0x400>;
427 interrupts = <0 8 4>;
428 clocks = <&apb2_gates 2>;
429 clock-frequency = <100000>;
430 resets = <&apb2_rst 2>;
431 status = "disabled";
432 };
433
434 i2c3: i2c@01c2b800 {
435 compatible = "allwinner,sun6i-a31-i2c";
436 reg = <0x01c2b800 0x400>;
437 interrupts = <0 9 4>;
438 clocks = <&apb2_gates 3>;
439 clock-frequency = <100000>;
440 resets = <&apb2_rst 3>;
441 status = "disabled";
442 };
443
Maxime Ripard0d6efe32014-02-05 14:05:06 +0100444 spi0: spi@01c68000 {
445 compatible = "allwinner,sun6i-a31-spi";
446 reg = <0x01c68000 0x1000>;
447 interrupts = <0 65 4>;
448 clocks = <&ahb1_gates 20>, <&spi0_clk>;
449 clock-names = "ahb", "mod";
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100450 dmas = <&dma 23>, <&dma 23>;
451 dma-names = "rx", "tx";
Maxime Ripard0d6efe32014-02-05 14:05:06 +0100452 resets = <&ahb1_rst 20>;
453 status = "disabled";
454 };
455
456 spi1: spi@01c69000 {
457 compatible = "allwinner,sun6i-a31-spi";
458 reg = <0x01c69000 0x1000>;
459 interrupts = <0 66 4>;
460 clocks = <&ahb1_gates 21>, <&spi1_clk>;
461 clock-names = "ahb", "mod";
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100462 dmas = <&dma 24>, <&dma 24>;
463 dma-names = "rx", "tx";
Maxime Ripard0d6efe32014-02-05 14:05:06 +0100464 resets = <&ahb1_rst 21>;
465 status = "disabled";
466 };
467
468 spi2: spi@01c6a000 {
469 compatible = "allwinner,sun6i-a31-spi";
470 reg = <0x01c6a000 0x1000>;
471 interrupts = <0 67 4>;
472 clocks = <&ahb1_gates 22>, <&spi2_clk>;
473 clock-names = "ahb", "mod";
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100474 dmas = <&dma 25>, <&dma 25>;
475 dma-names = "rx", "tx";
Maxime Ripard0d6efe32014-02-05 14:05:06 +0100476 resets = <&ahb1_rst 22>;
477 status = "disabled";
478 };
479
480 spi3: spi@01c6b000 {
481 compatible = "allwinner,sun6i-a31-spi";
482 reg = <0x01c6b000 0x1000>;
483 interrupts = <0 68 4>;
484 clocks = <&ahb1_gates 23>, <&spi3_clk>;
485 clock-names = "ahb", "mod";
Maxime Ripardd2d878c2014-01-30 15:41:23 +0100486 dmas = <&dma 26>, <&dma 26>;
487 dma-names = "rx", "tx";
Maxime Ripard0d6efe32014-02-05 14:05:06 +0100488 resets = <&ahb1_rst 23>;
489 status = "disabled";
490 };
491
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100492 gic: interrupt-controller@01c81000 {
493 compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
494 reg = <0x01c81000 0x1000>,
495 <0x01c82000 0x1000>,
496 <0x01c84000 0x2000>,
497 <0x01c86000 0x2000>;
498 interrupt-controller;
499 #interrupt-cells = <3>;
500 interrupts = <1 9 0xf04>;
501 };
Maxime Ripard81ee4292013-11-03 10:30:12 +0100502
Maxime Ripard28240d22014-04-17 10:29:35 +0200503 nmi_intc: interrupt-controller@01f00c0c {
504 compatible = "allwinner,sun6i-a31-sc-nmi";
505 interrupt-controller;
506 #interrupt-cells = <2>;
507 reg = <0x01f00c0c 0x38>;
508 interrupts = <0 32 4>;
509 };
510
Hans de Goedea42ea602014-04-13 13:41:02 +0200511 prcm@01f01400 {
512 compatible = "allwinner,sun6i-a31-prcm";
513 reg = <0x01f01400 0x200>;
514 };
515
Maxime Ripard81ee4292013-11-03 10:30:12 +0100516 cpucfg@01f01c00 {
517 compatible = "allwinner,sun6i-a31-cpuconfig";
518 reg = <0x01f01c00 0x300>;
519 };
Maxime Ripard8aed3b32013-03-10 16:09:06 +0100520 };
521};