blob: 4b584cb9c2f09d6816c9b080f97ac0ac9dad806f [file] [log] [blame]
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +08001/*
2 * Copyright 2014 Chen-Yu Tsai
3 *
4 * Chen-Yu Tsai <wens@csie.org>
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
9 * whole.
10 *
Maxime Ripard136d18a2014-10-17 11:38:23 +020011 * a) This file is free software; you can redistribute it and/or
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +080012 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
15 *
Maxime Ripard136d18a2014-10-17 11:38:23 +020016 * This file is distributed in the hope that it will be useful,
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +080017 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
Maxime Ripard136d18a2014-10-17 11:38:23 +020022 * License along with this file; if not, write to the Free
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +080023 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
24 * MA 02110-1301 USA
25 *
26 * Or, alternatively,
27 *
28 * b) Permission is hereby granted, free of charge, to any person
29 * obtaining a copy of this software and associated documentation
30 * files (the "Software"), to deal in the Software without
31 * restriction, including without limitation the rights to use,
32 * copy, modify, merge, publish, distribute, sublicense, and/or
33 * sell copies of the Software, and to permit persons to whom the
34 * Software is furnished to do so, subject to the following
35 * conditions:
36 *
37 * The above copyright notice and this permission notice shall be
38 * included in all copies or substantial portions of the Software.
39 *
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
48 */
49
Maxime Ripard71455702014-12-16 22:59:54 +010050#include "skeleton64.dtsi"
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +080051
Maxime Ripard19882b82014-12-16 22:59:58 +010052#include <dt-bindings/interrupt-controller/arm-gic.h>
53
Maxime Ripard092a0c32014-12-16 22:59:57 +010054#include <dt-bindings/pinctrl/sun4i-a10.h>
55
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +080056/ {
57 interrupt-parent = <&gic>;
58
59 aliases {
60 serial0 = &uart0;
61 serial1 = &uart1;
62 serial2 = &uart2;
63 serial3 = &uart3;
64 serial4 = &uart4;
65 serial5 = &uart5;
66 serial6 = &r_uart;
67 };
68
69 cpus {
70 #address-cells = <1>;
71 #size-cells = <0>;
72
73 cpu0: cpu@0 {
74 compatible = "arm,cortex-a7";
75 device_type = "cpu";
76 reg = <0x0>;
77 };
78
79 cpu1: cpu@1 {
80 compatible = "arm,cortex-a7";
81 device_type = "cpu";
82 reg = <0x1>;
83 };
84
85 cpu2: cpu@2 {
86 compatible = "arm,cortex-a7";
87 device_type = "cpu";
88 reg = <0x2>;
89 };
90
91 cpu3: cpu@3 {
92 compatible = "arm,cortex-a7";
93 device_type = "cpu";
94 reg = <0x3>;
95 };
96
97 cpu4: cpu@100 {
98 compatible = "arm,cortex-a15";
99 device_type = "cpu";
100 reg = <0x100>;
101 };
102
103 cpu5: cpu@101 {
104 compatible = "arm,cortex-a15";
105 device_type = "cpu";
106 reg = <0x101>;
107 };
108
109 cpu6: cpu@102 {
110 compatible = "arm,cortex-a15";
111 device_type = "cpu";
112 reg = <0x102>;
113 };
114
115 cpu7: cpu@103 {
116 compatible = "arm,cortex-a15";
117 device_type = "cpu";
118 reg = <0x103>;
119 };
120 };
121
122 memory {
123 /* 8GB max. with LPAE */
124 reg = <0 0x20000000 0x02 0>;
125 };
126
127 clocks {
128 #address-cells = <1>;
129 #size-cells = <1>;
130 /*
131 * map 64 bit address range down to 32 bits,
132 * as the peripherals are all under 512MB.
133 */
134 ranges = <0 0 0 0x20000000>;
135
136 osc24M: osc24M_clk {
137 #clock-cells = <0>;
138 compatible = "fixed-clock";
139 clock-frequency = <24000000>;
140 clock-output-names = "osc24M";
141 };
142
143 osc32k: osc32k_clk {
144 #clock-cells = <0>;
145 compatible = "fixed-clock";
146 clock-frequency = <32768>;
147 clock-output-names = "osc32k";
148 };
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800149
150 pll4: clk@0600000c {
151 #clock-cells = <0>;
152 compatible = "allwinner,sun9i-a80-pll4-clk";
153 reg = <0x0600000c 0x4>;
154 clocks = <&osc24M>;
155 clock-output-names = "pll4";
156 };
157
158 pll12: clk@0600002c {
159 #clock-cells = <0>;
160 compatible = "allwinner,sun9i-a80-pll4-clk";
161 reg = <0x0600002c 0x4>;
162 clocks = <&osc24M>;
163 clock-output-names = "pll12";
164 };
165
166 gt_clk: clk@0600005c {
167 #clock-cells = <0>;
168 compatible = "allwinner,sun9i-a80-gt-clk";
169 reg = <0x0600005c 0x4>;
170 clocks = <&osc24M>, <&pll4>, <&pll12>, <&pll12>;
171 clock-output-names = "gt";
172 };
173
174 ahb0: clk@06000060 {
175 #clock-cells = <0>;
176 compatible = "allwinner,sun9i-a80-ahb-clk";
177 reg = <0x06000060 0x4>;
178 clocks = <&gt_clk>, <&pll4>, <&pll12>, <&pll12>;
179 clock-output-names = "ahb0";
180 };
181
182 ahb1: clk@06000064 {
183 #clock-cells = <0>;
184 compatible = "allwinner,sun9i-a80-ahb-clk";
185 reg = <0x06000064 0x4>;
186 clocks = <&gt_clk>, <&pll4>, <&pll12>, <&pll12>;
187 clock-output-names = "ahb1";
188 };
189
190 ahb2: clk@06000068 {
191 #clock-cells = <0>;
192 compatible = "allwinner,sun9i-a80-ahb-clk";
193 reg = <0x06000068 0x4>;
194 clocks = <&gt_clk>, <&pll4>, <&pll12>, <&pll12>;
195 clock-output-names = "ahb2";
196 };
197
198 apb0: clk@06000070 {
199 #clock-cells = <0>;
200 compatible = "allwinner,sun9i-a80-apb0-clk";
201 reg = <0x06000070 0x4>;
202 clocks = <&osc24M>, <&pll4>;
203 clock-output-names = "apb0";
204 };
205
206 apb1: clk@06000074 {
207 #clock-cells = <0>;
208 compatible = "allwinner,sun9i-a80-apb1-clk";
209 reg = <0x06000074 0x4>;
210 clocks = <&osc24M>, <&pll4>;
211 clock-output-names = "apb1";
212 };
213
214 cci400_clk: clk@06000078 {
215 #clock-cells = <0>;
216 compatible = "allwinner,sun9i-a80-gt-clk";
217 reg = <0x06000078 0x4>;
218 clocks = <&osc24M>, <&pll4>, <&pll12>, <&pll12>;
219 clock-output-names = "cci400";
220 };
221
222 ahb0_gates: clk@06000580 {
223 #clock-cells = <1>;
224 compatible = "allwinner,sun9i-a80-ahb0-gates-clk";
225 reg = <0x06000580 0x4>;
226 clocks = <&ahb0>;
227 clock-output-names = "ahb0_fd", "ahb0_ve", "ahb0_gpu",
228 "ahb0_ss", "ahb0_sd", "ahb0_nand1",
229 "ahb0_nand0", "ahb0_sdram",
230 "ahb0_mipi_hsi", "ahb0_sata", "ahb0_ts",
231 "ahb0_spi0","ahb0_spi1", "ahb0_spi2",
232 "ahb0_spi3";
233 };
234
235 ahb1_gates: clk@06000584 {
236 #clock-cells = <1>;
237 compatible = "allwinner,sun9i-a80-ahb1-gates-clk";
238 reg = <0x06000584 0x4>;
239 clocks = <&ahb1>;
240 clock-output-names = "ahb1_usbotg", "ahb1_usbhci",
241 "ahb1_gmac", "ahb1_msgbox",
242 "ahb1_spinlock", "ahb1_hstimer",
243 "ahb1_dma";
244 };
245
246 ahb2_gates: clk@06000588 {
247 #clock-cells = <1>;
248 compatible = "allwinner,sun9i-a80-ahb2-gates-clk";
249 reg = <0x06000588 0x4>;
250 clocks = <&ahb2>;
251 clock-output-names = "ahb2_lcd0", "ahb2_lcd1",
252 "ahb2_edp", "ahb2_csi", "ahb2_hdmi",
253 "ahb2_de", "ahb2_mp", "ahb2_mipi_dsi";
254 };
255
256 apb0_gates: clk@06000590 {
257 #clock-cells = <1>;
258 compatible = "allwinner,sun9i-a80-apb0-gates-clk";
259 reg = <0x06000590 0x4>;
260 clocks = <&apb0>;
261 clock-output-names = "apb0_spdif", "apb0_pio",
262 "apb0_ac97", "apb0_i2s0", "apb0_i2s1",
263 "apb0_lradc", "apb0_gpadc", "apb0_twd",
264 "apb0_cirtx";
265 };
266
267 apb1_gates: clk@06000594 {
268 #clock-cells = <1>;
269 compatible = "allwinner,sun9i-a80-apb1-gates-clk";
270 reg = <0x06000594 0x4>;
271 clocks = <&apb1>;
272 clock-output-names = "apb1_i2c0", "apb1_i2c1",
273 "apb1_i2c2", "apb1_i2c3", "apb1_i2c4",
274 "apb1_uart0", "apb1_uart1",
275 "apb1_uart2", "apb1_uart3",
276 "apb1_uart4", "apb1_uart5";
277 };
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800278 };
279
280 soc {
281 compatible = "simple-bus";
282 #address-cells = <1>;
283 #size-cells = <1>;
284 /*
285 * map 64 bit address range down to 32 bits,
286 * as the peripherals are all under 512MB.
287 */
288 ranges = <0 0 0 0x20000000>;
289
290 gic: interrupt-controller@01c41000 {
291 compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
292 reg = <0x01c41000 0x1000>,
293 <0x01c42000 0x1000>,
294 <0x01c44000 0x2000>,
295 <0x01c46000 0x2000>;
296 interrupt-controller;
297 #interrupt-cells = <3>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100298 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800299 };
300
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800301 ahb0_resets: reset@060005a0 {
302 #reset-cells = <1>;
303 compatible = "allwinner,sun6i-a31-clock-reset";
304 reg = <0x060005a0 0x4>;
305 };
306
307 ahb1_resets: reset@060005a4 {
308 #reset-cells = <1>;
309 compatible = "allwinner,sun6i-a31-clock-reset";
310 reg = <0x060005a4 0x4>;
311 };
312
313 ahb2_resets: reset@060005a8 {
314 #reset-cells = <1>;
315 compatible = "allwinner,sun6i-a31-clock-reset";
316 reg = <0x060005a8 0x4>;
317 };
318
319 apb0_resets: reset@060005b0 {
320 #reset-cells = <1>;
321 compatible = "allwinner,sun6i-a31-clock-reset";
322 reg = <0x060005b0 0x4>;
323 };
324
325 apb1_resets: reset@060005b4 {
326 #reset-cells = <1>;
327 compatible = "allwinner,sun6i-a31-clock-reset";
328 reg = <0x060005b4 0x4>;
329 };
330
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800331 timer@06000c00 {
332 compatible = "allwinner,sun4i-a10-timer";
333 reg = <0x06000c00 0xa0>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100334 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
335 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
336 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
337 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
338 <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
339 <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800340
341 clocks = <&osc24M>;
342 };
343
Maxime Ripard43d024d2014-10-28 22:41:28 +0100344 pio: pinctrl@06000800 {
345 compatible = "allwinner,sun9i-a80-pinctrl";
346 reg = <0x06000800 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100347 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
348 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
349 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
351 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
Maxime Ripard43d024d2014-10-28 22:41:28 +0100352 clocks = <&apb0_gates 5>;
353 gpio-controller;
354 interrupt-controller;
355 #interrupt-cells = <2>;
356 #size-cells = <0>;
357 #gpio-cells = <3>;
Maxime Ripard888366f2014-10-28 22:41:29 +0100358
Chen-Yu Tsai6657a052014-10-31 11:05:47 +0800359 i2c3_pins_a: i2c3@0 {
360 allwinner,pins = "PG10", "PG11";
361 allwinner,function = "i2c3";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100362 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
363 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Chen-Yu Tsai6657a052014-10-31 11:05:47 +0800364 };
365
Maxime Ripard888366f2014-10-28 22:41:29 +0100366 uart0_pins_a: uart0@0 {
367 allwinner,pins = "PH12", "PH13";
368 allwinner,function = "uart0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100369 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
370 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard888366f2014-10-28 22:41:29 +0100371 };
Chen-Yu Tsai2a950b22014-10-31 11:05:50 +0800372
373 uart4_pins_a: uart4@0 {
374 allwinner,pins = "PG12", "PG13", "PG14", "PG15";
375 allwinner,function = "uart4";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100376 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
377 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Chen-Yu Tsai2a950b22014-10-31 11:05:50 +0800378 };
Maxime Ripard43d024d2014-10-28 22:41:28 +0100379 };
380
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800381 uart0: serial@07000000 {
382 compatible = "snps,dw-apb-uart";
383 reg = <0x07000000 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100384 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800385 reg-shift = <2>;
386 reg-io-width = <4>;
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800387 clocks = <&apb1_gates 16>;
388 resets = <&apb1_resets 16>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800389 status = "disabled";
390 };
391
392 uart1: serial@07000400 {
393 compatible = "snps,dw-apb-uart";
394 reg = <0x07000400 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100395 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800396 reg-shift = <2>;
397 reg-io-width = <4>;
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800398 clocks = <&apb1_gates 17>;
399 resets = <&apb1_resets 17>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800400 status = "disabled";
401 };
402
403 uart2: serial@07000800 {
404 compatible = "snps,dw-apb-uart";
405 reg = <0x07000800 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100406 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800407 reg-shift = <2>;
408 reg-io-width = <4>;
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800409 clocks = <&apb1_gates 18>;
410 resets = <&apb1_resets 18>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800411 status = "disabled";
412 };
413
414 uart3: serial@07000c00 {
415 compatible = "snps,dw-apb-uart";
416 reg = <0x07000c00 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100417 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800418 reg-shift = <2>;
419 reg-io-width = <4>;
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800420 clocks = <&apb1_gates 19>;
421 resets = <&apb1_resets 19>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800422 status = "disabled";
423 };
424
425 uart4: serial@07001000 {
426 compatible = "snps,dw-apb-uart";
427 reg = <0x07001000 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100428 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800429 reg-shift = <2>;
430 reg-io-width = <4>;
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800431 clocks = <&apb1_gates 20>;
432 resets = <&apb1_resets 20>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800433 status = "disabled";
434 };
435
436 uart5: serial@07001400 {
437 compatible = "snps,dw-apb-uart";
438 reg = <0x07001400 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100439 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800440 reg-shift = <2>;
441 reg-io-width = <4>;
Chen-Yu Tsaiac399a92014-10-20 22:10:30 +0800442 clocks = <&apb1_gates 21>;
443 resets = <&apb1_resets 21>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800444 status = "disabled";
445 };
446
Chen-Yu Tsaie4aa7532014-10-31 11:05:46 +0800447 i2c0: i2c@07002800 {
448 compatible = "allwinner,sun6i-a31-i2c";
449 reg = <0x07002800 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100450 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsaie4aa7532014-10-31 11:05:46 +0800451 clocks = <&apb1_gates 0>;
452 resets = <&apb1_resets 0>;
453 status = "disabled";
454 #address-cells = <1>;
455 #size-cells = <0>;
456 };
457
458 i2c1: i2c@07002c00 {
459 compatible = "allwinner,sun6i-a31-i2c";
460 reg = <0x07002c00 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100461 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsaie4aa7532014-10-31 11:05:46 +0800462 clocks = <&apb1_gates 1>;
463 resets = <&apb1_resets 1>;
464 status = "disabled";
465 #address-cells = <1>;
466 #size-cells = <0>;
467 };
468
469 i2c2: i2c@07003000 {
470 compatible = "allwinner,sun6i-a31-i2c";
471 reg = <0x07003000 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100472 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsaie4aa7532014-10-31 11:05:46 +0800473 clocks = <&apb1_gates 2>;
474 resets = <&apb1_resets 2>;
475 status = "disabled";
476 #address-cells = <1>;
477 #size-cells = <0>;
478 };
479
480 i2c3: i2c@07003400 {
481 compatible = "allwinner,sun6i-a31-i2c";
482 reg = <0x07003400 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100483 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsaie4aa7532014-10-31 11:05:46 +0800484 clocks = <&apb1_gates 3>;
485 resets = <&apb1_resets 3>;
486 status = "disabled";
487 #address-cells = <1>;
488 #size-cells = <0>;
489 };
490
491 i2c4: i2c@07003800 {
492 compatible = "allwinner,sun6i-a31-i2c";
493 reg = <0x07003800 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100494 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsaie4aa7532014-10-31 11:05:46 +0800495 clocks = <&apb1_gates 4>;
496 resets = <&apb1_resets 4>;
497 status = "disabled";
498 #address-cells = <1>;
499 #size-cells = <0>;
500 };
501
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800502 r_wdt: watchdog@08001000 {
503 compatible = "allwinner,sun6i-a31-wdt";
504 reg = <0x08001000 0x20>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100505 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800506 };
507
508 r_uart: serial@08002800 {
509 compatible = "snps,dw-apb-uart";
510 reg = <0x08002800 0x400>;
Maxime Ripard19882b82014-12-16 22:59:58 +0100511 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
Chen-Yu Tsai4ab328f2014-10-08 21:02:53 +0800512 reg-shift = <2>;
513 reg-io-width = <4>;
514 clocks = <&osc24M>;
515 status = "disabled";
516 };
517 };
518};