xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974.dtsi (revision 4960e06d386ecc5307bc2e66a77d5f06df1e2a6f)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring
4724ba675SRob Herring#include <dt-bindings/interconnect/qcom,msm8974.h>
5724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
6724ba675SRob Herring#include <dt-bindings/clock/qcom,gcc-msm8974.h>
7724ba675SRob Herring#include <dt-bindings/clock/qcom,mmcc-msm8974.h>
8724ba675SRob Herring#include <dt-bindings/clock/qcom,rpmcc.h>
9724ba675SRob Herring#include <dt-bindings/reset/qcom,gcc-msm8974.h>
10724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	#address-cells = <1>;
14724ba675SRob Herring	#size-cells = <1>;
15724ba675SRob Herring	interrupt-parent = <&intc>;
16724ba675SRob Herring
17724ba675SRob Herring	clocks {
18724ba675SRob Herring		xo_board: xo_board {
19724ba675SRob Herring			compatible = "fixed-clock";
20724ba675SRob Herring			#clock-cells = <0>;
21724ba675SRob Herring			clock-frequency = <19200000>;
22724ba675SRob Herring		};
23724ba675SRob Herring
24724ba675SRob Herring		sleep_clk: sleep_clk {
25724ba675SRob Herring			compatible = "fixed-clock";
26724ba675SRob Herring			#clock-cells = <0>;
27724ba675SRob Herring			clock-frequency = <32768>;
28724ba675SRob Herring		};
29724ba675SRob Herring	};
30724ba675SRob Herring
31724ba675SRob Herring	cpus {
32724ba675SRob Herring		#address-cells = <1>;
33724ba675SRob Herring		#size-cells = <0>;
34724ba675SRob Herring		interrupts = <GIC_PPI 9 0xf04>;
35724ba675SRob Herring
36724ba675SRob Herring		CPU0: cpu@0 {
37724ba675SRob Herring			compatible = "qcom,krait";
38724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
39724ba675SRob Herring			device_type = "cpu";
40724ba675SRob Herring			reg = <0>;
41724ba675SRob Herring			next-level-cache = <&L2>;
42724ba675SRob Herring			qcom,acc = <&acc0>;
43724ba675SRob Herring			qcom,saw = <&saw0>;
44724ba675SRob Herring			cpu-idle-states = <&CPU_SPC>;
45724ba675SRob Herring		};
46724ba675SRob Herring
47724ba675SRob Herring		CPU1: cpu@1 {
48724ba675SRob Herring			compatible = "qcom,krait";
49724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
50724ba675SRob Herring			device_type = "cpu";
51724ba675SRob Herring			reg = <1>;
52724ba675SRob Herring			next-level-cache = <&L2>;
53724ba675SRob Herring			qcom,acc = <&acc1>;
54724ba675SRob Herring			qcom,saw = <&saw1>;
55724ba675SRob Herring			cpu-idle-states = <&CPU_SPC>;
56724ba675SRob Herring		};
57724ba675SRob Herring
58724ba675SRob Herring		CPU2: cpu@2 {
59724ba675SRob Herring			compatible = "qcom,krait";
60724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
61724ba675SRob Herring			device_type = "cpu";
62724ba675SRob Herring			reg = <2>;
63724ba675SRob Herring			next-level-cache = <&L2>;
64724ba675SRob Herring			qcom,acc = <&acc2>;
65724ba675SRob Herring			qcom,saw = <&saw2>;
66724ba675SRob Herring			cpu-idle-states = <&CPU_SPC>;
67724ba675SRob Herring		};
68724ba675SRob Herring
69724ba675SRob Herring		CPU3: cpu@3 {
70724ba675SRob Herring			compatible = "qcom,krait";
71724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
72724ba675SRob Herring			device_type = "cpu";
73724ba675SRob Herring			reg = <3>;
74724ba675SRob Herring			next-level-cache = <&L2>;
75724ba675SRob Herring			qcom,acc = <&acc3>;
76724ba675SRob Herring			qcom,saw = <&saw3>;
77724ba675SRob Herring			cpu-idle-states = <&CPU_SPC>;
78724ba675SRob Herring		};
79724ba675SRob Herring
80724ba675SRob Herring		L2: l2-cache {
81724ba675SRob Herring			compatible = "cache";
82724ba675SRob Herring			cache-level = <2>;
836c1561fbSLinus Torvalds			cache-unified;
84724ba675SRob Herring			qcom,saw = <&saw_l2>;
85724ba675SRob Herring		};
86724ba675SRob Herring
87724ba675SRob Herring		idle-states {
88724ba675SRob Herring			CPU_SPC: spc {
89724ba675SRob Herring				compatible = "qcom,idle-state-spc",
90724ba675SRob Herring						"arm,idle-state";
91724ba675SRob Herring				entry-latency-us = <150>;
92724ba675SRob Herring				exit-latency-us = <200>;
93724ba675SRob Herring				min-residency-us = <2000>;
94724ba675SRob Herring			};
95724ba675SRob Herring		};
96724ba675SRob Herring	};
97724ba675SRob Herring
98724ba675SRob Herring	firmware {
99724ba675SRob Herring		scm {
100724ba675SRob Herring			compatible = "qcom,scm-msm8974", "qcom,scm";
101724ba675SRob Herring			clocks = <&gcc GCC_CE1_CLK>, <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>;
102724ba675SRob Herring			clock-names = "core", "bus", "iface";
103724ba675SRob Herring		};
104724ba675SRob Herring	};
105724ba675SRob Herring
106724ba675SRob Herring	memory {
107724ba675SRob Herring		device_type = "memory";
108724ba675SRob Herring		reg = <0x0 0x0>;
109724ba675SRob Herring	};
110724ba675SRob Herring
111724ba675SRob Herring	pmu {
112724ba675SRob Herring		compatible = "qcom,krait-pmu";
113724ba675SRob Herring		interrupts = <GIC_PPI 7 0xf04>;
114724ba675SRob Herring	};
115724ba675SRob Herring
116b471a1bcSStephan Gerhold	rpm: remoteproc {
117b471a1bcSStephan Gerhold		compatible = "qcom,msm8974-rpm-proc", "qcom,rpm-proc";
118b471a1bcSStephan Gerhold
11902c58ac7SMatti Lehtimäki		master-stats {
12002c58ac7SMatti Lehtimäki			compatible = "qcom,rpm-master-stats";
12102c58ac7SMatti Lehtimäki			qcom,rpm-msg-ram = <&apss_master_stats>,
12202c58ac7SMatti Lehtimäki					   <&mpss_master_stats>,
12302c58ac7SMatti Lehtimäki					   <&lpss_master_stats>,
12402c58ac7SMatti Lehtimäki					   <&pronto_master_stats>;
12502c58ac7SMatti Lehtimäki			qcom,master-names = "APSS",
12602c58ac7SMatti Lehtimäki					    "MPSS",
12702c58ac7SMatti Lehtimäki					    "LPSS",
12802c58ac7SMatti Lehtimäki					    "PRONTO";
12902c58ac7SMatti Lehtimäki		};
13002c58ac7SMatti Lehtimäki
131b471a1bcSStephan Gerhold		smd-edge {
132b471a1bcSStephan Gerhold			interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
133b471a1bcSStephan Gerhold			qcom,ipc = <&apcs 8 0>;
134b471a1bcSStephan Gerhold			qcom,smd-edge = <15>;
135b471a1bcSStephan Gerhold
136b471a1bcSStephan Gerhold			rpm_requests: rpm-requests {
137b471a1bcSStephan Gerhold				compatible = "qcom,rpm-msm8974";
138b471a1bcSStephan Gerhold				qcom,smd-channels = "rpm_requests";
139b471a1bcSStephan Gerhold
140b471a1bcSStephan Gerhold				rpmcc: clock-controller {
141b471a1bcSStephan Gerhold					compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc";
142b471a1bcSStephan Gerhold					#clock-cells = <1>;
143b471a1bcSStephan Gerhold					clocks = <&xo_board>;
144b471a1bcSStephan Gerhold					clock-names = "xo";
145b471a1bcSStephan Gerhold				};
146b471a1bcSStephan Gerhold			};
147b471a1bcSStephan Gerhold		};
148b471a1bcSStephan Gerhold	};
149b471a1bcSStephan Gerhold
150724ba675SRob Herring	reserved-memory {
151724ba675SRob Herring		#address-cells = <1>;
152724ba675SRob Herring		#size-cells = <1>;
153724ba675SRob Herring		ranges;
154724ba675SRob Herring
155724ba675SRob Herring		mpss_region: mpss@8000000 {
156724ba675SRob Herring			reg = <0x08000000 0x5100000>;
157724ba675SRob Herring			no-map;
158724ba675SRob Herring		};
159724ba675SRob Herring
160724ba675SRob Herring		mba_region: mba@d100000 {
161724ba675SRob Herring			reg = <0x0d100000 0x100000>;
162724ba675SRob Herring			no-map;
163724ba675SRob Herring		};
164724ba675SRob Herring
165724ba675SRob Herring		wcnss_region: wcnss@d200000 {
166724ba675SRob Herring			reg = <0x0d200000 0xa00000>;
167724ba675SRob Herring			no-map;
168724ba675SRob Herring		};
169724ba675SRob Herring
170724ba675SRob Herring		adsp_region: adsp@dc00000 {
171724ba675SRob Herring			reg = <0x0dc00000 0x1900000>;
172724ba675SRob Herring			no-map;
173724ba675SRob Herring		};
174724ba675SRob Herring
175724ba675SRob Herring		venus_region: memory@f500000 {
176724ba675SRob Herring			reg = <0x0f500000 0x500000>;
177724ba675SRob Herring			no-map;
178724ba675SRob Herring		};
179724ba675SRob Herring
180724ba675SRob Herring		smem_region: smem@fa00000 {
181724ba675SRob Herring			reg = <0xfa00000 0x200000>;
182724ba675SRob Herring			no-map;
183724ba675SRob Herring		};
184724ba675SRob Herring
185724ba675SRob Herring		tz_region: memory@fc00000 {
186724ba675SRob Herring			reg = <0x0fc00000 0x160000>;
187724ba675SRob Herring			no-map;
188724ba675SRob Herring		};
189724ba675SRob Herring
190724ba675SRob Herring		rfsa_mem: memory@fd60000 {
191724ba675SRob Herring			reg = <0x0fd60000 0x20000>;
192724ba675SRob Herring			no-map;
193724ba675SRob Herring		};
194724ba675SRob Herring
195724ba675SRob Herring		rmtfs@fd80000 {
196724ba675SRob Herring			compatible = "qcom,rmtfs-mem";
197724ba675SRob Herring			reg = <0x0fd80000 0x180000>;
198724ba675SRob Herring			no-map;
199724ba675SRob Herring
200724ba675SRob Herring			qcom,client-id = <1>;
201724ba675SRob Herring		};
202724ba675SRob Herring	};
203724ba675SRob Herring
204724ba675SRob Herring	smem {
205724ba675SRob Herring		compatible = "qcom,smem";
206724ba675SRob Herring
207724ba675SRob Herring		memory-region = <&smem_region>;
208724ba675SRob Herring		qcom,rpm-msg-ram = <&rpm_msg_ram>;
209724ba675SRob Herring
210724ba675SRob Herring		hwlocks = <&tcsr_mutex 3>;
211724ba675SRob Herring	};
212724ba675SRob Herring
213724ba675SRob Herring	smp2p-adsp {
214724ba675SRob Herring		compatible = "qcom,smp2p";
215724ba675SRob Herring		qcom,smem = <443>, <429>;
216724ba675SRob Herring
217724ba675SRob Herring		interrupt-parent = <&intc>;
218724ba675SRob Herring		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
219724ba675SRob Herring
220724ba675SRob Herring		qcom,ipc = <&apcs 8 10>;
221724ba675SRob Herring
222724ba675SRob Herring		qcom,local-pid = <0>;
223724ba675SRob Herring		qcom,remote-pid = <2>;
224724ba675SRob Herring
225724ba675SRob Herring		adsp_smp2p_out: master-kernel {
226724ba675SRob Herring			qcom,entry-name = "master-kernel";
227724ba675SRob Herring			#qcom,smem-state-cells = <1>;
228724ba675SRob Herring		};
229724ba675SRob Herring
230724ba675SRob Herring		adsp_smp2p_in: slave-kernel {
231724ba675SRob Herring			qcom,entry-name = "slave-kernel";
232724ba675SRob Herring
233724ba675SRob Herring			interrupt-controller;
234724ba675SRob Herring			#interrupt-cells = <2>;
235724ba675SRob Herring		};
236724ba675SRob Herring	};
237724ba675SRob Herring
238724ba675SRob Herring	smp2p-modem {
239724ba675SRob Herring		compatible = "qcom,smp2p";
240724ba675SRob Herring		qcom,smem = <435>, <428>;
241724ba675SRob Herring
242724ba675SRob Herring		interrupt-parent = <&intc>;
243724ba675SRob Herring		interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
244724ba675SRob Herring
245724ba675SRob Herring		qcom,ipc = <&apcs 8 14>;
246724ba675SRob Herring
247724ba675SRob Herring		qcom,local-pid = <0>;
248724ba675SRob Herring		qcom,remote-pid = <1>;
249724ba675SRob Herring
250724ba675SRob Herring		modem_smp2p_out: master-kernel {
251724ba675SRob Herring			qcom,entry-name = "master-kernel";
252724ba675SRob Herring			#qcom,smem-state-cells = <1>;
253724ba675SRob Herring		};
254724ba675SRob Herring
255724ba675SRob Herring		modem_smp2p_in: slave-kernel {
256724ba675SRob Herring			qcom,entry-name = "slave-kernel";
257724ba675SRob Herring
258724ba675SRob Herring			interrupt-controller;
259724ba675SRob Herring			#interrupt-cells = <2>;
260724ba675SRob Herring		};
261724ba675SRob Herring	};
262724ba675SRob Herring
263724ba675SRob Herring	smp2p-wcnss {
264724ba675SRob Herring		compatible = "qcom,smp2p";
265724ba675SRob Herring		qcom,smem = <451>, <431>;
266724ba675SRob Herring
267724ba675SRob Herring		interrupt-parent = <&intc>;
268724ba675SRob Herring		interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
269724ba675SRob Herring
270724ba675SRob Herring		qcom,ipc = <&apcs 8 18>;
271724ba675SRob Herring
272724ba675SRob Herring		qcom,local-pid = <0>;
273724ba675SRob Herring		qcom,remote-pid = <4>;
274724ba675SRob Herring
275724ba675SRob Herring		wcnss_smp2p_out: master-kernel {
276724ba675SRob Herring			qcom,entry-name = "master-kernel";
277724ba675SRob Herring
278724ba675SRob Herring			#qcom,smem-state-cells = <1>;
279724ba675SRob Herring		};
280724ba675SRob Herring
281724ba675SRob Herring		wcnss_smp2p_in: slave-kernel {
282724ba675SRob Herring			qcom,entry-name = "slave-kernel";
283724ba675SRob Herring
284724ba675SRob Herring			interrupt-controller;
285724ba675SRob Herring			#interrupt-cells = <2>;
286724ba675SRob Herring		};
287724ba675SRob Herring	};
288724ba675SRob Herring
289724ba675SRob Herring	smsm {
290724ba675SRob Herring		compatible = "qcom,smsm";
291724ba675SRob Herring
292724ba675SRob Herring		#address-cells = <1>;
293724ba675SRob Herring		#size-cells = <0>;
294724ba675SRob Herring
295724ba675SRob Herring		qcom,ipc-1 = <&apcs 8 13>;
296724ba675SRob Herring		qcom,ipc-2 = <&apcs 8 9>;
297724ba675SRob Herring		qcom,ipc-3 = <&apcs 8 19>;
298724ba675SRob Herring
299724ba675SRob Herring		apps_smsm: apps@0 {
300724ba675SRob Herring			reg = <0>;
301724ba675SRob Herring
302724ba675SRob Herring			#qcom,smem-state-cells = <1>;
303724ba675SRob Herring		};
304724ba675SRob Herring
305724ba675SRob Herring		modem_smsm: modem@1 {
306724ba675SRob Herring			reg = <1>;
307724ba675SRob Herring			interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
308724ba675SRob Herring
309724ba675SRob Herring			interrupt-controller;
310724ba675SRob Herring			#interrupt-cells = <2>;
311724ba675SRob Herring		};
312724ba675SRob Herring
313724ba675SRob Herring		adsp_smsm: adsp@2 {
314724ba675SRob Herring			reg = <2>;
315724ba675SRob Herring			interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
316724ba675SRob Herring
317724ba675SRob Herring			interrupt-controller;
318724ba675SRob Herring			#interrupt-cells = <2>;
319724ba675SRob Herring		};
320724ba675SRob Herring
321724ba675SRob Herring		wcnss_smsm: wcnss@7 {
322724ba675SRob Herring			reg = <7>;
323724ba675SRob Herring			interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
324724ba675SRob Herring
325724ba675SRob Herring			interrupt-controller;
326724ba675SRob Herring			#interrupt-cells = <2>;
327724ba675SRob Herring		};
328724ba675SRob Herring	};
329724ba675SRob Herring
330724ba675SRob Herring	soc: soc {
331724ba675SRob Herring		#address-cells = <1>;
332724ba675SRob Herring		#size-cells = <1>;
333724ba675SRob Herring		ranges;
334724ba675SRob Herring		compatible = "simple-bus";
335724ba675SRob Herring
336724ba675SRob Herring		intc: interrupt-controller@f9000000 {
337724ba675SRob Herring			compatible = "qcom,msm-qgic2";
338724ba675SRob Herring			interrupt-controller;
339724ba675SRob Herring			#interrupt-cells = <3>;
340724ba675SRob Herring			reg = <0xf9000000 0x1000>,
341724ba675SRob Herring			      <0xf9002000 0x1000>;
342724ba675SRob Herring		};
343724ba675SRob Herring
344724ba675SRob Herring		apcs: syscon@f9011000 {
345724ba675SRob Herring			compatible = "syscon";
346724ba675SRob Herring			reg = <0xf9011000 0x1000>;
347724ba675SRob Herring		};
348724ba675SRob Herring
349*4960e06dSLuca Weiss		saw_l2: power-controller@f9012000 {
350*4960e06dSLuca Weiss			compatible = "qcom,saw2";
351*4960e06dSLuca Weiss			reg = <0xf9012000 0x1000>;
352*4960e06dSLuca Weiss			regulator;
353*4960e06dSLuca Weiss		};
354*4960e06dSLuca Weiss
355724ba675SRob Herring		timer@f9020000 {
356724ba675SRob Herring			#address-cells = <1>;
357724ba675SRob Herring			#size-cells = <1>;
358724ba675SRob Herring			ranges;
359724ba675SRob Herring			compatible = "arm,armv7-timer-mem";
360724ba675SRob Herring			reg = <0xf9020000 0x1000>;
361724ba675SRob Herring			clock-frequency = <19200000>;
362724ba675SRob Herring
363724ba675SRob Herring			frame@f9021000 {
364724ba675SRob Herring				frame-number = <0>;
365724ba675SRob Herring				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
366724ba675SRob Herring					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
367724ba675SRob Herring				reg = <0xf9021000 0x1000>,
368724ba675SRob Herring				      <0xf9022000 0x1000>;
369724ba675SRob Herring			};
370724ba675SRob Herring
371724ba675SRob Herring			frame@f9023000 {
372724ba675SRob Herring				frame-number = <1>;
373724ba675SRob Herring				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
374724ba675SRob Herring				reg = <0xf9023000 0x1000>;
375724ba675SRob Herring				status = "disabled";
376724ba675SRob Herring			};
377724ba675SRob Herring
378724ba675SRob Herring			frame@f9024000 {
379724ba675SRob Herring				frame-number = <2>;
380724ba675SRob Herring				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
381724ba675SRob Herring				reg = <0xf9024000 0x1000>;
382724ba675SRob Herring				status = "disabled";
383724ba675SRob Herring			};
384724ba675SRob Herring
385724ba675SRob Herring			frame@f9025000 {
386724ba675SRob Herring				frame-number = <3>;
387724ba675SRob Herring				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
388724ba675SRob Herring				reg = <0xf9025000 0x1000>;
389724ba675SRob Herring				status = "disabled";
390724ba675SRob Herring			};
391724ba675SRob Herring
392724ba675SRob Herring			frame@f9026000 {
393724ba675SRob Herring				frame-number = <4>;
394724ba675SRob Herring				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
395724ba675SRob Herring				reg = <0xf9026000 0x1000>;
396724ba675SRob Herring				status = "disabled";
397724ba675SRob Herring			};
398724ba675SRob Herring
399724ba675SRob Herring			frame@f9027000 {
400724ba675SRob Herring				frame-number = <5>;
401724ba675SRob Herring				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
402724ba675SRob Herring				reg = <0xf9027000 0x1000>;
403724ba675SRob Herring				status = "disabled";
404724ba675SRob Herring			};
405724ba675SRob Herring
406724ba675SRob Herring			frame@f9028000 {
407724ba675SRob Herring				frame-number = <6>;
408724ba675SRob Herring				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
409724ba675SRob Herring				reg = <0xf9028000 0x1000>;
410724ba675SRob Herring				status = "disabled";
411724ba675SRob Herring			};
412724ba675SRob Herring		};
413724ba675SRob Herring
414724ba675SRob Herring		acc0: power-manager@f9088000 {
415724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
416724ba675SRob Herring			reg = <0xf9088000 0x1000>, <0xf9008000 0x1000>;
417724ba675SRob Herring		};
418724ba675SRob Herring
419*4960e06dSLuca Weiss		saw0: power-controller@f9089000 {
420*4960e06dSLuca Weiss			compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
421*4960e06dSLuca Weiss			reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>;
422*4960e06dSLuca Weiss		};
423*4960e06dSLuca Weiss
424724ba675SRob Herring		acc1: power-manager@f9098000 {
425724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
426724ba675SRob Herring			reg = <0xf9098000 0x1000>, <0xf9008000 0x1000>;
427724ba675SRob Herring		};
428724ba675SRob Herring
429*4960e06dSLuca Weiss		saw1: power-controller@f9099000 {
430*4960e06dSLuca Weiss			compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
431*4960e06dSLuca Weiss			reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>;
432*4960e06dSLuca Weiss		};
433*4960e06dSLuca Weiss
434724ba675SRob Herring		acc2: power-manager@f90a8000 {
435724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
436724ba675SRob Herring			reg = <0xf90a8000 0x1000>, <0xf9008000 0x1000>;
437724ba675SRob Herring		};
438724ba675SRob Herring
439*4960e06dSLuca Weiss		saw2: power-controller@f90a9000 {
440*4960e06dSLuca Weiss			compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
441*4960e06dSLuca Weiss			reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>;
442*4960e06dSLuca Weiss		};
443*4960e06dSLuca Weiss
444724ba675SRob Herring		acc3: power-manager@f90b8000 {
445724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
446724ba675SRob Herring			reg = <0xf90b8000 0x1000>, <0xf9008000 0x1000>;
447724ba675SRob Herring		};
448724ba675SRob Herring
449*4960e06dSLuca Weiss		saw3: power-controller@f90b9000 {
450*4960e06dSLuca Weiss			compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
451*4960e06dSLuca Weiss			reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
452*4960e06dSLuca Weiss		};
453*4960e06dSLuca Weiss
454724ba675SRob Herring		sdhc_1: mmc@f9824900 {
455724ba675SRob Herring			compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
456724ba675SRob Herring			reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
457724ba675SRob Herring			reg-names = "hc", "core";
458724ba675SRob Herring			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
459724ba675SRob Herring				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
460724ba675SRob Herring			interrupt-names = "hc_irq", "pwr_irq";
461724ba675SRob Herring			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
462724ba675SRob Herring				 <&gcc GCC_SDCC1_APPS_CLK>,
463724ba675SRob Herring				 <&xo_board>;
464724ba675SRob Herring			clock-names = "iface", "core", "xo";
465724ba675SRob Herring			bus-width = <8>;
466724ba675SRob Herring			non-removable;
467724ba675SRob Herring
468724ba675SRob Herring			status = "disabled";
469724ba675SRob Herring		};
470724ba675SRob Herring
471724ba675SRob Herring		sdhc_3: mmc@f9864900 {
472724ba675SRob Herring			compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
473724ba675SRob Herring			reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
474724ba675SRob Herring			reg-names = "hc", "core";
475724ba675SRob Herring			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
476724ba675SRob Herring				     <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
477724ba675SRob Herring			interrupt-names = "hc_irq", "pwr_irq";
478724ba675SRob Herring			clocks = <&gcc GCC_SDCC3_AHB_CLK>,
479724ba675SRob Herring				 <&gcc GCC_SDCC3_APPS_CLK>,
480724ba675SRob Herring				 <&xo_board>;
481724ba675SRob Herring			clock-names = "iface", "core", "xo";
482724ba675SRob Herring			bus-width = <4>;
483724ba675SRob Herring
484724ba675SRob Herring			#address-cells = <1>;
485724ba675SRob Herring			#size-cells = <0>;
486724ba675SRob Herring
487724ba675SRob Herring			status = "disabled";
488724ba675SRob Herring		};
489724ba675SRob Herring
490724ba675SRob Herring		sdhc_2: mmc@f98a4900 {
491724ba675SRob Herring			compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
492724ba675SRob Herring			reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
493724ba675SRob Herring			reg-names = "hc", "core";
494724ba675SRob Herring			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
495724ba675SRob Herring				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
496724ba675SRob Herring			interrupt-names = "hc_irq", "pwr_irq";
497724ba675SRob Herring			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
498724ba675SRob Herring				 <&gcc GCC_SDCC2_APPS_CLK>,
499724ba675SRob Herring				 <&xo_board>;
500724ba675SRob Herring			clock-names = "iface", "core", "xo";
501724ba675SRob Herring			bus-width = <4>;
502724ba675SRob Herring
503724ba675SRob Herring			#address-cells = <1>;
504724ba675SRob Herring			#size-cells = <0>;
505724ba675SRob Herring
506724ba675SRob Herring			status = "disabled";
507724ba675SRob Herring		};
508724ba675SRob Herring
509724ba675SRob Herring		blsp1_uart1: serial@f991d000 {
510724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
511724ba675SRob Herring			reg = <0xf991d000 0x1000>;
512724ba675SRob Herring			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
513724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
514724ba675SRob Herring			clock-names = "core", "iface";
515724ba675SRob Herring			status = "disabled";
516724ba675SRob Herring		};
517724ba675SRob Herring
518724ba675SRob Herring		blsp1_uart2: serial@f991e000 {
519724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
520724ba675SRob Herring			reg = <0xf991e000 0x1000>;
521724ba675SRob Herring			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
522724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
523724ba675SRob Herring			clock-names = "core", "iface";
524724ba675SRob Herring			pinctrl-names = "default";
525724ba675SRob Herring			pinctrl-0 = <&blsp1_uart2_default>;
526724ba675SRob Herring			status = "disabled";
527724ba675SRob Herring		};
528724ba675SRob Herring
529724ba675SRob Herring		blsp1_i2c1: i2c@f9923000 {
530724ba675SRob Herring			status = "disabled";
531724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.1.1";
532724ba675SRob Herring			reg = <0xf9923000 0x1000>;
533724ba675SRob Herring			interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
534724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
535724ba675SRob Herring			clock-names = "core", "iface";
536724ba675SRob Herring			pinctrl-names = "default", "sleep";
537724ba675SRob Herring			pinctrl-0 = <&blsp1_i2c1_default>;
538724ba675SRob Herring			pinctrl-1 = <&blsp1_i2c1_sleep>;
539724ba675SRob Herring			#address-cells = <1>;
540724ba675SRob Herring			#size-cells = <0>;
541724ba675SRob Herring		};
542724ba675SRob Herring
543724ba675SRob Herring		blsp1_i2c2: i2c@f9924000 {
544724ba675SRob Herring			status = "disabled";
545724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.1.1";
546724ba675SRob Herring			reg = <0xf9924000 0x1000>;
547724ba675SRob Herring			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
548724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
549724ba675SRob Herring			clock-names = "core", "iface";
550724ba675SRob Herring			pinctrl-names = "default", "sleep";
551724ba675SRob Herring			pinctrl-0 = <&blsp1_i2c2_default>;
552724ba675SRob Herring			pinctrl-1 = <&blsp1_i2c2_sleep>;
553724ba675SRob Herring			#address-cells = <1>;
554724ba675SRob Herring			#size-cells = <0>;
555724ba675SRob Herring		};
556724ba675SRob Herring
557724ba675SRob Herring		blsp1_i2c3: i2c@f9925000 {
558724ba675SRob Herring			status = "disabled";
559724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.1.1";
560724ba675SRob Herring			reg = <0xf9925000 0x1000>;
561724ba675SRob Herring			interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>;
562724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
563724ba675SRob Herring			clock-names = "core", "iface";
564724ba675SRob Herring			pinctrl-names = "default", "sleep";
565724ba675SRob Herring			pinctrl-0 = <&blsp1_i2c3_default>;
566724ba675SRob Herring			pinctrl-1 = <&blsp1_i2c3_sleep>;
567724ba675SRob Herring			#address-cells = <1>;
568724ba675SRob Herring			#size-cells = <0>;
569724ba675SRob Herring		};
570724ba675SRob Herring
571724ba675SRob Herring		blsp1_i2c6: i2c@f9928000 {
572724ba675SRob Herring			status = "disabled";
573724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.1.1";
574724ba675SRob Herring			reg = <0xf9928000 0x1000>;
575724ba675SRob Herring			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
576724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
577724ba675SRob Herring			clock-names = "core", "iface";
578724ba675SRob Herring			pinctrl-names = "default", "sleep";
579724ba675SRob Herring			pinctrl-0 = <&blsp1_i2c6_default>;
580724ba675SRob Herring			pinctrl-1 = <&blsp1_i2c6_sleep>;
581724ba675SRob Herring			#address-cells = <1>;
582724ba675SRob Herring			#size-cells = <0>;
583724ba675SRob Herring		};
584724ba675SRob Herring
585724ba675SRob Herring		blsp2_dma: dma-controller@f9944000 {
586724ba675SRob Herring			compatible = "qcom,bam-v1.4.0";
587724ba675SRob Herring			reg = <0xf9944000 0x19000>;
588724ba675SRob Herring			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
589724ba675SRob Herring			clocks = <&gcc GCC_BLSP2_AHB_CLK>;
590724ba675SRob Herring			clock-names = "bam_clk";
591724ba675SRob Herring			#dma-cells = <1>;
592724ba675SRob Herring			qcom,ee = <0>;
593724ba675SRob Herring		};
594724ba675SRob Herring
595724ba675SRob Herring		blsp2_uart1: serial@f995d000 {
596724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
597724ba675SRob Herring			reg = <0xf995d000 0x1000>;
598724ba675SRob Herring			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
599724ba675SRob Herring			clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
600724ba675SRob Herring			clock-names = "core", "iface";
601724ba675SRob Herring			pinctrl-names = "default", "sleep";
602724ba675SRob Herring			pinctrl-0 = <&blsp2_uart1_default>;
603724ba675SRob Herring			pinctrl-1 = <&blsp2_uart1_sleep>;
604724ba675SRob Herring			status = "disabled";
605724ba675SRob Herring		};
606724ba675SRob Herring
607724ba675SRob Herring		blsp2_uart2: serial@f995e000 {
608724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
609724ba675SRob Herring			reg = <0xf995e000 0x1000>;
610724ba675SRob Herring			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
611724ba675SRob Herring			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
612724ba675SRob Herring			clock-names = "core", "iface";
613724ba675SRob Herring			status = "disabled";
614724ba675SRob Herring		};
615724ba675SRob Herring
616724ba675SRob Herring		blsp2_uart4: serial@f9960000 {
617724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
618724ba675SRob Herring			reg = <0xf9960000 0x1000>;
619724ba675SRob Herring			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
620724ba675SRob Herring			clocks = <&gcc GCC_BLSP2_UART4_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
621724ba675SRob Herring			clock-names = "core", "iface";
622724ba675SRob Herring			pinctrl-names = "default";
623724ba675SRob Herring			pinctrl-0 = <&blsp2_uart4_default>;
624724ba675SRob Herring			status = "disabled";
625724ba675SRob Herring		};
626724ba675SRob Herring
627724ba675SRob Herring		blsp2_i2c2: i2c@f9964000 {
628724ba675SRob Herring			status = "disabled";
629724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.1.1";
630724ba675SRob Herring			reg = <0xf9964000 0x1000>;
631724ba675SRob Herring			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
632724ba675SRob Herring			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
633724ba675SRob Herring			clock-names = "core", "iface";
634724ba675SRob Herring			pinctrl-names = "default", "sleep";
635724ba675SRob Herring			pinctrl-0 = <&blsp2_i2c2_default>;
636724ba675SRob Herring			pinctrl-1 = <&blsp2_i2c2_sleep>;
637724ba675SRob Herring			#address-cells = <1>;
638724ba675SRob Herring			#size-cells = <0>;
639724ba675SRob Herring		};
640724ba675SRob Herring
641724ba675SRob Herring		blsp2_i2c5: i2c@f9967000 {
642724ba675SRob Herring			status = "disabled";
643724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.1.1";
644724ba675SRob Herring			reg = <0xf9967000 0x1000>;
645724ba675SRob Herring			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
646724ba675SRob Herring			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
647724ba675SRob Herring			clock-names = "core", "iface";
648724ba675SRob Herring			dmas = <&blsp2_dma 20>, <&blsp2_dma 21>;
649724ba675SRob Herring			dma-names = "tx", "rx";
650724ba675SRob Herring			pinctrl-names = "default", "sleep";
651724ba675SRob Herring			pinctrl-0 = <&blsp2_i2c5_default>;
652724ba675SRob Herring			pinctrl-1 = <&blsp2_i2c5_sleep>;
653724ba675SRob Herring			#address-cells = <1>;
654724ba675SRob Herring			#size-cells = <0>;
655724ba675SRob Herring		};
656724ba675SRob Herring
657724ba675SRob Herring		blsp2_i2c6: i2c@f9968000 {
658724ba675SRob Herring			status = "disabled";
659724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.1.1";
660724ba675SRob Herring			reg = <0xf9968000 0x1000>;
661724ba675SRob Herring			interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
662724ba675SRob Herring			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
663724ba675SRob Herring			clock-names = "core", "iface";
664724ba675SRob Herring			pinctrl-names = "default", "sleep";
665724ba675SRob Herring			pinctrl-0 = <&blsp2_i2c6_default>;
666724ba675SRob Herring			pinctrl-1 = <&blsp2_i2c6_sleep>;
667724ba675SRob Herring			#address-cells = <1>;
668724ba675SRob Herring			#size-cells = <0>;
669724ba675SRob Herring		};
670724ba675SRob Herring
671724ba675SRob Herring		usb: usb@f9a55000 {
672724ba675SRob Herring			compatible = "qcom,ci-hdrc";
673724ba675SRob Herring			reg = <0xf9a55000 0x200>,
674724ba675SRob Herring			      <0xf9a55200 0x200>;
675724ba675SRob Herring			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
676724ba675SRob Herring			clocks = <&gcc GCC_USB_HS_AHB_CLK>,
677724ba675SRob Herring				 <&gcc GCC_USB_HS_SYSTEM_CLK>;
678724ba675SRob Herring			clock-names = "iface", "core";
679724ba675SRob Herring			assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
680724ba675SRob Herring			assigned-clock-rates = <75000000>;
681724ba675SRob Herring			resets = <&gcc GCC_USB_HS_BCR>;
682724ba675SRob Herring			reset-names = "core";
683724ba675SRob Herring			phy_type = "ulpi";
684724ba675SRob Herring			dr_mode = "otg";
685724ba675SRob Herring			ahb-burst-config = <0>;
686724ba675SRob Herring			phy-names = "usb-phy";
687724ba675SRob Herring			status = "disabled";
688724ba675SRob Herring			#reset-cells = <1>;
689724ba675SRob Herring
690724ba675SRob Herring			ulpi {
691724ba675SRob Herring				usb_hs1_phy: phy-0 {
692724ba675SRob Herring					compatible = "qcom,usb-hs-phy-msm8974",
693724ba675SRob Herring						     "qcom,usb-hs-phy";
694724ba675SRob Herring					#phy-cells = <0>;
695724ba675SRob Herring					clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
696724ba675SRob Herring					clock-names = "ref", "sleep";
697724ba675SRob Herring					resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>;
698724ba675SRob Herring					reset-names = "phy", "por";
699724ba675SRob Herring					status = "disabled";
700724ba675SRob Herring				};
701724ba675SRob Herring
702724ba675SRob Herring				usb_hs2_phy: phy-1 {
703724ba675SRob Herring					compatible = "qcom,usb-hs-phy-msm8974",
704724ba675SRob Herring						     "qcom,usb-hs-phy";
705724ba675SRob Herring					#phy-cells = <0>;
706724ba675SRob Herring					clocks = <&xo_board>, <&gcc GCC_USB2B_PHY_SLEEP_CLK>;
707724ba675SRob Herring					clock-names = "ref", "sleep";
708724ba675SRob Herring					resets = <&gcc GCC_USB2B_PHY_BCR>, <&usb 1>;
709724ba675SRob Herring					reset-names = "phy", "por";
710724ba675SRob Herring					status = "disabled";
711724ba675SRob Herring				};
712724ba675SRob Herring			};
713724ba675SRob Herring		};
714724ba675SRob Herring
715724ba675SRob Herring		rng@f9bff000 {
716724ba675SRob Herring			compatible = "qcom,prng";
717724ba675SRob Herring			reg = <0xf9bff000 0x200>;
718724ba675SRob Herring			clocks = <&gcc GCC_PRNG_AHB_CLK>;
719724ba675SRob Herring			clock-names = "core";
720724ba675SRob Herring		};
721724ba675SRob Herring
722724ba675SRob Herring		pronto: remoteproc@fb204000 {
723724ba675SRob Herring			compatible = "qcom,pronto-v2-pil", "qcom,pronto";
724724ba675SRob Herring			reg = <0xfb204000 0x2000>, <0xfb202000 0x1000>, <0xfb21b000 0x3000>;
725724ba675SRob Herring			reg-names = "ccu", "dxe", "pmu";
726724ba675SRob Herring
727724ba675SRob Herring			memory-region = <&wcnss_region>;
728724ba675SRob Herring
729724ba675SRob Herring			interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
730724ba675SRob Herring					      <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
731724ba675SRob Herring					      <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
732724ba675SRob Herring					      <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
733724ba675SRob Herring					      <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
734724ba675SRob Herring			interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
735724ba675SRob Herring
736724ba675SRob Herring			qcom,smem-states = <&wcnss_smp2p_out 0>;
737724ba675SRob Herring			qcom,smem-state-names = "stop";
738724ba675SRob Herring
739724ba675SRob Herring			status = "disabled";
740724ba675SRob Herring
741724ba675SRob Herring			iris {
742724ba675SRob Herring				compatible = "qcom,wcn3680";
743724ba675SRob Herring
744724ba675SRob Herring				clocks = <&rpmcc RPM_SMD_CXO_A2>;
745724ba675SRob Herring				clock-names = "xo";
746724ba675SRob Herring			};
747724ba675SRob Herring
748724ba675SRob Herring			smd-edge {
749724ba675SRob Herring				interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
750724ba675SRob Herring
751724ba675SRob Herring				qcom,ipc = <&apcs 8 17>;
752724ba675SRob Herring				qcom,smd-edge = <6>;
753724ba675SRob Herring
754724ba675SRob Herring				wcnss {
755724ba675SRob Herring					compatible = "qcom,wcnss";
756724ba675SRob Herring					qcom,smd-channels = "WCNSS_CTRL";
757724ba675SRob Herring					status = "disabled";
758724ba675SRob Herring
759724ba675SRob Herring					qcom,mmio = <&pronto>;
760724ba675SRob Herring
761724ba675SRob Herring					bluetooth {
762724ba675SRob Herring						compatible = "qcom,wcnss-bt";
763724ba675SRob Herring					};
764724ba675SRob Herring
765724ba675SRob Herring					wifi {
766724ba675SRob Herring						compatible = "qcom,wcnss-wlan";
767724ba675SRob Herring
768724ba675SRob Herring						interrupts = <GIC_SPI 145 IRQ_TYPE_EDGE_RISING>,
769724ba675SRob Herring							     <GIC_SPI 146 IRQ_TYPE_EDGE_RISING>;
770724ba675SRob Herring						interrupt-names = "tx", "rx";
771724ba675SRob Herring
772724ba675SRob Herring						qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
773724ba675SRob Herring						qcom,smem-state-names = "tx-enable",
774724ba675SRob Herring									"tx-rings-empty";
775724ba675SRob Herring					};
776724ba675SRob Herring				};
777724ba675SRob Herring			};
778724ba675SRob Herring		};
779724ba675SRob Herring
780724ba675SRob Herring		sram@fc190000 {
781724ba675SRob Herring			compatible = "qcom,msm8974-rpm-stats";
782724ba675SRob Herring			reg = <0xfc190000 0x10000>;
783724ba675SRob Herring		};
784724ba675SRob Herring
785724ba675SRob Herring		etf@fc307000 {
786724ba675SRob Herring			compatible = "arm,coresight-tmc", "arm,primecell";
787724ba675SRob Herring			reg = <0xfc307000 0x1000>;
788724ba675SRob Herring
789724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
790724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
791724ba675SRob Herring
792724ba675SRob Herring			out-ports {
793724ba675SRob Herring				port {
794724ba675SRob Herring					etf_out: endpoint {
795724ba675SRob Herring						remote-endpoint = <&replicator_in>;
796724ba675SRob Herring					};
797724ba675SRob Herring				};
798724ba675SRob Herring			};
799724ba675SRob Herring
800724ba675SRob Herring			in-ports {
801724ba675SRob Herring				port {
802724ba675SRob Herring					etf_in: endpoint {
803724ba675SRob Herring						remote-endpoint = <&merger_out>;
804724ba675SRob Herring					};
805724ba675SRob Herring				};
806724ba675SRob Herring			};
807724ba675SRob Herring		};
808724ba675SRob Herring
809724ba675SRob Herring		tpiu@fc318000 {
810724ba675SRob Herring			compatible = "arm,coresight-tpiu", "arm,primecell";
811724ba675SRob Herring			reg = <0xfc318000 0x1000>;
812724ba675SRob Herring
813724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
814724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
815724ba675SRob Herring
816724ba675SRob Herring			in-ports {
817724ba675SRob Herring				port {
818724ba675SRob Herring					tpiu_in: endpoint {
819724ba675SRob Herring						remote-endpoint = <&replicator_out1>;
820724ba675SRob Herring					};
821724ba675SRob Herring				 };
822724ba675SRob Herring			};
823724ba675SRob Herring		};
824724ba675SRob Herring
825724ba675SRob Herring		funnel@fc31a000 {
826724ba675SRob Herring			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
827724ba675SRob Herring			reg = <0xfc31a000 0x1000>;
828724ba675SRob Herring
829724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
830724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
831724ba675SRob Herring
832724ba675SRob Herring			in-ports {
833724ba675SRob Herring				#address-cells = <1>;
834724ba675SRob Herring				#size-cells = <0>;
835724ba675SRob Herring
836724ba675SRob Herring				/*
837724ba675SRob Herring				 * Not described input ports:
838724ba675SRob Herring				 * 0 - not-connected
839724ba675SRob Herring				 * 1 - connected trought funnel to Multimedia CPU
840724ba675SRob Herring				 * 2 - connected to Wireless CPU
841724ba675SRob Herring				 * 3 - not-connected
842724ba675SRob Herring				 * 4 - not-connected
843724ba675SRob Herring				 * 6 - not-connected
844724ba675SRob Herring				 * 7 - connected to STM
845724ba675SRob Herring				 */
846724ba675SRob Herring				port@5 {
847724ba675SRob Herring					reg = <5>;
848724ba675SRob Herring					funnel1_in5: endpoint {
849724ba675SRob Herring						remote-endpoint = <&kpss_out>;
850724ba675SRob Herring					};
851724ba675SRob Herring				};
852724ba675SRob Herring			};
853724ba675SRob Herring
854724ba675SRob Herring			out-ports {
855724ba675SRob Herring				port {
856724ba675SRob Herring					funnel1_out: endpoint {
857724ba675SRob Herring						remote-endpoint = <&merger_in1>;
858724ba675SRob Herring					};
859724ba675SRob Herring				};
860724ba675SRob Herring			};
861724ba675SRob Herring		};
862724ba675SRob Herring
863724ba675SRob Herring		funnel@fc31b000 {
864724ba675SRob Herring			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
865724ba675SRob Herring			reg = <0xfc31b000 0x1000>;
866724ba675SRob Herring
867724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
868724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
869724ba675SRob Herring
870724ba675SRob Herring			in-ports {
871724ba675SRob Herring				#address-cells = <1>;
872724ba675SRob Herring				#size-cells = <0>;
873724ba675SRob Herring
874724ba675SRob Herring				/*
875724ba675SRob Herring				 * Not described input ports:
876724ba675SRob Herring				 * 0 - connected trought funnel to Audio, Modem and
877724ba675SRob Herring				 *     Resource and Power Manager CPU's
878724ba675SRob Herring				 * 2...7 - not-connected
879724ba675SRob Herring				 */
880724ba675SRob Herring				port@1 {
881724ba675SRob Herring					reg = <1>;
882724ba675SRob Herring					merger_in1: endpoint {
883724ba675SRob Herring						remote-endpoint = <&funnel1_out>;
884724ba675SRob Herring					};
885724ba675SRob Herring				};
886724ba675SRob Herring			};
887724ba675SRob Herring
888724ba675SRob Herring			out-ports {
889724ba675SRob Herring				port {
890724ba675SRob Herring					merger_out: endpoint {
891724ba675SRob Herring						remote-endpoint = <&etf_in>;
892724ba675SRob Herring					};
893724ba675SRob Herring				};
894724ba675SRob Herring			};
895724ba675SRob Herring		};
896724ba675SRob Herring
897724ba675SRob Herring		replicator@fc31c000 {
898724ba675SRob Herring			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
899724ba675SRob Herring			reg = <0xfc31c000 0x1000>;
900724ba675SRob Herring
901724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
902724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
903724ba675SRob Herring
904724ba675SRob Herring			out-ports {
905724ba675SRob Herring				#address-cells = <1>;
906724ba675SRob Herring				#size-cells = <0>;
907724ba675SRob Herring
908724ba675SRob Herring				port@0 {
909724ba675SRob Herring					reg = <0>;
910724ba675SRob Herring					replicator_out0: endpoint {
911724ba675SRob Herring						remote-endpoint = <&etr_in>;
912724ba675SRob Herring					};
913724ba675SRob Herring				};
914724ba675SRob Herring				port@1 {
915724ba675SRob Herring					reg = <1>;
916724ba675SRob Herring					replicator_out1: endpoint {
917724ba675SRob Herring						remote-endpoint = <&tpiu_in>;
918724ba675SRob Herring					};
919724ba675SRob Herring				};
920724ba675SRob Herring			};
921724ba675SRob Herring
922724ba675SRob Herring			in-ports {
923724ba675SRob Herring				port {
924724ba675SRob Herring					replicator_in: endpoint {
925724ba675SRob Herring						remote-endpoint = <&etf_out>;
926724ba675SRob Herring					};
927724ba675SRob Herring				};
928724ba675SRob Herring			};
929724ba675SRob Herring		};
930724ba675SRob Herring
931724ba675SRob Herring		etr@fc322000 {
932724ba675SRob Herring			compatible = "arm,coresight-tmc", "arm,primecell";
933724ba675SRob Herring			reg = <0xfc322000 0x1000>;
934724ba675SRob Herring
935724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
936724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
937724ba675SRob Herring
938724ba675SRob Herring			in-ports {
939724ba675SRob Herring				port {
940724ba675SRob Herring					etr_in: endpoint {
941724ba675SRob Herring						remote-endpoint = <&replicator_out0>;
942724ba675SRob Herring					};
943724ba675SRob Herring				};
944724ba675SRob Herring			};
945724ba675SRob Herring		};
946724ba675SRob Herring
947724ba675SRob Herring		etm@fc33c000 {
948724ba675SRob Herring			compatible = "arm,coresight-etm4x", "arm,primecell";
949724ba675SRob Herring			reg = <0xfc33c000 0x1000>;
950724ba675SRob Herring
951724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
952724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
953724ba675SRob Herring
954724ba675SRob Herring			cpu = <&CPU0>;
955724ba675SRob Herring
956724ba675SRob Herring			out-ports {
957724ba675SRob Herring				port {
958724ba675SRob Herring					etm0_out: endpoint {
959724ba675SRob Herring						remote-endpoint = <&kpss_in0>;
960724ba675SRob Herring					};
961724ba675SRob Herring				};
962724ba675SRob Herring			};
963724ba675SRob Herring		};
964724ba675SRob Herring
965724ba675SRob Herring		etm@fc33d000 {
966724ba675SRob Herring			compatible = "arm,coresight-etm4x", "arm,primecell";
967724ba675SRob Herring			reg = <0xfc33d000 0x1000>;
968724ba675SRob Herring
969724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
970724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
971724ba675SRob Herring
972724ba675SRob Herring			cpu = <&CPU1>;
973724ba675SRob Herring
974724ba675SRob Herring			out-ports {
975724ba675SRob Herring				port {
976724ba675SRob Herring					etm1_out: endpoint {
977724ba675SRob Herring						remote-endpoint = <&kpss_in1>;
978724ba675SRob Herring					};
979724ba675SRob Herring				};
980724ba675SRob Herring			};
981724ba675SRob Herring		};
982724ba675SRob Herring
983724ba675SRob Herring		etm@fc33e000 {
984724ba675SRob Herring			compatible = "arm,coresight-etm4x", "arm,primecell";
985724ba675SRob Herring			reg = <0xfc33e000 0x1000>;
986724ba675SRob Herring
987724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
988724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
989724ba675SRob Herring
990724ba675SRob Herring			cpu = <&CPU2>;
991724ba675SRob Herring
992724ba675SRob Herring			out-ports {
993724ba675SRob Herring				port {
994724ba675SRob Herring					etm2_out: endpoint {
995724ba675SRob Herring						remote-endpoint = <&kpss_in2>;
996724ba675SRob Herring					};
997724ba675SRob Herring				};
998724ba675SRob Herring			};
999724ba675SRob Herring		};
1000724ba675SRob Herring
1001724ba675SRob Herring		etm@fc33f000 {
1002724ba675SRob Herring			compatible = "arm,coresight-etm4x", "arm,primecell";
1003724ba675SRob Herring			reg = <0xfc33f000 0x1000>;
1004724ba675SRob Herring
1005724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1006724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
1007724ba675SRob Herring
1008724ba675SRob Herring			cpu = <&CPU3>;
1009724ba675SRob Herring
1010724ba675SRob Herring			out-ports {
1011724ba675SRob Herring				port {
1012724ba675SRob Herring					etm3_out: endpoint {
1013724ba675SRob Herring						remote-endpoint = <&kpss_in3>;
1014724ba675SRob Herring					};
1015724ba675SRob Herring				};
1016724ba675SRob Herring			};
1017724ba675SRob Herring		};
1018724ba675SRob Herring
1019724ba675SRob Herring		/* KPSS funnel, only 4 inputs are used */
1020724ba675SRob Herring		funnel@fc345000 {
1021724ba675SRob Herring			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1022724ba675SRob Herring			reg = <0xfc345000 0x1000>;
1023724ba675SRob Herring
1024724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1025724ba675SRob Herring			clock-names = "apb_pclk", "atclk";
1026724ba675SRob Herring
1027724ba675SRob Herring			in-ports {
1028724ba675SRob Herring				#address-cells = <1>;
1029724ba675SRob Herring				#size-cells = <0>;
1030724ba675SRob Herring
1031724ba675SRob Herring				port@0 {
1032724ba675SRob Herring					reg = <0>;
1033724ba675SRob Herring					kpss_in0: endpoint {
1034724ba675SRob Herring						remote-endpoint = <&etm0_out>;
1035724ba675SRob Herring					};
1036724ba675SRob Herring				};
1037724ba675SRob Herring				port@1 {
1038724ba675SRob Herring					reg = <1>;
1039724ba675SRob Herring					kpss_in1: endpoint {
1040724ba675SRob Herring						remote-endpoint = <&etm1_out>;
1041724ba675SRob Herring					};
1042724ba675SRob Herring				};
1043724ba675SRob Herring				port@2 {
1044724ba675SRob Herring					reg = <2>;
1045724ba675SRob Herring					kpss_in2: endpoint {
1046724ba675SRob Herring						remote-endpoint = <&etm2_out>;
1047724ba675SRob Herring					};
1048724ba675SRob Herring				};
1049724ba675SRob Herring				port@3 {
1050724ba675SRob Herring					reg = <3>;
1051724ba675SRob Herring					kpss_in3: endpoint {
1052724ba675SRob Herring						remote-endpoint = <&etm3_out>;
1053724ba675SRob Herring					};
1054724ba675SRob Herring				};
1055724ba675SRob Herring			};
1056724ba675SRob Herring
1057724ba675SRob Herring			out-ports {
1058724ba675SRob Herring				port {
1059724ba675SRob Herring					kpss_out: endpoint {
1060724ba675SRob Herring						remote-endpoint = <&funnel1_in5>;
1061724ba675SRob Herring					};
1062724ba675SRob Herring				};
1063724ba675SRob Herring			};
1064724ba675SRob Herring		};
1065724ba675SRob Herring
1066*4960e06dSLuca Weiss		bimc: interconnect@fc380000 {
1067*4960e06dSLuca Weiss			reg = <0xfc380000 0x6a000>;
1068*4960e06dSLuca Weiss			compatible = "qcom,msm8974-bimc";
1069*4960e06dSLuca Weiss			#interconnect-cells = <1>;
1070*4960e06dSLuca Weiss			clock-names = "bus", "bus_a";
1071*4960e06dSLuca Weiss			clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
1072*4960e06dSLuca Weiss				 <&rpmcc RPM_SMD_BIMC_A_CLK>;
1073*4960e06dSLuca Weiss		};
1074*4960e06dSLuca Weiss
1075724ba675SRob Herring		gcc: clock-controller@fc400000 {
1076724ba675SRob Herring			compatible = "qcom,gcc-msm8974";
1077724ba675SRob Herring			#clock-cells = <1>;
1078724ba675SRob Herring			#reset-cells = <1>;
1079724ba675SRob Herring			#power-domain-cells = <1>;
1080724ba675SRob Herring			reg = <0xfc400000 0x4000>;
1081724ba675SRob Herring
1082724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1083724ba675SRob Herring				 <&sleep_clk>;
1084724ba675SRob Herring			clock-names = "xo",
1085724ba675SRob Herring				      "sleep_clk";
1086724ba675SRob Herring		};
1087724ba675SRob Herring
1088724ba675SRob Herring		rpm_msg_ram: sram@fc428000 {
1089724ba675SRob Herring			compatible = "qcom,rpm-msg-ram";
1090724ba675SRob Herring			reg = <0xfc428000 0x4000>;
109102c58ac7SMatti Lehtimäki
109202c58ac7SMatti Lehtimäki			#address-cells = <1>;
109302c58ac7SMatti Lehtimäki			#size-cells = <1>;
109402c58ac7SMatti Lehtimäki			ranges = <0 0xfc428000 0x4000>;
109502c58ac7SMatti Lehtimäki
109602c58ac7SMatti Lehtimäki			apss_master_stats: sram@150 {
109702c58ac7SMatti Lehtimäki				reg = <0x150 0x14>;
109802c58ac7SMatti Lehtimäki			};
109902c58ac7SMatti Lehtimäki
110002c58ac7SMatti Lehtimäki			mpss_master_stats: sram@b50 {
110102c58ac7SMatti Lehtimäki				reg = <0xb50 0x14>;
110202c58ac7SMatti Lehtimäki			};
110302c58ac7SMatti Lehtimäki
110402c58ac7SMatti Lehtimäki			lpss_master_stats: sram@1550 {
110502c58ac7SMatti Lehtimäki				reg = <0x1550 0x14>;
110602c58ac7SMatti Lehtimäki			};
110702c58ac7SMatti Lehtimäki
110802c58ac7SMatti Lehtimäki			pronto_master_stats: sram@1f50 {
110902c58ac7SMatti Lehtimäki				reg = <0x1f50 0x14>;
111002c58ac7SMatti Lehtimäki			};
1111724ba675SRob Herring		};
1112724ba675SRob Herring
1113724ba675SRob Herring		snoc: interconnect@fc460000 {
1114724ba675SRob Herring			reg = <0xfc460000 0x4000>;
1115724ba675SRob Herring			compatible = "qcom,msm8974-snoc";
1116724ba675SRob Herring			#interconnect-cells = <1>;
1117724ba675SRob Herring			clock-names = "bus", "bus_a";
1118724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
1119724ba675SRob Herring				 <&rpmcc RPM_SMD_SNOC_A_CLK>;
1120724ba675SRob Herring		};
1121724ba675SRob Herring
1122724ba675SRob Herring		pnoc: interconnect@fc468000 {
1123724ba675SRob Herring			reg = <0xfc468000 0x4000>;
1124724ba675SRob Herring			compatible = "qcom,msm8974-pnoc";
1125724ba675SRob Herring			#interconnect-cells = <1>;
1126724ba675SRob Herring			clock-names = "bus", "bus_a";
1127724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_PNOC_CLK>,
1128724ba675SRob Herring				 <&rpmcc RPM_SMD_PNOC_A_CLK>;
1129724ba675SRob Herring		};
1130724ba675SRob Herring
1131724ba675SRob Herring		ocmemnoc: interconnect@fc470000 {
1132724ba675SRob Herring			reg = <0xfc470000 0x4000>;
1133724ba675SRob Herring			compatible = "qcom,msm8974-ocmemnoc";
1134724ba675SRob Herring			#interconnect-cells = <1>;
1135724ba675SRob Herring			clock-names = "bus", "bus_a";
1136724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
1137724ba675SRob Herring				 <&rpmcc RPM_SMD_OCMEMGX_A_CLK>;
1138724ba675SRob Herring		};
1139724ba675SRob Herring
1140724ba675SRob Herring		mmssnoc: interconnect@fc478000 {
1141724ba675SRob Herring			reg = <0xfc478000 0x4000>;
1142724ba675SRob Herring			compatible = "qcom,msm8974-mmssnoc";
1143724ba675SRob Herring			#interconnect-cells = <1>;
1144724ba675SRob Herring			clock-names = "bus", "bus_a";
1145724ba675SRob Herring			clocks = <&mmcc MMSS_S0_AXI_CLK>,
1146724ba675SRob Herring				 <&mmcc MMSS_S0_AXI_CLK>;
1147724ba675SRob Herring		};
1148724ba675SRob Herring
1149724ba675SRob Herring		cnoc: interconnect@fc480000 {
1150724ba675SRob Herring			reg = <0xfc480000 0x4000>;
1151724ba675SRob Herring			compatible = "qcom,msm8974-cnoc";
1152724ba675SRob Herring			#interconnect-cells = <1>;
1153724ba675SRob Herring			clock-names = "bus", "bus_a";
1154724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_CNOC_CLK>,
1155724ba675SRob Herring				 <&rpmcc RPM_SMD_CNOC_A_CLK>;
1156724ba675SRob Herring		};
1157724ba675SRob Herring
1158724ba675SRob Herring		tsens: thermal-sensor@fc4a9000 {
1159724ba675SRob Herring			compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
1160724ba675SRob Herring			reg = <0xfc4a9000 0x1000>, /* TM */
1161724ba675SRob Herring			      <0xfc4a8000 0x1000>; /* SROT */
1162724ba675SRob Herring			nvmem-cells = <&tsens_mode>,
1163724ba675SRob Herring				      <&tsens_base1>, <&tsens_base2>,
1164724ba675SRob Herring				      <&tsens_use_backup>,
1165724ba675SRob Herring				      <&tsens_mode_backup>,
1166724ba675SRob Herring				      <&tsens_base1_backup>, <&tsens_base2_backup>,
1167724ba675SRob Herring				      <&tsens_s0_p1>, <&tsens_s0_p2>,
1168724ba675SRob Herring				      <&tsens_s1_p1>, <&tsens_s1_p2>,
1169724ba675SRob Herring				      <&tsens_s2_p1>, <&tsens_s2_p2>,
1170724ba675SRob Herring				      <&tsens_s3_p1>, <&tsens_s3_p2>,
1171724ba675SRob Herring				      <&tsens_s4_p1>, <&tsens_s4_p2>,
1172724ba675SRob Herring				      <&tsens_s5_p1>, <&tsens_s5_p2>,
1173724ba675SRob Herring				      <&tsens_s6_p1>, <&tsens_s6_p2>,
1174724ba675SRob Herring				      <&tsens_s7_p1>, <&tsens_s7_p2>,
1175724ba675SRob Herring				      <&tsens_s8_p1>, <&tsens_s8_p2>,
1176724ba675SRob Herring				      <&tsens_s9_p1>, <&tsens_s9_p2>,
1177724ba675SRob Herring				      <&tsens_s10_p1>, <&tsens_s10_p2>,
1178724ba675SRob Herring				      <&tsens_s0_p1_backup>, <&tsens_s0_p2_backup>,
1179724ba675SRob Herring				      <&tsens_s1_p1_backup>, <&tsens_s1_p2_backup>,
1180724ba675SRob Herring				      <&tsens_s2_p1_backup>, <&tsens_s2_p2_backup>,
1181724ba675SRob Herring				      <&tsens_s3_p1_backup>, <&tsens_s3_p2_backup>,
1182724ba675SRob Herring				      <&tsens_s4_p1_backup>, <&tsens_s4_p2_backup>,
1183724ba675SRob Herring				      <&tsens_s5_p1_backup>, <&tsens_s5_p2_backup>,
1184724ba675SRob Herring				      <&tsens_s6_p1_backup>, <&tsens_s6_p2_backup>,
1185724ba675SRob Herring				      <&tsens_s7_p1_backup>, <&tsens_s7_p2_backup>,
1186724ba675SRob Herring				      <&tsens_s8_p1_backup>, <&tsens_s8_p2_backup>,
1187724ba675SRob Herring				      <&tsens_s9_p1_backup>, <&tsens_s9_p2_backup>,
1188724ba675SRob Herring				      <&tsens_s10_p1_backup>, <&tsens_s10_p2_backup>;
1189724ba675SRob Herring			nvmem-cell-names = "mode",
1190724ba675SRob Herring					   "base1", "base2",
1191724ba675SRob Herring					   "use_backup",
1192724ba675SRob Herring					   "mode_backup",
1193724ba675SRob Herring					   "base1_backup", "base2_backup",
1194724ba675SRob Herring					   "s0_p1", "s0_p2",
1195724ba675SRob Herring					   "s1_p1", "s1_p2",
1196724ba675SRob Herring					   "s2_p1", "s2_p2",
1197724ba675SRob Herring					   "s3_p1", "s3_p2",
1198724ba675SRob Herring					   "s4_p1", "s4_p2",
1199724ba675SRob Herring					   "s5_p1", "s5_p2",
1200724ba675SRob Herring					   "s6_p1", "s6_p2",
1201724ba675SRob Herring					   "s7_p1", "s7_p2",
1202724ba675SRob Herring					   "s8_p1", "s8_p2",
1203724ba675SRob Herring					   "s9_p1", "s9_p2",
1204724ba675SRob Herring					   "s10_p1", "s10_p2",
1205724ba675SRob Herring					   "s0_p1_backup", "s0_p2_backup",
1206724ba675SRob Herring					   "s1_p1_backup", "s1_p2_backup",
1207724ba675SRob Herring					   "s2_p1_backup", "s2_p2_backup",
1208724ba675SRob Herring					   "s3_p1_backup", "s3_p2_backup",
1209724ba675SRob Herring					   "s4_p1_backup", "s4_p2_backup",
1210724ba675SRob Herring					   "s5_p1_backup", "s5_p2_backup",
1211724ba675SRob Herring					   "s6_p1_backup", "s6_p2_backup",
1212724ba675SRob Herring					   "s7_p1_backup", "s7_p2_backup",
1213724ba675SRob Herring					   "s8_p1_backup", "s8_p2_backup",
1214724ba675SRob Herring					   "s9_p1_backup", "s9_p2_backup",
1215724ba675SRob Herring					   "s10_p1_backup", "s10_p2_backup";
1216724ba675SRob Herring			#qcom,sensors = <11>;
1217724ba675SRob Herring			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
1218724ba675SRob Herring			interrupt-names = "uplow";
1219724ba675SRob Herring			#thermal-sensor-cells = <1>;
1220724ba675SRob Herring		};
1221724ba675SRob Herring
1222724ba675SRob Herring		restart@fc4ab000 {
1223724ba675SRob Herring			compatible = "qcom,pshold";
1224724ba675SRob Herring			reg = <0xfc4ab000 0x4>;
1225724ba675SRob Herring		};
1226724ba675SRob Herring
1227724ba675SRob Herring		qfprom: qfprom@fc4bc000 {
1228724ba675SRob Herring			compatible = "qcom,msm8974-qfprom", "qcom,qfprom";
1229724ba675SRob Herring			reg = <0xfc4bc000 0x1000>;
1230724ba675SRob Herring			#address-cells = <1>;
1231724ba675SRob Herring			#size-cells = <1>;
1232724ba675SRob Herring
1233724ba675SRob Herring			tsens_base1: base1@d0 {
1234724ba675SRob Herring				reg = <0xd0 0x1>;
1235724ba675SRob Herring				bits = <0 8>;
1236724ba675SRob Herring			};
1237724ba675SRob Herring
1238724ba675SRob Herring			tsens_s0_p1: s0-p1@d1 {
1239724ba675SRob Herring				reg = <0xd1 0x1>;
1240724ba675SRob Herring				bits = <0 6>;
1241724ba675SRob Herring			};
1242724ba675SRob Herring
1243724ba675SRob Herring			tsens_s1_p1: s1-p1@d2 {
1244724ba675SRob Herring				reg = <0xd1 0x2>;
1245724ba675SRob Herring				bits = <6 6>;
1246724ba675SRob Herring			};
1247724ba675SRob Herring
1248724ba675SRob Herring			tsens_s2_p1: s2-p1@d2 {
1249724ba675SRob Herring				reg = <0xd2 0x2>;
1250724ba675SRob Herring				bits = <4 6>;
1251724ba675SRob Herring			};
1252724ba675SRob Herring
1253724ba675SRob Herring			tsens_s3_p1: s3-p1@d3 {
1254724ba675SRob Herring				reg = <0xd3 0x1>;
1255724ba675SRob Herring				bits = <2 6>;
1256724ba675SRob Herring			};
1257724ba675SRob Herring
1258724ba675SRob Herring			tsens_s4_p1: s4-p1@d4 {
1259724ba675SRob Herring				reg = <0xd4 0x1>;
1260724ba675SRob Herring				bits = <0 6>;
1261724ba675SRob Herring			};
1262724ba675SRob Herring
1263724ba675SRob Herring			tsens_s5_p1: s5-p1@d4 {
1264724ba675SRob Herring				reg = <0xd4 0x2>;
1265724ba675SRob Herring				bits = <6 6>;
1266724ba675SRob Herring			};
1267724ba675SRob Herring
1268724ba675SRob Herring			tsens_s6_p1: s6-p1@d5 {
1269724ba675SRob Herring				reg = <0xd5 0x2>;
1270724ba675SRob Herring				bits = <4 6>;
1271724ba675SRob Herring			};
1272724ba675SRob Herring
1273724ba675SRob Herring			tsens_s7_p1: s7-p1@d6 {
1274724ba675SRob Herring				reg = <0xd6 0x1>;
1275724ba675SRob Herring				bits = <2 6>;
1276724ba675SRob Herring			};
1277724ba675SRob Herring
1278724ba675SRob Herring			tsens_s8_p1: s8-p1@d7 {
1279724ba675SRob Herring				reg = <0xd7 0x1>;
1280724ba675SRob Herring				bits = <0 6>;
1281724ba675SRob Herring			};
1282724ba675SRob Herring
1283724ba675SRob Herring			tsens_mode: mode@d7 {
1284724ba675SRob Herring				reg = <0xd7 0x1>;
1285724ba675SRob Herring				bits = <6 2>;
1286724ba675SRob Herring			};
1287724ba675SRob Herring
1288724ba675SRob Herring			tsens_s9_p1: s9-p1@d8 {
1289724ba675SRob Herring				reg = <0xd8 0x1>;
1290724ba675SRob Herring				bits = <0 6>;
1291724ba675SRob Herring			};
1292724ba675SRob Herring
1293724ba675SRob Herring			tsens_s10_p1: s10_p1@d8 {
1294724ba675SRob Herring				reg = <0xd8 0x2>;
1295724ba675SRob Herring				bits = <6 6>;
1296724ba675SRob Herring			};
1297724ba675SRob Herring
1298724ba675SRob Herring			tsens_base2: base2@d9 {
1299724ba675SRob Herring				reg = <0xd9 0x2>;
1300724ba675SRob Herring				bits = <4 8>;
1301724ba675SRob Herring			};
1302724ba675SRob Herring
1303724ba675SRob Herring			tsens_s0_p2: s0-p2@da {
1304724ba675SRob Herring				reg = <0xda 0x2>;
1305724ba675SRob Herring				bits = <4 6>;
1306724ba675SRob Herring			};
1307724ba675SRob Herring
1308724ba675SRob Herring			tsens_s1_p2: s1-p2@db {
1309724ba675SRob Herring				reg = <0xdb 0x1>;
1310724ba675SRob Herring				bits = <2 6>;
1311724ba675SRob Herring			};
1312724ba675SRob Herring
1313724ba675SRob Herring			tsens_s2_p2: s2-p2@dc {
1314724ba675SRob Herring				reg = <0xdc 0x1>;
1315724ba675SRob Herring				bits = <0 6>;
1316724ba675SRob Herring			};
1317724ba675SRob Herring
1318724ba675SRob Herring			tsens_s3_p2: s3-p2@dc {
1319724ba675SRob Herring				reg = <0xdc 0x2>;
1320724ba675SRob Herring				bits = <6 6>;
1321724ba675SRob Herring			};
1322724ba675SRob Herring
1323724ba675SRob Herring			tsens_s4_p2: s4-p2@dd {
1324724ba675SRob Herring				reg = <0xdd 0x2>;
1325724ba675SRob Herring				bits = <4 6>;
1326724ba675SRob Herring			};
1327724ba675SRob Herring
1328724ba675SRob Herring			tsens_s5_p2: s5-p2@de {
1329724ba675SRob Herring				reg = <0xde 0x2>;
1330724ba675SRob Herring				bits = <2 6>;
1331724ba675SRob Herring			};
1332724ba675SRob Herring
1333724ba675SRob Herring			tsens_s6_p2: s6-p2@df {
1334724ba675SRob Herring				reg = <0xdf 0x1>;
1335724ba675SRob Herring				bits = <0 6>;
1336724ba675SRob Herring			};
1337724ba675SRob Herring
1338724ba675SRob Herring			tsens_s7_p2: s7-p2@e0 {
1339724ba675SRob Herring				reg = <0xe0 0x1>;
1340724ba675SRob Herring				bits = <0 6>;
1341724ba675SRob Herring			};
1342724ba675SRob Herring
1343724ba675SRob Herring			tsens_s8_p2: s8-p2@e0 {
1344724ba675SRob Herring				reg = <0xe0 0x2>;
1345724ba675SRob Herring				bits = <6 6>;
1346724ba675SRob Herring			};
1347724ba675SRob Herring
1348724ba675SRob Herring			tsens_s9_p2: s9-p2@e1 {
1349724ba675SRob Herring				reg = <0xe1 0x2>;
1350724ba675SRob Herring				bits = <4 6>;
1351724ba675SRob Herring			};
1352724ba675SRob Herring
1353724ba675SRob Herring			tsens_s10_p2: s10_p2@e2 {
1354724ba675SRob Herring				reg = <0xe2 0x2>;
1355724ba675SRob Herring				bits = <2 6>;
1356724ba675SRob Herring			};
1357724ba675SRob Herring
1358724ba675SRob Herring			tsens_s5_p2_backup: s5-p2_backup@e3 {
1359724ba675SRob Herring				reg = <0xe3 0x2>;
1360724ba675SRob Herring				bits = <0 6>;
1361724ba675SRob Herring			};
1362724ba675SRob Herring
1363724ba675SRob Herring			tsens_mode_backup: mode_backup@e3 {
1364724ba675SRob Herring				reg = <0xe3 0x1>;
1365724ba675SRob Herring				bits = <6 2>;
1366724ba675SRob Herring			};
1367724ba675SRob Herring
1368724ba675SRob Herring			tsens_s6_p2_backup: s6-p2_backup@e4 {
1369724ba675SRob Herring				reg = <0xe4 0x1>;
1370724ba675SRob Herring				bits = <0 6>;
1371724ba675SRob Herring			};
1372724ba675SRob Herring
1373724ba675SRob Herring			tsens_s7_p2_backup: s7-p2_backup@e4 {
1374724ba675SRob Herring				reg = <0xe4 0x2>;
1375724ba675SRob Herring				bits = <6 6>;
1376724ba675SRob Herring			};
1377724ba675SRob Herring
1378724ba675SRob Herring			tsens_s8_p2_backup: s8-p2_backup@e5 {
1379724ba675SRob Herring				reg = <0xe5 0x2>;
1380724ba675SRob Herring				bits = <4 6>;
1381724ba675SRob Herring			};
1382724ba675SRob Herring
1383724ba675SRob Herring			tsens_s9_p2_backup: s9-p2_backup@e6 {
1384724ba675SRob Herring				reg = <0xe6 0x2>;
1385724ba675SRob Herring				bits = <2 6>;
1386724ba675SRob Herring			};
1387724ba675SRob Herring
1388724ba675SRob Herring			tsens_s10_p2_backup: s10_p2_backup@e7 {
1389724ba675SRob Herring				reg = <0xe7 0x1>;
1390724ba675SRob Herring				bits = <0 6>;
1391724ba675SRob Herring			};
1392724ba675SRob Herring
1393724ba675SRob Herring			tsens_base1_backup: base1_backup@440 {
1394724ba675SRob Herring				reg = <0x440 0x1>;
1395724ba675SRob Herring				bits = <0 8>;
1396724ba675SRob Herring			};
1397724ba675SRob Herring
1398724ba675SRob Herring			tsens_s0_p1_backup: s0-p1_backup@441 {
1399724ba675SRob Herring				reg = <0x441 0x1>;
1400724ba675SRob Herring				bits = <0 6>;
1401724ba675SRob Herring			};
1402724ba675SRob Herring
1403724ba675SRob Herring			tsens_s1_p1_backup: s1-p1_backup@442 {
1404724ba675SRob Herring				reg = <0x441 0x2>;
1405724ba675SRob Herring				bits = <6 6>;
1406724ba675SRob Herring			};
1407724ba675SRob Herring
1408724ba675SRob Herring			tsens_s2_p1_backup: s2-p1_backup@442 {
1409724ba675SRob Herring				reg = <0x442 0x2>;
1410724ba675SRob Herring				bits = <4 6>;
1411724ba675SRob Herring			};
1412724ba675SRob Herring
1413724ba675SRob Herring			tsens_s3_p1_backup: s3-p1_backup@443 {
1414724ba675SRob Herring				reg = <0x443 0x1>;
1415724ba675SRob Herring				bits = <2 6>;
1416724ba675SRob Herring			};
1417724ba675SRob Herring
1418724ba675SRob Herring			tsens_s4_p1_backup: s4-p1_backup@444 {
1419724ba675SRob Herring				reg = <0x444 0x1>;
1420724ba675SRob Herring				bits = <0 6>;
1421724ba675SRob Herring			};
1422724ba675SRob Herring
1423724ba675SRob Herring			tsens_s5_p1_backup: s5-p1_backup@444 {
1424724ba675SRob Herring				reg = <0x444 0x2>;
1425724ba675SRob Herring				bits = <6 6>;
1426724ba675SRob Herring			};
1427724ba675SRob Herring
1428724ba675SRob Herring			tsens_s6_p1_backup: s6-p1_backup@445 {
1429724ba675SRob Herring				reg = <0x445 0x2>;
1430724ba675SRob Herring				bits = <4 6>;
1431724ba675SRob Herring			};
1432724ba675SRob Herring
1433724ba675SRob Herring			tsens_s7_p1_backup: s7-p1_backup@446 {
1434724ba675SRob Herring				reg = <0x446 0x1>;
1435724ba675SRob Herring				bits = <2 6>;
1436724ba675SRob Herring			};
1437724ba675SRob Herring
1438724ba675SRob Herring			tsens_use_backup: use_backup@447 {
1439724ba675SRob Herring				reg = <0x447 0x1>;
1440724ba675SRob Herring				bits = <5 3>;
1441724ba675SRob Herring			};
1442724ba675SRob Herring
1443724ba675SRob Herring			tsens_s8_p1_backup: s8-p1_backup@448 {
1444724ba675SRob Herring				reg = <0x448 0x1>;
1445724ba675SRob Herring				bits = <0 6>;
1446724ba675SRob Herring			};
1447724ba675SRob Herring
1448724ba675SRob Herring			tsens_s9_p1_backup: s9-p1_backup@448 {
1449724ba675SRob Herring				reg = <0x448 0x2>;
1450724ba675SRob Herring				bits = <6 6>;
1451724ba675SRob Herring			};
1452724ba675SRob Herring
1453724ba675SRob Herring			tsens_s10_p1_backup: s10_p1_backup@449 {
1454724ba675SRob Herring				reg = <0x449 0x2>;
1455724ba675SRob Herring				bits = <4 6>;
1456724ba675SRob Herring			};
1457724ba675SRob Herring
1458724ba675SRob Herring			tsens_base2_backup: base2_backup@44a {
1459724ba675SRob Herring				reg = <0x44a 0x2>;
1460724ba675SRob Herring				bits = <2 8>;
1461724ba675SRob Herring			};
1462724ba675SRob Herring
1463724ba675SRob Herring			tsens_s0_p2_backup: s0-p2_backup@44b {
1464724ba675SRob Herring				reg = <0x44b 0x3>;
1465724ba675SRob Herring				bits = <2 6>;
1466724ba675SRob Herring			};
1467724ba675SRob Herring
1468724ba675SRob Herring			tsens_s1_p2_backup: s1-p2_backup@44c {
1469724ba675SRob Herring				reg = <0x44c 0x1>;
1470724ba675SRob Herring				bits = <0 6>;
1471724ba675SRob Herring			};
1472724ba675SRob Herring
1473724ba675SRob Herring			tsens_s2_p2_backup: s2-p2_backup@44c {
1474724ba675SRob Herring				reg = <0x44c 0x2>;
1475724ba675SRob Herring				bits = <6 6>;
1476724ba675SRob Herring			};
1477724ba675SRob Herring
1478724ba675SRob Herring			tsens_s3_p2_backup: s3-p2_backup@44d {
1479724ba675SRob Herring				reg = <0x44d 0x2>;
1480724ba675SRob Herring				bits = <4 6>;
1481724ba675SRob Herring			};
1482724ba675SRob Herring
1483724ba675SRob Herring			tsens_s4_p2_backup: s4-p2_backup@44e {
1484724ba675SRob Herring				reg = <0x44e 0x1>;
1485724ba675SRob Herring				bits = <2 6>;
1486724ba675SRob Herring			};
1487724ba675SRob Herring		};
1488724ba675SRob Herring
1489724ba675SRob Herring		spmi_bus: spmi@fc4cf000 {
1490724ba675SRob Herring			compatible = "qcom,spmi-pmic-arb";
1491724ba675SRob Herring			reg-names = "core", "intr", "cnfg";
1492724ba675SRob Herring			reg = <0xfc4cf000 0x1000>,
1493724ba675SRob Herring			      <0xfc4cb000 0x1000>,
1494724ba675SRob Herring			      <0xfc4ca000 0x1000>;
1495724ba675SRob Herring			interrupt-names = "periph_irq";
1496724ba675SRob Herring			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1497724ba675SRob Herring			qcom,ee = <0>;
1498724ba675SRob Herring			qcom,channel = <0>;
1499724ba675SRob Herring			#address-cells = <2>;
1500724ba675SRob Herring			#size-cells = <0>;
1501724ba675SRob Herring			interrupt-controller;
1502724ba675SRob Herring			#interrupt-cells = <4>;
1503724ba675SRob Herring		};
1504724ba675SRob Herring
1505724ba675SRob Herring		bam_dmux_dma: dma-controller@fc834000 {
1506724ba675SRob Herring			compatible = "qcom,bam-v1.4.0";
1507724ba675SRob Herring			reg = <0xfc834000 0x7000>;
1508724ba675SRob Herring			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1509724ba675SRob Herring			#dma-cells = <1>;
1510724ba675SRob Herring			qcom,ee = <0>;
1511724ba675SRob Herring
1512724ba675SRob Herring			num-channels = <6>;
1513724ba675SRob Herring			qcom,num-ees = <1>;
1514724ba675SRob Herring			qcom,powered-remotely;
1515724ba675SRob Herring		};
1516724ba675SRob Herring
1517724ba675SRob Herring		remoteproc_mss: remoteproc@fc880000 {
1518724ba675SRob Herring			compatible = "qcom,msm8974-mss-pil";
1519724ba675SRob Herring			reg = <0xfc880000 0x100>, <0xfc820000 0x020>;
1520724ba675SRob Herring			reg-names = "qdsp6", "rmb";
1521724ba675SRob Herring
1522724ba675SRob Herring			interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
1523724ba675SRob Herring					      <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1524724ba675SRob Herring					      <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1525724ba675SRob Herring					      <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1526724ba675SRob Herring					      <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1527724ba675SRob Herring			interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
1528724ba675SRob Herring
1529724ba675SRob Herring			clocks = <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
1530724ba675SRob Herring				 <&gcc GCC_MSS_CFG_AHB_CLK>,
1531724ba675SRob Herring				 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1532724ba675SRob Herring				 <&xo_board>;
1533724ba675SRob Herring			clock-names = "iface", "bus", "mem", "xo";
1534724ba675SRob Herring
1535724ba675SRob Herring			resets = <&gcc GCC_MSS_RESTART>;
1536724ba675SRob Herring			reset-names = "mss_restart";
1537724ba675SRob Herring
1538724ba675SRob Herring			qcom,halt-regs = <&tcsr_mutex 0x1180 0x1200 0x1280>;
1539724ba675SRob Herring
1540724ba675SRob Herring			qcom,smem-states = <&modem_smp2p_out 0>;
1541724ba675SRob Herring			qcom,smem-state-names = "stop";
1542724ba675SRob Herring
1543724ba675SRob Herring			status = "disabled";
1544724ba675SRob Herring
1545724ba675SRob Herring			mba {
1546724ba675SRob Herring				memory-region = <&mba_region>;
1547724ba675SRob Herring			};
1548724ba675SRob Herring
1549724ba675SRob Herring			mpss {
1550724ba675SRob Herring				memory-region = <&mpss_region>;
1551724ba675SRob Herring			};
1552724ba675SRob Herring
1553724ba675SRob Herring			bam_dmux: bam-dmux {
1554724ba675SRob Herring				compatible = "qcom,bam-dmux";
1555724ba675SRob Herring
1556724ba675SRob Herring				interrupt-parent = <&modem_smsm>;
1557724ba675SRob Herring				interrupts = <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>;
1558724ba675SRob Herring				interrupt-names = "pc", "pc-ack";
1559724ba675SRob Herring
1560724ba675SRob Herring				qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
1561724ba675SRob Herring				qcom,smem-state-names = "pc", "pc-ack";
1562724ba675SRob Herring
1563724ba675SRob Herring				dmas = <&bam_dmux_dma 4>, <&bam_dmux_dma 5>;
1564724ba675SRob Herring				dma-names = "tx", "rx";
1565724ba675SRob Herring			};
1566724ba675SRob Herring
1567724ba675SRob Herring			smd-edge {
1568724ba675SRob Herring				interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
1569724ba675SRob Herring
1570724ba675SRob Herring				qcom,ipc = <&apcs 8 12>;
1571724ba675SRob Herring				qcom,smd-edge = <0>;
1572724ba675SRob Herring
1573724ba675SRob Herring				label = "modem";
1574724ba675SRob Herring			};
1575724ba675SRob Herring		};
1576724ba675SRob Herring
1577724ba675SRob Herring		tcsr_mutex: hwlock@fd484000 {
1578724ba675SRob Herring			compatible = "qcom,msm8974-tcsr-mutex", "qcom,tcsr-mutex", "syscon";
1579724ba675SRob Herring			reg = <0xfd484000 0x2000>;
1580724ba675SRob Herring			#hwlock-cells = <1>;
1581724ba675SRob Herring		};
1582724ba675SRob Herring
1583724ba675SRob Herring		tcsr: syscon@fd4a0000 {
1584724ba675SRob Herring			compatible = "qcom,tcsr-msm8974", "syscon";
1585724ba675SRob Herring			reg = <0xfd4a0000 0x10000>;
1586724ba675SRob Herring		};
1587724ba675SRob Herring
1588724ba675SRob Herring		tlmm: pinctrl@fd510000 {
1589724ba675SRob Herring			compatible = "qcom,msm8974-pinctrl";
1590724ba675SRob Herring			reg = <0xfd510000 0x4000>;
1591724ba675SRob Herring			gpio-controller;
1592724ba675SRob Herring			gpio-ranges = <&tlmm 0 0 146>;
1593724ba675SRob Herring			#gpio-cells = <2>;
1594724ba675SRob Herring			interrupt-controller;
1595724ba675SRob Herring			#interrupt-cells = <2>;
1596724ba675SRob Herring			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1597724ba675SRob Herring
1598724ba675SRob Herring			sdc1_off: sdc1-off-state {
1599724ba675SRob Herring				clk-pins {
1600724ba675SRob Herring					pins = "sdc1_clk";
1601724ba675SRob Herring					bias-disable;
1602724ba675SRob Herring					drive-strength = <2>;
1603724ba675SRob Herring				};
1604724ba675SRob Herring
1605724ba675SRob Herring				cmd-pins {
1606724ba675SRob Herring					pins = "sdc1_cmd";
1607724ba675SRob Herring					bias-pull-up;
1608724ba675SRob Herring					drive-strength = <2>;
1609724ba675SRob Herring				};
1610724ba675SRob Herring
1611724ba675SRob Herring				data-pins {
1612724ba675SRob Herring					pins = "sdc1_data";
1613724ba675SRob Herring					bias-pull-up;
1614724ba675SRob Herring					drive-strength = <2>;
1615724ba675SRob Herring				};
1616724ba675SRob Herring			};
1617724ba675SRob Herring
1618724ba675SRob Herring			sdc2_off: sdc2-off-state {
1619724ba675SRob Herring				clk-pins {
1620724ba675SRob Herring					pins = "sdc2_clk";
1621724ba675SRob Herring					bias-disable;
1622724ba675SRob Herring					drive-strength = <2>;
1623724ba675SRob Herring				};
1624724ba675SRob Herring
1625724ba675SRob Herring				cmd-pins {
1626724ba675SRob Herring					pins = "sdc2_cmd";
1627724ba675SRob Herring					bias-pull-up;
1628724ba675SRob Herring					drive-strength = <2>;
1629724ba675SRob Herring				};
1630724ba675SRob Herring
1631724ba675SRob Herring				data-pins {
1632724ba675SRob Herring					pins = "sdc2_data";
1633724ba675SRob Herring					bias-pull-up;
1634724ba675SRob Herring					drive-strength = <2>;
1635724ba675SRob Herring				};
1636724ba675SRob Herring
1637724ba675SRob Herring				cd-pins {
1638724ba675SRob Herring					pins = "gpio54";
1639724ba675SRob Herring					function = "gpio";
1640724ba675SRob Herring					bias-disable;
1641724ba675SRob Herring					drive-strength = <2>;
1642724ba675SRob Herring				};
1643724ba675SRob Herring			};
1644724ba675SRob Herring
1645724ba675SRob Herring			blsp1_uart2_default: blsp1-uart2-default-state {
1646724ba675SRob Herring				rx-pins {
1647724ba675SRob Herring					pins = "gpio5";
1648724ba675SRob Herring					function = "blsp_uart2";
1649724ba675SRob Herring					drive-strength = <2>;
1650724ba675SRob Herring					bias-pull-up;
1651724ba675SRob Herring				};
1652724ba675SRob Herring
1653724ba675SRob Herring				tx-pins {
1654724ba675SRob Herring					pins = "gpio4";
1655724ba675SRob Herring					function = "blsp_uart2";
1656724ba675SRob Herring					drive-strength = <4>;
1657724ba675SRob Herring					bias-disable;
1658724ba675SRob Herring				};
1659724ba675SRob Herring			};
1660724ba675SRob Herring
1661724ba675SRob Herring			blsp2_uart1_default: blsp2-uart1-default-state {
1662724ba675SRob Herring				tx-rts-pins {
1663724ba675SRob Herring					pins = "gpio41", "gpio44";
1664724ba675SRob Herring					function = "blsp_uart7";
1665724ba675SRob Herring					drive-strength = <2>;
1666724ba675SRob Herring					bias-disable;
1667724ba675SRob Herring				};
1668724ba675SRob Herring
1669724ba675SRob Herring				rx-cts-pins {
1670724ba675SRob Herring					pins = "gpio42", "gpio43";
1671724ba675SRob Herring					function = "blsp_uart7";
1672724ba675SRob Herring					drive-strength = <2>;
1673724ba675SRob Herring					bias-pull-up;
1674724ba675SRob Herring				};
1675724ba675SRob Herring			};
1676724ba675SRob Herring
1677724ba675SRob Herring			blsp2_uart1_sleep: blsp2-uart1-sleep-state {
1678724ba675SRob Herring				pins = "gpio41", "gpio42", "gpio43", "gpio44";
1679724ba675SRob Herring				function = "gpio";
1680724ba675SRob Herring				drive-strength = <2>;
1681724ba675SRob Herring				bias-pull-down;
1682724ba675SRob Herring			};
1683724ba675SRob Herring
1684724ba675SRob Herring			blsp2_uart4_default: blsp2-uart4-default-state {
1685724ba675SRob Herring				tx-rts-pins {
1686724ba675SRob Herring					pins = "gpio53", "gpio56";
1687724ba675SRob Herring					function = "blsp_uart10";
1688724ba675SRob Herring					drive-strength = <2>;
1689724ba675SRob Herring					bias-disable;
1690724ba675SRob Herring				};
1691724ba675SRob Herring
1692724ba675SRob Herring				rx-cts-pins {
1693724ba675SRob Herring					pins = "gpio54", "gpio55";
1694724ba675SRob Herring					function = "blsp_uart10";
1695724ba675SRob Herring					drive-strength = <2>;
1696724ba675SRob Herring					bias-pull-up;
1697724ba675SRob Herring				};
1698724ba675SRob Herring			};
1699724ba675SRob Herring
1700724ba675SRob Herring			blsp1_i2c1_default: blsp1-i2c1-default-state {
1701724ba675SRob Herring				pins = "gpio2", "gpio3";
1702724ba675SRob Herring				function = "blsp_i2c1";
1703724ba675SRob Herring				drive-strength = <2>;
1704724ba675SRob Herring				bias-disable;
1705724ba675SRob Herring			};
1706724ba675SRob Herring
1707724ba675SRob Herring			blsp1_i2c1_sleep: blsp1-i2c1-sleep-state {
1708724ba675SRob Herring				pins = "gpio2", "gpio3";
1709724ba675SRob Herring				function = "blsp_i2c1";
1710724ba675SRob Herring				drive-strength = <2>;
1711724ba675SRob Herring				bias-pull-up;
1712724ba675SRob Herring			};
1713724ba675SRob Herring
1714724ba675SRob Herring			blsp1_i2c2_default: blsp1-i2c2-default-state {
1715724ba675SRob Herring				pins = "gpio6", "gpio7";
1716724ba675SRob Herring				function = "blsp_i2c2";
1717724ba675SRob Herring				drive-strength = <2>;
1718724ba675SRob Herring				bias-disable;
1719724ba675SRob Herring			};
1720724ba675SRob Herring
1721724ba675SRob Herring			blsp1_i2c2_sleep: blsp1-i2c2-sleep-state {
1722724ba675SRob Herring				pins = "gpio6", "gpio7";
1723724ba675SRob Herring				function = "blsp_i2c2";
1724724ba675SRob Herring				drive-strength = <2>;
1725724ba675SRob Herring				bias-pull-up;
1726724ba675SRob Herring			};
1727724ba675SRob Herring
1728724ba675SRob Herring			blsp1_i2c3_default: blsp1-i2c3-default-state {
1729724ba675SRob Herring				pins = "gpio10", "gpio11";
1730724ba675SRob Herring				function = "blsp_i2c3";
1731724ba675SRob Herring				drive-strength = <2>;
1732724ba675SRob Herring				bias-disable;
1733724ba675SRob Herring			};
1734724ba675SRob Herring
1735724ba675SRob Herring			blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
1736724ba675SRob Herring				pins = "gpio10", "gpio11";
1737724ba675SRob Herring				function = "blsp_i2c3";
1738724ba675SRob Herring				drive-strength = <2>;
1739724ba675SRob Herring				bias-pull-up;
1740724ba675SRob Herring			};
1741724ba675SRob Herring
1742724ba675SRob Herring			/* BLSP1_I2C4 info is missing */
1743724ba675SRob Herring
1744724ba675SRob Herring			/* BLSP1_I2C5 info is missing */
1745724ba675SRob Herring
1746724ba675SRob Herring			blsp1_i2c6_default: blsp1-i2c6-default-state {
1747724ba675SRob Herring				pins = "gpio29", "gpio30";
1748724ba675SRob Herring				function = "blsp_i2c6";
1749724ba675SRob Herring				drive-strength = <2>;
1750724ba675SRob Herring				bias-disable;
1751724ba675SRob Herring			};
1752724ba675SRob Herring
1753724ba675SRob Herring			blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
1754724ba675SRob Herring				pins = "gpio29", "gpio30";
1755724ba675SRob Herring				function = "blsp_i2c6";
1756724ba675SRob Herring				drive-strength = <2>;
1757724ba675SRob Herring				bias-pull-up;
1758724ba675SRob Herring			};
1759724ba675SRob Herring			/* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
1760724ba675SRob Herring
1761724ba675SRob Herring			/* BLSP2_I2C1 info is missing */
1762724ba675SRob Herring
1763724ba675SRob Herring			blsp2_i2c2_default: blsp2-i2c2-default-state {
1764724ba675SRob Herring				pins = "gpio47", "gpio48";
1765724ba675SRob Herring				function = "blsp_i2c8";
1766724ba675SRob Herring				drive-strength = <2>;
1767724ba675SRob Herring				bias-disable;
1768724ba675SRob Herring			};
1769724ba675SRob Herring
1770724ba675SRob Herring			blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
1771724ba675SRob Herring				pins = "gpio47", "gpio48";
1772724ba675SRob Herring				function = "blsp_i2c8";
1773724ba675SRob Herring				drive-strength = <2>;
1774724ba675SRob Herring				bias-pull-up;
1775724ba675SRob Herring			};
1776724ba675SRob Herring
1777724ba675SRob Herring			/* BLSP2_I2C3 info is missing */
1778724ba675SRob Herring
1779724ba675SRob Herring			/* BLSP2_I2C4 info is missing */
1780724ba675SRob Herring
1781724ba675SRob Herring			blsp2_i2c5_default: blsp2-i2c5-default-state {
1782724ba675SRob Herring				pins = "gpio83", "gpio84";
1783724ba675SRob Herring				function = "blsp_i2c11";
1784724ba675SRob Herring				drive-strength = <2>;
1785724ba675SRob Herring				bias-disable;
1786724ba675SRob Herring			};
1787724ba675SRob Herring
1788724ba675SRob Herring			blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
1789724ba675SRob Herring				pins = "gpio83", "gpio84";
1790724ba675SRob Herring				function = "blsp_i2c11";
1791724ba675SRob Herring				drive-strength = <2>;
1792724ba675SRob Herring				bias-pull-up;
1793724ba675SRob Herring			};
1794724ba675SRob Herring
1795724ba675SRob Herring			blsp2_i2c6_default: blsp2-i2c6-default-state {
1796724ba675SRob Herring				pins = "gpio87", "gpio88";
1797724ba675SRob Herring				function = "blsp_i2c12";
1798724ba675SRob Herring				drive-strength = <2>;
1799724ba675SRob Herring				bias-disable;
1800724ba675SRob Herring			};
1801724ba675SRob Herring
1802724ba675SRob Herring			blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
1803724ba675SRob Herring				pins = "gpio87", "gpio88";
1804724ba675SRob Herring				function = "blsp_i2c12";
1805724ba675SRob Herring				drive-strength = <2>;
1806724ba675SRob Herring				bias-pull-up;
1807724ba675SRob Herring			};
1808724ba675SRob Herring
1809724ba675SRob Herring			cci_default: cci-default-state {
1810724ba675SRob Herring				cci_i2c0_default: cci-i2c0-default-pins {
1811724ba675SRob Herring					pins = "gpio19", "gpio20";
1812724ba675SRob Herring					function = "cci_i2c0";
1813724ba675SRob Herring					drive-strength = <2>;
1814724ba675SRob Herring					bias-disable;
1815724ba675SRob Herring				};
1816724ba675SRob Herring
1817724ba675SRob Herring				cci_i2c1_default: cci-i2c1-default-pins {
1818724ba675SRob Herring					pins = "gpio21", "gpio22";
1819724ba675SRob Herring					function = "cci_i2c1";
1820724ba675SRob Herring					drive-strength = <2>;
1821724ba675SRob Herring					bias-disable;
1822724ba675SRob Herring				};
1823724ba675SRob Herring			};
1824724ba675SRob Herring
1825724ba675SRob Herring			cci_sleep: cci-sleep-state {
1826724ba675SRob Herring				cci_i2c0_sleep: cci-i2c0-sleep-pins {
1827724ba675SRob Herring					pins = "gpio19", "gpio20";
1828724ba675SRob Herring					function = "gpio";
1829724ba675SRob Herring					drive-strength = <2>;
1830724ba675SRob Herring					bias-disable;
1831724ba675SRob Herring				};
1832724ba675SRob Herring
1833724ba675SRob Herring				cci_i2c1_sleep: cci-i2c1-sleep-pins {
1834724ba675SRob Herring					pins = "gpio21", "gpio22";
1835724ba675SRob Herring					function = "gpio";
1836724ba675SRob Herring					drive-strength = <2>;
1837724ba675SRob Herring					bias-disable;
1838724ba675SRob Herring				};
1839724ba675SRob Herring			};
1840724ba675SRob Herring
1841724ba675SRob Herring			spi8_default: spi8_default-state {
1842724ba675SRob Herring				mosi-pins {
1843724ba675SRob Herring					pins = "gpio45";
1844724ba675SRob Herring					function = "blsp_spi8";
1845724ba675SRob Herring				};
1846724ba675SRob Herring				miso-pins {
1847724ba675SRob Herring					pins = "gpio46";
1848724ba675SRob Herring					function = "blsp_spi8";
1849724ba675SRob Herring				};
1850724ba675SRob Herring				cs-pins {
1851724ba675SRob Herring					pins = "gpio47";
1852724ba675SRob Herring					function = "blsp_spi8";
1853724ba675SRob Herring				};
1854724ba675SRob Herring				clk-pins {
1855724ba675SRob Herring					pins = "gpio48";
1856724ba675SRob Herring					function = "blsp_spi8";
1857724ba675SRob Herring				};
1858724ba675SRob Herring			};
1859724ba675SRob Herring		};
1860724ba675SRob Herring
1861724ba675SRob Herring		mmcc: clock-controller@fd8c0000 {
1862724ba675SRob Herring			compatible = "qcom,mmcc-msm8974";
1863724ba675SRob Herring			#clock-cells = <1>;
1864724ba675SRob Herring			#reset-cells = <1>;
1865724ba675SRob Herring			#power-domain-cells = <1>;
1866724ba675SRob Herring			reg = <0xfd8c0000 0x6000>;
1867724ba675SRob Herring			clocks = <&xo_board>,
1868724ba675SRob Herring				 <&gcc GCC_MMSS_GPLL0_CLK_SRC>,
1869724ba675SRob Herring				 <&gcc GPLL0_VOTE>,
1870724ba675SRob Herring				 <&gcc GPLL1_VOTE>,
1871724ba675SRob Herring				 <&rpmcc RPM_SMD_GFX3D_CLK_SRC>,
1872724ba675SRob Herring				 <&mdss_dsi0_phy 1>,
1873724ba675SRob Herring				 <&mdss_dsi0_phy 0>,
1874724ba675SRob Herring				 <&mdss_dsi1_phy 1>,
1875724ba675SRob Herring				 <&mdss_dsi1_phy 0>,
1876724ba675SRob Herring				 <0>,
1877724ba675SRob Herring				 <0>,
1878724ba675SRob Herring				 <0>;
1879724ba675SRob Herring			clock-names = "xo",
1880724ba675SRob Herring				      "mmss_gpll0_vote",
1881724ba675SRob Herring				      "gpll0_vote",
1882724ba675SRob Herring				      "gpll1_vote",
1883724ba675SRob Herring				      "gfx3d_clk_src",
1884724ba675SRob Herring				      "dsi0pll",
1885724ba675SRob Herring				      "dsi0pllbyte",
1886724ba675SRob Herring				      "dsi1pll",
1887724ba675SRob Herring				      "dsi1pllbyte",
1888724ba675SRob Herring				      "hdmipll",
1889724ba675SRob Herring				      "edp_link_clk",
1890724ba675SRob Herring				      "edp_vco_div";
1891724ba675SRob Herring		};
1892724ba675SRob Herring
1893724ba675SRob Herring		mdss: display-subsystem@fd900000 {
1894724ba675SRob Herring			compatible = "qcom,mdss";
1895724ba675SRob Herring			reg = <0xfd900000 0x100>, <0xfd924000 0x1000>;
1896724ba675SRob Herring			reg-names = "mdss_phys", "vbif_phys";
1897724ba675SRob Herring
1898724ba675SRob Herring			power-domains = <&mmcc MDSS_GDSC>;
1899724ba675SRob Herring
1900724ba675SRob Herring			clocks = <&mmcc MDSS_AHB_CLK>,
1901724ba675SRob Herring				 <&mmcc MDSS_AXI_CLK>,
1902724ba675SRob Herring				 <&mmcc MDSS_VSYNC_CLK>;
1903724ba675SRob Herring			clock-names = "iface", "bus", "vsync";
1904724ba675SRob Herring
1905724ba675SRob Herring			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1906724ba675SRob Herring
1907724ba675SRob Herring			interrupt-controller;
1908724ba675SRob Herring			#interrupt-cells = <1>;
1909724ba675SRob Herring
1910724ba675SRob Herring			status = "disabled";
1911724ba675SRob Herring
1912724ba675SRob Herring			#address-cells = <1>;
1913724ba675SRob Herring			#size-cells = <1>;
1914724ba675SRob Herring			ranges;
1915724ba675SRob Herring
1916724ba675SRob Herring			mdp: display-controller@fd900000 {
1917724ba675SRob Herring				compatible = "qcom,msm8974-mdp5", "qcom,mdp5";
1918724ba675SRob Herring				reg = <0xfd900100 0x22000>;
1919724ba675SRob Herring				reg-names = "mdp_phys";
1920724ba675SRob Herring
1921724ba675SRob Herring				interrupt-parent = <&mdss>;
1922724ba675SRob Herring				interrupts = <0>;
1923724ba675SRob Herring
1924724ba675SRob Herring				clocks = <&mmcc MDSS_AHB_CLK>,
1925724ba675SRob Herring					 <&mmcc MDSS_AXI_CLK>,
1926724ba675SRob Herring					 <&mmcc MDSS_MDP_CLK>,
1927724ba675SRob Herring					 <&mmcc MDSS_VSYNC_CLK>;
1928724ba675SRob Herring				clock-names = "iface", "bus", "core", "vsync";
1929724ba675SRob Herring
1930724ba675SRob Herring				interconnects = <&mmssnoc MNOC_MAS_MDP_PORT0 &bimc BIMC_SLV_EBI_CH0>;
1931724ba675SRob Herring				interconnect-names = "mdp0-mem";
1932724ba675SRob Herring
1933724ba675SRob Herring				ports {
1934724ba675SRob Herring					#address-cells = <1>;
1935724ba675SRob Herring					#size-cells = <0>;
1936724ba675SRob Herring
1937724ba675SRob Herring					port@0 {
1938724ba675SRob Herring						reg = <0>;
1939724ba675SRob Herring						mdp5_intf1_out: endpoint {
1940724ba675SRob Herring							remote-endpoint = <&mdss_dsi0_in>;
1941724ba675SRob Herring						};
1942724ba675SRob Herring					};
1943724ba675SRob Herring
1944724ba675SRob Herring					port@1 {
1945724ba675SRob Herring						reg = <1>;
1946724ba675SRob Herring						mdp5_intf2_out: endpoint {
1947724ba675SRob Herring							remote-endpoint = <&mdss_dsi1_in>;
1948724ba675SRob Herring						};
1949724ba675SRob Herring					};
1950724ba675SRob Herring				};
1951724ba675SRob Herring			};
1952724ba675SRob Herring
1953724ba675SRob Herring			mdss_dsi0: dsi@fd922800 {
1954724ba675SRob Herring				compatible = "qcom,msm8974-dsi-ctrl",
1955724ba675SRob Herring					     "qcom,mdss-dsi-ctrl";
1956724ba675SRob Herring				reg = <0xfd922800 0x1f8>;
1957724ba675SRob Herring				reg-names = "dsi_ctrl";
1958724ba675SRob Herring
1959724ba675SRob Herring				interrupt-parent = <&mdss>;
1960724ba675SRob Herring				interrupts = <4>;
1961724ba675SRob Herring
1962724ba675SRob Herring				assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>;
1963724ba675SRob Herring				assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
1964724ba675SRob Herring
1965724ba675SRob Herring				clocks = <&mmcc MDSS_MDP_CLK>,
1966724ba675SRob Herring					 <&mmcc MDSS_AHB_CLK>,
1967724ba675SRob Herring					 <&mmcc MDSS_AXI_CLK>,
1968724ba675SRob Herring					 <&mmcc MDSS_BYTE0_CLK>,
1969724ba675SRob Herring					 <&mmcc MDSS_PCLK0_CLK>,
1970724ba675SRob Herring					 <&mmcc MDSS_ESC0_CLK>,
1971724ba675SRob Herring					 <&mmcc MMSS_MISC_AHB_CLK>;
1972724ba675SRob Herring				clock-names = "mdp_core",
1973724ba675SRob Herring					      "iface",
1974724ba675SRob Herring					      "bus",
1975724ba675SRob Herring					      "byte",
1976724ba675SRob Herring					      "pixel",
1977724ba675SRob Herring					      "core",
1978724ba675SRob Herring					      "core_mmss";
1979724ba675SRob Herring
1980724ba675SRob Herring				phys = <&mdss_dsi0_phy>;
1981724ba675SRob Herring
1982724ba675SRob Herring				status = "disabled";
1983724ba675SRob Herring
1984724ba675SRob Herring				#address-cells = <1>;
1985724ba675SRob Herring				#size-cells = <0>;
1986724ba675SRob Herring
1987724ba675SRob Herring				ports {
1988724ba675SRob Herring					#address-cells = <1>;
1989724ba675SRob Herring					#size-cells = <0>;
1990724ba675SRob Herring
1991724ba675SRob Herring					port@0 {
1992724ba675SRob Herring						reg = <0>;
1993724ba675SRob Herring						mdss_dsi0_in: endpoint {
1994724ba675SRob Herring							remote-endpoint = <&mdp5_intf1_out>;
1995724ba675SRob Herring						};
1996724ba675SRob Herring					};
1997724ba675SRob Herring
1998724ba675SRob Herring					port@1 {
1999724ba675SRob Herring						reg = <1>;
2000724ba675SRob Herring						mdss_dsi0_out: endpoint {
2001724ba675SRob Herring						};
2002724ba675SRob Herring					};
2003724ba675SRob Herring				};
2004724ba675SRob Herring			};
2005724ba675SRob Herring
2006724ba675SRob Herring			mdss_dsi0_phy: phy@fd922a00 {
2007724ba675SRob Herring				compatible = "qcom,dsi-phy-28nm-hpm";
2008724ba675SRob Herring				reg = <0xfd922a00 0xd4>,
2009724ba675SRob Herring				      <0xfd922b00 0x280>,
2010724ba675SRob Herring				      <0xfd922d80 0x30>;
2011724ba675SRob Herring				reg-names = "dsi_pll",
2012724ba675SRob Herring					    "dsi_phy",
2013724ba675SRob Herring					    "dsi_phy_regulator";
2014724ba675SRob Herring
2015724ba675SRob Herring				#clock-cells = <1>;
2016724ba675SRob Herring				#phy-cells = <0>;
2017724ba675SRob Herring
2018724ba675SRob Herring				clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>;
2019724ba675SRob Herring				clock-names = "iface", "ref";
2020724ba675SRob Herring
2021724ba675SRob Herring				status = "disabled";
2022724ba675SRob Herring			};
2023724ba675SRob Herring
2024724ba675SRob Herring			mdss_dsi1: dsi@fd922e00 {
2025724ba675SRob Herring				compatible = "qcom,msm8974-dsi-ctrl",
2026724ba675SRob Herring					     "qcom,mdss-dsi-ctrl";
2027724ba675SRob Herring				reg = <0xfd922e00 0x1f8>;
2028724ba675SRob Herring				reg-names = "dsi_ctrl";
2029724ba675SRob Herring
2030724ba675SRob Herring				interrupt-parent = <&mdss>;
2031724ba675SRob Herring				interrupts = <4>;
2032724ba675SRob Herring
2033724ba675SRob Herring				assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>;
2034724ba675SRob Herring				assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>;
2035724ba675SRob Herring
2036724ba675SRob Herring				clocks = <&mmcc MDSS_MDP_CLK>,
2037724ba675SRob Herring					 <&mmcc MDSS_AHB_CLK>,
2038724ba675SRob Herring					 <&mmcc MDSS_AXI_CLK>,
2039724ba675SRob Herring					 <&mmcc MDSS_BYTE1_CLK>,
2040724ba675SRob Herring					 <&mmcc MDSS_PCLK1_CLK>,
2041724ba675SRob Herring					 <&mmcc MDSS_ESC1_CLK>,
2042724ba675SRob Herring					 <&mmcc MMSS_MISC_AHB_CLK>;
2043724ba675SRob Herring				clock-names = "mdp_core",
2044724ba675SRob Herring					      "iface",
2045724ba675SRob Herring					      "bus",
2046724ba675SRob Herring					      "byte",
2047724ba675SRob Herring					      "pixel",
2048724ba675SRob Herring					      "core",
2049724ba675SRob Herring					      "core_mmss";
2050724ba675SRob Herring
2051724ba675SRob Herring				phys = <&mdss_dsi1_phy>;
2052724ba675SRob Herring
2053724ba675SRob Herring				status = "disabled";
2054724ba675SRob Herring
2055724ba675SRob Herring				#address-cells = <1>;
2056724ba675SRob Herring				#size-cells = <0>;
2057724ba675SRob Herring
2058724ba675SRob Herring				ports {
2059724ba675SRob Herring					#address-cells = <1>;
2060724ba675SRob Herring					#size-cells = <0>;
2061724ba675SRob Herring
2062724ba675SRob Herring					port@0 {
2063724ba675SRob Herring						reg = <0>;
2064724ba675SRob Herring						mdss_dsi1_in: endpoint {
2065724ba675SRob Herring							remote-endpoint = <&mdp5_intf2_out>;
2066724ba675SRob Herring						};
2067724ba675SRob Herring					};
2068724ba675SRob Herring
2069724ba675SRob Herring					port@1 {
2070724ba675SRob Herring						reg = <1>;
2071724ba675SRob Herring						mdss_dsi1_out: endpoint {
2072724ba675SRob Herring						};
2073724ba675SRob Herring					};
2074724ba675SRob Herring				};
2075724ba675SRob Herring			};
2076724ba675SRob Herring
2077724ba675SRob Herring			mdss_dsi1_phy: phy@fd923000 {
2078724ba675SRob Herring				compatible = "qcom,dsi-phy-28nm-hpm";
2079724ba675SRob Herring				reg = <0xfd923000 0xd4>,
2080724ba675SRob Herring				      <0xfd923100 0x280>,
2081724ba675SRob Herring				      <0xfd923380 0x30>;
2082724ba675SRob Herring				reg-names = "dsi_pll",
2083724ba675SRob Herring					    "dsi_phy",
2084724ba675SRob Herring					    "dsi_phy_regulator";
2085724ba675SRob Herring
2086724ba675SRob Herring				#clock-cells = <1>;
2087724ba675SRob Herring				#phy-cells = <0>;
2088724ba675SRob Herring
2089724ba675SRob Herring				clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>;
2090724ba675SRob Herring				clock-names = "iface", "ref";
2091724ba675SRob Herring
2092724ba675SRob Herring				status = "disabled";
2093724ba675SRob Herring			};
2094724ba675SRob Herring		};
2095724ba675SRob Herring
2096724ba675SRob Herring		cci: cci@fda0c000 {
2097724ba675SRob Herring			compatible = "qcom,msm8974-cci";
2098724ba675SRob Herring			#address-cells = <1>;
2099724ba675SRob Herring			#size-cells = <0>;
2100724ba675SRob Herring			reg = <0xfda0c000 0x1000>;
2101724ba675SRob Herring			interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
2102724ba675SRob Herring			clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
2103724ba675SRob Herring				 <&mmcc CAMSS_CCI_CCI_AHB_CLK>,
2104724ba675SRob Herring				 <&mmcc CAMSS_CCI_CCI_CLK>;
2105724ba675SRob Herring			clock-names = "camss_top_ahb",
2106724ba675SRob Herring				      "cci_ahb",
2107724ba675SRob Herring				      "cci";
2108724ba675SRob Herring
2109724ba675SRob Herring			pinctrl-names = "default", "sleep";
2110724ba675SRob Herring			pinctrl-0 = <&cci_default>;
2111724ba675SRob Herring			pinctrl-1 = <&cci_sleep>;
2112724ba675SRob Herring
2113724ba675SRob Herring			status = "disabled";
2114724ba675SRob Herring
2115724ba675SRob Herring			cci_i2c0: i2c-bus@0 {
2116724ba675SRob Herring				reg = <0>;
2117724ba675SRob Herring				clock-frequency = <100000>;
2118724ba675SRob Herring				#address-cells = <1>;
2119724ba675SRob Herring				#size-cells = <0>;
2120724ba675SRob Herring			};
2121724ba675SRob Herring
2122724ba675SRob Herring			cci_i2c1: i2c-bus@1 {
2123724ba675SRob Herring				reg = <1>;
2124724ba675SRob Herring				clock-frequency = <100000>;
2125724ba675SRob Herring				#address-cells = <1>;
2126724ba675SRob Herring				#size-cells = <0>;
2127724ba675SRob Herring			};
2128724ba675SRob Herring		};
2129724ba675SRob Herring
2130724ba675SRob Herring		gpu: adreno@fdb00000 {
2131724ba675SRob Herring			compatible = "qcom,adreno-330.1", "qcom,adreno";
2132724ba675SRob Herring			reg = <0xfdb00000 0x10000>;
2133724ba675SRob Herring			reg-names = "kgsl_3d0_reg_memory";
2134724ba675SRob Herring
2135724ba675SRob Herring			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
2136724ba675SRob Herring			interrupt-names = "kgsl_3d0_irq";
2137724ba675SRob Herring
2138724ba675SRob Herring			clocks = <&mmcc OXILI_GFX3D_CLK>,
2139724ba675SRob Herring				 <&mmcc OXILICX_AHB_CLK>,
2140724ba675SRob Herring				 <&mmcc OXILICX_AXI_CLK>;
2141724ba675SRob Herring			clock-names = "core", "iface", "mem_iface";
2142724ba675SRob Herring
2143724ba675SRob Herring			sram = <&gmu_sram>;
2144724ba675SRob Herring			power-domains = <&mmcc OXILICX_GDSC>;
2145724ba675SRob Herring			operating-points-v2 = <&gpu_opp_table>;
2146724ba675SRob Herring
2147724ba675SRob Herring			interconnects = <&mmssnoc MNOC_MAS_GRAPHICS_3D &bimc BIMC_SLV_EBI_CH0>,
2148724ba675SRob Herring					<&ocmemnoc OCMEM_VNOC_MAS_GFX3D &ocmemnoc OCMEM_SLV_OCMEM>;
2149724ba675SRob Herring			interconnect-names = "gfx-mem", "ocmem";
2150724ba675SRob Herring
2151724ba675SRob Herring			// iommus = <&gpu_iommu 0>;
2152724ba675SRob Herring
2153724ba675SRob Herring			status = "disabled";
2154724ba675SRob Herring
2155724ba675SRob Herring			gpu_opp_table: opp-table {
2156724ba675SRob Herring				compatible = "operating-points-v2";
2157724ba675SRob Herring
2158724ba675SRob Herring				opp-320000000 {
2159724ba675SRob Herring					opp-hz = /bits/ 64 <320000000>;
2160724ba675SRob Herring				};
2161724ba675SRob Herring
2162724ba675SRob Herring				opp-200000000 {
2163724ba675SRob Herring					opp-hz = /bits/ 64 <200000000>;
2164724ba675SRob Herring				};
2165724ba675SRob Herring
2166724ba675SRob Herring				opp-27000000 {
2167724ba675SRob Herring					opp-hz = /bits/ 64 <27000000>;
2168724ba675SRob Herring				};
2169724ba675SRob Herring			};
2170724ba675SRob Herring		};
2171724ba675SRob Herring
2172724ba675SRob Herring		sram@fdd00000 {
2173724ba675SRob Herring			compatible = "qcom,msm8974-ocmem";
2174724ba675SRob Herring			reg = <0xfdd00000 0x2000>,
2175724ba675SRob Herring			      <0xfec00000 0x180000>;
2176724ba675SRob Herring			reg-names = "ctrl", "mem";
2177724ba675SRob Herring			ranges = <0 0xfec00000 0x180000>;
2178724ba675SRob Herring			clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
2179724ba675SRob Herring				 <&mmcc OCMEMCX_OCMEMNOC_CLK>;
2180724ba675SRob Herring			clock-names = "core", "iface";
2181724ba675SRob Herring
2182724ba675SRob Herring			#address-cells = <1>;
2183724ba675SRob Herring			#size-cells = <1>;
2184724ba675SRob Herring
2185724ba675SRob Herring			gmu_sram: gmu-sram@0 {
2186724ba675SRob Herring				reg = <0x0 0x100000>;
2187724ba675SRob Herring			};
2188724ba675SRob Herring		};
2189724ba675SRob Herring
2190724ba675SRob Herring		remoteproc_adsp: remoteproc@fe200000 {
2191724ba675SRob Herring			compatible = "qcom,msm8974-adsp-pil";
2192724ba675SRob Herring			reg = <0xfe200000 0x100>;
2193724ba675SRob Herring
2194724ba675SRob Herring			interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
2195724ba675SRob Herring					       <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2196724ba675SRob Herring					       <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2197724ba675SRob Herring					       <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2198724ba675SRob Herring					       <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2199724ba675SRob Herring			interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
2200724ba675SRob Herring
2201724ba675SRob Herring			clocks = <&xo_board>;
2202724ba675SRob Herring			clock-names = "xo";
2203724ba675SRob Herring
2204724ba675SRob Herring			memory-region = <&adsp_region>;
2205724ba675SRob Herring
2206724ba675SRob Herring			qcom,smem-states = <&adsp_smp2p_out 0>;
2207724ba675SRob Herring			qcom,smem-state-names = "stop";
2208724ba675SRob Herring
2209724ba675SRob Herring			status = "disabled";
2210724ba675SRob Herring
2211724ba675SRob Herring			smd-edge {
2212724ba675SRob Herring				interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
2213724ba675SRob Herring
2214724ba675SRob Herring				qcom,ipc = <&apcs 8 8>;
2215724ba675SRob Herring				qcom,smd-edge = <1>;
2216724ba675SRob Herring				label = "lpass";
2217724ba675SRob Herring			};
2218724ba675SRob Herring		};
2219724ba675SRob Herring
2220724ba675SRob Herring		imem: sram@fe805000 {
2221724ba675SRob Herring			compatible = "qcom,msm8974-imem", "syscon", "simple-mfd";
2222724ba675SRob Herring			reg = <0xfe805000 0x1000>;
2223724ba675SRob Herring
2224724ba675SRob Herring			reboot-mode {
2225724ba675SRob Herring				compatible = "syscon-reboot-mode";
2226724ba675SRob Herring				offset = <0x65c>;
2227724ba675SRob Herring			};
2228724ba675SRob Herring		};
2229724ba675SRob Herring	};
2230724ba675SRob Herring
2231724ba675SRob Herring	thermal-zones {
2232724ba675SRob Herring		cpu0-thermal {
2233724ba675SRob Herring			polling-delay-passive = <250>;
2234724ba675SRob Herring			polling-delay = <1000>;
2235724ba675SRob Herring
2236724ba675SRob Herring			thermal-sensors = <&tsens 5>;
2237724ba675SRob Herring
2238724ba675SRob Herring			trips {
2239724ba675SRob Herring				cpu_alert0: trip0 {
2240724ba675SRob Herring					temperature = <75000>;
2241724ba675SRob Herring					hysteresis = <2000>;
2242724ba675SRob Herring					type = "passive";
2243724ba675SRob Herring				};
2244724ba675SRob Herring				cpu_crit0: trip1 {
2245724ba675SRob Herring					temperature = <110000>;
2246724ba675SRob Herring					hysteresis = <2000>;
2247724ba675SRob Herring					type = "critical";
2248724ba675SRob Herring				};
2249724ba675SRob Herring			};
2250724ba675SRob Herring		};
2251724ba675SRob Herring
2252724ba675SRob Herring		cpu1-thermal {
2253724ba675SRob Herring			polling-delay-passive = <250>;
2254724ba675SRob Herring			polling-delay = <1000>;
2255724ba675SRob Herring
2256724ba675SRob Herring			thermal-sensors = <&tsens 6>;
2257724ba675SRob Herring
2258724ba675SRob Herring			trips {
2259724ba675SRob Herring				cpu_alert1: trip0 {
2260724ba675SRob Herring					temperature = <75000>;
2261724ba675SRob Herring					hysteresis = <2000>;
2262724ba675SRob Herring					type = "passive";
2263724ba675SRob Herring				};
2264724ba675SRob Herring				cpu_crit1: trip1 {
2265724ba675SRob Herring					temperature = <110000>;
2266724ba675SRob Herring					hysteresis = <2000>;
2267724ba675SRob Herring					type = "critical";
2268724ba675SRob Herring				};
2269724ba675SRob Herring			};
2270724ba675SRob Herring		};
2271724ba675SRob Herring
2272724ba675SRob Herring		cpu2-thermal {
2273724ba675SRob Herring			polling-delay-passive = <250>;
2274724ba675SRob Herring			polling-delay = <1000>;
2275724ba675SRob Herring
2276724ba675SRob Herring			thermal-sensors = <&tsens 7>;
2277724ba675SRob Herring
2278724ba675SRob Herring			trips {
2279724ba675SRob Herring				cpu_alert2: trip0 {
2280724ba675SRob Herring					temperature = <75000>;
2281724ba675SRob Herring					hysteresis = <2000>;
2282724ba675SRob Herring					type = "passive";
2283724ba675SRob Herring				};
2284724ba675SRob Herring				cpu_crit2: trip1 {
2285724ba675SRob Herring					temperature = <110000>;
2286724ba675SRob Herring					hysteresis = <2000>;
2287724ba675SRob Herring					type = "critical";
2288724ba675SRob Herring				};
2289724ba675SRob Herring			};
2290724ba675SRob Herring		};
2291724ba675SRob Herring
2292724ba675SRob Herring		cpu3-thermal {
2293724ba675SRob Herring			polling-delay-passive = <250>;
2294724ba675SRob Herring			polling-delay = <1000>;
2295724ba675SRob Herring
2296724ba675SRob Herring			thermal-sensors = <&tsens 8>;
2297724ba675SRob Herring
2298724ba675SRob Herring			trips {
2299724ba675SRob Herring				cpu_alert3: trip0 {
2300724ba675SRob Herring					temperature = <75000>;
2301724ba675SRob Herring					hysteresis = <2000>;
2302724ba675SRob Herring					type = "passive";
2303724ba675SRob Herring				};
2304724ba675SRob Herring				cpu_crit3: trip1 {
2305724ba675SRob Herring					temperature = <110000>;
2306724ba675SRob Herring					hysteresis = <2000>;
2307724ba675SRob Herring					type = "critical";
2308724ba675SRob Herring				};
2309724ba675SRob Herring			};
2310724ba675SRob Herring		};
2311724ba675SRob Herring
2312724ba675SRob Herring		q6-dsp-thermal {
2313724ba675SRob Herring			polling-delay-passive = <250>;
2314724ba675SRob Herring			polling-delay = <1000>;
2315724ba675SRob Herring
2316724ba675SRob Herring			thermal-sensors = <&tsens 1>;
2317724ba675SRob Herring
2318724ba675SRob Herring			trips {
2319724ba675SRob Herring				q6_dsp_alert0: trip-point0 {
2320724ba675SRob Herring					temperature = <90000>;
2321724ba675SRob Herring					hysteresis = <2000>;
2322724ba675SRob Herring					type = "hot";
2323724ba675SRob Herring				};
2324724ba675SRob Herring			};
2325724ba675SRob Herring		};
2326724ba675SRob Herring
2327724ba675SRob Herring		modemtx-thermal {
2328724ba675SRob Herring			polling-delay-passive = <250>;
2329724ba675SRob Herring			polling-delay = <1000>;
2330724ba675SRob Herring
2331724ba675SRob Herring			thermal-sensors = <&tsens 2>;
2332724ba675SRob Herring
2333724ba675SRob Herring			trips {
2334724ba675SRob Herring				modemtx_alert0: trip-point0 {
2335724ba675SRob Herring					temperature = <90000>;
2336724ba675SRob Herring					hysteresis = <2000>;
2337724ba675SRob Herring					type = "hot";
2338724ba675SRob Herring				};
2339724ba675SRob Herring			};
2340724ba675SRob Herring		};
2341724ba675SRob Herring
2342724ba675SRob Herring		video-thermal {
2343724ba675SRob Herring			polling-delay-passive = <250>;
2344724ba675SRob Herring			polling-delay = <1000>;
2345724ba675SRob Herring
2346724ba675SRob Herring			thermal-sensors = <&tsens 3>;
2347724ba675SRob Herring
2348724ba675SRob Herring			trips {
2349724ba675SRob Herring				video_alert0: trip-point0 {
2350724ba675SRob Herring					temperature = <95000>;
2351724ba675SRob Herring					hysteresis = <2000>;
2352724ba675SRob Herring					type = "hot";
2353724ba675SRob Herring				};
2354724ba675SRob Herring			};
2355724ba675SRob Herring		};
2356724ba675SRob Herring
2357724ba675SRob Herring		wlan-thermal {
2358724ba675SRob Herring			polling-delay-passive = <250>;
2359724ba675SRob Herring			polling-delay = <1000>;
2360724ba675SRob Herring
2361724ba675SRob Herring			thermal-sensors = <&tsens 4>;
2362724ba675SRob Herring
2363724ba675SRob Herring			trips {
2364724ba675SRob Herring				wlan_alert0: trip-point0 {
2365724ba675SRob Herring					temperature = <105000>;
2366724ba675SRob Herring					hysteresis = <2000>;
2367724ba675SRob Herring					type = "hot";
2368724ba675SRob Herring				};
2369724ba675SRob Herring			};
2370724ba675SRob Herring		};
2371724ba675SRob Herring
2372724ba675SRob Herring		gpu-top-thermal {
2373724ba675SRob Herring			polling-delay-passive = <250>;
2374724ba675SRob Herring			polling-delay = <1000>;
2375724ba675SRob Herring
2376724ba675SRob Herring			thermal-sensors = <&tsens 9>;
2377724ba675SRob Herring
2378724ba675SRob Herring			trips {
2379724ba675SRob Herring				gpu1_alert0: trip-point0 {
2380724ba675SRob Herring					temperature = <90000>;
2381724ba675SRob Herring					hysteresis = <2000>;
2382724ba675SRob Herring					type = "hot";
2383724ba675SRob Herring				};
2384724ba675SRob Herring			};
2385724ba675SRob Herring		};
2386724ba675SRob Herring
2387724ba675SRob Herring		gpu-bottom-thermal {
2388724ba675SRob Herring			polling-delay-passive = <250>;
2389724ba675SRob Herring			polling-delay = <1000>;
2390724ba675SRob Herring
2391724ba675SRob Herring			thermal-sensors = <&tsens 10>;
2392724ba675SRob Herring
2393724ba675SRob Herring			trips {
2394724ba675SRob Herring				gpu2_alert0: trip-point0 {
2395724ba675SRob Herring					temperature = <90000>;
2396724ba675SRob Herring					hysteresis = <2000>;
2397724ba675SRob Herring					type = "hot";
2398724ba675SRob Herring				};
2399724ba675SRob Herring			};
2400724ba675SRob Herring		};
2401724ba675SRob Herring	};
2402724ba675SRob Herring
2403724ba675SRob Herring	timer {
2404724ba675SRob Herring		compatible = "arm,armv7-timer";
2405724ba675SRob Herring		interrupts = <GIC_PPI 2 0xf08>,
2406724ba675SRob Herring			     <GIC_PPI 3 0xf08>,
2407724ba675SRob Herring			     <GIC_PPI 4 0xf08>,
2408724ba675SRob Herring			     <GIC_PPI 1 0xf08>;
2409724ba675SRob Herring		clock-frequency = <19200000>;
2410724ba675SRob Herring	};
2411724ba675SRob Herring
2412724ba675SRob Herring	vreg_boost: vreg-boost {
2413724ba675SRob Herring		compatible = "regulator-fixed";
2414724ba675SRob Herring
2415724ba675SRob Herring		regulator-name = "vreg-boost";
2416724ba675SRob Herring		regulator-min-microvolt = <3150000>;
2417724ba675SRob Herring		regulator-max-microvolt = <3150000>;
2418724ba675SRob Herring
2419724ba675SRob Herring		regulator-always-on;
2420724ba675SRob Herring		regulator-boot-on;
2421724ba675SRob Herring
2422724ba675SRob Herring		gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
2423724ba675SRob Herring		enable-active-high;
2424724ba675SRob Herring
2425724ba675SRob Herring		pinctrl-names = "default";
2426724ba675SRob Herring		pinctrl-0 = <&boost_bypass_n_pin>;
2427724ba675SRob Herring	};
2428724ba675SRob Herring
2429724ba675SRob Herring	vreg_vph_pwr: vreg-vph-pwr {
2430724ba675SRob Herring		compatible = "regulator-fixed";
2431724ba675SRob Herring		regulator-name = "vph-pwr";
2432724ba675SRob Herring
2433724ba675SRob Herring		regulator-min-microvolt = <3600000>;
2434724ba675SRob Herring		regulator-max-microvolt = <3600000>;
2435724ba675SRob Herring
2436724ba675SRob Herring		regulator-always-on;
2437724ba675SRob Herring	};
2438724ba675SRob Herring};
2439