blob: d2ff3d5d83e76d04495bfcd4eca685754cd0aa8e [file] [log] [blame]
Dinh Nguyen66314222012-07-18 16:07:18 -06001/*
2 * Copyright (C) 2012 Altera <www.altera.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18/include/ "skeleton.dtsi"
19
20/ {
21 #address-cells = <1>;
22 #size-cells = <1>;
23
24 aliases {
25 ethernet0 = &gmac0;
Dinh Nguyen3d954cf2013-06-05 10:02:53 -050026 ethernet1 = &gmac1;
Dinh Nguyen66314222012-07-18 16:07:18 -060027 serial0 = &uart0;
28 serial1 = &uart1;
Dinh Nguyenc2ad2842013-02-11 17:30:30 -060029 timer0 = &timer0;
30 timer1 = &timer1;
31 timer2 = &timer2;
32 timer3 = &timer3;
Dinh Nguyen66314222012-07-18 16:07:18 -060033 };
34
35 cpus {
36 #address-cells = <1>;
37 #size-cells = <0>;
38
39 cpu@0 {
40 compatible = "arm,cortex-a9";
41 device_type = "cpu";
42 reg = <0>;
43 next-level-cache = <&L2>;
44 };
45 cpu@1 {
46 compatible = "arm,cortex-a9";
47 device_type = "cpu";
48 reg = <1>;
49 next-level-cache = <&L2>;
50 };
51 };
52
53 intc: intc@fffed000 {
54 compatible = "arm,cortex-a9-gic";
55 #interrupt-cells = <3>;
56 interrupt-controller;
57 reg = <0xfffed000 0x1000>,
58 <0xfffec100 0x100>;
59 };
60
61 soc {
62 #address-cells = <1>;
63 #size-cells = <1>;
64 compatible = "simple-bus";
65 device_type = "soc";
66 interrupt-parent = <&intc>;
67 ranges;
68
69 amba {
70 compatible = "arm,amba-bus";
71 #address-cells = <1>;
72 #size-cells = <1>;
73 ranges;
74
75 pdma: pdma@ffe01000 {
76 compatible = "arm,pl330", "arm,primecell";
77 reg = <0xffe01000 0x1000>;
78 interrupts = <0 180 4>;
Padmavathi Venna0d8abbf2013-03-04 11:04:28 +053079 #dma-cells = <1>;
80 #dma-channels = <8>;
81 #dma-requests = <32>;
Steffen Trumtrar672ef902014-01-08 12:01:26 -060082 clocks = <&l4_main_clk>;
83 clock-names = "apb_pclk";
Dinh Nguyen66314222012-07-18 16:07:18 -060084 };
85 };
86
Dinh Nguyen042000b2013-04-11 10:55:25 -050087 clkmgr@ffd04000 {
88 compatible = "altr,clk-mgr";
89 reg = <0xffd04000 0x1000>;
90
91 clocks {
92 #address-cells = <1>;
93 #size-cells = <0>;
94
Dinh Nguyenf1ce1a92014-02-19 14:56:38 -060095 osc1: osc1 {
96 #clock-cells = <0>;
97 compatible = "fixed-clock";
98 };
99
100 osc2: osc2 {
Dinh Nguyen042000b2013-04-11 10:55:25 -0500101 #clock-cells = <0>;
102 compatible = "fixed-clock";
103 };
104
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500105 f2s_periph_ref_clk: f2s_periph_ref_clk {
106 #clock-cells = <0>;
107 compatible = "fixed-clock";
Dinh Nguyenf1ce1a92014-02-19 14:56:38 -0600108 };
109
110 f2s_sdram_ref_clk: f2s_sdram_ref_clk {
111 #clock-cells = <0>;
112 compatible = "fixed-clock";
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500113 };
114
Dinh Nguyen042000b2013-04-11 10:55:25 -0500115 main_pll: main_pll {
116 #address-cells = <1>;
117 #size-cells = <0>;
118 #clock-cells = <0>;
119 compatible = "altr,socfpga-pll-clock";
Dinh Nguyenf1ce1a92014-02-19 14:56:38 -0600120 clocks = <&osc1>;
Dinh Nguyen042000b2013-04-11 10:55:25 -0500121 reg = <0x40>;
122
123 mpuclk: mpuclk {
124 #clock-cells = <0>;
125 compatible = "altr,socfpga-perip-clk";
126 clocks = <&main_pll>;
127 fixed-divider = <2>;
128 reg = <0x48>;
129 };
130
131 mainclk: mainclk {
132 #clock-cells = <0>;
133 compatible = "altr,socfpga-perip-clk";
134 clocks = <&main_pll>;
135 fixed-divider = <4>;
136 reg = <0x4C>;
137 };
138
139 dbg_base_clk: dbg_base_clk {
140 #clock-cells = <0>;
141 compatible = "altr,socfpga-perip-clk";
142 clocks = <&main_pll>;
143 fixed-divider = <4>;
144 reg = <0x50>;
145 };
146
147 main_qspi_clk: main_qspi_clk {
148 #clock-cells = <0>;
149 compatible = "altr,socfpga-perip-clk";
150 clocks = <&main_pll>;
151 reg = <0x54>;
152 };
153
154 main_nand_sdmmc_clk: main_nand_sdmmc_clk {
155 #clock-cells = <0>;
156 compatible = "altr,socfpga-perip-clk";
157 clocks = <&main_pll>;
158 reg = <0x58>;
159 };
160
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500161 cfg_h2f_usr0_clk: cfg_h2f_usr0_clk {
Dinh Nguyen042000b2013-04-11 10:55:25 -0500162 #clock-cells = <0>;
163 compatible = "altr,socfpga-perip-clk";
164 clocks = <&main_pll>;
165 reg = <0x5C>;
166 };
167 };
168
169 periph_pll: periph_pll {
170 #address-cells = <1>;
171 #size-cells = <0>;
172 #clock-cells = <0>;
173 compatible = "altr,socfpga-pll-clock";
Dinh Nguyenf1ce1a92014-02-19 14:56:38 -0600174 clocks = <&osc1>, <&osc2>, <&f2s_periph_ref_clk>;
Dinh Nguyen042000b2013-04-11 10:55:25 -0500175 reg = <0x80>;
176
177 emac0_clk: emac0_clk {
178 #clock-cells = <0>;
179 compatible = "altr,socfpga-perip-clk";
180 clocks = <&periph_pll>;
181 reg = <0x88>;
182 };
183
184 emac1_clk: emac1_clk {
185 #clock-cells = <0>;
186 compatible = "altr,socfpga-perip-clk";
187 clocks = <&periph_pll>;
188 reg = <0x8C>;
189 };
190
191 per_qspi_clk: per_qsi_clk {
192 #clock-cells = <0>;
193 compatible = "altr,socfpga-perip-clk";
194 clocks = <&periph_pll>;
195 reg = <0x90>;
196 };
197
198 per_nand_mmc_clk: per_nand_mmc_clk {
199 #clock-cells = <0>;
200 compatible = "altr,socfpga-perip-clk";
201 clocks = <&periph_pll>;
202 reg = <0x94>;
203 };
204
205 per_base_clk: per_base_clk {
206 #clock-cells = <0>;
207 compatible = "altr,socfpga-perip-clk";
208 clocks = <&periph_pll>;
209 reg = <0x98>;
210 };
211
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500212 h2f_usr1_clk: h2f_usr1_clk {
Dinh Nguyen042000b2013-04-11 10:55:25 -0500213 #clock-cells = <0>;
214 compatible = "altr,socfpga-perip-clk";
215 clocks = <&periph_pll>;
216 reg = <0x9C>;
217 };
218 };
219
220 sdram_pll: sdram_pll {
221 #address-cells = <1>;
222 #size-cells = <0>;
223 #clock-cells = <0>;
224 compatible = "altr,socfpga-pll-clock";
Dinh Nguyenf1ce1a92014-02-19 14:56:38 -0600225 clocks = <&osc1>, <&osc2>, <&f2s_sdram_ref_clk>;
Dinh Nguyen042000b2013-04-11 10:55:25 -0500226 reg = <0xC0>;
227
228 ddr_dqs_clk: ddr_dqs_clk {
229 #clock-cells = <0>;
230 compatible = "altr,socfpga-perip-clk";
231 clocks = <&sdram_pll>;
232 reg = <0xC8>;
233 };
234
235 ddr_2x_dqs_clk: ddr_2x_dqs_clk {
236 #clock-cells = <0>;
237 compatible = "altr,socfpga-perip-clk";
238 clocks = <&sdram_pll>;
239 reg = <0xCC>;
240 };
241
242 ddr_dq_clk: ddr_dq_clk {
243 #clock-cells = <0>;
244 compatible = "altr,socfpga-perip-clk";
245 clocks = <&sdram_pll>;
246 reg = <0xD0>;
247 };
248
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500249 h2f_usr2_clk: h2f_usr2_clk {
Dinh Nguyen042000b2013-04-11 10:55:25 -0500250 #clock-cells = <0>;
251 compatible = "altr,socfpga-perip-clk";
252 clocks = <&sdram_pll>;
253 reg = <0xD4>;
254 };
255 };
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500256
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500257 mpu_periph_clk: mpu_periph_clk {
258 #clock-cells = <0>;
Dinh Nguyena5c6e872013-12-03 14:32:10 -0600259 compatible = "altr,socfpga-perip-clk";
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500260 clocks = <&mpuclk>;
261 fixed-divider = <4>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500262 };
263
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500264 mpu_l2_ram_clk: mpu_l2_ram_clk {
265 #clock-cells = <0>;
Dinh Nguyena5c6e872013-12-03 14:32:10 -0600266 compatible = "altr,socfpga-perip-clk";
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500267 clocks = <&mpuclk>;
268 fixed-divider = <2>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500269 };
270
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500271 l4_main_clk: l4_main_clk {
272 #clock-cells = <0>;
273 compatible = "altr,socfpga-gate-clk";
274 clocks = <&mainclk>;
275 clk-gate = <0x60 0>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500276 };
277
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500278 l3_main_clk: l3_main_clk {
279 #clock-cells = <0>;
Dinh Nguyena5c6e872013-12-03 14:32:10 -0600280 compatible = "altr,socfpga-perip-clk";
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500281 clocks = <&mainclk>;
Dinh Nguyena5c6e872013-12-03 14:32:10 -0600282 fixed-divider = <1>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500283 };
284
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500285 l3_mp_clk: l3_mp_clk {
286 #clock-cells = <0>;
287 compatible = "altr,socfpga-gate-clk";
288 clocks = <&mainclk>;
289 div-reg = <0x64 0 2>;
290 clk-gate = <0x60 1>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500291 };
292
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500293 l3_sp_clk: l3_sp_clk {
294 #clock-cells = <0>;
295 compatible = "altr,socfpga-gate-clk";
296 clocks = <&mainclk>;
297 div-reg = <0x64 2 2>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500298 };
299
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500300 l4_mp_clk: l4_mp_clk {
301 #clock-cells = <0>;
302 compatible = "altr,socfpga-gate-clk";
303 clocks = <&mainclk>, <&per_base_clk>;
304 div-reg = <0x64 4 3>;
305 clk-gate = <0x60 2>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500306 };
307
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500308 l4_sp_clk: l4_sp_clk {
309 #clock-cells = <0>;
310 compatible = "altr,socfpga-gate-clk";
311 clocks = <&mainclk>, <&per_base_clk>;
312 div-reg = <0x64 7 3>;
313 clk-gate = <0x60 3>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500314 };
315
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500316 dbg_at_clk: dbg_at_clk {
317 #clock-cells = <0>;
318 compatible = "altr,socfpga-gate-clk";
319 clocks = <&dbg_base_clk>;
320 div-reg = <0x68 0 2>;
321 clk-gate = <0x60 4>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500322 };
323
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500324 dbg_clk: dbg_clk {
325 #clock-cells = <0>;
326 compatible = "altr,socfpga-gate-clk";
327 clocks = <&dbg_base_clk>;
328 div-reg = <0x68 2 2>;
329 clk-gate = <0x60 5>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500330 };
331
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500332 dbg_trace_clk: dbg_trace_clk {
333 #clock-cells = <0>;
334 compatible = "altr,socfpga-gate-clk";
335 clocks = <&dbg_base_clk>;
336 div-reg = <0x6C 0 3>;
337 clk-gate = <0x60 6>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500338 };
339
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500340 dbg_timer_clk: dbg_timer_clk {
341 #clock-cells = <0>;
342 compatible = "altr,socfpga-gate-clk";
343 clocks = <&dbg_base_clk>;
344 clk-gate = <0x60 7>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500345 };
346
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500347 cfg_clk: cfg_clk {
348 #clock-cells = <0>;
349 compatible = "altr,socfpga-gate-clk";
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500350 clocks = <&cfg_h2f_usr0_clk>;
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500351 clk-gate = <0x60 8>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500352 };
353
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500354 h2f_user0_clk: h2f_user0_clk {
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500355 #clock-cells = <0>;
356 compatible = "altr,socfpga-gate-clk";
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500357 clocks = <&cfg_h2f_usr0_clk>;
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500358 clk-gate = <0x60 9>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500359 };
360
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500361 emac_0_clk: emac_0_clk {
362 #clock-cells = <0>;
363 compatible = "altr,socfpga-gate-clk";
364 clocks = <&emac0_clk>;
365 clk-gate = <0xa0 0>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500366 };
367
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500368 emac_1_clk: emac_1_clk {
369 #clock-cells = <0>;
370 compatible = "altr,socfpga-gate-clk";
371 clocks = <&emac1_clk>;
372 clk-gate = <0xa0 1>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500373 };
374
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500375 usb_mp_clk: usb_mp_clk {
376 #clock-cells = <0>;
377 compatible = "altr,socfpga-gate-clk";
378 clocks = <&per_base_clk>;
379 clk-gate = <0xa0 2>;
380 div-reg = <0xa4 0 3>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500381 };
382
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500383 spi_m_clk: spi_m_clk {
384 #clock-cells = <0>;
385 compatible = "altr,socfpga-gate-clk";
386 clocks = <&per_base_clk>;
387 clk-gate = <0xa0 3>;
388 div-reg = <0xa4 3 3>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500389 };
390
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500391 can0_clk: can0_clk {
392 #clock-cells = <0>;
393 compatible = "altr,socfpga-gate-clk";
394 clocks = <&per_base_clk>;
395 clk-gate = <0xa0 4>;
396 div-reg = <0xa4 6 3>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500397 };
398
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500399 can1_clk: can1_clk {
400 #clock-cells = <0>;
401 compatible = "altr,socfpga-gate-clk";
402 clocks = <&per_base_clk>;
403 clk-gate = <0xa0 5>;
404 div-reg = <0xa4 9 3>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500405 };
406
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500407 gpio_db_clk: gpio_db_clk {
408 #clock-cells = <0>;
409 compatible = "altr,socfpga-gate-clk";
410 clocks = <&per_base_clk>;
411 clk-gate = <0xa0 6>;
412 div-reg = <0xa8 0 24>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500413 };
414
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500415 h2f_user1_clk: h2f_user1_clk {
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500416 #clock-cells = <0>;
417 compatible = "altr,socfpga-gate-clk";
Steffen Trumtrar01ed80b2013-10-07 11:11:38 -0500418 clocks = <&h2f_usr1_clk>;
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500419 clk-gate = <0xa0 7>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500420 };
421
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500422 sdmmc_clk: sdmmc_clk {
423 #clock-cells = <0>;
424 compatible = "altr,socfpga-gate-clk";
425 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
426 clk-gate = <0xa0 8>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500427 };
428
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500429 nand_x_clk: nand_x_clk {
430 #clock-cells = <0>;
431 compatible = "altr,socfpga-gate-clk";
432 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
433 clk-gate = <0xa0 9>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500434 };
435
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500436 nand_clk: nand_clk {
437 #clock-cells = <0>;
438 compatible = "altr,socfpga-gate-clk";
439 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
440 clk-gate = <0xa0 10>;
441 fixed-divider = <4>;
442 };
443
444 qspi_clk: qspi_clk {
445 #clock-cells = <0>;
446 compatible = "altr,socfpga-gate-clk";
447 clocks = <&f2s_periph_ref_clk>, <&main_qspi_clk>, <&per_qspi_clk>;
448 clk-gate = <0xa0 11>;
Dinh Nguyena92b83a2013-06-05 10:02:54 -0500449 };
Dinh Nguyen042000b2013-04-11 10:55:25 -0500450 };
451 };
452
Dinh Nguyen7e0b4cd2014-02-06 16:48:43 -0600453 ethernet0: ethernet0 {
454 #address-cells = <1>;
455 #size-cells = <1>;
456 compatible = "altr,socfpga-stmmac";
457 altr,sysmgr-syscon = <&sysmgr 0x60>;
Dinh Nguyen3d954cf2013-06-05 10:02:53 -0500458 status = "disabled";
Dinh Nguyen7e0b4cd2014-02-06 16:48:43 -0600459 ranges;
460
461 gmac0: gmac0@ff700000 {
462 compatible = "snps,dwmac-3.70a", "snps,dwmac";
463 reg = <0xff700000 0x2000>;
464 interrupts = <0 115 4>;
465 interrupt-names = "macirq";
466 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
467 clocks = <&emac0_clk>;
468 clock-names = "stmmaceth";
469 };
Dinh Nguyen3d954cf2013-06-05 10:02:53 -0500470 };
471
Dinh Nguyen7e0b4cd2014-02-06 16:48:43 -0600472 ethernet1: ethernet1 {
473 #address-cells = <1>;
474 #size-cells = <1>;
475 compatible = "altr,socfpga-stmmac";
476 altr,sysmgr-syscon = <&sysmgr 0x60>;
Dinh Nguyen3d954cf2013-06-05 10:02:53 -0500477 status = "disabled";
Dinh Nguyen7e0b4cd2014-02-06 16:48:43 -0600478 ranges;
479
480 gmac1: gmac1@ff702000 {
481 device_type = "network";
482 compatible = "snps,dwmac-3.70a", "snps,dwmac";
483 reg = <0xff702000 0x2000>;
484 interrupts = <0 120 4>;
485 interrupt-names = "macirq";
486 mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
487 clocks = <&emac1_clk>;
488 clock-names = "stmmaceth";
489 };
Dinh Nguyen66314222012-07-18 16:07:18 -0600490 };
491
492 L2: l2-cache@fffef000 {
493 compatible = "arm,pl310-cache";
494 reg = <0xfffef000 0x1000>;
495 interrupts = <0 38 0x04>;
496 cache-unified;
497 cache-level = <2>;
Dinh Nguyen9a21e552014-01-06 20:54:43 -0600498 arm,tag-latency = <1 1 1>;
499 arm,data-latency = <2 1 1>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600500 };
501
Dinh Nguyen9b931362014-02-17 20:31:02 -0600502 mmc: dwmmc0@ff704000 {
503 compatible = "altr,socfpga-dw-mshc";
504 reg = <0xff704000 0x1000>;
505 interrupts = <0 139 4>;
506 fifo-depth = <0x400>;
507 #address-cells = <1>;
508 #size-cells = <0>;
509 clocks = <&l4_mp_clk>, <&sdmmc_clk>;
510 clock-names = "biu", "ciu";
511 };
512
Dinh Nguyen66314222012-07-18 16:07:18 -0600513 /* Local timer */
514 timer@fffec600 {
515 compatible = "arm,cortex-a9-twd-timer";
516 reg = <0xfffec600 0x100>;
517 interrupts = <1 13 0xf04>;
Dinh Nguyen159c7f82013-10-01 14:42:27 -0500518 clocks = <&mpu_periph_clk>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600519 };
520
Dinh Nguyenc2ad2842013-02-11 17:30:30 -0600521 timer0: timer0@ffc08000 {
Dinh Nguyen620f5e12013-08-21 15:28:49 -0500522 compatible = "snps,dw-apb-timer";
Dinh Nguyen66314222012-07-18 16:07:18 -0600523 interrupts = <0 167 4>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600524 reg = <0xffc08000 0x1000>;
525 };
526
Dinh Nguyenc2ad2842013-02-11 17:30:30 -0600527 timer1: timer1@ffc09000 {
Dinh Nguyen620f5e12013-08-21 15:28:49 -0500528 compatible = "snps,dw-apb-timer";
Dinh Nguyen66314222012-07-18 16:07:18 -0600529 interrupts = <0 168 4>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600530 reg = <0xffc09000 0x1000>;
531 };
532
Dinh Nguyenc2ad2842013-02-11 17:30:30 -0600533 timer2: timer2@ffd00000 {
Dinh Nguyen620f5e12013-08-21 15:28:49 -0500534 compatible = "snps,dw-apb-timer";
Dinh Nguyen66314222012-07-18 16:07:18 -0600535 interrupts = <0 169 4>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600536 reg = <0xffd00000 0x1000>;
537 };
538
Dinh Nguyenc2ad2842013-02-11 17:30:30 -0600539 timer3: timer3@ffd01000 {
Dinh Nguyen620f5e12013-08-21 15:28:49 -0500540 compatible = "snps,dw-apb-timer";
Dinh Nguyen66314222012-07-18 16:07:18 -0600541 interrupts = <0 170 4>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600542 reg = <0xffd01000 0x1000>;
543 };
544
Dinh Nguyenc2ad2842013-02-11 17:30:30 -0600545 uart0: serial0@ffc02000 {
Dinh Nguyen66314222012-07-18 16:07:18 -0600546 compatible = "snps,dw-apb-uart";
547 reg = <0xffc02000 0x1000>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600548 interrupts = <0 162 4>;
549 reg-shift = <2>;
550 reg-io-width = <4>;
551 };
552
Dinh Nguyenc2ad2842013-02-11 17:30:30 -0600553 uart1: serial1@ffc03000 {
Dinh Nguyen66314222012-07-18 16:07:18 -0600554 compatible = "snps,dw-apb-uart";
555 reg = <0xffc03000 0x1000>;
Dinh Nguyen66314222012-07-18 16:07:18 -0600556 interrupts = <0 163 4>;
557 reg-shift = <2>;
558 reg-io-width = <4>;
559 };
Dinh Nguyen9c4566a2012-10-25 10:41:39 -0600560
561 rstmgr@ffd05000 {
Steffen Trumtrar7857d562013-10-07 10:44:07 -0500562 compatible = "altr,rst-mgr";
563 reg = <0xffd05000 0x1000>;
564 };
Dinh Nguyen9c4566a2012-10-25 10:41:39 -0600565
566 sysmgr@ffd08000 {
Dinh Nguyen9b931362014-02-17 20:31:02 -0600567 compatible = "altr,sys-mgr", "syscon";
568 reg = <0xffd08000 0x4000>;
569 };
Dinh Nguyen66314222012-07-18 16:07:18 -0600570 };
571};