xref: /freebsd-src/sys/contrib/device-tree/src/arm/qcom/qcom-apq8064.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/dts-v1/;
3f126890aSEmmanuel Vadot
4f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-msm8960.h>
5f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,lcc-msm8960.h>
6f126890aSEmmanuel Vadot#include <dt-bindings/reset/qcom,gcc-msm8960.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,mmcc-msm8960.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,rpmcc.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/soc/qcom,gsbi.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	#address-cells = <1>;
14f126890aSEmmanuel Vadot	#size-cells = <1>;
15f126890aSEmmanuel Vadot	model = "Qualcomm APQ8064";
16f126890aSEmmanuel Vadot	compatible = "qcom,apq8064";
17f126890aSEmmanuel Vadot	interrupt-parent = <&intc>;
18f126890aSEmmanuel Vadot
19f126890aSEmmanuel Vadot	reserved-memory {
20f126890aSEmmanuel Vadot		#address-cells = <1>;
21f126890aSEmmanuel Vadot		#size-cells = <1>;
22f126890aSEmmanuel Vadot		ranges;
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot		smem_region: smem@80000000 {
25f126890aSEmmanuel Vadot			reg = <0x80000000 0x200000>;
26f126890aSEmmanuel Vadot			no-map;
27f126890aSEmmanuel Vadot		};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot		wcnss_mem: wcnss@8f000000 {
30f126890aSEmmanuel Vadot			reg = <0x8f000000 0x700000>;
31f126890aSEmmanuel Vadot			no-map;
32f126890aSEmmanuel Vadot		};
33f126890aSEmmanuel Vadot	};
34f126890aSEmmanuel Vadot
35f126890aSEmmanuel Vadot	cpus {
36f126890aSEmmanuel Vadot		#address-cells = <1>;
37f126890aSEmmanuel Vadot		#size-cells = <0>;
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot		CPU0: cpu@0 {
40f126890aSEmmanuel Vadot			compatible = "qcom,krait";
41f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v1";
42f126890aSEmmanuel Vadot			device_type = "cpu";
43f126890aSEmmanuel Vadot			reg = <0>;
44f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
45f126890aSEmmanuel Vadot			qcom,acc = <&acc0>;
46f126890aSEmmanuel Vadot			qcom,saw = <&saw0>;
47f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
48f126890aSEmmanuel Vadot		};
49f126890aSEmmanuel Vadot
50f126890aSEmmanuel Vadot		CPU1: cpu@1 {
51f126890aSEmmanuel Vadot			compatible = "qcom,krait";
52f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v1";
53f126890aSEmmanuel Vadot			device_type = "cpu";
54f126890aSEmmanuel Vadot			reg = <1>;
55f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
56f126890aSEmmanuel Vadot			qcom,acc = <&acc1>;
57f126890aSEmmanuel Vadot			qcom,saw = <&saw1>;
58f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
59f126890aSEmmanuel Vadot		};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		CPU2: cpu@2 {
62f126890aSEmmanuel Vadot			compatible = "qcom,krait";
63f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v1";
64f126890aSEmmanuel Vadot			device_type = "cpu";
65f126890aSEmmanuel Vadot			reg = <2>;
66f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
67f126890aSEmmanuel Vadot			qcom,acc = <&acc2>;
68f126890aSEmmanuel Vadot			qcom,saw = <&saw2>;
69f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
70f126890aSEmmanuel Vadot		};
71f126890aSEmmanuel Vadot
72f126890aSEmmanuel Vadot		CPU3: cpu@3 {
73f126890aSEmmanuel Vadot			compatible = "qcom,krait";
74f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v1";
75f126890aSEmmanuel Vadot			device_type = "cpu";
76f126890aSEmmanuel Vadot			reg = <3>;
77f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
78f126890aSEmmanuel Vadot			qcom,acc = <&acc3>;
79f126890aSEmmanuel Vadot			qcom,saw = <&saw3>;
80f126890aSEmmanuel Vadot			cpu-idle-states = <&CPU_SPC>;
81f126890aSEmmanuel Vadot		};
82f126890aSEmmanuel Vadot
83f126890aSEmmanuel Vadot		L2: l2-cache {
84f126890aSEmmanuel Vadot			compatible = "cache";
85f126890aSEmmanuel Vadot			cache-level = <2>;
86f126890aSEmmanuel Vadot			cache-unified;
87f126890aSEmmanuel Vadot		};
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot		idle-states {
90f126890aSEmmanuel Vadot			CPU_SPC: spc {
91f126890aSEmmanuel Vadot				compatible = "qcom,idle-state-spc",
92f126890aSEmmanuel Vadot						"arm,idle-state";
93f126890aSEmmanuel Vadot				entry-latency-us = <400>;
94f126890aSEmmanuel Vadot				exit-latency-us = <900>;
95f126890aSEmmanuel Vadot				min-residency-us = <3000>;
96f126890aSEmmanuel Vadot			};
97f126890aSEmmanuel Vadot		};
98f126890aSEmmanuel Vadot	};
99f126890aSEmmanuel Vadot
100f126890aSEmmanuel Vadot	memory@0 {
101f126890aSEmmanuel Vadot		device_type = "memory";
102f126890aSEmmanuel Vadot		reg = <0x0 0x0>;
103f126890aSEmmanuel Vadot	};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot	thermal-zones {
106f126890aSEmmanuel Vadot		cpu0-thermal {
107f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
108f126890aSEmmanuel Vadot			polling-delay = <1000>;
109f126890aSEmmanuel Vadot
110f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 7>;
111f126890aSEmmanuel Vadot			coefficients = <1199 0>;
112f126890aSEmmanuel Vadot
113f126890aSEmmanuel Vadot			trips {
114f126890aSEmmanuel Vadot				cpu_alert0: trip0 {
115f126890aSEmmanuel Vadot					temperature = <75000>;
116f126890aSEmmanuel Vadot					hysteresis = <2000>;
117f126890aSEmmanuel Vadot					type = "passive";
118f126890aSEmmanuel Vadot				};
119f126890aSEmmanuel Vadot				cpu_crit0: trip1 {
120f126890aSEmmanuel Vadot					temperature = <110000>;
121f126890aSEmmanuel Vadot					hysteresis = <2000>;
122f126890aSEmmanuel Vadot					type = "critical";
123f126890aSEmmanuel Vadot				};
124f126890aSEmmanuel Vadot			};
125f126890aSEmmanuel Vadot		};
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot		cpu1-thermal {
128f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
129f126890aSEmmanuel Vadot			polling-delay = <1000>;
130f126890aSEmmanuel Vadot
131f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 8>;
132f126890aSEmmanuel Vadot			coefficients = <1132 0>;
133f126890aSEmmanuel Vadot
134f126890aSEmmanuel Vadot			trips {
135f126890aSEmmanuel Vadot				cpu_alert1: trip0 {
136f126890aSEmmanuel Vadot					temperature = <75000>;
137f126890aSEmmanuel Vadot					hysteresis = <2000>;
138f126890aSEmmanuel Vadot					type = "passive";
139f126890aSEmmanuel Vadot				};
140f126890aSEmmanuel Vadot				cpu_crit1: trip1 {
141f126890aSEmmanuel Vadot					temperature = <110000>;
142f126890aSEmmanuel Vadot					hysteresis = <2000>;
143f126890aSEmmanuel Vadot					type = "critical";
144f126890aSEmmanuel Vadot				};
145f126890aSEmmanuel Vadot			};
146f126890aSEmmanuel Vadot		};
147f126890aSEmmanuel Vadot
148f126890aSEmmanuel Vadot		cpu2-thermal {
149f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
150f126890aSEmmanuel Vadot			polling-delay = <1000>;
151f126890aSEmmanuel Vadot
152f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 9>;
153f126890aSEmmanuel Vadot			coefficients = <1199 0>;
154f126890aSEmmanuel Vadot
155f126890aSEmmanuel Vadot			trips {
156f126890aSEmmanuel Vadot				cpu_alert2: trip0 {
157f126890aSEmmanuel Vadot					temperature = <75000>;
158f126890aSEmmanuel Vadot					hysteresis = <2000>;
159f126890aSEmmanuel Vadot					type = "passive";
160f126890aSEmmanuel Vadot				};
161f126890aSEmmanuel Vadot				cpu_crit2: trip1 {
162f126890aSEmmanuel Vadot					temperature = <110000>;
163f126890aSEmmanuel Vadot					hysteresis = <2000>;
164f126890aSEmmanuel Vadot					type = "critical";
165f126890aSEmmanuel Vadot				};
166f126890aSEmmanuel Vadot			};
167f126890aSEmmanuel Vadot		};
168f126890aSEmmanuel Vadot
169f126890aSEmmanuel Vadot		cpu3-thermal {
170f126890aSEmmanuel Vadot			polling-delay-passive = <250>;
171f126890aSEmmanuel Vadot			polling-delay = <1000>;
172f126890aSEmmanuel Vadot
173f126890aSEmmanuel Vadot			thermal-sensors = <&tsens 10>;
174f126890aSEmmanuel Vadot			coefficients = <1132 0>;
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot			trips {
177f126890aSEmmanuel Vadot				cpu_alert3: trip0 {
178f126890aSEmmanuel Vadot					temperature = <75000>;
179f126890aSEmmanuel Vadot					hysteresis = <2000>;
180f126890aSEmmanuel Vadot					type = "passive";
181f126890aSEmmanuel Vadot				};
182f126890aSEmmanuel Vadot				cpu_crit3: trip1 {
183f126890aSEmmanuel Vadot					temperature = <110000>;
184f126890aSEmmanuel Vadot					hysteresis = <2000>;
185f126890aSEmmanuel Vadot					type = "critical";
186f126890aSEmmanuel Vadot				};
187f126890aSEmmanuel Vadot			};
188f126890aSEmmanuel Vadot		};
189f126890aSEmmanuel Vadot	};
190f126890aSEmmanuel Vadot
191f126890aSEmmanuel Vadot	cpu-pmu {
192f126890aSEmmanuel Vadot		compatible = "qcom,krait-pmu";
193f126890aSEmmanuel Vadot		interrupts = <1 10 0x304>;
194f126890aSEmmanuel Vadot	};
195f126890aSEmmanuel Vadot
196f126890aSEmmanuel Vadot	clocks {
197f126890aSEmmanuel Vadot		cxo_board: cxo_board {
198f126890aSEmmanuel Vadot			compatible = "fixed-clock";
199f126890aSEmmanuel Vadot			#clock-cells = <0>;
200f126890aSEmmanuel Vadot			clock-frequency = <19200000>;
201f126890aSEmmanuel Vadot		};
202f126890aSEmmanuel Vadot
203f126890aSEmmanuel Vadot		pxo_board: pxo_board {
204f126890aSEmmanuel Vadot			compatible = "fixed-clock";
205f126890aSEmmanuel Vadot			#clock-cells = <0>;
206f126890aSEmmanuel Vadot			clock-frequency = <27000000>;
207f126890aSEmmanuel Vadot		};
208f126890aSEmmanuel Vadot
209f126890aSEmmanuel Vadot		sleep_clk: sleep_clk {
210f126890aSEmmanuel Vadot			compatible = "fixed-clock";
211f126890aSEmmanuel Vadot			#clock-cells = <0>;
212f126890aSEmmanuel Vadot			clock-frequency = <32768>;
213f126890aSEmmanuel Vadot		};
214f126890aSEmmanuel Vadot	};
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot	sfpb_mutex: hwmutex {
217f126890aSEmmanuel Vadot		compatible = "qcom,sfpb-mutex";
218f126890aSEmmanuel Vadot		syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
219f126890aSEmmanuel Vadot		#hwlock-cells = <1>;
220f126890aSEmmanuel Vadot	};
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot	smem {
223f126890aSEmmanuel Vadot		compatible = "qcom,smem";
224f126890aSEmmanuel Vadot		memory-region = <&smem_region>;
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot		hwlocks = <&sfpb_mutex 3>;
227f126890aSEmmanuel Vadot	};
228f126890aSEmmanuel Vadot
229f126890aSEmmanuel Vadot	smsm {
230f126890aSEmmanuel Vadot		compatible = "qcom,smsm";
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot		#address-cells = <1>;
233f126890aSEmmanuel Vadot		#size-cells = <0>;
234f126890aSEmmanuel Vadot
235f126890aSEmmanuel Vadot		qcom,ipc-1 = <&l2cc 8 4>;
236f126890aSEmmanuel Vadot		qcom,ipc-2 = <&l2cc 8 14>;
237f126890aSEmmanuel Vadot		qcom,ipc-3 = <&l2cc 8 23>;
238f126890aSEmmanuel Vadot		qcom,ipc-4 = <&sps_sic_non_secure 0x4094 0>;
239f126890aSEmmanuel Vadot
240f126890aSEmmanuel Vadot		apps_smsm: apps@0 {
241f126890aSEmmanuel Vadot			reg = <0>;
242f126890aSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
243f126890aSEmmanuel Vadot		};
244f126890aSEmmanuel Vadot
245f126890aSEmmanuel Vadot		modem_smsm: modem@1 {
246f126890aSEmmanuel Vadot			reg = <1>;
247f126890aSEmmanuel Vadot			interrupts = <0 38 IRQ_TYPE_EDGE_RISING>;
248f126890aSEmmanuel Vadot
249f126890aSEmmanuel Vadot			interrupt-controller;
250f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
251f126890aSEmmanuel Vadot		};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot		q6_smsm: q6@2 {
254f126890aSEmmanuel Vadot			reg = <2>;
255f126890aSEmmanuel Vadot			interrupts = <0 89 IRQ_TYPE_EDGE_RISING>;
256f126890aSEmmanuel Vadot
257f126890aSEmmanuel Vadot			interrupt-controller;
258f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
259f126890aSEmmanuel Vadot		};
260f126890aSEmmanuel Vadot
261f126890aSEmmanuel Vadot		wcnss_smsm: wcnss@3 {
262f126890aSEmmanuel Vadot			reg = <3>;
263f126890aSEmmanuel Vadot			interrupts = <0 204 IRQ_TYPE_EDGE_RISING>;
264f126890aSEmmanuel Vadot
265f126890aSEmmanuel Vadot			interrupt-controller;
266f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
267f126890aSEmmanuel Vadot		};
268f126890aSEmmanuel Vadot
269f126890aSEmmanuel Vadot		dsps_smsm: dsps@4 {
270f126890aSEmmanuel Vadot			reg = <4>;
271f126890aSEmmanuel Vadot			interrupts = <0 137 IRQ_TYPE_EDGE_RISING>;
272f126890aSEmmanuel Vadot
273f126890aSEmmanuel Vadot			interrupt-controller;
274f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
275f126890aSEmmanuel Vadot		};
276f126890aSEmmanuel Vadot	};
277f126890aSEmmanuel Vadot
278f126890aSEmmanuel Vadot	firmware {
279f126890aSEmmanuel Vadot		scm {
280f126890aSEmmanuel Vadot			compatible = "qcom,scm-apq8064", "qcom,scm";
281f126890aSEmmanuel Vadot
282f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_DAYTONA_FABRIC_CLK>;
283f126890aSEmmanuel Vadot			clock-names = "core";
284f126890aSEmmanuel Vadot		};
285f126890aSEmmanuel Vadot	};
286f126890aSEmmanuel Vadot
287f126890aSEmmanuel Vadot
288f126890aSEmmanuel Vadot	/*
289f126890aSEmmanuel Vadot	 * These channels from the ADC are simply hardware monitors.
290f126890aSEmmanuel Vadot	 * That is why the ADC is referred to as "HKADC" - HouseKeeping
291f126890aSEmmanuel Vadot	 * ADC.
292f126890aSEmmanuel Vadot	 */
293f126890aSEmmanuel Vadot	iio-hwmon {
294f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
295f126890aSEmmanuel Vadot		io-channels = <&xoadc 0x00 0x01>, /* Battery */
296f126890aSEmmanuel Vadot			    <&xoadc 0x00 0x02>, /* DC in (charger) */
297f126890aSEmmanuel Vadot			    <&xoadc 0x00 0x04>, /* VPH the main system voltage */
298f126890aSEmmanuel Vadot			    <&xoadc 0x00 0x0b>, /* Die temperature */
299f126890aSEmmanuel Vadot			    <&xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
300f126890aSEmmanuel Vadot			    <&xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
301f126890aSEmmanuel Vadot			    <&xoadc 0x00 0x0e>; /* Charger temperature */
302f126890aSEmmanuel Vadot	};
303f126890aSEmmanuel Vadot
304f126890aSEmmanuel Vadot	soc: soc {
305f126890aSEmmanuel Vadot		#address-cells = <1>;
306f126890aSEmmanuel Vadot		#size-cells = <1>;
307f126890aSEmmanuel Vadot		ranges;
308f126890aSEmmanuel Vadot		compatible = "simple-bus";
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot		tlmm_pinmux: pinctrl@800000 {
311f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-pinctrl";
312f126890aSEmmanuel Vadot			reg = <0x800000 0x4000>;
313f126890aSEmmanuel Vadot
314f126890aSEmmanuel Vadot			gpio-controller;
315f126890aSEmmanuel Vadot			gpio-ranges = <&tlmm_pinmux 0 0 90>;
316f126890aSEmmanuel Vadot			#gpio-cells = <2>;
317f126890aSEmmanuel Vadot			interrupt-controller;
318f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
319f126890aSEmmanuel Vadot			interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot			pinctrl-names = "default";
322f126890aSEmmanuel Vadot			pinctrl-0 = <&ps_hold>;
323f126890aSEmmanuel Vadot		};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot		sfpb_wrapper_mutex: syscon@1200000 {
326f126890aSEmmanuel Vadot			compatible = "syscon";
327f126890aSEmmanuel Vadot			reg = <0x01200000 0x8000>;
328f126890aSEmmanuel Vadot		};
329f126890aSEmmanuel Vadot
330f126890aSEmmanuel Vadot		intc: interrupt-controller@2000000 {
331f126890aSEmmanuel Vadot			compatible = "qcom,msm-qgic2";
332f126890aSEmmanuel Vadot			interrupt-controller;
333f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
334f126890aSEmmanuel Vadot			reg = <0x02000000 0x1000>,
335f126890aSEmmanuel Vadot			      <0x02002000 0x1000>;
336f126890aSEmmanuel Vadot		};
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot		timer@200a000 {
339f126890aSEmmanuel Vadot			compatible = "qcom,kpss-wdt-apq8064", "qcom,kpss-timer",
340f126890aSEmmanuel Vadot				     "qcom,msm-timer";
341f126890aSEmmanuel Vadot			interrupts = <1 1 0x301>,
342f126890aSEmmanuel Vadot				     <1 2 0x301>,
343f126890aSEmmanuel Vadot				     <1 3 0x301>;
344f126890aSEmmanuel Vadot			reg = <0x0200a000 0x100>;
345f126890aSEmmanuel Vadot			clock-frequency = <27000000>;
346f126890aSEmmanuel Vadot			cpu-offset = <0x80000>;
347f126890aSEmmanuel Vadot		};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot		acc0: clock-controller@2088000 {
350f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v1";
351f126890aSEmmanuel Vadot			reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
352f126890aSEmmanuel Vadot			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
353f126890aSEmmanuel Vadot			clock-names = "pll8_vote", "pxo";
354f126890aSEmmanuel Vadot			clock-output-names = "acpu0_aux";
355f126890aSEmmanuel Vadot			#clock-cells = <0>;
356f126890aSEmmanuel Vadot		};
357f126890aSEmmanuel Vadot
358f126890aSEmmanuel Vadot		acc1: clock-controller@2098000 {
359f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v1";
360f126890aSEmmanuel Vadot			reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
361f126890aSEmmanuel Vadot			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
362f126890aSEmmanuel Vadot			clock-names = "pll8_vote", "pxo";
363f126890aSEmmanuel Vadot			clock-output-names = "acpu1_aux";
364f126890aSEmmanuel Vadot			#clock-cells = <0>;
365f126890aSEmmanuel Vadot		};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot		acc2: clock-controller@20a8000 {
368f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v1";
369f126890aSEmmanuel Vadot			reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
370f126890aSEmmanuel Vadot			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
371f126890aSEmmanuel Vadot			clock-names = "pll8_vote", "pxo";
372f126890aSEmmanuel Vadot			clock-output-names = "acpu2_aux";
373f126890aSEmmanuel Vadot			#clock-cells = <0>;
374f126890aSEmmanuel Vadot		};
375f126890aSEmmanuel Vadot
376f126890aSEmmanuel Vadot		acc3: clock-controller@20b8000 {
377f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v1";
378f126890aSEmmanuel Vadot			reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
379f126890aSEmmanuel Vadot			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
380f126890aSEmmanuel Vadot			clock-names = "pll8_vote", "pxo";
381f126890aSEmmanuel Vadot			clock-output-names = "acpu3_aux";
382f126890aSEmmanuel Vadot			#clock-cells = <0>;
383f126890aSEmmanuel Vadot		};
384f126890aSEmmanuel Vadot
385f126890aSEmmanuel Vadot		saw0: power-controller@2089000 {
386f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
387f126890aSEmmanuel Vadot			reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
388f126890aSEmmanuel Vadot			regulator;
389f126890aSEmmanuel Vadot		};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot		saw1: power-controller@2099000 {
392f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
393f126890aSEmmanuel Vadot			reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
394f126890aSEmmanuel Vadot			regulator;
395f126890aSEmmanuel Vadot		};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot		saw2: power-controller@20a9000 {
398f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
399f126890aSEmmanuel Vadot			reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
400f126890aSEmmanuel Vadot			regulator;
401f126890aSEmmanuel Vadot		};
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot		saw3: power-controller@20b9000 {
404f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
405f126890aSEmmanuel Vadot			reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
406f126890aSEmmanuel Vadot			regulator;
407f126890aSEmmanuel Vadot		};
408f126890aSEmmanuel Vadot
409f126890aSEmmanuel Vadot		sps_sic_non_secure: sps-sic-non-secure@12100000 {
410f126890aSEmmanuel Vadot			compatible = "syscon";
411f126890aSEmmanuel Vadot			reg = <0x12100000 0x10000>;
412f126890aSEmmanuel Vadot		};
413f126890aSEmmanuel Vadot
414f126890aSEmmanuel Vadot		gsbi1: gsbi@12440000 {
415f126890aSEmmanuel Vadot			status = "disabled";
416f126890aSEmmanuel Vadot			compatible = "qcom,gsbi-v1.0.0";
417f126890aSEmmanuel Vadot			cell-index = <1>;
418f126890aSEmmanuel Vadot			reg = <0x12440000 0x100>;
419f126890aSEmmanuel Vadot			clocks = <&gcc GSBI1_H_CLK>;
420f126890aSEmmanuel Vadot			clock-names = "iface";
421f126890aSEmmanuel Vadot			#address-cells = <1>;
422f126890aSEmmanuel Vadot			#size-cells = <1>;
423f126890aSEmmanuel Vadot			ranges;
424f126890aSEmmanuel Vadot
425f126890aSEmmanuel Vadot			syscon-tcsr = <&tcsr>;
426f126890aSEmmanuel Vadot
427f126890aSEmmanuel Vadot			gsbi1_serial: serial@12450000 {
428f126890aSEmmanuel Vadot				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
429f126890aSEmmanuel Vadot				reg = <0x12450000 0x100>,
430f126890aSEmmanuel Vadot				      <0x12400000 0x03>;
431f126890aSEmmanuel Vadot				interrupts = <0 193 IRQ_TYPE_LEVEL_HIGH>;
432f126890aSEmmanuel Vadot				clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
433f126890aSEmmanuel Vadot				clock-names = "core", "iface";
434f126890aSEmmanuel Vadot				status = "disabled";
435f126890aSEmmanuel Vadot			};
436f126890aSEmmanuel Vadot
437f126890aSEmmanuel Vadot			gsbi1_i2c: i2c@12460000 {
438f126890aSEmmanuel Vadot				compatible = "qcom,i2c-qup-v1.1.1";
439f126890aSEmmanuel Vadot				pinctrl-0 = <&i2c1_pins>;
440f126890aSEmmanuel Vadot				pinctrl-1 = <&i2c1_pins_sleep>;
441f126890aSEmmanuel Vadot				pinctrl-names = "default", "sleep";
442f126890aSEmmanuel Vadot				reg = <0x12460000 0x1000>;
443f126890aSEmmanuel Vadot				interrupts = <0 194 IRQ_TYPE_LEVEL_HIGH>;
444f126890aSEmmanuel Vadot				clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
445f126890aSEmmanuel Vadot				clock-names = "core", "iface";
446f126890aSEmmanuel Vadot				#address-cells = <1>;
447f126890aSEmmanuel Vadot				#size-cells = <0>;
448f126890aSEmmanuel Vadot				status = "disabled";
449f126890aSEmmanuel Vadot			};
450f126890aSEmmanuel Vadot
451f126890aSEmmanuel Vadot		};
452f126890aSEmmanuel Vadot
453f126890aSEmmanuel Vadot		gsbi2: gsbi@12480000 {
454f126890aSEmmanuel Vadot			status = "disabled";
455f126890aSEmmanuel Vadot			compatible = "qcom,gsbi-v1.0.0";
456f126890aSEmmanuel Vadot			cell-index = <2>;
457f126890aSEmmanuel Vadot			reg = <0x12480000 0x100>;
458f126890aSEmmanuel Vadot			clocks = <&gcc GSBI2_H_CLK>;
459f126890aSEmmanuel Vadot			clock-names = "iface";
460f126890aSEmmanuel Vadot			#address-cells = <1>;
461f126890aSEmmanuel Vadot			#size-cells = <1>;
462f126890aSEmmanuel Vadot			ranges;
463f126890aSEmmanuel Vadot
464f126890aSEmmanuel Vadot			syscon-tcsr = <&tcsr>;
465f126890aSEmmanuel Vadot
466f126890aSEmmanuel Vadot			gsbi2_i2c: i2c@124a0000 {
467f126890aSEmmanuel Vadot				compatible = "qcom,i2c-qup-v1.1.1";
468f126890aSEmmanuel Vadot				reg = <0x124a0000 0x1000>;
469f126890aSEmmanuel Vadot				pinctrl-0 = <&i2c2_pins>;
470f126890aSEmmanuel Vadot				pinctrl-1 = <&i2c2_pins_sleep>;
471f126890aSEmmanuel Vadot				pinctrl-names = "default", "sleep";
472f126890aSEmmanuel Vadot				interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
473f126890aSEmmanuel Vadot				clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
474f126890aSEmmanuel Vadot				clock-names = "core", "iface";
475f126890aSEmmanuel Vadot				#address-cells = <1>;
476f126890aSEmmanuel Vadot				#size-cells = <0>;
477f126890aSEmmanuel Vadot				status = "disabled";
478f126890aSEmmanuel Vadot			};
479f126890aSEmmanuel Vadot		};
480f126890aSEmmanuel Vadot
481f126890aSEmmanuel Vadot		gsbi3: gsbi@16200000 {
482f126890aSEmmanuel Vadot			status = "disabled";
483f126890aSEmmanuel Vadot			compatible = "qcom,gsbi-v1.0.0";
484f126890aSEmmanuel Vadot			cell-index = <3>;
485f126890aSEmmanuel Vadot			reg = <0x16200000 0x100>;
486f126890aSEmmanuel Vadot			clocks = <&gcc GSBI3_H_CLK>;
487f126890aSEmmanuel Vadot			clock-names = "iface";
488f126890aSEmmanuel Vadot			#address-cells = <1>;
489f126890aSEmmanuel Vadot			#size-cells = <1>;
490f126890aSEmmanuel Vadot			ranges;
491f126890aSEmmanuel Vadot			gsbi3_i2c: i2c@16280000 {
492f126890aSEmmanuel Vadot				compatible = "qcom,i2c-qup-v1.1.1";
493f126890aSEmmanuel Vadot				pinctrl-0 = <&i2c3_pins>;
494f126890aSEmmanuel Vadot				pinctrl-1 = <&i2c3_pins_sleep>;
495f126890aSEmmanuel Vadot				pinctrl-names = "default", "sleep";
496f126890aSEmmanuel Vadot				reg = <0x16280000 0x1000>;
497f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
498f126890aSEmmanuel Vadot				clocks = <&gcc GSBI3_QUP_CLK>,
499f126890aSEmmanuel Vadot					 <&gcc GSBI3_H_CLK>;
500f126890aSEmmanuel Vadot				clock-names = "core", "iface";
501f126890aSEmmanuel Vadot				#address-cells = <1>;
502f126890aSEmmanuel Vadot				#size-cells = <0>;
503f126890aSEmmanuel Vadot				status = "disabled";
504f126890aSEmmanuel Vadot			};
505f126890aSEmmanuel Vadot		};
506f126890aSEmmanuel Vadot
507f126890aSEmmanuel Vadot		gsbi4: gsbi@16300000 {
508f126890aSEmmanuel Vadot			status = "disabled";
509f126890aSEmmanuel Vadot			compatible = "qcom,gsbi-v1.0.0";
510f126890aSEmmanuel Vadot			cell-index = <4>;
511f126890aSEmmanuel Vadot			reg = <0x16300000 0x03>;
512f126890aSEmmanuel Vadot			clocks = <&gcc GSBI4_H_CLK>;
513f126890aSEmmanuel Vadot			clock-names = "iface";
514f126890aSEmmanuel Vadot			#address-cells = <1>;
515f126890aSEmmanuel Vadot			#size-cells = <1>;
516f126890aSEmmanuel Vadot			ranges;
517f126890aSEmmanuel Vadot
518*aa1a8ff2SEmmanuel Vadot			gsbi4_serial: serial@16340000 {
519*aa1a8ff2SEmmanuel Vadot				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
520*aa1a8ff2SEmmanuel Vadot				reg = <0x16340000 0x100>,
521*aa1a8ff2SEmmanuel Vadot				      <0x16300000 0x3>;
522*aa1a8ff2SEmmanuel Vadot				interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
523*aa1a8ff2SEmmanuel Vadot				pinctrl-0 = <&gsbi4_uart_pin_a>;
524*aa1a8ff2SEmmanuel Vadot				pinctrl-names = "default";
525*aa1a8ff2SEmmanuel Vadot				clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
526*aa1a8ff2SEmmanuel Vadot				clock-names = "core", "iface";
527*aa1a8ff2SEmmanuel Vadot				status = "disabled";
528*aa1a8ff2SEmmanuel Vadot			};
529*aa1a8ff2SEmmanuel Vadot
530f126890aSEmmanuel Vadot			gsbi4_i2c: i2c@16380000 {
531f126890aSEmmanuel Vadot				compatible = "qcom,i2c-qup-v1.1.1";
532f126890aSEmmanuel Vadot				pinctrl-0 = <&i2c4_pins>;
533f126890aSEmmanuel Vadot				pinctrl-1 = <&i2c4_pins_sleep>;
534f126890aSEmmanuel Vadot				pinctrl-names = "default", "sleep";
535f126890aSEmmanuel Vadot				reg = <0x16380000 0x1000>;
536f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
537f126890aSEmmanuel Vadot				clocks = <&gcc GSBI4_QUP_CLK>,
538f126890aSEmmanuel Vadot					 <&gcc GSBI4_H_CLK>;
539f126890aSEmmanuel Vadot				clock-names = "core", "iface";
540f126890aSEmmanuel Vadot				status = "disabled";
541f126890aSEmmanuel Vadot			};
542f126890aSEmmanuel Vadot		};
543f126890aSEmmanuel Vadot
544f126890aSEmmanuel Vadot		gsbi5: gsbi@1a200000 {
545f126890aSEmmanuel Vadot			status = "disabled";
546f126890aSEmmanuel Vadot			compatible = "qcom,gsbi-v1.0.0";
547f126890aSEmmanuel Vadot			cell-index = <5>;
548f126890aSEmmanuel Vadot			reg = <0x1a200000 0x03>;
549f126890aSEmmanuel Vadot			clocks = <&gcc GSBI5_H_CLK>;
550f126890aSEmmanuel Vadot			clock-names = "iface";
551f126890aSEmmanuel Vadot			#address-cells = <1>;
552f126890aSEmmanuel Vadot			#size-cells = <1>;
553f126890aSEmmanuel Vadot			ranges;
554f126890aSEmmanuel Vadot
555f126890aSEmmanuel Vadot			gsbi5_serial: serial@1a240000 {
556f126890aSEmmanuel Vadot				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
557f126890aSEmmanuel Vadot				reg = <0x1a240000 0x100>,
558f126890aSEmmanuel Vadot				      <0x1a200000 0x03>;
559f126890aSEmmanuel Vadot				interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
560f126890aSEmmanuel Vadot				clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
561f126890aSEmmanuel Vadot				clock-names = "core", "iface";
562f126890aSEmmanuel Vadot				status = "disabled";
563f126890aSEmmanuel Vadot			};
564f126890aSEmmanuel Vadot
565f126890aSEmmanuel Vadot			gsbi5_spi: spi@1a280000 {
566f126890aSEmmanuel Vadot				compatible = "qcom,spi-qup-v1.1.1";
567f126890aSEmmanuel Vadot				reg = <0x1a280000 0x1000>;
568f126890aSEmmanuel Vadot				interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
569f126890aSEmmanuel Vadot				pinctrl-0 = <&spi5_default>;
570f126890aSEmmanuel Vadot				pinctrl-1 = <&spi5_sleep>;
571f126890aSEmmanuel Vadot				pinctrl-names = "default", "sleep";
572f126890aSEmmanuel Vadot				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
573f126890aSEmmanuel Vadot				clock-names = "core", "iface";
574f126890aSEmmanuel Vadot				status = "disabled";
575f126890aSEmmanuel Vadot				#address-cells = <1>;
576f126890aSEmmanuel Vadot				#size-cells = <0>;
577f126890aSEmmanuel Vadot			};
578f126890aSEmmanuel Vadot		};
579f126890aSEmmanuel Vadot
580f126890aSEmmanuel Vadot		gsbi6: gsbi@16500000 {
581f126890aSEmmanuel Vadot			status = "disabled";
582f126890aSEmmanuel Vadot			compatible = "qcom,gsbi-v1.0.0";
583f126890aSEmmanuel Vadot			cell-index = <6>;
584f126890aSEmmanuel Vadot			reg = <0x16500000 0x03>;
585f126890aSEmmanuel Vadot			clocks = <&gcc GSBI6_H_CLK>;
586f126890aSEmmanuel Vadot			clock-names = "iface";
587f126890aSEmmanuel Vadot			#address-cells = <1>;
588f126890aSEmmanuel Vadot			#size-cells = <1>;
589f126890aSEmmanuel Vadot			ranges;
590f126890aSEmmanuel Vadot
591f126890aSEmmanuel Vadot			gsbi6_serial: serial@16540000 {
592f126890aSEmmanuel Vadot				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
593f126890aSEmmanuel Vadot				reg = <0x16540000 0x100>,
594f126890aSEmmanuel Vadot				      <0x16500000 0x03>;
595f126890aSEmmanuel Vadot				interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
596f126890aSEmmanuel Vadot				clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
597f126890aSEmmanuel Vadot				clock-names = "core", "iface";
598f126890aSEmmanuel Vadot				status = "disabled";
599f126890aSEmmanuel Vadot			};
600f126890aSEmmanuel Vadot
601f126890aSEmmanuel Vadot			gsbi6_i2c: i2c@16580000 {
602f126890aSEmmanuel Vadot				compatible = "qcom,i2c-qup-v1.1.1";
603f126890aSEmmanuel Vadot				pinctrl-0 = <&i2c6_pins>;
604f126890aSEmmanuel Vadot				pinctrl-1 = <&i2c6_pins_sleep>;
605f126890aSEmmanuel Vadot				pinctrl-names = "default", "sleep";
606f126890aSEmmanuel Vadot				reg = <0x16580000 0x1000>;
607f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
608f126890aSEmmanuel Vadot				clocks = <&gcc GSBI6_QUP_CLK>,
609f126890aSEmmanuel Vadot					 <&gcc GSBI6_H_CLK>;
610f126890aSEmmanuel Vadot				clock-names = "core", "iface";
611f126890aSEmmanuel Vadot				status = "disabled";
612f126890aSEmmanuel Vadot			};
613f126890aSEmmanuel Vadot		};
614f126890aSEmmanuel Vadot
615f126890aSEmmanuel Vadot		gsbi7: gsbi@16600000 {
616f126890aSEmmanuel Vadot			status = "disabled";
617f126890aSEmmanuel Vadot			compatible = "qcom,gsbi-v1.0.0";
618f126890aSEmmanuel Vadot			cell-index = <7>;
619f126890aSEmmanuel Vadot			reg = <0x16600000 0x100>;
620f126890aSEmmanuel Vadot			clocks = <&gcc GSBI7_H_CLK>;
621f126890aSEmmanuel Vadot			clock-names = "iface";
622f126890aSEmmanuel Vadot			#address-cells = <1>;
623f126890aSEmmanuel Vadot			#size-cells = <1>;
624f126890aSEmmanuel Vadot			ranges;
625f126890aSEmmanuel Vadot			syscon-tcsr = <&tcsr>;
626f126890aSEmmanuel Vadot
627f126890aSEmmanuel Vadot			gsbi7_serial: serial@16640000 {
628f126890aSEmmanuel Vadot				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
629f126890aSEmmanuel Vadot				reg = <0x16640000 0x1000>,
630f126890aSEmmanuel Vadot				      <0x16600000 0x1000>;
631f126890aSEmmanuel Vadot				interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
632f126890aSEmmanuel Vadot				clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
633f126890aSEmmanuel Vadot				clock-names = "core", "iface";
634f126890aSEmmanuel Vadot				status = "disabled";
635f126890aSEmmanuel Vadot			};
636f126890aSEmmanuel Vadot
637f126890aSEmmanuel Vadot			gsbi7_i2c: i2c@16680000 {
638f126890aSEmmanuel Vadot				compatible = "qcom,i2c-qup-v1.1.1";
639f126890aSEmmanuel Vadot				pinctrl-0 = <&i2c7_pins>;
640f126890aSEmmanuel Vadot				pinctrl-1 = <&i2c7_pins_sleep>;
641f126890aSEmmanuel Vadot				pinctrl-names = "default", "sleep";
642f126890aSEmmanuel Vadot				reg = <0x16680000 0x1000>;
643f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
644f126890aSEmmanuel Vadot				clocks = <&gcc GSBI7_QUP_CLK>,
645f126890aSEmmanuel Vadot					 <&gcc GSBI7_H_CLK>;
646f126890aSEmmanuel Vadot				clock-names = "core", "iface";
647f126890aSEmmanuel Vadot				status = "disabled";
648f126890aSEmmanuel Vadot			};
649f126890aSEmmanuel Vadot		};
650f126890aSEmmanuel Vadot
651f126890aSEmmanuel Vadot		rng@1a500000 {
652f126890aSEmmanuel Vadot			compatible = "qcom,prng";
653f126890aSEmmanuel Vadot			reg = <0x1a500000 0x200>;
654f126890aSEmmanuel Vadot			clocks = <&gcc PRNG_CLK>;
655f126890aSEmmanuel Vadot			clock-names = "core";
656f126890aSEmmanuel Vadot		};
657f126890aSEmmanuel Vadot
658f126890aSEmmanuel Vadot		ssbi@c00000 {
659f126890aSEmmanuel Vadot			compatible = "qcom,ssbi";
660f126890aSEmmanuel Vadot			reg = <0x00c00000 0x1000>;
661f126890aSEmmanuel Vadot			qcom,controller-type = "pmic-arbiter";
662f126890aSEmmanuel Vadot
663f126890aSEmmanuel Vadot			pm8821: pmic {
664f126890aSEmmanuel Vadot				compatible = "qcom,pm8821";
665f126890aSEmmanuel Vadot				interrupt-parent = <&tlmm_pinmux>;
666f126890aSEmmanuel Vadot				interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
667f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
668f126890aSEmmanuel Vadot				interrupt-controller;
669f126890aSEmmanuel Vadot				#address-cells = <1>;
670f126890aSEmmanuel Vadot				#size-cells = <0>;
671f126890aSEmmanuel Vadot
672f126890aSEmmanuel Vadot				pm8821_mpps: mpps@50 {
673f126890aSEmmanuel Vadot					compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
674f126890aSEmmanuel Vadot					reg = <0x50>;
675f126890aSEmmanuel Vadot					interrupt-controller;
676f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
677f126890aSEmmanuel Vadot					gpio-controller;
678f126890aSEmmanuel Vadot					#gpio-cells = <2>;
679f126890aSEmmanuel Vadot					gpio-ranges = <&pm8821_mpps 0 0 4>;
680f126890aSEmmanuel Vadot				};
681f126890aSEmmanuel Vadot			};
682f126890aSEmmanuel Vadot		};
683f126890aSEmmanuel Vadot
684f126890aSEmmanuel Vadot		ssbi@500000 {
685f126890aSEmmanuel Vadot			compatible = "qcom,ssbi";
686f126890aSEmmanuel Vadot			reg = <0x00500000 0x1000>;
687f126890aSEmmanuel Vadot			qcom,controller-type = "pmic-arbiter";
688f126890aSEmmanuel Vadot
689f126890aSEmmanuel Vadot			pmicintc: pmic {
690f126890aSEmmanuel Vadot				compatible = "qcom,pm8921";
691f126890aSEmmanuel Vadot				interrupt-parent = <&tlmm_pinmux>;
692f126890aSEmmanuel Vadot				interrupts = <74 8>;
693f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
694f126890aSEmmanuel Vadot				interrupt-controller;
695f126890aSEmmanuel Vadot				#address-cells = <1>;
696f126890aSEmmanuel Vadot				#size-cells = <0>;
697f126890aSEmmanuel Vadot
698f126890aSEmmanuel Vadot				pm8921_gpio: gpio@150 {
699f126890aSEmmanuel Vadot
700f126890aSEmmanuel Vadot					compatible = "qcom,pm8921-gpio",
701f126890aSEmmanuel Vadot						     "qcom,ssbi-gpio";
702f126890aSEmmanuel Vadot					reg = <0x150>;
703f126890aSEmmanuel Vadot					interrupt-controller;
704f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
705f126890aSEmmanuel Vadot					gpio-controller;
706f126890aSEmmanuel Vadot					gpio-ranges = <&pm8921_gpio 0 0 44>;
707f126890aSEmmanuel Vadot					#gpio-cells = <2>;
708f126890aSEmmanuel Vadot
709f126890aSEmmanuel Vadot				};
710f126890aSEmmanuel Vadot
711f126890aSEmmanuel Vadot				pm8921_mpps: mpps@50 {
712f126890aSEmmanuel Vadot					compatible = "qcom,pm8921-mpp",
713f126890aSEmmanuel Vadot						     "qcom,ssbi-mpp";
714f126890aSEmmanuel Vadot					reg = <0x50>;
715f126890aSEmmanuel Vadot					gpio-controller;
716f126890aSEmmanuel Vadot					#gpio-cells = <2>;
717f126890aSEmmanuel Vadot					gpio-ranges = <&pm8921_mpps 0 0 12>;
718f126890aSEmmanuel Vadot					interrupt-controller;
719f126890aSEmmanuel Vadot					#interrupt-cells = <2>;
720f126890aSEmmanuel Vadot				};
721f126890aSEmmanuel Vadot
722f126890aSEmmanuel Vadot				rtc@11d {
723f126890aSEmmanuel Vadot					compatible = "qcom,pm8921-rtc";
724f126890aSEmmanuel Vadot					interrupt-parent = <&pmicintc>;
725f126890aSEmmanuel Vadot					interrupts = <39 1>;
726f126890aSEmmanuel Vadot					reg = <0x11d>;
727f126890aSEmmanuel Vadot					allow-set-time;
728f126890aSEmmanuel Vadot				};
729f126890aSEmmanuel Vadot
730f126890aSEmmanuel Vadot				pwrkey@1c {
731f126890aSEmmanuel Vadot					compatible = "qcom,pm8921-pwrkey";
732f126890aSEmmanuel Vadot					reg = <0x1c>;
733f126890aSEmmanuel Vadot					interrupt-parent = <&pmicintc>;
734f126890aSEmmanuel Vadot					interrupts = <50 1>, <51 1>;
735f126890aSEmmanuel Vadot					debounce = <15625>;
736f126890aSEmmanuel Vadot					pull-up;
737f126890aSEmmanuel Vadot				};
738f126890aSEmmanuel Vadot
739f126890aSEmmanuel Vadot				xoadc: xoadc@197 {
740f126890aSEmmanuel Vadot					compatible = "qcom,pm8921-adc";
741f126890aSEmmanuel Vadot					reg = <197>;
742f126890aSEmmanuel Vadot					interrupts-extended = <&pmicintc 78 IRQ_TYPE_EDGE_RISING>;
743f126890aSEmmanuel Vadot					#address-cells = <2>;
744f126890aSEmmanuel Vadot					#size-cells = <0>;
745f126890aSEmmanuel Vadot					#io-channel-cells = <2>;
746f126890aSEmmanuel Vadot
747f126890aSEmmanuel Vadot					vcoin: adc-channel@0 {
748f126890aSEmmanuel Vadot						reg = <0x00 0x00>;
749f126890aSEmmanuel Vadot					};
750f126890aSEmmanuel Vadot					vbat: adc-channel@1 {
751f126890aSEmmanuel Vadot						reg = <0x00 0x01>;
752f126890aSEmmanuel Vadot					};
753f126890aSEmmanuel Vadot					dcin: adc-channel@2 {
754f126890aSEmmanuel Vadot						reg = <0x00 0x02>;
755f126890aSEmmanuel Vadot					};
756f126890aSEmmanuel Vadot					vph_pwr: adc-channel@4 {
757f126890aSEmmanuel Vadot						reg = <0x00 0x04>;
758f126890aSEmmanuel Vadot					};
759f126890aSEmmanuel Vadot					batt_therm: adc-channel@8 {
760f126890aSEmmanuel Vadot						reg = <0x00 0x08>;
761f126890aSEmmanuel Vadot					};
762f126890aSEmmanuel Vadot					batt_id: adc-channel@9 {
763f126890aSEmmanuel Vadot						reg = <0x00 0x09>;
764f126890aSEmmanuel Vadot					};
765f126890aSEmmanuel Vadot					usb_vbus: adc-channel@a {
766f126890aSEmmanuel Vadot						reg = <0x00 0x0a>;
767f126890aSEmmanuel Vadot					};
768f126890aSEmmanuel Vadot					die_temp: adc-channel@b {
769f126890aSEmmanuel Vadot						reg = <0x00 0x0b>;
770f126890aSEmmanuel Vadot					};
771f126890aSEmmanuel Vadot					ref_625mv: adc-channel@c {
772f126890aSEmmanuel Vadot						reg = <0x00 0x0c>;
773f126890aSEmmanuel Vadot					};
774f126890aSEmmanuel Vadot					ref_1250mv: adc-channel@d {
775f126890aSEmmanuel Vadot						reg = <0x00 0x0d>;
776f126890aSEmmanuel Vadot					};
777f126890aSEmmanuel Vadot					chg_temp: adc-channel@e {
778f126890aSEmmanuel Vadot						reg = <0x00 0x0e>;
779f126890aSEmmanuel Vadot					};
780f126890aSEmmanuel Vadot					ref_muxoff: adc-channel@f {
781f126890aSEmmanuel Vadot						reg = <0x00 0x0f>;
782f126890aSEmmanuel Vadot					};
783f126890aSEmmanuel Vadot				};
784f126890aSEmmanuel Vadot			};
785f126890aSEmmanuel Vadot		};
786f126890aSEmmanuel Vadot
787f126890aSEmmanuel Vadot		qfprom: qfprom@700000 {
788f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-qfprom", "qcom,qfprom";
789f126890aSEmmanuel Vadot			reg = <0x00700000 0x1000>;
790f126890aSEmmanuel Vadot			#address-cells = <1>;
791f126890aSEmmanuel Vadot			#size-cells = <1>;
792f126890aSEmmanuel Vadot			ranges;
793f126890aSEmmanuel Vadot			tsens_calib: calib@404 {
794f126890aSEmmanuel Vadot				reg = <0x404 0x10>;
795f126890aSEmmanuel Vadot			};
796f126890aSEmmanuel Vadot			tsens_backup: backup_calib@414 {
797f126890aSEmmanuel Vadot				reg = <0x414 0x10>;
798f126890aSEmmanuel Vadot			};
799f126890aSEmmanuel Vadot		};
800f126890aSEmmanuel Vadot
801f126890aSEmmanuel Vadot		gcc: clock-controller@900000 {
802f126890aSEmmanuel Vadot			compatible = "qcom,gcc-apq8064", "syscon";
803f126890aSEmmanuel Vadot			reg = <0x00900000 0x4000>;
804f126890aSEmmanuel Vadot			#clock-cells = <1>;
805f126890aSEmmanuel Vadot			#power-domain-cells = <1>;
806f126890aSEmmanuel Vadot			#reset-cells = <1>;
807f126890aSEmmanuel Vadot			clocks = <&cxo_board>,
808f126890aSEmmanuel Vadot				 <&pxo_board>,
809f126890aSEmmanuel Vadot				 <&lcc PLL4>;
810f126890aSEmmanuel Vadot			clock-names = "cxo", "pxo", "pll4";
811f126890aSEmmanuel Vadot
812f126890aSEmmanuel Vadot			tsens: thermal-sensor {
813f126890aSEmmanuel Vadot				compatible = "qcom,msm8960-tsens";
814f126890aSEmmanuel Vadot
815f126890aSEmmanuel Vadot				nvmem-cells = <&tsens_calib>, <&tsens_backup>;
816f126890aSEmmanuel Vadot				nvmem-cell-names = "calib", "calib_backup";
817f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
818f126890aSEmmanuel Vadot				interrupt-names = "uplow";
819f126890aSEmmanuel Vadot
820f126890aSEmmanuel Vadot				#qcom,sensors = <11>;
821f126890aSEmmanuel Vadot				#thermal-sensor-cells = <1>;
822f126890aSEmmanuel Vadot			};
823f126890aSEmmanuel Vadot		};
824f126890aSEmmanuel Vadot
825f126890aSEmmanuel Vadot		lcc: clock-controller@28000000 {
826f126890aSEmmanuel Vadot			compatible = "qcom,lcc-apq8064";
827f126890aSEmmanuel Vadot			reg = <0x28000000 0x1000>;
828f126890aSEmmanuel Vadot			#clock-cells = <1>;
829f126890aSEmmanuel Vadot			#reset-cells = <1>;
830f126890aSEmmanuel Vadot			clocks = <&pxo_board>,
831f126890aSEmmanuel Vadot				 <&gcc PLL4_VOTE>,
832f126890aSEmmanuel Vadot				 <0>,
833f126890aSEmmanuel Vadot				 <0>, <0>,
834f126890aSEmmanuel Vadot				 <0>, <0>,
835f126890aSEmmanuel Vadot				 <0>;
836f126890aSEmmanuel Vadot			clock-names = "pxo",
837f126890aSEmmanuel Vadot				      "pll4_vote",
838f126890aSEmmanuel Vadot				      "mi2s_codec_clk",
839f126890aSEmmanuel Vadot				      "codec_i2s_mic_codec_clk",
840f126890aSEmmanuel Vadot				      "spare_i2s_mic_codec_clk",
841f126890aSEmmanuel Vadot				      "codec_i2s_spkr_codec_clk",
842f126890aSEmmanuel Vadot				      "spare_i2s_spkr_codec_clk",
843f126890aSEmmanuel Vadot				      "pcm_codec_clk";
844f126890aSEmmanuel Vadot		};
845f126890aSEmmanuel Vadot
846f126890aSEmmanuel Vadot		mmcc: clock-controller@4000000 {
847f126890aSEmmanuel Vadot			compatible = "qcom,mmcc-apq8064";
848f126890aSEmmanuel Vadot			reg = <0x4000000 0x1000>;
849f126890aSEmmanuel Vadot			#clock-cells = <1>;
850f126890aSEmmanuel Vadot			#power-domain-cells = <1>;
851f126890aSEmmanuel Vadot			#reset-cells = <1>;
852f126890aSEmmanuel Vadot			clocks = <&pxo_board>,
853f126890aSEmmanuel Vadot				 <&gcc PLL3>,
854f126890aSEmmanuel Vadot				 <&gcc PLL8_VOTE>,
855f126890aSEmmanuel Vadot				 <&dsi0_phy 1>,
856f126890aSEmmanuel Vadot				 <&dsi0_phy 0>,
857f126890aSEmmanuel Vadot				 <&dsi1_phy 1>,
858f126890aSEmmanuel Vadot				 <&dsi1_phy 0>,
859f126890aSEmmanuel Vadot				 <&hdmi_phy>;
860f126890aSEmmanuel Vadot			clock-names = "pxo",
861f126890aSEmmanuel Vadot				      "pll3",
862f126890aSEmmanuel Vadot				      "pll8_vote",
863f126890aSEmmanuel Vadot				      "dsi1pll",
864f126890aSEmmanuel Vadot				      "dsi1pllbyte",
865f126890aSEmmanuel Vadot				      "dsi2pll",
866f126890aSEmmanuel Vadot				      "dsi2pllbyte",
867f126890aSEmmanuel Vadot				      "hdmipll";
868f126890aSEmmanuel Vadot		};
869f126890aSEmmanuel Vadot
870f126890aSEmmanuel Vadot		l2cc: clock-controller@2011000 {
871f126890aSEmmanuel Vadot			compatible = "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc", "syscon";
872f126890aSEmmanuel Vadot			reg = <0x2011000 0x1000>;
873f126890aSEmmanuel Vadot			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
874f126890aSEmmanuel Vadot			clock-names = "pll8_vote", "pxo";
875f126890aSEmmanuel Vadot			#clock-cells = <0>;
876f126890aSEmmanuel Vadot		};
877f126890aSEmmanuel Vadot
878f126890aSEmmanuel Vadot		rpm: rpm@108000 {
879f126890aSEmmanuel Vadot			compatible = "qcom,rpm-apq8064";
880f126890aSEmmanuel Vadot			reg = <0x108000 0x1000>;
881f126890aSEmmanuel Vadot			qcom,ipc = <&l2cc 0x8 2>;
882f126890aSEmmanuel Vadot
883f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
884f126890aSEmmanuel Vadot				     <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
885f126890aSEmmanuel Vadot				     <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
886f126890aSEmmanuel Vadot			interrupt-names = "ack", "err", "wakeup";
887f126890aSEmmanuel Vadot
888f126890aSEmmanuel Vadot			rpmcc: clock-controller {
889f126890aSEmmanuel Vadot				compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
890f126890aSEmmanuel Vadot				#clock-cells = <1>;
891f126890aSEmmanuel Vadot				clocks = <&pxo_board>, <&cxo_board>;
892f126890aSEmmanuel Vadot				clock-names = "pxo", "cxo";
893f126890aSEmmanuel Vadot			};
894f126890aSEmmanuel Vadot
895f126890aSEmmanuel Vadot			regulators {
896f126890aSEmmanuel Vadot				compatible = "qcom,rpm-pm8921-regulators";
897f126890aSEmmanuel Vadot
898f126890aSEmmanuel Vadot				pm8921_s1: s1 {};
899f126890aSEmmanuel Vadot				pm8921_s2: s2 {};
900f126890aSEmmanuel Vadot				pm8921_s3: s3 {};
901f126890aSEmmanuel Vadot				pm8921_s4: s4 {};
902f126890aSEmmanuel Vadot				pm8921_s7: s7 {};
903f126890aSEmmanuel Vadot				pm8921_s8: s8 {};
904f126890aSEmmanuel Vadot
905f126890aSEmmanuel Vadot				pm8921_l1: l1 {};
906f126890aSEmmanuel Vadot				pm8921_l2: l2 {};
907f126890aSEmmanuel Vadot				pm8921_l3: l3 {};
908f126890aSEmmanuel Vadot				pm8921_l4: l4 {};
909f126890aSEmmanuel Vadot				pm8921_l5: l5 {};
910f126890aSEmmanuel Vadot				pm8921_l6: l6 {};
911f126890aSEmmanuel Vadot				pm8921_l7: l7 {};
912f126890aSEmmanuel Vadot				pm8921_l8: l8 {};
913f126890aSEmmanuel Vadot				pm8921_l9: l9 {};
914f126890aSEmmanuel Vadot				pm8921_l10: l10 {};
915f126890aSEmmanuel Vadot				pm8921_l11: l11 {};
916f126890aSEmmanuel Vadot				pm8921_l12: l12 {};
917f126890aSEmmanuel Vadot				pm8921_l14: l14 {};
918f126890aSEmmanuel Vadot				pm8921_l15: l15 {};
919f126890aSEmmanuel Vadot				pm8921_l16: l16 {};
920f126890aSEmmanuel Vadot				pm8921_l17: l17 {};
921f126890aSEmmanuel Vadot				pm8921_l18: l18 {};
922f126890aSEmmanuel Vadot				pm8921_l21: l21 {};
923f126890aSEmmanuel Vadot				pm8921_l22: l22 {};
924f126890aSEmmanuel Vadot				pm8921_l23: l23 {};
925f126890aSEmmanuel Vadot				pm8921_l24: l24 {};
926f126890aSEmmanuel Vadot				pm8921_l25: l25 {};
927f126890aSEmmanuel Vadot				pm8921_l26: l26 {};
928f126890aSEmmanuel Vadot				pm8921_l27: l27 {};
929f126890aSEmmanuel Vadot				pm8921_l28: l28 {};
930f126890aSEmmanuel Vadot				pm8921_l29: l29 {};
931f126890aSEmmanuel Vadot
932f126890aSEmmanuel Vadot				pm8921_lvs1: lvs1 {};
933f126890aSEmmanuel Vadot				pm8921_lvs2: lvs2 {};
934f126890aSEmmanuel Vadot				pm8921_lvs3: lvs3 {};
935f126890aSEmmanuel Vadot				pm8921_lvs4: lvs4 {};
936f126890aSEmmanuel Vadot				pm8921_lvs5: lvs5 {};
937f126890aSEmmanuel Vadot				pm8921_lvs6: lvs6 {};
938f126890aSEmmanuel Vadot				pm8921_lvs7: lvs7 {};
939f126890aSEmmanuel Vadot
940f126890aSEmmanuel Vadot				pm8921_usb_switch: usb-switch {};
941f126890aSEmmanuel Vadot
942f126890aSEmmanuel Vadot				pm8921_hdmi_switch: hdmi-switch {
943f126890aSEmmanuel Vadot					bias-pull-down;
944f126890aSEmmanuel Vadot				};
945f126890aSEmmanuel Vadot
946f126890aSEmmanuel Vadot				pm8921_ncp: ncp {};
947f126890aSEmmanuel Vadot			};
948f126890aSEmmanuel Vadot		};
949f126890aSEmmanuel Vadot
950f126890aSEmmanuel Vadot		usb1: usb@12500000 {
951f126890aSEmmanuel Vadot			compatible = "qcom,ci-hdrc";
952f126890aSEmmanuel Vadot			reg = <0x12500000 0x200>,
953f126890aSEmmanuel Vadot			      <0x12500200 0x200>;
954f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
955f126890aSEmmanuel Vadot			clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
956f126890aSEmmanuel Vadot			clock-names = "core", "iface";
957f126890aSEmmanuel Vadot			assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
958f126890aSEmmanuel Vadot			assigned-clock-rates = <60000000>;
959f126890aSEmmanuel Vadot			resets = <&gcc USB_HS1_RESET>;
960f126890aSEmmanuel Vadot			reset-names = "core";
961f126890aSEmmanuel Vadot			phy_type = "ulpi";
962f126890aSEmmanuel Vadot			ahb-burst-config = <0>;
963f126890aSEmmanuel Vadot			phys = <&usb_hs1_phy>;
964f126890aSEmmanuel Vadot			phy-names = "usb-phy";
965f126890aSEmmanuel Vadot			status = "disabled";
966f126890aSEmmanuel Vadot			#reset-cells = <1>;
967f126890aSEmmanuel Vadot
968f126890aSEmmanuel Vadot			ulpi {
969f126890aSEmmanuel Vadot				usb_hs1_phy: phy {
970f126890aSEmmanuel Vadot					compatible = "qcom,usb-hs-phy-apq8064",
971f126890aSEmmanuel Vadot						     "qcom,usb-hs-phy";
972f126890aSEmmanuel Vadot					clocks = <&sleep_clk>, <&cxo_board>;
973f126890aSEmmanuel Vadot					clock-names = "sleep", "ref";
974f126890aSEmmanuel Vadot					resets = <&usb1 0>;
975f126890aSEmmanuel Vadot					reset-names = "por";
976f126890aSEmmanuel Vadot					#phy-cells = <0>;
977f126890aSEmmanuel Vadot				};
978f126890aSEmmanuel Vadot			};
979f126890aSEmmanuel Vadot		};
980f126890aSEmmanuel Vadot
981f126890aSEmmanuel Vadot		usb3: usb@12520000 {
982f126890aSEmmanuel Vadot			compatible = "qcom,ci-hdrc";
983f126890aSEmmanuel Vadot			reg = <0x12520000 0x200>,
984f126890aSEmmanuel Vadot			      <0x12520200 0x200>;
985f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
986f126890aSEmmanuel Vadot			clocks = <&gcc USB_HS3_XCVR_CLK>, <&gcc USB_HS3_H_CLK>;
987f126890aSEmmanuel Vadot			clock-names = "core", "iface";
988f126890aSEmmanuel Vadot			assigned-clocks = <&gcc USB_HS3_XCVR_CLK>;
989f126890aSEmmanuel Vadot			assigned-clock-rates = <60000000>;
990f126890aSEmmanuel Vadot			resets = <&gcc USB_HS3_RESET>;
991f126890aSEmmanuel Vadot			reset-names = "core";
992f126890aSEmmanuel Vadot			phy_type = "ulpi";
993f126890aSEmmanuel Vadot			ahb-burst-config = <0>;
994f126890aSEmmanuel Vadot			phys = <&usb_hs3_phy>;
995f126890aSEmmanuel Vadot			phy-names = "usb-phy";
996f126890aSEmmanuel Vadot			status = "disabled";
997f126890aSEmmanuel Vadot			#reset-cells = <1>;
998f126890aSEmmanuel Vadot
999f126890aSEmmanuel Vadot			ulpi {
1000f126890aSEmmanuel Vadot				usb_hs3_phy: phy {
1001f126890aSEmmanuel Vadot					compatible = "qcom,usb-hs-phy-apq8064",
1002f126890aSEmmanuel Vadot						     "qcom,usb-hs-phy";
1003f126890aSEmmanuel Vadot					#phy-cells = <0>;
1004f126890aSEmmanuel Vadot					clocks = <&sleep_clk>, <&cxo_board>;
1005f126890aSEmmanuel Vadot					clock-names = "sleep", "ref";
1006f126890aSEmmanuel Vadot					resets = <&usb3 0>;
1007f126890aSEmmanuel Vadot					reset-names = "por";
1008f126890aSEmmanuel Vadot				};
1009f126890aSEmmanuel Vadot			};
1010f126890aSEmmanuel Vadot		};
1011f126890aSEmmanuel Vadot
1012f126890aSEmmanuel Vadot		usb4: usb@12530000 {
1013f126890aSEmmanuel Vadot			compatible = "qcom,ci-hdrc";
1014f126890aSEmmanuel Vadot			reg = <0x12530000 0x200>,
1015f126890aSEmmanuel Vadot			      <0x12530200 0x200>;
1016f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
1017f126890aSEmmanuel Vadot			clocks = <&gcc USB_HS4_XCVR_CLK>, <&gcc USB_HS4_H_CLK>;
1018f126890aSEmmanuel Vadot			clock-names = "core", "iface";
1019f126890aSEmmanuel Vadot			assigned-clocks = <&gcc USB_HS4_XCVR_CLK>;
1020f126890aSEmmanuel Vadot			assigned-clock-rates = <60000000>;
1021f126890aSEmmanuel Vadot			resets = <&gcc USB_HS4_RESET>;
1022f126890aSEmmanuel Vadot			reset-names = "core";
1023f126890aSEmmanuel Vadot			phy_type = "ulpi";
1024f126890aSEmmanuel Vadot			ahb-burst-config = <0>;
1025f126890aSEmmanuel Vadot			phys = <&usb_hs4_phy>;
1026f126890aSEmmanuel Vadot			phy-names = "usb-phy";
1027f126890aSEmmanuel Vadot			status = "disabled";
1028f126890aSEmmanuel Vadot			#reset-cells = <1>;
1029f126890aSEmmanuel Vadot
1030f126890aSEmmanuel Vadot			ulpi {
1031f126890aSEmmanuel Vadot				usb_hs4_phy: phy {
1032f126890aSEmmanuel Vadot					compatible = "qcom,usb-hs-phy-apq8064",
1033f126890aSEmmanuel Vadot						     "qcom,usb-hs-phy";
1034f126890aSEmmanuel Vadot					#phy-cells = <0>;
1035f126890aSEmmanuel Vadot					clocks = <&sleep_clk>, <&cxo_board>;
1036f126890aSEmmanuel Vadot					clock-names = "sleep", "ref";
1037f126890aSEmmanuel Vadot					resets = <&usb4 0>;
1038f126890aSEmmanuel Vadot					reset-names = "por";
1039f126890aSEmmanuel Vadot				};
1040f126890aSEmmanuel Vadot			};
1041f126890aSEmmanuel Vadot		};
1042f126890aSEmmanuel Vadot
1043f126890aSEmmanuel Vadot		sata_phy0: phy@1b400000 {
1044f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-sata-phy";
1045f126890aSEmmanuel Vadot			status = "disabled";
1046f126890aSEmmanuel Vadot			reg = <0x1b400000 0x200>;
1047f126890aSEmmanuel Vadot			reg-names = "phy_mem";
1048f126890aSEmmanuel Vadot			clocks = <&gcc SATA_PHY_CFG_CLK>;
1049f126890aSEmmanuel Vadot			clock-names = "cfg";
1050f126890aSEmmanuel Vadot			#phy-cells = <0>;
1051f126890aSEmmanuel Vadot		};
1052f126890aSEmmanuel Vadot
1053f126890aSEmmanuel Vadot		sata0: sata@29000000 {
1054f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-ahci", "generic-ahci";
1055f126890aSEmmanuel Vadot			status	 = "disabled";
1056f126890aSEmmanuel Vadot			reg	 = <0x29000000 0x180>;
1057f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
1058f126890aSEmmanuel Vadot
1059f126890aSEmmanuel Vadot			clocks = <&gcc SFAB_SATA_S_H_CLK>,
1060f126890aSEmmanuel Vadot				 <&gcc SATA_H_CLK>,
1061f126890aSEmmanuel Vadot				 <&gcc SATA_A_CLK>,
1062f126890aSEmmanuel Vadot				 <&gcc SATA_RXOOB_CLK>,
1063f126890aSEmmanuel Vadot				 <&gcc SATA_PMALIVE_CLK>;
1064f126890aSEmmanuel Vadot			clock-names = "slave_iface",
1065f126890aSEmmanuel Vadot				      "iface",
1066f126890aSEmmanuel Vadot				      "bus",
1067f126890aSEmmanuel Vadot				      "rxoob",
1068f126890aSEmmanuel Vadot				      "core_pmalive";
1069f126890aSEmmanuel Vadot
1070f126890aSEmmanuel Vadot			assigned-clocks = <&gcc SATA_RXOOB_CLK>,
1071f126890aSEmmanuel Vadot					  <&gcc SATA_PMALIVE_CLK>;
1072f126890aSEmmanuel Vadot			assigned-clock-rates = <100000000>, <100000000>;
1073f126890aSEmmanuel Vadot
1074f126890aSEmmanuel Vadot			phys = <&sata_phy0>;
1075f126890aSEmmanuel Vadot			phy-names = "sata-phy";
1076f126890aSEmmanuel Vadot			ports-implemented = <0x1>;
1077f126890aSEmmanuel Vadot		};
1078f126890aSEmmanuel Vadot
1079f126890aSEmmanuel Vadot		sdcc3: mmc@12180000 {
1080f126890aSEmmanuel Vadot			compatible = "arm,pl18x", "arm,primecell";
1081f126890aSEmmanuel Vadot			arm,primecell-periphid = <0x00051180>;
1082f126890aSEmmanuel Vadot			status = "disabled";
1083f126890aSEmmanuel Vadot			reg = <0x12180000 0x2000>;
1084f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1085f126890aSEmmanuel Vadot			clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
1086f126890aSEmmanuel Vadot			clock-names = "mclk", "apb_pclk";
1087f126890aSEmmanuel Vadot			bus-width = <4>;
1088f126890aSEmmanuel Vadot			cap-sd-highspeed;
1089f126890aSEmmanuel Vadot			cap-mmc-highspeed;
1090f126890aSEmmanuel Vadot			max-frequency = <192000000>;
1091f126890aSEmmanuel Vadot			no-1-8-v;
1092f126890aSEmmanuel Vadot			dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
1093f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
1094f126890aSEmmanuel Vadot		};
1095f126890aSEmmanuel Vadot
1096f126890aSEmmanuel Vadot		sdcc3bam: dma-controller@12182000 {
1097f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.3.0";
1098f126890aSEmmanuel Vadot			reg = <0x12182000 0x8000>;
1099f126890aSEmmanuel Vadot			interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>;
1100f126890aSEmmanuel Vadot			clocks = <&gcc SDC3_H_CLK>;
1101f126890aSEmmanuel Vadot			clock-names = "bam_clk";
1102f126890aSEmmanuel Vadot			#dma-cells = <1>;
1103f126890aSEmmanuel Vadot			qcom,ee = <0>;
1104f126890aSEmmanuel Vadot		};
1105f126890aSEmmanuel Vadot
1106f126890aSEmmanuel Vadot		sdcc4: mmc@121c0000 {
1107f126890aSEmmanuel Vadot			compatible = "arm,pl18x", "arm,primecell";
1108f126890aSEmmanuel Vadot			arm,primecell-periphid = <0x00051180>;
1109f126890aSEmmanuel Vadot			status = "disabled";
1110f126890aSEmmanuel Vadot			reg = <0x121c0000 0x2000>;
1111f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1112f126890aSEmmanuel Vadot			clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
1113f126890aSEmmanuel Vadot			clock-names = "mclk", "apb_pclk";
1114f126890aSEmmanuel Vadot			bus-width = <4>;
1115f126890aSEmmanuel Vadot			cap-sd-highspeed;
1116f126890aSEmmanuel Vadot			cap-mmc-highspeed;
1117f126890aSEmmanuel Vadot			max-frequency = <48000000>;
1118f126890aSEmmanuel Vadot			dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
1119f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
1120f126890aSEmmanuel Vadot			pinctrl-names = "default";
1121f126890aSEmmanuel Vadot			pinctrl-0 = <&sdc4_gpios>;
1122f126890aSEmmanuel Vadot		};
1123f126890aSEmmanuel Vadot
1124f126890aSEmmanuel Vadot		sdcc4bam: dma-controller@121c2000 {
1125f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.3.0";
1126f126890aSEmmanuel Vadot			reg = <0x121c2000 0x8000>;
1127f126890aSEmmanuel Vadot			interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
1128f126890aSEmmanuel Vadot			clocks = <&gcc SDC4_H_CLK>;
1129f126890aSEmmanuel Vadot			clock-names = "bam_clk";
1130f126890aSEmmanuel Vadot			#dma-cells = <1>;
1131f126890aSEmmanuel Vadot			qcom,ee = <0>;
1132f126890aSEmmanuel Vadot		};
1133f126890aSEmmanuel Vadot
1134f126890aSEmmanuel Vadot		sdcc1: mmc@12400000 {
1135f126890aSEmmanuel Vadot			status = "disabled";
1136f126890aSEmmanuel Vadot			compatible = "arm,pl18x", "arm,primecell";
1137f126890aSEmmanuel Vadot			pinctrl-names = "default";
1138f126890aSEmmanuel Vadot			pinctrl-0 = <&sdcc1_pins>;
1139f126890aSEmmanuel Vadot			arm,primecell-periphid = <0x00051180>;
1140f126890aSEmmanuel Vadot			reg = <0x12400000 0x2000>;
1141f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1142f126890aSEmmanuel Vadot			clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
1143f126890aSEmmanuel Vadot			clock-names = "mclk", "apb_pclk";
1144f126890aSEmmanuel Vadot			bus-width = <8>;
1145f126890aSEmmanuel Vadot			max-frequency = <96000000>;
1146f126890aSEmmanuel Vadot			non-removable;
1147f126890aSEmmanuel Vadot			cap-sd-highspeed;
1148f126890aSEmmanuel Vadot			cap-mmc-highspeed;
1149f126890aSEmmanuel Vadot			dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
1150f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
1151f126890aSEmmanuel Vadot		};
1152f126890aSEmmanuel Vadot
1153f126890aSEmmanuel Vadot		sdcc1bam: dma-controller@12402000 {
1154f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.3.0";
1155f126890aSEmmanuel Vadot			reg = <0x12402000 0x8000>;
1156f126890aSEmmanuel Vadot			interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
1157f126890aSEmmanuel Vadot			clocks = <&gcc SDC1_H_CLK>;
1158f126890aSEmmanuel Vadot			clock-names = "bam_clk";
1159f126890aSEmmanuel Vadot			#dma-cells = <1>;
1160f126890aSEmmanuel Vadot			qcom,ee = <0>;
1161f126890aSEmmanuel Vadot		};
1162f126890aSEmmanuel Vadot
1163f126890aSEmmanuel Vadot		tcsr: syscon@1a400000 {
1164f126890aSEmmanuel Vadot			compatible = "qcom,tcsr-apq8064", "syscon";
1165f126890aSEmmanuel Vadot			reg = <0x1a400000 0x100>;
1166f126890aSEmmanuel Vadot		};
1167f126890aSEmmanuel Vadot
1168f126890aSEmmanuel Vadot		gpu: adreno-3xx@4300000 {
1169f126890aSEmmanuel Vadot			compatible = "qcom,adreno-320.2", "qcom,adreno";
1170f126890aSEmmanuel Vadot			reg = <0x04300000 0x20000>;
1171f126890aSEmmanuel Vadot			reg-names = "kgsl_3d0_reg_memory";
1172f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1173f126890aSEmmanuel Vadot			interrupt-names = "kgsl_3d0_irq";
1174f126890aSEmmanuel Vadot			clock-names =
1175f126890aSEmmanuel Vadot			    "core",
1176f126890aSEmmanuel Vadot			    "iface",
1177f126890aSEmmanuel Vadot			    "mem",
1178f126890aSEmmanuel Vadot			    "mem_iface";
1179f126890aSEmmanuel Vadot			clocks =
1180f126890aSEmmanuel Vadot			    <&mmcc GFX3D_CLK>,
1181f126890aSEmmanuel Vadot			    <&mmcc GFX3D_AHB_CLK>,
1182f126890aSEmmanuel Vadot			    <&mmcc GFX3D_AXI_CLK>,
1183f126890aSEmmanuel Vadot			    <&mmcc MMSS_IMEM_AHB_CLK>;
1184f126890aSEmmanuel Vadot
1185f126890aSEmmanuel Vadot			iommus = <&gfx3d 0
1186f126890aSEmmanuel Vadot				  &gfx3d 1
1187f126890aSEmmanuel Vadot				  &gfx3d 2
1188f126890aSEmmanuel Vadot				  &gfx3d 3
1189f126890aSEmmanuel Vadot				  &gfx3d 4
1190f126890aSEmmanuel Vadot				  &gfx3d 5
1191f126890aSEmmanuel Vadot				  &gfx3d 6
1192f126890aSEmmanuel Vadot				  &gfx3d 7
1193f126890aSEmmanuel Vadot				  &gfx3d 8
1194f126890aSEmmanuel Vadot				  &gfx3d 9
1195f126890aSEmmanuel Vadot				  &gfx3d 10
1196f126890aSEmmanuel Vadot				  &gfx3d 11
1197f126890aSEmmanuel Vadot				  &gfx3d 12
1198f126890aSEmmanuel Vadot				  &gfx3d 13
1199f126890aSEmmanuel Vadot				  &gfx3d 14
1200f126890aSEmmanuel Vadot				  &gfx3d 15
1201f126890aSEmmanuel Vadot				  &gfx3d 16
1202f126890aSEmmanuel Vadot				  &gfx3d 17
1203f126890aSEmmanuel Vadot				  &gfx3d 18
1204f126890aSEmmanuel Vadot				  &gfx3d 19
1205f126890aSEmmanuel Vadot				  &gfx3d 20
1206f126890aSEmmanuel Vadot				  &gfx3d 21
1207f126890aSEmmanuel Vadot				  &gfx3d 22
1208f126890aSEmmanuel Vadot				  &gfx3d 23
1209f126890aSEmmanuel Vadot				  &gfx3d 24
1210f126890aSEmmanuel Vadot				  &gfx3d 25
1211f126890aSEmmanuel Vadot				  &gfx3d 26
1212f126890aSEmmanuel Vadot				  &gfx3d 27
1213f126890aSEmmanuel Vadot				  &gfx3d 28
1214f126890aSEmmanuel Vadot				  &gfx3d 29
1215f126890aSEmmanuel Vadot				  &gfx3d 30
1216f126890aSEmmanuel Vadot				  &gfx3d 31
1217f126890aSEmmanuel Vadot				  &gfx3d1 0
1218f126890aSEmmanuel Vadot				  &gfx3d1 1
1219f126890aSEmmanuel Vadot				  &gfx3d1 2
1220f126890aSEmmanuel Vadot				  &gfx3d1 3
1221f126890aSEmmanuel Vadot				  &gfx3d1 4
1222f126890aSEmmanuel Vadot				  &gfx3d1 5
1223f126890aSEmmanuel Vadot				  &gfx3d1 6
1224f126890aSEmmanuel Vadot				  &gfx3d1 7
1225f126890aSEmmanuel Vadot				  &gfx3d1 8
1226f126890aSEmmanuel Vadot				  &gfx3d1 9
1227f126890aSEmmanuel Vadot				  &gfx3d1 10
1228f126890aSEmmanuel Vadot				  &gfx3d1 11
1229f126890aSEmmanuel Vadot				  &gfx3d1 12
1230f126890aSEmmanuel Vadot				  &gfx3d1 13
1231f126890aSEmmanuel Vadot				  &gfx3d1 14
1232f126890aSEmmanuel Vadot				  &gfx3d1 15
1233f126890aSEmmanuel Vadot				  &gfx3d1 16
1234f126890aSEmmanuel Vadot				  &gfx3d1 17
1235f126890aSEmmanuel Vadot				  &gfx3d1 18
1236f126890aSEmmanuel Vadot				  &gfx3d1 19
1237f126890aSEmmanuel Vadot				  &gfx3d1 20
1238f126890aSEmmanuel Vadot				  &gfx3d1 21
1239f126890aSEmmanuel Vadot				  &gfx3d1 22
1240f126890aSEmmanuel Vadot				  &gfx3d1 23
1241f126890aSEmmanuel Vadot				  &gfx3d1 24
1242f126890aSEmmanuel Vadot				  &gfx3d1 25
1243f126890aSEmmanuel Vadot				  &gfx3d1 26
1244f126890aSEmmanuel Vadot				  &gfx3d1 27
1245f126890aSEmmanuel Vadot				  &gfx3d1 28
1246f126890aSEmmanuel Vadot				  &gfx3d1 29
1247f126890aSEmmanuel Vadot				  &gfx3d1 30
1248f126890aSEmmanuel Vadot				  &gfx3d1 31>;
1249f126890aSEmmanuel Vadot
1250f126890aSEmmanuel Vadot			operating-points-v2 = <&gpu_opp_table>;
1251f126890aSEmmanuel Vadot
1252f126890aSEmmanuel Vadot			gpu_opp_table: opp-table {
1253f126890aSEmmanuel Vadot				compatible = "operating-points-v2";
1254f126890aSEmmanuel Vadot
1255f126890aSEmmanuel Vadot				opp-450000000 {
1256f126890aSEmmanuel Vadot					opp-hz = /bits/ 64 <450000000>;
1257f126890aSEmmanuel Vadot				};
1258f126890aSEmmanuel Vadot
1259f126890aSEmmanuel Vadot				opp-27000000 {
1260f126890aSEmmanuel Vadot					opp-hz = /bits/ 64 <27000000>;
1261f126890aSEmmanuel Vadot				};
1262f126890aSEmmanuel Vadot			};
1263f126890aSEmmanuel Vadot		};
1264f126890aSEmmanuel Vadot
1265f126890aSEmmanuel Vadot		mmss_sfpb: syscon@5700000 {
1266f126890aSEmmanuel Vadot			compatible = "syscon";
1267f126890aSEmmanuel Vadot			reg = <0x5700000 0x70>;
1268f126890aSEmmanuel Vadot		};
1269f126890aSEmmanuel Vadot
1270f126890aSEmmanuel Vadot		dsi0: dsi@4700000 {
1271f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-dsi-ctrl",
1272f126890aSEmmanuel Vadot				     "qcom,mdss-dsi-ctrl";
1273f126890aSEmmanuel Vadot			label = "MDSS DSI CTRL->0";
1274f126890aSEmmanuel Vadot			#address-cells = <1>;
1275f126890aSEmmanuel Vadot			#size-cells = <0>;
1276f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1277f126890aSEmmanuel Vadot			reg = <0x04700000 0x200>;
1278f126890aSEmmanuel Vadot			reg-names = "dsi_ctrl";
1279f126890aSEmmanuel Vadot
1280f126890aSEmmanuel Vadot			clocks = <&mmcc DSI_M_AHB_CLK>,
1281f126890aSEmmanuel Vadot				<&mmcc DSI_S_AHB_CLK>,
1282f126890aSEmmanuel Vadot				<&mmcc AMP_AHB_CLK>,
1283f126890aSEmmanuel Vadot				<&mmcc DSI_CLK>,
1284f126890aSEmmanuel Vadot				<&mmcc DSI1_BYTE_CLK>,
1285f126890aSEmmanuel Vadot				<&mmcc DSI_PIXEL_CLK>,
1286f126890aSEmmanuel Vadot				<&mmcc DSI1_ESC_CLK>;
1287f126890aSEmmanuel Vadot			clock-names = "iface", "bus", "core_mmss",
1288f126890aSEmmanuel Vadot					"src", "byte", "pixel",
1289f126890aSEmmanuel Vadot					"core";
1290f126890aSEmmanuel Vadot
1291f126890aSEmmanuel Vadot			assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
1292f126890aSEmmanuel Vadot					<&mmcc DSI1_ESC_SRC>,
1293f126890aSEmmanuel Vadot					<&mmcc DSI_SRC>,
1294f126890aSEmmanuel Vadot					<&mmcc DSI_PIXEL_SRC>;
1295f126890aSEmmanuel Vadot			assigned-clock-parents = <&dsi0_phy 0>,
1296f126890aSEmmanuel Vadot						<&dsi0_phy 0>,
1297f126890aSEmmanuel Vadot						<&dsi0_phy 1>,
1298f126890aSEmmanuel Vadot						<&dsi0_phy 1>;
1299f126890aSEmmanuel Vadot			syscon-sfpb = <&mmss_sfpb>;
1300f126890aSEmmanuel Vadot			phys = <&dsi0_phy>;
1301f126890aSEmmanuel Vadot			status = "disabled";
1302f126890aSEmmanuel Vadot
1303f126890aSEmmanuel Vadot			ports {
1304f126890aSEmmanuel Vadot				#address-cells = <1>;
1305f126890aSEmmanuel Vadot				#size-cells = <0>;
1306f126890aSEmmanuel Vadot
1307f126890aSEmmanuel Vadot				port@0 {
1308f126890aSEmmanuel Vadot					reg = <0>;
1309f126890aSEmmanuel Vadot					dsi0_in: endpoint {
1310f126890aSEmmanuel Vadot					};
1311f126890aSEmmanuel Vadot				};
1312f126890aSEmmanuel Vadot
1313f126890aSEmmanuel Vadot				port@1 {
1314f126890aSEmmanuel Vadot					reg = <1>;
1315f126890aSEmmanuel Vadot					dsi0_out: endpoint {
1316f126890aSEmmanuel Vadot					};
1317f126890aSEmmanuel Vadot				};
1318f126890aSEmmanuel Vadot			};
1319f126890aSEmmanuel Vadot		};
1320f126890aSEmmanuel Vadot
1321f126890aSEmmanuel Vadot
1322f126890aSEmmanuel Vadot		dsi0_phy: phy@4700200 {
1323f126890aSEmmanuel Vadot			compatible = "qcom,dsi-phy-28nm-8960";
1324f126890aSEmmanuel Vadot			#clock-cells = <1>;
1325f126890aSEmmanuel Vadot			#phy-cells = <0>;
1326f126890aSEmmanuel Vadot
1327f126890aSEmmanuel Vadot			reg = <0x04700200 0x100>,
1328f126890aSEmmanuel Vadot				<0x04700300 0x200>,
1329f126890aSEmmanuel Vadot				<0x04700500 0x5c>;
1330f126890aSEmmanuel Vadot			reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
1331f126890aSEmmanuel Vadot			clock-names = "iface", "ref";
1332f126890aSEmmanuel Vadot			clocks = <&mmcc DSI_M_AHB_CLK>,
1333f126890aSEmmanuel Vadot				 <&pxo_board>;
1334f126890aSEmmanuel Vadot			status = "disabled";
1335f126890aSEmmanuel Vadot		};
1336f126890aSEmmanuel Vadot
1337f126890aSEmmanuel Vadot		dsi1: dsi@5800000 {
1338f126890aSEmmanuel Vadot			compatible = "qcom,mdss-dsi-ctrl";
1339f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1340f126890aSEmmanuel Vadot			reg = <0x05800000 0x200>;
1341f126890aSEmmanuel Vadot			reg-names = "dsi_ctrl";
1342f126890aSEmmanuel Vadot
1343f126890aSEmmanuel Vadot			clocks = <&mmcc DSI2_M_AHB_CLK>,
1344f126890aSEmmanuel Vadot				 <&mmcc DSI2_S_AHB_CLK>,
1345f126890aSEmmanuel Vadot				 <&mmcc AMP_AHB_CLK>,
1346f126890aSEmmanuel Vadot				 <&mmcc DSI2_CLK>,
1347f126890aSEmmanuel Vadot				 <&mmcc DSI2_BYTE_CLK>,
1348f126890aSEmmanuel Vadot				 <&mmcc DSI2_PIXEL_CLK>,
1349f126890aSEmmanuel Vadot				 <&mmcc DSI2_ESC_CLK>;
1350f126890aSEmmanuel Vadot			clock-names = "iface",
1351f126890aSEmmanuel Vadot				      "bus",
1352f126890aSEmmanuel Vadot				      "core_mmss",
1353f126890aSEmmanuel Vadot				      "src",
1354f126890aSEmmanuel Vadot				      "byte",
1355f126890aSEmmanuel Vadot				      "pixel",
1356f126890aSEmmanuel Vadot				      "core";
1357f126890aSEmmanuel Vadot
1358f126890aSEmmanuel Vadot			assigned-clocks = <&mmcc DSI2_BYTE_SRC>,
1359f126890aSEmmanuel Vadot					  <&mmcc DSI2_ESC_SRC>,
1360f126890aSEmmanuel Vadot					  <&mmcc DSI2_SRC>,
1361f126890aSEmmanuel Vadot					  <&mmcc DSI2_PIXEL_SRC>;
1362f126890aSEmmanuel Vadot			assigned-clock-parents = <&dsi1_phy 0>,
1363f126890aSEmmanuel Vadot						 <&dsi1_phy 0>,
1364f126890aSEmmanuel Vadot						 <&dsi1_phy 1>,
1365f126890aSEmmanuel Vadot						 <&dsi1_phy 1>;
1366f126890aSEmmanuel Vadot
1367f126890aSEmmanuel Vadot			syscon-sfpb = <&mmss_sfpb>;
1368f126890aSEmmanuel Vadot			phys = <&dsi1_phy>;
1369f126890aSEmmanuel Vadot
1370f126890aSEmmanuel Vadot			#address-cells = <1>;
1371f126890aSEmmanuel Vadot			#size-cells = <0>;
1372f126890aSEmmanuel Vadot
1373f126890aSEmmanuel Vadot			status = "disabled";
1374f126890aSEmmanuel Vadot
1375f126890aSEmmanuel Vadot			ports {
1376f126890aSEmmanuel Vadot				#address-cells = <1>;
1377f126890aSEmmanuel Vadot				#size-cells = <0>;
1378f126890aSEmmanuel Vadot
1379f126890aSEmmanuel Vadot				port@0 {
1380f126890aSEmmanuel Vadot					reg = <0>;
1381f126890aSEmmanuel Vadot					dsi1_in: endpoint {
1382f126890aSEmmanuel Vadot					};
1383f126890aSEmmanuel Vadot				};
1384f126890aSEmmanuel Vadot
1385f126890aSEmmanuel Vadot				port@1 {
1386f126890aSEmmanuel Vadot					reg = <1>;
1387f126890aSEmmanuel Vadot					dsi1_out: endpoint {
1388f126890aSEmmanuel Vadot					};
1389f126890aSEmmanuel Vadot				};
1390f126890aSEmmanuel Vadot			};
1391f126890aSEmmanuel Vadot		};
1392f126890aSEmmanuel Vadot
1393f126890aSEmmanuel Vadot
1394f126890aSEmmanuel Vadot		dsi1_phy: dsi-phy@5800200 {
1395f126890aSEmmanuel Vadot			compatible = "qcom,dsi-phy-28nm-8960";
1396f126890aSEmmanuel Vadot			reg = <0x05800200 0x100>,
1397f126890aSEmmanuel Vadot			      <0x05800300 0x200>,
1398f126890aSEmmanuel Vadot			      <0x05800500 0x5c>;
1399f126890aSEmmanuel Vadot			reg-names = "dsi_pll",
1400f126890aSEmmanuel Vadot				    "dsi_phy",
1401f126890aSEmmanuel Vadot				    "dsi_phy_regulator";
1402f126890aSEmmanuel Vadot			clock-names = "iface",
1403f126890aSEmmanuel Vadot				      "ref";
1404f126890aSEmmanuel Vadot			clocks = <&mmcc DSI2_M_AHB_CLK>,
1405f126890aSEmmanuel Vadot				 <&pxo_board>;
1406f126890aSEmmanuel Vadot			#clock-cells = <1>;
1407f126890aSEmmanuel Vadot			#phy-cells = <0>;
1408f126890aSEmmanuel Vadot
1409f126890aSEmmanuel Vadot			status = "disabled";
1410f126890aSEmmanuel Vadot		};
1411f126890aSEmmanuel Vadot
1412f126890aSEmmanuel Vadot		mdp_port0: iommu@7500000 {
1413f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-iommu";
1414f126890aSEmmanuel Vadot			#iommu-cells = <1>;
1415f126890aSEmmanuel Vadot			clock-names =
1416f126890aSEmmanuel Vadot			    "smmu_pclk",
1417f126890aSEmmanuel Vadot			    "iommu_clk";
1418f126890aSEmmanuel Vadot			clocks =
1419f126890aSEmmanuel Vadot			    <&mmcc SMMU_AHB_CLK>,
1420f126890aSEmmanuel Vadot			    <&mmcc MDP_AXI_CLK>;
1421f126890aSEmmanuel Vadot			reg = <0x07500000 0x100000>;
1422f126890aSEmmanuel Vadot			interrupts =
1423f126890aSEmmanuel Vadot			    <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
1424f126890aSEmmanuel Vadot			    <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
1425f126890aSEmmanuel Vadot			qcom,ncb = <2>;
1426f126890aSEmmanuel Vadot		};
1427f126890aSEmmanuel Vadot
1428f126890aSEmmanuel Vadot		mdp_port1: iommu@7600000 {
1429f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-iommu";
1430f126890aSEmmanuel Vadot			#iommu-cells = <1>;
1431f126890aSEmmanuel Vadot			clock-names =
1432f126890aSEmmanuel Vadot			    "smmu_pclk",
1433f126890aSEmmanuel Vadot			    "iommu_clk";
1434f126890aSEmmanuel Vadot			clocks =
1435f126890aSEmmanuel Vadot			    <&mmcc SMMU_AHB_CLK>,
1436f126890aSEmmanuel Vadot			    <&mmcc MDP_AXI_CLK>;
1437f126890aSEmmanuel Vadot			reg = <0x07600000 0x100000>;
1438f126890aSEmmanuel Vadot			interrupts =
1439f126890aSEmmanuel Vadot			    <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
1440f126890aSEmmanuel Vadot			    <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
1441f126890aSEmmanuel Vadot			qcom,ncb = <2>;
1442f126890aSEmmanuel Vadot		};
1443f126890aSEmmanuel Vadot
1444f126890aSEmmanuel Vadot		gfx3d: iommu@7c00000 {
1445f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-iommu";
1446f126890aSEmmanuel Vadot			#iommu-cells = <1>;
1447f126890aSEmmanuel Vadot			clock-names =
1448f126890aSEmmanuel Vadot			    "smmu_pclk",
1449f126890aSEmmanuel Vadot			    "iommu_clk";
1450f126890aSEmmanuel Vadot			clocks =
1451f126890aSEmmanuel Vadot			    <&mmcc SMMU_AHB_CLK>,
1452f126890aSEmmanuel Vadot			    <&mmcc GFX3D_AXI_CLK>;
1453f126890aSEmmanuel Vadot			reg = <0x07c00000 0x100000>;
1454f126890aSEmmanuel Vadot			interrupts =
1455f126890aSEmmanuel Vadot			    <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
1456f126890aSEmmanuel Vadot			    <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1457f126890aSEmmanuel Vadot			qcom,ncb = <3>;
1458f126890aSEmmanuel Vadot		};
1459f126890aSEmmanuel Vadot
1460f126890aSEmmanuel Vadot		gfx3d1: iommu@7d00000 {
1461f126890aSEmmanuel Vadot			compatible = "qcom,apq8064-iommu";
1462f126890aSEmmanuel Vadot			#iommu-cells = <1>;
1463f126890aSEmmanuel Vadot			clock-names =
1464f126890aSEmmanuel Vadot			    "smmu_pclk",
1465f126890aSEmmanuel Vadot			    "iommu_clk";
1466f126890aSEmmanuel Vadot			clocks =
1467f126890aSEmmanuel Vadot			    <&mmcc SMMU_AHB_CLK>,
1468f126890aSEmmanuel Vadot			    <&mmcc GFX3D_AXI_CLK>;
1469f126890aSEmmanuel Vadot			reg = <0x07d00000 0x100000>;
1470f126890aSEmmanuel Vadot			interrupts =
1471f126890aSEmmanuel Vadot			    <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
1472f126890aSEmmanuel Vadot			    <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
1473f126890aSEmmanuel Vadot			qcom,ncb = <3>;
1474f126890aSEmmanuel Vadot		};
1475f126890aSEmmanuel Vadot
1476f126890aSEmmanuel Vadot		pcie: pci@1b500000 {
1477f126890aSEmmanuel Vadot			compatible = "qcom,pcie-apq8064";
1478f126890aSEmmanuel Vadot			reg = <0x1b500000 0x1000>,
1479f126890aSEmmanuel Vadot			      <0x1b502000 0x80>,
1480f126890aSEmmanuel Vadot			      <0x1b600000 0x100>,
1481f126890aSEmmanuel Vadot			      <0x0ff00000 0x100000>;
1482f126890aSEmmanuel Vadot			reg-names = "dbi", "elbi", "parf", "config";
1483f126890aSEmmanuel Vadot			device_type = "pci";
1484f126890aSEmmanuel Vadot			linux,pci-domain = <0>;
1485f126890aSEmmanuel Vadot			bus-range = <0x00 0xff>;
1486f126890aSEmmanuel Vadot			num-lanes = <1>;
1487f126890aSEmmanuel Vadot			#address-cells = <3>;
1488f126890aSEmmanuel Vadot			#size-cells = <2>;
1489f126890aSEmmanuel Vadot			ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00100000>, /* I/O */
1490f126890aSEmmanuel Vadot				 <0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* mem */
1491f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1492f126890aSEmmanuel Vadot			interrupt-names = "msi";
1493f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
1494f126890aSEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
1495f126890aSEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1496f126890aSEmmanuel Vadot					<0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1497f126890aSEmmanuel Vadot					<0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1498f126890aSEmmanuel Vadot					<0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1499f126890aSEmmanuel Vadot			clocks = <&gcc PCIE_A_CLK>,
1500f126890aSEmmanuel Vadot				 <&gcc PCIE_H_CLK>,
1501f126890aSEmmanuel Vadot				 <&gcc PCIE_PHY_REF_CLK>;
1502f126890aSEmmanuel Vadot			clock-names = "core", "iface", "phy";
1503f126890aSEmmanuel Vadot			resets = <&gcc PCIE_ACLK_RESET>,
1504f126890aSEmmanuel Vadot				 <&gcc PCIE_HCLK_RESET>,
1505f126890aSEmmanuel Vadot				 <&gcc PCIE_POR_RESET>,
1506f126890aSEmmanuel Vadot				 <&gcc PCIE_PCI_RESET>,
1507f126890aSEmmanuel Vadot				 <&gcc PCIE_PHY_RESET>;
1508f126890aSEmmanuel Vadot			reset-names = "axi", "ahb", "por", "pci", "phy";
1509f126890aSEmmanuel Vadot			status = "disabled";
1510f126890aSEmmanuel Vadot		};
1511f126890aSEmmanuel Vadot
1512f126890aSEmmanuel Vadot		hdmi: hdmi-tx@4a00000 {
1513f126890aSEmmanuel Vadot			compatible = "qcom,hdmi-tx-8960";
1514f126890aSEmmanuel Vadot			pinctrl-names = "default";
1515f126890aSEmmanuel Vadot			pinctrl-0 = <&hdmi_pinctrl>;
1516f126890aSEmmanuel Vadot			reg = <0x04a00000 0x2f0>;
1517f126890aSEmmanuel Vadot			reg-names = "core_physical";
1518f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1519f126890aSEmmanuel Vadot			clocks = <&mmcc HDMI_APP_CLK>,
1520f126890aSEmmanuel Vadot				 <&mmcc HDMI_M_AHB_CLK>,
1521f126890aSEmmanuel Vadot				 <&mmcc HDMI_S_AHB_CLK>;
1522f126890aSEmmanuel Vadot			clock-names = "core",
1523f126890aSEmmanuel Vadot				      "master_iface",
1524f126890aSEmmanuel Vadot				      "slave_iface";
1525f126890aSEmmanuel Vadot
1526f126890aSEmmanuel Vadot			phys = <&hdmi_phy>;
1527f126890aSEmmanuel Vadot
1528f126890aSEmmanuel Vadot			status = "disabled";
1529f126890aSEmmanuel Vadot
1530f126890aSEmmanuel Vadot			ports {
1531f126890aSEmmanuel Vadot				#address-cells = <1>;
1532f126890aSEmmanuel Vadot				#size-cells = <0>;
1533f126890aSEmmanuel Vadot
1534f126890aSEmmanuel Vadot				port@0 {
1535f126890aSEmmanuel Vadot					reg = <0>;
1536f126890aSEmmanuel Vadot					hdmi_in: endpoint {
1537f126890aSEmmanuel Vadot					};
1538f126890aSEmmanuel Vadot				};
1539f126890aSEmmanuel Vadot
1540f126890aSEmmanuel Vadot				port@1 {
1541f126890aSEmmanuel Vadot					reg = <1>;
1542f126890aSEmmanuel Vadot					hdmi_out: endpoint {
1543f126890aSEmmanuel Vadot					};
1544f126890aSEmmanuel Vadot				};
1545f126890aSEmmanuel Vadot			};
1546f126890aSEmmanuel Vadot		};
1547f126890aSEmmanuel Vadot
1548f126890aSEmmanuel Vadot		hdmi_phy: phy@4a00400 {
1549f126890aSEmmanuel Vadot			compatible = "qcom,hdmi-phy-8960";
1550f126890aSEmmanuel Vadot			reg = <0x4a00400 0x60>,
1551f126890aSEmmanuel Vadot			      <0x4a00500 0x100>;
1552f126890aSEmmanuel Vadot			reg-names = "hdmi_phy",
1553f126890aSEmmanuel Vadot				    "hdmi_pll";
1554f126890aSEmmanuel Vadot
1555f126890aSEmmanuel Vadot			clocks = <&mmcc HDMI_S_AHB_CLK>;
1556f126890aSEmmanuel Vadot			clock-names = "slave_iface";
1557f126890aSEmmanuel Vadot			#phy-cells = <0>;
1558f126890aSEmmanuel Vadot			#clock-cells = <0>;
1559f126890aSEmmanuel Vadot
1560f126890aSEmmanuel Vadot			status = "disabled";
1561f126890aSEmmanuel Vadot		};
1562f126890aSEmmanuel Vadot
1563f126890aSEmmanuel Vadot		mdp: display-controller@5100000 {
1564f126890aSEmmanuel Vadot			compatible = "qcom,mdp4";
1565f126890aSEmmanuel Vadot			reg = <0x05100000 0xf0000>;
1566f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1567f126890aSEmmanuel Vadot			clocks = <&mmcc MDP_CLK>,
1568f126890aSEmmanuel Vadot				 <&mmcc MDP_AHB_CLK>,
1569f126890aSEmmanuel Vadot				 <&mmcc MDP_AXI_CLK>,
1570f126890aSEmmanuel Vadot				 <&mmcc MDP_LUT_CLK>,
1571f126890aSEmmanuel Vadot				 <&mmcc HDMI_TV_CLK>,
1572f126890aSEmmanuel Vadot				 <&mmcc MDP_TV_CLK>;
1573f126890aSEmmanuel Vadot			clock-names = "core_clk",
1574f126890aSEmmanuel Vadot				      "iface_clk",
1575f126890aSEmmanuel Vadot				      "bus_clk",
1576f126890aSEmmanuel Vadot				      "lut_clk",
1577f126890aSEmmanuel Vadot				      "hdmi_clk",
1578f126890aSEmmanuel Vadot				      "tv_clk";
1579f126890aSEmmanuel Vadot
1580f126890aSEmmanuel Vadot			iommus = <&mdp_port0 0
1581f126890aSEmmanuel Vadot				  &mdp_port0 2
1582f126890aSEmmanuel Vadot				  &mdp_port1 0
1583f126890aSEmmanuel Vadot				  &mdp_port1 2>;
1584f126890aSEmmanuel Vadot
1585f126890aSEmmanuel Vadot			ports {
1586f126890aSEmmanuel Vadot				#address-cells = <1>;
1587f126890aSEmmanuel Vadot				#size-cells = <0>;
1588f126890aSEmmanuel Vadot
1589f126890aSEmmanuel Vadot				port@0 {
1590f126890aSEmmanuel Vadot					reg = <0>;
1591f126890aSEmmanuel Vadot					mdp_lvds_out: endpoint {
1592f126890aSEmmanuel Vadot					};
1593f126890aSEmmanuel Vadot				};
1594f126890aSEmmanuel Vadot
1595f126890aSEmmanuel Vadot				port@1 {
1596f126890aSEmmanuel Vadot					reg = <1>;
1597f126890aSEmmanuel Vadot					mdp_dsi1_out: endpoint {
1598f126890aSEmmanuel Vadot					};
1599f126890aSEmmanuel Vadot				};
1600f126890aSEmmanuel Vadot
1601f126890aSEmmanuel Vadot				port@2 {
1602f126890aSEmmanuel Vadot					reg = <2>;
1603f126890aSEmmanuel Vadot					mdp_dsi2_out: endpoint {
1604f126890aSEmmanuel Vadot					};
1605f126890aSEmmanuel Vadot				};
1606f126890aSEmmanuel Vadot
1607f126890aSEmmanuel Vadot				port@3 {
1608f126890aSEmmanuel Vadot					reg = <3>;
1609f126890aSEmmanuel Vadot					mdp_dtv_out: endpoint {
1610f126890aSEmmanuel Vadot					};
1611f126890aSEmmanuel Vadot				};
1612f126890aSEmmanuel Vadot			};
1613f126890aSEmmanuel Vadot		};
1614f126890aSEmmanuel Vadot
1615f126890aSEmmanuel Vadot		riva: riva-pil@3200800 {
1616f126890aSEmmanuel Vadot			compatible = "qcom,riva-pil";
1617f126890aSEmmanuel Vadot
1618f126890aSEmmanuel Vadot			reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
1619f126890aSEmmanuel Vadot			reg-names = "ccu", "dxe", "pmu";
1620f126890aSEmmanuel Vadot
1621f126890aSEmmanuel Vadot			interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
1622f126890aSEmmanuel Vadot					      <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
1623f126890aSEmmanuel Vadot			interrupt-names = "wdog", "fatal";
1624f126890aSEmmanuel Vadot
1625f126890aSEmmanuel Vadot			memory-region = <&wcnss_mem>;
1626f126890aSEmmanuel Vadot
1627f126890aSEmmanuel Vadot			vddcx-supply = <&pm8921_s3>;
1628f126890aSEmmanuel Vadot			vddmx-supply = <&pm8921_l24>;
1629f126890aSEmmanuel Vadot			vddpx-supply = <&pm8921_s4>;
1630f126890aSEmmanuel Vadot
1631f126890aSEmmanuel Vadot			status = "disabled";
1632f126890aSEmmanuel Vadot
1633f126890aSEmmanuel Vadot			iris {
1634f126890aSEmmanuel Vadot				compatible = "qcom,wcn3660";
1635f126890aSEmmanuel Vadot
1636f126890aSEmmanuel Vadot				clocks = <&cxo_board>;
1637f126890aSEmmanuel Vadot				clock-names = "xo";
1638f126890aSEmmanuel Vadot
1639f126890aSEmmanuel Vadot				vddxo-supply = <&pm8921_l4>;
1640f126890aSEmmanuel Vadot				vddrfa-supply = <&pm8921_s2>;
1641f126890aSEmmanuel Vadot				vddpa-supply = <&pm8921_l10>;
1642f126890aSEmmanuel Vadot				vdddig-supply = <&pm8921_lvs2>;
1643f126890aSEmmanuel Vadot			};
1644f126890aSEmmanuel Vadot
1645f126890aSEmmanuel Vadot			smd-edge {
1646f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
1647f126890aSEmmanuel Vadot
1648f126890aSEmmanuel Vadot				qcom,ipc = <&l2cc 8 25>;
1649f126890aSEmmanuel Vadot				qcom,smd-edge = <6>;
1650f126890aSEmmanuel Vadot
1651f126890aSEmmanuel Vadot				label = "riva";
1652f126890aSEmmanuel Vadot
1653f126890aSEmmanuel Vadot				wcnss {
1654f126890aSEmmanuel Vadot					compatible = "qcom,wcnss";
1655f126890aSEmmanuel Vadot					qcom,smd-channels = "WCNSS_CTRL";
1656f126890aSEmmanuel Vadot
1657f126890aSEmmanuel Vadot					qcom,mmio = <&riva>;
1658f126890aSEmmanuel Vadot
1659f126890aSEmmanuel Vadot					bluetooth {
1660f126890aSEmmanuel Vadot						compatible = "qcom,wcnss-bt";
1661f126890aSEmmanuel Vadot					};
1662f126890aSEmmanuel Vadot
1663f126890aSEmmanuel Vadot					wifi {
1664f126890aSEmmanuel Vadot						compatible = "qcom,wcnss-wlan";
1665f126890aSEmmanuel Vadot
1666f126890aSEmmanuel Vadot						interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
1667f126890aSEmmanuel Vadot							     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
1668f126890aSEmmanuel Vadot						interrupt-names = "tx", "rx";
1669f126890aSEmmanuel Vadot
1670f126890aSEmmanuel Vadot						qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
1671f126890aSEmmanuel Vadot						qcom,smem-state-names = "tx-enable", "tx-rings-empty";
1672f126890aSEmmanuel Vadot					};
1673f126890aSEmmanuel Vadot				};
1674f126890aSEmmanuel Vadot			};
1675f126890aSEmmanuel Vadot		};
1676f126890aSEmmanuel Vadot
1677f126890aSEmmanuel Vadot		etb@1a01000 {
1678f126890aSEmmanuel Vadot			compatible = "arm,coresight-etb10", "arm,primecell";
1679f126890aSEmmanuel Vadot			reg = <0x1a01000 0x1000>;
1680f126890aSEmmanuel Vadot
1681f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1682f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1683f126890aSEmmanuel Vadot
1684f126890aSEmmanuel Vadot			in-ports {
1685f126890aSEmmanuel Vadot				port {
1686f126890aSEmmanuel Vadot					etb_in: endpoint {
1687f126890aSEmmanuel Vadot						remote-endpoint = <&replicator_out0>;
1688f126890aSEmmanuel Vadot					};
1689f126890aSEmmanuel Vadot				};
1690f126890aSEmmanuel Vadot			};
1691f126890aSEmmanuel Vadot		};
1692f126890aSEmmanuel Vadot
1693f126890aSEmmanuel Vadot		tpiu@1a03000 {
1694f126890aSEmmanuel Vadot			compatible = "arm,coresight-tpiu", "arm,primecell";
1695f126890aSEmmanuel Vadot			reg = <0x1a03000 0x1000>;
1696f126890aSEmmanuel Vadot
1697f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1698f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1699f126890aSEmmanuel Vadot
1700f126890aSEmmanuel Vadot			in-ports {
1701f126890aSEmmanuel Vadot				port {
1702f126890aSEmmanuel Vadot					tpiu_in: endpoint {
1703f126890aSEmmanuel Vadot						remote-endpoint = <&replicator_out1>;
1704f126890aSEmmanuel Vadot					};
1705f126890aSEmmanuel Vadot				};
1706f126890aSEmmanuel Vadot			};
1707f126890aSEmmanuel Vadot		};
1708f126890aSEmmanuel Vadot
1709f126890aSEmmanuel Vadot		replicator {
1710f126890aSEmmanuel Vadot			compatible = "arm,coresight-static-replicator";
1711f126890aSEmmanuel Vadot
1712f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1713f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1714f126890aSEmmanuel Vadot
1715f126890aSEmmanuel Vadot			out-ports {
1716f126890aSEmmanuel Vadot				#address-cells = <1>;
1717f126890aSEmmanuel Vadot				#size-cells = <0>;
1718f126890aSEmmanuel Vadot
1719f126890aSEmmanuel Vadot				port@0 {
1720f126890aSEmmanuel Vadot					reg = <0>;
1721f126890aSEmmanuel Vadot					replicator_out0: endpoint {
1722f126890aSEmmanuel Vadot						remote-endpoint = <&etb_in>;
1723f126890aSEmmanuel Vadot					};
1724f126890aSEmmanuel Vadot				};
1725f126890aSEmmanuel Vadot				port@1 {
1726f126890aSEmmanuel Vadot					reg = <1>;
1727f126890aSEmmanuel Vadot					replicator_out1: endpoint {
1728f126890aSEmmanuel Vadot						remote-endpoint = <&tpiu_in>;
1729f126890aSEmmanuel Vadot					};
1730f126890aSEmmanuel Vadot				};
1731f126890aSEmmanuel Vadot			};
1732f126890aSEmmanuel Vadot
1733f126890aSEmmanuel Vadot			in-ports {
1734f126890aSEmmanuel Vadot				port {
1735f126890aSEmmanuel Vadot					replicator_in: endpoint {
1736f126890aSEmmanuel Vadot						remote-endpoint = <&funnel_out>;
1737f126890aSEmmanuel Vadot					};
1738f126890aSEmmanuel Vadot				};
1739f126890aSEmmanuel Vadot			};
1740f126890aSEmmanuel Vadot		};
1741f126890aSEmmanuel Vadot
1742f126890aSEmmanuel Vadot		funnel@1a04000 {
1743f126890aSEmmanuel Vadot			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1744f126890aSEmmanuel Vadot			reg = <0x1a04000 0x1000>;
1745f126890aSEmmanuel Vadot
1746f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1747f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1748f126890aSEmmanuel Vadot
1749f126890aSEmmanuel Vadot			in-ports {
1750f126890aSEmmanuel Vadot				#address-cells = <1>;
1751f126890aSEmmanuel Vadot				#size-cells = <0>;
1752f126890aSEmmanuel Vadot
1753f126890aSEmmanuel Vadot				/*
1754f126890aSEmmanuel Vadot				 * Not described input ports:
1755f126890aSEmmanuel Vadot				 * 2 - connected to STM component
1756f126890aSEmmanuel Vadot				 * 3 - not-connected
1757f126890aSEmmanuel Vadot				 * 6 - not-connected
1758f126890aSEmmanuel Vadot				 * 7 - not-connected
1759f126890aSEmmanuel Vadot				 */
1760f126890aSEmmanuel Vadot				port@0 {
1761f126890aSEmmanuel Vadot					reg = <0>;
1762f126890aSEmmanuel Vadot					funnel_in0: endpoint {
1763f126890aSEmmanuel Vadot						remote-endpoint = <&etm0_out>;
1764f126890aSEmmanuel Vadot					};
1765f126890aSEmmanuel Vadot				};
1766f126890aSEmmanuel Vadot				port@1 {
1767f126890aSEmmanuel Vadot					reg = <1>;
1768f126890aSEmmanuel Vadot					funnel_in1: endpoint {
1769f126890aSEmmanuel Vadot						remote-endpoint = <&etm1_out>;
1770f126890aSEmmanuel Vadot					};
1771f126890aSEmmanuel Vadot				};
1772f126890aSEmmanuel Vadot				port@4 {
1773f126890aSEmmanuel Vadot					reg = <4>;
1774f126890aSEmmanuel Vadot					funnel_in4: endpoint {
1775f126890aSEmmanuel Vadot						remote-endpoint = <&etm2_out>;
1776f126890aSEmmanuel Vadot					};
1777f126890aSEmmanuel Vadot				};
1778f126890aSEmmanuel Vadot				port@5 {
1779f126890aSEmmanuel Vadot					reg = <5>;
1780f126890aSEmmanuel Vadot					funnel_in5: endpoint {
1781f126890aSEmmanuel Vadot						remote-endpoint = <&etm3_out>;
1782f126890aSEmmanuel Vadot					};
1783f126890aSEmmanuel Vadot				};
1784f126890aSEmmanuel Vadot			};
1785f126890aSEmmanuel Vadot
1786f126890aSEmmanuel Vadot			out-ports {
1787f126890aSEmmanuel Vadot				port {
1788f126890aSEmmanuel Vadot					funnel_out: endpoint {
1789f126890aSEmmanuel Vadot						remote-endpoint = <&replicator_in>;
1790f126890aSEmmanuel Vadot					};
1791f126890aSEmmanuel Vadot				};
1792f126890aSEmmanuel Vadot			};
1793f126890aSEmmanuel Vadot		};
1794f126890aSEmmanuel Vadot
1795f126890aSEmmanuel Vadot		etm@1a1c000 {
1796f126890aSEmmanuel Vadot			compatible = "arm,coresight-etm3x", "arm,primecell";
1797f126890aSEmmanuel Vadot			reg = <0x1a1c000 0x1000>;
1798f126890aSEmmanuel Vadot
1799f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1800f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1801f126890aSEmmanuel Vadot
1802f126890aSEmmanuel Vadot			cpu = <&CPU0>;
1803f126890aSEmmanuel Vadot
1804f126890aSEmmanuel Vadot			out-ports {
1805f126890aSEmmanuel Vadot				port {
1806f126890aSEmmanuel Vadot					etm0_out: endpoint {
1807f126890aSEmmanuel Vadot						remote-endpoint = <&funnel_in0>;
1808f126890aSEmmanuel Vadot					};
1809f126890aSEmmanuel Vadot				};
1810f126890aSEmmanuel Vadot			};
1811f126890aSEmmanuel Vadot		};
1812f126890aSEmmanuel Vadot
1813f126890aSEmmanuel Vadot		etm@1a1d000 {
1814f126890aSEmmanuel Vadot			compatible = "arm,coresight-etm3x", "arm,primecell";
1815f126890aSEmmanuel Vadot			reg = <0x1a1d000 0x1000>;
1816f126890aSEmmanuel Vadot
1817f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1818f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1819f126890aSEmmanuel Vadot
1820f126890aSEmmanuel Vadot			cpu = <&CPU1>;
1821f126890aSEmmanuel Vadot
1822f126890aSEmmanuel Vadot			out-ports {
1823f126890aSEmmanuel Vadot				port {
1824f126890aSEmmanuel Vadot					etm1_out: endpoint {
1825f126890aSEmmanuel Vadot						remote-endpoint = <&funnel_in1>;
1826f126890aSEmmanuel Vadot					};
1827f126890aSEmmanuel Vadot				};
1828f126890aSEmmanuel Vadot			};
1829f126890aSEmmanuel Vadot		};
1830f126890aSEmmanuel Vadot
1831f126890aSEmmanuel Vadot		etm@1a1e000 {
1832f126890aSEmmanuel Vadot			compatible = "arm,coresight-etm3x", "arm,primecell";
1833f126890aSEmmanuel Vadot			reg = <0x1a1e000 0x1000>;
1834f126890aSEmmanuel Vadot
1835f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1836f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1837f126890aSEmmanuel Vadot
1838f126890aSEmmanuel Vadot			cpu = <&CPU2>;
1839f126890aSEmmanuel Vadot
1840f126890aSEmmanuel Vadot			out-ports {
1841f126890aSEmmanuel Vadot				port {
1842f126890aSEmmanuel Vadot					etm2_out: endpoint {
1843f126890aSEmmanuel Vadot						remote-endpoint = <&funnel_in4>;
1844f126890aSEmmanuel Vadot					};
1845f126890aSEmmanuel Vadot				};
1846f126890aSEmmanuel Vadot			};
1847f126890aSEmmanuel Vadot		};
1848f126890aSEmmanuel Vadot
1849f126890aSEmmanuel Vadot		etm@1a1f000 {
1850f126890aSEmmanuel Vadot			compatible = "arm,coresight-etm3x", "arm,primecell";
1851f126890aSEmmanuel Vadot			reg = <0x1a1f000 0x1000>;
1852f126890aSEmmanuel Vadot
1853f126890aSEmmanuel Vadot			clocks = <&rpmcc RPM_QDSS_CLK>;
1854f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
1855f126890aSEmmanuel Vadot
1856f126890aSEmmanuel Vadot			cpu = <&CPU3>;
1857f126890aSEmmanuel Vadot
1858f126890aSEmmanuel Vadot			out-ports {
1859f126890aSEmmanuel Vadot				port {
1860f126890aSEmmanuel Vadot					etm3_out: endpoint {
1861f126890aSEmmanuel Vadot						remote-endpoint = <&funnel_in5>;
1862f126890aSEmmanuel Vadot					};
1863f126890aSEmmanuel Vadot				};
1864f126890aSEmmanuel Vadot			};
1865f126890aSEmmanuel Vadot		};
1866f126890aSEmmanuel Vadot	};
1867f126890aSEmmanuel Vadot};
1868f126890aSEmmanuel Vadot#include "qcom-apq8064-pins.dtsi"
1869