xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-ipq8064.dtsi (revision 81fc54e62b5b391d78f741bf33c3a91f18464ffb)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/dts-v1/;
3724ba675SRob Herring
4724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
5724ba675SRob Herring#include <dt-bindings/mfd/qcom-rpm.h>
6724ba675SRob Herring#include <dt-bindings/clock/qcom,rpmcc.h>
7724ba675SRob Herring#include <dt-bindings/clock/qcom,gcc-ipq806x.h>
8724ba675SRob Herring#include <dt-bindings/clock/qcom,lcc-ipq806x.h>
9724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
10724ba675SRob Herring#include <dt-bindings/reset/qcom,gcc-ipq806x.h>
11724ba675SRob Herring#include <dt-bindings/soc/qcom,gsbi.h>
12724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
13724ba675SRob Herring
14724ba675SRob Herring/ {
15724ba675SRob Herring	#address-cells = <1>;
16724ba675SRob Herring	#size-cells = <1>;
17724ba675SRob Herring	model = "Qualcomm IPQ8064";
18724ba675SRob Herring	compatible = "qcom,ipq8064";
19724ba675SRob Herring	interrupt-parent = <&intc>;
20724ba675SRob Herring
21724ba675SRob Herring	cpus {
22724ba675SRob Herring		#address-cells = <1>;
23724ba675SRob Herring		#size-cells = <0>;
24724ba675SRob Herring
25724ba675SRob Herring		cpu0: cpu@0 {
26724ba675SRob Herring			compatible = "qcom,krait";
27724ba675SRob Herring			enable-method = "qcom,kpss-acc-v1";
28724ba675SRob Herring			device_type = "cpu";
29724ba675SRob Herring			reg = <0>;
30724ba675SRob Herring			next-level-cache = <&L2>;
31724ba675SRob Herring			qcom,acc = <&acc0>;
32724ba675SRob Herring			qcom,saw = <&saw0>;
33724ba675SRob Herring		};
34724ba675SRob Herring
35724ba675SRob Herring		cpu1: cpu@1 {
36724ba675SRob Herring			compatible = "qcom,krait";
37724ba675SRob Herring			enable-method = "qcom,kpss-acc-v1";
38724ba675SRob Herring			device_type = "cpu";
39724ba675SRob Herring			reg = <1>;
40724ba675SRob Herring			next-level-cache = <&L2>;
41724ba675SRob Herring			qcom,acc = <&acc1>;
42724ba675SRob Herring			qcom,saw = <&saw1>;
43724ba675SRob Herring		};
44724ba675SRob Herring
45724ba675SRob Herring		L2: l2-cache {
46724ba675SRob Herring			compatible = "cache";
47724ba675SRob Herring			cache-level = <2>;
486c1561fbSLinus Torvalds			cache-unified;
49724ba675SRob Herring		};
50724ba675SRob Herring	};
51724ba675SRob Herring
52724ba675SRob Herring	thermal-zones {
53724ba675SRob Herring		sensor0-thermal {
54724ba675SRob Herring			polling-delay-passive = <0>;
55724ba675SRob Herring			polling-delay = <0>;
56724ba675SRob Herring			thermal-sensors = <&tsens 0>;
57724ba675SRob Herring
58724ba675SRob Herring			trips {
59724ba675SRob Herring				cpu-critical {
60724ba675SRob Herring					temperature = <105000>;
61724ba675SRob Herring					hysteresis = <2000>;
62724ba675SRob Herring					type = "critical";
63724ba675SRob Herring				};
64724ba675SRob Herring
65724ba675SRob Herring				cpu-hot {
66724ba675SRob Herring					temperature = <95000>;
67724ba675SRob Herring					hysteresis = <2000>;
68724ba675SRob Herring					type = "hot";
69724ba675SRob Herring				};
70724ba675SRob Herring			};
71724ba675SRob Herring		};
72724ba675SRob Herring
73724ba675SRob Herring		sensor1-thermal {
74724ba675SRob Herring			polling-delay-passive = <0>;
75724ba675SRob Herring			polling-delay = <0>;
76724ba675SRob Herring			thermal-sensors = <&tsens 1>;
77724ba675SRob Herring
78724ba675SRob Herring			trips {
79724ba675SRob Herring				cpu-critical {
80724ba675SRob Herring					temperature = <105000>;
81724ba675SRob Herring					hysteresis = <2000>;
82724ba675SRob Herring					type = "critical";
83724ba675SRob Herring				};
84724ba675SRob Herring
85724ba675SRob Herring				cpu-hot {
86724ba675SRob Herring					temperature = <95000>;
87724ba675SRob Herring					hysteresis = <2000>;
88724ba675SRob Herring					type = "hot";
89724ba675SRob Herring				};
90724ba675SRob Herring			};
91724ba675SRob Herring		};
92724ba675SRob Herring
93724ba675SRob Herring		sensor2-thermal {
94724ba675SRob Herring			polling-delay-passive = <0>;
95724ba675SRob Herring			polling-delay = <0>;
96724ba675SRob Herring			thermal-sensors = <&tsens 2>;
97724ba675SRob Herring
98724ba675SRob Herring			trips {
99724ba675SRob Herring				cpu-critical {
100724ba675SRob Herring					temperature = <105000>;
101724ba675SRob Herring					hysteresis = <2000>;
102724ba675SRob Herring					type = "critical";
103724ba675SRob Herring				};
104724ba675SRob Herring
105724ba675SRob Herring				cpu-hot {
106724ba675SRob Herring					temperature = <95000>;
107724ba675SRob Herring					hysteresis = <2000>;
108724ba675SRob Herring					type = "hot";
109724ba675SRob Herring				};
110724ba675SRob Herring			};
111724ba675SRob Herring		};
112724ba675SRob Herring
113724ba675SRob Herring		sensor3-thermal {
114724ba675SRob Herring			polling-delay-passive = <0>;
115724ba675SRob Herring			polling-delay = <0>;
116724ba675SRob Herring			thermal-sensors = <&tsens 3>;
117724ba675SRob Herring
118724ba675SRob Herring			trips {
119724ba675SRob Herring				cpu-critical {
120724ba675SRob Herring					temperature = <105000>;
121724ba675SRob Herring					hysteresis = <2000>;
122724ba675SRob Herring					type = "critical";
123724ba675SRob Herring				};
124724ba675SRob Herring
125724ba675SRob Herring				cpu-hot {
126724ba675SRob Herring					temperature = <95000>;
127724ba675SRob Herring					hysteresis = <2000>;
128724ba675SRob Herring					type = "hot";
129724ba675SRob Herring				};
130724ba675SRob Herring			};
131724ba675SRob Herring		};
132724ba675SRob Herring
133724ba675SRob Herring		sensor4-thermal {
134724ba675SRob Herring			polling-delay-passive = <0>;
135724ba675SRob Herring			polling-delay = <0>;
136724ba675SRob Herring			thermal-sensors = <&tsens 4>;
137724ba675SRob Herring
138724ba675SRob Herring			trips {
139724ba675SRob Herring				cpu-critical {
140724ba675SRob Herring					temperature = <105000>;
141724ba675SRob Herring					hysteresis = <2000>;
142724ba675SRob Herring					type = "critical";
143724ba675SRob Herring				};
144724ba675SRob Herring
145724ba675SRob Herring				cpu-hot {
146724ba675SRob Herring					temperature = <95000>;
147724ba675SRob Herring					hysteresis = <2000>;
148724ba675SRob Herring					type = "hot";
149724ba675SRob Herring				};
150724ba675SRob Herring			};
151724ba675SRob Herring		};
152724ba675SRob Herring
153724ba675SRob Herring		sensor5-thermal {
154724ba675SRob Herring			polling-delay-passive = <0>;
155724ba675SRob Herring			polling-delay = <0>;
156724ba675SRob Herring			thermal-sensors = <&tsens 5>;
157724ba675SRob Herring
158724ba675SRob Herring			trips {
159724ba675SRob Herring				cpu-critical {
160724ba675SRob Herring					temperature = <105000>;
161724ba675SRob Herring					hysteresis = <2000>;
162724ba675SRob Herring					type = "critical";
163724ba675SRob Herring				};
164724ba675SRob Herring
165724ba675SRob Herring				cpu-hot {
166724ba675SRob Herring					temperature = <95000>;
167724ba675SRob Herring					hysteresis = <2000>;
168724ba675SRob Herring					type = "hot";
169724ba675SRob Herring				};
170724ba675SRob Herring			};
171724ba675SRob Herring		};
172724ba675SRob Herring
173724ba675SRob Herring		sensor6-thermal {
174724ba675SRob Herring			polling-delay-passive = <0>;
175724ba675SRob Herring			polling-delay = <0>;
176724ba675SRob Herring			thermal-sensors = <&tsens 6>;
177724ba675SRob Herring
178724ba675SRob Herring			trips {
179724ba675SRob Herring				cpu-critical {
180724ba675SRob Herring					temperature = <105000>;
181724ba675SRob Herring					hysteresis = <2000>;
182724ba675SRob Herring					type = "critical";
183724ba675SRob Herring				};
184724ba675SRob Herring
185724ba675SRob Herring				cpu-hot {
186724ba675SRob Herring					temperature = <95000>;
187724ba675SRob Herring					hysteresis = <2000>;
188724ba675SRob Herring					type = "hot";
189724ba675SRob Herring				};
190724ba675SRob Herring			};
191724ba675SRob Herring		};
192724ba675SRob Herring
193724ba675SRob Herring		sensor7-thermal {
194724ba675SRob Herring			polling-delay-passive = <0>;
195724ba675SRob Herring			polling-delay = <0>;
196724ba675SRob Herring			thermal-sensors = <&tsens 7>;
197724ba675SRob Herring
198724ba675SRob Herring			trips {
199724ba675SRob Herring				cpu-critical {
200724ba675SRob Herring					temperature = <105000>;
201724ba675SRob Herring					hysteresis = <2000>;
202724ba675SRob Herring					type = "critical";
203724ba675SRob Herring				};
204724ba675SRob Herring
205724ba675SRob Herring				cpu-hot {
206724ba675SRob Herring					temperature = <95000>;
207724ba675SRob Herring					hysteresis = <2000>;
208724ba675SRob Herring					type = "hot";
209724ba675SRob Herring				};
210724ba675SRob Herring			};
211724ba675SRob Herring		};
212724ba675SRob Herring
213724ba675SRob Herring		sensor8-thermal {
214724ba675SRob Herring			polling-delay-passive = <0>;
215724ba675SRob Herring			polling-delay = <0>;
216724ba675SRob Herring			thermal-sensors = <&tsens 8>;
217724ba675SRob Herring
218724ba675SRob Herring			trips {
219724ba675SRob Herring				cpu-critical {
220724ba675SRob Herring					temperature = <105000>;
221724ba675SRob Herring					hysteresis = <2000>;
222724ba675SRob Herring					type = "critical";
223724ba675SRob Herring				};
224724ba675SRob Herring
225724ba675SRob Herring				cpu-hot {
226724ba675SRob Herring					temperature = <95000>;
227724ba675SRob Herring					hysteresis = <2000>;
228724ba675SRob Herring					type = "hot";
229724ba675SRob Herring				};
230724ba675SRob Herring			};
231724ba675SRob Herring		};
232724ba675SRob Herring
233724ba675SRob Herring		sensor9-thermal {
234724ba675SRob Herring			polling-delay-passive = <0>;
235724ba675SRob Herring			polling-delay = <0>;
236724ba675SRob Herring			thermal-sensors = <&tsens 9>;
237724ba675SRob Herring
238724ba675SRob Herring			trips {
239724ba675SRob Herring				cpu-critical {
240724ba675SRob Herring					temperature = <105000>;
241724ba675SRob Herring					hysteresis = <2000>;
242724ba675SRob Herring					type = "critical";
243724ba675SRob Herring				};
244724ba675SRob Herring
245724ba675SRob Herring				cpu-hot {
246724ba675SRob Herring					temperature = <95000>;
247724ba675SRob Herring					hysteresis = <2000>;
248724ba675SRob Herring					type = "hot";
249724ba675SRob Herring				};
250724ba675SRob Herring			};
251724ba675SRob Herring		};
252724ba675SRob Herring
253724ba675SRob Herring		sensor10-thermal {
254724ba675SRob Herring			polling-delay-passive = <0>;
255724ba675SRob Herring			polling-delay = <0>;
256724ba675SRob Herring			thermal-sensors = <&tsens 10>;
257724ba675SRob Herring
258724ba675SRob Herring			trips {
259724ba675SRob Herring				cpu-critical {
260724ba675SRob Herring					temperature = <105000>;
261724ba675SRob Herring					hysteresis = <2000>;
262724ba675SRob Herring					type = "critical";
263724ba675SRob Herring				};
264724ba675SRob Herring
265724ba675SRob Herring				cpu-hot {
266724ba675SRob Herring					temperature = <95000>;
267724ba675SRob Herring					hysteresis = <2000>;
268724ba675SRob Herring					type = "hot";
269724ba675SRob Herring				};
270724ba675SRob Herring			};
271724ba675SRob Herring		};
272724ba675SRob Herring	};
273724ba675SRob Herring
274724ba675SRob Herring	memory {
275724ba675SRob Herring		device_type = "memory";
276724ba675SRob Herring		reg = <0x0 0x0>;
277724ba675SRob Herring	};
278724ba675SRob Herring
279724ba675SRob Herring	cpu-pmu {
280724ba675SRob Herring		compatible = "qcom,krait-pmu";
281724ba675SRob Herring		interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
282724ba675SRob Herring					  IRQ_TYPE_LEVEL_HIGH)>;
283724ba675SRob Herring	};
284724ba675SRob Herring
285724ba675SRob Herring	reserved-memory {
286724ba675SRob Herring		#address-cells = <1>;
287724ba675SRob Herring		#size-cells = <1>;
288724ba675SRob Herring		ranges;
289724ba675SRob Herring
290724ba675SRob Herring		nss@40000000 {
291724ba675SRob Herring			reg = <0x40000000 0x1000000>;
292724ba675SRob Herring			no-map;
293724ba675SRob Herring		};
294724ba675SRob Herring
295724ba675SRob Herring		smem: smem@41000000 {
296724ba675SRob Herring			compatible = "qcom,smem";
297724ba675SRob Herring			reg = <0x41000000 0x200000>;
298724ba675SRob Herring			no-map;
299724ba675SRob Herring
300724ba675SRob Herring			hwlocks = <&sfpb_mutex 3>;
301724ba675SRob Herring		};
302724ba675SRob Herring	};
303724ba675SRob Herring
304724ba675SRob Herring	clocks {
305724ba675SRob Herring		cxo_board: cxo_board {
306724ba675SRob Herring			compatible = "fixed-clock";
307724ba675SRob Herring			#clock-cells = <0>;
308724ba675SRob Herring			clock-frequency = <25000000>;
309724ba675SRob Herring		};
310724ba675SRob Herring
311724ba675SRob Herring		pxo_board: pxo_board {
312724ba675SRob Herring			compatible = "fixed-clock";
313724ba675SRob Herring			#clock-cells = <0>;
314724ba675SRob Herring			clock-frequency = <25000000>;
315724ba675SRob Herring		};
316724ba675SRob Herring
317724ba675SRob Herring		sleep_clk: sleep_clk {
318724ba675SRob Herring			compatible = "fixed-clock";
319724ba675SRob Herring			clock-frequency = <32768>;
320724ba675SRob Herring			#clock-cells = <0>;
321724ba675SRob Herring		};
322724ba675SRob Herring	};
323724ba675SRob Herring
324724ba675SRob Herring	firmware {
325724ba675SRob Herring		scm {
326724ba675SRob Herring			compatible = "qcom,scm-ipq806x", "qcom,scm";
327724ba675SRob Herring		};
328724ba675SRob Herring	};
329724ba675SRob Herring
330724ba675SRob Herring	stmmac_axi_setup: stmmac-axi-config {
331724ba675SRob Herring		snps,wr_osr_lmt = <7>;
332724ba675SRob Herring		snps,rd_osr_lmt = <7>;
333724ba675SRob Herring		snps,blen = <16 0 0 0 0 0 0>;
334724ba675SRob Herring	};
335724ba675SRob Herring
336724ba675SRob Herring	vsdcc_fixed: vsdcc-regulator {
337724ba675SRob Herring		compatible = "regulator-fixed";
338724ba675SRob Herring		regulator-name = "SDCC Power";
339724ba675SRob Herring		regulator-min-microvolt = <3300000>;
340724ba675SRob Herring		regulator-max-microvolt = <3300000>;
341724ba675SRob Herring		regulator-always-on;
342724ba675SRob Herring	};
343724ba675SRob Herring
344724ba675SRob Herring	soc: soc {
345724ba675SRob Herring		#address-cells = <1>;
346724ba675SRob Herring		#size-cells = <1>;
347724ba675SRob Herring		ranges;
348724ba675SRob Herring		compatible = "simple-bus";
349724ba675SRob Herring
350724ba675SRob Herring		rpm: rpm@108000 {
351724ba675SRob Herring			compatible = "qcom,rpm-ipq8064";
352724ba675SRob Herring			reg = <0x00108000 0x1000>;
353724ba675SRob Herring			qcom,ipc = <&l2cc 0x8 2>;
354724ba675SRob Herring
355724ba675SRob Herring			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
356724ba675SRob Herring					<GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
357724ba675SRob Herring					<GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
358724ba675SRob Herring			interrupt-names = "ack", "err", "wakeup";
359724ba675SRob Herring
360724ba675SRob Herring			clocks = <&gcc RPM_MSG_RAM_H_CLK>;
361724ba675SRob Herring			clock-names = "ram";
362724ba675SRob Herring
363724ba675SRob Herring			rpmcc: clock-controller {
364724ba675SRob Herring				compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc";
365724ba675SRob Herring				#clock-cells = <1>;
366724ba675SRob Herring			};
367724ba675SRob Herring		};
368724ba675SRob Herring
36977c1b2b3SDmitry Baryshkov		ssbi@500000 {
370724ba675SRob Herring			compatible = "qcom,ssbi";
371724ba675SRob Herring			reg = <0x00500000 0x1000>;
372724ba675SRob Herring			qcom,controller-type = "pmic-arbiter";
373724ba675SRob Herring		};
374724ba675SRob Herring
375*81fc54e6SKrzysztof Kozlowski		qfprom: efuse@700000 {
376724ba675SRob Herring			compatible = "qcom,ipq8064-qfprom", "qcom,qfprom";
377724ba675SRob Herring			reg = <0x00700000 0x1000>;
378724ba675SRob Herring			#address-cells = <1>;
379724ba675SRob Herring			#size-cells = <1>;
380724ba675SRob Herring			speedbin_efuse: speedbin@c0 {
381724ba675SRob Herring				reg = <0xc0 0x4>;
382724ba675SRob Herring			};
383724ba675SRob Herring			tsens_calib: calib@400 {
384724ba675SRob Herring				reg = <0x400 0xb>;
385724ba675SRob Herring			};
386724ba675SRob Herring			tsens_calib_backup: calib_backup@410 {
387724ba675SRob Herring				reg = <0x410 0xb>;
388724ba675SRob Herring			};
389724ba675SRob Herring		};
390724ba675SRob Herring
391724ba675SRob Herring		qcom_pinmux: pinmux@800000 {
392724ba675SRob Herring			compatible = "qcom,ipq8064-pinctrl";
393724ba675SRob Herring			reg = <0x00800000 0x4000>;
394724ba675SRob Herring
395724ba675SRob Herring			gpio-controller;
396724ba675SRob Herring			gpio-ranges = <&qcom_pinmux 0 0 69>;
397724ba675SRob Herring			#gpio-cells = <2>;
398724ba675SRob Herring			interrupt-controller;
399724ba675SRob Herring			#interrupt-cells = <2>;
400724ba675SRob Herring			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
401724ba675SRob Herring
402724ba675SRob Herring			pcie0_pins: pcie0_pinmux {
403724ba675SRob Herring				mux {
404724ba675SRob Herring					pins = "gpio3";
405724ba675SRob Herring					function = "pcie1_rst";
406724ba675SRob Herring					drive-strength = <12>;
407724ba675SRob Herring					bias-disable;
408724ba675SRob Herring				};
409724ba675SRob Herring			};
410724ba675SRob Herring
411724ba675SRob Herring			pcie1_pins: pcie1_pinmux {
412724ba675SRob Herring				mux {
413724ba675SRob Herring					pins = "gpio48";
414724ba675SRob Herring					function = "pcie2_rst";
415724ba675SRob Herring					drive-strength = <12>;
416724ba675SRob Herring					bias-disable;
417724ba675SRob Herring				};
418724ba675SRob Herring			};
419724ba675SRob Herring
420724ba675SRob Herring			pcie2_pins: pcie2_pinmux {
421724ba675SRob Herring				mux {
422724ba675SRob Herring					pins = "gpio63";
423724ba675SRob Herring					function = "pcie3_rst";
424724ba675SRob Herring					drive-strength = <12>;
425724ba675SRob Herring					bias-disable;
426724ba675SRob Herring				};
427724ba675SRob Herring			};
428724ba675SRob Herring
429724ba675SRob Herring			i2c4_pins: i2c4-default {
430724ba675SRob Herring				pins = "gpio12", "gpio13";
431724ba675SRob Herring				function = "gsbi4";
432724ba675SRob Herring				drive-strength = <12>;
433724ba675SRob Herring				bias-disable;
434724ba675SRob Herring			};
435724ba675SRob Herring
436724ba675SRob Herring			spi_pins: spi_pins {
437724ba675SRob Herring				mux {
438724ba675SRob Herring					pins = "gpio18", "gpio19", "gpio21";
439724ba675SRob Herring					function = "gsbi5";
440724ba675SRob Herring					drive-strength = <10>;
441724ba675SRob Herring					bias-none;
442724ba675SRob Herring				};
443724ba675SRob Herring			};
444724ba675SRob Herring
445724ba675SRob Herring			leds_pins: leds_pins {
446724ba675SRob Herring				mux {
447724ba675SRob Herring					pins = "gpio7", "gpio8", "gpio9",
448724ba675SRob Herring					       "gpio26", "gpio53";
449724ba675SRob Herring					function = "gpio";
450724ba675SRob Herring					drive-strength = <2>;
451724ba675SRob Herring					bias-pull-down;
452724ba675SRob Herring					output-low;
453724ba675SRob Herring				};
454724ba675SRob Herring			};
455724ba675SRob Herring
456724ba675SRob Herring			buttons_pins: buttons_pins {
457724ba675SRob Herring				mux {
458724ba675SRob Herring					pins = "gpio54";
459724ba675SRob Herring					drive-strength = <2>;
460724ba675SRob Herring					bias-pull-up;
461724ba675SRob Herring				};
462724ba675SRob Herring			};
463724ba675SRob Herring
464724ba675SRob Herring			nand_pins: nand_pins {
465724ba675SRob Herring				mux {
466724ba675SRob Herring					pins = "gpio34", "gpio35", "gpio36",
467724ba675SRob Herring					       "gpio37", "gpio38", "gpio39",
468724ba675SRob Herring					       "gpio40", "gpio41", "gpio42",
469724ba675SRob Herring					       "gpio43", "gpio44", "gpio45",
470724ba675SRob Herring					       "gpio46", "gpio47";
471724ba675SRob Herring					function = "nand";
472724ba675SRob Herring					drive-strength = <10>;
473724ba675SRob Herring					bias-disable;
474724ba675SRob Herring				};
475724ba675SRob Herring
476724ba675SRob Herring				pullups {
477724ba675SRob Herring					pins = "gpio39";
478724ba675SRob Herring					function = "nand";
479724ba675SRob Herring					drive-strength = <10>;
480724ba675SRob Herring					bias-pull-up;
481724ba675SRob Herring				};
482724ba675SRob Herring
483724ba675SRob Herring				hold {
484724ba675SRob Herring					pins = "gpio40", "gpio41", "gpio42",
485724ba675SRob Herring					       "gpio43", "gpio44", "gpio45",
486724ba675SRob Herring					       "gpio46", "gpio47";
487724ba675SRob Herring					function = "nand";
488724ba675SRob Herring					drive-strength = <10>;
489724ba675SRob Herring					bias-bus-hold;
490724ba675SRob Herring				};
491724ba675SRob Herring			};
492724ba675SRob Herring
493724ba675SRob Herring			mdio0_pins: mdio0-pins {
494724ba675SRob Herring				mux {
495724ba675SRob Herring					pins = "gpio0", "gpio1";
496724ba675SRob Herring					function = "mdio";
497724ba675SRob Herring					drive-strength = <8>;
498724ba675SRob Herring					bias-disable;
499724ba675SRob Herring				};
500724ba675SRob Herring			};
501724ba675SRob Herring
502724ba675SRob Herring			rgmii2_pins: rgmii2-pins {
503724ba675SRob Herring				mux {
504724ba675SRob Herring					pins = "gpio27", "gpio28", "gpio29",
505724ba675SRob Herring					       "gpio30", "gpio31", "gpio32",
506724ba675SRob Herring					       "gpio51", "gpio52", "gpio59",
507724ba675SRob Herring					       "gpio60", "gpio61", "gpio62";
508724ba675SRob Herring					function = "rgmii2";
509724ba675SRob Herring					drive-strength = <8>;
510724ba675SRob Herring					bias-disable;
511724ba675SRob Herring				};
512724ba675SRob Herring			};
513724ba675SRob Herring		};
514724ba675SRob Herring
515724ba675SRob Herring		gcc: clock-controller@900000 {
516724ba675SRob Herring			compatible = "qcom,gcc-ipq8064", "syscon";
517724ba675SRob Herring			clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>;
518724ba675SRob Herring			clock-names = "pxo", "cxo", "pll4";
519724ba675SRob Herring			reg = <0x00900000 0x4000>;
520724ba675SRob Herring			#clock-cells = <1>;
521724ba675SRob Herring			#reset-cells = <1>;
522724ba675SRob Herring
523724ba675SRob Herring			tsens: thermal-sensor {
524724ba675SRob Herring				compatible = "qcom,ipq8064-tsens";
525724ba675SRob Herring
526724ba675SRob Herring				nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
527724ba675SRob Herring				nvmem-cell-names = "calib", "calib_backup";
528724ba675SRob Herring				interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
529724ba675SRob Herring				interrupt-names = "uplow";
530724ba675SRob Herring
531724ba675SRob Herring				#qcom,sensors = <11>;
532724ba675SRob Herring				#thermal-sensor-cells = <1>;
533724ba675SRob Herring			};
534724ba675SRob Herring		};
535724ba675SRob Herring
536724ba675SRob Herring		sfpb_mutex: hwlock@1200600 {
537724ba675SRob Herring			compatible = "qcom,sfpb-mutex";
538724ba675SRob Herring			reg = <0x01200600 0x100>;
539724ba675SRob Herring
540724ba675SRob Herring			#hwlock-cells = <1>;
541724ba675SRob Herring		};
542724ba675SRob Herring
543724ba675SRob Herring		intc: interrupt-controller@2000000 {
544724ba675SRob Herring			compatible = "qcom,msm-qgic2";
545724ba675SRob Herring			interrupt-controller;
546724ba675SRob Herring			#interrupt-cells = <3>;
547724ba675SRob Herring			reg = <0x02000000 0x1000>,
548724ba675SRob Herring			      <0x02002000 0x1000>;
549724ba675SRob Herring		};
550724ba675SRob Herring
551724ba675SRob Herring		timer@200a000 {
552724ba675SRob Herring			compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer",
553724ba675SRob Herring				     "qcom,msm-timer";
554724ba675SRob Herring			interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) |
555724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
556724ba675SRob Herring				     <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) |
557724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
558724ba675SRob Herring				     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) |
559724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
560724ba675SRob Herring				     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(2) |
561724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
562724ba675SRob Herring				     <GIC_PPI 5 (GIC_CPU_MASK_SIMPLE(2) |
563724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>;
564724ba675SRob Herring			reg = <0x0200a000 0x100>;
565724ba675SRob Herring			clock-frequency = <25000000>;
566724ba675SRob Herring			clocks = <&sleep_clk>;
567724ba675SRob Herring			clock-names = "sleep";
568724ba675SRob Herring			cpu-offset = <0x80000>;
569724ba675SRob Herring		};
570724ba675SRob Herring
571724ba675SRob Herring		l2cc: clock-controller@2011000 {
572724ba675SRob Herring			compatible = "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc", "syscon";
573724ba675SRob Herring			reg = <0x02011000 0x1000>;
574724ba675SRob Herring			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
575724ba675SRob Herring			clock-names = "pll8_vote", "pxo";
576724ba675SRob Herring			#clock-cells = <0>;
577724ba675SRob Herring		};
578724ba675SRob Herring
579724ba675SRob Herring		acc0: clock-controller@2088000 {
580724ba675SRob Herring			compatible = "qcom,kpss-acc-v1";
581724ba675SRob Herring			reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
582724ba675SRob Herring			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
583724ba675SRob Herring			clock-names = "pll8_vote", "pxo";
584724ba675SRob Herring			clock-output-names = "acpu0_aux";
585724ba675SRob Herring			#clock-cells = <0>;
586724ba675SRob Herring		};
587724ba675SRob Herring
58804e354e0SDmitry Baryshkov		saw0: power-manager@2089000 {
589e6e2986aSDmitry Baryshkov			compatible = "qcom,ipq8064-saw2-cpu", "qcom,saw2";
590724ba675SRob Herring			reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
591724ba675SRob Herring		};
592724ba675SRob Herring
593724ba675SRob Herring		acc1: clock-controller@2098000 {
594724ba675SRob Herring			compatible = "qcom,kpss-acc-v1";
595724ba675SRob Herring			reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
596724ba675SRob Herring			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
597724ba675SRob Herring			clock-names = "pll8_vote", "pxo";
598724ba675SRob Herring			clock-output-names = "acpu1_aux";
599724ba675SRob Herring			#clock-cells = <0>;
600724ba675SRob Herring		};
601724ba675SRob Herring
60204e354e0SDmitry Baryshkov		saw1: power-manager@2099000 {
603e6e2986aSDmitry Baryshkov			compatible = "qcom,ipq8064-saw2-cpu", "qcom,saw2";
604724ba675SRob Herring			reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
605724ba675SRob Herring		};
606724ba675SRob Herring
607724ba675SRob Herring		nss_common: syscon@3000000 {
608724ba675SRob Herring			compatible = "syscon";
609724ba675SRob Herring			reg = <0x03000000 0x0000FFFF>;
610724ba675SRob Herring		};
611724ba675SRob Herring
612724ba675SRob Herring		usb3_0: usb@100f8800 {
613724ba675SRob Herring			compatible = "qcom,ipq8064-dwc3", "qcom,dwc3";
614724ba675SRob Herring			#address-cells = <1>;
615724ba675SRob Herring			#size-cells = <1>;
616724ba675SRob Herring			reg = <0x100f8800 0x8000>;
617724ba675SRob Herring			clocks = <&gcc USB30_0_MASTER_CLK>;
618724ba675SRob Herring			clock-names = "core";
619724ba675SRob Herring
620724ba675SRob Herring			ranges;
621724ba675SRob Herring
622724ba675SRob Herring			resets = <&gcc USB30_0_MASTER_RESET>;
623724ba675SRob Herring
624724ba675SRob Herring			status = "disabled";
625724ba675SRob Herring
626724ba675SRob Herring			dwc3_0: usb@10000000 {
627724ba675SRob Herring				compatible = "snps,dwc3";
628724ba675SRob Herring				reg = <0x10000000 0xcd00>;
629724ba675SRob Herring				interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
630724ba675SRob Herring				phys = <&hs_phy_0>, <&ss_phy_0>;
631724ba675SRob Herring				phy-names = "usb2-phy", "usb3-phy";
632724ba675SRob Herring				dr_mode = "host";
633724ba675SRob Herring				snps,dis_u3_susphy_quirk;
634724ba675SRob Herring			};
635724ba675SRob Herring		};
636724ba675SRob Herring
637724ba675SRob Herring		hs_phy_0: phy@100f8800 {
638724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-hs";
639724ba675SRob Herring			reg = <0x100f8800 0x30>;
640724ba675SRob Herring			clocks = <&gcc USB30_0_UTMI_CLK>;
641724ba675SRob Herring			clock-names = "ref";
642724ba675SRob Herring			#phy-cells = <0>;
643724ba675SRob Herring
644724ba675SRob Herring			status = "disabled";
645724ba675SRob Herring		};
646724ba675SRob Herring
647724ba675SRob Herring		ss_phy_0: phy@100f8830 {
648724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-ss";
649724ba675SRob Herring			reg = <0x100f8830 0x30>;
650724ba675SRob Herring			clocks = <&gcc USB30_0_MASTER_CLK>;
651724ba675SRob Herring			clock-names = "ref";
652724ba675SRob Herring			#phy-cells = <0>;
653724ba675SRob Herring
654724ba675SRob Herring			status = "disabled";
655724ba675SRob Herring		};
656724ba675SRob Herring
657724ba675SRob Herring		usb3_1: usb@110f8800 {
658724ba675SRob Herring			compatible = "qcom,ipq8064-dwc3", "qcom,dwc3";
659724ba675SRob Herring			#address-cells = <1>;
660724ba675SRob Herring			#size-cells = <1>;
661724ba675SRob Herring			reg = <0x110f8800 0x8000>;
662724ba675SRob Herring			clocks = <&gcc USB30_1_MASTER_CLK>;
663724ba675SRob Herring			clock-names = "core";
664724ba675SRob Herring
665724ba675SRob Herring			ranges;
666724ba675SRob Herring
667724ba675SRob Herring			resets = <&gcc USB30_1_MASTER_RESET>;
668724ba675SRob Herring
669724ba675SRob Herring			status = "disabled";
670724ba675SRob Herring
671724ba675SRob Herring			dwc3_1: usb@11000000 {
672724ba675SRob Herring				compatible = "snps,dwc3";
673724ba675SRob Herring				reg = <0x11000000 0xcd00>;
674724ba675SRob Herring				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
675724ba675SRob Herring				phys = <&hs_phy_1>, <&ss_phy_1>;
676724ba675SRob Herring				phy-names = "usb2-phy", "usb3-phy";
677724ba675SRob Herring				dr_mode = "host";
678724ba675SRob Herring				snps,dis_u3_susphy_quirk;
679724ba675SRob Herring			};
680724ba675SRob Herring		};
681724ba675SRob Herring
682724ba675SRob Herring		hs_phy_1: phy@110f8800 {
683724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-hs";
684724ba675SRob Herring			reg = <0x110f8800 0x30>;
685724ba675SRob Herring			clocks = <&gcc USB30_1_UTMI_CLK>;
686724ba675SRob Herring			clock-names = "ref";
687724ba675SRob Herring			#phy-cells = <0>;
688724ba675SRob Herring
689724ba675SRob Herring			status = "disabled";
690724ba675SRob Herring		};
691724ba675SRob Herring
692724ba675SRob Herring		ss_phy_1: phy@110f8830 {
693724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-ss";
694724ba675SRob Herring			reg = <0x110f8830 0x30>;
695724ba675SRob Herring			clocks = <&gcc USB30_1_MASTER_CLK>;
696724ba675SRob Herring			clock-names = "ref";
697724ba675SRob Herring			#phy-cells = <0>;
698724ba675SRob Herring
699724ba675SRob Herring			status = "disabled";
700724ba675SRob Herring		};
701724ba675SRob Herring
702724ba675SRob Herring		sdcc3bam: dma-controller@12182000 {
703724ba675SRob Herring			compatible = "qcom,bam-v1.3.0";
704724ba675SRob Herring			reg = <0x12182000 0x8000>;
705724ba675SRob Herring			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
706724ba675SRob Herring			clocks = <&gcc SDC3_H_CLK>;
707724ba675SRob Herring			clock-names = "bam_clk";
708724ba675SRob Herring			#dma-cells = <1>;
709724ba675SRob Herring			qcom,ee = <0>;
710724ba675SRob Herring		};
711724ba675SRob Herring
712724ba675SRob Herring		sdcc1bam: dma-controller@12402000 {
713724ba675SRob Herring			compatible = "qcom,bam-v1.3.0";
714724ba675SRob Herring			reg = <0x12402000 0x8000>;
715724ba675SRob Herring			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
716724ba675SRob Herring			clocks = <&gcc SDC1_H_CLK>;
717724ba675SRob Herring			clock-names = "bam_clk";
718724ba675SRob Herring			#dma-cells = <1>;
719724ba675SRob Herring			qcom,ee = <0>;
720724ba675SRob Herring		};
721724ba675SRob Herring
722724ba675SRob Herring		amba: amba {
723724ba675SRob Herring			compatible = "simple-bus";
724724ba675SRob Herring			#address-cells = <1>;
725724ba675SRob Herring			#size-cells = <1>;
726724ba675SRob Herring			ranges;
727724ba675SRob Herring
728724ba675SRob Herring			sdcc3: mmc@12180000 {
729724ba675SRob Herring				compatible = "arm,pl18x", "arm,primecell";
730724ba675SRob Herring				arm,primecell-periphid = <0x00051180>;
731724ba675SRob Herring				status = "disabled";
732724ba675SRob Herring				reg = <0x12180000 0x2000>;
733724ba675SRob Herring				interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
734724ba675SRob Herring				clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
735724ba675SRob Herring				clock-names = "mclk", "apb_pclk";
736724ba675SRob Herring				bus-width = <8>;
737724ba675SRob Herring				cap-sd-highspeed;
738724ba675SRob Herring				cap-mmc-highspeed;
739724ba675SRob Herring				max-frequency = <192000000>;
740724ba675SRob Herring				sd-uhs-sdr104;
741724ba675SRob Herring				sd-uhs-ddr50;
742724ba675SRob Herring				vqmmc-supply = <&vsdcc_fixed>;
743724ba675SRob Herring				dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
744724ba675SRob Herring				dma-names = "tx", "rx";
745724ba675SRob Herring			};
746724ba675SRob Herring
747724ba675SRob Herring			sdcc1: mmc@12400000 {
748724ba675SRob Herring				status = "disabled";
749724ba675SRob Herring				compatible = "arm,pl18x", "arm,primecell";
750724ba675SRob Herring				arm,primecell-periphid = <0x00051180>;
751724ba675SRob Herring				reg = <0x12400000 0x2000>;
752724ba675SRob Herring				interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
753724ba675SRob Herring				clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
754724ba675SRob Herring				clock-names = "mclk", "apb_pclk";
755724ba675SRob Herring				bus-width = <8>;
756724ba675SRob Herring				max-frequency = <96000000>;
757724ba675SRob Herring				non-removable;
758724ba675SRob Herring				cap-sd-highspeed;
759724ba675SRob Herring				cap-mmc-highspeed;
760724ba675SRob Herring				vmmc-supply = <&vsdcc_fixed>;
761724ba675SRob Herring				dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
762724ba675SRob Herring				dma-names = "tx", "rx";
763724ba675SRob Herring			};
764724ba675SRob Herring		};
765724ba675SRob Herring
766724ba675SRob Herring		gsbi1: gsbi@12440000 {
767724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
768724ba675SRob Herring			reg = <0x12440000 0x100>;
769724ba675SRob Herring			cell-index = <1>;
770724ba675SRob Herring			clocks = <&gcc GSBI1_H_CLK>;
771724ba675SRob Herring			clock-names = "iface";
772724ba675SRob Herring			#address-cells = <1>;
773724ba675SRob Herring			#size-cells = <1>;
774724ba675SRob Herring			ranges;
775724ba675SRob Herring
776724ba675SRob Herring			syscon-tcsr = <&tcsr>;
777724ba675SRob Herring
778724ba675SRob Herring			status = "disabled";
779724ba675SRob Herring
780724ba675SRob Herring			gsbi1_serial: serial@12450000 {
781724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
782724ba675SRob Herring				reg = <0x12450000 0x100>,
783724ba675SRob Herring				      <0x12400000 0x03>;
784724ba675SRob Herring				interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
785724ba675SRob Herring				clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
786724ba675SRob Herring				clock-names = "core", "iface";
787724ba675SRob Herring
788724ba675SRob Herring				status = "disabled";
789724ba675SRob Herring			};
790724ba675SRob Herring
791724ba675SRob Herring			gsbi1_i2c: i2c@12460000 {
792724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
793724ba675SRob Herring				reg = <0x12460000 0x1000>;
794724ba675SRob Herring				interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
795724ba675SRob Herring				clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
796724ba675SRob Herring				clock-names = "core", "iface";
797724ba675SRob Herring				#address-cells = <1>;
798724ba675SRob Herring				#size-cells = <0>;
799724ba675SRob Herring
800724ba675SRob Herring				status = "disabled";
801724ba675SRob Herring			};
802724ba675SRob Herring		};
803724ba675SRob Herring
804724ba675SRob Herring		gsbi2: gsbi@12480000 {
805724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
806724ba675SRob Herring			cell-index = <2>;
807724ba675SRob Herring			reg = <0x12480000 0x100>;
808724ba675SRob Herring			clocks = <&gcc GSBI2_H_CLK>;
809724ba675SRob Herring			clock-names = "iface";
810724ba675SRob Herring			#address-cells = <1>;
811724ba675SRob Herring			#size-cells = <1>;
812724ba675SRob Herring			ranges;
813724ba675SRob Herring			status = "disabled";
814724ba675SRob Herring
815724ba675SRob Herring			syscon-tcsr = <&tcsr>;
816724ba675SRob Herring
817724ba675SRob Herring			gsbi2_serial: serial@12490000 {
818724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
819724ba675SRob Herring				reg = <0x12490000 0x1000>,
820724ba675SRob Herring				      <0x12480000 0x1000>;
821724ba675SRob Herring				interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
822724ba675SRob Herring				clocks = <&gcc GSBI2_UART_CLK>, <&gcc GSBI2_H_CLK>;
823724ba675SRob Herring				clock-names = "core", "iface";
824724ba675SRob Herring				status = "disabled";
825724ba675SRob Herring			};
826724ba675SRob Herring
827724ba675SRob Herring			gsbi2_i2c: i2c@124a0000 {
828724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
829724ba675SRob Herring				reg = <0x124a0000 0x1000>;
830724ba675SRob Herring				interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
831724ba675SRob Herring
832724ba675SRob Herring				clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
833724ba675SRob Herring				clock-names = "core", "iface";
834724ba675SRob Herring				status = "disabled";
835724ba675SRob Herring
836724ba675SRob Herring				#address-cells = <1>;
837724ba675SRob Herring				#size-cells = <0>;
838724ba675SRob Herring			};
839724ba675SRob Herring		};
840724ba675SRob Herring
841724ba675SRob Herring		gsbi4: gsbi@16300000 {
842724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
843724ba675SRob Herring			cell-index = <4>;
844724ba675SRob Herring			reg = <0x16300000 0x100>;
845724ba675SRob Herring			clocks = <&gcc GSBI4_H_CLK>;
846724ba675SRob Herring			clock-names = "iface";
847724ba675SRob Herring			#address-cells = <1>;
848724ba675SRob Herring			#size-cells = <1>;
849724ba675SRob Herring			ranges;
850724ba675SRob Herring			status = "disabled";
851724ba675SRob Herring
852724ba675SRob Herring			syscon-tcsr = <&tcsr>;
853724ba675SRob Herring
854724ba675SRob Herring			gsbi4_serial: serial@16340000 {
855724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
856724ba675SRob Herring				reg = <0x16340000 0x1000>,
857724ba675SRob Herring				      <0x16300000 0x1000>;
858724ba675SRob Herring				interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
859724ba675SRob Herring				clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
860724ba675SRob Herring				clock-names = "core", "iface";
861724ba675SRob Herring				status = "disabled";
862724ba675SRob Herring			};
863724ba675SRob Herring
864724ba675SRob Herring			i2c@16380000 {
865724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
866724ba675SRob Herring				reg = <0x16380000 0x1000>;
867724ba675SRob Herring				interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
868724ba675SRob Herring
869724ba675SRob Herring				clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>;
870724ba675SRob Herring				clock-names = "core", "iface";
871724ba675SRob Herring				status = "disabled";
872724ba675SRob Herring
873724ba675SRob Herring				#address-cells = <1>;
874724ba675SRob Herring				#size-cells = <0>;
875724ba675SRob Herring			};
876724ba675SRob Herring		};
877724ba675SRob Herring
878724ba675SRob Herring		gsbi6: gsbi@16500000 {
879724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
880724ba675SRob Herring			reg = <0x16500000 0x100>;
881724ba675SRob Herring			cell-index = <6>;
882724ba675SRob Herring			clocks = <&gcc GSBI6_H_CLK>;
883724ba675SRob Herring			clock-names = "iface";
884724ba675SRob Herring			#address-cells = <1>;
885724ba675SRob Herring			#size-cells = <1>;
886724ba675SRob Herring			ranges;
887724ba675SRob Herring
888724ba675SRob Herring			syscon-tcsr = <&tcsr>;
889724ba675SRob Herring
890724ba675SRob Herring			status = "disabled";
891724ba675SRob Herring
892724ba675SRob Herring			gsbi6_i2c: i2c@16580000 {
893724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
894724ba675SRob Herring				reg = <0x16580000 0x1000>;
895724ba675SRob Herring				interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
896724ba675SRob Herring
897724ba675SRob Herring				clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
898724ba675SRob Herring				clock-names = "core", "iface";
899724ba675SRob Herring
900724ba675SRob Herring				#address-cells = <1>;
901724ba675SRob Herring				#size-cells = <0>;
902724ba675SRob Herring
903724ba675SRob Herring				status = "disabled";
904724ba675SRob Herring			};
905724ba675SRob Herring
906724ba675SRob Herring			gsbi6_spi: spi@16580000 {
907724ba675SRob Herring				compatible = "qcom,spi-qup-v1.1.1";
908724ba675SRob Herring				reg = <0x16580000 0x1000>;
909724ba675SRob Herring				interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
910724ba675SRob Herring
911724ba675SRob Herring				clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
912724ba675SRob Herring				clock-names = "core", "iface";
913724ba675SRob Herring
914724ba675SRob Herring				#address-cells = <1>;
915724ba675SRob Herring				#size-cells = <0>;
916724ba675SRob Herring
917724ba675SRob Herring				status = "disabled";
918724ba675SRob Herring			};
919724ba675SRob Herring		};
920724ba675SRob Herring
921724ba675SRob Herring		gsbi7: gsbi@16600000 {
922724ba675SRob Herring			status = "disabled";
923724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
924724ba675SRob Herring			cell-index = <7>;
925724ba675SRob Herring			reg = <0x16600000 0x100>;
926724ba675SRob Herring			clocks = <&gcc GSBI7_H_CLK>;
927724ba675SRob Herring			clock-names = "iface";
928724ba675SRob Herring			#address-cells = <1>;
929724ba675SRob Herring			#size-cells = <1>;
930724ba675SRob Herring			ranges;
931724ba675SRob Herring			syscon-tcsr = <&tcsr>;
932724ba675SRob Herring
933724ba675SRob Herring			gsbi7_serial: serial@16640000 {
934724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
935724ba675SRob Herring				reg = <0x16640000 0x1000>,
936724ba675SRob Herring				      <0x16600000 0x1000>;
937724ba675SRob Herring				interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
938724ba675SRob Herring				clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
939724ba675SRob Herring				clock-names = "core", "iface";
940724ba675SRob Herring				status = "disabled";
941724ba675SRob Herring			};
942724ba675SRob Herring
943724ba675SRob Herring			gsbi7_i2c: i2c@16680000 {
944724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
945724ba675SRob Herring				reg = <0x16680000 0x1000>;
946724ba675SRob Herring				interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
947724ba675SRob Herring
948724ba675SRob Herring				clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
949724ba675SRob Herring				clock-names = "core", "iface";
950724ba675SRob Herring
951724ba675SRob Herring				#address-cells = <1>;
952724ba675SRob Herring				#size-cells = <0>;
953724ba675SRob Herring
954724ba675SRob Herring				status = "disabled";
955724ba675SRob Herring			};
956724ba675SRob Herring		};
957724ba675SRob Herring
958724ba675SRob Herring		adm_dma: dma-controller@18300000 {
959724ba675SRob Herring			compatible = "qcom,adm";
960724ba675SRob Herring			reg = <0x18300000 0x100000>;
961724ba675SRob Herring			interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
962724ba675SRob Herring			#dma-cells = <1>;
963724ba675SRob Herring
964724ba675SRob Herring			clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>;
965724ba675SRob Herring			clock-names = "core", "iface";
966724ba675SRob Herring
967724ba675SRob Herring			resets = <&gcc ADM0_RESET>,
968724ba675SRob Herring				 <&gcc ADM0_PBUS_RESET>,
969724ba675SRob Herring				 <&gcc ADM0_C0_RESET>,
970724ba675SRob Herring				 <&gcc ADM0_C1_RESET>,
971724ba675SRob Herring				 <&gcc ADM0_C2_RESET>;
972724ba675SRob Herring			reset-names = "clk", "pbus", "c0", "c1", "c2";
973724ba675SRob Herring			qcom,ee = <0>;
974724ba675SRob Herring
975724ba675SRob Herring			status = "disabled";
976724ba675SRob Herring		};
977724ba675SRob Herring
978724ba675SRob Herring		gsbi5: gsbi@1a200000 {
979724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
980724ba675SRob Herring			cell-index = <5>;
981724ba675SRob Herring			reg = <0x1a200000 0x100>;
982724ba675SRob Herring			clocks = <&gcc GSBI5_H_CLK>;
983724ba675SRob Herring			clock-names = "iface";
984724ba675SRob Herring			#address-cells = <1>;
985724ba675SRob Herring
986724ba675SRob Herring			#size-cells = <1>;
987724ba675SRob Herring			ranges;
988724ba675SRob Herring			status = "disabled";
989724ba675SRob Herring
990724ba675SRob Herring			syscon-tcsr = <&tcsr>;
991724ba675SRob Herring
992724ba675SRob Herring			gsbi5_serial: serial@1a240000 {
993724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
994724ba675SRob Herring				reg = <0x1a240000 0x1000>,
995724ba675SRob Herring				      <0x1a200000 0x1000>;
996724ba675SRob Herring				interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
997724ba675SRob Herring				clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
998724ba675SRob Herring				clock-names = "core", "iface";
999724ba675SRob Herring				status = "disabled";
1000724ba675SRob Herring			};
1001724ba675SRob Herring
1002724ba675SRob Herring			i2c@1a280000 {
1003724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
1004724ba675SRob Herring				reg = <0x1a280000 0x1000>;
1005724ba675SRob Herring				interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1006724ba675SRob Herring
1007724ba675SRob Herring				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
1008724ba675SRob Herring				clock-names = "core", "iface";
1009724ba675SRob Herring				status = "disabled";
1010724ba675SRob Herring
1011724ba675SRob Herring				#address-cells = <1>;
1012724ba675SRob Herring				#size-cells = <0>;
1013724ba675SRob Herring			};
1014724ba675SRob Herring
1015724ba675SRob Herring			spi@1a280000 {
1016724ba675SRob Herring				compatible = "qcom,spi-qup-v1.1.1";
1017724ba675SRob Herring				reg = <0x1a280000 0x1000>;
1018724ba675SRob Herring				interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1019724ba675SRob Herring
1020724ba675SRob Herring				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
1021724ba675SRob Herring				clock-names = "core", "iface";
1022724ba675SRob Herring				status = "disabled";
1023724ba675SRob Herring
1024724ba675SRob Herring				#address-cells = <1>;
1025724ba675SRob Herring				#size-cells = <0>;
1026724ba675SRob Herring			};
1027724ba675SRob Herring		};
1028724ba675SRob Herring
1029724ba675SRob Herring		tcsr: syscon@1a400000 {
1030724ba675SRob Herring			compatible = "qcom,tcsr-ipq8064", "syscon";
1031724ba675SRob Herring			reg = <0x1a400000 0x100>;
1032724ba675SRob Herring		};
1033724ba675SRob Herring
1034724ba675SRob Herring		rng@1a500000 {
1035724ba675SRob Herring			compatible = "qcom,prng";
1036724ba675SRob Herring			reg = <0x1a500000 0x200>;
1037724ba675SRob Herring			clocks = <&gcc PRNG_CLK>;
1038724ba675SRob Herring			clock-names = "core";
1039724ba675SRob Herring		};
1040724ba675SRob Herring
1041724ba675SRob Herring		nand: nand-controller@1ac00000 {
1042724ba675SRob Herring			compatible = "qcom,ipq806x-nand";
1043724ba675SRob Herring			reg = <0x1ac00000 0x800>;
1044724ba675SRob Herring
1045724ba675SRob Herring			pinctrl-0 = <&nand_pins>;
1046724ba675SRob Herring			pinctrl-names = "default";
1047724ba675SRob Herring
1048724ba675SRob Herring			clocks = <&gcc EBI2_CLK>,
1049724ba675SRob Herring				 <&gcc EBI2_AON_CLK>;
1050724ba675SRob Herring			clock-names = "core", "aon";
1051724ba675SRob Herring
1052724ba675SRob Herring			dmas = <&adm_dma 3>;
1053724ba675SRob Herring			dma-names = "rxtx";
1054724ba675SRob Herring			qcom,cmd-crci = <15>;
1055724ba675SRob Herring			qcom,data-crci = <3>;
1056724ba675SRob Herring
1057724ba675SRob Herring			#address-cells = <1>;
1058724ba675SRob Herring			#size-cells = <0>;
1059724ba675SRob Herring
1060724ba675SRob Herring			status = "disabled";
1061724ba675SRob Herring		};
1062724ba675SRob Herring
1063724ba675SRob Herring		sata_phy: sata-phy@1b400000 {
1064724ba675SRob Herring			compatible = "qcom,ipq806x-sata-phy";
1065724ba675SRob Herring			reg = <0x1b400000 0x200>;
1066724ba675SRob Herring
1067724ba675SRob Herring			clocks = <&gcc SATA_PHY_CFG_CLK>;
1068724ba675SRob Herring			clock-names = "cfg";
1069724ba675SRob Herring
1070724ba675SRob Herring			#phy-cells = <0>;
1071724ba675SRob Herring			status = "disabled";
1072724ba675SRob Herring		};
1073724ba675SRob Herring
107407299ba2SManivannan Sadhasivam		pcie0: pcie@1b500000 {
1075724ba675SRob Herring			compatible = "qcom,pcie-ipq8064";
1076724ba675SRob Herring			reg = <0x1b500000 0x1000
1077724ba675SRob Herring			       0x1b502000 0x80
1078724ba675SRob Herring			       0x1b600000 0x100
1079724ba675SRob Herring			       0x0ff00000 0x100000>;
1080724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
1081724ba675SRob Herring			device_type = "pci";
1082724ba675SRob Herring			linux,pci-domain = <0>;
1083724ba675SRob Herring			bus-range = <0x00 0xff>;
1084724ba675SRob Herring			num-lanes = <1>;
1085724ba675SRob Herring			#address-cells = <3>;
1086724ba675SRob Herring			#size-cells = <2>;
1087724ba675SRob Herring
1088724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00010000   /* I/O */
1089724ba675SRob Herring				  0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* MEM */
1090724ba675SRob Herring
1091724ba675SRob Herring			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1092724ba675SRob Herring			interrupt-names = "msi";
1093724ba675SRob Herring			#interrupt-cells = <1>;
1094724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
1095724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1096724ba675SRob Herring					<0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1097724ba675SRob Herring					<0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1098724ba675SRob Herring					<0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1099724ba675SRob Herring
1100724ba675SRob Herring			clocks = <&gcc PCIE_A_CLK>,
1101724ba675SRob Herring				 <&gcc PCIE_H_CLK>,
1102724ba675SRob Herring				 <&gcc PCIE_PHY_CLK>,
1103724ba675SRob Herring				 <&gcc PCIE_AUX_CLK>,
1104724ba675SRob Herring				 <&gcc PCIE_ALT_REF_CLK>;
1105724ba675SRob Herring			clock-names = "core", "iface", "phy", "aux", "ref";
1106724ba675SRob Herring
1107724ba675SRob Herring			assigned-clocks = <&gcc PCIE_ALT_REF_CLK>;
1108724ba675SRob Herring			assigned-clock-rates = <100000000>;
1109724ba675SRob Herring
1110724ba675SRob Herring			resets = <&gcc PCIE_ACLK_RESET>,
1111724ba675SRob Herring				 <&gcc PCIE_HCLK_RESET>,
1112724ba675SRob Herring				 <&gcc PCIE_POR_RESET>,
1113724ba675SRob Herring				 <&gcc PCIE_PCI_RESET>,
1114724ba675SRob Herring				 <&gcc PCIE_PHY_RESET>,
1115724ba675SRob Herring				 <&gcc PCIE_EXT_RESET>;
1116724ba675SRob Herring			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
1117724ba675SRob Herring
1118724ba675SRob Herring			pinctrl-0 = <&pcie0_pins>;
1119724ba675SRob Herring			pinctrl-names = "default";
1120724ba675SRob Herring
1121724ba675SRob Herring			status = "disabled";
1122724ba675SRob Herring			perst-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
11230c4d19b1SManivannan Sadhasivam
11240c4d19b1SManivannan Sadhasivam			pcie@0 {
11250c4d19b1SManivannan Sadhasivam				device_type = "pci";
11260c4d19b1SManivannan Sadhasivam				reg = <0x0 0x0 0x0 0x0 0x0>;
11270c4d19b1SManivannan Sadhasivam				bus-range = <0x01 0xff>;
11280c4d19b1SManivannan Sadhasivam
11290c4d19b1SManivannan Sadhasivam				#address-cells = <3>;
11300c4d19b1SManivannan Sadhasivam				#size-cells = <2>;
11310c4d19b1SManivannan Sadhasivam				ranges;
11320c4d19b1SManivannan Sadhasivam			};
1133724ba675SRob Herring		};
1134724ba675SRob Herring
113507299ba2SManivannan Sadhasivam		pcie1: pcie@1b700000 {
1136724ba675SRob Herring			compatible = "qcom,pcie-ipq8064";
1137724ba675SRob Herring			reg = <0x1b700000 0x1000
1138724ba675SRob Herring			       0x1b702000 0x80
1139724ba675SRob Herring			       0x1b800000 0x100
1140724ba675SRob Herring			       0x31f00000 0x100000>;
1141724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
1142724ba675SRob Herring			device_type = "pci";
1143724ba675SRob Herring			linux,pci-domain = <1>;
1144724ba675SRob Herring			bus-range = <0x00 0xff>;
1145724ba675SRob Herring			num-lanes = <1>;
1146724ba675SRob Herring			#address-cells = <3>;
1147724ba675SRob Herring			#size-cells = <2>;
1148724ba675SRob Herring
1149724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x31e00000 0x0 0x00010000   /* I/O */
1150724ba675SRob Herring				  0x82000000 0x0 0x2e000000 0x2e000000 0x0 0x03e00000>; /* MEM */
1151724ba675SRob Herring
1152724ba675SRob Herring			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
1153724ba675SRob Herring			interrupt-names = "msi";
1154724ba675SRob Herring			#interrupt-cells = <1>;
1155724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
1156724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 58 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1157724ba675SRob Herring					<0 0 0 2 &intc 0 59 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1158724ba675SRob Herring					<0 0 0 3 &intc 0 60 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1159724ba675SRob Herring					<0 0 0 4 &intc 0 61 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1160724ba675SRob Herring
1161724ba675SRob Herring			clocks = <&gcc PCIE_1_A_CLK>,
1162724ba675SRob Herring				 <&gcc PCIE_1_H_CLK>,
1163724ba675SRob Herring				 <&gcc PCIE_1_PHY_CLK>,
1164724ba675SRob Herring				 <&gcc PCIE_1_AUX_CLK>,
1165724ba675SRob Herring				 <&gcc PCIE_1_ALT_REF_CLK>;
1166724ba675SRob Herring			clock-names = "core", "iface", "phy", "aux", "ref";
1167724ba675SRob Herring
1168724ba675SRob Herring			assigned-clocks = <&gcc PCIE_1_ALT_REF_CLK>;
1169724ba675SRob Herring			assigned-clock-rates = <100000000>;
1170724ba675SRob Herring
1171724ba675SRob Herring			resets = <&gcc PCIE_1_ACLK_RESET>,
1172724ba675SRob Herring				 <&gcc PCIE_1_HCLK_RESET>,
1173724ba675SRob Herring				 <&gcc PCIE_1_POR_RESET>,
1174724ba675SRob Herring				 <&gcc PCIE_1_PCI_RESET>,
1175724ba675SRob Herring				 <&gcc PCIE_1_PHY_RESET>,
1176724ba675SRob Herring				 <&gcc PCIE_1_EXT_RESET>;
1177724ba675SRob Herring			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
1178724ba675SRob Herring
1179724ba675SRob Herring			pinctrl-0 = <&pcie1_pins>;
1180724ba675SRob Herring			pinctrl-names = "default";
1181724ba675SRob Herring
1182724ba675SRob Herring			status = "disabled";
1183724ba675SRob Herring			perst-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
11840c4d19b1SManivannan Sadhasivam
11850c4d19b1SManivannan Sadhasivam			pcie@0 {
11860c4d19b1SManivannan Sadhasivam				device_type = "pci";
11870c4d19b1SManivannan Sadhasivam				reg = <0x0 0x0 0x0 0x0 0x0>;
11880c4d19b1SManivannan Sadhasivam				bus-range = <0x01 0xff>;
11890c4d19b1SManivannan Sadhasivam
11900c4d19b1SManivannan Sadhasivam				#address-cells = <3>;
11910c4d19b1SManivannan Sadhasivam				#size-cells = <2>;
11920c4d19b1SManivannan Sadhasivam				ranges;
11930c4d19b1SManivannan Sadhasivam			};
1194724ba675SRob Herring		};
1195724ba675SRob Herring
119607299ba2SManivannan Sadhasivam		pcie2: pcie@1b900000 {
1197724ba675SRob Herring			compatible = "qcom,pcie-ipq8064";
1198724ba675SRob Herring			reg = <0x1b900000 0x1000
1199724ba675SRob Herring			       0x1b902000 0x80
1200724ba675SRob Herring			       0x1ba00000 0x100
1201724ba675SRob Herring			       0x35f00000 0x100000>;
1202724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
1203724ba675SRob Herring			device_type = "pci";
1204724ba675SRob Herring			linux,pci-domain = <2>;
1205724ba675SRob Herring			bus-range = <0x00 0xff>;
1206724ba675SRob Herring			num-lanes = <1>;
1207724ba675SRob Herring			#address-cells = <3>;
1208724ba675SRob Herring			#size-cells = <2>;
1209724ba675SRob Herring
1210724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x35e00000 0x0 0x00010000   /* I/O */
1211724ba675SRob Herring				  0x82000000 0x0 0x32000000 0x32000000 0x0 0x03e00000>; /* MEM */
1212724ba675SRob Herring
1213724ba675SRob Herring			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
1214724ba675SRob Herring			interrupt-names = "msi";
1215724ba675SRob Herring			#interrupt-cells = <1>;
1216724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
1217724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 72 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1218724ba675SRob Herring					<0 0 0 2 &intc 0 73 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1219724ba675SRob Herring					<0 0 0 3 &intc 0 74 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1220724ba675SRob Herring					<0 0 0 4 &intc 0 75 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1221724ba675SRob Herring
1222724ba675SRob Herring			clocks = <&gcc PCIE_2_A_CLK>,
1223724ba675SRob Herring				 <&gcc PCIE_2_H_CLK>,
1224724ba675SRob Herring				 <&gcc PCIE_2_PHY_CLK>,
1225724ba675SRob Herring				 <&gcc PCIE_2_AUX_CLK>,
1226724ba675SRob Herring				 <&gcc PCIE_2_ALT_REF_CLK>;
1227724ba675SRob Herring			clock-names = "core", "iface", "phy", "aux", "ref";
1228724ba675SRob Herring
1229724ba675SRob Herring			assigned-clocks = <&gcc PCIE_2_ALT_REF_CLK>;
1230724ba675SRob Herring			assigned-clock-rates = <100000000>;
1231724ba675SRob Herring
1232724ba675SRob Herring			resets = <&gcc PCIE_2_ACLK_RESET>,
1233724ba675SRob Herring				 <&gcc PCIE_2_HCLK_RESET>,
1234724ba675SRob Herring				 <&gcc PCIE_2_POR_RESET>,
1235724ba675SRob Herring				 <&gcc PCIE_2_PCI_RESET>,
1236724ba675SRob Herring				 <&gcc PCIE_2_PHY_RESET>,
1237724ba675SRob Herring				 <&gcc PCIE_2_EXT_RESET>;
1238724ba675SRob Herring			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
1239724ba675SRob Herring
1240724ba675SRob Herring			pinctrl-0 = <&pcie2_pins>;
1241724ba675SRob Herring			pinctrl-names = "default";
1242724ba675SRob Herring
1243724ba675SRob Herring			status = "disabled";
1244724ba675SRob Herring			perst-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>;
12450c4d19b1SManivannan Sadhasivam
12460c4d19b1SManivannan Sadhasivam			pcie@0 {
12470c4d19b1SManivannan Sadhasivam				device_type = "pci";
12480c4d19b1SManivannan Sadhasivam				reg = <0x0 0x0 0x0 0x0 0x0>;
12490c4d19b1SManivannan Sadhasivam				bus-range = <0x01 0xff>;
12500c4d19b1SManivannan Sadhasivam
12510c4d19b1SManivannan Sadhasivam				#address-cells = <3>;
12520c4d19b1SManivannan Sadhasivam				#size-cells = <2>;
12530c4d19b1SManivannan Sadhasivam				ranges;
12540c4d19b1SManivannan Sadhasivam			};
1255724ba675SRob Herring		};
1256724ba675SRob Herring
1257724ba675SRob Herring		qsgmii_csr: syscon@1bb00000 {
1258724ba675SRob Herring			compatible = "syscon";
1259724ba675SRob Herring			reg = <0x1bb00000 0x000001FF>;
1260724ba675SRob Herring		};
1261724ba675SRob Herring
1262724ba675SRob Herring		lcc: clock-controller@28000000 {
1263724ba675SRob Herring			compatible = "qcom,lcc-ipq8064";
1264724ba675SRob Herring			reg = <0x28000000 0x1000>;
1265724ba675SRob Herring			#clock-cells = <1>;
1266724ba675SRob Herring			#reset-cells = <1>;
1267724ba675SRob Herring		};
1268724ba675SRob Herring
1269724ba675SRob Herring		lpass@28100000 {
1270724ba675SRob Herring			compatible = "qcom,lpass-cpu";
1271724ba675SRob Herring			status = "disabled";
1272724ba675SRob Herring			clocks = <&lcc AHBIX_CLK>,
1273724ba675SRob Herring					<&lcc MI2S_OSR_CLK>,
1274724ba675SRob Herring					<&lcc MI2S_BIT_CLK>;
1275724ba675SRob Herring			clock-names = "ahbix-clk",
1276724ba675SRob Herring					"mi2s-osr-clk",
1277724ba675SRob Herring					"mi2s-bit-clk";
1278724ba675SRob Herring			interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
1279724ba675SRob Herring			interrupt-names = "lpass-irq-lpaif";
1280724ba675SRob Herring			reg = <0x28100000 0x10000>;
1281724ba675SRob Herring			reg-names = "lpass-lpaif";
1282724ba675SRob Herring		};
1283724ba675SRob Herring
1284724ba675SRob Herring		sata: sata@29000000 {
1285724ba675SRob Herring			compatible = "qcom,ipq806x-ahci", "generic-ahci";
1286724ba675SRob Herring			reg = <0x29000000 0x180>;
1287724ba675SRob Herring
1288724ba675SRob Herring			interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
1289724ba675SRob Herring
1290724ba675SRob Herring			clocks = <&gcc SFAB_SATA_S_H_CLK>,
1291724ba675SRob Herring				 <&gcc SATA_H_CLK>,
1292724ba675SRob Herring				 <&gcc SATA_A_CLK>,
1293724ba675SRob Herring				 <&gcc SATA_RXOOB_CLK>,
1294724ba675SRob Herring				 <&gcc SATA_PMALIVE_CLK>;
1295724ba675SRob Herring			clock-names = "slave_face", "iface", "core",
1296724ba675SRob Herring					"rxoob", "pmalive";
1297724ba675SRob Herring
1298724ba675SRob Herring			assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>;
1299724ba675SRob Herring			assigned-clock-rates = <100000000>, <100000000>;
1300724ba675SRob Herring
1301724ba675SRob Herring			phys = <&sata_phy>;
1302724ba675SRob Herring			phy-names = "sata-phy";
1303724ba675SRob Herring			status = "disabled";
1304724ba675SRob Herring		};
1305724ba675SRob Herring
1306724ba675SRob Herring		gmac0: ethernet@37000000 {
1307724ba675SRob Herring			device_type = "network";
1308724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1309724ba675SRob Herring			reg = <0x37000000 0x200000>;
1310724ba675SRob Herring			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
1311724ba675SRob Herring			interrupt-names = "macirq";
1312724ba675SRob Herring
1313724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1314724ba675SRob Herring			snps,pbl = <32>;
1315724ba675SRob Herring			snps,aal;
1316724ba675SRob Herring
1317724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1318724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1319724ba675SRob Herring
1320724ba675SRob Herring			clocks = <&gcc GMAC_CORE1_CLK>;
1321724ba675SRob Herring			clock-names = "stmmaceth";
1322724ba675SRob Herring
1323724ba675SRob Herring			resets = <&gcc GMAC_CORE1_RESET>,
1324724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1325724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1326724ba675SRob Herring
1327724ba675SRob Herring			status = "disabled";
1328724ba675SRob Herring		};
1329724ba675SRob Herring
1330724ba675SRob Herring		gmac1: ethernet@37200000 {
1331724ba675SRob Herring			device_type = "network";
1332724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1333724ba675SRob Herring			reg = <0x37200000 0x200000>;
1334724ba675SRob Herring			interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
1335724ba675SRob Herring			interrupt-names = "macirq";
1336724ba675SRob Herring
1337724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1338724ba675SRob Herring			snps,pbl = <32>;
1339724ba675SRob Herring			snps,aal;
1340724ba675SRob Herring
1341724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1342724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1343724ba675SRob Herring
1344724ba675SRob Herring			clocks = <&gcc GMAC_CORE2_CLK>;
1345724ba675SRob Herring			clock-names = "stmmaceth";
1346724ba675SRob Herring
1347724ba675SRob Herring			resets = <&gcc GMAC_CORE2_RESET>,
1348724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1349724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1350724ba675SRob Herring
1351724ba675SRob Herring			status = "disabled";
1352724ba675SRob Herring		};
1353724ba675SRob Herring
1354724ba675SRob Herring		gmac2: ethernet@37400000 {
1355724ba675SRob Herring			device_type = "network";
1356724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1357724ba675SRob Herring			reg = <0x37400000 0x200000>;
1358724ba675SRob Herring			interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
1359724ba675SRob Herring			interrupt-names = "macirq";
1360724ba675SRob Herring
1361724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1362724ba675SRob Herring			snps,pbl = <32>;
1363724ba675SRob Herring			snps,aal;
1364724ba675SRob Herring
1365724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1366724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1367724ba675SRob Herring
1368724ba675SRob Herring			clocks = <&gcc GMAC_CORE3_CLK>;
1369724ba675SRob Herring			clock-names = "stmmaceth";
1370724ba675SRob Herring
1371724ba675SRob Herring			resets = <&gcc GMAC_CORE3_RESET>,
1372724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1373724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1374724ba675SRob Herring
1375724ba675SRob Herring			status = "disabled";
1376724ba675SRob Herring		};
1377724ba675SRob Herring
1378724ba675SRob Herring		gmac3: ethernet@37600000 {
1379724ba675SRob Herring			device_type = "network";
1380724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1381724ba675SRob Herring			reg = <0x37600000 0x200000>;
1382724ba675SRob Herring			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1383724ba675SRob Herring			interrupt-names = "macirq";
1384724ba675SRob Herring
1385724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1386724ba675SRob Herring			snps,pbl = <32>;
1387724ba675SRob Herring			snps,aal;
1388724ba675SRob Herring
1389724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1390724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1391724ba675SRob Herring
1392724ba675SRob Herring			clocks = <&gcc GMAC_CORE4_CLK>;
1393724ba675SRob Herring			clock-names = "stmmaceth";
1394724ba675SRob Herring
1395724ba675SRob Herring			resets = <&gcc GMAC_CORE4_RESET>,
1396724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1397724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1398724ba675SRob Herring
1399724ba675SRob Herring			status = "disabled";
1400724ba675SRob Herring		};
1401724ba675SRob Herring	};
1402724ba675SRob Herring};
1403