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 "arm-realview-eb.dtsi"
28 * This is the common include file for all MPCore variants of the
29 * Evaluation Baseboard, i.e. ARM11MPCore, ARM11MPCore Revision B
30 * and Cortex-A9 MPCore.
36 compatible = "arm,realview-eb-soc", "simple-bus";
40 /* Primary interrupt controller in the test chip */
41 intc: interrupt-controller@1f000100 {
42 compatible = "arm,eb11mp-gic";
43 #interrupt-cells = <3>;
46 reg = <0x1f001000 0x1000>,
50 /* Secondary interrupt controller on the FPGA */
51 intc_second: interrupt-controller@10040000 {
52 compatible = "arm,pl390";
53 #interrupt-cells = <3>;
56 reg = <0x10041000 0x1000>,
58 interrupt-parent = <&intc>;
59 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
63 compatible = "arm,l220-cache";
64 reg = <0x1f002000 0x1000>;
65 interrupt-parent = <&intc>;
66 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>,
67 <0 30 IRQ_TYPE_LEVEL_HIGH>,
68 <0 31 IRQ_TYPE_LEVEL_HIGH>;
72 * Override default cache size, sets and
73 * associativity as these may be erroneously set
74 * up by boot loader(s), probably for safety
75 * since th outer sync operation can cause the
76 * cache to hang unless disabled.
78 cache-size = <1048576>; // 1MB
80 cache-line-size = <32>;
83 arm,outer-sync-disable;
87 compatible = "arm,arm11mp-scu";
88 reg = <0x1f000000 0x100>;
91 twd_timer: timer@1f000600 {
92 compatible = "arm,arm11mp-twd-timer";
93 reg = <0x1f000600 0x20>;
94 interrupt-parent = <&intc>;
95 interrupts = <1 13 0xf04>;
98 twd_wdog: watchdog@1f000620 {
99 compatible = "arm,arm11mp-twd-wdt";
100 reg = <0x1f000620 0x20>;
101 interrupt-parent = <&intc>;
102 interrupts = <1 14 0xf04>;
105 /* PMU with one IRQ line per core */
107 compatible = "arm,arm11mpcore-pmu";
108 interrupt-parent = <&intc>;
109 interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH>,
110 <0 18 IRQ_TYPE_LEVEL_HIGH>,
111 <0 19 IRQ_TYPE_LEVEL_HIGH>,
112 <0 20 IRQ_TYPE_LEVEL_HIGH>;
118 * This adapts all the peripherals to the interrupt routing
119 * to the GIC on the core tile.
123 interrupt-parent = <&intc>;
124 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
128 interrupt-parent = <&intc>;
129 interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>;
133 interrupt-parent = <&intc>;
134 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
138 interrupt-parent = <&intc>;
139 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>,
140 <0 15 IRQ_TYPE_LEVEL_HIGH>;
144 interrupt-parent = <&intc>;
145 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
149 interrupt-parent = <&intc>;
150 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
154 interrupt-parent = <&intc>;
155 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
159 interrupt-parent = <&intc>;
160 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
164 interrupt-parent = <&intc>;
165 interrupts = <0 1 IRQ_TYPE_LEVEL_HIGH>;
169 interrupt-parent = <&intc>;
170 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
174 interrupt-parent = <&intc>;
175 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
179 * On revision A, these peripherals does not have their IRQ lines
180 * routed to the core tile, but they can be reached on the secondary
184 interrupt-parent = <&intc_second>;
185 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
189 interrupt-parent = <&intc_second>;
190 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
194 interrupt-parent = <&intc_second>;
195 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
199 interrupt-parent = <&intc_second>;
200 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
205 interrupt-parent = <&intc_second>;
206 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
211 interrupt-parent = <&intc_second>;
212 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
217 interrupt-parent = <&intc_second>;
218 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;