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-eb";
42 device_type = "memory";
43 /* 128 MiB memory @ 0x0 */
44 reg = <0x00000000 0x08000000>;
47 /* The voltage to the MMC card is hardwired at 3.3V */
48 vmmc: fixedregulator@0 {
49 compatible = "regulator-fixed";
50 regulator-name = "vmmc";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
56 xtal24mhz: xtal24mhz@24M {
58 compatible = "fixed-clock";
59 clock-frequency = <24000000>;
64 compatible = "fixed-factor-clock";
67 clocks = <&xtal24mhz>;
72 compatible = "fixed-factor-clock";
75 clocks = <&xtal24mhz>;
80 compatible = "fixed-factor-clock";
83 clocks = <&xtal24mhz>;
88 compatible = "fixed-factor-clock";
91 clocks = <&xtal24mhz>;
94 uartclk: uartclk@24M {
96 compatible = "fixed-factor-clock";
99 clocks = <&xtal24mhz>;
102 wdogclk: wdogclk@24M {
104 compatible = "fixed-factor-clock";
107 clocks = <&xtal24mhz>;
110 /* FIXME: this actually hangs off the PLL clocks */
113 compatible = "fixed-clock";
114 clock-frequency = <0>;
118 /* 2 * 32MiB NOR Flash memory */
119 compatible = "arm,versatile-flash", "cfi-flash";
120 reg = <0x40000000 0x04000000>;
125 /* 2 * 32MiB NOR Flash memory */
126 compatible = "arm,versatile-flash", "cfi-flash";
127 reg = <0x44000000 0x04000000>;
131 /* SMSC LAN91C111 ethernet with PHY and EEPROM */
132 ethernet: ethernet@4e000000 {
133 compatible = "smsc,lan91c111";
134 reg = <0x4e000000 0x10000>;
136 * This means the adapter can be accessed with 8, 16 or
137 * 32 bit reads/writes.
143 compatible = "nxp,usb-isp1761";
144 reg = <0x4f000000 0x20000>;
149 compatible = "ti,ths8134a", "ti,ths8134";
150 #address-cells = <1>;
154 #address-cells = <1>;
160 vga_bridge_in: endpoint {
161 remote-endpoint = <&clcd_pads>;
168 vga_bridge_out: endpoint {
169 remote-endpoint = <&vga_con_in>;
176 compatible = "vga-connector";
179 vga_con_in: endpoint {
180 remote-endpoint = <&vga_bridge_out>;
185 /* These peripherals are inside the FPGA */
187 #address-cells = <1>;
189 compatible = "simple-bus";
192 syscon: syscon@10000000 {
193 compatible = "arm,realview-eb-syscon", "syscon", "simple-mfd";
194 reg = <0x10000000 0x1000>;
197 compatible = "register-bit-led";
200 label = "versatile:0";
201 linux,default-trigger = "heartbeat";
202 default-state = "on";
205 compatible = "register-bit-led";
208 label = "versatile:1";
209 linux,default-trigger = "mmc0";
210 default-state = "off";
213 compatible = "register-bit-led";
216 label = "versatile:2";
217 linux,default-trigger = "cpu0";
218 default-state = "off";
221 compatible = "register-bit-led";
224 label = "versatile:3";
225 default-state = "off";
228 compatible = "register-bit-led";
231 label = "versatile:4";
232 default-state = "off";
235 compatible = "register-bit-led";
238 label = "versatile:5";
239 default-state = "off";
242 compatible = "register-bit-led";
245 label = "versatile:6";
246 default-state = "off";
249 compatible = "register-bit-led";
252 label = "versatile:7";
253 default-state = "off";
256 compatible = "arm,syscon-icst307";
258 lock-offset = <0x20>;
260 clocks = <&xtal24mhz>;
263 compatible = "arm,syscon-icst307";
265 lock-offset = <0x20>;
267 clocks = <&xtal24mhz>;
270 compatible = "arm,syscon-icst307";
272 lock-offset = <0x20>;
274 clocks = <&xtal24mhz>;
277 compatible = "arm,syscon-icst307";
279 lock-offset = <0x20>;
281 clocks = <&xtal24mhz>;
284 compatible = "arm,syscon-icst307";
286 lock-offset = <0x20>;
288 clocks = <&xtal24mhz>;
293 #address-cells = <1>;
295 compatible = "arm,versatile-i2c";
296 reg = <0x10002000 0x1000>;
299 compatible = "dallas,ds1338";
304 aaci: aaci@10004000 {
305 compatible = "arm,pl041", "arm,primecell";
306 reg = <0x10004000 0x1000>;
308 clock-names = "apb_pclk";
311 mmc: mmcsd@10005000 {
312 compatible = "arm,pl18x", "arm,primecell";
313 reg = <0x10005000 0x1000>;
315 /* Due to frequent FIFO overruns, use just 500 kHz */
316 max-frequency = <500000>;
320 clocks = <&mclk>, <&pclk>;
321 clock-names = "mclk", "apb_pclk";
322 vmmc-supply = <&vmmc>;
323 cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
324 wp-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
328 compatible = "arm,pl050", "arm,primecell";
329 reg = <0x10006000 0x1000>;
330 clocks = <&kmiclk>, <&pclk>;
331 clock-names = "KMIREFCLK", "apb_pclk";
335 compatible = "arm,pl050", "arm,primecell";
336 reg = <0x10007000 0x1000>;
337 clocks = <&kmiclk>, <&pclk>;
338 clock-names = "KMIREFCLK", "apb_pclk";
341 charlcd: fpga_charlcd: charlcd@10008000 {
342 compatible = "arm,versatile-lcd";
343 reg = <0x10008000 0x1000>;
345 clock-names = "apb_pclk";
348 serial0: serial@10009000 {
349 compatible = "arm,pl011", "arm,primecell";
350 reg = <0x10009000 0x1000>;
351 clocks = <&uartclk>, <&pclk>;
352 clock-names = "uartclk", "apb_pclk";
355 serial1: serial@1000a000 {
356 compatible = "arm,pl011", "arm,primecell";
357 reg = <0x1000a000 0x1000>;
358 clocks = <&uartclk>, <&pclk>;
359 clock-names = "uartclk", "apb_pclk";
362 serial2: serial@1000b000 {
363 compatible = "arm,pl011", "arm,primecell";
364 reg = <0x1000b000 0x1000>;
365 clocks = <&uartclk>, <&pclk>;
366 clock-names = "uartclk", "apb_pclk";
369 serial3: serial@1000c000 {
370 compatible = "arm,pl011", "arm,primecell";
371 reg = <0x1000c000 0x1000>;
372 clocks = <&uartclk>, <&pclk>;
373 clock-names = "uartclk", "apb_pclk";
377 compatible = "arm,pl022", "arm,primecell";
378 reg = <0x1000d000 0x1000>;
379 clocks = <&sspclk>, <&pclk>;
380 clock-names = "SSPCLK", "apb_pclk";
383 wdog: watchdog@10010000 {
384 compatible = "arm,sp805", "arm,primecell";
385 reg = <0x10010000 0x1000>;
386 clocks = <&wdogclk>, <&pclk>;
387 clock-names = "wdogclk", "apb_pclk";
391 timer01: timer@10011000 {
392 compatible = "arm,sp804", "arm,primecell";
393 reg = <0x10011000 0x1000>;
394 clocks = <&timclk>, <&timclk>, <&pclk>;
395 clock-names = "timer1", "timer2", "apb_pclk";
398 timer23: timer@10012000 {
399 compatible = "arm,sp804", "arm,primecell";
400 reg = <0x10012000 0x1000>;
401 clocks = <&timclk>, <&timclk>, <&pclk>;
402 clock-names = "timer1", "timer2", "apb_pclk";
405 gpio0: gpio@10013000 {
406 compatible = "arm,pl061", "arm,primecell";
407 reg = <0x10013000 0x1000>;
410 interrupt-controller;
411 #interrupt-cells = <2>;
413 clock-names = "apb_pclk";
416 gpio1: gpio@10014000 {
417 compatible = "arm,pl061", "arm,primecell";
418 reg = <0x10014000 0x1000>;
421 interrupt-controller;
422 #interrupt-cells = <2>;
424 clock-names = "apb_pclk";
427 gpio2: gpio@10015000 {
428 compatible = "arm,pl061", "arm,primecell";
429 reg = <0x10015000 0x1000>;
432 interrupt-controller;
433 #interrupt-cells = <2>;
435 clock-names = "apb_pclk";
439 compatible = "arm,pl031", "arm,primecell";
440 reg = <0x10017000 0x1000>;
442 clock-names = "apb_pclk";
445 clcd: clcd@10020000 {
446 compatible = "arm,pl111", "arm,primecell";
447 reg = <0x10020000 0x1000>;
448 interrupt-names = "combined";
449 clocks = <&oscclk0>, <&pclk>;
450 clock-names = "clcdclk", "apb_pclk";
451 /* 1024x768 16bpp @65MHz works fine */
452 max-memory-bandwidth = <95000000>;
455 clcd_pads: endpoint {
456 remote-endpoint = <&vga_bridge_in>;
457 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;