xref: /openbmc/linux/arch/arm64/boot/dts/arm/juno.dts (revision 55eb9a6c)
1/*
2 * ARM Ltd. Juno Platform
3 *
4 * Copyright (c) 2013-2014 ARM Ltd.
5 *
6 * This file is licensed under a dual GPLv2 or BSD license.
7 */
8
9/dts-v1/;
10
11#include <dt-bindings/interrupt-controller/arm-gic.h>
12#include <dt-bindings/arm/coresight-cti-dt.h>
13#include "juno-base.dtsi"
14
15/ {
16	model = "ARM Juno development board (r0)";
17	compatible = "arm,juno", "arm,vexpress";
18	interrupt-parent = <&gic>;
19	#address-cells = <2>;
20	#size-cells = <2>;
21
22	aliases {
23		serial0 = &soc_uart0;
24	};
25
26	chosen {
27		stdout-path = "serial0:115200n8";
28	};
29
30	psci {
31		compatible = "arm,psci-0.2";
32		method = "smc";
33	};
34
35	cpus {
36		#address-cells = <2>;
37		#size-cells = <0>;
38
39		cpu-map {
40			cluster0 {
41				core0 {
42					cpu = <&A57_0>;
43				};
44				core1 {
45					cpu = <&A57_1>;
46				};
47			};
48
49			cluster1 {
50				core0 {
51					cpu = <&A53_0>;
52				};
53				core1 {
54					cpu = <&A53_1>;
55				};
56				core2 {
57					cpu = <&A53_2>;
58				};
59				core3 {
60					cpu = <&A53_3>;
61				};
62			};
63		};
64
65		idle-states {
66			entry-method = "psci";
67
68			CPU_SLEEP_0: cpu-sleep-0 {
69				compatible = "arm,idle-state";
70				arm,psci-suspend-param = <0x0010000>;
71				local-timer-stop;
72				entry-latency-us = <300>;
73				exit-latency-us = <1200>;
74				min-residency-us = <2000>;
75			};
76
77			CLUSTER_SLEEP_0: cluster-sleep-0 {
78				compatible = "arm,idle-state";
79				arm,psci-suspend-param = <0x1010000>;
80				local-timer-stop;
81				entry-latency-us = <400>;
82				exit-latency-us = <1200>;
83				min-residency-us = <2500>;
84			};
85		};
86
87		A57_0: cpu@0 {
88			compatible = "arm,cortex-a57";
89			reg = <0x0 0x0>;
90			device_type = "cpu";
91			enable-method = "psci";
92			i-cache-size = <0xc000>;
93			i-cache-line-size = <64>;
94			i-cache-sets = <256>;
95			d-cache-size = <0x8000>;
96			d-cache-line-size = <64>;
97			d-cache-sets = <256>;
98			next-level-cache = <&A57_L2>;
99			clocks = <&scpi_dvfs 0>;
100			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
101			capacity-dmips-mhz = <1024>;
102			dynamic-power-coefficient = <530>;
103		};
104
105		A57_1: cpu@1 {
106			compatible = "arm,cortex-a57";
107			reg = <0x0 0x1>;
108			device_type = "cpu";
109			enable-method = "psci";
110			i-cache-size = <0xc000>;
111			i-cache-line-size = <64>;
112			i-cache-sets = <256>;
113			d-cache-size = <0x8000>;
114			d-cache-line-size = <64>;
115			d-cache-sets = <256>;
116			next-level-cache = <&A57_L2>;
117			clocks = <&scpi_dvfs 0>;
118			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
119			capacity-dmips-mhz = <1024>;
120			dynamic-power-coefficient = <530>;
121		};
122
123		A53_0: cpu@100 {
124			compatible = "arm,cortex-a53";
125			reg = <0x0 0x100>;
126			device_type = "cpu";
127			enable-method = "psci";
128			i-cache-size = <0x8000>;
129			i-cache-line-size = <64>;
130			i-cache-sets = <256>;
131			d-cache-size = <0x8000>;
132			d-cache-line-size = <64>;
133			d-cache-sets = <128>;
134			next-level-cache = <&A53_L2>;
135			clocks = <&scpi_dvfs 1>;
136			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
137			capacity-dmips-mhz = <578>;
138			dynamic-power-coefficient = <140>;
139		};
140
141		A53_1: cpu@101 {
142			compatible = "arm,cortex-a53";
143			reg = <0x0 0x101>;
144			device_type = "cpu";
145			enable-method = "psci";
146			i-cache-size = <0x8000>;
147			i-cache-line-size = <64>;
148			i-cache-sets = <256>;
149			d-cache-size = <0x8000>;
150			d-cache-line-size = <64>;
151			d-cache-sets = <128>;
152			next-level-cache = <&A53_L2>;
153			clocks = <&scpi_dvfs 1>;
154			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
155			capacity-dmips-mhz = <578>;
156			dynamic-power-coefficient = <140>;
157		};
158
159		A53_2: cpu@102 {
160			compatible = "arm,cortex-a53";
161			reg = <0x0 0x102>;
162			device_type = "cpu";
163			enable-method = "psci";
164			i-cache-size = <0x8000>;
165			i-cache-line-size = <64>;
166			i-cache-sets = <256>;
167			d-cache-size = <0x8000>;
168			d-cache-line-size = <64>;
169			d-cache-sets = <128>;
170			next-level-cache = <&A53_L2>;
171			clocks = <&scpi_dvfs 1>;
172			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
173			capacity-dmips-mhz = <578>;
174			dynamic-power-coefficient = <140>;
175		};
176
177		A53_3: cpu@103 {
178			compatible = "arm,cortex-a53";
179			reg = <0x0 0x103>;
180			device_type = "cpu";
181			enable-method = "psci";
182			i-cache-size = <0x8000>;
183			i-cache-line-size = <64>;
184			i-cache-sets = <256>;
185			d-cache-size = <0x8000>;
186			d-cache-line-size = <64>;
187			d-cache-sets = <128>;
188			next-level-cache = <&A53_L2>;
189			clocks = <&scpi_dvfs 1>;
190			cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
191			capacity-dmips-mhz = <578>;
192			dynamic-power-coefficient = <140>;
193		};
194
195		A57_L2: l2-cache0 {
196			compatible = "cache";
197			cache-size = <0x200000>;
198			cache-line-size = <64>;
199			cache-sets = <2048>;
200		};
201
202		A53_L2: l2-cache1 {
203			compatible = "cache";
204			cache-size = <0x100000>;
205			cache-line-size = <64>;
206			cache-sets = <1024>;
207		};
208	};
209
210	pmu-a57 {
211		compatible = "arm,cortex-a57-pmu";
212		interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
213			     <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
214		interrupt-affinity = <&A57_0>,
215				     <&A57_1>;
216	};
217
218	pmu-a53 {
219		compatible = "arm,cortex-a53-pmu";
220		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
221			     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
222			     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
223			     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
224		interrupt-affinity = <&A53_0>,
225				     <&A53_1>,
226				     <&A53_2>,
227				     <&A53_3>;
228	};
229};
230
231&etm0 {
232	cpu = <&A57_0>;
233};
234
235&etm1 {
236	cpu = <&A57_1>;
237};
238
239&etm2 {
240	cpu = <&A53_0>;
241};
242
243&etm3 {
244	cpu = <&A53_1>;
245};
246
247&etm4 {
248	cpu = <&A53_2>;
249};
250
251&etm5 {
252	cpu = <&A53_3>;
253};
254
255&etf0_out_port {
256	remote-endpoint = <&replicator_in_port0>;
257};
258
259&replicator_in_port0 {
260	remote-endpoint = <&etf0_out_port>;
261};
262
263&stm_out_port {
264	remote-endpoint = <&main_funnel_in_port2>;
265};
266
267&main_funnel_in_ports {
268	port@2 {
269		reg = <2>;
270		main_funnel_in_port2: endpoint {
271			remote-endpoint = <&stm_out_port>;
272		};
273	};
274};
275
276&cpu_debug0 {
277	cpu = <&A57_0>;
278};
279
280&cpu_debug1 {
281	cpu = <&A57_1>;
282};
283
284&cpu_debug2 {
285	cpu = <&A53_0>;
286};
287
288&cpu_debug3 {
289	cpu = <&A53_1>;
290};
291
292&cpu_debug4 {
293	cpu = <&A53_2>;
294};
295
296&cpu_debug5 {
297	cpu = <&A53_3>;
298};
299
300&cti0 {
301	cpu = <&A57_0>;
302};
303
304&cti1 {
305	cpu = <&A57_1>;
306};
307
308&cti2 {
309	cpu = <&A53_0>;
310};
311
312&cti3 {
313	cpu = <&A53_1>;
314};
315
316&cti4 {
317	cpu = <&A53_2>;
318};
319
320&cti5 {
321	cpu = <&A53_3>;
322};
323