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>
25 #include "skeleton.dtsi"
28 compatible = "arm,realview-eb";
41 /* 128 MiB memory @ 0x0 */
42 reg = <0x00000000 0x08000000>;
45 /* The voltage to the MMC card is hardwired at 3.3V */
46 vmmc: fixedregulator@0 {
47 compatible = "regulator-fixed";
48 regulator-name = "vmmc";
49 regulator-min-microvolt = <3300000>;
50 regulator-max-microvolt = <3300000>;
54 xtal24mhz: xtal24mhz@24M {
56 compatible = "fixed-clock";
57 clock-frequency = <24000000>;
62 compatible = "fixed-factor-clock";
65 clocks = <&xtal24mhz>;
70 compatible = "fixed-factor-clock";
73 clocks = <&xtal24mhz>;
78 compatible = "fixed-factor-clock";
81 clocks = <&xtal24mhz>;
86 compatible = "fixed-factor-clock";
89 clocks = <&xtal24mhz>;
92 uartclk: uartclk@24M {
94 compatible = "fixed-factor-clock";
97 clocks = <&xtal24mhz>;
100 wdogclk: wdogclk@24M {
102 compatible = "fixed-factor-clock";
105 clocks = <&xtal24mhz>;
108 /* FIXME: this actually hangs off the PLL clocks */
111 compatible = "fixed-clock";
112 clock-frequency = <0>;
116 /* 2 * 32MiB NOR Flash memory */
117 compatible = "arm,versatile-flash", "cfi-flash";
118 reg = <0x40000000 0x04000000>;
123 /* 2 * 32MiB NOR Flash memory */
124 compatible = "arm,versatile-flash", "cfi-flash";
125 reg = <0x44000000 0x04000000>;
129 /* SMSC LAN91C111 ethernet with PHY and EEPROM */
130 ethernet: ethernet@4e000000 {
131 compatible = "smsc,lan91c111";
132 reg = <0x4e000000 0x10000>;
134 * This means the adapter can be accessed with 8, 16 or
135 * 32 bit reads/writes.
141 compatible = "nxp,usb-isp1761";
142 reg = <0x4f000000 0x20000>;
147 compatible = "ti,ths8134a", "ti,ths8134";
148 #address-cells = <1>;
152 #address-cells = <1>;
158 vga_bridge_in: endpoint {
159 remote-endpoint = <&clcd_pads>;
166 vga_bridge_out: endpoint {
167 remote-endpoint = <&vga_con_in>;
174 compatible = "vga-connector";
177 vga_con_in: endpoint {
178 remote-endpoint = <&vga_bridge_out>;
183 /* These peripherals are inside the FPGA */
185 #address-cells = <1>;
187 compatible = "simple-bus";
190 syscon: syscon@10000000 {
191 compatible = "arm,realview-eb-syscon", "syscon", "simple-mfd";
192 reg = <0x10000000 0x1000>;
195 compatible = "register-bit-led";
198 label = "versatile:0";
199 linux,default-trigger = "heartbeat";
200 default-state = "on";
203 compatible = "register-bit-led";
206 label = "versatile:1";
207 linux,default-trigger = "mmc0";
208 default-state = "off";
211 compatible = "register-bit-led";
214 label = "versatile:2";
215 linux,default-trigger = "cpu0";
216 default-state = "off";
219 compatible = "register-bit-led";
222 label = "versatile:3";
223 default-state = "off";
226 compatible = "register-bit-led";
229 label = "versatile:4";
230 default-state = "off";
233 compatible = "register-bit-led";
236 label = "versatile:5";
237 default-state = "off";
240 compatible = "register-bit-led";
243 label = "versatile:6";
244 default-state = "off";
247 compatible = "register-bit-led";
250 label = "versatile:7";
251 default-state = "off";
254 compatible = "arm,syscon-icst307";
256 lock-offset = <0x20>;
258 clocks = <&xtal24mhz>;
261 compatible = "arm,syscon-icst307";
263 lock-offset = <0x20>;
265 clocks = <&xtal24mhz>;
268 compatible = "arm,syscon-icst307";
270 lock-offset = <0x20>;
272 clocks = <&xtal24mhz>;
275 compatible = "arm,syscon-icst307";
277 lock-offset = <0x20>;
279 clocks = <&xtal24mhz>;
282 compatible = "arm,syscon-icst307";
284 lock-offset = <0x20>;
286 clocks = <&xtal24mhz>;
291 #address-cells = <1>;
293 compatible = "arm,versatile-i2c";
294 reg = <0x10002000 0x1000>;
297 compatible = "dallas,ds1338";
302 aaci: aaci@10004000 {
303 compatible = "arm,pl041", "arm,primecell";
304 reg = <0x10004000 0x1000>;
306 clock-names = "apb_pclk";
309 mmc: mmcsd@10005000 {
310 compatible = "arm,pl18x", "arm,primecell";
311 reg = <0x10005000 0x1000>;
313 /* Due to frequent FIFO overruns, use just 500 kHz */
314 max-frequency = <500000>;
318 clocks = <&mclk>, <&pclk>;
319 clock-names = "mclk", "apb_pclk";
320 vmmc-supply = <&vmmc>;
321 cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
322 wp-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
326 compatible = "arm,pl050", "arm,primecell";
327 reg = <0x10006000 0x1000>;
328 clocks = <&kmiclk>, <&pclk>;
329 clock-names = "KMIREFCLK", "apb_pclk";
333 compatible = "arm,pl050", "arm,primecell";
334 reg = <0x10007000 0x1000>;
335 clocks = <&kmiclk>, <&pclk>;
336 clock-names = "KMIREFCLK", "apb_pclk";
339 charlcd: fpga_charlcd: charlcd@10008000 {
340 compatible = "arm,versatile-lcd";
341 reg = <0x10008000 0x1000>;
343 clock-names = "apb_pclk";
346 serial0: serial@10009000 {
347 compatible = "arm,pl011", "arm,primecell";
348 reg = <0x10009000 0x1000>;
349 clocks = <&uartclk>, <&pclk>;
350 clock-names = "uartclk", "apb_pclk";
353 serial1: serial@1000a000 {
354 compatible = "arm,pl011", "arm,primecell";
355 reg = <0x1000a000 0x1000>;
356 clocks = <&uartclk>, <&pclk>;
357 clock-names = "uartclk", "apb_pclk";
360 serial2: serial@1000b000 {
361 compatible = "arm,pl011", "arm,primecell";
362 reg = <0x1000b000 0x1000>;
363 clocks = <&uartclk>, <&pclk>;
364 clock-names = "uartclk", "apb_pclk";
367 serial3: serial@1000c000 {
368 compatible = "arm,pl011", "arm,primecell";
369 reg = <0x1000c000 0x1000>;
370 clocks = <&uartclk>, <&pclk>;
371 clock-names = "uartclk", "apb_pclk";
375 compatible = "arm,pl022", "arm,primecell";
376 reg = <0x1000d000 0x1000>;
377 clocks = <&sspclk>, <&pclk>;
378 clock-names = "SSPCLK", "apb_pclk";
381 wdog: watchdog@10010000 {
382 compatible = "arm,sp805", "arm,primecell";
383 reg = <0x10010000 0x1000>;
384 clocks = <&wdogclk>, <&pclk>;
385 clock-names = "wdogclk", "apb_pclk";
389 timer01: timer@10011000 {
390 compatible = "arm,sp804", "arm,primecell";
391 reg = <0x10011000 0x1000>;
392 clocks = <&timclk>, <&timclk>, <&pclk>;
393 clock-names = "timer1", "timer2", "apb_pclk";
396 timer23: timer@10012000 {
397 compatible = "arm,sp804", "arm,primecell";
398 reg = <0x10012000 0x1000>;
399 clocks = <&timclk>, <&timclk>, <&pclk>;
400 clock-names = "timer1", "timer2", "apb_pclk";
403 gpio0: gpio@10013000 {
404 compatible = "arm,pl061", "arm,primecell";
405 reg = <0x10013000 0x1000>;
408 interrupt-controller;
409 #interrupt-cells = <2>;
411 clock-names = "apb_pclk";
414 gpio1: gpio@10014000 {
415 compatible = "arm,pl061", "arm,primecell";
416 reg = <0x10014000 0x1000>;
419 interrupt-controller;
420 #interrupt-cells = <2>;
422 clock-names = "apb_pclk";
425 gpio2: gpio@10015000 {
426 compatible = "arm,pl061", "arm,primecell";
427 reg = <0x10015000 0x1000>;
430 interrupt-controller;
431 #interrupt-cells = <2>;
433 clock-names = "apb_pclk";
437 compatible = "arm,pl031", "arm,primecell";
438 reg = <0x10017000 0x1000>;
440 clock-names = "apb_pclk";
443 clcd: clcd@10020000 {
444 compatible = "arm,pl111", "arm,primecell";
445 reg = <0x10020000 0x1000>;
446 interrupt-names = "combined";
447 clocks = <&oscclk0>, <&pclk>;
448 clock-names = "clcdclk", "apb_pclk";
449 /* 1024x768 16bpp @65MHz works fine */
450 max-memory-bandwidth = <95000000>;
453 clcd_pads: endpoint {
454 remote-endpoint = <&vga_bridge_in>;
455 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;