2 * Copyright 2015 Linaro Ltd
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:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
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
24 #include <dt-bindings/interrupt-controller/irq.h>
25 #include <dt-bindings/gpio/gpio.h>
26 #include "skeleton.dtsi"
29 model = "ARM RealView PB11MPcore";
30 compatible = "arm,realview-pb11mp";
35 serial0 = &pb11mp_serial0;
36 serial1 = &pb11mp_serial1;
37 serial2 = &pb11mp_serial2;
38 serial3 = &pb11mp_serial3;
43 * The PB11MPCore has 512 MiB memory @ 0x70000000
44 * and the first 256 are also remapped @ 0x00000000
46 reg = <0x70000000 0x20000000>;
52 enable-method = "arm,realview-smp";
56 compatible = "arm,arm11mpcore";
58 next-level-cache = <&L2>;
63 compatible = "arm,arm11mpcore";
65 next-level-cache = <&L2>;
70 compatible = "arm,arm11mpcore";
72 next-level-cache = <&L2>;
77 compatible = "arm,arm11mpcore";
79 next-level-cache = <&L2>;
83 /* Primary TestChip GIC synthesized with the CPU */
84 intc_tc11mp: interrupt-controller@1f000100 {
85 compatible = "arm,tc11mp-gic";
86 #interrupt-cells = <3>;
89 reg = <0x1f001000 0x1000>,
94 compatible = "arm,l220-cache";
95 reg = <0x1f002000 0x1000>;
96 interrupt-parent = <&intc_tc11mp>;
97 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>,
98 <0 30 IRQ_TYPE_LEVEL_HIGH>,
99 <0 31 IRQ_TYPE_LEVEL_HIGH>;
105 compatible = "arm,arm11mp-scu";
106 reg = <0x1f000000 0x100>;
110 compatible = "arm,arm11mp-twd-timer";
111 reg = <0x1f000600 0x20>;
112 interrupt-parent = <&intc_tc11mp>;
113 interrupts = <1 13 0xf04>;
117 compatible = "arm,arm11mp-twd-wdt";
118 reg = <0x1f000620 0x20>;
119 interrupt-parent = <&intc_tc11mp>;
120 interrupts = <1 14 0xf04>;
123 /* PMU with one IRQ line per core */
125 compatible = "arm,arm11mpcore-pmu";
126 interrupt-parent = <&intc_tc11mp>;
127 interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH>,
128 <0 18 IRQ_TYPE_LEVEL_HIGH>,
129 <0 19 IRQ_TYPE_LEVEL_HIGH>,
130 <0 20 IRQ_TYPE_LEVEL_HIGH>;
131 interrupt-affinity = <&MP11_0>, <&MP11_1>, <&MP11_2>, <&MP11_3>;
134 /* The voltage to the MMC card is hardwired at 3.3V */
135 vmmc: fixedregulator@0 {
136 compatible = "regulator-fixed";
137 regulator-name = "vmmc";
138 regulator-min-microvolt = <3300000>;
139 regulator-max-microvolt = <3300000>;
143 veth: fixedregulator@0 {
144 compatible = "regulator-fixed";
145 regulator-name = "veth";
146 regulator-min-microvolt = <3300000>;
147 regulator-max-microvolt = <3300000>;
151 xtal24mhz: xtal24mhz@24M {
153 compatible = "fixed-clock";
154 clock-frequency = <24000000>;
157 refclk32khz: refclk32khz {
158 compatible = "fixed-clock";
160 clock-frequency = <32768>;
165 compatible = "fixed-factor-clock";
168 clocks = <&xtal24mhz>;
173 compatible = "fixed-factor-clock";
176 clocks = <&xtal24mhz>;
181 compatible = "fixed-factor-clock";
184 clocks = <&xtal24mhz>;
189 compatible = "fixed-factor-clock";
192 clocks = <&xtal24mhz>;
195 uartclk: uartclk@24M {
197 compatible = "fixed-factor-clock";
200 clocks = <&xtal24mhz>;
203 wdogclk: wdogclk@24M {
205 compatible = "fixed-factor-clock";
208 clocks = <&xtal24mhz>;
211 /* FIXME: this actually hangs off the PLL clocks */
214 compatible = "fixed-clock";
215 clock-frequency = <0>;
219 /* 2 * 32MiB NOR Flash memory */
220 compatible = "arm,vexpress-flash", "cfi-flash";
221 reg = <0x40000000 0x04000000>;
226 // 2 * 32MiB NOR Flash memory
227 compatible = "arm,vexpress-flash", "cfi-flash";
228 reg = <0x44000000 0x04000000>;
233 #address-cells = <1>;
235 compatible = "arm,realview-pb11mp-soc", "simple-bus";
236 regmap = <&pb11mp_syscon>;
239 pb11mp_syscon: syscon@10000000 {
240 compatible = "arm,realview-pb11mp-syscon", "syscon", "simple-mfd";
241 reg = <0x10000000 0x1000>;
244 compatible = "register-bit-led";
247 label = "versatile:0";
248 linux,default-trigger = "heartbeat";
249 default-state = "on";
252 compatible = "register-bit-led";
255 label = "versatile:1";
256 linux,default-trigger = "mmc0";
257 default-state = "off";
260 compatible = "register-bit-led";
263 label = "versatile:2";
264 linux,default-trigger = "cpu0";
265 default-state = "off";
268 compatible = "register-bit-led";
271 label = "versatile:3";
272 linux,default-trigger = "cpu1";
273 default-state = "off";
276 compatible = "register-bit-led";
279 label = "versatile:4";
280 linux,default-trigger = "cpu2";
281 default-state = "off";
284 compatible = "register-bit-led";
287 label = "versatile:5";
288 linux,default-trigger = "cpu3";
289 default-state = "off";
292 compatible = "register-bit-led";
295 label = "versatile:6";
296 default-state = "off";
299 compatible = "register-bit-led";
302 label = "versatile:7";
303 default-state = "off";
307 compatible = "arm,syscon-icst307";
309 lock-offset = <0x20>;
311 clocks = <&xtal24mhz>;
314 compatible = "arm,syscon-icst307";
316 lock-offset = <0x20>;
318 clocks = <&xtal24mhz>;
321 compatible = "arm,syscon-icst307";
323 lock-offset = <0x20>;
325 clocks = <&xtal24mhz>;
328 compatible = "arm,syscon-icst307";
330 lock-offset = <0x20>;
332 clocks = <&xtal24mhz>;
335 compatible = "arm,syscon-icst307";
337 lock-offset = <0x20>;
339 clocks = <&xtal24mhz>;
342 compatible = "arm,syscon-icst307";
344 lock-offset = <0x20>;
346 clocks = <&xtal24mhz>;
349 compatible = "arm,syscon-icst307";
351 lock-offset = <0x20>;
353 clocks = <&xtal24mhz>;
357 sp810_syscon: sysctl@10001000 {
358 compatible = "arm,sp810", "arm,primecell";
359 reg = <0x10001000 0x1000>;
360 clocks = <&refclk32khz>, <&timclk>, <&xtal24mhz>;
361 clock-names = "refclk", "timclk", "apb_pclk";
363 clock-output-names = "timerclk0",
367 assigned-clocks = <&sp810_syscon 0>,
371 assigned-clock-parents = <&timclk>,
378 #address-cells = <1>;
380 compatible = "arm,versatile-i2c";
381 reg = <0x10002000 0x1000>;
384 compatible = "dallas,ds1338";
389 aaci: aaci@10004000 {
390 compatible = "arm,pl041", "arm,primecell";
391 reg = <0x10004000 0x1000>;
392 interrupt-parent = <&intc_tc11mp>;
393 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
395 clock-names = "apb_pclk";
398 mci: mmcsd@10005000 {
399 compatible = "arm,pl18x", "arm,primecell";
400 reg = <0x10005000 0x1000>;
401 interrupt-parent = <&intc_tc11mp>;
402 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>,
403 <0 15 IRQ_TYPE_LEVEL_HIGH>;
404 /* Due to frequent FIFO overruns, use just 500 kHz */
405 max-frequency = <500000>;
409 clocks = <&mclk>, <&pclk>;
410 clock-names = "mclk", "apb_pclk";
411 vmmc-supply = <&vmmc>;
412 cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
413 wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
417 compatible = "arm,pl050", "arm,primecell";
418 reg = <0x10006000 0x1000>;
419 interrupt-parent = <&intc_tc11mp>;
420 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
421 clocks = <&kmiclk>, <&pclk>;
422 clock-names = "KMIREFCLK", "apb_pclk";
426 compatible = "arm,pl050", "arm,primecell";
427 reg = <0x10007000 0x1000>;
428 interrupt-parent = <&intc_tc11mp>;
429 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&kmiclk>, <&pclk>;
431 clock-names = "KMIREFCLK", "apb_pclk";
434 pb11mp_serial0: serial@10009000 {
435 compatible = "arm,pl011", "arm,primecell";
436 reg = <0x10009000 0x1000>;
437 interrupt-parent = <&intc_tc11mp>;
438 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
439 clocks = <&uartclk>, <&pclk>;
440 clock-names = "uartclk", "apb_pclk";
443 pb11mp_serial1: serial@1000a000 {
444 compatible = "arm,pl011", "arm,primecell";
445 reg = <0x1000a000 0x1000>;
446 interrupt-parent = <&intc_tc11mp>;
447 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
448 clocks = <&uartclk>, <&pclk>;
449 clock-names = "uartclk", "apb_pclk";
452 pb11mp_serial2: serial@1000b000 {
453 compatible = "arm,pl011", "arm,primecell";
454 reg = <0x1000b000 0x1000>;
455 interrupt-parent = <&intc_pb11mp>;
456 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
457 clocks = <&uartclk>, <&pclk>;
458 clock-names = "uartclk", "apb_pclk";
461 pb11mp_serial3: serial@1000c000 {
462 compatible = "arm,pl011", "arm,primecell";
463 reg = <0x1000c000 0x1000>;
464 interrupt-parent = <&intc_pb11mp>;
465 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
466 clocks = <&uartclk>, <&pclk>;
467 clock-names = "uartclk", "apb_pclk";
471 compatible = "arm,pl022", "arm,primecell";
472 reg = <0x1000d000 0x1000>;
473 interrupt-parent = <&intc_pb11mp>;
474 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
475 clocks = <&sspclk>, <&pclk>;
476 clock-names = "SSPCLK", "apb_pclk";
480 compatible = "arm,sp805", "arm,primecell";
481 reg = <0x1000f000 0x1000>;
482 interrupt-parent = <&intc_pb11mp>;
483 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
484 clocks = <&wdogclk>, <&pclk>;
485 clock-names = "wdogclk", "apb_pclk";
490 compatible = "arm,sp805", "arm,primecell";
491 reg = <0x10010000 0x1000>;
492 interrupt-parent = <&intc_pb11mp>;
493 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
494 clocks = <&wdogclk>, <&pclk>;
495 clock-names = "wdogclk", "apb_pclk";
498 timer01: timer@10011000 {
499 compatible = "arm,sp804", "arm,primecell";
500 reg = <0x10011000 0x1000>;
501 interrupt-parent = <&intc_tc11mp>;
502 interrupts = <0 1 IRQ_TYPE_LEVEL_HIGH>;
503 arm,sp804-has-irq = <1>;
504 clocks = <&sp810_syscon 0>,
507 clock-names = "timerclk0",
512 timer23: timer@10012000 {
513 compatible = "arm,sp804", "arm,primecell";
514 reg = <0x10012000 0x1000>;
515 interrupt-parent = <&intc_tc11mp>;
516 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
517 arm,sp804-has-irq = <1>;
518 clocks = <&sp810_syscon 2>,
521 clock-names = "timerclk2",
526 gpio0: gpio@10013000 {
527 compatible = "arm,pl061", "arm,primecell";
528 reg = <0x10013000 0x1000>;
530 interrupt-parent = <&intc_pb11mp>;
531 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
533 interrupt-controller;
534 #interrupt-cells = <2>;
536 clock-names = "apb_pclk";
539 gpio1: gpio@10014000 {
540 compatible = "arm,pl061", "arm,primecell";
541 reg = <0x10014000 0x1000>;
543 interrupt-parent = <&intc_pb11mp>;
544 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
546 interrupt-controller;
547 #interrupt-cells = <2>;
549 clock-names = "apb_pclk";
552 gpio2: gpio@10015000 {
553 compatible = "arm,pl061", "arm,primecell";
554 reg = <0x10015000 0x1000>;
556 interrupt-parent = <&intc_pb11mp>;
557 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
559 interrupt-controller;
560 #interrupt-cells = <2>;
562 clock-names = "apb_pclk";
566 compatible = "arm,pl031", "arm,primecell";
567 reg = <0x10017000 0x1000>;
568 interrupt-parent = <&intc_tc11mp>;
569 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
571 clock-names = "apb_pclk";
574 timer45: timer@10018000 {
575 compatible = "arm,sp804", "arm,primecell";
576 reg = <0x10018000 0x1000>;
577 clocks = <&timclk>, <&pclk>;
578 clock-names = "timer", "apb_pclk";
582 timer67: timer@10019000 {
583 compatible = "arm,sp804", "arm,primecell";
584 reg = <0x10019000 0x1000>;
585 clocks = <&timclk>, <&pclk>;
586 clock-names = "timer", "apb_pclk";
592 compatible = "arm,pl111", "arm,primecell";
593 reg = <0x10020000 0x1000>;
594 interrupt-parent = <&intc_pb11mp>;
595 interrupt-names = "combined";
596 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
597 clocks = <&oscclk4>, <&pclk>;
598 clock-names = "clcdclk", "apb_pclk";
599 max-memory-bandwidth = <130000000>; /* 16bpp @ 63.5MHz */
602 clcd_pads: endpoint {
603 remote-endpoint = <&clcd_panel>;
604 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
609 compatible = "panel-dpi";
612 clcd_panel: endpoint {
613 remote-endpoint = <&clcd_pads>;
618 clock-frequency = <63500127>;
632 * This GIC on the Platform Baseboard is cascaded off the
635 intc_pb11mp: interrupt-controller@1e000000 {
636 compatible = "arm,arm11mp-gic";
637 #interrupt-cells = <3>;
638 #address-cells = <1>;
639 interrupt-controller;
640 reg = <0x1e001000 0x1000>,
642 interrupt-parent = <&intc_tc11mp>;
643 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
646 /* SMSC 9118 ethernet with PHY and EEPROM */
648 compatible = "smsc,lan9118", "smsc,lan9115";
649 reg = <0x4e000000 0x10000>;
650 interrupt-parent = <&intc_tc11mp>;
651 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
654 smsc,irq-active-high;
656 vdd33a-supply = <&veth>;
657 vddvario-supply = <&veth>;
661 compatible = "nxp,usb-isp1761";
662 reg = <0x4f000000 0x20000>;
663 interrupt-parent = <&intc_tc11mp>;
664 interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>;