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>
30 model = "ARM RealView PB11MPcore";
31 compatible = "arm,realview-pb11mp";
36 serial0 = &pb11mp_serial0;
37 serial1 = &pb11mp_serial1;
38 serial2 = &pb11mp_serial2;
39 serial3 = &pb11mp_serial3;
43 device_type = "memory";
45 * The PB11MPCore has 512 MiB memory @ 0x70000000
46 * and the first 256 are also remapped @ 0x00000000
48 reg = <0x70000000 0x20000000>;
54 enable-method = "arm,realview-smp";
58 compatible = "arm,arm11mpcore";
60 next-level-cache = <&L2>;
65 compatible = "arm,arm11mpcore";
67 next-level-cache = <&L2>;
72 compatible = "arm,arm11mpcore";
74 next-level-cache = <&L2>;
79 compatible = "arm,arm11mpcore";
81 next-level-cache = <&L2>;
85 /* Primary TestChip GIC synthesized with the CPU */
86 intc_tc11mp: interrupt-controller@1f000100 {
87 compatible = "arm,tc11mp-gic";
88 #interrupt-cells = <3>;
91 reg = <0x1f001000 0x1000>,
95 L2: cache-controller {
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>;
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.
111 cache-size = <1048576>; // 1MB
113 cache-line-size = <32>;
116 arm,outer-sync-disable;
120 compatible = "arm,arm11mp-scu";
121 reg = <0x1f000000 0x100>;
125 compatible = "arm,arm11mp-twd-timer";
126 reg = <0x1f000600 0x20>;
127 interrupt-parent = <&intc_tc11mp>;
128 interrupts = <1 13 0xf04>;
132 compatible = "arm,arm11mp-twd-wdt";
133 reg = <0x1f000620 0x20>;
134 interrupt-parent = <&intc_tc11mp>;
135 interrupts = <1 14 0xf04>;
138 /* PMU with one IRQ line per core */
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>;
149 /* The voltage to the MMC card is hardwired at 3.3V */
150 vmmc: regulator-vmmc {
151 compatible = "regulator-fixed";
152 regulator-name = "vmmc";
153 regulator-min-microvolt = <3300000>;
154 regulator-max-microvolt = <3300000>;
158 veth: regulator-veth {
159 compatible = "regulator-fixed";
160 regulator-name = "veth";
161 regulator-min-microvolt = <3300000>;
162 regulator-max-microvolt = <3300000>;
166 xtal24mhz: xtal24mhz@24M {
168 compatible = "fixed-clock";
169 clock-frequency = <24000000>;
172 refclk32khz: refclk32khz {
173 compatible = "fixed-clock";
175 clock-frequency = <32768>;
180 compatible = "fixed-factor-clock";
183 clocks = <&xtal24mhz>;
188 compatible = "fixed-factor-clock";
191 clocks = <&xtal24mhz>;
196 compatible = "fixed-factor-clock";
199 clocks = <&xtal24mhz>;
204 compatible = "fixed-factor-clock";
207 clocks = <&xtal24mhz>;
210 uartclk: uartclk@24M {
212 compatible = "fixed-factor-clock";
215 clocks = <&xtal24mhz>;
218 wdogclk: wdogclk@24M {
220 compatible = "fixed-factor-clock";
223 clocks = <&xtal24mhz>;
226 /* FIXME: this actually hangs off the PLL clocks */
229 compatible = "fixed-clock";
230 clock-frequency = <0>;
234 /* 2 * 32MiB NOR Flash memory */
235 compatible = "arm,versatile-flash", "cfi-flash";
236 reg = <0x40000000 0x04000000>;
239 compatible = "arm,arm-firmware-suite";
244 // 2 * 32MiB NOR Flash memory
245 compatible = "arm,versatile-flash", "cfi-flash";
246 reg = <0x44000000 0x04000000>;
249 compatible = "arm,arm-firmware-suite";
254 compatible = "ti,ths8134a", "ti,ths8134";
255 #address-cells = <1>;
259 #address-cells = <1>;
265 vga_bridge_in: endpoint {
266 remote-endpoint = <&clcd_pads>;
273 vga_bridge_out: endpoint {
274 remote-endpoint = <&vga_con_in>;
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.
286 compatible = "vga-connector";
287 ddc-i2c-bus = <&i2c1>;
290 vga_con_in: endpoint {
291 remote-endpoint = <&vga_bridge_out>;
297 #address-cells = <1>;
299 compatible = "arm,realview-pb11mp-soc", "simple-bus";
300 regmap = <&pb11mp_syscon>;
303 pb11mp_syscon: syscon@10000000 {
304 compatible = "arm,realview-pb11mp-syscon", "syscon", "simple-mfd";
305 reg = <0x10000000 0x1000>;
308 compatible = "register-bit-led";
311 label = "versatile:0";
312 linux,default-trigger = "heartbeat";
313 default-state = "on";
316 compatible = "register-bit-led";
319 label = "versatile:1";
320 linux,default-trigger = "mmc0";
321 default-state = "off";
324 compatible = "register-bit-led";
327 label = "versatile:2";
328 linux,default-trigger = "cpu0";
329 default-state = "off";
332 compatible = "register-bit-led";
335 label = "versatile:3";
336 linux,default-trigger = "cpu1";
337 default-state = "off";
340 compatible = "register-bit-led";
343 label = "versatile:4";
344 linux,default-trigger = "cpu2";
345 default-state = "off";
348 compatible = "register-bit-led";
351 label = "versatile:5";
352 linux,default-trigger = "cpu3";
353 default-state = "off";
356 compatible = "register-bit-led";
359 label = "versatile:6";
360 default-state = "off";
363 compatible = "register-bit-led";
366 label = "versatile:7";
367 default-state = "off";
371 compatible = "arm,syscon-icst307";
373 lock-offset = <0x20>;
375 clocks = <&xtal24mhz>;
378 compatible = "arm,syscon-icst307";
380 lock-offset = <0x20>;
382 clocks = <&xtal24mhz>;
385 compatible = "arm,syscon-icst307";
387 lock-offset = <0x20>;
389 clocks = <&xtal24mhz>;
392 compatible = "arm,syscon-icst307";
394 lock-offset = <0x20>;
396 clocks = <&xtal24mhz>;
399 compatible = "arm,syscon-icst307";
401 lock-offset = <0x20>;
403 clocks = <&xtal24mhz>;
406 compatible = "arm,syscon-icst307";
408 lock-offset = <0x20>;
410 clocks = <&xtal24mhz>;
413 compatible = "arm,syscon-icst307";
415 lock-offset = <0x20>;
417 clocks = <&xtal24mhz>;
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";
427 clock-output-names = "timerclk0",
431 assigned-clocks = <&sp810_syscon 0>,
435 assigned-clock-parents = <&timclk>,
442 #address-cells = <1>;
444 compatible = "arm,versatile-i2c";
445 reg = <0x10002000 0x1000>;
448 compatible = "dallas,ds1338";
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>;
459 clock-names = "apb_pclk";
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>;
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>;
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";
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";
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";
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";
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";
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";
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";
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 = "wdog_clk", "apb_pclk";
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 = "wdog_clk", "apb_pclk";
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>,
571 clock-names = "timer0clk",
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>,
585 clock-names = "timer0clk",
590 gpio0: gpio@10013000 {
591 compatible = "arm,pl061", "arm,primecell";
592 reg = <0x10013000 0x1000>;
594 interrupt-parent = <&intc_pb11mp>;
595 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
597 interrupt-controller;
598 #interrupt-cells = <2>;
600 clock-names = "apb_pclk";
603 gpio1: gpio@10014000 {
604 compatible = "arm,pl061", "arm,primecell";
605 reg = <0x10014000 0x1000>;
607 interrupt-parent = <&intc_pb11mp>;
608 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
610 interrupt-controller;
611 #interrupt-cells = <2>;
613 clock-names = "apb_pclk";
616 gpio2: gpio@10015000 {
617 compatible = "arm,pl061", "arm,primecell";
618 reg = <0x10015000 0x1000>;
620 interrupt-parent = <&intc_pb11mp>;
621 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
623 interrupt-controller;
624 #interrupt-cells = <2>;
626 clock-names = "apb_pclk";
630 #address-cells = <1>;
632 compatible = "arm,versatile-i2c";
633 reg = <0x10016000 0x1000>;
637 compatible = "arm,pl031", "arm,primecell";
638 reg = <0x10017000 0x1000>;
639 interrupt-parent = <&intc_tc11mp>;
640 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
642 clock-names = "apb_pclk";
645 timer45: timer@10018000 {
646 compatible = "arm,sp804", "arm,primecell";
647 reg = <0x10018000 0x1000>;
648 clocks = <&timclk>, <&timclk>, <&pclk>;
649 clock-names = "timer0clk", "timer1clk", "apb_pclk";
653 timer67: timer@10019000 {
654 compatible = "arm,sp804", "arm,primecell";
655 reg = <0x10019000 0x1000>;
656 clocks = <&timclk>, <&timclk>, <&pclk>;
657 clock-names = "timer0clk", "timer1clk", "apb_pclk";
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>;
674 clcd_pads: endpoint {
675 remote-endpoint = <&vga_bridge_in>;
676 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
682 * This GIC on the Platform Baseboard is cascaded off the
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>,
692 interrupt-parent = <&intc_tc11mp>;
693 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
696 /* SMSC 9118 ethernet with PHY and EEPROM */
698 compatible = "smsc,lan9118", "smsc,lan9115";
699 reg = <0x4e000000 0x10000>;
700 interrupt-parent = <&intc_tc11mp>;
701 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
704 smsc,irq-active-high;
706 vdd33a-supply = <&veth>;
707 vddvario-supply = <&veth>;
711 compatible = "nxp,usb-isp1761";
712 reg = <0x4f000000 0x20000>;
713 interrupt-parent = <&intc_tc11mp>;
714 interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>;