blob: 9b1242025dcec7e6a091ae40b93490779ea1928c [file] [log] [blame]
Stefan Roese76ba23f2014-11-07 14:10:41 +01001/*
2 * Copyright (C) 2012 Altera <www.altera.com>
3 *
Stefan Roesed3b436e2014-11-14 08:10:44 +01004 * SPDX-License-Identifier: GPL-2.0+
Stefan Roese76ba23f2014-11-07 14:10:41 +01005 */
6
7#include "skeleton.dtsi"
8#include <dt-bindings/reset/altr,rst-mgr.h>
9
10/ {
11 #address-cells = <1>;
12 #size-cells = <1>;
13
14 aliases {
15 ethernet0 = &gmac0;
16 ethernet1 = &gmac1;
17 serial0 = &uart0;
18 serial1 = &uart1;
19 timer0 = &timer0;
20 timer1 = &timer1;
21 timer2 = &timer2;
22 timer3 = &timer3;
23 };
24
25 cpus {
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 cpu@0 {
30 compatible = "arm,cortex-a9";
31 device_type = "cpu";
32 reg = <0>;
33 next-level-cache = <&L2>;
34 };
35 cpu@1 {
36 compatible = "arm,cortex-a9";
37 device_type = "cpu";
38 reg = <1>;
39 next-level-cache = <&L2>;
40 };
41 };
42
43 intc: intc@fffed000 {
44 compatible = "arm,cortex-a9-gic";
45 #interrupt-cells = <3>;
46 interrupt-controller;
47 reg = <0xfffed000 0x1000>,
48 <0xfffec100 0x100>;
49 };
50
51 soc {
52 #address-cells = <1>;
53 #size-cells = <1>;
54 compatible = "simple-bus";
55 device_type = "soc";
56 interrupt-parent = <&intc>;
57 ranges;
58
59 amba {
60 compatible = "arm,amba-bus";
61 #address-cells = <1>;
62 #size-cells = <1>;
63 ranges;
64
65 pdma: pdma@ffe01000 {
66 compatible = "arm,pl330", "arm,primecell";
67 reg = <0xffe01000 0x1000>;
68 interrupts = <0 104 4>,
69 <0 105 4>,
70 <0 106 4>,
71 <0 107 4>,
72 <0 108 4>,
73 <0 109 4>,
74 <0 110 4>,
75 <0 111 4>;
76 #dma-cells = <1>;
77 #dma-channels = <8>;
78 #dma-requests = <32>;
79 clocks = <&l4_main_clk>;
80 clock-names = "apb_pclk";
81 };
82 };
83
84 can0: can@ffc00000 {
85 compatible = "bosch,d_can";
86 reg = <0xffc00000 0x1000>;
87 interrupts = <0 131 4>, <0 132 4>, <0 133 4>, <0 134 4>;
88 clocks = <&can0_clk>;
89 status = "disabled";
90 };
91
92 can1: can@ffc01000 {
93 compatible = "bosch,d_can";
94 reg = <0xffc01000 0x1000>;
95 interrupts = <0 135 4>, <0 136 4>, <0 137 4>, <0 138 4>;
96 clocks = <&can1_clk>;
97 status = "disabled";
98 };
99
100 clkmgr@ffd04000 {
101 compatible = "altr,clk-mgr";
102 reg = <0xffd04000 0x1000>;
103
104 clocks {
105 #address-cells = <1>;
106 #size-cells = <0>;
107
108 osc1: osc1 {
109 #clock-cells = <0>;
110 compatible = "fixed-clock";
111 };
112
113 osc2: osc2 {
114 #clock-cells = <0>;
115 compatible = "fixed-clock";
116 };
117
118 f2s_periph_ref_clk: f2s_periph_ref_clk {
119 #clock-cells = <0>;
120 compatible = "fixed-clock";
121 };
122
123 f2s_sdram_ref_clk: f2s_sdram_ref_clk {
124 #clock-cells = <0>;
125 compatible = "fixed-clock";
126 };
127
128 main_pll: main_pll {
129 #address-cells = <1>;
130 #size-cells = <0>;
131 #clock-cells = <0>;
132 compatible = "altr,socfpga-pll-clock";
133 clocks = <&osc1>;
134 reg = <0x40>;
135
136 mpuclk: mpuclk {
137 #clock-cells = <0>;
138 compatible = "altr,socfpga-perip-clk";
139 clocks = <&main_pll>;
140 div-reg = <0xe0 0 9>;
141 reg = <0x48>;
142 };
143
144 mainclk: mainclk {
145 #clock-cells = <0>;
146 compatible = "altr,socfpga-perip-clk";
147 clocks = <&main_pll>;
148 div-reg = <0xe4 0 9>;
149 reg = <0x4C>;
150 };
151
152 dbg_base_clk: dbg_base_clk {
153 #clock-cells = <0>;
154 compatible = "altr,socfpga-perip-clk";
155 clocks = <&main_pll>;
156 div-reg = <0xe8 0 9>;
157 reg = <0x50>;
158 };
159
160 main_qspi_clk: main_qspi_clk {
161 #clock-cells = <0>;
162 compatible = "altr,socfpga-perip-clk";
163 clocks = <&main_pll>;
164 reg = <0x54>;
165 };
166
167 main_nand_sdmmc_clk: main_nand_sdmmc_clk {
168 #clock-cells = <0>;
169 compatible = "altr,socfpga-perip-clk";
170 clocks = <&main_pll>;
171 reg = <0x58>;
172 };
173
174 cfg_h2f_usr0_clk: cfg_h2f_usr0_clk {
175 #clock-cells = <0>;
176 compatible = "altr,socfpga-perip-clk";
177 clocks = <&main_pll>;
178 reg = <0x5C>;
179 };
180 };
181
182 periph_pll: periph_pll {
183 #address-cells = <1>;
184 #size-cells = <0>;
185 #clock-cells = <0>;
186 compatible = "altr,socfpga-pll-clock";
187 clocks = <&osc1>, <&osc2>, <&f2s_periph_ref_clk>;
188 reg = <0x80>;
189
190 emac0_clk: emac0_clk {
191 #clock-cells = <0>;
192 compatible = "altr,socfpga-perip-clk";
193 clocks = <&periph_pll>;
194 reg = <0x88>;
195 };
196
197 emac1_clk: emac1_clk {
198 #clock-cells = <0>;
199 compatible = "altr,socfpga-perip-clk";
200 clocks = <&periph_pll>;
201 reg = <0x8C>;
202 };
203
204 per_qspi_clk: per_qsi_clk {
205 #clock-cells = <0>;
206 compatible = "altr,socfpga-perip-clk";
207 clocks = <&periph_pll>;
208 reg = <0x90>;
209 };
210
211 per_nand_mmc_clk: per_nand_mmc_clk {
212 #clock-cells = <0>;
213 compatible = "altr,socfpga-perip-clk";
214 clocks = <&periph_pll>;
215 reg = <0x94>;
216 };
217
218 per_base_clk: per_base_clk {
219 #clock-cells = <0>;
220 compatible = "altr,socfpga-perip-clk";
221 clocks = <&periph_pll>;
222 reg = <0x98>;
223 };
224
225 h2f_usr1_clk: h2f_usr1_clk {
226 #clock-cells = <0>;
227 compatible = "altr,socfpga-perip-clk";
228 clocks = <&periph_pll>;
229 reg = <0x9C>;
230 };
231 };
232
233 sdram_pll: sdram_pll {
234 #address-cells = <1>;
235 #size-cells = <0>;
236 #clock-cells = <0>;
237 compatible = "altr,socfpga-pll-clock";
238 clocks = <&osc1>, <&osc2>, <&f2s_sdram_ref_clk>;
239 reg = <0xC0>;
240
241 ddr_dqs_clk: ddr_dqs_clk {
242 #clock-cells = <0>;
243 compatible = "altr,socfpga-perip-clk";
244 clocks = <&sdram_pll>;
245 reg = <0xC8>;
246 };
247
248 ddr_2x_dqs_clk: ddr_2x_dqs_clk {
249 #clock-cells = <0>;
250 compatible = "altr,socfpga-perip-clk";
251 clocks = <&sdram_pll>;
252 reg = <0xCC>;
253 };
254
255 ddr_dq_clk: ddr_dq_clk {
256 #clock-cells = <0>;
257 compatible = "altr,socfpga-perip-clk";
258 clocks = <&sdram_pll>;
259 reg = <0xD0>;
260 };
261
262 h2f_usr2_clk: h2f_usr2_clk {
263 #clock-cells = <0>;
264 compatible = "altr,socfpga-perip-clk";
265 clocks = <&sdram_pll>;
266 reg = <0xD4>;
267 };
268 };
269
270 mpu_periph_clk: mpu_periph_clk {
271 #clock-cells = <0>;
272 compatible = "altr,socfpga-perip-clk";
273 clocks = <&mpuclk>;
274 fixed-divider = <4>;
275 };
276
277 mpu_l2_ram_clk: mpu_l2_ram_clk {
278 #clock-cells = <0>;
279 compatible = "altr,socfpga-perip-clk";
280 clocks = <&mpuclk>;
281 fixed-divider = <2>;
282 };
283
284 l4_main_clk: l4_main_clk {
285 #clock-cells = <0>;
286 compatible = "altr,socfpga-gate-clk";
287 clocks = <&mainclk>;
288 clk-gate = <0x60 0>;
289 };
290
291 l3_main_clk: l3_main_clk {
292 #clock-cells = <0>;
293 compatible = "altr,socfpga-perip-clk";
294 clocks = <&mainclk>;
295 fixed-divider = <1>;
296 };
297
298 l3_mp_clk: l3_mp_clk {
299 #clock-cells = <0>;
300 compatible = "altr,socfpga-gate-clk";
301 clocks = <&mainclk>;
302 div-reg = <0x64 0 2>;
303 clk-gate = <0x60 1>;
304 };
305
306 l3_sp_clk: l3_sp_clk {
307 #clock-cells = <0>;
308 compatible = "altr,socfpga-gate-clk";
309 clocks = <&mainclk>;
310 div-reg = <0x64 2 2>;
311 };
312
313 l4_mp_clk: l4_mp_clk {
314 #clock-cells = <0>;
315 compatible = "altr,socfpga-gate-clk";
316 clocks = <&mainclk>, <&per_base_clk>;
317 div-reg = <0x64 4 3>;
318 clk-gate = <0x60 2>;
319 };
320
321 l4_sp_clk: l4_sp_clk {
322 #clock-cells = <0>;
323 compatible = "altr,socfpga-gate-clk";
324 clocks = <&mainclk>, <&per_base_clk>;
325 div-reg = <0x64 7 3>;
326 clk-gate = <0x60 3>;
327 };
328
329 dbg_at_clk: dbg_at_clk {
330 #clock-cells = <0>;
331 compatible = "altr,socfpga-gate-clk";
332 clocks = <&dbg_base_clk>;
333 div-reg = <0x68 0 2>;
334 clk-gate = <0x60 4>;
335 };
336
337 dbg_clk: dbg_clk {
338 #clock-cells = <0>;
339 compatible = "altr,socfpga-gate-clk";
340 clocks = <&dbg_base_clk>;
341 div-reg = <0x68 2 2>;
342 clk-gate = <0x60 5>;
343 };
344
345 dbg_trace_clk: dbg_trace_clk {
346 #clock-cells = <0>;
347 compatible = "altr,socfpga-gate-clk";
348 clocks = <&dbg_base_clk>;
349 div-reg = <0x6C 0 3>;
350 clk-gate = <0x60 6>;
351 };
352
353 dbg_timer_clk: dbg_timer_clk {
354 #clock-cells = <0>;
355 compatible = "altr,socfpga-gate-clk";
356 clocks = <&dbg_base_clk>;
357 clk-gate = <0x60 7>;
358 };
359
360 cfg_clk: cfg_clk {
361 #clock-cells = <0>;
362 compatible = "altr,socfpga-gate-clk";
363 clocks = <&cfg_h2f_usr0_clk>;
364 clk-gate = <0x60 8>;
365 };
366
367 h2f_user0_clk: h2f_user0_clk {
368 #clock-cells = <0>;
369 compatible = "altr,socfpga-gate-clk";
370 clocks = <&cfg_h2f_usr0_clk>;
371 clk-gate = <0x60 9>;
372 };
373
374 emac_0_clk: emac_0_clk {
375 #clock-cells = <0>;
376 compatible = "altr,socfpga-gate-clk";
377 clocks = <&emac0_clk>;
378 clk-gate = <0xa0 0>;
379 };
380
381 emac_1_clk: emac_1_clk {
382 #clock-cells = <0>;
383 compatible = "altr,socfpga-gate-clk";
384 clocks = <&emac1_clk>;
385 clk-gate = <0xa0 1>;
386 };
387
388 usb_mp_clk: usb_mp_clk {
389 #clock-cells = <0>;
390 compatible = "altr,socfpga-gate-clk";
391 clocks = <&per_base_clk>;
392 clk-gate = <0xa0 2>;
393 div-reg = <0xa4 0 3>;
394 };
395
396 spi_m_clk: spi_m_clk {
397 #clock-cells = <0>;
398 compatible = "altr,socfpga-gate-clk";
399 clocks = <&per_base_clk>;
400 clk-gate = <0xa0 3>;
401 div-reg = <0xa4 3 3>;
402 };
403
404 can0_clk: can0_clk {
405 #clock-cells = <0>;
406 compatible = "altr,socfpga-gate-clk";
407 clocks = <&per_base_clk>;
408 clk-gate = <0xa0 4>;
409 div-reg = <0xa4 6 3>;
410 };
411
412 can1_clk: can1_clk {
413 #clock-cells = <0>;
414 compatible = "altr,socfpga-gate-clk";
415 clocks = <&per_base_clk>;
416 clk-gate = <0xa0 5>;
417 div-reg = <0xa4 9 3>;
418 };
419
420 gpio_db_clk: gpio_db_clk {
421 #clock-cells = <0>;
422 compatible = "altr,socfpga-gate-clk";
423 clocks = <&per_base_clk>;
424 clk-gate = <0xa0 6>;
425 div-reg = <0xa8 0 24>;
426 };
427
428 h2f_user1_clk: h2f_user1_clk {
429 #clock-cells = <0>;
430 compatible = "altr,socfpga-gate-clk";
431 clocks = <&h2f_usr1_clk>;
432 clk-gate = <0xa0 7>;
433 };
434
435 sdmmc_clk: sdmmc_clk {
436 #clock-cells = <0>;
437 compatible = "altr,socfpga-gate-clk";
438 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
439 clk-gate = <0xa0 8>;
440 clk-phase = <0 135>;
441 };
442
443 nand_x_clk: nand_x_clk {
444 #clock-cells = <0>;
445 compatible = "altr,socfpga-gate-clk";
446 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
447 clk-gate = <0xa0 9>;
448 };
449
450 nand_clk: nand_clk {
451 #clock-cells = <0>;
452 compatible = "altr,socfpga-gate-clk";
453 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
454 clk-gate = <0xa0 10>;
455 fixed-divider = <4>;
456 };
457
458 qspi_clk: qspi_clk {
459 #clock-cells = <0>;
460 compatible = "altr,socfpga-gate-clk";
461 clocks = <&f2s_periph_ref_clk>, <&main_qspi_clk>, <&per_qspi_clk>;
462 clk-gate = <0xa0 11>;
463 };
464 };
465 };
466
467 gmac0: ethernet@ff700000 {
468 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
469 altr,sysmgr-syscon = <&sysmgr 0x60 0>;
470 reg = <0xff700000 0x2000>;
471 interrupts = <0 115 4>;
472 interrupt-names = "macirq";
473 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
474 clocks = <&emac0_clk>;
475 clock-names = "stmmaceth";
476 resets = <&rst EMAC0_RESET>;
477 reset-names = "stmmaceth";
478 snps,multicast-filter-bins = <256>;
479 snps,perfect-filter-entries = <128>;
480 status = "disabled";
481 };
482
483 gmac1: ethernet@ff702000 {
484 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
485 altr,sysmgr-syscon = <&sysmgr 0x60 2>;
486 reg = <0xff702000 0x2000>;
487 interrupts = <0 120 4>;
488 interrupt-names = "macirq";
489 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
490 clocks = <&emac1_clk>;
491 clock-names = "stmmaceth";
492 resets = <&rst EMAC1_RESET>;
493 reset-names = "stmmaceth";
494 snps,multicast-filter-bins = <256>;
495 snps,perfect-filter-entries = <128>;
496 status = "disabled";
497 };
498
499 i2c0: i2c@ffc04000 {
500 #address-cells = <1>;
501 #size-cells = <0>;
502 compatible = "snps,designware-i2c";
503 reg = <0xffc04000 0x1000>;
504 clocks = <&l4_sp_clk>;
505 interrupts = <0 158 0x4>;
506 status = "disabled";
507 };
508
509 i2c1: i2c@ffc05000 {
510 #address-cells = <1>;
511 #size-cells = <0>;
512 compatible = "snps,designware-i2c";
513 reg = <0xffc05000 0x1000>;
514 clocks = <&l4_sp_clk>;
515 interrupts = <0 159 0x4>;
516 status = "disabled";
517 };
518
519 i2c2: i2c@ffc06000 {
520 #address-cells = <1>;
521 #size-cells = <0>;
522 compatible = "snps,designware-i2c";
523 reg = <0xffc06000 0x1000>;
524 clocks = <&l4_sp_clk>;
525 interrupts = <0 160 0x4>;
526 status = "disabled";
527 };
528
529 i2c3: i2c@ffc07000 {
530 #address-cells = <1>;
531 #size-cells = <0>;
532 compatible = "snps,designware-i2c";
533 reg = <0xffc07000 0x1000>;
534 clocks = <&l4_sp_clk>;
535 interrupts = <0 161 0x4>;
536 status = "disabled";
537 };
538
539 gpio0: gpio@ff708000 {
540 #address-cells = <1>;
541 #size-cells = <0>;
542 compatible = "snps,dw-apb-gpio";
543 reg = <0xff708000 0x1000>;
544 clocks = <&per_base_clk>;
545 status = "disabled";
546
547 porta: gpio-controller@0 {
548 compatible = "snps,dw-apb-gpio-port";
549 gpio-controller;
550 #gpio-cells = <2>;
551 snps,nr-gpios = <29>;
552 reg = <0>;
553 interrupt-controller;
554 #interrupt-cells = <2>;
555 interrupts = <0 164 4>;
556 };
557 };
558
559 gpio1: gpio@ff709000 {
560 #address-cells = <1>;
561 #size-cells = <0>;
562 compatible = "snps,dw-apb-gpio";
563 reg = <0xff709000 0x1000>;
564 clocks = <&per_base_clk>;
565 status = "disabled";
566
567 portb: gpio-controller@0 {
568 compatible = "snps,dw-apb-gpio-port";
569 gpio-controller;
570 #gpio-cells = <2>;
571 snps,nr-gpios = <29>;
572 reg = <0>;
573 interrupt-controller;
574 #interrupt-cells = <2>;
575 interrupts = <0 165 4>;
576 };
577 };
578
579 gpio2: gpio@ff70a000 {
580 #address-cells = <1>;
581 #size-cells = <0>;
582 compatible = "snps,dw-apb-gpio";
583 reg = <0xff70a000 0x1000>;
584 clocks = <&per_base_clk>;
585 status = "disabled";
586
587 portc: gpio-controller@0 {
588 compatible = "snps,dw-apb-gpio-port";
589 gpio-controller;
590 #gpio-cells = <2>;
591 snps,nr-gpios = <27>;
592 reg = <0>;
593 interrupt-controller;
594 #interrupt-cells = <2>;
595 interrupts = <0 166 4>;
596 };
597 };
598
599 sdr: sdr@ffc25000 {
600 compatible = "syscon";
601 reg = <0xffc25000 0x1000>;
602 };
603
604 sdramedac {
605 compatible = "altr,sdram-edac";
606 altr,sdr-syscon = <&sdr>;
607 interrupts = <0 39 4>;
608 };
609
610 L2: l2-cache@fffef000 {
611 compatible = "arm,pl310-cache";
612 reg = <0xfffef000 0x1000>;
613 interrupts = <0 38 0x04>;
614 cache-unified;
615 cache-level = <2>;
616 arm,tag-latency = <1 1 1>;
617 arm,data-latency = <2 1 1>;
618 };
619
620 mmc: dwmmc0@ff704000 {
621 compatible = "altr,socfpga-dw-mshc";
622 reg = <0xff704000 0x1000>;
623 interrupts = <0 139 4>;
624 fifo-depth = <0x400>;
625 #address-cells = <1>;
626 #size-cells = <0>;
627 clocks = <&l4_mp_clk>, <&sdmmc_clk>;
628 clock-names = "biu", "ciu";
629 };
630
Stefan Roese2948d192014-11-07 12:37:50 +0100631 qspi: spi@ff705000 {
632 compatible = "cadence,qspi";
633 #address-cells = <1>;
634 #size-cells = <0>;
635 reg = <0xff705000 0x1000>,
636 <0xffa00000 0x1000>;
637 interrupts = <0 151 4>;
638 clocks = <&qspi_clk>;
639 ext-decoder = <0>; /* external decoder */
Marek Vasutf310d0d2014-12-31 20:14:56 +0100640 num-cs = <4>;
Stefan Roese2948d192014-11-07 12:37:50 +0100641 fifo-depth = <128>;
Vikas Manocha480f3b52015-07-02 18:29:44 -0700642 sram-size = <128>;
Stefan Roese2948d192014-11-07 12:37:50 +0100643 bus-num = <2>;
644 status = "disabled";
645 };
646
Stefan Roese33432c32014-11-07 13:50:32 +0100647 spi0: spi@fff00000 {
Marek Vasut67e767d2014-12-31 20:14:55 +0100648 compatible = "snps,dw-apb-ssi";
Stefan Roese33432c32014-11-07 13:50:32 +0100649 #address-cells = <1>;
650 #size-cells = <0>;
651 reg = <0xfff00000 0x1000>;
652 interrupts = <0 154 4>;
Marek Vasutf310d0d2014-12-31 20:14:56 +0100653 num-cs = <4>;
Stefan Roese33432c32014-11-07 13:50:32 +0100654 bus-num = <0>;
655 tx-dma-channel = <&pdma 16>;
656 rx-dma-channel = <&pdma 17>;
657 clocks = <&per_base_clk>;
658 status = "disabled";
659 };
660
661 spi1: spi@fff01000 {
Marek Vasut67e767d2014-12-31 20:14:55 +0100662 compatible = "snps,dw-apb-ssi";
Stefan Roese33432c32014-11-07 13:50:32 +0100663 #address-cells = <1>;
664 #size-cells = <0>;
665 reg = <0xfff01000 0x1000>;
666 interrupts = <0 156 4>;
Marek Vasutf310d0d2014-12-31 20:14:56 +0100667 num-cs = <4>;
Stefan Roese33432c32014-11-07 13:50:32 +0100668 bus-num = <1>;
669 tx-dma-channel = <&pdma 20>;
670 rx-dma-channel = <&pdma 21>;
671 clocks = <&per_base_clk>;
672 status = "disabled";
673 };
674
Stefan Roese76ba23f2014-11-07 14:10:41 +0100675 /* Local timer */
676 timer@fffec600 {
677 compatible = "arm,cortex-a9-twd-timer";
678 reg = <0xfffec600 0x100>;
679 interrupts = <1 13 0xf04>;
680 clocks = <&mpu_periph_clk>;
681 };
682
683 timer0: timer0@ffc08000 {
684 compatible = "snps,dw-apb-timer";
685 interrupts = <0 167 4>;
686 reg = <0xffc08000 0x1000>;
687 clocks = <&l4_sp_clk>;
688 clock-names = "timer";
689 };
690
691 timer1: timer1@ffc09000 {
692 compatible = "snps,dw-apb-timer";
693 interrupts = <0 168 4>;
694 reg = <0xffc09000 0x1000>;
695 clocks = <&l4_sp_clk>;
696 clock-names = "timer";
697 };
698
699 timer2: timer2@ffd00000 {
700 compatible = "snps,dw-apb-timer";
701 interrupts = <0 169 4>;
702 reg = <0xffd00000 0x1000>;
703 clocks = <&osc1>;
704 clock-names = "timer";
705 };
706
707 timer3: timer3@ffd01000 {
708 compatible = "snps,dw-apb-timer";
709 interrupts = <0 170 4>;
710 reg = <0xffd01000 0x1000>;
711 clocks = <&osc1>;
712 clock-names = "timer";
713 };
714
715 uart0: serial0@ffc02000 {
716 compatible = "snps,dw-apb-uart";
717 reg = <0xffc02000 0x1000>;
718 interrupts = <0 162 4>;
719 reg-shift = <2>;
720 reg-io-width = <4>;
721 clocks = <&l4_sp_clk>;
722 };
723
724 uart1: serial1@ffc03000 {
725 compatible = "snps,dw-apb-uart";
726 reg = <0xffc03000 0x1000>;
727 interrupts = <0 163 4>;
728 reg-shift = <2>;
729 reg-io-width = <4>;
730 clocks = <&l4_sp_clk>;
731 };
732
733 rst: rstmgr@ffd05000 {
734 #reset-cells = <1>;
735 compatible = "altr,rst-mgr";
736 reg = <0xffd05000 0x1000>;
737 };
738
739 usbphy0: usbphy@0 {
740 #phy-cells = <0>;
741 compatible = "usb-nop-xceiv";
742 status = "okay";
743 };
744
745 usb0: usb@ffb00000 {
746 compatible = "snps,dwc2";
747 reg = <0xffb00000 0xffff>;
748 interrupts = <0 125 4>;
749 clocks = <&usb_mp_clk>;
750 clock-names = "otg";
751 phys = <&usbphy0>;
752 phy-names = "usb2-phy";
753 status = "disabled";
754 };
755
756 usb1: usb@ffb40000 {
757 compatible = "snps,dwc2";
758 reg = <0xffb40000 0xffff>;
759 interrupts = <0 128 4>;
760 clocks = <&usb_mp_clk>;
761 clock-names = "otg";
762 phys = <&usbphy0>;
763 phy-names = "usb2-phy";
764 status = "disabled";
765 };
766
767 watchdog0: watchdog@ffd02000 {
768 compatible = "snps,dw-wdt";
769 reg = <0xffd02000 0x1000>;
770 interrupts = <0 171 4>;
771 clocks = <&osc1>;
772 status = "disabled";
773 };
774
775 watchdog1: watchdog@ffd03000 {
776 compatible = "snps,dw-wdt";
777 reg = <0xffd03000 0x1000>;
778 interrupts = <0 172 4>;
779 clocks = <&osc1>;
780 status = "disabled";
781 };
782
783 sysmgr: sysmgr@ffd08000 {
784 compatible = "altr,sys-mgr", "syscon";
785 reg = <0xffd08000 0x4000>;
786 };
787 };
788};