Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 1 | /* |
| 2 | * ARM Ltd. Versatile Express |
| 3 | * |
| 4 | * CoreTile Express A15x2 A7x3 |
| 5 | * Cortex-A15_A7 MPCore (V2P-CA15_A7) |
| 6 | * |
| 7 | * HBI-0249A |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
| 12 | / { |
| 13 | model = "V2P-CA15_CA7"; |
| 14 | arm,hbi = <0x249>; |
Pawel Moll | 842839a | 2012-09-17 16:43:30 +0100 | [diff] [blame] | 15 | arm,vexpress,site = <0xf>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 16 | compatible = "arm,vexpress,v2p-ca15_a7", "arm,vexpress"; |
| 17 | interrupt-parent = <&gic>; |
| 18 | #address-cells = <2>; |
| 19 | #size-cells = <2>; |
| 20 | |
| 21 | chosen { }; |
| 22 | |
| 23 | aliases { |
| 24 | serial0 = &v2m_serial0; |
| 25 | serial1 = &v2m_serial1; |
| 26 | serial2 = &v2m_serial2; |
| 27 | serial3 = &v2m_serial3; |
| 28 | i2c0 = &v2m_i2c_dvi; |
| 29 | i2c1 = &v2m_i2c_pcie; |
| 30 | }; |
| 31 | |
| 32 | cpus { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
| 35 | |
| 36 | cpu0: cpu@0 { |
| 37 | device_type = "cpu"; |
| 38 | compatible = "arm,cortex-a15"; |
| 39 | reg = <0>; |
Jon Medhurst (Tixy) | a2bdc32 | 2013-08-30 15:26:00 +0100 | [diff] [blame^] | 40 | cci-control-port = <&cci_control1>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | cpu1: cpu@1 { |
| 44 | device_type = "cpu"; |
| 45 | compatible = "arm,cortex-a15"; |
| 46 | reg = <1>; |
Jon Medhurst (Tixy) | a2bdc32 | 2013-08-30 15:26:00 +0100 | [diff] [blame^] | 47 | cci-control-port = <&cci_control1>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 48 | }; |
| 49 | |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 50 | cpu2: cpu@2 { |
| 51 | device_type = "cpu"; |
| 52 | compatible = "arm,cortex-a7"; |
| 53 | reg = <0x100>; |
Jon Medhurst (Tixy) | a2bdc32 | 2013-08-30 15:26:00 +0100 | [diff] [blame^] | 54 | cci-control-port = <&cci_control2>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | cpu3: cpu@3 { |
| 58 | device_type = "cpu"; |
| 59 | compatible = "arm,cortex-a7"; |
| 60 | reg = <0x101>; |
Jon Medhurst (Tixy) | a2bdc32 | 2013-08-30 15:26:00 +0100 | [diff] [blame^] | 61 | cci-control-port = <&cci_control2>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 62 | }; |
| 63 | |
| 64 | cpu4: cpu@4 { |
| 65 | device_type = "cpu"; |
| 66 | compatible = "arm,cortex-a7"; |
| 67 | reg = <0x102>; |
Jon Medhurst (Tixy) | a2bdc32 | 2013-08-30 15:26:00 +0100 | [diff] [blame^] | 68 | cci-control-port = <&cci_control2>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 69 | }; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 70 | }; |
| 71 | |
| 72 | memory@80000000 { |
| 73 | device_type = "memory"; |
| 74 | reg = <0 0x80000000 0 0x40000000>; |
| 75 | }; |
| 76 | |
| 77 | wdt@2a490000 { |
| 78 | compatible = "arm,sp805", "arm,primecell"; |
| 79 | reg = <0 0x2a490000 0 0x1000>; |
Mark Rutland | aab7da7 | 2012-12-17 17:04:50 +0000 | [diff] [blame] | 80 | interrupts = <0 98 4>; |
Pawel Moll | 842839a | 2012-09-17 16:43:30 +0100 | [diff] [blame] | 81 | clocks = <&oscclk6a>, <&oscclk6a>; |
| 82 | clock-names = "wdogclk", "apb_pclk"; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | hdlcd@2b000000 { |
| 86 | compatible = "arm,hdlcd"; |
| 87 | reg = <0 0x2b000000 0 0x1000>; |
| 88 | interrupts = <0 85 4>; |
Pawel Moll | 842839a | 2012-09-17 16:43:30 +0100 | [diff] [blame] | 89 | clocks = <&oscclk5>; |
| 90 | clock-names = "pxlclk"; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | memory-controller@2b0a0000 { |
| 94 | compatible = "arm,pl341", "arm,primecell"; |
| 95 | reg = <0 0x2b0a0000 0 0x1000>; |
Pawel Moll | 842839a | 2012-09-17 16:43:30 +0100 | [diff] [blame] | 96 | clocks = <&oscclk6a>; |
| 97 | clock-names = "apb_pclk"; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 98 | }; |
| 99 | |
| 100 | gic: interrupt-controller@2c001000 { |
| 101 | compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; |
| 102 | #interrupt-cells = <3>; |
| 103 | #address-cells = <0>; |
| 104 | interrupt-controller; |
| 105 | reg = <0 0x2c001000 0 0x1000>, |
| 106 | <0 0x2c002000 0 0x1000>, |
| 107 | <0 0x2c004000 0 0x2000>, |
| 108 | <0 0x2c006000 0 0x2000>; |
| 109 | interrupts = <1 9 0xf04>; |
| 110 | }; |
| 111 | |
Jon Medhurst (Tixy) | a2bdc32 | 2013-08-30 15:26:00 +0100 | [diff] [blame^] | 112 | cci@2c090000 { |
| 113 | compatible = "arm,cci-400"; |
| 114 | #address-cells = <1>; |
| 115 | #size-cells = <1>; |
| 116 | reg = <0 0x2c090000 0 0x1000>; |
| 117 | ranges = <0x0 0x0 0x2c090000 0x10000>; |
| 118 | |
| 119 | cci_control1: slave-if@4000 { |
| 120 | compatible = "arm,cci-400-ctrl-if"; |
| 121 | interface-type = "ace"; |
| 122 | reg = <0x4000 0x1000>; |
| 123 | }; |
| 124 | |
| 125 | cci_control2: slave-if@5000 { |
| 126 | compatible = "arm,cci-400-ctrl-if"; |
| 127 | interface-type = "ace"; |
| 128 | reg = <0x5000 0x1000>; |
| 129 | }; |
| 130 | }; |
| 131 | |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 132 | memory-controller@7ffd0000 { |
| 133 | compatible = "arm,pl354", "arm,primecell"; |
| 134 | reg = <0 0x7ffd0000 0 0x1000>; |
| 135 | interrupts = <0 86 4>, |
| 136 | <0 87 4>; |
Pawel Moll | 842839a | 2012-09-17 16:43:30 +0100 | [diff] [blame] | 137 | clocks = <&oscclk6a>; |
| 138 | clock-names = "apb_pclk"; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 139 | }; |
| 140 | |
| 141 | dma@7ff00000 { |
| 142 | compatible = "arm,pl330", "arm,primecell"; |
| 143 | reg = <0 0x7ff00000 0 0x1000>; |
| 144 | interrupts = <0 92 4>, |
| 145 | <0 88 4>, |
| 146 | <0 89 4>, |
| 147 | <0 90 4>, |
| 148 | <0 91 4>; |
Pawel Moll | 842839a | 2012-09-17 16:43:30 +0100 | [diff] [blame] | 149 | clocks = <&oscclk6a>; |
| 150 | clock-names = "apb_pclk"; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 151 | }; |
| 152 | |
| 153 | timer { |
| 154 | compatible = "arm,armv7-timer"; |
| 155 | interrupts = <1 13 0xf08>, |
| 156 | <1 14 0xf08>, |
| 157 | <1 11 0xf08>, |
| 158 | <1 10 0xf08>; |
| 159 | }; |
| 160 | |
| 161 | pmu { |
Pawel Moll | 7e16063 | 2013-04-09 14:03:51 +0100 | [diff] [blame] | 162 | compatible = "arm,cortex-a15-pmu"; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 163 | interrupts = <0 68 4>, |
| 164 | <0 69 4>; |
| 165 | }; |
| 166 | |
Pawel Moll | 842839a | 2012-09-17 16:43:30 +0100 | [diff] [blame] | 167 | oscclk6a: oscclk6a { |
| 168 | /* Reference 24MHz clock */ |
| 169 | compatible = "fixed-clock"; |
| 170 | #clock-cells = <0>; |
| 171 | clock-frequency = <24000000>; |
| 172 | clock-output-names = "oscclk6a"; |
| 173 | }; |
| 174 | |
| 175 | dcc { |
| 176 | compatible = "arm,vexpress,config-bus"; |
| 177 | arm,vexpress,config-bridge = <&v2m_sysreg>; |
| 178 | |
| 179 | osc@0 { |
| 180 | /* A15 PLL 0 reference clock */ |
| 181 | compatible = "arm,vexpress-osc"; |
| 182 | arm,vexpress-sysreg,func = <1 0>; |
| 183 | freq-range = <17000000 50000000>; |
| 184 | #clock-cells = <0>; |
| 185 | clock-output-names = "oscclk0"; |
| 186 | }; |
| 187 | |
| 188 | osc@1 { |
| 189 | /* A15 PLL 1 reference clock */ |
| 190 | compatible = "arm,vexpress-osc"; |
| 191 | arm,vexpress-sysreg,func = <1 1>; |
| 192 | freq-range = <17000000 50000000>; |
| 193 | #clock-cells = <0>; |
| 194 | clock-output-names = "oscclk1"; |
| 195 | }; |
| 196 | |
| 197 | osc@2 { |
| 198 | /* A7 PLL 0 reference clock */ |
| 199 | compatible = "arm,vexpress-osc"; |
| 200 | arm,vexpress-sysreg,func = <1 2>; |
| 201 | freq-range = <17000000 50000000>; |
| 202 | #clock-cells = <0>; |
| 203 | clock-output-names = "oscclk2"; |
| 204 | }; |
| 205 | |
| 206 | osc@3 { |
| 207 | /* A7 PLL 1 reference clock */ |
| 208 | compatible = "arm,vexpress-osc"; |
| 209 | arm,vexpress-sysreg,func = <1 3>; |
| 210 | freq-range = <17000000 50000000>; |
| 211 | #clock-cells = <0>; |
| 212 | clock-output-names = "oscclk3"; |
| 213 | }; |
| 214 | |
| 215 | osc@4 { |
| 216 | /* External AXI master clock */ |
| 217 | compatible = "arm,vexpress-osc"; |
| 218 | arm,vexpress-sysreg,func = <1 4>; |
| 219 | freq-range = <20000000 40000000>; |
| 220 | #clock-cells = <0>; |
| 221 | clock-output-names = "oscclk4"; |
| 222 | }; |
| 223 | |
| 224 | oscclk5: osc@5 { |
| 225 | /* HDLCD PLL reference clock */ |
| 226 | compatible = "arm,vexpress-osc"; |
| 227 | arm,vexpress-sysreg,func = <1 5>; |
| 228 | freq-range = <23750000 165000000>; |
| 229 | #clock-cells = <0>; |
| 230 | clock-output-names = "oscclk5"; |
| 231 | }; |
| 232 | |
| 233 | smbclk: osc@6 { |
| 234 | /* Static memory controller clock */ |
| 235 | compatible = "arm,vexpress-osc"; |
| 236 | arm,vexpress-sysreg,func = <1 6>; |
| 237 | freq-range = <20000000 40000000>; |
| 238 | #clock-cells = <0>; |
| 239 | clock-output-names = "oscclk6"; |
| 240 | }; |
| 241 | |
| 242 | osc@7 { |
| 243 | /* SYS PLL reference clock */ |
| 244 | compatible = "arm,vexpress-osc"; |
| 245 | arm,vexpress-sysreg,func = <1 7>; |
| 246 | freq-range = <17000000 50000000>; |
| 247 | #clock-cells = <0>; |
| 248 | clock-output-names = "oscclk7"; |
| 249 | }; |
| 250 | |
| 251 | osc@8 { |
| 252 | /* DDR2 PLL reference clock */ |
| 253 | compatible = "arm,vexpress-osc"; |
| 254 | arm,vexpress-sysreg,func = <1 8>; |
| 255 | freq-range = <20000000 50000000>; |
| 256 | #clock-cells = <0>; |
| 257 | clock-output-names = "oscclk8"; |
| 258 | }; |
| 259 | |
| 260 | volt@0 { |
| 261 | /* A15 CPU core voltage */ |
| 262 | compatible = "arm,vexpress-volt"; |
| 263 | arm,vexpress-sysreg,func = <2 0>; |
| 264 | regulator-name = "A15 Vcore"; |
| 265 | regulator-min-microvolt = <800000>; |
| 266 | regulator-max-microvolt = <1050000>; |
| 267 | regulator-always-on; |
| 268 | label = "A15 Vcore"; |
| 269 | }; |
| 270 | |
| 271 | volt@1 { |
| 272 | /* A7 CPU core voltage */ |
| 273 | compatible = "arm,vexpress-volt"; |
| 274 | arm,vexpress-sysreg,func = <2 1>; |
| 275 | regulator-name = "A7 Vcore"; |
| 276 | regulator-min-microvolt = <800000>; |
| 277 | regulator-max-microvolt = <1050000>; |
| 278 | regulator-always-on; |
| 279 | label = "A7 Vcore"; |
| 280 | }; |
| 281 | |
| 282 | amp@0 { |
| 283 | /* Total current for the two A15 cores */ |
| 284 | compatible = "arm,vexpress-amp"; |
| 285 | arm,vexpress-sysreg,func = <3 0>; |
| 286 | label = "A15 Icore"; |
| 287 | }; |
| 288 | |
| 289 | amp@1 { |
| 290 | /* Total current for the three A7 cores */ |
| 291 | compatible = "arm,vexpress-amp"; |
| 292 | arm,vexpress-sysreg,func = <3 1>; |
| 293 | label = "A7 Icore"; |
| 294 | }; |
| 295 | |
| 296 | temp@0 { |
| 297 | /* DCC internal temperature */ |
| 298 | compatible = "arm,vexpress-temp"; |
| 299 | arm,vexpress-sysreg,func = <4 0>; |
| 300 | label = "DCC"; |
| 301 | }; |
| 302 | |
| 303 | power@0 { |
| 304 | /* Total power for the two A15 cores */ |
| 305 | compatible = "arm,vexpress-power"; |
| 306 | arm,vexpress-sysreg,func = <12 0>; |
| 307 | label = "A15 Pcore"; |
| 308 | }; |
| 309 | power@1 { |
| 310 | /* Total power for the three A7 cores */ |
| 311 | compatible = "arm,vexpress-power"; |
| 312 | arm,vexpress-sysreg,func = <12 1>; |
| 313 | label = "A7 Pcore"; |
| 314 | }; |
| 315 | |
| 316 | energy@0 { |
| 317 | /* Total energy for the two A15 cores */ |
| 318 | compatible = "arm,vexpress-energy"; |
| 319 | arm,vexpress-sysreg,func = <13 0>; |
| 320 | label = "A15 Jcore"; |
| 321 | }; |
| 322 | |
| 323 | energy@2 { |
| 324 | /* Total energy for the three A7 cores */ |
| 325 | compatible = "arm,vexpress-energy"; |
| 326 | arm,vexpress-sysreg,func = <13 2>; |
| 327 | label = "A7 Jcore"; |
| 328 | }; |
| 329 | }; |
| 330 | |
Pawel Moll | 433683a | 2012-10-16 15:27:12 +0100 | [diff] [blame] | 331 | smb { |
| 332 | compatible = "simple-bus"; |
| 333 | |
| 334 | #address-cells = <2>; |
| 335 | #size-cells = <1>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 336 | ranges = <0 0 0 0x08000000 0x04000000>, |
| 337 | <1 0 0 0x14000000 0x04000000>, |
| 338 | <2 0 0 0x18000000 0x04000000>, |
| 339 | <3 0 0 0x1c000000 0x04000000>, |
| 340 | <4 0 0 0x0c000000 0x04000000>, |
| 341 | <5 0 0 0x10000000 0x04000000>; |
| 342 | |
Pawel Moll | 433683a | 2012-10-16 15:27:12 +0100 | [diff] [blame] | 343 | #interrupt-cells = <1>; |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 344 | interrupt-map-mask = <0 0 63>; |
| 345 | interrupt-map = <0 0 0 &gic 0 0 4>, |
| 346 | <0 0 1 &gic 0 1 4>, |
| 347 | <0 0 2 &gic 0 2 4>, |
| 348 | <0 0 3 &gic 0 3 4>, |
| 349 | <0 0 4 &gic 0 4 4>, |
| 350 | <0 0 5 &gic 0 5 4>, |
| 351 | <0 0 6 &gic 0 6 4>, |
| 352 | <0 0 7 &gic 0 7 4>, |
| 353 | <0 0 8 &gic 0 8 4>, |
| 354 | <0 0 9 &gic 0 9 4>, |
| 355 | <0 0 10 &gic 0 10 4>, |
| 356 | <0 0 11 &gic 0 11 4>, |
| 357 | <0 0 12 &gic 0 12 4>, |
| 358 | <0 0 13 &gic 0 13 4>, |
| 359 | <0 0 14 &gic 0 14 4>, |
| 360 | <0 0 15 &gic 0 15 4>, |
| 361 | <0 0 16 &gic 0 16 4>, |
| 362 | <0 0 17 &gic 0 17 4>, |
| 363 | <0 0 18 &gic 0 18 4>, |
| 364 | <0 0 19 &gic 0 19 4>, |
| 365 | <0 0 20 &gic 0 20 4>, |
| 366 | <0 0 21 &gic 0 21 4>, |
| 367 | <0 0 22 &gic 0 22 4>, |
| 368 | <0 0 23 &gic 0 23 4>, |
| 369 | <0 0 24 &gic 0 24 4>, |
| 370 | <0 0 25 &gic 0 25 4>, |
| 371 | <0 0 26 &gic 0 26 4>, |
| 372 | <0 0 27 &gic 0 27 4>, |
| 373 | <0 0 28 &gic 0 28 4>, |
| 374 | <0 0 29 &gic 0 29 4>, |
| 375 | <0 0 30 &gic 0 30 4>, |
| 376 | <0 0 31 &gic 0 31 4>, |
| 377 | <0 0 32 &gic 0 32 4>, |
| 378 | <0 0 33 &gic 0 33 4>, |
| 379 | <0 0 34 &gic 0 34 4>, |
| 380 | <0 0 35 &gic 0 35 4>, |
| 381 | <0 0 36 &gic 0 36 4>, |
| 382 | <0 0 37 &gic 0 37 4>, |
| 383 | <0 0 38 &gic 0 38 4>, |
| 384 | <0 0 39 &gic 0 39 4>, |
| 385 | <0 0 40 &gic 0 40 4>, |
| 386 | <0 0 41 &gic 0 41 4>, |
| 387 | <0 0 42 &gic 0 42 4>; |
Pawel Moll | 433683a | 2012-10-16 15:27:12 +0100 | [diff] [blame] | 388 | |
| 389 | /include/ "vexpress-v2m-rs1.dtsi" |
Pawel Moll | 375faa9 | 2012-07-10 18:07:46 +0100 | [diff] [blame] | 390 | }; |
| 391 | }; |