Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 1 | /* |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 2 | * Copyright 2011-2012 Calxeda, Inc. |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify it |
| 5 | * under the terms and conditions of the GNU General Public License, |
| 6 | * version 2, as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope it will be useful, but WITHOUT |
| 9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 11 | * more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License along with |
| 14 | * this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ |
| 16 | |
| 17 | /dts-v1/; |
| 18 | |
| 19 | /* First 4KB has pen for secondary cores. */ |
| 20 | /memreserve/ 0x00000000 0x0001000; |
| 21 | |
| 22 | / { |
| 23 | model = "Calxeda Highbank"; |
| 24 | compatible = "calxeda,highbank"; |
| 25 | #address-cells = <1>; |
| 26 | #size-cells = <1>; |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 27 | clock-ranges; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 28 | |
| 29 | cpus { |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <0>; |
| 32 | |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 33 | cpu@900 { |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 34 | compatible = "arm,cortex-a9"; |
Rob Herring | 36ff67b | 2012-12-30 10:15:02 -0600 | [diff] [blame] | 35 | device_type = "cpu"; |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 36 | reg = <0x900>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 37 | next-level-cache = <&L2>; |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 38 | clocks = <&a9pll>; |
| 39 | clock-names = "cpu"; |
Mark Langsdorf | 6754f55 | 2013-01-28 16:13:15 +0000 | [diff] [blame] | 40 | operating-points = < |
| 41 | /* kHz ignored */ |
| 42 | 1300000 1000000 |
| 43 | 1200000 1000000 |
| 44 | 1100000 1000000 |
| 45 | 800000 1000000 |
| 46 | 400000 1000000 |
| 47 | 200000 1000000 |
| 48 | >; |
| 49 | clock-latency = <100000>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 50 | }; |
| 51 | |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 52 | cpu@901 { |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 53 | compatible = "arm,cortex-a9"; |
Rob Herring | 36ff67b | 2012-12-30 10:15:02 -0600 | [diff] [blame] | 54 | device_type = "cpu"; |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 55 | reg = <0x901>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 56 | next-level-cache = <&L2>; |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 57 | clocks = <&a9pll>; |
| 58 | clock-names = "cpu"; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 59 | }; |
| 60 | |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 61 | cpu@902 { |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 62 | compatible = "arm,cortex-a9"; |
Rob Herring | 36ff67b | 2012-12-30 10:15:02 -0600 | [diff] [blame] | 63 | device_type = "cpu"; |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 64 | reg = <0x902>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 65 | next-level-cache = <&L2>; |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 66 | clocks = <&a9pll>; |
| 67 | clock-names = "cpu"; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 68 | }; |
| 69 | |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 70 | cpu@903 { |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 71 | compatible = "arm,cortex-a9"; |
Rob Herring | 36ff67b | 2012-12-30 10:15:02 -0600 | [diff] [blame] | 72 | device_type = "cpu"; |
Rob Herring | 3943dee | 2012-12-30 10:15:03 -0600 | [diff] [blame] | 73 | reg = <0x903>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 74 | next-level-cache = <&L2>; |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 75 | clocks = <&a9pll>; |
| 76 | clock-names = "cpu"; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 77 | }; |
| 78 | }; |
| 79 | |
| 80 | memory { |
| 81 | name = "memory"; |
| 82 | device_type = "memory"; |
| 83 | reg = <0x00000000 0xff900000>; |
| 84 | }; |
| 85 | |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 86 | soc { |
Rob Herring | 7d6ab9b | 2012-10-25 11:59:09 -0500 | [diff] [blame] | 87 | ranges = <0x00000000 0x00000000 0xffffffff>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 88 | |
Rob Herring | 982ac2a | 2013-07-23 14:04:44 -0500 | [diff] [blame] | 89 | memory-controller@fff00000 { |
| 90 | compatible = "calxeda,hb-ddr-ctrl"; |
| 91 | reg = <0xfff00000 0x1000>; |
| 92 | interrupts = <0 91 4>; |
| 93 | }; |
| 94 | |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 95 | timer@fff10600 { |
Marc Zyngier | 7ac9b9e | 2012-01-10 19:44:19 +0000 | [diff] [blame] | 96 | compatible = "arm,cortex-a9-twd-timer"; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 97 | reg = <0xfff10600 0x20>; |
Marc Zyngier | 7ac9b9e | 2012-01-10 19:44:19 +0000 | [diff] [blame] | 98 | interrupts = <1 13 0xf01>; |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 99 | clocks = <&a9periphclk>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 100 | }; |
| 101 | |
| 102 | watchdog@fff10620 { |
Marc Zyngier | 7ac9b9e | 2012-01-10 19:44:19 +0000 | [diff] [blame] | 103 | compatible = "arm,cortex-a9-twd-wdt"; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 104 | reg = <0xfff10620 0x20>; |
Marc Zyngier | 7ac9b9e | 2012-01-10 19:44:19 +0000 | [diff] [blame] | 105 | interrupts = <1 14 0xf01>; |
Rob Herring | 8d4d9f5 | 2012-03-13 18:19:19 -0500 | [diff] [blame] | 106 | clocks = <&a9periphclk>; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | intc: interrupt-controller@fff11000 { |
| 110 | compatible = "arm,cortex-a9-gic"; |
| 111 | #interrupt-cells = <3>; |
| 112 | #size-cells = <0>; |
| 113 | #address-cells = <1>; |
| 114 | interrupt-controller; |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 115 | reg = <0xfff11000 0x1000>, |
| 116 | <0xfff10100 0x100>; |
| 117 | }; |
| 118 | |
| 119 | L2: l2-cache { |
| 120 | compatible = "arm,pl310-cache"; |
| 121 | reg = <0xfff12000 0x1000>; |
| 122 | interrupts = <0 70 4>; |
| 123 | cache-unified; |
| 124 | cache-level = <2>; |
| 125 | }; |
| 126 | |
| 127 | pmu { |
| 128 | compatible = "arm,cortex-a9-pmu"; |
| 129 | interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; |
| 130 | }; |
| 131 | |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 132 | |
Rob Herring | 69154d0 | 2012-06-11 21:32:14 -0500 | [diff] [blame] | 133 | sregs@fff3c200 { |
| 134 | compatible = "calxeda,hb-sregs-l2-ecc"; |
| 135 | reg = <0xfff3c200 0x100>; |
| 136 | interrupts = <0 71 4 0 72 4>; |
| 137 | }; |
| 138 | |
Rob Herring | 253d7ad | 2011-08-10 15:22:11 -0500 | [diff] [blame] | 139 | }; |
| 140 | }; |
Rob Herring | 7d6ab9b | 2012-10-25 11:59:09 -0500 | [diff] [blame] | 141 | |
| 142 | /include/ "ecx-common.dtsi" |