Vineet Gupta | 999159a | 2013-01-22 17:00:52 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 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 | * Skeleton device tree; the bare minimum needed to boot; just include and |
| 11 | * add a compatible value. |
| 12 | */ |
| 13 | |
| 14 | / { |
| 15 | compatible = "snps,arc"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | chosen { }; |
| 19 | aliases { }; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 20 | |
| 21 | cpus { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | |
| 25 | cpu@0 { |
| 26 | device_type = "cpu"; |
| 27 | compatible = "snps,arc770d"; |
| 28 | reg = <0>; |
Vlad Zakharov | 854c11e | 2017-03-03 14:30:00 +0300 | [diff] [blame] | 29 | clocks = <&core_clk>; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 30 | }; |
| 31 | }; |
| 32 | |
Vineet Gupta | 7ec9f34 | 2016-01-01 18:48:40 +0530 | [diff] [blame] | 33 | /* TIMER0 with interrupt for clockevent */ |
| 34 | timer0 { |
| 35 | compatible = "snps,arc-timer"; |
| 36 | interrupts = <3>; |
| 37 | interrupt-parent = <&core_intc>; |
| 38 | clocks = <&core_clk>; |
| 39 | }; |
| 40 | |
| 41 | /* TIMER1 for free running clocksource */ |
| 42 | timer1 { |
| 43 | compatible = "snps,arc-timer"; |
| 44 | clocks = <&core_clk>; |
| 45 | }; |
| 46 | |
Vineet Gupta | 450dd43 | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 47 | memory { |
| 48 | device_type = "memory"; |
Vineet Gupta | f759ee5 | 2015-01-23 18:10:26 +0530 | [diff] [blame] | 49 | reg = <0x80000000 0x10000000>; /* 256M */ |
Vineet Gupta | 450dd43 | 2013-01-18 15:12:20 +0530 | [diff] [blame] | 50 | }; |
Vineet Gupta | 999159a | 2013-01-22 17:00:52 +0530 | [diff] [blame] | 51 | }; |