2 * Copyright 2016 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
23 #include <dt-bindings/interrupt-controller/irq.h>
24 #include <dt-bindings/gpio/gpio.h>
29 compatible = "arm,realview-pbx";
43 device_type = "memory";
44 /* 128 MiB memory @ 0x0 */
45 reg = <0x00000000 0x08000000>;
48 /* The voltage to the MMC card is hardwired at 3.3V */
49 vmmc: regulator-vmmc {
50 compatible = "regulator-fixed";
51 regulator-name = "vmmc";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
57 veth: regulator-veth {
58 compatible = "regulator-fixed";
59 regulator-name = "veth";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
65 xtal24mhz: xtal24mhz@24M {
67 compatible = "fixed-clock";
68 clock-frequency = <24000000>;
71 refclk32khz: refclk32khz {
73 compatible = "fixed-clock";
74 clock-frequency = <32768>;
79 compatible = "fixed-factor-clock";
82 clocks = <&xtal24mhz>;
87 compatible = "fixed-factor-clock";
90 clocks = <&xtal24mhz>;
95 compatible = "fixed-factor-clock";
98 clocks = <&xtal24mhz>;
103 compatible = "fixed-factor-clock";
106 clocks = <&xtal24mhz>;
109 uartclk: uartclk@24M {
111 compatible = "fixed-factor-clock";
114 clocks = <&xtal24mhz>;
117 wdogclk: wdogclk@24M {
119 compatible = "fixed-factor-clock";
122 clocks = <&xtal24mhz>;
125 /* FIXME: this actually hangs off the PLL clocks */
128 compatible = "fixed-clock";
129 clock-frequency = <0>;
133 /* 2 * 32MiB NOR Flash memory */
134 compatible = "arm,versatile-flash", "cfi-flash";
135 reg = <0x40000000 0x04000000>;
138 compatible = "arm,arm-firmware-suite";
143 /* 2 * 32MiB NOR Flash memory */
144 compatible = "arm,versatile-flash", "cfi-flash";
145 reg = <0x44000000 0x04000000>;
148 compatible = "arm,arm-firmware-suite";
152 /* SMSC 9118 ethernet with PHY and EEPROM */
153 ethernet: ethernet@4e000000 {
154 compatible = "smsc,lan9118", "smsc,lan9115";
155 reg = <0x4e000000 0x10000>;
158 smsc,irq-active-high;
160 vdd33a-supply = <&veth>;
161 vddvario-supply = <&veth>;
165 compatible = "nxp,usb-isp1761";
166 reg = <0x4f000000 0x20000>;
171 compatible = "ti,ths8134a", "ti,ths8134";
172 #address-cells = <1>;
176 #address-cells = <1>;
182 vga_bridge_in: endpoint {
183 remote-endpoint = <&clcd_pads>;
190 vga_bridge_out: endpoint {
191 remote-endpoint = <&vga_con_in>;
199 * This DDC I2C is connected directly to the DVI portions
200 * of the connector, so it's not really working when the
201 * monitor is connected to the VGA connector.
203 compatible = "vga-connector";
204 ddc-i2c-bus = <&i2c1>;
207 vga_con_in: endpoint {
208 remote-endpoint = <&vga_bridge_out>;
214 compatible = "arm,realview-pbx-soc", "simple-bus";
215 #address-cells = <1>;
220 syscon: syscon@10000000 {
221 compatible = "arm,realview-pbx-syscon", "syscon", "simple-mfd";
222 reg = <0x10000000 0x1000>;
225 compatible = "register-bit-led";
228 label = "versatile:0";
229 linux,default-trigger = "heartbeat";
230 default-state = "on";
233 compatible = "register-bit-led";
236 label = "versatile:1";
237 linux,default-trigger = "mmc0";
238 default-state = "off";
241 compatible = "register-bit-led";
244 label = "versatile:2";
245 linux,default-trigger = "cpu0";
246 default-state = "off";
249 compatible = "register-bit-led";
252 label = "versatile:3";
253 default-state = "off";
256 compatible = "register-bit-led";
259 label = "versatile:4";
260 default-state = "off";
263 compatible = "register-bit-led";
266 label = "versatile:5";
267 default-state = "off";
270 compatible = "register-bit-led";
273 label = "versatile:6";
274 default-state = "off";
277 compatible = "register-bit-led";
280 label = "versatile:7";
281 default-state = "off";
284 compatible = "arm,syscon-icst307";
286 lock-offset = <0x20>;
288 clocks = <&xtal24mhz>;
291 compatible = "arm,syscon-icst307";
293 lock-offset = <0x20>;
295 clocks = <&xtal24mhz>;
298 compatible = "arm,syscon-icst307";
300 lock-offset = <0x20>;
302 clocks = <&xtal24mhz>;
305 compatible = "arm,syscon-icst307";
307 lock-offset = <0x20>;
309 clocks = <&xtal24mhz>;
312 compatible = "arm,syscon-icst307";
314 lock-offset = <0x20>;
316 clocks = <&xtal24mhz>;
320 sp810_syscon0: sysctl@10001000 {
321 compatible = "arm,sp810", "arm,primecell";
322 reg = <0x10001000 0x1000>;
323 clocks = <&refclk32khz>, <&timclk>, <&xtal24mhz>;
324 clock-names = "refclk", "timclk", "apb_pclk";
326 clock-output-names = "timerclk0",
330 assigned-clocks = <&sp810_syscon0 0>,
334 assigned-clock-parents = <&timclk>,
341 #address-cells = <1>;
343 compatible = "arm,versatile-i2c";
344 reg = <0x10002000 0x1000>;
347 compatible = "dallas,ds1338";
352 serial0: serial@10009000 {
353 compatible = "arm,pl011", "arm,primecell";
354 reg = <0x10009000 0x1000>;
355 clocks = <&uartclk>, <&pclk>;
356 clock-names = "uartclk", "apb_pclk";
359 serial1: serial@1000a000 {
360 compatible = "arm,pl011", "arm,primecell";
361 reg = <0x1000a000 0x1000>;
362 clocks = <&uartclk>, <&pclk>;
363 clock-names = "uartclk", "apb_pclk";
366 serial2: serial@1000b000 {
367 compatible = "arm,pl011", "arm,primecell";
368 reg = <0x1000b000 0x1000>;
369 clocks = <&uartclk>, <&pclk>;
370 clock-names = "uartclk", "apb_pclk";
374 compatible = "arm,pl022", "arm,primecell";
375 reg = <0x1000d000 0x1000>;
376 clocks = <&sspclk>, <&pclk>;
377 clock-names = "SSPCLK", "apb_pclk";
380 wdog0: watchdog@1000f000 {
381 compatible = "arm,sp805", "arm,primecell";
382 reg = <0x1000f000 0x1000>;
383 clocks = <&wdogclk>, <&pclk>;
384 clock-names = "wdog_clk", "apb_pclk";
388 wdog1: watchdog@10010000 {
389 compatible = "arm,sp805", "arm,primecell";
390 reg = <0x10010000 0x1000>;
391 clocks = <&wdogclk>, <&pclk>;
392 clock-names = "wdog_clk", "apb_pclk";
396 timer01: timer@10011000 {
397 compatible = "arm,sp804", "arm,primecell";
398 reg = <0x10011000 0x1000>;
399 clocks = <&sp810_syscon0 0>,
402 clock-names = "timerclk0",
407 timer23: timer@10012000 {
408 compatible = "arm,sp804", "arm,primecell";
409 reg = <0x10012000 0x1000>;
410 clocks = <&sp810_syscon0 2>,
413 clock-names = "timerclk2",
418 gpio0: gpio@10013000 {
419 compatible = "arm,pl061", "arm,primecell";
420 reg = <0x10013000 0x1000>;
423 interrupt-controller;
424 #interrupt-cells = <2>;
426 clock-names = "apb_pclk";
429 gpio1: gpio@10014000 {
430 compatible = "arm,pl061", "arm,primecell";
431 reg = <0x10014000 0x1000>;
434 interrupt-controller;
435 #interrupt-cells = <2>;
437 clock-names = "apb_pclk";
440 gpio2: gpio@10015000 {
441 compatible = "arm,pl061", "arm,primecell";
442 reg = <0x10015000 0x1000>;
445 interrupt-controller;
446 #interrupt-cells = <2>;
448 clock-names = "apb_pclk";
452 #address-cells = <1>;
454 compatible = "arm,versatile-i2c";
455 reg = <0x10016000 0x1000>;
459 compatible = "arm,pl031", "arm,primecell";
460 reg = <0x10017000 0x1000>;
462 clock-names = "apb_pclk";
465 timer45: timer@10018000 {
466 compatible = "arm,sp804", "arm,primecell";
467 reg = <0x10018000 0x1000>;
468 clocks = <&timclk>, <&timclk>, <&pclk>;
469 clock-names = "timerclk4", "timerclk5", "apb_pclk";
472 timer67: timer@10019000 {
473 compatible = "arm,sp804", "arm,primecell";
474 reg = <0x10019000 0x1000>;
475 clocks = <&timclk>, <&timclk>, <&pclk>;
476 clock-names = "timerclk6", "timerclk7", "apb_pclk";
479 sp810_syscon1: sysctl@1001a000 {
480 compatible = "arm,sp810", "arm,primecell";
481 reg = <0x1001a000 0x1000>;
482 clocks = <&refclk32khz>, <&timclk>, <&xtal24mhz>;
483 clock-names = "refclk", "timclk", "apb_pclk";
485 clock-output-names = "timerclk4",
489 assigned-clocks = <&sp810_syscon1 0>,
493 assigned-clock-parents = <&timclk>,
501 /* These peripherals are inside the FPGA */
503 #address-cells = <1>;
505 compatible = "simple-bus";
508 aaci: aaci@10004000 {
509 compatible = "arm,pl041", "arm,primecell";
510 reg = <0x10004000 0x1000>;
512 clock-names = "apb_pclk";
515 mmc: mmcsd@10005000 {
516 compatible = "arm,pl18x", "arm,primecell";
517 reg = <0x10005000 0x1000>;
519 /* Due to frequent FIFO overruns, use just 500 kHz */
520 max-frequency = <500000>;
524 clocks = <&mclk>, <&pclk>;
525 clock-names = "mclk", "apb_pclk";
526 vmmc-supply = <&vmmc>;
527 cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
528 wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
532 compatible = "arm,pl050", "arm,primecell";
533 reg = <0x10006000 0x1000>;
534 clocks = <&kmiclk>, <&pclk>;
535 clock-names = "KMIREFCLK", "apb_pclk";
539 compatible = "arm,pl050", "arm,primecell";
540 reg = <0x10007000 0x1000>;
541 clocks = <&kmiclk>, <&pclk>;
542 clock-names = "KMIREFCLK", "apb_pclk";
545 serial3: serial@1000c000 {
546 compatible = "arm,pl011", "arm,primecell";
547 reg = <0x1000c000 0x1000>;
548 clocks = <&uartclk>, <&pclk>;
549 clock-names = "uartclk", "apb_pclk";
553 /* These peripherals are inside the NEC ISSP */
555 #address-cells = <1>;
557 compatible = "simple-bus";
560 clcd: clcd@10020000 {
561 compatible = "arm,pl111", "arm,primecell";
562 reg = <0x10020000 0x1000>;
563 interrupt-names = "combined";
564 clocks = <&oscclk4>, <&pclk>;
565 clock-names = "clcdclk", "apb_pclk";
566 /* 1024x768 16bpp @65MHz works fine */
567 max-memory-bandwidth = <95000000>;
570 clcd_pads: endpoint {
571 remote-endpoint = <&vga_bridge_in>;
572 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;