]>
Commit | Line | Data |
---|---|---|
8aed3b31 MR |
1 | /* |
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 | ||
54428d40 MR |
19 | aliases { |
20 | serial0 = &uart0; | |
21 | serial1 = &uart1; | |
22 | serial2 = &uart2; | |
23 | serial3 = &uart3; | |
24 | serial4 = &uart4; | |
25 | serial5 = &uart5; | |
26 | }; | |
27 | ||
28 | ||
8aed3b31 MR |
29 | 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 | ||
b5a10b76 MR |
62 | pmu { |
63 | compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu"; | |
64 | interrupts = <0 120 4>, | |
65 | <0 121 4>, | |
66 | <0 122 4>, | |
67 | <0 123 4>; | |
68 | }; | |
69 | ||
8aed3b31 MR |
70 | clocks { |
71 | #address-cells = <1>; | |
98096560 MR |
72 | #size-cells = <1>; |
73 | ranges; | |
8aed3b31 | 74 | |
98096560 | 75 | osc24M: osc24M { |
8aed3b31 MR |
76 | #clock-cells = <0>; |
77 | compatible = "fixed-clock"; | |
78 | clock-frequency = <24000000>; | |
79 | }; | |
98096560 | 80 | |
7b5b2909 | 81 | osc32k: clk@0 { |
98096560 MR |
82 | #clock-cells = <0>; |
83 | compatible = "fixed-clock"; | |
84 | clock-frequency = <32768>; | |
7b5b2909 | 85 | clock-output-names = "osc32k"; |
98096560 MR |
86 | }; |
87 | ||
7b5b2909 | 88 | pll1: clk@01c20000 { |
98096560 MR |
89 | #clock-cells = <0>; |
90 | compatible = "allwinner,sun6i-a31-pll1-clk"; | |
91 | reg = <0x01c20000 0x4>; | |
92 | clocks = <&osc24M>; | |
7b5b2909 | 93 | clock-output-names = "pll1"; |
98096560 MR |
94 | }; |
95 | ||
b0a09c75 | 96 | pll6: clk@01c20028 { |
98096560 | 97 | #clock-cells = <0>; |
b0a09c75 MR |
98 | compatible = "allwinner,sun6i-a31-pll6-clk"; |
99 | reg = <0x01c20028 0x4>; | |
100 | clocks = <&osc24M>; | |
101 | clock-output-names = "pll6"; | |
98096560 MR |
102 | }; |
103 | ||
104 | cpu: cpu@01c20050 { | |
105 | #clock-cells = <0>; | |
bf6534a1 | 106 | compatible = "allwinner,sun4i-a10-cpu-clk"; |
98096560 MR |
107 | reg = <0x01c20050 0x4>; |
108 | ||
109 | /* | |
110 | * PLL1 is listed twice here. | |
111 | * While it looks suspicious, it's actually documented | |
112 | * that way both in the datasheet and in the code from | |
113 | * Allwinner. | |
114 | */ | |
115 | clocks = <&osc32k>, <&osc24M>, <&pll1>, <&pll1>; | |
7b5b2909 | 116 | clock-output-names = "cpu"; |
98096560 MR |
117 | }; |
118 | ||
119 | axi: axi@01c20050 { | |
120 | #clock-cells = <0>; | |
bf6534a1 | 121 | compatible = "allwinner,sun4i-a10-axi-clk"; |
98096560 MR |
122 | reg = <0x01c20050 0x4>; |
123 | clocks = <&cpu>; | |
7b5b2909 | 124 | clock-output-names = "axi"; |
98096560 MR |
125 | }; |
126 | ||
127 | ahb1_mux: ahb1_mux@01c20054 { | |
128 | #clock-cells = <0>; | |
129 | compatible = "allwinner,sun6i-a31-ahb1-mux-clk"; | |
130 | reg = <0x01c20054 0x4>; | |
131 | clocks = <&osc32k>, <&osc24M>, <&axi>, <&pll6>; | |
7b5b2909 | 132 | clock-output-names = "ahb1_mux"; |
98096560 MR |
133 | }; |
134 | ||
135 | ahb1: ahb1@01c20054 { | |
136 | #clock-cells = <0>; | |
bf6534a1 | 137 | compatible = "allwinner,sun4i-a10-ahb-clk"; |
98096560 MR |
138 | reg = <0x01c20054 0x4>; |
139 | clocks = <&ahb1_mux>; | |
7b5b2909 | 140 | clock-output-names = "ahb1"; |
98096560 MR |
141 | }; |
142 | ||
7b5b2909 | 143 | ahb1_gates: clk@01c20060 { |
98096560 MR |
144 | #clock-cells = <1>; |
145 | compatible = "allwinner,sun6i-a31-ahb1-gates-clk"; | |
146 | reg = <0x01c20060 0x8>; | |
147 | clocks = <&ahb1>; | |
148 | clock-output-names = "ahb1_mipidsi", "ahb1_ss", | |
149 | "ahb1_dma", "ahb1_mmc0", "ahb1_mmc1", | |
150 | "ahb1_mmc2", "ahb1_mmc3", "ahb1_nand1", | |
151 | "ahb1_nand0", "ahb1_sdram", | |
152 | "ahb1_gmac", "ahb1_ts", "ahb1_hstimer", | |
153 | "ahb1_spi0", "ahb1_spi1", "ahb1_spi2", | |
154 | "ahb1_spi3", "ahb1_otg", "ahb1_ehci0", | |
155 | "ahb1_ehci1", "ahb1_ohci0", | |
156 | "ahb1_ohci1", "ahb1_ohci2", "ahb1_ve", | |
157 | "ahb1_lcd0", "ahb1_lcd1", "ahb1_csi", | |
158 | "ahb1_hdmi", "ahb1_de0", "ahb1_de1", | |
159 | "ahb1_fe0", "ahb1_fe1", "ahb1_mp", | |
160 | "ahb1_gpu", "ahb1_deu0", "ahb1_deu1", | |
161 | "ahb1_drc0", "ahb1_drc1"; | |
162 | }; | |
163 | ||
164 | apb1: apb1@01c20054 { | |
165 | #clock-cells = <0>; | |
bf6534a1 | 166 | compatible = "allwinner,sun4i-a10-apb0-clk"; |
98096560 MR |
167 | reg = <0x01c20054 0x4>; |
168 | clocks = <&ahb1>; | |
7b5b2909 | 169 | clock-output-names = "apb1"; |
98096560 MR |
170 | }; |
171 | ||
7b5b2909 | 172 | apb1_gates: clk@01c20068 { |
98096560 MR |
173 | #clock-cells = <1>; |
174 | compatible = "allwinner,sun6i-a31-apb1-gates-clk"; | |
175 | reg = <0x01c20068 0x4>; | |
176 | clocks = <&apb1>; | |
177 | clock-output-names = "apb1_codec", "apb1_digital_mic", | |
178 | "apb1_pio", "apb1_daudio0", | |
179 | "apb1_daudio1"; | |
180 | }; | |
181 | ||
182 | apb2_mux: apb2_mux@01c20058 { | |
183 | #clock-cells = <0>; | |
bf6534a1 | 184 | compatible = "allwinner,sun4i-a10-apb1-mux-clk"; |
98096560 MR |
185 | reg = <0x01c20058 0x4>; |
186 | clocks = <&osc32k>, <&osc24M>, <&pll6>, <&pll6>; | |
7b5b2909 | 187 | clock-output-names = "apb2_mux"; |
98096560 MR |
188 | }; |
189 | ||
190 | apb2: apb2@01c20058 { | |
191 | #clock-cells = <0>; | |
192 | compatible = "allwinner,sun6i-a31-apb2-div-clk"; | |
193 | reg = <0x01c20058 0x4>; | |
194 | clocks = <&apb2_mux>; | |
7b5b2909 | 195 | clock-output-names = "apb2"; |
98096560 MR |
196 | }; |
197 | ||
7b5b2909 | 198 | apb2_gates: clk@01c2006c { |
98096560 MR |
199 | #clock-cells = <1>; |
200 | compatible = "allwinner,sun6i-a31-apb2-gates-clk"; | |
439d9f58 | 201 | reg = <0x01c2006c 0x4>; |
98096560 MR |
202 | clocks = <&apb2>; |
203 | clock-output-names = "apb2_i2c0", "apb2_i2c1", | |
204 | "apb2_i2c2", "apb2_i2c3", "apb2_uart0", | |
205 | "apb2_uart1", "apb2_uart2", "apb2_uart3", | |
206 | "apb2_uart4", "apb2_uart5"; | |
207 | }; | |
b0a09c75 | 208 | |
adc54c85 HG |
209 | mmc0_clk: clk@01c20088 { |
210 | #clock-cells = <0>; | |
211 | compatible = "allwinner,sun4i-a10-mod0-clk"; | |
212 | reg = <0x01c20088 0x4>; | |
213 | clocks = <&osc24M>, <&pll6>; | |
214 | clock-output-names = "mmc0"; | |
215 | }; | |
216 | ||
217 | mmc1_clk: clk@01c2008c { | |
218 | #clock-cells = <0>; | |
219 | compatible = "allwinner,sun4i-a10-mod0-clk"; | |
220 | reg = <0x01c2008c 0x4>; | |
221 | clocks = <&osc24M>, <&pll6>; | |
222 | clock-output-names = "mmc1"; | |
223 | }; | |
224 | ||
225 | mmc2_clk: clk@01c20090 { | |
226 | #clock-cells = <0>; | |
227 | compatible = "allwinner,sun4i-a10-mod0-clk"; | |
228 | reg = <0x01c20090 0x4>; | |
229 | clocks = <&osc24M>, <&pll6>; | |
230 | clock-output-names = "mmc2"; | |
231 | }; | |
232 | ||
233 | mmc3_clk: clk@01c20094 { | |
234 | #clock-cells = <0>; | |
235 | compatible = "allwinner,sun4i-a10-mod0-clk"; | |
236 | reg = <0x01c20094 0x4>; | |
237 | clocks = <&osc24M>, <&pll6>; | |
238 | clock-output-names = "mmc3"; | |
239 | }; | |
240 | ||
b0a09c75 MR |
241 | spi0_clk: clk@01c200a0 { |
242 | #clock-cells = <0>; | |
225b0216 | 243 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
b0a09c75 MR |
244 | reg = <0x01c200a0 0x4>; |
245 | clocks = <&osc24M>, <&pll6>; | |
246 | clock-output-names = "spi0"; | |
247 | }; | |
248 | ||
249 | spi1_clk: clk@01c200a4 { | |
250 | #clock-cells = <0>; | |
225b0216 | 251 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
b0a09c75 MR |
252 | reg = <0x01c200a4 0x4>; |
253 | clocks = <&osc24M>, <&pll6>; | |
254 | clock-output-names = "spi1"; | |
255 | }; | |
256 | ||
257 | spi2_clk: clk@01c200a8 { | |
258 | #clock-cells = <0>; | |
225b0216 | 259 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
b0a09c75 MR |
260 | reg = <0x01c200a8 0x4>; |
261 | clocks = <&osc24M>, <&pll6>; | |
262 | clock-output-names = "spi2"; | |
263 | }; | |
264 | ||
265 | spi3_clk: clk@01c200ac { | |
266 | #clock-cells = <0>; | |
225b0216 | 267 | compatible = "allwinner,sun4i-a10-mod0-clk"; |
b0a09c75 MR |
268 | reg = <0x01c200ac 0x4>; |
269 | clocks = <&osc24M>, <&pll6>; | |
270 | clock-output-names = "spi3"; | |
271 | }; | |
94a1cd14 MR |
272 | |
273 | usb_clk: clk@01c200cc { | |
274 | #clock-cells = <1>; | |
275 | #reset-cells = <1>; | |
276 | compatible = "allwinner,sun6i-a31-usb-clk"; | |
277 | reg = <0x01c200cc 0x4>; | |
278 | clocks = <&osc24M>; | |
279 | clock-output-names = "usb_phy0", "usb_phy1", "usb_phy2", | |
280 | "usb_ohci0", "usb_ohci1", | |
281 | "usb_ohci2"; | |
282 | }; | |
8aed3b31 MR |
283 | }; |
284 | ||
285 | soc@01c00000 { | |
286 | compatible = "simple-bus"; | |
287 | #address-cells = <1>; | |
288 | #size-cells = <1>; | |
289 | ranges; | |
290 | ||
d2d878c4 MR |
291 | dma: dma-controller@01c02000 { |
292 | compatible = "allwinner,sun6i-a31-dma"; | |
293 | reg = <0x01c02000 0x1000>; | |
294 | interrupts = <0 50 4>; | |
295 | clocks = <&ahb1_gates 6>; | |
296 | resets = <&ahb1_rst 6>; | |
297 | #dma-cells = <1>; | |
298 | }; | |
299 | ||
5b753f0e HG |
300 | mmc0: mmc@01c0f000 { |
301 | compatible = "allwinner,sun5i-a13-mmc"; | |
302 | reg = <0x01c0f000 0x1000>; | |
303 | clocks = <&ahb1_gates 8>, <&mmc0_clk>; | |
304 | clock-names = "ahb", "mmc"; | |
305 | resets = <&ahb1_rst 8>; | |
306 | reset-names = "ahb"; | |
307 | interrupts = <0 60 4>; | |
308 | status = "disabled"; | |
309 | }; | |
310 | ||
311 | mmc1: mmc@01c10000 { | |
312 | compatible = "allwinner,sun5i-a13-mmc"; | |
313 | reg = <0x01c10000 0x1000>; | |
314 | clocks = <&ahb1_gates 9>, <&mmc1_clk>; | |
315 | clock-names = "ahb", "mmc"; | |
316 | resets = <&ahb1_rst 9>; | |
317 | reset-names = "ahb"; | |
318 | interrupts = <0 61 4>; | |
319 | status = "disabled"; | |
320 | }; | |
321 | ||
322 | mmc2: mmc@01c11000 { | |
323 | compatible = "allwinner,sun5i-a13-mmc"; | |
324 | reg = <0x01c11000 0x1000>; | |
325 | clocks = <&ahb1_gates 10>, <&mmc2_clk>; | |
326 | clock-names = "ahb", "mmc"; | |
327 | resets = <&ahb1_rst 10>; | |
328 | reset-names = "ahb"; | |
329 | interrupts = <0 62 4>; | |
330 | status = "disabled"; | |
331 | }; | |
332 | ||
333 | mmc3: mmc@01c12000 { | |
334 | compatible = "allwinner,sun5i-a13-mmc"; | |
335 | reg = <0x01c12000 0x1000>; | |
336 | clocks = <&ahb1_gates 11>, <&mmc3_clk>; | |
337 | clock-names = "ahb", "mmc"; | |
338 | resets = <&ahb1_rst 11>; | |
339 | reset-names = "ahb"; | |
340 | interrupts = <0 63 4>; | |
341 | status = "disabled"; | |
342 | }; | |
343 | ||
140e1721 MR |
344 | pio: pinctrl@01c20800 { |
345 | compatible = "allwinner,sun6i-a31-pinctrl"; | |
346 | reg = <0x01c20800 0x400>; | |
6f97dc8d MR |
347 | interrupts = <0 11 4>, |
348 | <0 15 4>, | |
349 | <0 16 4>, | |
350 | <0 17 4>; | |
98096560 | 351 | clocks = <&apb1_gates 5>; |
140e1721 MR |
352 | gpio-controller; |
353 | interrupt-controller; | |
354 | #address-cells = <1>; | |
355 | #size-cells = <0>; | |
356 | #gpio-cells = <3>; | |
ab4238cd MR |
357 | |
358 | uart0_pins_a: uart0@0 { | |
359 | allwinner,pins = "PH20", "PH21"; | |
360 | allwinner,function = "uart0"; | |
361 | allwinner,drive = <0>; | |
362 | allwinner,pull = <0>; | |
363 | }; | |
8be188b8 MR |
364 | |
365 | i2c0_pins_a: i2c0@0 { | |
366 | allwinner,pins = "PH14", "PH15"; | |
367 | allwinner,function = "i2c0"; | |
368 | allwinner,drive = <0>; | |
369 | allwinner,pull = <0>; | |
370 | }; | |
371 | ||
372 | i2c1_pins_a: i2c1@0 { | |
373 | allwinner,pins = "PH16", "PH17"; | |
374 | allwinner,function = "i2c1"; | |
375 | allwinner,drive = <0>; | |
376 | allwinner,pull = <0>; | |
377 | }; | |
378 | ||
379 | i2c2_pins_a: i2c2@0 { | |
380 | allwinner,pins = "PH18", "PH19"; | |
381 | allwinner,function = "i2c2"; | |
382 | allwinner,drive = <0>; | |
383 | allwinner,pull = <0>; | |
384 | }; | |
9797eb83 HG |
385 | |
386 | mmc0_pins_a: mmc0@0 { | |
387 | allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5"; | |
388 | allwinner,function = "mmc0"; | |
389 | allwinner,drive = <2>; | |
390 | allwinner,pull = <0>; | |
391 | }; | |
140e1721 MR |
392 | }; |
393 | ||
24a661e9 MR |
394 | ahb1_rst: reset@01c202c0 { |
395 | #reset-cells = <1>; | |
396 | compatible = "allwinner,sun6i-a31-ahb1-reset"; | |
397 | reg = <0x01c202c0 0xc>; | |
398 | }; | |
399 | ||
400 | apb1_rst: reset@01c202d0 { | |
401 | #reset-cells = <1>; | |
402 | compatible = "allwinner,sun6i-a31-clock-reset"; | |
403 | reg = <0x01c202d0 0x4>; | |
404 | }; | |
405 | ||
406 | apb2_rst: reset@01c202d8 { | |
407 | #reset-cells = <1>; | |
408 | compatible = "allwinner,sun6i-a31-clock-reset"; | |
409 | reg = <0x01c202d8 0x4>; | |
410 | }; | |
411 | ||
8aed3b31 | 412 | timer@01c20c00 { |
b4f26440 | 413 | compatible = "allwinner,sun4i-a10-timer"; |
8aed3b31 | 414 | reg = <0x01c20c00 0xa0>; |
6f97dc8d MR |
415 | interrupts = <0 18 4>, |
416 | <0 19 4>, | |
417 | <0 20 4>, | |
418 | <0 21 4>, | |
419 | <0 22 4>; | |
98096560 | 420 | clocks = <&osc24M>; |
8aed3b31 MR |
421 | }; |
422 | ||
423 | wdt1: watchdog@01c20ca0 { | |
ca5d04d9 | 424 | compatible = "allwinner,sun6i-a31-wdt"; |
8aed3b31 MR |
425 | reg = <0x01c20ca0 0x20>; |
426 | }; | |
427 | ||
428 | uart0: serial@01c28000 { | |
429 | compatible = "snps,dw-apb-uart"; | |
430 | reg = <0x01c28000 0x400>; | |
6f97dc8d | 431 | interrupts = <0 0 4>; |
8aed3b31 MR |
432 | reg-shift = <2>; |
433 | reg-io-width = <4>; | |
98096560 | 434 | clocks = <&apb2_gates 16>; |
24a661e9 | 435 | resets = <&apb2_rst 16>; |
d2d878c4 MR |
436 | dmas = <&dma 6>, <&dma 6>; |
437 | dma-names = "rx", "tx"; | |
8aed3b31 MR |
438 | status = "disabled"; |
439 | }; | |
440 | ||
441 | uart1: serial@01c28400 { | |
442 | compatible = "snps,dw-apb-uart"; | |
443 | reg = <0x01c28400 0x400>; | |
6f97dc8d | 444 | interrupts = <0 1 4>; |
8aed3b31 MR |
445 | reg-shift = <2>; |
446 | reg-io-width = <4>; | |
98096560 | 447 | clocks = <&apb2_gates 17>; |
24a661e9 | 448 | resets = <&apb2_rst 17>; |
d2d878c4 MR |
449 | dmas = <&dma 7>, <&dma 7>; |
450 | dma-names = "rx", "tx"; | |
8aed3b31 MR |
451 | status = "disabled"; |
452 | }; | |
453 | ||
454 | uart2: serial@01c28800 { | |
455 | compatible = "snps,dw-apb-uart"; | |
456 | reg = <0x01c28800 0x400>; | |
6f97dc8d | 457 | interrupts = <0 2 4>; |
8aed3b31 MR |
458 | reg-shift = <2>; |
459 | reg-io-width = <4>; | |
98096560 | 460 | clocks = <&apb2_gates 18>; |
24a661e9 | 461 | resets = <&apb2_rst 18>; |
d2d878c4 MR |
462 | dmas = <&dma 8>, <&dma 8>; |
463 | dma-names = "rx", "tx"; | |
8aed3b31 MR |
464 | status = "disabled"; |
465 | }; | |
466 | ||
467 | uart3: serial@01c28c00 { | |
468 | compatible = "snps,dw-apb-uart"; | |
469 | reg = <0x01c28c00 0x400>; | |
6f97dc8d | 470 | interrupts = <0 3 4>; |
8aed3b31 MR |
471 | reg-shift = <2>; |
472 | reg-io-width = <4>; | |
98096560 | 473 | clocks = <&apb2_gates 19>; |
24a661e9 | 474 | resets = <&apb2_rst 19>; |
d2d878c4 MR |
475 | dmas = <&dma 9>, <&dma 9>; |
476 | dma-names = "rx", "tx"; | |
8aed3b31 MR |
477 | status = "disabled"; |
478 | }; | |
479 | ||
480 | uart4: serial@01c29000 { | |
481 | compatible = "snps,dw-apb-uart"; | |
482 | reg = <0x01c29000 0x400>; | |
6f97dc8d | 483 | interrupts = <0 4 4>; |
8aed3b31 MR |
484 | reg-shift = <2>; |
485 | reg-io-width = <4>; | |
98096560 | 486 | clocks = <&apb2_gates 20>; |
24a661e9 | 487 | resets = <&apb2_rst 20>; |
d2d878c4 MR |
488 | dmas = <&dma 10>, <&dma 10>; |
489 | dma-names = "rx", "tx"; | |
8aed3b31 MR |
490 | status = "disabled"; |
491 | }; | |
492 | ||
493 | uart5: serial@01c29400 { | |
494 | compatible = "snps,dw-apb-uart"; | |
495 | reg = <0x01c29400 0x400>; | |
6f97dc8d | 496 | interrupts = <0 5 4>; |
8aed3b31 MR |
497 | reg-shift = <2>; |
498 | reg-io-width = <4>; | |
98096560 | 499 | clocks = <&apb2_gates 21>; |
24a661e9 | 500 | resets = <&apb2_rst 21>; |
d2d878c4 MR |
501 | dmas = <&dma 22>, <&dma 22>; |
502 | dma-names = "rx", "tx"; | |
8aed3b31 MR |
503 | status = "disabled"; |
504 | }; | |
505 | ||
96c7cc9b MR |
506 | i2c0: i2c@01c2ac00 { |
507 | compatible = "allwinner,sun6i-a31-i2c"; | |
508 | reg = <0x01c2ac00 0x400>; | |
509 | interrupts = <0 6 4>; | |
510 | clocks = <&apb2_gates 0>; | |
511 | clock-frequency = <100000>; | |
512 | resets = <&apb2_rst 0>; | |
513 | status = "disabled"; | |
514 | }; | |
515 | ||
516 | i2c1: i2c@01c2b000 { | |
517 | compatible = "allwinner,sun6i-a31-i2c"; | |
518 | reg = <0x01c2b000 0x400>; | |
519 | interrupts = <0 7 4>; | |
520 | clocks = <&apb2_gates 1>; | |
521 | clock-frequency = <100000>; | |
522 | resets = <&apb2_rst 1>; | |
523 | status = "disabled"; | |
524 | }; | |
525 | ||
526 | i2c2: i2c@01c2b400 { | |
527 | compatible = "allwinner,sun6i-a31-i2c"; | |
528 | reg = <0x01c2b400 0x400>; | |
529 | interrupts = <0 8 4>; | |
530 | clocks = <&apb2_gates 2>; | |
531 | clock-frequency = <100000>; | |
532 | resets = <&apb2_rst 2>; | |
533 | status = "disabled"; | |
534 | }; | |
535 | ||
536 | i2c3: i2c@01c2b800 { | |
537 | compatible = "allwinner,sun6i-a31-i2c"; | |
538 | reg = <0x01c2b800 0x400>; | |
539 | interrupts = <0 9 4>; | |
540 | clocks = <&apb2_gates 3>; | |
541 | clock-frequency = <100000>; | |
542 | resets = <&apb2_rst 3>; | |
543 | status = "disabled"; | |
544 | }; | |
545 | ||
0d6efe33 MR |
546 | spi0: spi@01c68000 { |
547 | compatible = "allwinner,sun6i-a31-spi"; | |
548 | reg = <0x01c68000 0x1000>; | |
549 | interrupts = <0 65 4>; | |
550 | clocks = <&ahb1_gates 20>, <&spi0_clk>; | |
551 | clock-names = "ahb", "mod"; | |
d2d878c4 MR |
552 | dmas = <&dma 23>, <&dma 23>; |
553 | dma-names = "rx", "tx"; | |
0d6efe33 MR |
554 | resets = <&ahb1_rst 20>; |
555 | status = "disabled"; | |
556 | }; | |
557 | ||
558 | spi1: spi@01c69000 { | |
559 | compatible = "allwinner,sun6i-a31-spi"; | |
560 | reg = <0x01c69000 0x1000>; | |
561 | interrupts = <0 66 4>; | |
562 | clocks = <&ahb1_gates 21>, <&spi1_clk>; | |
563 | clock-names = "ahb", "mod"; | |
d2d878c4 MR |
564 | dmas = <&dma 24>, <&dma 24>; |
565 | dma-names = "rx", "tx"; | |
0d6efe33 MR |
566 | resets = <&ahb1_rst 21>; |
567 | status = "disabled"; | |
568 | }; | |
569 | ||
570 | spi2: spi@01c6a000 { | |
571 | compatible = "allwinner,sun6i-a31-spi"; | |
572 | reg = <0x01c6a000 0x1000>; | |
573 | interrupts = <0 67 4>; | |
574 | clocks = <&ahb1_gates 22>, <&spi2_clk>; | |
575 | clock-names = "ahb", "mod"; | |
d2d878c4 MR |
576 | dmas = <&dma 25>, <&dma 25>; |
577 | dma-names = "rx", "tx"; | |
0d6efe33 MR |
578 | resets = <&ahb1_rst 22>; |
579 | status = "disabled"; | |
580 | }; | |
581 | ||
582 | spi3: spi@01c6b000 { | |
583 | compatible = "allwinner,sun6i-a31-spi"; | |
584 | reg = <0x01c6b000 0x1000>; | |
585 | interrupts = <0 68 4>; | |
586 | clocks = <&ahb1_gates 23>, <&spi3_clk>; | |
587 | clock-names = "ahb", "mod"; | |
d2d878c4 MR |
588 | dmas = <&dma 26>, <&dma 26>; |
589 | dma-names = "rx", "tx"; | |
0d6efe33 MR |
590 | resets = <&ahb1_rst 23>; |
591 | status = "disabled"; | |
592 | }; | |
593 | ||
8aed3b31 MR |
594 | gic: interrupt-controller@01c81000 { |
595 | compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; | |
596 | reg = <0x01c81000 0x1000>, | |
597 | <0x01c82000 0x1000>, | |
598 | <0x01c84000 0x2000>, | |
599 | <0x01c86000 0x2000>; | |
600 | interrupt-controller; | |
601 | #interrupt-cells = <3>; | |
602 | interrupts = <1 9 0xf04>; | |
603 | }; | |
81ee429f | 604 | |
28240d27 MR |
605 | nmi_intc: interrupt-controller@01f00c0c { |
606 | compatible = "allwinner,sun6i-a31-sc-nmi"; | |
607 | interrupt-controller; | |
608 | #interrupt-cells = <2>; | |
609 | reg = <0x01f00c0c 0x38>; | |
610 | interrupts = <0 32 4>; | |
611 | }; | |
612 | ||
a42ea603 HG |
613 | prcm@01f01400 { |
614 | compatible = "allwinner,sun6i-a31-prcm"; | |
615 | reg = <0x01f01400 0x200>; | |
616 | }; | |
617 | ||
81ee429f MR |
618 | cpucfg@01f01c00 { |
619 | compatible = "allwinner,sun6i-a31-cpuconfig"; | |
620 | reg = <0x01f01c00 0x300>; | |
621 | }; | |
8aed3b31 MR |
622 | }; |
623 | }; |