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