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 veth: fixedregulator@0 {
55 compatible = "regulator-fixed";
56 regulator-name = "veth";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
62 xtal24mhz: xtal24mhz@24M {
64 compatible = "fixed-clock";
65 clock-frequency = <24000000>;
70 compatible = "fixed-factor-clock";
73 clocks = <&xtal24mhz>;
78 compatible = "fixed-factor-clock";
81 clocks = <&xtal24mhz>;
86 compatible = "fixed-factor-clock";
89 clocks = <&xtal24mhz>;
94 compatible = "fixed-factor-clock";
97 clocks = <&xtal24mhz>;
100 uartclk: uartclk@24M {
102 compatible = "fixed-factor-clock";
105 clocks = <&xtal24mhz>;
108 wdogclk: wdogclk@24M {
110 compatible = "fixed-factor-clock";
113 clocks = <&xtal24mhz>;
116 /* FIXME: this actually hangs off the PLL clocks */
119 compatible = "fixed-clock";
120 clock-frequency = <0>;
124 /* 2 * 32MiB NOR Flash memory */
125 compatible = "arm,versatile-flash", "cfi-flash";
126 reg = <0x40000000 0x04000000>;
131 /* 2 * 32MiB NOR Flash memory */
132 compatible = "arm,versatile-flash", "cfi-flash";
133 reg = <0x44000000 0x04000000>;
137 /* SMSC 9118 ethernet with PHY and EEPROM */
138 ethernet: ethernet@4e000000 {
139 compatible = "smsc,lan9118", "smsc,lan9115";
140 reg = <0x4e000000 0x10000>;
143 smsc,irq-active-high;
145 vdd33a-supply = <&veth>;
146 vddvario-supply = <&veth>;
150 compatible = "nxp,usb-isp1761";
151 reg = <0x4f000000 0x20000>;
155 /* These peripherals are inside the FPGA */
157 #address-cells = <1>;
159 compatible = "simple-bus";
162 syscon: syscon@10000000 {
163 compatible = "arm,realview-eb-syscon", "syscon", "simple-mfd";
164 reg = <0x10000000 0x1000>;
167 compatible = "register-bit-led";
170 label = "versatile:0";
171 linux,default-trigger = "heartbeat";
172 default-state = "on";
175 compatible = "register-bit-led";
178 label = "versatile:1";
179 linux,default-trigger = "mmc0";
180 default-state = "off";
183 compatible = "register-bit-led";
186 label = "versatile:2";
187 linux,default-trigger = "cpu0";
188 default-state = "off";
191 compatible = "register-bit-led";
194 label = "versatile:3";
195 default-state = "off";
198 compatible = "register-bit-led";
201 label = "versatile:4";
202 default-state = "off";
205 compatible = "register-bit-led";
208 label = "versatile:5";
209 default-state = "off";
212 compatible = "register-bit-led";
215 label = "versatile:6";
216 default-state = "off";
219 compatible = "register-bit-led";
222 label = "versatile:7";
223 default-state = "off";
226 compatible = "arm,syscon-icst307";
228 lock-offset = <0x20>;
230 clocks = <&xtal24mhz>;
233 compatible = "arm,syscon-icst307";
235 lock-offset = <0x20>;
237 clocks = <&xtal24mhz>;
240 compatible = "arm,syscon-icst307";
242 lock-offset = <0x20>;
244 clocks = <&xtal24mhz>;
247 compatible = "arm,syscon-icst307";
249 lock-offset = <0x20>;
251 clocks = <&xtal24mhz>;
254 compatible = "arm,syscon-icst307";
256 lock-offset = <0x20>;
258 clocks = <&xtal24mhz>;
263 #address-cells = <1>;
265 compatible = "arm,versatile-i2c";
266 reg = <0x10002000 0x1000>;
269 compatible = "dallas,ds1338";
274 aaci: aaci@10004000 {
275 compatible = "arm,pl041", "arm,primecell";
276 reg = <0x10004000 0x1000>;
278 clock-names = "apb_pclk";
281 mmc: mmcsd@10005000 {
282 compatible = "arm,pl18x", "arm,primecell";
283 reg = <0x10005000 0x1000>;
285 /* Due to frequent FIFO overruns, use just 500 kHz */
286 max-frequency = <500000>;
290 clocks = <&mclk>, <&pclk>;
291 clock-names = "mclk", "apb_pclk";
292 vmmc-supply = <&vmmc>;
293 cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
294 wp-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
298 compatible = "arm,pl050", "arm,primecell";
299 reg = <0x10006000 0x1000>;
300 clocks = <&kmiclk>, <&pclk>;
301 clock-names = "KMIREFCLK", "apb_pclk";
305 compatible = "arm,pl050", "arm,primecell";
306 reg = <0x10007000 0x1000>;
307 clocks = <&kmiclk>, <&pclk>;
308 clock-names = "KMIREFCLK", "apb_pclk";
311 charlcd: fpga_charlcd: charlcd@10008000 {
312 compatible = "arm,versatile-lcd";
313 reg = <0x10008000 0x1000>;
315 clock-names = "apb_pclk";
318 serial0: serial@10009000 {
319 compatible = "arm,pl011", "arm,primecell";
320 reg = <0x10009000 0x1000>;
321 clocks = <&uartclk>, <&pclk>;
322 clock-names = "uartclk", "apb_pclk";
325 serial1: serial@1000a000 {
326 compatible = "arm,pl011", "arm,primecell";
327 reg = <0x1000a000 0x1000>;
328 clocks = <&uartclk>, <&pclk>;
329 clock-names = "uartclk", "apb_pclk";
332 serial2: serial@1000b000 {
333 compatible = "arm,pl011", "arm,primecell";
334 reg = <0x1000b000 0x1000>;
335 clocks = <&uartclk>, <&pclk>;
336 clock-names = "uartclk", "apb_pclk";
339 serial3: serial@1000c000 {
340 compatible = "arm,pl011", "arm,primecell";
341 reg = <0x1000c000 0x1000>;
342 clocks = <&uartclk>, <&pclk>;
343 clock-names = "uartclk", "apb_pclk";
347 compatible = "arm,pl022", "arm,primecell";
348 reg = <0x1000d000 0x1000>;
349 clocks = <&sspclk>, <&pclk>;
350 clock-names = "SSPCLK", "apb_pclk";
353 wdog: watchdog@10010000 {
354 compatible = "arm,sp805", "arm,primecell";
355 reg = <0x10010000 0x1000>;
356 clocks = <&wdogclk>, <&pclk>;
357 clock-names = "wdogclk", "apb_pclk";
361 timer01: timer@10011000 {
362 compatible = "arm,sp804", "arm,primecell";
363 reg = <0x10011000 0x1000>;
364 clocks = <&timclk>, <&timclk>, <&pclk>;
365 clock-names = "timer1", "timer2", "apb_pclk";
368 timer23: timer@10012000 {
369 compatible = "arm,sp804", "arm,primecell";
370 reg = <0x10012000 0x1000>;
371 clocks = <&timclk>, <&timclk>, <&pclk>;
372 clock-names = "timer1", "timer2", "apb_pclk";
375 gpio0: gpio@10013000 {
376 compatible = "arm,pl061", "arm,primecell";
377 reg = <0x10013000 0x1000>;
380 interrupt-controller;
381 #interrupt-cells = <2>;
383 clock-names = "apb_pclk";
386 gpio1: gpio@10014000 {
387 compatible = "arm,pl061", "arm,primecell";
388 reg = <0x10014000 0x1000>;
391 interrupt-controller;
392 #interrupt-cells = <2>;
394 clock-names = "apb_pclk";
397 gpio2: gpio@10015000 {
398 compatible = "arm,pl061", "arm,primecell";
399 reg = <0x10015000 0x1000>;
402 interrupt-controller;
403 #interrupt-cells = <2>;
405 clock-names = "apb_pclk";
409 compatible = "arm,pl031", "arm,primecell";
410 reg = <0x10017000 0x1000>;
412 clock-names = "apb_pclk";
415 clcd: clcd@10020000 {
416 compatible = "arm,pl111", "arm,primecell";
417 reg = <0x10020000 0x1000>;
418 interrupt-names = "combined";
419 clocks = <&oscclk0>, <&pclk>;
420 clock-names = "clcdclk", "apb_pclk";
423 clcd_pads: endpoint {
424 remote-endpoint = <&clcd_panel>;
425 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
430 compatible = "panel-dpi";
433 clcd_panel: endpoint {
434 remote-endpoint = <&clcd_pads>;
438 /* Standard 640x480 VGA timings */
440 clock-frequency = <25175000>;