Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 Linaro Ltd |
| 3 | * |
| 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 5 | * of this software and associated documentation files (the "Software"), to deal |
| 6 | * in the Software without restriction, including without limitation the rights |
| 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 8 | * copies of the Software, and to permit persons to whom the Software is |
| 9 | * furnished to do so, subject to the following conditions: |
| 10 | * |
| 11 | * The above copyright notice and this permission notice shall be included in |
| 12 | * all copies or substantial portions of the Software. |
| 13 | * |
| 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 20 | * THE SOFTWARE. |
| 21 | */ |
| 22 | |
| 23 | /dts-v1/; |
| 24 | #include <dt-bindings/interrupt-controller/irq.h> |
| 25 | #include <dt-bindings/gpio/gpio.h> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 26 | |
| 27 | / { |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 28 | #address-cells = <1>; |
| 29 | #size-cells = <1>; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 30 | model = "ARM RealView PB11MPcore"; |
| 31 | compatible = "arm,realview-pb11mp"; |
| 32 | |
| 33 | chosen { }; |
| 34 | |
| 35 | aliases { |
| 36 | serial0 = &pb11mp_serial0; |
| 37 | serial1 = &pb11mp_serial1; |
| 38 | serial2 = &pb11mp_serial2; |
| 39 | serial3 = &pb11mp_serial3; |
| 40 | }; |
| 41 | |
| 42 | memory { |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 43 | device_type = "memory"; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 44 | /* |
| 45 | * The PB11MPCore has 512 MiB memory @ 0x70000000 |
| 46 | * and the first 256 are also remapped @ 0x00000000 |
| 47 | */ |
| 48 | reg = <0x70000000 0x20000000>; |
| 49 | }; |
| 50 | |
| 51 | cpus { |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <0>; |
| 54 | enable-method = "arm,realview-smp"; |
| 55 | |
| 56 | MP11_0: cpu@0 { |
| 57 | device_type = "cpu"; |
| 58 | compatible = "arm,arm11mpcore"; |
| 59 | reg = <0>; |
| 60 | next-level-cache = <&L2>; |
| 61 | }; |
| 62 | |
| 63 | MP11_1: cpu@1 { |
| 64 | device_type = "cpu"; |
| 65 | compatible = "arm,arm11mpcore"; |
| 66 | reg = <1>; |
| 67 | next-level-cache = <&L2>; |
| 68 | }; |
| 69 | |
| 70 | MP11_2: cpu@2 { |
| 71 | device_type = "cpu"; |
| 72 | compatible = "arm,arm11mpcore"; |
| 73 | reg = <2>; |
| 74 | next-level-cache = <&L2>; |
| 75 | }; |
| 76 | |
| 77 | MP11_3: cpu@3 { |
| 78 | device_type = "cpu"; |
| 79 | compatible = "arm,arm11mpcore"; |
| 80 | reg = <3>; |
| 81 | next-level-cache = <&L2>; |
| 82 | }; |
| 83 | }; |
| 84 | |
| 85 | /* Primary TestChip GIC synthesized with the CPU */ |
| 86 | intc_tc11mp: interrupt-controller@1f000100 { |
| 87 | compatible = "arm,tc11mp-gic"; |
| 88 | #interrupt-cells = <3>; |
| 89 | #address-cells = <1>; |
| 90 | interrupt-controller; |
| 91 | reg = <0x1f001000 0x1000>, |
| 92 | <0x1f000100 0x100>; |
| 93 | }; |
| 94 | |
| 95 | L2: l2-cache { |
| 96 | compatible = "arm,l220-cache"; |
| 97 | reg = <0x1f002000 0x1000>; |
| 98 | interrupt-parent = <&intc_tc11mp>; |
| 99 | interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>, |
| 100 | <0 30 IRQ_TYPE_LEVEL_HIGH>, |
| 101 | <0 31 IRQ_TYPE_LEVEL_HIGH>; |
| 102 | cache-unified; |
| 103 | cache-level = <2>; |
| 104 | /* |
| 105 | * Override default cache size, sets and |
| 106 | * associativity as these may be erroneously set |
| 107 | * up by boot loader(s), probably for safety |
| 108 | * since th outer sync operation can cause the |
| 109 | * cache to hang unless disabled. |
| 110 | */ |
| 111 | cache-size = <1048576>; // 1MB |
| 112 | cache-sets = <4096>; |
| 113 | cache-line-size = <32>; |
| 114 | arm,shared-override; |
| 115 | arm,parity-enable; |
| 116 | arm,outer-sync-disable; |
| 117 | }; |
| 118 | |
| 119 | scu@1f000000 { |
| 120 | compatible = "arm,arm11mp-scu"; |
| 121 | reg = <0x1f000000 0x100>; |
| 122 | }; |
| 123 | |
| 124 | timer@1f000600 { |
| 125 | compatible = "arm,arm11mp-twd-timer"; |
| 126 | reg = <0x1f000600 0x20>; |
| 127 | interrupt-parent = <&intc_tc11mp>; |
| 128 | interrupts = <1 13 0xf04>; |
| 129 | }; |
| 130 | |
| 131 | watchdog@1f000620 { |
| 132 | compatible = "arm,arm11mp-twd-wdt"; |
| 133 | reg = <0x1f000620 0x20>; |
| 134 | interrupt-parent = <&intc_tc11mp>; |
| 135 | interrupts = <1 14 0xf04>; |
| 136 | }; |
| 137 | |
| 138 | /* PMU with one IRQ line per core */ |
| 139 | pmu { |
| 140 | compatible = "arm,arm11mpcore-pmu"; |
| 141 | interrupt-parent = <&intc_tc11mp>; |
| 142 | interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH>, |
| 143 | <0 18 IRQ_TYPE_LEVEL_HIGH>, |
| 144 | <0 19 IRQ_TYPE_LEVEL_HIGH>, |
| 145 | <0 20 IRQ_TYPE_LEVEL_HIGH>; |
| 146 | interrupt-affinity = <&MP11_0>, <&MP11_1>, <&MP11_2>, <&MP11_3>; |
| 147 | }; |
| 148 | |
| 149 | /* The voltage to the MMC card is hardwired at 3.3V */ |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 150 | vmmc: regulator-vmmc { |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 151 | compatible = "regulator-fixed"; |
| 152 | regulator-name = "vmmc"; |
| 153 | regulator-min-microvolt = <3300000>; |
| 154 | regulator-max-microvolt = <3300000>; |
| 155 | regulator-boot-on; |
| 156 | }; |
| 157 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 158 | veth: regulator-veth { |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 159 | compatible = "regulator-fixed"; |
| 160 | regulator-name = "veth"; |
| 161 | regulator-min-microvolt = <3300000>; |
| 162 | regulator-max-microvolt = <3300000>; |
| 163 | regulator-boot-on; |
| 164 | }; |
| 165 | |
| 166 | xtal24mhz: xtal24mhz@24M { |
| 167 | #clock-cells = <0>; |
| 168 | compatible = "fixed-clock"; |
| 169 | clock-frequency = <24000000>; |
| 170 | }; |
| 171 | |
| 172 | refclk32khz: refclk32khz { |
| 173 | compatible = "fixed-clock"; |
| 174 | #clock-cells = <0>; |
| 175 | clock-frequency = <32768>; |
| 176 | }; |
| 177 | |
| 178 | timclk: timclk@1M { |
| 179 | #clock-cells = <0>; |
| 180 | compatible = "fixed-factor-clock"; |
| 181 | clock-div = <24>; |
| 182 | clock-mult = <1>; |
| 183 | clocks = <&xtal24mhz>; |
| 184 | }; |
| 185 | |
| 186 | mclk: mclk@24M { |
| 187 | #clock-cells = <0>; |
| 188 | compatible = "fixed-factor-clock"; |
| 189 | clock-div = <1>; |
| 190 | clock-mult = <1>; |
| 191 | clocks = <&xtal24mhz>; |
| 192 | }; |
| 193 | |
| 194 | kmiclk: kmiclk@24M { |
| 195 | #clock-cells = <0>; |
| 196 | compatible = "fixed-factor-clock"; |
| 197 | clock-div = <1>; |
| 198 | clock-mult = <1>; |
| 199 | clocks = <&xtal24mhz>; |
| 200 | }; |
| 201 | |
| 202 | sspclk: sspclk@24M { |
| 203 | #clock-cells = <0>; |
| 204 | compatible = "fixed-factor-clock"; |
| 205 | clock-div = <1>; |
| 206 | clock-mult = <1>; |
| 207 | clocks = <&xtal24mhz>; |
| 208 | }; |
| 209 | |
| 210 | uartclk: uartclk@24M { |
| 211 | #clock-cells = <0>; |
| 212 | compatible = "fixed-factor-clock"; |
| 213 | clock-div = <1>; |
| 214 | clock-mult = <1>; |
| 215 | clocks = <&xtal24mhz>; |
| 216 | }; |
| 217 | |
| 218 | wdogclk: wdogclk@24M { |
| 219 | #clock-cells = <0>; |
| 220 | compatible = "fixed-factor-clock"; |
| 221 | clock-div = <1>; |
| 222 | clock-mult = <1>; |
| 223 | clocks = <&xtal24mhz>; |
| 224 | }; |
| 225 | |
| 226 | /* FIXME: this actually hangs off the PLL clocks */ |
| 227 | pclk: pclk@0 { |
| 228 | #clock-cells = <0>; |
| 229 | compatible = "fixed-clock"; |
| 230 | clock-frequency = <0>; |
| 231 | }; |
| 232 | |
| 233 | flash0@40000000 { |
| 234 | /* 2 * 32MiB NOR Flash memory */ |
| 235 | compatible = "arm,versatile-flash", "cfi-flash"; |
| 236 | reg = <0x40000000 0x04000000>; |
| 237 | bank-width = <4>; |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 238 | partitions { |
| 239 | compatible = "arm,arm-firmware-suite"; |
| 240 | }; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 241 | }; |
| 242 | |
| 243 | flash1@44000000 { |
| 244 | // 2 * 32MiB NOR Flash memory |
| 245 | compatible = "arm,versatile-flash", "cfi-flash"; |
| 246 | reg = <0x44000000 0x04000000>; |
| 247 | bank-width = <4>; |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 248 | partitions { |
| 249 | compatible = "arm,arm-firmware-suite"; |
| 250 | }; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 251 | }; |
| 252 | |
| 253 | bridge { |
| 254 | compatible = "ti,ths8134a", "ti,ths8134"; |
| 255 | #address-cells = <1>; |
| 256 | #size-cells = <0>; |
| 257 | |
| 258 | ports { |
| 259 | #address-cells = <1>; |
| 260 | #size-cells = <0>; |
| 261 | |
| 262 | port@0 { |
| 263 | reg = <0>; |
| 264 | |
| 265 | vga_bridge_in: endpoint { |
| 266 | remote-endpoint = <&clcd_pads>; |
| 267 | }; |
| 268 | }; |
| 269 | |
| 270 | port@1 { |
| 271 | reg = <1>; |
| 272 | |
| 273 | vga_bridge_out: endpoint { |
| 274 | remote-endpoint = <&vga_con_in>; |
| 275 | }; |
| 276 | }; |
| 277 | }; |
| 278 | }; |
| 279 | |
| 280 | vga { |
| 281 | /* |
| 282 | * This DDC I2C is connected directly to the DVI portions |
| 283 | * of the connector, so it's not really working when the |
| 284 | * monitor is connected to the VGA connector. |
| 285 | */ |
| 286 | compatible = "vga-connector"; |
| 287 | ddc-i2c-bus = <&i2c1>; |
| 288 | |
| 289 | port { |
| 290 | vga_con_in: endpoint { |
| 291 | remote-endpoint = <&vga_bridge_out>; |
| 292 | }; |
| 293 | }; |
| 294 | }; |
| 295 | |
| 296 | soc { |
| 297 | #address-cells = <1>; |
| 298 | #size-cells = <1>; |
| 299 | compatible = "arm,realview-pb11mp-soc", "simple-bus"; |
| 300 | regmap = <&pb11mp_syscon>; |
| 301 | ranges; |
| 302 | |
| 303 | pb11mp_syscon: syscon@10000000 { |
| 304 | compatible = "arm,realview-pb11mp-syscon", "syscon", "simple-mfd"; |
| 305 | reg = <0x10000000 0x1000>; |
| 306 | |
| 307 | led@08.0 { |
| 308 | compatible = "register-bit-led"; |
| 309 | offset = <0x08>; |
| 310 | mask = <0x01>; |
| 311 | label = "versatile:0"; |
| 312 | linux,default-trigger = "heartbeat"; |
| 313 | default-state = "on"; |
| 314 | }; |
| 315 | led@08.1 { |
| 316 | compatible = "register-bit-led"; |
| 317 | offset = <0x08>; |
| 318 | mask = <0x02>; |
| 319 | label = "versatile:1"; |
| 320 | linux,default-trigger = "mmc0"; |
| 321 | default-state = "off"; |
| 322 | }; |
| 323 | led@08.2 { |
| 324 | compatible = "register-bit-led"; |
| 325 | offset = <0x08>; |
| 326 | mask = <0x04>; |
| 327 | label = "versatile:2"; |
| 328 | linux,default-trigger = "cpu0"; |
| 329 | default-state = "off"; |
| 330 | }; |
| 331 | led@08.3 { |
| 332 | compatible = "register-bit-led"; |
| 333 | offset = <0x08>; |
| 334 | mask = <0x08>; |
| 335 | label = "versatile:3"; |
| 336 | linux,default-trigger = "cpu1"; |
| 337 | default-state = "off"; |
| 338 | }; |
| 339 | led@08.4 { |
| 340 | compatible = "register-bit-led"; |
| 341 | offset = <0x08>; |
| 342 | mask = <0x10>; |
| 343 | label = "versatile:4"; |
| 344 | linux,default-trigger = "cpu2"; |
| 345 | default-state = "off"; |
| 346 | }; |
| 347 | led@08.5 { |
| 348 | compatible = "register-bit-led"; |
| 349 | offset = <0x08>; |
| 350 | mask = <0x20>; |
| 351 | label = "versatile:5"; |
| 352 | linux,default-trigger = "cpu3"; |
| 353 | default-state = "off"; |
| 354 | }; |
| 355 | led@08.6 { |
| 356 | compatible = "register-bit-led"; |
| 357 | offset = <0x08>; |
| 358 | mask = <0x40>; |
| 359 | label = "versatile:6"; |
| 360 | default-state = "off"; |
| 361 | }; |
| 362 | led@08.7 { |
| 363 | compatible = "register-bit-led"; |
| 364 | offset = <0x08>; |
| 365 | mask = <0x80>; |
| 366 | label = "versatile:7"; |
| 367 | default-state = "off"; |
| 368 | }; |
| 369 | |
| 370 | oscclk0: osc0@0c { |
| 371 | compatible = "arm,syscon-icst307"; |
| 372 | #clock-cells = <0>; |
| 373 | lock-offset = <0x20>; |
| 374 | vco-offset = <0x0C>; |
| 375 | clocks = <&xtal24mhz>; |
| 376 | }; |
| 377 | oscclk1: osc1@10 { |
| 378 | compatible = "arm,syscon-icst307"; |
| 379 | #clock-cells = <0>; |
| 380 | lock-offset = <0x20>; |
| 381 | vco-offset = <0x10>; |
| 382 | clocks = <&xtal24mhz>; |
| 383 | }; |
| 384 | oscclk2: osc2@14 { |
| 385 | compatible = "arm,syscon-icst307"; |
| 386 | #clock-cells = <0>; |
| 387 | lock-offset = <0x20>; |
| 388 | vco-offset = <0x14>; |
| 389 | clocks = <&xtal24mhz>; |
| 390 | }; |
| 391 | oscclk3: osc3@18 { |
| 392 | compatible = "arm,syscon-icst307"; |
| 393 | #clock-cells = <0>; |
| 394 | lock-offset = <0x20>; |
| 395 | vco-offset = <0x18>; |
| 396 | clocks = <&xtal24mhz>; |
| 397 | }; |
| 398 | oscclk4: osc4@1c { |
| 399 | compatible = "arm,syscon-icst307"; |
| 400 | #clock-cells = <0>; |
| 401 | lock-offset = <0x20>; |
| 402 | vco-offset = <0x1c>; |
| 403 | clocks = <&xtal24mhz>; |
| 404 | }; |
| 405 | oscclk5: osc5@d4 { |
| 406 | compatible = "arm,syscon-icst307"; |
| 407 | #clock-cells = <0>; |
| 408 | lock-offset = <0x20>; |
| 409 | vco-offset = <0xd4>; |
| 410 | clocks = <&xtal24mhz>; |
| 411 | }; |
| 412 | oscclk6: osc6@d8 { |
| 413 | compatible = "arm,syscon-icst307"; |
| 414 | #clock-cells = <0>; |
| 415 | lock-offset = <0x20>; |
| 416 | vco-offset = <0xd8>; |
| 417 | clocks = <&xtal24mhz>; |
| 418 | }; |
| 419 | }; |
| 420 | |
| 421 | sp810_syscon: sysctl@10001000 { |
| 422 | compatible = "arm,sp810", "arm,primecell"; |
| 423 | reg = <0x10001000 0x1000>; |
| 424 | clocks = <&refclk32khz>, <&timclk>, <&xtal24mhz>; |
| 425 | clock-names = "refclk", "timclk", "apb_pclk"; |
| 426 | #clock-cells = <1>; |
| 427 | clock-output-names = "timerclk0", |
| 428 | "timerclk1", |
| 429 | "timerclk2", |
| 430 | "timerclk3"; |
| 431 | assigned-clocks = <&sp810_syscon 0>, |
| 432 | <&sp810_syscon 1>, |
| 433 | <&sp810_syscon 2>, |
| 434 | <&sp810_syscon 3>; |
| 435 | assigned-clock-parents = <&timclk>, |
| 436 | <&timclk>, |
| 437 | <&timclk>, |
| 438 | <&timclk>; |
| 439 | }; |
| 440 | |
| 441 | i2c0: i2c@10002000 { |
| 442 | #address-cells = <1>; |
| 443 | #size-cells = <0>; |
| 444 | compatible = "arm,versatile-i2c"; |
| 445 | reg = <0x10002000 0x1000>; |
| 446 | |
| 447 | rtc@68 { |
| 448 | compatible = "dallas,ds1338"; |
| 449 | reg = <0x68>; |
| 450 | }; |
| 451 | }; |
| 452 | |
| 453 | aaci: aaci@10004000 { |
| 454 | compatible = "arm,pl041", "arm,primecell"; |
| 455 | reg = <0x10004000 0x1000>; |
| 456 | interrupt-parent = <&intc_tc11mp>; |
| 457 | interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>; |
| 458 | clocks = <&pclk>; |
| 459 | clock-names = "apb_pclk"; |
| 460 | }; |
| 461 | |
| 462 | mci: mmcsd@10005000 { |
| 463 | compatible = "arm,pl18x", "arm,primecell"; |
| 464 | reg = <0x10005000 0x1000>; |
| 465 | interrupt-parent = <&intc_tc11mp>; |
| 466 | interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>, |
| 467 | <0 15 IRQ_TYPE_LEVEL_HIGH>; |
| 468 | /* Due to frequent FIFO overruns, use just 500 kHz */ |
| 469 | max-frequency = <500000>; |
| 470 | bus-width = <4>; |
| 471 | cap-sd-highspeed; |
| 472 | cap-mmc-highspeed; |
| 473 | clocks = <&mclk>, <&pclk>; |
| 474 | clock-names = "mclk", "apb_pclk"; |
| 475 | vmmc-supply = <&vmmc>; |
| 476 | cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
| 477 | wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; |
| 478 | }; |
| 479 | |
| 480 | kmi0: kmi@10006000 { |
| 481 | compatible = "arm,pl050", "arm,primecell"; |
| 482 | reg = <0x10006000 0x1000>; |
| 483 | interrupt-parent = <&intc_tc11mp>; |
| 484 | interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; |
| 485 | clocks = <&kmiclk>, <&pclk>; |
| 486 | clock-names = "KMIREFCLK", "apb_pclk"; |
| 487 | }; |
| 488 | |
| 489 | kmi1: kmi@10007000 { |
| 490 | compatible = "arm,pl050", "arm,primecell"; |
| 491 | reg = <0x10007000 0x1000>; |
| 492 | interrupt-parent = <&intc_tc11mp>; |
| 493 | interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; |
| 494 | clocks = <&kmiclk>, <&pclk>; |
| 495 | clock-names = "KMIREFCLK", "apb_pclk"; |
| 496 | }; |
| 497 | |
| 498 | pb11mp_serial0: serial@10009000 { |
| 499 | compatible = "arm,pl011", "arm,primecell"; |
| 500 | reg = <0x10009000 0x1000>; |
| 501 | interrupt-parent = <&intc_tc11mp>; |
| 502 | interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; |
| 503 | clocks = <&uartclk>, <&pclk>; |
| 504 | clock-names = "uartclk", "apb_pclk"; |
| 505 | }; |
| 506 | |
| 507 | pb11mp_serial1: serial@1000a000 { |
| 508 | compatible = "arm,pl011", "arm,primecell"; |
| 509 | reg = <0x1000a000 0x1000>; |
| 510 | interrupt-parent = <&intc_tc11mp>; |
| 511 | interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; |
| 512 | clocks = <&uartclk>, <&pclk>; |
| 513 | clock-names = "uartclk", "apb_pclk"; |
| 514 | }; |
| 515 | |
| 516 | pb11mp_serial2: serial@1000b000 { |
| 517 | compatible = "arm,pl011", "arm,primecell"; |
| 518 | reg = <0x1000b000 0x1000>; |
| 519 | interrupt-parent = <&intc_pb11mp>; |
| 520 | interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>; |
| 521 | clocks = <&uartclk>, <&pclk>; |
| 522 | clock-names = "uartclk", "apb_pclk"; |
| 523 | }; |
| 524 | |
| 525 | pb11mp_serial3: serial@1000c000 { |
| 526 | compatible = "arm,pl011", "arm,primecell"; |
| 527 | reg = <0x1000c000 0x1000>; |
| 528 | interrupt-parent = <&intc_pb11mp>; |
| 529 | interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>; |
| 530 | clocks = <&uartclk>, <&pclk>; |
| 531 | clock-names = "uartclk", "apb_pclk"; |
| 532 | }; |
| 533 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 534 | spi@1000d000 { |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 535 | compatible = "arm,pl022", "arm,primecell"; |
| 536 | reg = <0x1000d000 0x1000>; |
| 537 | interrupt-parent = <&intc_pb11mp>; |
| 538 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; |
| 539 | clocks = <&sspclk>, <&pclk>; |
| 540 | clock-names = "SSPCLK", "apb_pclk"; |
| 541 | }; |
| 542 | |
| 543 | watchdog@1000f000 { |
| 544 | compatible = "arm,sp805", "arm,primecell"; |
| 545 | reg = <0x1000f000 0x1000>; |
| 546 | interrupt-parent = <&intc_pb11mp>; |
| 547 | interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>; |
| 548 | clocks = <&wdogclk>, <&pclk>; |
| 549 | clock-names = "wdogclk", "apb_pclk"; |
| 550 | status = "disabled"; |
| 551 | }; |
| 552 | |
| 553 | watchdog@10010000 { |
| 554 | compatible = "arm,sp805", "arm,primecell"; |
| 555 | reg = <0x10010000 0x1000>; |
| 556 | interrupt-parent = <&intc_pb11mp>; |
| 557 | interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>; |
| 558 | clocks = <&wdogclk>, <&pclk>; |
| 559 | clock-names = "wdogclk", "apb_pclk"; |
| 560 | }; |
| 561 | |
| 562 | timer01: timer@10011000 { |
| 563 | compatible = "arm,sp804", "arm,primecell"; |
| 564 | reg = <0x10011000 0x1000>; |
| 565 | interrupt-parent = <&intc_tc11mp>; |
| 566 | interrupts = <0 1 IRQ_TYPE_LEVEL_HIGH>; |
| 567 | arm,sp804-has-irq = <1>; |
| 568 | clocks = <&sp810_syscon 0>, |
| 569 | <&sp810_syscon 1>, |
| 570 | <&pclk>; |
| 571 | clock-names = "timerclk0", |
| 572 | "timerclk1", |
| 573 | "apb_pclk"; |
| 574 | }; |
| 575 | |
| 576 | timer23: timer@10012000 { |
| 577 | compatible = "arm,sp804", "arm,primecell"; |
| 578 | reg = <0x10012000 0x1000>; |
| 579 | interrupt-parent = <&intc_tc11mp>; |
| 580 | interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>; |
| 581 | arm,sp804-has-irq = <1>; |
| 582 | clocks = <&sp810_syscon 2>, |
| 583 | <&sp810_syscon 3>, |
| 584 | <&pclk>; |
| 585 | clock-names = "timerclk2", |
| 586 | "timerclk3", |
| 587 | "apb_pclk"; |
| 588 | }; |
| 589 | |
| 590 | gpio0: gpio@10013000 { |
| 591 | compatible = "arm,pl061", "arm,primecell"; |
| 592 | reg = <0x10013000 0x1000>; |
| 593 | gpio-controller; |
| 594 | interrupt-parent = <&intc_pb11mp>; |
| 595 | interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; |
| 596 | #gpio-cells = <2>; |
| 597 | interrupt-controller; |
| 598 | #interrupt-cells = <2>; |
| 599 | clocks = <&pclk>; |
| 600 | clock-names = "apb_pclk"; |
| 601 | }; |
| 602 | |
| 603 | gpio1: gpio@10014000 { |
| 604 | compatible = "arm,pl061", "arm,primecell"; |
| 605 | reg = <0x10014000 0x1000>; |
| 606 | gpio-controller; |
| 607 | interrupt-parent = <&intc_pb11mp>; |
| 608 | interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; |
| 609 | #gpio-cells = <2>; |
| 610 | interrupt-controller; |
| 611 | #interrupt-cells = <2>; |
| 612 | clocks = <&pclk>; |
| 613 | clock-names = "apb_pclk"; |
| 614 | }; |
| 615 | |
| 616 | gpio2: gpio@10015000 { |
| 617 | compatible = "arm,pl061", "arm,primecell"; |
| 618 | reg = <0x10015000 0x1000>; |
| 619 | gpio-controller; |
| 620 | interrupt-parent = <&intc_pb11mp>; |
| 621 | interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; |
| 622 | #gpio-cells = <2>; |
| 623 | interrupt-controller; |
| 624 | #interrupt-cells = <2>; |
| 625 | clocks = <&pclk>; |
| 626 | clock-names = "apb_pclk"; |
| 627 | }; |
| 628 | |
| 629 | i2c1: i2c@10016000 { |
| 630 | #address-cells = <1>; |
| 631 | #size-cells = <0>; |
| 632 | compatible = "arm,versatile-i2c"; |
| 633 | reg = <0x10016000 0x1000>; |
| 634 | }; |
| 635 | |
| 636 | rtc: rtc@10017000 { |
| 637 | compatible = "arm,pl031", "arm,primecell"; |
| 638 | reg = <0x10017000 0x1000>; |
| 639 | interrupt-parent = <&intc_tc11mp>; |
| 640 | interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; |
| 641 | clocks = <&pclk>; |
| 642 | clock-names = "apb_pclk"; |
| 643 | }; |
| 644 | |
| 645 | timer45: timer@10018000 { |
| 646 | compatible = "arm,sp804", "arm,primecell"; |
| 647 | reg = <0x10018000 0x1000>; |
| 648 | clocks = <&timclk>, <&pclk>; |
| 649 | clock-names = "timer", "apb_pclk"; |
| 650 | status = "disabled"; |
| 651 | }; |
| 652 | |
| 653 | timer67: timer@10019000 { |
| 654 | compatible = "arm,sp804", "arm,primecell"; |
| 655 | reg = <0x10019000 0x1000>; |
| 656 | clocks = <&timclk>, <&pclk>; |
| 657 | clock-names = "timer", "apb_pclk"; |
| 658 | status = "disabled"; |
| 659 | }; |
| 660 | |
| 661 | |
| 662 | clcd@10020000 { |
| 663 | compatible = "arm,pl111", "arm,primecell"; |
| 664 | reg = <0x10020000 0x1000>; |
| 665 | interrupt-parent = <&intc_pb11mp>; |
| 666 | interrupt-names = "combined"; |
| 667 | interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; |
| 668 | clocks = <&oscclk4>, <&pclk>; |
| 669 | clock-names = "clcdclk", "apb_pclk"; |
| 670 | /* 1024x768 16bpp @65MHz works fine */ |
| 671 | max-memory-bandwidth = <95000000>; |
| 672 | |
| 673 | port { |
| 674 | clcd_pads: endpoint { |
| 675 | remote-endpoint = <&vga_bridge_in>; |
| 676 | arm,pl11x,tft-r0g0b0-pads = <0 8 16>; |
| 677 | }; |
| 678 | }; |
| 679 | }; |
| 680 | |
| 681 | /* |
| 682 | * This GIC on the Platform Baseboard is cascaded off the |
| 683 | * TestChip GIC |
| 684 | */ |
| 685 | intc_pb11mp: interrupt-controller@1e000000 { |
| 686 | compatible = "arm,arm11mp-gic"; |
| 687 | #interrupt-cells = <3>; |
| 688 | #address-cells = <1>; |
| 689 | interrupt-controller; |
| 690 | reg = <0x1e001000 0x1000>, |
| 691 | <0x1e000000 0x100>; |
| 692 | interrupt-parent = <&intc_tc11mp>; |
| 693 | interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; |
| 694 | }; |
| 695 | |
| 696 | /* SMSC 9118 ethernet with PHY and EEPROM */ |
| 697 | ethernet@4e000000 { |
| 698 | compatible = "smsc,lan9118", "smsc,lan9115"; |
| 699 | reg = <0x4e000000 0x10000>; |
| 700 | interrupt-parent = <&intc_tc11mp>; |
| 701 | interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; |
| 702 | phy-mode = "mii"; |
| 703 | reg-io-width = <4>; |
| 704 | smsc,irq-active-high; |
| 705 | smsc,irq-push-pull; |
| 706 | vdd33a-supply = <&veth>; |
| 707 | vddvario-supply = <&veth>; |
| 708 | }; |
| 709 | |
| 710 | usb@4f000000 { |
| 711 | compatible = "nxp,usb-isp1761"; |
| 712 | reg = <0x4f000000 0x20000>; |
| 713 | interrupt-parent = <&intc_tc11mp>; |
| 714 | interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; |
| 715 | port1-otg; |
| 716 | }; |
| 717 | }; |
| 718 | }; |