]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.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 version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | ||
9 | / { | |
10 | compatible = "snps,arc"; | |
11 | #address-cells = <1>; | |
12 | #size-cells = <1>; | |
13 | chosen { }; | |
14 | aliases { }; | |
15 | ||
16 | cpus { | |
17 | #address-cells = <1>; | |
18 | #size-cells = <0>; | |
19 | ||
20 | cpu@0 { | |
21 | device_type = "cpu"; | |
22 | compatible = "snps,archs38"; | |
23 | reg = <0>; | |
24 | clocks = <&core_clk>; | |
25 | }; | |
26 | }; | |
27 | ||
28 | /* TIMER0 with interrupt for clockevent */ | |
29 | timer0 { | |
30 | compatible = "snps,arc-timer"; | |
31 | interrupts = <16>; | |
32 | interrupt-parent = <&core_intc>; | |
33 | clocks = <&core_clk>; | |
34 | }; | |
35 | ||
36 | /* 64-bit Local RTC: preferred clocksource for UP */ | |
37 | rtc { | |
38 | compatible = "snps,archs-timer-rtc"; | |
39 | clocks = <&core_clk>; | |
40 | }; | |
41 | ||
42 | /* TIMER1 for free running clocksource: Fallback if rtc not found */ | |
43 | timer1 { | |
44 | compatible = "snps,arc-timer"; | |
45 | clocks = <&core_clk>; | |
46 | }; | |
47 | ||
48 | memory { | |
49 | device_type = "memory"; | |
50 | reg = <0x80000000 0x10000000>; /* 256M */ | |
51 | }; | |
52 | }; |