2 * Copyright 2014 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
24 #include <dt-bindings/interrupt-controller/irq.h>
25 #include "skeleton.dtsi"
28 model = "ARM RealView PB1176";
29 compatible = "arm,realview-pb1176";
34 serial0 = &pb1176_serial0;
35 serial1 = &pb1176_serial1;
36 serial2 = &pb1176_serial2;
37 serial3 = &pb1176_serial3;
38 serial4 = &fpga_serial;
42 /* 128 MiB memory @ 0x0 */
43 reg = <0x00000000 0x08000000>;
46 xtal24mhz: xtal24mhz@24M {
48 compatible = "fixed-clock";
49 clock-frequency = <24000000>;
54 compatible = "fixed-factor-clock";
57 clocks = <&xtal24mhz>;
62 compatible = "fixed-factor-clock";
65 clocks = <&xtal24mhz>;
68 uartclk: uartclk@24M {
70 compatible = "fixed-factor-clock";
73 clocks = <&xtal24mhz>;
76 /* FIXME: this actually hangs off the PLL clocks */
79 compatible = "fixed-clock";
80 clock-frequency = <0>;
86 compatible = "arm,realview-pb1176-soc", "simple-bus";
90 syscon: syscon@10000000 {
91 compatible = "arm,realview-pb1176-syscon", "syscon";
92 reg = <0x10000000 0x1000>;
95 compatible = "register-bit-led";
98 label = "versatile:0";
99 linux,default-trigger = "heartbeat";
100 default-state = "on";
103 compatible = "register-bit-led";
106 label = "versatile:1";
107 linux,default-trigger = "mmc0";
108 default-state = "off";
111 compatible = "register-bit-led";
114 label = "versatile:2";
115 linux,default-trigger = "cpu0";
116 default-state = "off";
119 compatible = "register-bit-led";
122 label = "versatile:3";
123 default-state = "off";
126 compatible = "register-bit-led";
129 label = "versatile:4";
130 default-state = "off";
133 compatible = "register-bit-led";
136 label = "versatile:5";
137 default-state = "off";
140 compatible = "register-bit-led";
143 label = "versatile:6";
144 default-state = "off";
147 compatible = "register-bit-led";
150 label = "versatile:7";
151 default-state = "off";
155 /* Primary DevChip GIC synthesized with the CPU */
156 intc_dc1176: interrupt-controller@10120000 {
157 compatible = "arm,arm1176jzf-devchip-gic", "arm,arm11mp-gic";
158 #interrupt-cells = <3>;
159 #address-cells = <1>;
160 interrupt-controller;
161 reg = <0x10121000 0x1000>,
166 compatible = "arm,l220-cache";
167 reg = <0x10110000 0x1000>;
168 interrupt-parent = <&intc_dc1176>;
169 interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
173 * Override default cache size, sets and
174 * associativity as these may be erroneously set
175 * up by boot loader(s).
178 cache-size = <131072>; // 128kB
180 cache-line-size = <32>;
184 compatible = "arm,arm1176-pmu";
185 interrupt-parent = <&intc_dc1176>;
186 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
189 timer01: timer@10104000 {
190 compatible = "arm,sp804", "arm,primecell";
191 reg = <0x10104000 0x1000>;
192 interrupt-parent = <&intc_dc1176>;
193 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>, <0 9 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&timclk>, <&timclk>, <&pclk>;
195 clock-names = "timer1", "timer2", "apb_pclk";
198 timer23: timer@10105000 {
199 compatible = "arm,sp804", "arm,primecell";
200 reg = <0x10105000 0x1000>;
201 interrupt-parent = <&intc_dc1176>;
202 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
203 arm,sp804-has-irq = <1>;
204 clocks = <&timclk>, <&timclk>, <&pclk>;
205 clock-names = "timer1", "timer2", "apb_pclk";
208 pb1176_rtc: rtc@10108000 {
209 compatible = "arm,pl031", "arm,primecell";
210 reg = <0x10108000 0x1000>;
211 interrupt-parent = <&intc_dc1176>;
212 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
214 clock-names = "apb_pclk";
217 pb1176_gpio0: gpio@1010a000 {
218 compatible = "arm,pl061", "arm,primecell";
219 reg = <0x1010a000 0x1000>;
221 interrupt-parent = <&intc_dc1176>;
222 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
224 interrupt-controller;
225 #interrupt-cells = <2>;
227 clock-names = "apb_pclk";
230 pb1176_ssp: ssp@1010b000 {
231 compatible = "arm,pl022", "arm,primecell";
232 reg = <0x1010b000 0x1000>;
233 interrupt-parent = <&intc_dc1176>;
234 interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH>;
235 clocks = <&sspclk>, <&pclk>;
236 clock-names = "SSPCLK", "apb_pclk";
239 pb1176_serial0: serial@1010c000 {
240 compatible = "arm,pl011", "arm,primecell";
241 reg = <0x1010c000 0x1000>;
242 interrupt-parent = <&intc_dc1176>;
243 interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
244 clocks = <&uartclk>, <&pclk>;
245 clock-names = "uartclk", "apb_pclk";
248 pb1176_serial1: serial@1010d000 {
249 compatible = "arm,pl011", "arm,primecell";
250 reg = <0x1010d000 0x1000>;
251 interrupt-parent = <&intc_dc1176>;
252 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
253 clocks = <&uartclk>, <&pclk>;
254 clock-names = "uartclk", "apb_pclk";
257 pb1176_serial2: serial@1010e000 {
258 compatible = "arm,pl011", "arm,primecell";
259 reg = <0x1010e000 0x1000>;
260 interrupt-parent = <&intc_dc1176>;
261 interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
262 clocks = <&uartclk>, <&pclk>;
263 clock-names = "uartclk", "apb_pclk";
266 pb1176_serial3: serial@1010f000 {
267 compatible = "arm,pl011", "arm,primecell";
268 reg = <0x1010f000 0x1000>;
269 interrupt-parent = <&intc_dc1176>;
270 interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
271 clocks = <&uartclk>, <&pclk>;
272 clock-names = "uartclk", "apb_pclk";
276 /* These peripherals are inside the FPGA rather than the DevChip */
278 #address-cells = <1>;
280 compatible = "simple-bus";
283 fpga_charlcd: charlcd@10008000 {
284 compatible = "arm,versatile-lcd";
285 reg = <0x10008000 0x1000>;
286 interrupt-parent = <&intc_fpga1176>;
287 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
289 clock-names = "apb_pclk";
292 fpga_serial: serial@10009000 {
293 compatible = "arm,pl011", "arm,primecell";
294 reg = <0x10009000 0x1000>;
295 interrupt-parent = <&intc_fpga1176>;
296 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
297 clocks = <&uartclk>, <&pclk>;
298 clock-names = "uartclk", "apb_pclk";
301 /* This GIC on the board is cascaded off the DevChip GIC */
302 intc_fpga1176: interrupt-controller@10040000 {
303 compatible = "arm,arm1176jzf-devchip-gic", "arm,arm11mp-gic";
304 #interrupt-cells = <3>;
305 #address-cells = <1>;
306 interrupt-controller;
307 reg = <0x10041000 0x1000>,
309 interrupt-parent = <&intc_dc1176>;
310 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
313 fpga_gpio0: gpio@10014000 {
314 compatible = "arm,pl061", "arm,primecell";
315 reg = <0x10014000 0x1000>;
317 interrupt-parent = <&intc_fpga1176>;
318 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
320 interrupt-controller;
321 #interrupt-cells = <2>;
323 clock-names = "apb_pclk";
326 fpga_gpio1: gpio@10015000 {
327 compatible = "arm,pl061", "arm,primecell";
328 reg = <0x10015000 0x1000>;
330 interrupt-parent = <&intc_fpga1176>;
331 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
333 interrupt-controller;
334 #interrupt-cells = <2>;
336 clock-names = "apb_pclk";
339 fpga_rtc: rtc@10017000 {
340 compatible = "arm,pl031", "arm,primecell";
341 reg = <0x10017000 0x1000>;
342 interrupt-parent = <&intc_fpga1176>;
343 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
345 clock-names = "apb_pclk";