xref: /openbmc/linux/arch/arm64/boot/dts/arm/juno.dts (revision f052febd)
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			cache-level = <2>;
201		};
202
203		A53_L2: l2-cache1 {
204			compatible = "cache";
205			cache-size = <0x100000>;
206			cache-line-size = <64>;
207			cache-sets = <1024>;
208			cache-level = <2>;
209		};
210	};
211
212	pmu-a57 {
213		compatible = "arm,cortex-a57-pmu";
214		interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
215			     <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
216		interrupt-affinity = <&A57_0>,
217				     <&A57_1>;
218	};
219
220	pmu-a53 {
221		compatible = "arm,cortex-a53-pmu";
222		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
223			     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
224			     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
225			     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
226		interrupt-affinity = <&A53_0>,
227				     <&A53_1>,
228				     <&A53_2>,
229				     <&A53_3>;
230	};
231};
232
233&etm0 {
234	cpu = <&A57_0>;
235};
236
237&etm1 {
238	cpu = <&A57_1>;
239};
240
241&etm2 {
242	cpu = <&A53_0>;
243};
244
245&etm3 {
246	cpu = <&A53_1>;
247};
248
249&etm4 {
250	cpu = <&A53_2>;
251};
252
253&etm5 {
254	cpu = <&A53_3>;
255};
256
257&etf0_out_port {
258	remote-endpoint = <&replicator_in_port0>;
259};
260
261&replicator_in_port0 {
262	remote-endpoint = <&etf0_out_port>;
263};
264
265&stm_out_port {
266	remote-endpoint = <&main_funnel_in_port2>;
267};
268
269&main_funnel_in_ports {
270	port@2 {
271		reg = <2>;
272		main_funnel_in_port2: endpoint {
273			remote-endpoint = <&stm_out_port>;
274		};
275	};
276};
277
278&cpu_debug0 {
279	cpu = <&A57_0>;
280};
281
282&cpu_debug1 {
283	cpu = <&A57_1>;
284};
285
286&cpu_debug2 {
287	cpu = <&A53_0>;
288};
289
290&cpu_debug3 {
291	cpu = <&A53_1>;
292};
293
294&cpu_debug4 {
295	cpu = <&A53_2>;
296};
297
298&cpu_debug5 {
299	cpu = <&A53_3>;
300};
301
302&cti0 {
303	cpu = <&A57_0>;
304};
305
306&cti1 {
307	cpu = <&A57_1>;
308};
309
310&cti2 {
311	cpu = <&A53_0>;
312};
313
314&cti3 {
315	cpu = <&A53_1>;
316};
317
318&cti4 {
319	cpu = <&A53_2>;
320};
321
322&cti5 {
323	cpu = <&A53_3>;
324};
325