xref: /freebsd/sys/contrib/device-tree/src/arm/qcom/qcom-apq8084.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/dts-v1/;
3f126890aSEmmanuel Vadot
4f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
5f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-apq8084.h>
6f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot/ {
9f126890aSEmmanuel Vadot	#address-cells = <1>;
10f126890aSEmmanuel Vadot	#size-cells = <1>;
11f126890aSEmmanuel Vadot	model = "Qualcomm APQ 8084";
12f126890aSEmmanuel Vadot	compatible = "qcom,apq8084";
13f126890aSEmmanuel Vadot	interrupt-parent = <&intc>;
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	reserved-memory {
16f126890aSEmmanuel Vadot		#address-cells = <1>;
17f126890aSEmmanuel Vadot		#size-cells = <1>;
18f126890aSEmmanuel Vadot		ranges;
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot		smem_mem: smem_region@fa00000 {
21f126890aSEmmanuel Vadot			reg = <0xfa00000 0x200000>;
22f126890aSEmmanuel Vadot			no-map;
23f126890aSEmmanuel Vadot		};
24f126890aSEmmanuel Vadot	};
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot	cpus {
27f126890aSEmmanuel Vadot		#address-cells = <1>;
28f126890aSEmmanuel Vadot		#size-cells = <0>;
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot		cpu@0 {
31f126890aSEmmanuel Vadot			device_type = "cpu";
32f126890aSEmmanuel Vadot			compatible = "qcom,krait";
33f126890aSEmmanuel Vadot			reg = <0>;
34f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
35f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
36f126890aSEmmanuel Vadot			qcom,acc = <&acc0>;
37f126890aSEmmanuel Vadot			qcom,saw = <&saw0>;
38f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
39f126890aSEmmanuel Vadot		};
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot		cpu@1 {
42f126890aSEmmanuel Vadot			device_type = "cpu";
43f126890aSEmmanuel Vadot			compatible = "qcom,krait";
44f126890aSEmmanuel Vadot			reg = <1>;
45f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
46f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
47f126890aSEmmanuel Vadot			qcom,acc = <&acc1>;
48f126890aSEmmanuel Vadot			qcom,saw = <&saw1>;
49f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
50f126890aSEmmanuel Vadot		};
51f126890aSEmmanuel Vadot
52f126890aSEmmanuel Vadot		cpu@2 {
53f126890aSEmmanuel Vadot			device_type = "cpu";
54f126890aSEmmanuel Vadot			compatible = "qcom,krait";
55f126890aSEmmanuel Vadot			reg = <2>;
56f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
57f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
58f126890aSEmmanuel Vadot			qcom,acc = <&acc2>;
59f126890aSEmmanuel Vadot			qcom,saw = <&saw2>;
60f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
61f126890aSEmmanuel Vadot		};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot		cpu@3 {
64f126890aSEmmanuel Vadot			device_type = "cpu";
65f126890aSEmmanuel Vadot			compatible = "qcom,krait";
66f126890aSEmmanuel Vadot			reg = <3>;
67f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
68f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
69f126890aSEmmanuel Vadot			qcom,acc = <&acc3>;
70f126890aSEmmanuel Vadot			qcom,saw = <&saw3>;
71f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
72f126890aSEmmanuel Vadot		};
73f126890aSEmmanuel Vadot
74f126890aSEmmanuel Vadot		L2: l2-cache {
75f126890aSEmmanuel Vadot			compatible = "cache";
76f126890aSEmmanuel Vadot			cache-level = <2>;
77f126890aSEmmanuel Vadot			cache-unified;
78f126890aSEmmanuel Vadot			qcom,saw = <&saw_l2>;
79f126890aSEmmanuel Vadot		};
80f126890aSEmmanuel Vadot
81f126890aSEmmanuel Vadot		idle-states {
82f126890aSEmmanuel Vadot			CPU_SPC: spc {
83f126890aSEmmanuel Vadot				compatible = "qcom,idle-state-spc",
84f126890aSEmmanuel Vadot						"arm,idle-state";
85f126890aSEmmanuel Vadot				entry-latency-us = <150>;
86f126890aSEmmanuel Vadot				exit-latency-us = <200>;
87f126890aSEmmanuel Vadot				min-residency-us = <2000>;
88f126890aSEmmanuel Vadot			};
89f126890aSEmmanuel Vadot		};
90f126890aSEmmanuel Vadot	};
91f126890aSEmmanuel Vadot
92f126890aSEmmanuel Vadot	memory {
93f126890aSEmmanuel Vadot		device_type = "memory";
94f126890aSEmmanuel Vadot		reg = <0x0 0x0>;
95f126890aSEmmanuel Vadot	};
96f126890aSEmmanuel Vadot
97f126890aSEmmanuel Vadot	firmware {
98f126890aSEmmanuel Vadot		scm {
99f126890aSEmmanuel Vadot			compatible = "qcom,scm-apq8084", "qcom,scm";
100f126890aSEmmanuel Vadot			clocks = <&gcc GCC_CE1_CLK> , <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>;
101f126890aSEmmanuel Vadot			clock-names = "core", "bus", "iface";
102f126890aSEmmanuel Vadot		};
103f126890aSEmmanuel Vadot	};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot	thermal-zones {
106f126890aSEmmanuel Vadot		cpu0-thermal {
107f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
108f126890aSEmmanuel Vadot			polling-delay = <1000>;
109f126890aSEmmanuel Vadot
110f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 5>;
111f126890aSEmmanuel Vadot
112f126890aSEmmanuel Vadot			trips {
113f126890aSEmmanuel Vadot				cpu_alert0: trip0 {
114f126890aSEmmanuel Vadot					temperature = <75000>;
115f126890aSEmmanuel Vadot					hysteresis = <2000>;
116f126890aSEmmanuel Vadot					type = "passive";
117f126890aSEmmanuel Vadot				};
118f126890aSEmmanuel Vadot				cpu_crit0: trip1 {
119f126890aSEmmanuel Vadot					temperature = <110000>;
120f126890aSEmmanuel Vadot					hysteresis = <2000>;
121f126890aSEmmanuel Vadot					type = "critical";
122f126890aSEmmanuel Vadot				};
123f126890aSEmmanuel Vadot			};
124f126890aSEmmanuel Vadot		};
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot		cpu1-thermal {
127f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
128f126890aSEmmanuel Vadot			polling-delay = <1000>;
129f126890aSEmmanuel Vadot
130f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 6>;
131f126890aSEmmanuel Vadot
132f126890aSEmmanuel Vadot			trips {
133f126890aSEmmanuel Vadot				cpu_alert1: trip0 {
134f126890aSEmmanuel Vadot					temperature = <75000>;
135f126890aSEmmanuel Vadot					hysteresis = <2000>;
136f126890aSEmmanuel Vadot					type = "passive";
137f126890aSEmmanuel Vadot				};
138f126890aSEmmanuel Vadot				cpu_crit1: trip1 {
139f126890aSEmmanuel Vadot					temperature = <110000>;
140f126890aSEmmanuel Vadot					hysteresis = <2000>;
141f126890aSEmmanuel Vadot					type = "critical";
142f126890aSEmmanuel Vadot				};
143f126890aSEmmanuel Vadot			};
144f126890aSEmmanuel Vadot		};
145f126890aSEmmanuel Vadot
146f126890aSEmmanuel Vadot		cpu2-thermal {
147f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
148f126890aSEmmanuel Vadot			polling-delay = <1000>;
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 7>;
151f126890aSEmmanuel Vadot
152f126890aSEmmanuel Vadot			trips {
153f126890aSEmmanuel Vadot				cpu_alert2: trip0 {
154f126890aSEmmanuel Vadot					temperature = <75000>;
155f126890aSEmmanuel Vadot					hysteresis = <2000>;
156f126890aSEmmanuel Vadot					type = "passive";
157f126890aSEmmanuel Vadot				};
158f126890aSEmmanuel Vadot				cpu_crit2: trip1 {
159f126890aSEmmanuel Vadot					temperature = <110000>;
160f126890aSEmmanuel Vadot					hysteresis = <2000>;
161f126890aSEmmanuel Vadot					type = "critical";
162f126890aSEmmanuel Vadot				};
163f126890aSEmmanuel Vadot			};
164f126890aSEmmanuel Vadot		};
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot		cpu3-thermal {
167f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
168f126890aSEmmanuel Vadot			polling-delay = <1000>;
169f126890aSEmmanuel Vadot
170f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 8>;
171f126890aSEmmanuel Vadot
172f126890aSEmmanuel Vadot			trips {
173f126890aSEmmanuel Vadot				cpu_alert3: trip0 {
174f126890aSEmmanuel Vadot					temperature = <75000>;
175f126890aSEmmanuel Vadot					hysteresis = <2000>;
176f126890aSEmmanuel Vadot					type = "passive";
177f126890aSEmmanuel Vadot				};
178f126890aSEmmanuel Vadot				cpu_crit3: trip1 {
179f126890aSEmmanuel Vadot					temperature = <110000>;
180f126890aSEmmanuel Vadot					hysteresis = <2000>;
181f126890aSEmmanuel Vadot					type = "critical";
182f126890aSEmmanuel Vadot				};
183f126890aSEmmanuel Vadot			};
184f126890aSEmmanuel Vadot		};
185f126890aSEmmanuel Vadot	};
186f126890aSEmmanuel Vadot
187f126890aSEmmanuel Vadot	cpu-pmu {
188f126890aSEmmanuel Vadot		compatible = "qcom,krait-pmu";
189f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 7 0xf04>;
190f126890aSEmmanuel Vadot	};
191f126890aSEmmanuel Vadot
192f126890aSEmmanuel Vadot	clocks {
193f126890aSEmmanuel Vadot		xo_board: xo_board {
194f126890aSEmmanuel Vadot			compatible = "fixed-clock";
195f126890aSEmmanuel Vadot			#clock-cells = <0>;
196f126890aSEmmanuel Vadot			clock-frequency = <19200000>;
197f126890aSEmmanuel Vadot		};
198f126890aSEmmanuel Vadot
199f126890aSEmmanuel Vadot		sleep_clk: sleep_clk {
200f126890aSEmmanuel Vadot			compatible = "fixed-clock";
201f126890aSEmmanuel Vadot			#clock-cells = <0>;
202f126890aSEmmanuel Vadot			clock-frequency = <32768>;
203f126890aSEmmanuel Vadot		};
204f126890aSEmmanuel Vadot	};
205f126890aSEmmanuel Vadot
206f126890aSEmmanuel Vadot	timer {
207f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
208f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 2 0xf08>,
209f126890aSEmmanuel Vadot			     <GIC_PPI 3 0xf08>,
210f126890aSEmmanuel Vadot			     <GIC_PPI 4 0xf08>,
211f126890aSEmmanuel Vadot			     <GIC_PPI 1 0xf08>;
212f126890aSEmmanuel Vadot		clock-frequency = <19200000>;
213f126890aSEmmanuel Vadot	};
214f126890aSEmmanuel Vadot
215f126890aSEmmanuel Vadot	smem {
216f126890aSEmmanuel Vadot		compatible = "qcom,smem";
217f126890aSEmmanuel Vadot
218f126890aSEmmanuel Vadot		qcom,rpm-msg-ram = <&rpm_msg_ram>;
219f126890aSEmmanuel Vadot		memory-region = <&smem_mem>;
220f126890aSEmmanuel Vadot
221f126890aSEmmanuel Vadot		hwlocks = <&tcsr_mutex 3>;
222f126890aSEmmanuel Vadot	};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot	soc: soc {
225f126890aSEmmanuel Vadot		#address-cells = <1>;
226f126890aSEmmanuel Vadot		#size-cells = <1>;
227f126890aSEmmanuel Vadot		ranges;
228f126890aSEmmanuel Vadot		compatible = "simple-bus";
229f126890aSEmmanuel Vadot
230f126890aSEmmanuel Vadot		intc: interrupt-controller@f9000000 {
231f126890aSEmmanuel Vadot			compatible = "qcom,msm-qgic2";
232f126890aSEmmanuel Vadot			interrupt-controller;
233f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
234f126890aSEmmanuel Vadot			reg = <0xf9000000 0x1000>,
235f126890aSEmmanuel Vadot			      <0xf9002000 0x1000>;
236f126890aSEmmanuel Vadot		};
237f126890aSEmmanuel Vadot
238f126890aSEmmanuel Vadot		apcs: syscon@f9011000 {
239f126890aSEmmanuel Vadot			compatible = "syscon";
240f126890aSEmmanuel Vadot			reg = <0xf9011000 0x1000>;
241f126890aSEmmanuel Vadot		};
242f126890aSEmmanuel Vadot
243f126890aSEmmanuel Vadot		sram@fc190000 {
244f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-rpm-stats";
245f126890aSEmmanuel Vadot			reg = <0xfc190000 0x10000>;
246f126890aSEmmanuel Vadot		};
247f126890aSEmmanuel Vadot
248f126890aSEmmanuel Vadot		qfprom: qfprom@fc4bc000 {
249f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-qfprom", "qcom,qfprom";
250f126890aSEmmanuel Vadot			reg = <0xfc4bc000 0x1000>;
251f126890aSEmmanuel Vadot			#address-cells = <1>;
252f126890aSEmmanuel Vadot			#size-cells = <1>;
253f126890aSEmmanuel Vadot
254f126890aSEmmanuel Vadot			tsens_base1: base1@d0 {
255f126890aSEmmanuel Vadot				reg = <0xd0 0x1>;
256f126890aSEmmanuel Vadot				bits = <0 8>;
257f126890aSEmmanuel Vadot			};
258f126890aSEmmanuel Vadot
259f126890aSEmmanuel Vadot			tsens_s0_p1: s0-p1@d1 {
260f126890aSEmmanuel Vadot				reg = <0xd1 0x1>;
261f126890aSEmmanuel Vadot				bits = <0 6>;
262f126890aSEmmanuel Vadot			};
263f126890aSEmmanuel Vadot
264f126890aSEmmanuel Vadot			tsens_s1_p1: s1-p1@d2 {
265f126890aSEmmanuel Vadot				reg = <0xd1 0x2>;
266f126890aSEmmanuel Vadot				bits = <6 6>;
267f126890aSEmmanuel Vadot			};
268f126890aSEmmanuel Vadot
269f126890aSEmmanuel Vadot			tsens_s2_p1: s2-p1@d2 {
270f126890aSEmmanuel Vadot				reg = <0xd2 0x2>;
271f126890aSEmmanuel Vadot				bits = <4 6>;
272f126890aSEmmanuel Vadot			};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot			tsens_s3_p1: s3-p1@d3 {
275f126890aSEmmanuel Vadot				reg = <0xd3 0x1>;
276f126890aSEmmanuel Vadot				bits = <2 6>;
277f126890aSEmmanuel Vadot			};
278f126890aSEmmanuel Vadot
279f126890aSEmmanuel Vadot			tsens_s4_p1: s4-p1@d4 {
280f126890aSEmmanuel Vadot				reg = <0xd4 0x1>;
281f126890aSEmmanuel Vadot				bits = <0 6>;
282f126890aSEmmanuel Vadot			};
283f126890aSEmmanuel Vadot
284f126890aSEmmanuel Vadot			tsens_s5_p1: s5-p1@d4 {
285f126890aSEmmanuel Vadot				reg = <0xd4 0x2>;
286f126890aSEmmanuel Vadot				bits = <6 6>;
287f126890aSEmmanuel Vadot			};
288f126890aSEmmanuel Vadot
289f126890aSEmmanuel Vadot			tsens_s6_p1: s6-p1@d5 {
290f126890aSEmmanuel Vadot				reg = <0xd5 0x2>;
291f126890aSEmmanuel Vadot				bits = <4 6>;
292f126890aSEmmanuel Vadot			};
293f126890aSEmmanuel Vadot
294f126890aSEmmanuel Vadot			tsens_s7_p1: s7-p1@d6 {
295f126890aSEmmanuel Vadot				reg = <0xd6 0x1>;
296f126890aSEmmanuel Vadot				bits = <2 6>;
297f126890aSEmmanuel Vadot			};
298f126890aSEmmanuel Vadot
299f126890aSEmmanuel Vadot			tsens_s8_p1: s8-p1@d7 {
300f126890aSEmmanuel Vadot				reg = <0xd7 0x1>;
301f126890aSEmmanuel Vadot				bits = <0 6>;
302f126890aSEmmanuel Vadot			};
303f126890aSEmmanuel Vadot
304f126890aSEmmanuel Vadot			tsens_mode: mode@d7 {
305f126890aSEmmanuel Vadot				reg = <0xd7 0x1>;
306f126890aSEmmanuel Vadot				bits = <6 2>;
307f126890aSEmmanuel Vadot			};
308f126890aSEmmanuel Vadot
309f126890aSEmmanuel Vadot			tsens_s9_p1: s9-p1@d8 {
310f126890aSEmmanuel Vadot				reg = <0xd8 0x1>;
311f126890aSEmmanuel Vadot				bits = <0 6>;
312f126890aSEmmanuel Vadot			};
313f126890aSEmmanuel Vadot
314f126890aSEmmanuel Vadot			tsens_s10_p1: s10_p1@d8 {
315f126890aSEmmanuel Vadot				reg = <0xd8 0x2>;
316f126890aSEmmanuel Vadot				bits = <6 6>;
317f126890aSEmmanuel Vadot			};
318f126890aSEmmanuel Vadot
319f126890aSEmmanuel Vadot			tsens_base2: base2@d9 {
320f126890aSEmmanuel Vadot				reg = <0xd9 0x2>;
321f126890aSEmmanuel Vadot				bits = <4 8>;
322f126890aSEmmanuel Vadot			};
323f126890aSEmmanuel Vadot
324f126890aSEmmanuel Vadot			tsens_s0_p2: s0-p2@da {
325f126890aSEmmanuel Vadot				reg = <0xda 0x2>;
326f126890aSEmmanuel Vadot				bits = <4 6>;
327f126890aSEmmanuel Vadot			};
328f126890aSEmmanuel Vadot
329f126890aSEmmanuel Vadot			tsens_s1_p2: s1-p2@db {
330f126890aSEmmanuel Vadot				reg = <0xdb 0x1>;
331f126890aSEmmanuel Vadot				bits = <2 6>;
332f126890aSEmmanuel Vadot			};
333f126890aSEmmanuel Vadot
334f126890aSEmmanuel Vadot			tsens_s2_p2: s2-p2@dc {
335f126890aSEmmanuel Vadot				reg = <0xdc 0x1>;
336f126890aSEmmanuel Vadot				bits = <0 6>;
337f126890aSEmmanuel Vadot			};
338f126890aSEmmanuel Vadot
339f126890aSEmmanuel Vadot			tsens_s3_p2: s3-p2@dc {
340f126890aSEmmanuel Vadot				reg = <0xdc 0x2>;
341f126890aSEmmanuel Vadot				bits = <6 6>;
342f126890aSEmmanuel Vadot			};
343f126890aSEmmanuel Vadot
344f126890aSEmmanuel Vadot			tsens_s4_p2: s4-p2@dd {
345f126890aSEmmanuel Vadot				reg = <0xdd 0x2>;
346f126890aSEmmanuel Vadot				bits = <4 6>;
347f126890aSEmmanuel Vadot			};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot			tsens_s5_p2: s5-p2@de {
350f126890aSEmmanuel Vadot				reg = <0xde 0x2>;
351f126890aSEmmanuel Vadot				bits = <2 6>;
352f126890aSEmmanuel Vadot			};
353f126890aSEmmanuel Vadot
354f126890aSEmmanuel Vadot			tsens_s6_p2: s6-p2@df {
355f126890aSEmmanuel Vadot				reg = <0xdf 0x1>;
356f126890aSEmmanuel Vadot				bits = <0 6>;
357f126890aSEmmanuel Vadot			};
358f126890aSEmmanuel Vadot
359f126890aSEmmanuel Vadot			tsens_s7_p2: s7-p2@e0 {
360f126890aSEmmanuel Vadot				reg = <0xe0 0x1>;
361f126890aSEmmanuel Vadot				bits = <0 6>;
362f126890aSEmmanuel Vadot			};
363f126890aSEmmanuel Vadot
364f126890aSEmmanuel Vadot			tsens_s8_p2: s8-p2@e0 {
365f126890aSEmmanuel Vadot				reg = <0xe0 0x2>;
366f126890aSEmmanuel Vadot				bits = <6 6>;
367f126890aSEmmanuel Vadot			};
368f126890aSEmmanuel Vadot
369f126890aSEmmanuel Vadot			tsens_s9_p2: s9-p2@e1 {
370f126890aSEmmanuel Vadot				reg = <0xe1 0x2>;
371f126890aSEmmanuel Vadot				bits = <4 6>;
372f126890aSEmmanuel Vadot			};
373f126890aSEmmanuel Vadot
374f126890aSEmmanuel Vadot			tsens_s10_p2: s10_p2@e2 {
375f126890aSEmmanuel Vadot				reg = <0xe2 0x2>;
376f126890aSEmmanuel Vadot				bits = <2 6>;
377f126890aSEmmanuel Vadot			};
378f126890aSEmmanuel Vadot
379f126890aSEmmanuel Vadot			tsens_s5_p2_backup: s5-p2_backup@e3 {
380f126890aSEmmanuel Vadot				reg = <0xe3 0x2>;
381f126890aSEmmanuel Vadot				bits = <0 6>;
382f126890aSEmmanuel Vadot			};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot			tsens_mode_backup: mode_backup@e3 {
385f126890aSEmmanuel Vadot				reg = <0xe3 0x1>;
386f126890aSEmmanuel Vadot				bits = <6 2>;
387f126890aSEmmanuel Vadot			};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot			tsens_s6_p2_backup: s6-p2_backup@e4 {
390f126890aSEmmanuel Vadot				reg = <0xe4 0x1>;
391f126890aSEmmanuel Vadot				bits = <0 6>;
392f126890aSEmmanuel Vadot			};
393f126890aSEmmanuel Vadot
394f126890aSEmmanuel Vadot			tsens_s7_p2_backup: s7-p2_backup@e4 {
395f126890aSEmmanuel Vadot				reg = <0xe4 0x2>;
396f126890aSEmmanuel Vadot				bits = <6 6>;
397f126890aSEmmanuel Vadot			};
398f126890aSEmmanuel Vadot
399f126890aSEmmanuel Vadot			tsens_s8_p2_backup: s8-p2_backup@e5 {
400f126890aSEmmanuel Vadot				reg = <0xe5 0x2>;
401f126890aSEmmanuel Vadot				bits = <4 6>;
402f126890aSEmmanuel Vadot			};
403f126890aSEmmanuel Vadot
404f126890aSEmmanuel Vadot			tsens_s9_p2_backup: s9-p2_backup@e6 {
405f126890aSEmmanuel Vadot				reg = <0xe6 0x2>;
406f126890aSEmmanuel Vadot				bits = <2 6>;
407f126890aSEmmanuel Vadot			};
408f126890aSEmmanuel Vadot
409f126890aSEmmanuel Vadot			tsens_s10_p2_backup: s10_p2_backup@e7 {
410f126890aSEmmanuel Vadot				reg = <0xe7 0x1>;
411f126890aSEmmanuel Vadot				bits = <0 6>;
412f126890aSEmmanuel Vadot			};
413f126890aSEmmanuel Vadot
414f126890aSEmmanuel Vadot			tsens_base1_backup: base1_backup@440 {
415f126890aSEmmanuel Vadot				reg = <0x440 0x1>;
416f126890aSEmmanuel Vadot				bits = <0 8>;
417f126890aSEmmanuel Vadot			};
418f126890aSEmmanuel Vadot
419f126890aSEmmanuel Vadot			tsens_s0_p1_backup: s0-p1_backup@441 {
420f126890aSEmmanuel Vadot				reg = <0x441 0x1>;
421f126890aSEmmanuel Vadot				bits = <0 6>;
422f126890aSEmmanuel Vadot			};
423f126890aSEmmanuel Vadot
424f126890aSEmmanuel Vadot			tsens_s1_p1_backup: s1-p1_backup@442 {
425f126890aSEmmanuel Vadot				reg = <0x441 0x2>;
426f126890aSEmmanuel Vadot				bits = <6 6>;
427f126890aSEmmanuel Vadot			};
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot			tsens_s2_p1_backup: s2-p1_backup@442 {
430f126890aSEmmanuel Vadot				reg = <0x442 0x2>;
431f126890aSEmmanuel Vadot				bits = <4 6>;
432f126890aSEmmanuel Vadot			};
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot			tsens_s3_p1_backup: s3-p1_backup@443 {
435f126890aSEmmanuel Vadot				reg = <0x443 0x1>;
436f126890aSEmmanuel Vadot				bits = <2 6>;
437f126890aSEmmanuel Vadot			};
438f126890aSEmmanuel Vadot
439f126890aSEmmanuel Vadot			tsens_s4_p1_backup: s4-p1_backup@444 {
440f126890aSEmmanuel Vadot				reg = <0x444 0x1>;
441f126890aSEmmanuel Vadot				bits = <0 6>;
442f126890aSEmmanuel Vadot			};
443f126890aSEmmanuel Vadot
444f126890aSEmmanuel Vadot			tsens_s5_p1_backup: s5-p1_backup@444 {
445f126890aSEmmanuel Vadot				reg = <0x444 0x2>;
446f126890aSEmmanuel Vadot				bits = <6 6>;
447f126890aSEmmanuel Vadot			};
448f126890aSEmmanuel Vadot
449f126890aSEmmanuel Vadot			tsens_s6_p1_backup: s6-p1_backup@445 {
450f126890aSEmmanuel Vadot				reg = <0x445 0x2>;
451f126890aSEmmanuel Vadot				bits = <4 6>;
452f126890aSEmmanuel Vadot			};
453f126890aSEmmanuel Vadot
454f126890aSEmmanuel Vadot			tsens_s7_p1_backup: s7-p1_backup@446 {
455f126890aSEmmanuel Vadot				reg = <0x446 0x1>;
456f126890aSEmmanuel Vadot				bits = <2 6>;
457f126890aSEmmanuel Vadot			};
458f126890aSEmmanuel Vadot
459f126890aSEmmanuel Vadot			tsens_use_backup: use_backup@447 {
460f126890aSEmmanuel Vadot				reg = <0x447 0x1>;
461f126890aSEmmanuel Vadot				bits = <5 3>;
462f126890aSEmmanuel Vadot			};
463f126890aSEmmanuel Vadot
464f126890aSEmmanuel Vadot			tsens_s8_p1_backup: s8-p1_backup@448 {
465f126890aSEmmanuel Vadot				reg = <0x448 0x1>;
466f126890aSEmmanuel Vadot				bits = <0 6>;
467f126890aSEmmanuel Vadot			};
468f126890aSEmmanuel Vadot
469f126890aSEmmanuel Vadot			tsens_s9_p1_backup: s9-p1_backup@448 {
470f126890aSEmmanuel Vadot				reg = <0x448 0x2>;
471f126890aSEmmanuel Vadot				bits = <6 6>;
472f126890aSEmmanuel Vadot			};
473f126890aSEmmanuel Vadot
474f126890aSEmmanuel Vadot			tsens_s10_p1_backup: s10_p1_backup@449 {
475f126890aSEmmanuel Vadot				reg = <0x449 0x2>;
476f126890aSEmmanuel Vadot				bits = <4 6>;
477f126890aSEmmanuel Vadot			};
478f126890aSEmmanuel Vadot
479f126890aSEmmanuel Vadot			tsens_base2_backup: base2_backup@44a {
480f126890aSEmmanuel Vadot				reg = <0x44a 0x2>;
481f126890aSEmmanuel Vadot				bits = <2 8>;
482f126890aSEmmanuel Vadot			};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot			tsens_s0_p2_backup: s0-p2_backup@44b {
485f126890aSEmmanuel Vadot				reg = <0x44b 0x3>;
486f126890aSEmmanuel Vadot				bits = <2 6>;
487f126890aSEmmanuel Vadot			};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot			tsens_s1_p2_backup: s1-p2_backup@44c {
490f126890aSEmmanuel Vadot				reg = <0x44c 0x1>;
491f126890aSEmmanuel Vadot				bits = <0 6>;
492f126890aSEmmanuel Vadot			};
493f126890aSEmmanuel Vadot
494f126890aSEmmanuel Vadot			tsens_s2_p2_backup: s2-p2_backup@44c {
495f126890aSEmmanuel Vadot				reg = <0x44c 0x2>;
496f126890aSEmmanuel Vadot				bits = <6 6>;
497f126890aSEmmanuel Vadot			};
498f126890aSEmmanuel Vadot
499f126890aSEmmanuel Vadot			tsens_s3_p2_backup: s3-p2_backup@44d {
500f126890aSEmmanuel Vadot				reg = <0x44d 0x2>;
501f126890aSEmmanuel Vadot				bits = <4 6>;
502f126890aSEmmanuel Vadot			};
503f126890aSEmmanuel Vadot
504f126890aSEmmanuel Vadot			tsens_s4_p2_backup: s4-p2_backup@44e {
505f126890aSEmmanuel Vadot				reg = <0x44e 0x1>;
506f126890aSEmmanuel Vadot				bits = <2 6>;
507f126890aSEmmanuel Vadot			};
508f126890aSEmmanuel Vadot		};
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot		tsens: thermal-sensor@fc4a9000 {
511f126890aSEmmanuel Vadot			compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
512f126890aSEmmanuel Vadot			reg = <0xfc4a9000 0x1000>, /* TM */
513f126890aSEmmanuel Vadot			      <0xfc4a8000 0x1000>; /* SROT */
514f126890aSEmmanuel Vadot			nvmem-cells = <&tsens_mode>,
515f126890aSEmmanuel Vadot				      <&tsens_base1>, <&tsens_base2>,
516f126890aSEmmanuel Vadot				      <&tsens_use_backup>,
517f126890aSEmmanuel Vadot				      <&tsens_mode_backup>,
518f126890aSEmmanuel Vadot				      <&tsens_base1_backup>, <&tsens_base2_backup>,
519f126890aSEmmanuel Vadot				      <&tsens_s0_p1>, <&tsens_s0_p2>,
520f126890aSEmmanuel Vadot				      <&tsens_s1_p1>, <&tsens_s1_p2>,
521f126890aSEmmanuel Vadot				      <&tsens_s2_p1>, <&tsens_s2_p2>,
522f126890aSEmmanuel Vadot				      <&tsens_s3_p1>, <&tsens_s3_p2>,
523f126890aSEmmanuel Vadot				      <&tsens_s4_p1>, <&tsens_s4_p2>,
524f126890aSEmmanuel Vadot				      <&tsens_s5_p1>, <&tsens_s5_p2>,
525f126890aSEmmanuel Vadot				      <&tsens_s6_p1>, <&tsens_s6_p2>,
526f126890aSEmmanuel Vadot				      <&tsens_s7_p1>, <&tsens_s7_p2>,
527f126890aSEmmanuel Vadot				      <&tsens_s8_p1>, <&tsens_s8_p2>,
528f126890aSEmmanuel Vadot				      <&tsens_s9_p1>, <&tsens_s9_p2>,
529f126890aSEmmanuel Vadot				      <&tsens_s10_p1>, <&tsens_s10_p2>,
530f126890aSEmmanuel Vadot				      <&tsens_s0_p1_backup>, <&tsens_s0_p2_backup>,
531f126890aSEmmanuel Vadot				      <&tsens_s1_p1_backup>, <&tsens_s1_p2_backup>,
532f126890aSEmmanuel Vadot				      <&tsens_s2_p1_backup>, <&tsens_s2_p2_backup>,
533f126890aSEmmanuel Vadot				      <&tsens_s3_p1_backup>, <&tsens_s3_p2_backup>,
534f126890aSEmmanuel Vadot				      <&tsens_s4_p1_backup>, <&tsens_s4_p2_backup>,
535f126890aSEmmanuel Vadot				      <&tsens_s5_p1_backup>, <&tsens_s5_p2_backup>,
536f126890aSEmmanuel Vadot				      <&tsens_s6_p1_backup>, <&tsens_s6_p2_backup>,
537f126890aSEmmanuel Vadot				      <&tsens_s7_p1_backup>, <&tsens_s7_p2_backup>,
538f126890aSEmmanuel Vadot				      <&tsens_s8_p1_backup>, <&tsens_s8_p2_backup>,
539f126890aSEmmanuel Vadot				      <&tsens_s9_p1_backup>, <&tsens_s9_p2_backup>,
540f126890aSEmmanuel Vadot				      <&tsens_s10_p1_backup>, <&tsens_s10_p2_backup>;
541f126890aSEmmanuel Vadot			nvmem-cell-names = "mode",
542f126890aSEmmanuel Vadot					   "base1", "base2",
543f126890aSEmmanuel Vadot					   "use_backup",
544f126890aSEmmanuel Vadot					   "mode_backup",
545f126890aSEmmanuel Vadot					   "base1_backup", "base2_backup",
546f126890aSEmmanuel Vadot					   "s0_p1", "s0_p2",
547f126890aSEmmanuel Vadot					   "s1_p1", "s1_p2",
548f126890aSEmmanuel Vadot					   "s2_p1", "s2_p2",
549f126890aSEmmanuel Vadot					   "s3_p1", "s3_p2",
550f126890aSEmmanuel Vadot					   "s4_p1", "s4_p2",
551f126890aSEmmanuel Vadot					   "s5_p1", "s5_p2",
552f126890aSEmmanuel Vadot					   "s6_p1", "s6_p2",
553f126890aSEmmanuel Vadot					   "s7_p1", "s7_p2",
554f126890aSEmmanuel Vadot					   "s8_p1", "s8_p2",
555f126890aSEmmanuel Vadot					   "s9_p1", "s9_p2",
556f126890aSEmmanuel Vadot					   "s10_p1", "s10_p2",
557f126890aSEmmanuel Vadot					   "s0_p1_backup", "s0_p2_backup",
558f126890aSEmmanuel Vadot					   "s1_p1_backup", "s1_p2_backup",
559f126890aSEmmanuel Vadot					   "s2_p1_backup", "s2_p2_backup",
560f126890aSEmmanuel Vadot					   "s3_p1_backup", "s3_p2_backup",
561f126890aSEmmanuel Vadot					   "s4_p1_backup", "s4_p2_backup",
562f126890aSEmmanuel Vadot					   "s5_p1_backup", "s5_p2_backup",
563f126890aSEmmanuel Vadot					   "s6_p1_backup", "s6_p2_backup",
564f126890aSEmmanuel Vadot					   "s7_p1_backup", "s7_p2_backup",
565f126890aSEmmanuel Vadot					   "s8_p1_backup", "s8_p2_backup",
566f126890aSEmmanuel Vadot					   "s9_p1_backup", "s9_p2_backup",
567f126890aSEmmanuel Vadot					   "s10_p1_backup", "s10_p2_backup";
568f126890aSEmmanuel Vadot			#qcom,sensors = <11>;
569f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
570f126890aSEmmanuel Vadot			interrupt-names = "uplow";
571f126890aSEmmanuel Vadot			#thermal-sensor-cells = <1>;
572f126890aSEmmanuel Vadot		};
573f126890aSEmmanuel Vadot		timer@f9020000 {
574f126890aSEmmanuel Vadot			#address-cells = <1>;
575f126890aSEmmanuel Vadot			#size-cells = <1>;
576f126890aSEmmanuel Vadot			ranges;
577f126890aSEmmanuel Vadot			compatible = "arm,armv7-timer-mem";
578f126890aSEmmanuel Vadot			reg = <0xf9020000 0x1000>;
579f126890aSEmmanuel Vadot			clock-frequency = <19200000>;
580f126890aSEmmanuel Vadot
581f126890aSEmmanuel Vadot			frame@f9021000 {
582f126890aSEmmanuel Vadot				frame-number = <0>;
583f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
584f126890aSEmmanuel Vadot					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
585f126890aSEmmanuel Vadot				reg = <0xf9021000 0x1000>,
586f126890aSEmmanuel Vadot				      <0xf9022000 0x1000>;
587f126890aSEmmanuel Vadot			};
588f126890aSEmmanuel Vadot
589f126890aSEmmanuel Vadot			frame@f9023000 {
590f126890aSEmmanuel Vadot				frame-number = <1>;
591f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
592f126890aSEmmanuel Vadot				reg = <0xf9023000 0x1000>;
593f126890aSEmmanuel Vadot				status = "disabled";
594f126890aSEmmanuel Vadot			};
595f126890aSEmmanuel Vadot
596f126890aSEmmanuel Vadot			frame@f9024000 {
597f126890aSEmmanuel Vadot				frame-number = <2>;
598f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
599f126890aSEmmanuel Vadot				reg = <0xf9024000 0x1000>;
600f126890aSEmmanuel Vadot				status = "disabled";
601f126890aSEmmanuel Vadot			};
602f126890aSEmmanuel Vadot
603f126890aSEmmanuel Vadot			frame@f9025000 {
604f126890aSEmmanuel Vadot				frame-number = <3>;
605f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
606f126890aSEmmanuel Vadot				reg = <0xf9025000 0x1000>;
607f126890aSEmmanuel Vadot				status = "disabled";
608f126890aSEmmanuel Vadot			};
609f126890aSEmmanuel Vadot
610f126890aSEmmanuel Vadot			frame@f9026000 {
611f126890aSEmmanuel Vadot				frame-number = <4>;
612f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
613f126890aSEmmanuel Vadot				reg = <0xf9026000 0x1000>;
614f126890aSEmmanuel Vadot				status = "disabled";
615f126890aSEmmanuel Vadot			};
616f126890aSEmmanuel Vadot
617f126890aSEmmanuel Vadot			frame@f9027000 {
618f126890aSEmmanuel Vadot				frame-number = <5>;
619f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
620f126890aSEmmanuel Vadot				reg = <0xf9027000 0x1000>;
621f126890aSEmmanuel Vadot				status = "disabled";
622f126890aSEmmanuel Vadot			};
623f126890aSEmmanuel Vadot
624f126890aSEmmanuel Vadot			frame@f9028000 {
625f126890aSEmmanuel Vadot				frame-number = <6>;
626f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
627f126890aSEmmanuel Vadot				reg = <0xf9028000 0x1000>;
628f126890aSEmmanuel Vadot				status = "disabled";
629f126890aSEmmanuel Vadot			};
630f126890aSEmmanuel Vadot		};
631f126890aSEmmanuel Vadot
632f126890aSEmmanuel Vadot		saw0: power-controller@f9089000 {
633f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
634f126890aSEmmanuel Vadot			reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>;
635f126890aSEmmanuel Vadot		};
636f126890aSEmmanuel Vadot
637f126890aSEmmanuel Vadot		saw1: power-controller@f9099000 {
638f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
639f126890aSEmmanuel Vadot			reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>;
640f126890aSEmmanuel Vadot		};
641f126890aSEmmanuel Vadot
642f126890aSEmmanuel Vadot		saw2: power-controller@f90a9000 {
643f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
644f126890aSEmmanuel Vadot			reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>;
645f126890aSEmmanuel Vadot		};
646f126890aSEmmanuel Vadot
647f126890aSEmmanuel Vadot		saw3: power-controller@f90b9000 {
648f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-saw2-v2.1-cpu", "qcom,saw2";
649f126890aSEmmanuel Vadot			reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
650f126890aSEmmanuel Vadot		};
651f126890aSEmmanuel Vadot
652f126890aSEmmanuel Vadot		saw_l2: power-controller@f9012000 {
653f126890aSEmmanuel Vadot			compatible = "qcom,saw2";
654f126890aSEmmanuel Vadot			reg = <0xf9012000 0x1000>;
655f126890aSEmmanuel Vadot			regulator;
656f126890aSEmmanuel Vadot		};
657f126890aSEmmanuel Vadot
658f126890aSEmmanuel Vadot		acc0: power-manager@f9088000 {
659f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
660f126890aSEmmanuel Vadot			reg = <0xf9088000 0x1000>,
661f126890aSEmmanuel Vadot			      <0xf9008000 0x1000>;
662f126890aSEmmanuel Vadot		};
663f126890aSEmmanuel Vadot
664f126890aSEmmanuel Vadot		acc1: power-manager@f9098000 {
665f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
666f126890aSEmmanuel Vadot			reg = <0xf9098000 0x1000>,
667f126890aSEmmanuel Vadot			      <0xf9008000 0x1000>;
668f126890aSEmmanuel Vadot		};
669f126890aSEmmanuel Vadot
670f126890aSEmmanuel Vadot		acc2: power-manager@f90a8000 {
671f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
672f126890aSEmmanuel Vadot			reg = <0xf90a8000 0x1000>,
673f126890aSEmmanuel Vadot			      <0xf9008000 0x1000>;
674f126890aSEmmanuel Vadot		};
675f126890aSEmmanuel Vadot
676f126890aSEmmanuel Vadot		acc3: power-manager@f90b8000 {
677f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
678f126890aSEmmanuel Vadot			reg = <0xf90b8000 0x1000>,
679f126890aSEmmanuel Vadot			      <0xf9008000 0x1000>;
680f126890aSEmmanuel Vadot		};
681f126890aSEmmanuel Vadot
682f126890aSEmmanuel Vadot		restart@fc4ab000 {
683f126890aSEmmanuel Vadot			compatible = "qcom,pshold";
684f126890aSEmmanuel Vadot			reg = <0xfc4ab000 0x4>;
685f126890aSEmmanuel Vadot		};
686f126890aSEmmanuel Vadot
687f126890aSEmmanuel Vadot		gcc: clock-controller@fc400000 {
688f126890aSEmmanuel Vadot			compatible = "qcom,gcc-apq8084";
689f126890aSEmmanuel Vadot			#clock-cells = <1>;
690f126890aSEmmanuel Vadot			#reset-cells = <1>;
691f126890aSEmmanuel Vadot			#power-domain-cells = <1>;
692f126890aSEmmanuel Vadot			reg = <0xfc400000 0x4000>;
693f126890aSEmmanuel Vadot			clocks = <&xo_board>,
694f126890aSEmmanuel Vadot				 <&sleep_clk>,
695f126890aSEmmanuel Vadot				 <0>, /* ufs */
696f126890aSEmmanuel Vadot				 <0>,
697f126890aSEmmanuel Vadot				 <0>,
698f126890aSEmmanuel Vadot				 <0>,
699f126890aSEmmanuel Vadot				 <0>, /* sata */
700f126890aSEmmanuel Vadot				 <0>,
701f126890aSEmmanuel Vadot				 <0>; /* pcie */
702f126890aSEmmanuel Vadot			clock-names = "xo",
703f126890aSEmmanuel Vadot				      "sleep_clk",
704f126890aSEmmanuel Vadot				      "ufs_rx_symbol_0_clk_src",
705f126890aSEmmanuel Vadot				      "ufs_rx_symbol_1_clk_src",
706f126890aSEmmanuel Vadot				      "ufs_tx_symbol_0_clk_src",
707f126890aSEmmanuel Vadot				      "ufs_tx_symbol_1_clk_src",
708f126890aSEmmanuel Vadot				      "sata_asic0_clk",
709f126890aSEmmanuel Vadot				      "sata_rx_clk",
710f126890aSEmmanuel Vadot				      "pcie_pipe";
711f126890aSEmmanuel Vadot		};
712f126890aSEmmanuel Vadot
713f126890aSEmmanuel Vadot		tcsr_mutex: hwlock@fd484000 {
714f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-tcsr-mutex", "qcom,tcsr-mutex";
715f126890aSEmmanuel Vadot			reg = <0xfd484000 0x1000>;
716f126890aSEmmanuel Vadot			#hwlock-cells = <1>;
717f126890aSEmmanuel Vadot		};
718f126890aSEmmanuel Vadot
719f126890aSEmmanuel Vadot		rpm_msg_ram: sram@fc428000 {
720f126890aSEmmanuel Vadot			compatible = "qcom,rpm-msg-ram";
721f126890aSEmmanuel Vadot			reg = <0xfc428000 0x4000>;
722f126890aSEmmanuel Vadot		};
723f126890aSEmmanuel Vadot
724f126890aSEmmanuel Vadot		tlmm: pinctrl@fd510000 {
725f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-pinctrl";
726f126890aSEmmanuel Vadot			reg = <0xfd510000 0x4000>;
727f126890aSEmmanuel Vadot			gpio-controller;
728f126890aSEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 147>;
729f126890aSEmmanuel Vadot			#gpio-cells = <2>;
730f126890aSEmmanuel Vadot			interrupt-controller;
731f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
732f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
733f126890aSEmmanuel Vadot		};
734f126890aSEmmanuel Vadot
735f126890aSEmmanuel Vadot		blsp2_uart2: serial@f995e000 {
736f126890aSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
737f126890aSEmmanuel Vadot			reg = <0xf995e000 0x1000>;
738f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
739f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
740f126890aSEmmanuel Vadot			clock-names = "core", "iface";
741f126890aSEmmanuel Vadot			status = "disabled";
742f126890aSEmmanuel Vadot		};
743f126890aSEmmanuel Vadot
744f126890aSEmmanuel Vadot		sdhc_1: mmc@f9824900 {
745f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-sdhci", "qcom,sdhci-msm-v4";
746f126890aSEmmanuel Vadot			reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
747f126890aSEmmanuel Vadot			reg-names = "hc", "core";
748f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
749f126890aSEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
750f126890aSEmmanuel Vadot			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
751f126890aSEmmanuel Vadot				 <&gcc GCC_SDCC1_APPS_CLK>,
752f126890aSEmmanuel Vadot				 <&xo_board>;
753f126890aSEmmanuel Vadot			clock-names = "iface", "core", "xo";
754f126890aSEmmanuel Vadot			status = "disabled";
755f126890aSEmmanuel Vadot		};
756f126890aSEmmanuel Vadot
757f126890aSEmmanuel Vadot		sdhc_2: mmc@f98a4900 {
758f126890aSEmmanuel Vadot			compatible = "qcom,apq8084-sdhci", "qcom,sdhci-msm-v4";
759f126890aSEmmanuel Vadot			reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
760f126890aSEmmanuel Vadot			reg-names = "hc", "core";
761f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
762f126890aSEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
763f126890aSEmmanuel Vadot			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
764f126890aSEmmanuel Vadot				 <&gcc GCC_SDCC2_APPS_CLK>,
765f126890aSEmmanuel Vadot				 <&xo_board>;
766f126890aSEmmanuel Vadot			clock-names = "iface", "core", "xo";
767f126890aSEmmanuel Vadot			status = "disabled";
768f126890aSEmmanuel Vadot		};
769f126890aSEmmanuel Vadot
770f126890aSEmmanuel Vadot		spmi_bus: spmi@fc4cf000 {
771f126890aSEmmanuel Vadot			compatible = "qcom,spmi-pmic-arb";
772f126890aSEmmanuel Vadot			reg-names = "core", "intr", "cnfg";
773f126890aSEmmanuel Vadot			reg = <0xfc4cf000 0x1000>,
774f126890aSEmmanuel Vadot			      <0xfc4cb000 0x1000>,
775f126890aSEmmanuel Vadot			      <0xfc4ca000 0x1000>;
776f126890aSEmmanuel Vadot			interrupt-names = "periph_irq";
777f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
778f126890aSEmmanuel Vadot			qcom,ee = <0>;
779f126890aSEmmanuel Vadot			qcom,channel = <0>;
780f126890aSEmmanuel Vadot			#address-cells = <2>;
781f126890aSEmmanuel Vadot			#size-cells = <0>;
782f126890aSEmmanuel Vadot			interrupt-controller;
783f126890aSEmmanuel Vadot			#interrupt-cells = <4>;
784f126890aSEmmanuel Vadot		};
785f126890aSEmmanuel Vadot	};
786f126890aSEmmanuel Vadot
787*aa1a8ff2SEmmanuel Vadot	rpm: remoteproc {
788*aa1a8ff2SEmmanuel Vadot		compatible = "qcom,apq8084-rpm-proc", "qcom,rpm-proc";
789f126890aSEmmanuel Vadot
790*aa1a8ff2SEmmanuel Vadot		smd-edge {
791f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
792f126890aSEmmanuel Vadot			qcom,ipc = <&apcs 8 0>;
793f126890aSEmmanuel Vadot			qcom,smd-edge = <15>;
794f126890aSEmmanuel Vadot
795f126890aSEmmanuel Vadot			rpm-requests {
796f126890aSEmmanuel Vadot				compatible = "qcom,rpm-apq8084";
797f126890aSEmmanuel Vadot				qcom,smd-channels = "rpm_requests";
798f126890aSEmmanuel Vadot
799f126890aSEmmanuel Vadot				regulators-0 {
800f126890aSEmmanuel Vadot					compatible = "qcom,rpm-pma8084-regulators";
801f126890aSEmmanuel Vadot
802f126890aSEmmanuel Vadot					pma8084_s1: s1 {};
803f126890aSEmmanuel Vadot					pma8084_s2: s2 {};
804f126890aSEmmanuel Vadot					pma8084_s3: s3 {};
805f126890aSEmmanuel Vadot					pma8084_s4: s4 {};
806f126890aSEmmanuel Vadot					pma8084_s5: s5 {};
807f126890aSEmmanuel Vadot					pma8084_s6: s6 {};
808f126890aSEmmanuel Vadot					pma8084_s7: s7 {};
809f126890aSEmmanuel Vadot					pma8084_s8: s8 {};
810f126890aSEmmanuel Vadot					pma8084_s9: s9 {};
811f126890aSEmmanuel Vadot					pma8084_s10: s10 {};
812f126890aSEmmanuel Vadot					pma8084_s11: s11 {};
813f126890aSEmmanuel Vadot					pma8084_s12: s12 {};
814f126890aSEmmanuel Vadot
815f126890aSEmmanuel Vadot					pma8084_l1: l1 {};
816f126890aSEmmanuel Vadot					pma8084_l2: l2 {};
817f126890aSEmmanuel Vadot					pma8084_l3: l3 {};
818f126890aSEmmanuel Vadot					pma8084_l4: l4 {};
819f126890aSEmmanuel Vadot					pma8084_l5: l5 {};
820f126890aSEmmanuel Vadot					pma8084_l6: l6 {};
821f126890aSEmmanuel Vadot					pma8084_l7: l7 {};
822f126890aSEmmanuel Vadot					pma8084_l8: l8 {};
823f126890aSEmmanuel Vadot					pma8084_l9: l9 {};
824f126890aSEmmanuel Vadot					pma8084_l10: l10 {};
825f126890aSEmmanuel Vadot					pma8084_l11: l11 {};
826f126890aSEmmanuel Vadot					pma8084_l12: l12 {};
827f126890aSEmmanuel Vadot					pma8084_l13: l13 {};
828f126890aSEmmanuel Vadot					pma8084_l14: l14 {};
829f126890aSEmmanuel Vadot					pma8084_l15: l15 {};
830f126890aSEmmanuel Vadot					pma8084_l16: l16 {};
831f126890aSEmmanuel Vadot					pma8084_l17: l17 {};
832f126890aSEmmanuel Vadot					pma8084_l18: l18 {};
833f126890aSEmmanuel Vadot					pma8084_l19: l19 {};
834f126890aSEmmanuel Vadot					pma8084_l20: l20 {};
835f126890aSEmmanuel Vadot					pma8084_l21: l21 {};
836f126890aSEmmanuel Vadot					pma8084_l22: l22 {};
837f126890aSEmmanuel Vadot					pma8084_l23: l23 {};
838f126890aSEmmanuel Vadot					pma8084_l24: l24 {};
839f126890aSEmmanuel Vadot					pma8084_l25: l25 {};
840f126890aSEmmanuel Vadot					pma8084_l26: l26 {};
841f126890aSEmmanuel Vadot					pma8084_l27: l27 {};
842f126890aSEmmanuel Vadot
843f126890aSEmmanuel Vadot					pma8084_lvs1: lvs1 {};
844f126890aSEmmanuel Vadot					pma8084_lvs2: lvs2 {};
845f126890aSEmmanuel Vadot					pma8084_lvs3: lvs3 {};
846f126890aSEmmanuel Vadot					pma8084_lvs4: lvs4 {};
847f126890aSEmmanuel Vadot
848f126890aSEmmanuel Vadot					pma8084_5vs1: 5vs1 {};
849f126890aSEmmanuel Vadot				};
850f126890aSEmmanuel Vadot			};
851f126890aSEmmanuel Vadot		};
852f126890aSEmmanuel Vadot	};
853f126890aSEmmanuel Vadot};
854