xref: /openbmc/linux/arch/arm64/boot/dts/arm/juno-r2.dts (revision e7bae9bb)
1/*
2 * ARM Ltd. Juno Platform
3 *
4 * Copyright (c) 2015 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 "juno-base.dtsi"
13#include "juno-cs-r1r2.dtsi"
14
15/ {
16	model = "ARM Juno development board (r2)";
17	compatible = "arm,juno-r2", "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 = <&A72_0>;
43				};
44				core1 {
45					cpu = <&A72_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		A72_0: cpu@0 {
88			compatible = "arm,cortex-a72";
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 = <&A72_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 = <450>;
103		};
104
105		A72_1: cpu@1 {
106			compatible = "arm,cortex-a72";
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 = <&A72_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 = <450>;
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 = <485>;
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 = <485>;
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 = <485>;
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 = <485>;
192			dynamic-power-coefficient = <140>;
193		};
194
195		A72_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-a72 {
211		compatible = "arm,cortex-a72-pmu";
212		interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
213			     <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
214		interrupt-affinity = <&A72_0>,
215				     <&A72_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&memtimer {
232	status = "okay";
233};
234
235&pcie_ctlr {
236	status = "okay";
237};
238
239&etm0 {
240	cpu = <&A72_0>;
241};
242
243&etm1 {
244	cpu = <&A72_1>;
245};
246
247&etm2 {
248	cpu = <&A53_0>;
249};
250
251&etm3 {
252	cpu = <&A53_1>;
253};
254
255&etm4 {
256	cpu = <&A53_2>;
257};
258
259&etm5 {
260	cpu = <&A53_3>;
261};
262
263&big_cluster_thermal_zone {
264	status = "okay";
265};
266
267&little_cluster_thermal_zone {
268	status = "okay";
269};
270
271&gpu0_thermal_zone {
272	status = "okay";
273};
274
275&gpu1_thermal_zone {
276	status = "okay";
277};
278
279&etf0_out_port {
280	remote-endpoint = <&csys2_funnel_in_port0>;
281};
282
283&replicator_in_port0 {
284	remote-endpoint = <&csys2_funnel_out_port>;
285};
286
287&csys1_funnel_in_port0 {
288	remote-endpoint = <&stm_out_port>;
289};
290
291&stm_out_port {
292	remote-endpoint = <&csys1_funnel_in_port0>;
293};
294
295&cpu_debug0 {
296	cpu = <&A72_0>;
297};
298
299&cpu_debug1 {
300	cpu = <&A72_1>;
301};
302
303&cpu_debug2 {
304	cpu = <&A53_0>;
305};
306
307&cpu_debug3 {
308	cpu = <&A53_1>;
309};
310
311&cpu_debug4 {
312	cpu = <&A53_2>;
313};
314
315&cpu_debug5 {
316	cpu = <&A53_3>;
317};
318