1 // SPDX-License-Identifier: GPL-2.0
5 model = "ARM Versatile AB";
6 compatible = "arm,versatile-ab";
9 interrupt-parent = <&vic>;
23 device_type = "memory";
24 reg = <0x0 0x08000000>;
27 xtal24mhz: xtal24mhz@24M {
29 compatible = "fixed-clock";
30 clock-frequency = <24000000>;
34 compatible = "ti,ths8134b", "ti,ths8134";
45 vga_bridge_in: endpoint {
46 remote-endpoint = <&clcd_pads_vga_dac>;
53 vga_bridge_out: endpoint {
54 remote-endpoint = <&vga_con_in>;
61 compatible = "vga-connector";
64 vga_con_in: endpoint {
65 remote-endpoint = <&vga_bridge_out>;
70 core-module@10000000 {
71 compatible = "arm,core-module-versatile", "syscon", "simple-mfd";
72 reg = <0x10000000 0x200>;
75 compatible = "register-bit-led";
78 label = "versatile:0";
79 linux,default-trigger = "heartbeat";
83 compatible = "register-bit-led";
86 label = "versatile:1";
87 linux,default-trigger = "mmc0";
88 default-state = "off";
91 compatible = "register-bit-led";
94 label = "versatile:2";
95 linux,default-trigger = "cpu0";
96 default-state = "off";
99 compatible = "register-bit-led";
102 label = "versatile:3";
103 default-state = "off";
106 compatible = "register-bit-led";
109 label = "versatile:4";
110 default-state = "off";
113 compatible = "register-bit-led";
116 label = "versatile:5";
117 default-state = "off";
120 compatible = "register-bit-led";
123 label = "versatile:6";
124 default-state = "off";
127 compatible = "register-bit-led";
130 label = "versatile:7";
131 default-state = "off";
134 /* OSC1 on AB, OSC4 on PB */
135 osc1: cm_aux_osc@24M {
137 compatible = "arm,versatile-cm-auxosc";
138 clocks = <&xtal24mhz>;
141 /* The timer clock is the 24 MHz oscillator divided to 1MHz */
144 compatible = "fixed-factor-clock";
147 clocks = <&xtal24mhz>;
152 compatible = "fixed-factor-clock";
155 clocks = <&xtal24mhz>;
160 /* 64 MiB NOR flash in non-interleaved chips */
161 compatible = "arm,versatile-flash", "cfi-flash";
162 reg = <0x34000000 0x04000000>;
165 compatible = "arm,arm-firmware-suite";
170 #address-cells = <1>;
172 compatible = "arm,versatile-i2c";
173 reg = <0x10002000 0x1000>;
176 compatible = "dallas,ds1338";
182 compatible = "smsc,lan91c111";
183 reg = <0x10010000 0x10000>;
188 compatible = "arm,versatile-lcd";
189 reg = <0x10008000 0x1000>;
193 compatible = "simple-bus";
194 #address-cells = <1>;
199 compatible = "arm,versatile-vic";
200 interrupt-controller;
201 #interrupt-cells = <1>;
202 reg = <0x10140000 0x1000>;
203 clear-mask = <0xffffffff>;
204 valid-mask = <0xffffffff>;
208 compatible = "arm,versatile-sic";
209 interrupt-controller;
210 #interrupt-cells = <1>;
211 reg = <0x10003000 0x1000>;
212 interrupt-parent = <&vic>;
213 interrupts = <31>; /* Cascaded to vic */
214 clear-mask = <0xffffffff>;
216 * Valid interrupt lines mask according to
217 * table 4-36 page 4-50 of ARM DUI 0225D
219 valid-mask = <0x0760031b>;
223 compatible = "arm,pl081", "arm,primecell";
224 reg = <0x10130000 0x1000>;
227 clock-names = "apb_pclk";
230 uart0: uart@101f1000 {
231 compatible = "arm,pl011", "arm,primecell";
232 reg = <0x101f1000 0x1000>;
234 clocks = <&xtal24mhz>, <&pclk>;
235 clock-names = "uartclk", "apb_pclk";
238 uart1: uart@101f2000 {
239 compatible = "arm,pl011", "arm,primecell";
240 reg = <0x101f2000 0x1000>;
242 clocks = <&xtal24mhz>, <&pclk>;
243 clock-names = "uartclk", "apb_pclk";
246 uart2: uart@101f3000 {
247 compatible = "arm,pl011", "arm,primecell";
248 reg = <0x101f3000 0x1000>;
250 clocks = <&xtal24mhz>, <&pclk>;
251 clock-names = "uartclk", "apb_pclk";
255 compatible = "arm,primecell";
256 reg = <0x10100000 0x1000>;
258 clock-names = "apb_pclk";
262 compatible = "arm,primecell";
263 reg = <0x10110000 0x1000>;
265 clock-names = "apb_pclk";
269 compatible = "arm,pl110", "arm,primecell";
270 reg = <0x10120000 0x1000>;
272 clocks = <&osc1>, <&pclk>;
273 clock-names = "clcdclk", "apb_pclk";
274 /* 800x600 16bpp @ 36MHz works fine */
275 max-memory-bandwidth = <54000000>;
278 * This port is routed through a PLD (Programmable
279 * Logic Device) that routes the output from the CLCD
280 * (after transformations) to the VGA DAC and also an
281 * external panel connector. The PLD is essential for
282 * supporting RGB565/BGR565.
284 * The signals from the port thus reaches two endpoints.
285 * The PLD is managed through a few special bits in the
288 * This arrangement can be clearly seen in
289 * ARM DUI 0225D, page 3-41, figure 3-19.
292 #address-cells = <1>;
295 clcd_pads_panel: endpoint@0 {
297 remote-endpoint = <&panel_in>;
298 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
300 clcd_pads_vga_dac: endpoint@1 {
302 remote-endpoint = <&vga_bridge_in>;
303 arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
309 compatible = "arm,primecell";
310 reg = <0x101e0000 0x1000>;
312 clock-names = "apb_pclk";
316 compatible = "arm,primecell";
317 reg = <0x101e1000 0x1000>;
320 clock-names = "apb_pclk";
324 compatible = "arm,sp804", "arm,primecell";
325 reg = <0x101e2000 0x1000>;
327 clocks = <&timclk>, <&timclk>, <&pclk>;
328 clock-names = "timer0", "timer1", "apb_pclk";
332 compatible = "arm,sp804", "arm,primecell";
333 reg = <0x101e3000 0x1000>;
335 clocks = <&timclk>, <&timclk>, <&pclk>;
336 clock-names = "timer0", "timer1", "apb_pclk";
339 gpio0: gpio@101e4000 {
340 compatible = "arm,pl061", "arm,primecell";
341 reg = <0x101e4000 0x1000>;
345 interrupt-controller;
346 #interrupt-cells = <2>;
348 clock-names = "apb_pclk";
351 gpio1: gpio@101e5000 {
352 compatible = "arm,pl061", "arm,primecell";
353 reg = <0x101e5000 0x1000>;
357 interrupt-controller;
358 #interrupt-cells = <2>;
360 clock-names = "apb_pclk";
364 compatible = "arm,pl030", "arm,primecell";
365 reg = <0x101e8000 0x1000>;
368 clock-names = "apb_pclk";
372 compatible = "arm,primecell";
373 reg = <0x101f0000 0x1000>;
376 clock-names = "apb_pclk";
380 compatible = "arm,pl022", "arm,primecell";
381 reg = <0x101f4000 0x1000>;
383 clocks = <&xtal24mhz>, <&pclk>;
384 clock-names = "SSPCLK", "apb_pclk";
388 compatible = "arm,versatile-fpga", "simple-bus";
389 #address-cells = <1>;
391 ranges = <0 0x10000000 0x10000>;
394 compatible = "arm,versatile-sysreg", "syscon", "simple-mfd";
395 reg = <0x00000 0x1000>;
398 compatible = "arm,versatile-tft-panel";
402 remote-endpoint = <&clcd_pads_panel>;
409 compatible = "arm,primecell";
410 reg = <0x4000 0x1000>;
413 clock-names = "apb_pclk";
416 compatible = "arm,pl180", "arm,primecell";
417 reg = <0x5000 0x1000>;
418 interrupts-extended = <&vic 22 &sic 1>;
419 clocks = <&xtal24mhz>, <&pclk>;
420 clock-names = "mclk", "apb_pclk";
423 compatible = "arm,pl050", "arm,primecell";
424 reg = <0x6000 0x1000>;
425 interrupt-parent = <&sic>;
427 clocks = <&xtal24mhz>, <&pclk>;
428 clock-names = "KMIREFCLK", "apb_pclk";
431 compatible = "arm,pl050", "arm,primecell";
432 reg = <0x7000 0x1000>;
433 interrupt-parent = <&sic>;
435 clocks = <&xtal24mhz>, <&pclk>;
436 clock-names = "KMIREFCLK", "apb_pclk";