xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-ipq8064.dtsi (revision 3fd6c59042dbba50391e30862beac979491145fe)
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
37581fc54e6SKrzysztof 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
402de52c020SRayyan Ansari			pcie0_pins: pcie0-state {
403724ba675SRob Herring				pins = "gpio3";
404724ba675SRob Herring				function = "pcie1_rst";
405724ba675SRob Herring				drive-strength = <12>;
406724ba675SRob Herring				bias-disable;
407724ba675SRob Herring			};
408724ba675SRob Herring
409de52c020SRayyan Ansari			pcie1_pins: pcie1-state {
410724ba675SRob Herring				pins = "gpio48";
411724ba675SRob Herring				function = "pcie2_rst";
412724ba675SRob Herring				drive-strength = <12>;
413724ba675SRob Herring				bias-disable;
414724ba675SRob Herring			};
415724ba675SRob Herring
416de52c020SRayyan Ansari			pcie2_pins: pcie2-state {
417724ba675SRob Herring				pins = "gpio63";
418724ba675SRob Herring				function = "pcie3_rst";
419724ba675SRob Herring				drive-strength = <12>;
420724ba675SRob Herring				bias-disable;
421724ba675SRob Herring			};
422724ba675SRob Herring
423de52c020SRayyan Ansari			i2c4_pins: i2c4-state {
424724ba675SRob Herring				pins = "gpio12", "gpio13";
425724ba675SRob Herring				function = "gsbi4";
426724ba675SRob Herring				drive-strength = <12>;
427724ba675SRob Herring				bias-disable;
428724ba675SRob Herring			};
429724ba675SRob Herring
430de52c020SRayyan Ansari			spi_pins: spi-state {
431724ba675SRob Herring				pins = "gpio18", "gpio19", "gpio21";
432724ba675SRob Herring				function = "gsbi5";
433724ba675SRob Herring				drive-strength = <10>;
434de52c020SRayyan Ansari				bias-disable;
435724ba675SRob Herring			};
436724ba675SRob Herring
437de52c020SRayyan Ansari			leds_pins: leds-state {
438724ba675SRob Herring				pins = "gpio7", "gpio8", "gpio9",
439724ba675SRob Herring					"gpio26", "gpio53";
440724ba675SRob Herring				function = "gpio";
441724ba675SRob Herring				drive-strength = <2>;
442724ba675SRob Herring				bias-pull-down;
443724ba675SRob Herring				output-low;
444724ba675SRob Herring			};
445724ba675SRob Herring
446de52c020SRayyan Ansari			buttons_pins: buttons-state {
447724ba675SRob Herring				pins = "gpio54";
448724ba675SRob Herring				drive-strength = <2>;
449724ba675SRob Herring				bias-pull-up;
450724ba675SRob Herring			};
451724ba675SRob Herring
452de52c020SRayyan Ansari			nand_pins: nand-state {
453de52c020SRayyan Ansari				nand-pins {
454724ba675SRob Herring					pins = "gpio34", "gpio35", "gpio36",
455724ba675SRob Herring					       "gpio37", "gpio38", "gpio39",
456724ba675SRob Herring					       "gpio40", "gpio41", "gpio42",
457724ba675SRob Herring					       "gpio43", "gpio44", "gpio45",
458724ba675SRob Herring					       "gpio46", "gpio47";
459724ba675SRob Herring					function = "nand";
460724ba675SRob Herring					drive-strength = <10>;
461724ba675SRob Herring					bias-disable;
462724ba675SRob Herring				};
463724ba675SRob Herring
464de52c020SRayyan Ansari				nand-pullup-pins {
465724ba675SRob Herring					pins = "gpio39";
466724ba675SRob Herring					function = "nand";
467724ba675SRob Herring					drive-strength = <10>;
468724ba675SRob Herring					bias-pull-up;
469724ba675SRob Herring				};
470724ba675SRob Herring
471de52c020SRayyan Ansari				nand-hold-pins {
472724ba675SRob Herring					pins = "gpio40", "gpio41", "gpio42",
473724ba675SRob Herring					       "gpio43", "gpio44", "gpio45",
474724ba675SRob Herring					       "gpio46", "gpio47";
475724ba675SRob Herring					function = "nand";
476724ba675SRob Herring					drive-strength = <10>;
477724ba675SRob Herring					bias-bus-hold;
478724ba675SRob Herring				};
479724ba675SRob Herring			};
480724ba675SRob Herring
481de52c020SRayyan Ansari			mdio0_pins: mdio0-state {
482724ba675SRob Herring				pins = "gpio0", "gpio1";
483724ba675SRob Herring				function = "mdio";
484724ba675SRob Herring				drive-strength = <8>;
485724ba675SRob Herring				bias-disable;
486724ba675SRob Herring			};
487724ba675SRob Herring
488de52c020SRayyan Ansari			rgmii2_pins: rgmii2-state {
489724ba675SRob Herring				pins = "gpio27", "gpio28", "gpio29",
490724ba675SRob Herring					"gpio30", "gpio31", "gpio32",
491724ba675SRob Herring					"gpio51", "gpio52", "gpio59",
492724ba675SRob Herring					"gpio60", "gpio61", "gpio62";
493724ba675SRob Herring				function = "rgmii2";
494724ba675SRob Herring				drive-strength = <8>;
495724ba675SRob Herring				bias-disable;
496724ba675SRob Herring			};
497724ba675SRob Herring		};
498724ba675SRob Herring
499724ba675SRob Herring		gcc: clock-controller@900000 {
500724ba675SRob Herring			compatible = "qcom,gcc-ipq8064", "syscon";
501724ba675SRob Herring			clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>;
502724ba675SRob Herring			clock-names = "pxo", "cxo", "pll4";
503724ba675SRob Herring			reg = <0x00900000 0x4000>;
504724ba675SRob Herring			#clock-cells = <1>;
505724ba675SRob Herring			#reset-cells = <1>;
506724ba675SRob Herring
507724ba675SRob Herring			tsens: thermal-sensor {
508724ba675SRob Herring				compatible = "qcom,ipq8064-tsens";
509724ba675SRob Herring
510724ba675SRob Herring				nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
511724ba675SRob Herring				nvmem-cell-names = "calib", "calib_backup";
512724ba675SRob Herring				interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
513724ba675SRob Herring				interrupt-names = "uplow";
514724ba675SRob Herring
515724ba675SRob Herring				#qcom,sensors = <11>;
516724ba675SRob Herring				#thermal-sensor-cells = <1>;
517724ba675SRob Herring			};
518724ba675SRob Herring		};
519724ba675SRob Herring
520724ba675SRob Herring		sfpb_mutex: hwlock@1200600 {
521724ba675SRob Herring			compatible = "qcom,sfpb-mutex";
522724ba675SRob Herring			reg = <0x01200600 0x100>;
523724ba675SRob Herring
524724ba675SRob Herring			#hwlock-cells = <1>;
525724ba675SRob Herring		};
526724ba675SRob Herring
527724ba675SRob Herring		intc: interrupt-controller@2000000 {
528724ba675SRob Herring			compatible = "qcom,msm-qgic2";
529724ba675SRob Herring			interrupt-controller;
530724ba675SRob Herring			#interrupt-cells = <3>;
531724ba675SRob Herring			reg = <0x02000000 0x1000>,
532724ba675SRob Herring			      <0x02002000 0x1000>;
533724ba675SRob Herring		};
534724ba675SRob Herring
535724ba675SRob Herring		timer@200a000 {
536724ba675SRob Herring			compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer",
537724ba675SRob Herring				     "qcom,msm-timer";
538724ba675SRob Herring			interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) |
539724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
540724ba675SRob Herring				     <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) |
541724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
542724ba675SRob Herring				     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) |
543724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
544724ba675SRob Herring				     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(2) |
545724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>,
546724ba675SRob Herring				     <GIC_PPI 5 (GIC_CPU_MASK_SIMPLE(2) |
547724ba675SRob Herring						 IRQ_TYPE_EDGE_RISING)>;
548724ba675SRob Herring			reg = <0x0200a000 0x100>;
549724ba675SRob Herring			clock-frequency = <25000000>;
550724ba675SRob Herring			clocks = <&sleep_clk>;
551724ba675SRob Herring			clock-names = "sleep";
552724ba675SRob Herring			cpu-offset = <0x80000>;
553724ba675SRob Herring		};
554724ba675SRob Herring
555724ba675SRob Herring		l2cc: clock-controller@2011000 {
556724ba675SRob Herring			compatible = "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc", "syscon";
557724ba675SRob Herring			reg = <0x02011000 0x1000>;
558724ba675SRob Herring			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
559724ba675SRob Herring			clock-names = "pll8_vote", "pxo";
560724ba675SRob Herring			#clock-cells = <0>;
561724ba675SRob Herring		};
562724ba675SRob Herring
563724ba675SRob Herring		acc0: clock-controller@2088000 {
564724ba675SRob Herring			compatible = "qcom,kpss-acc-v1";
565724ba675SRob Herring			reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
566724ba675SRob Herring			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
567724ba675SRob Herring			clock-names = "pll8_vote", "pxo";
568724ba675SRob Herring			clock-output-names = "acpu0_aux";
569724ba675SRob Herring			#clock-cells = <0>;
570724ba675SRob Herring		};
571724ba675SRob Herring
57204e354e0SDmitry Baryshkov		saw0: power-manager@2089000 {
573e6e2986aSDmitry Baryshkov			compatible = "qcom,ipq8064-saw2-cpu", "qcom,saw2";
574724ba675SRob Herring			reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
575724ba675SRob Herring		};
576724ba675SRob Herring
577724ba675SRob Herring		acc1: clock-controller@2098000 {
578724ba675SRob Herring			compatible = "qcom,kpss-acc-v1";
579724ba675SRob Herring			reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
580724ba675SRob Herring			clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
581724ba675SRob Herring			clock-names = "pll8_vote", "pxo";
582724ba675SRob Herring			clock-output-names = "acpu1_aux";
583724ba675SRob Herring			#clock-cells = <0>;
584724ba675SRob Herring		};
585724ba675SRob Herring
58604e354e0SDmitry Baryshkov		saw1: power-manager@2099000 {
587e6e2986aSDmitry Baryshkov			compatible = "qcom,ipq8064-saw2-cpu", "qcom,saw2";
588724ba675SRob Herring			reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
589724ba675SRob Herring		};
590724ba675SRob Herring
591724ba675SRob Herring		nss_common: syscon@3000000 {
592724ba675SRob Herring			compatible = "syscon";
593724ba675SRob Herring			reg = <0x03000000 0x0000FFFF>;
594724ba675SRob Herring		};
595724ba675SRob Herring
596724ba675SRob Herring		usb3_0: usb@100f8800 {
597724ba675SRob Herring			compatible = "qcom,ipq8064-dwc3", "qcom,dwc3";
598724ba675SRob Herring			#address-cells = <1>;
599724ba675SRob Herring			#size-cells = <1>;
600724ba675SRob Herring			reg = <0x100f8800 0x8000>;
601724ba675SRob Herring			clocks = <&gcc USB30_0_MASTER_CLK>;
602724ba675SRob Herring			clock-names = "core";
603724ba675SRob Herring
604724ba675SRob Herring			ranges;
605724ba675SRob Herring
606724ba675SRob Herring			resets = <&gcc USB30_0_MASTER_RESET>;
607724ba675SRob Herring
608724ba675SRob Herring			status = "disabled";
609724ba675SRob Herring
610724ba675SRob Herring			dwc3_0: usb@10000000 {
611724ba675SRob Herring				compatible = "snps,dwc3";
612724ba675SRob Herring				reg = <0x10000000 0xcd00>;
613724ba675SRob Herring				interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
614724ba675SRob Herring				phys = <&hs_phy_0>, <&ss_phy_0>;
615724ba675SRob Herring				phy-names = "usb2-phy", "usb3-phy";
616724ba675SRob Herring				dr_mode = "host";
617724ba675SRob Herring				snps,dis_u3_susphy_quirk;
618724ba675SRob Herring			};
619724ba675SRob Herring		};
620724ba675SRob Herring
621724ba675SRob Herring		hs_phy_0: phy@100f8800 {
622724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-hs";
623724ba675SRob Herring			reg = <0x100f8800 0x30>;
624724ba675SRob Herring			clocks = <&gcc USB30_0_UTMI_CLK>;
625724ba675SRob Herring			clock-names = "ref";
626724ba675SRob Herring			#phy-cells = <0>;
627724ba675SRob Herring
628724ba675SRob Herring			status = "disabled";
629724ba675SRob Herring		};
630724ba675SRob Herring
631724ba675SRob Herring		ss_phy_0: phy@100f8830 {
632724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-ss";
633724ba675SRob Herring			reg = <0x100f8830 0x30>;
634724ba675SRob Herring			clocks = <&gcc USB30_0_MASTER_CLK>;
635724ba675SRob Herring			clock-names = "ref";
636724ba675SRob Herring			#phy-cells = <0>;
637724ba675SRob Herring
638724ba675SRob Herring			status = "disabled";
639724ba675SRob Herring		};
640724ba675SRob Herring
641724ba675SRob Herring		usb3_1: usb@110f8800 {
642724ba675SRob Herring			compatible = "qcom,ipq8064-dwc3", "qcom,dwc3";
643724ba675SRob Herring			#address-cells = <1>;
644724ba675SRob Herring			#size-cells = <1>;
645724ba675SRob Herring			reg = <0x110f8800 0x8000>;
646724ba675SRob Herring			clocks = <&gcc USB30_1_MASTER_CLK>;
647724ba675SRob Herring			clock-names = "core";
648724ba675SRob Herring
649724ba675SRob Herring			ranges;
650724ba675SRob Herring
651724ba675SRob Herring			resets = <&gcc USB30_1_MASTER_RESET>;
652724ba675SRob Herring
653724ba675SRob Herring			status = "disabled";
654724ba675SRob Herring
655724ba675SRob Herring			dwc3_1: usb@11000000 {
656724ba675SRob Herring				compatible = "snps,dwc3";
657724ba675SRob Herring				reg = <0x11000000 0xcd00>;
658724ba675SRob Herring				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
659724ba675SRob Herring				phys = <&hs_phy_1>, <&ss_phy_1>;
660724ba675SRob Herring				phy-names = "usb2-phy", "usb3-phy";
661724ba675SRob Herring				dr_mode = "host";
662724ba675SRob Herring				snps,dis_u3_susphy_quirk;
663724ba675SRob Herring			};
664724ba675SRob Herring		};
665724ba675SRob Herring
666724ba675SRob Herring		hs_phy_1: phy@110f8800 {
667724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-hs";
668724ba675SRob Herring			reg = <0x110f8800 0x30>;
669724ba675SRob Herring			clocks = <&gcc USB30_1_UTMI_CLK>;
670724ba675SRob Herring			clock-names = "ref";
671724ba675SRob Herring			#phy-cells = <0>;
672724ba675SRob Herring
673724ba675SRob Herring			status = "disabled";
674724ba675SRob Herring		};
675724ba675SRob Herring
676724ba675SRob Herring		ss_phy_1: phy@110f8830 {
677724ba675SRob Herring			compatible = "qcom,ipq806x-usb-phy-ss";
678724ba675SRob Herring			reg = <0x110f8830 0x30>;
679724ba675SRob Herring			clocks = <&gcc USB30_1_MASTER_CLK>;
680724ba675SRob Herring			clock-names = "ref";
681724ba675SRob Herring			#phy-cells = <0>;
682724ba675SRob Herring
683724ba675SRob Herring			status = "disabled";
684724ba675SRob Herring		};
685724ba675SRob Herring
686724ba675SRob Herring		sdcc3bam: dma-controller@12182000 {
687724ba675SRob Herring			compatible = "qcom,bam-v1.3.0";
688724ba675SRob Herring			reg = <0x12182000 0x8000>;
689724ba675SRob Herring			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
690724ba675SRob Herring			clocks = <&gcc SDC3_H_CLK>;
691724ba675SRob Herring			clock-names = "bam_clk";
692724ba675SRob Herring			#dma-cells = <1>;
693724ba675SRob Herring			qcom,ee = <0>;
694724ba675SRob Herring		};
695724ba675SRob Herring
696724ba675SRob Herring		sdcc1bam: dma-controller@12402000 {
697724ba675SRob Herring			compatible = "qcom,bam-v1.3.0";
698724ba675SRob Herring			reg = <0x12402000 0x8000>;
699724ba675SRob Herring			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
700724ba675SRob Herring			clocks = <&gcc SDC1_H_CLK>;
701724ba675SRob Herring			clock-names = "bam_clk";
702724ba675SRob Herring			#dma-cells = <1>;
703724ba675SRob Herring			qcom,ee = <0>;
704724ba675SRob Herring		};
705724ba675SRob Herring
706724ba675SRob Herring		amba: amba {
707724ba675SRob Herring			compatible = "simple-bus";
708724ba675SRob Herring			#address-cells = <1>;
709724ba675SRob Herring			#size-cells = <1>;
710724ba675SRob Herring			ranges;
711724ba675SRob Herring
712724ba675SRob Herring			sdcc3: mmc@12180000 {
713724ba675SRob Herring				compatible = "arm,pl18x", "arm,primecell";
714724ba675SRob Herring				arm,primecell-periphid = <0x00051180>;
715724ba675SRob Herring				status = "disabled";
716724ba675SRob Herring				reg = <0x12180000 0x2000>;
717724ba675SRob Herring				interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
718724ba675SRob Herring				clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
719724ba675SRob Herring				clock-names = "mclk", "apb_pclk";
720724ba675SRob Herring				bus-width = <8>;
721724ba675SRob Herring				cap-sd-highspeed;
722724ba675SRob Herring				cap-mmc-highspeed;
723724ba675SRob Herring				max-frequency = <192000000>;
724724ba675SRob Herring				sd-uhs-sdr104;
725724ba675SRob Herring				sd-uhs-ddr50;
726724ba675SRob Herring				vqmmc-supply = <&vsdcc_fixed>;
727724ba675SRob Herring				dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
728724ba675SRob Herring				dma-names = "tx", "rx";
729724ba675SRob Herring			};
730724ba675SRob Herring
731724ba675SRob Herring			sdcc1: mmc@12400000 {
732724ba675SRob Herring				status = "disabled";
733724ba675SRob Herring				compatible = "arm,pl18x", "arm,primecell";
734724ba675SRob Herring				arm,primecell-periphid = <0x00051180>;
735724ba675SRob Herring				reg = <0x12400000 0x2000>;
736724ba675SRob Herring				interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
737724ba675SRob Herring				clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
738724ba675SRob Herring				clock-names = "mclk", "apb_pclk";
739724ba675SRob Herring				bus-width = <8>;
740724ba675SRob Herring				max-frequency = <96000000>;
741724ba675SRob Herring				non-removable;
742724ba675SRob Herring				cap-sd-highspeed;
743724ba675SRob Herring				cap-mmc-highspeed;
744724ba675SRob Herring				vmmc-supply = <&vsdcc_fixed>;
745724ba675SRob Herring				dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
746724ba675SRob Herring				dma-names = "tx", "rx";
747724ba675SRob Herring			};
748724ba675SRob Herring		};
749724ba675SRob Herring
750724ba675SRob Herring		gsbi1: gsbi@12440000 {
751724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
752724ba675SRob Herring			reg = <0x12440000 0x100>;
753724ba675SRob Herring			cell-index = <1>;
754724ba675SRob Herring			clocks = <&gcc GSBI1_H_CLK>;
755724ba675SRob Herring			clock-names = "iface";
756724ba675SRob Herring			#address-cells = <1>;
757724ba675SRob Herring			#size-cells = <1>;
758724ba675SRob Herring			ranges;
759724ba675SRob Herring
760724ba675SRob Herring			syscon-tcsr = <&tcsr>;
761724ba675SRob Herring
762724ba675SRob Herring			status = "disabled";
763724ba675SRob Herring
764724ba675SRob Herring			gsbi1_serial: serial@12450000 {
765724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
766724ba675SRob Herring				reg = <0x12450000 0x100>,
767724ba675SRob Herring				      <0x12400000 0x03>;
768724ba675SRob Herring				interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
769724ba675SRob Herring				clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
770724ba675SRob Herring				clock-names = "core", "iface";
771724ba675SRob Herring
772724ba675SRob Herring				status = "disabled";
773724ba675SRob Herring			};
774724ba675SRob Herring
775724ba675SRob Herring			gsbi1_i2c: i2c@12460000 {
776724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
777724ba675SRob Herring				reg = <0x12460000 0x1000>;
778724ba675SRob Herring				interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
779724ba675SRob Herring				clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
780724ba675SRob Herring				clock-names = "core", "iface";
781724ba675SRob Herring				#address-cells = <1>;
782724ba675SRob Herring				#size-cells = <0>;
783724ba675SRob Herring
784724ba675SRob Herring				status = "disabled";
785724ba675SRob Herring			};
786724ba675SRob Herring		};
787724ba675SRob Herring
788724ba675SRob Herring		gsbi2: gsbi@12480000 {
789724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
790724ba675SRob Herring			cell-index = <2>;
791724ba675SRob Herring			reg = <0x12480000 0x100>;
792724ba675SRob Herring			clocks = <&gcc GSBI2_H_CLK>;
793724ba675SRob Herring			clock-names = "iface";
794724ba675SRob Herring			#address-cells = <1>;
795724ba675SRob Herring			#size-cells = <1>;
796724ba675SRob Herring			ranges;
797724ba675SRob Herring			status = "disabled";
798724ba675SRob Herring
799724ba675SRob Herring			syscon-tcsr = <&tcsr>;
800724ba675SRob Herring
801724ba675SRob Herring			gsbi2_serial: serial@12490000 {
802724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
803724ba675SRob Herring				reg = <0x12490000 0x1000>,
804724ba675SRob Herring				      <0x12480000 0x1000>;
805724ba675SRob Herring				interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
806724ba675SRob Herring				clocks = <&gcc GSBI2_UART_CLK>, <&gcc GSBI2_H_CLK>;
807724ba675SRob Herring				clock-names = "core", "iface";
808724ba675SRob Herring				status = "disabled";
809724ba675SRob Herring			};
810724ba675SRob Herring
811724ba675SRob Herring			gsbi2_i2c: i2c@124a0000 {
812724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
813724ba675SRob Herring				reg = <0x124a0000 0x1000>;
814724ba675SRob Herring				interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
815724ba675SRob Herring
816724ba675SRob Herring				clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
817724ba675SRob Herring				clock-names = "core", "iface";
818724ba675SRob Herring				status = "disabled";
819724ba675SRob Herring
820724ba675SRob Herring				#address-cells = <1>;
821724ba675SRob Herring				#size-cells = <0>;
822724ba675SRob Herring			};
823724ba675SRob Herring		};
824724ba675SRob Herring
825724ba675SRob Herring		gsbi4: gsbi@16300000 {
826724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
827724ba675SRob Herring			cell-index = <4>;
828724ba675SRob Herring			reg = <0x16300000 0x100>;
829724ba675SRob Herring			clocks = <&gcc GSBI4_H_CLK>;
830724ba675SRob Herring			clock-names = "iface";
831724ba675SRob Herring			#address-cells = <1>;
832724ba675SRob Herring			#size-cells = <1>;
833724ba675SRob Herring			ranges;
834724ba675SRob Herring			status = "disabled";
835724ba675SRob Herring
836724ba675SRob Herring			syscon-tcsr = <&tcsr>;
837724ba675SRob Herring
838724ba675SRob Herring			gsbi4_serial: serial@16340000 {
839724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
840724ba675SRob Herring				reg = <0x16340000 0x1000>,
841724ba675SRob Herring				      <0x16300000 0x1000>;
842724ba675SRob Herring				interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
843724ba675SRob Herring				clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
844724ba675SRob Herring				clock-names = "core", "iface";
845724ba675SRob Herring				status = "disabled";
846724ba675SRob Herring			};
847724ba675SRob Herring
848724ba675SRob Herring			i2c@16380000 {
849724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
850724ba675SRob Herring				reg = <0x16380000 0x1000>;
851724ba675SRob Herring				interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
852724ba675SRob Herring
853724ba675SRob Herring				clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>;
854724ba675SRob Herring				clock-names = "core", "iface";
855724ba675SRob Herring				status = "disabled";
856724ba675SRob Herring
857724ba675SRob Herring				#address-cells = <1>;
858724ba675SRob Herring				#size-cells = <0>;
859724ba675SRob Herring			};
860724ba675SRob Herring		};
861724ba675SRob Herring
862724ba675SRob Herring		gsbi6: gsbi@16500000 {
863724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
864724ba675SRob Herring			reg = <0x16500000 0x100>;
865724ba675SRob Herring			cell-index = <6>;
866724ba675SRob Herring			clocks = <&gcc GSBI6_H_CLK>;
867724ba675SRob Herring			clock-names = "iface";
868724ba675SRob Herring			#address-cells = <1>;
869724ba675SRob Herring			#size-cells = <1>;
870724ba675SRob Herring			ranges;
871724ba675SRob Herring
872724ba675SRob Herring			syscon-tcsr = <&tcsr>;
873724ba675SRob Herring
874724ba675SRob Herring			status = "disabled";
875724ba675SRob Herring
876724ba675SRob Herring			gsbi6_i2c: i2c@16580000 {
877724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
878724ba675SRob Herring				reg = <0x16580000 0x1000>;
879724ba675SRob Herring				interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
880724ba675SRob Herring
881724ba675SRob Herring				clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
882724ba675SRob Herring				clock-names = "core", "iface";
883724ba675SRob Herring
884724ba675SRob Herring				#address-cells = <1>;
885724ba675SRob Herring				#size-cells = <0>;
886724ba675SRob Herring
887724ba675SRob Herring				status = "disabled";
888724ba675SRob Herring			};
889724ba675SRob Herring
890724ba675SRob Herring			gsbi6_spi: spi@16580000 {
891724ba675SRob Herring				compatible = "qcom,spi-qup-v1.1.1";
892724ba675SRob Herring				reg = <0x16580000 0x1000>;
893724ba675SRob Herring				interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
894724ba675SRob Herring
895724ba675SRob Herring				clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
896724ba675SRob Herring				clock-names = "core", "iface";
897724ba675SRob Herring
898724ba675SRob Herring				#address-cells = <1>;
899724ba675SRob Herring				#size-cells = <0>;
900724ba675SRob Herring
901724ba675SRob Herring				status = "disabled";
902724ba675SRob Herring			};
903724ba675SRob Herring		};
904724ba675SRob Herring
905724ba675SRob Herring		gsbi7: gsbi@16600000 {
906724ba675SRob Herring			status = "disabled";
907724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
908724ba675SRob Herring			cell-index = <7>;
909724ba675SRob Herring			reg = <0x16600000 0x100>;
910724ba675SRob Herring			clocks = <&gcc GSBI7_H_CLK>;
911724ba675SRob Herring			clock-names = "iface";
912724ba675SRob Herring			#address-cells = <1>;
913724ba675SRob Herring			#size-cells = <1>;
914724ba675SRob Herring			ranges;
915724ba675SRob Herring			syscon-tcsr = <&tcsr>;
916724ba675SRob Herring
917724ba675SRob Herring			gsbi7_serial: serial@16640000 {
918724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
919724ba675SRob Herring				reg = <0x16640000 0x1000>,
920724ba675SRob Herring				      <0x16600000 0x1000>;
921724ba675SRob Herring				interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
922724ba675SRob Herring				clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
923724ba675SRob Herring				clock-names = "core", "iface";
924724ba675SRob Herring				status = "disabled";
925724ba675SRob Herring			};
926724ba675SRob Herring
927724ba675SRob Herring			gsbi7_i2c: i2c@16680000 {
928724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
929724ba675SRob Herring				reg = <0x16680000 0x1000>;
930724ba675SRob Herring				interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
931724ba675SRob Herring
932724ba675SRob Herring				clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
933724ba675SRob Herring				clock-names = "core", "iface";
934724ba675SRob Herring
935724ba675SRob Herring				#address-cells = <1>;
936724ba675SRob Herring				#size-cells = <0>;
937724ba675SRob Herring
938724ba675SRob Herring				status = "disabled";
939724ba675SRob Herring			};
940724ba675SRob Herring		};
941724ba675SRob Herring
942724ba675SRob Herring		adm_dma: dma-controller@18300000 {
943724ba675SRob Herring			compatible = "qcom,adm";
944724ba675SRob Herring			reg = <0x18300000 0x100000>;
945724ba675SRob Herring			interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
946724ba675SRob Herring			#dma-cells = <1>;
947724ba675SRob Herring
948724ba675SRob Herring			clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>;
949724ba675SRob Herring			clock-names = "core", "iface";
950724ba675SRob Herring
951724ba675SRob Herring			resets = <&gcc ADM0_RESET>,
952724ba675SRob Herring				 <&gcc ADM0_PBUS_RESET>,
953724ba675SRob Herring				 <&gcc ADM0_C0_RESET>,
954724ba675SRob Herring				 <&gcc ADM0_C1_RESET>,
955724ba675SRob Herring				 <&gcc ADM0_C2_RESET>;
956724ba675SRob Herring			reset-names = "clk", "pbus", "c0", "c1", "c2";
957724ba675SRob Herring			qcom,ee = <0>;
958724ba675SRob Herring
959724ba675SRob Herring			status = "disabled";
960724ba675SRob Herring		};
961724ba675SRob Herring
962724ba675SRob Herring		gsbi5: gsbi@1a200000 {
963724ba675SRob Herring			compatible = "qcom,gsbi-v1.0.0";
964724ba675SRob Herring			cell-index = <5>;
965724ba675SRob Herring			reg = <0x1a200000 0x100>;
966724ba675SRob Herring			clocks = <&gcc GSBI5_H_CLK>;
967724ba675SRob Herring			clock-names = "iface";
968724ba675SRob Herring			#address-cells = <1>;
969724ba675SRob Herring
970724ba675SRob Herring			#size-cells = <1>;
971724ba675SRob Herring			ranges;
972724ba675SRob Herring			status = "disabled";
973724ba675SRob Herring
974724ba675SRob Herring			syscon-tcsr = <&tcsr>;
975724ba675SRob Herring
976724ba675SRob Herring			gsbi5_serial: serial@1a240000 {
977724ba675SRob Herring				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
978724ba675SRob Herring				reg = <0x1a240000 0x1000>,
979724ba675SRob Herring				      <0x1a200000 0x1000>;
980724ba675SRob Herring				interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
981724ba675SRob Herring				clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
982724ba675SRob Herring				clock-names = "core", "iface";
983724ba675SRob Herring				status = "disabled";
984724ba675SRob Herring			};
985724ba675SRob Herring
986724ba675SRob Herring			i2c@1a280000 {
987724ba675SRob Herring				compatible = "qcom,i2c-qup-v1.1.1";
988724ba675SRob Herring				reg = <0x1a280000 0x1000>;
989724ba675SRob Herring				interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
990724ba675SRob Herring
991724ba675SRob Herring				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
992724ba675SRob Herring				clock-names = "core", "iface";
993724ba675SRob Herring				status = "disabled";
994724ba675SRob Herring
995724ba675SRob Herring				#address-cells = <1>;
996724ba675SRob Herring				#size-cells = <0>;
997724ba675SRob Herring			};
998724ba675SRob Herring
999724ba675SRob Herring			spi@1a280000 {
1000724ba675SRob Herring				compatible = "qcom,spi-qup-v1.1.1";
1001724ba675SRob Herring				reg = <0x1a280000 0x1000>;
1002724ba675SRob Herring				interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1003724ba675SRob Herring
1004724ba675SRob Herring				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
1005724ba675SRob Herring				clock-names = "core", "iface";
1006724ba675SRob Herring				status = "disabled";
1007724ba675SRob Herring
1008724ba675SRob Herring				#address-cells = <1>;
1009724ba675SRob Herring				#size-cells = <0>;
1010724ba675SRob Herring			};
1011724ba675SRob Herring		};
1012724ba675SRob Herring
1013724ba675SRob Herring		tcsr: syscon@1a400000 {
1014724ba675SRob Herring			compatible = "qcom,tcsr-ipq8064", "syscon";
1015724ba675SRob Herring			reg = <0x1a400000 0x100>;
1016724ba675SRob Herring		};
1017724ba675SRob Herring
1018724ba675SRob Herring		rng@1a500000 {
1019724ba675SRob Herring			compatible = "qcom,prng";
1020724ba675SRob Herring			reg = <0x1a500000 0x200>;
1021724ba675SRob Herring			clocks = <&gcc PRNG_CLK>;
1022724ba675SRob Herring			clock-names = "core";
1023724ba675SRob Herring		};
1024724ba675SRob Herring
1025724ba675SRob Herring		nand: nand-controller@1ac00000 {
1026724ba675SRob Herring			compatible = "qcom,ipq806x-nand";
1027724ba675SRob Herring			reg = <0x1ac00000 0x800>;
1028724ba675SRob Herring
1029724ba675SRob Herring			pinctrl-0 = <&nand_pins>;
1030724ba675SRob Herring			pinctrl-names = "default";
1031724ba675SRob Herring
1032724ba675SRob Herring			clocks = <&gcc EBI2_CLK>,
1033724ba675SRob Herring				 <&gcc EBI2_AON_CLK>;
1034724ba675SRob Herring			clock-names = "core", "aon";
1035724ba675SRob Herring
1036724ba675SRob Herring			dmas = <&adm_dma 3>;
1037724ba675SRob Herring			dma-names = "rxtx";
1038724ba675SRob Herring			qcom,cmd-crci = <15>;
1039724ba675SRob Herring			qcom,data-crci = <3>;
1040724ba675SRob Herring
1041724ba675SRob Herring			#address-cells = <1>;
1042724ba675SRob Herring			#size-cells = <0>;
1043724ba675SRob Herring
1044724ba675SRob Herring			status = "disabled";
1045724ba675SRob Herring		};
1046724ba675SRob Herring
1047724ba675SRob Herring		sata_phy: sata-phy@1b400000 {
1048724ba675SRob Herring			compatible = "qcom,ipq806x-sata-phy";
1049724ba675SRob Herring			reg = <0x1b400000 0x200>;
1050724ba675SRob Herring
1051724ba675SRob Herring			clocks = <&gcc SATA_PHY_CFG_CLK>;
1052724ba675SRob Herring			clock-names = "cfg";
1053724ba675SRob Herring
1054724ba675SRob Herring			#phy-cells = <0>;
1055724ba675SRob Herring			status = "disabled";
1056724ba675SRob Herring		};
1057724ba675SRob Herring
105807299ba2SManivannan Sadhasivam		pcie0: pcie@1b500000 {
1059724ba675SRob Herring			compatible = "qcom,pcie-ipq8064";
1060724ba675SRob Herring			reg = <0x1b500000 0x1000
1061724ba675SRob Herring			       0x1b502000 0x80
1062724ba675SRob Herring			       0x1b600000 0x100
1063724ba675SRob Herring			       0x0ff00000 0x100000>;
1064724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
1065724ba675SRob Herring			device_type = "pci";
1066724ba675SRob Herring			linux,pci-domain = <0>;
1067724ba675SRob Herring			bus-range = <0x00 0xff>;
1068724ba675SRob Herring			num-lanes = <1>;
1069724ba675SRob Herring			#address-cells = <3>;
1070724ba675SRob Herring			#size-cells = <2>;
1071724ba675SRob Herring
1072724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00010000   /* I/O */
1073724ba675SRob Herring				  0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* MEM */
1074724ba675SRob Herring
1075724ba675SRob Herring			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1076724ba675SRob Herring			interrupt-names = "msi";
1077724ba675SRob Herring			#interrupt-cells = <1>;
1078724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
1079724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1080724ba675SRob Herring					<0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1081724ba675SRob Herring					<0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1082724ba675SRob Herring					<0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1083724ba675SRob Herring
1084724ba675SRob Herring			clocks = <&gcc PCIE_A_CLK>,
1085724ba675SRob Herring				 <&gcc PCIE_H_CLK>,
1086724ba675SRob Herring				 <&gcc PCIE_PHY_CLK>,
1087724ba675SRob Herring				 <&gcc PCIE_AUX_CLK>,
1088724ba675SRob Herring				 <&gcc PCIE_ALT_REF_CLK>;
1089724ba675SRob Herring			clock-names = "core", "iface", "phy", "aux", "ref";
1090724ba675SRob Herring
1091724ba675SRob Herring			assigned-clocks = <&gcc PCIE_ALT_REF_CLK>;
1092724ba675SRob Herring			assigned-clock-rates = <100000000>;
1093724ba675SRob Herring
1094724ba675SRob Herring			resets = <&gcc PCIE_ACLK_RESET>,
1095724ba675SRob Herring				 <&gcc PCIE_HCLK_RESET>,
1096724ba675SRob Herring				 <&gcc PCIE_POR_RESET>,
1097724ba675SRob Herring				 <&gcc PCIE_PCI_RESET>,
1098724ba675SRob Herring				 <&gcc PCIE_PHY_RESET>,
1099724ba675SRob Herring				 <&gcc PCIE_EXT_RESET>;
1100724ba675SRob Herring			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
1101724ba675SRob Herring
1102724ba675SRob Herring			pinctrl-0 = <&pcie0_pins>;
1103724ba675SRob Herring			pinctrl-names = "default";
1104724ba675SRob Herring
1105724ba675SRob Herring			status = "disabled";
1106724ba675SRob Herring			perst-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
11070c4d19b1SManivannan Sadhasivam
11080c4d19b1SManivannan Sadhasivam			pcie@0 {
11090c4d19b1SManivannan Sadhasivam				device_type = "pci";
11100c4d19b1SManivannan Sadhasivam				reg = <0x0 0x0 0x0 0x0 0x0>;
11110c4d19b1SManivannan Sadhasivam				bus-range = <0x01 0xff>;
11120c4d19b1SManivannan Sadhasivam
11130c4d19b1SManivannan Sadhasivam				#address-cells = <3>;
11140c4d19b1SManivannan Sadhasivam				#size-cells = <2>;
11150c4d19b1SManivannan Sadhasivam				ranges;
11160c4d19b1SManivannan Sadhasivam			};
1117724ba675SRob Herring		};
1118724ba675SRob Herring
111907299ba2SManivannan Sadhasivam		pcie1: pcie@1b700000 {
1120724ba675SRob Herring			compatible = "qcom,pcie-ipq8064";
1121724ba675SRob Herring			reg = <0x1b700000 0x1000
1122724ba675SRob Herring			       0x1b702000 0x80
1123724ba675SRob Herring			       0x1b800000 0x100
1124724ba675SRob Herring			       0x31f00000 0x100000>;
1125724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
1126724ba675SRob Herring			device_type = "pci";
1127724ba675SRob Herring			linux,pci-domain = <1>;
1128724ba675SRob Herring			bus-range = <0x00 0xff>;
1129724ba675SRob Herring			num-lanes = <1>;
1130724ba675SRob Herring			#address-cells = <3>;
1131724ba675SRob Herring			#size-cells = <2>;
1132724ba675SRob Herring
1133724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x31e00000 0x0 0x00010000   /* I/O */
1134724ba675SRob Herring				  0x82000000 0x0 0x2e000000 0x2e000000 0x0 0x03e00000>; /* MEM */
1135724ba675SRob Herring
1136724ba675SRob Herring			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
1137724ba675SRob Herring			interrupt-names = "msi";
1138724ba675SRob Herring			#interrupt-cells = <1>;
1139724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
1140724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 58 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1141724ba675SRob Herring					<0 0 0 2 &intc 0 59 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1142724ba675SRob Herring					<0 0 0 3 &intc 0 60 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1143724ba675SRob Herring					<0 0 0 4 &intc 0 61 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1144724ba675SRob Herring
1145724ba675SRob Herring			clocks = <&gcc PCIE_1_A_CLK>,
1146724ba675SRob Herring				 <&gcc PCIE_1_H_CLK>,
1147724ba675SRob Herring				 <&gcc PCIE_1_PHY_CLK>,
1148724ba675SRob Herring				 <&gcc PCIE_1_AUX_CLK>,
1149724ba675SRob Herring				 <&gcc PCIE_1_ALT_REF_CLK>;
1150724ba675SRob Herring			clock-names = "core", "iface", "phy", "aux", "ref";
1151724ba675SRob Herring
1152724ba675SRob Herring			assigned-clocks = <&gcc PCIE_1_ALT_REF_CLK>;
1153724ba675SRob Herring			assigned-clock-rates = <100000000>;
1154724ba675SRob Herring
1155724ba675SRob Herring			resets = <&gcc PCIE_1_ACLK_RESET>,
1156724ba675SRob Herring				 <&gcc PCIE_1_HCLK_RESET>,
1157724ba675SRob Herring				 <&gcc PCIE_1_POR_RESET>,
1158724ba675SRob Herring				 <&gcc PCIE_1_PCI_RESET>,
1159724ba675SRob Herring				 <&gcc PCIE_1_PHY_RESET>,
1160724ba675SRob Herring				 <&gcc PCIE_1_EXT_RESET>;
1161724ba675SRob Herring			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
1162724ba675SRob Herring
1163724ba675SRob Herring			pinctrl-0 = <&pcie1_pins>;
1164724ba675SRob Herring			pinctrl-names = "default";
1165724ba675SRob Herring
1166724ba675SRob Herring			status = "disabled";
1167724ba675SRob Herring			perst-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
11680c4d19b1SManivannan Sadhasivam
11690c4d19b1SManivannan Sadhasivam			pcie@0 {
11700c4d19b1SManivannan Sadhasivam				device_type = "pci";
11710c4d19b1SManivannan Sadhasivam				reg = <0x0 0x0 0x0 0x0 0x0>;
11720c4d19b1SManivannan Sadhasivam				bus-range = <0x01 0xff>;
11730c4d19b1SManivannan Sadhasivam
11740c4d19b1SManivannan Sadhasivam				#address-cells = <3>;
11750c4d19b1SManivannan Sadhasivam				#size-cells = <2>;
11760c4d19b1SManivannan Sadhasivam				ranges;
11770c4d19b1SManivannan Sadhasivam			};
1178724ba675SRob Herring		};
1179724ba675SRob Herring
118007299ba2SManivannan Sadhasivam		pcie2: pcie@1b900000 {
1181724ba675SRob Herring			compatible = "qcom,pcie-ipq8064";
1182724ba675SRob Herring			reg = <0x1b900000 0x1000
1183724ba675SRob Herring			       0x1b902000 0x80
1184724ba675SRob Herring			       0x1ba00000 0x100
1185724ba675SRob Herring			       0x35f00000 0x100000>;
1186724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
1187724ba675SRob Herring			device_type = "pci";
1188724ba675SRob Herring			linux,pci-domain = <2>;
1189724ba675SRob Herring			bus-range = <0x00 0xff>;
1190724ba675SRob Herring			num-lanes = <1>;
1191724ba675SRob Herring			#address-cells = <3>;
1192724ba675SRob Herring			#size-cells = <2>;
1193724ba675SRob Herring
1194724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x35e00000 0x0 0x00010000   /* I/O */
1195724ba675SRob Herring				  0x82000000 0x0 0x32000000 0x32000000 0x0 0x03e00000>; /* MEM */
1196724ba675SRob Herring
1197724ba675SRob Herring			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
1198724ba675SRob Herring			interrupt-names = "msi";
1199724ba675SRob Herring			#interrupt-cells = <1>;
1200724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
1201724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 72 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1202724ba675SRob Herring					<0 0 0 2 &intc 0 73 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1203724ba675SRob Herring					<0 0 0 3 &intc 0 74 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1204724ba675SRob Herring					<0 0 0 4 &intc 0 75 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1205724ba675SRob Herring
1206724ba675SRob Herring			clocks = <&gcc PCIE_2_A_CLK>,
1207724ba675SRob Herring				 <&gcc PCIE_2_H_CLK>,
1208724ba675SRob Herring				 <&gcc PCIE_2_PHY_CLK>,
1209724ba675SRob Herring				 <&gcc PCIE_2_AUX_CLK>,
1210724ba675SRob Herring				 <&gcc PCIE_2_ALT_REF_CLK>;
1211724ba675SRob Herring			clock-names = "core", "iface", "phy", "aux", "ref";
1212724ba675SRob Herring
1213724ba675SRob Herring			assigned-clocks = <&gcc PCIE_2_ALT_REF_CLK>;
1214724ba675SRob Herring			assigned-clock-rates = <100000000>;
1215724ba675SRob Herring
1216724ba675SRob Herring			resets = <&gcc PCIE_2_ACLK_RESET>,
1217724ba675SRob Herring				 <&gcc PCIE_2_HCLK_RESET>,
1218724ba675SRob Herring				 <&gcc PCIE_2_POR_RESET>,
1219724ba675SRob Herring				 <&gcc PCIE_2_PCI_RESET>,
1220724ba675SRob Herring				 <&gcc PCIE_2_PHY_RESET>,
1221724ba675SRob Herring				 <&gcc PCIE_2_EXT_RESET>;
1222724ba675SRob Herring			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
1223724ba675SRob Herring
1224724ba675SRob Herring			pinctrl-0 = <&pcie2_pins>;
1225724ba675SRob Herring			pinctrl-names = "default";
1226724ba675SRob Herring
1227724ba675SRob Herring			status = "disabled";
1228724ba675SRob Herring			perst-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>;
12290c4d19b1SManivannan Sadhasivam
12300c4d19b1SManivannan Sadhasivam			pcie@0 {
12310c4d19b1SManivannan Sadhasivam				device_type = "pci";
12320c4d19b1SManivannan Sadhasivam				reg = <0x0 0x0 0x0 0x0 0x0>;
12330c4d19b1SManivannan Sadhasivam				bus-range = <0x01 0xff>;
12340c4d19b1SManivannan Sadhasivam
12350c4d19b1SManivannan Sadhasivam				#address-cells = <3>;
12360c4d19b1SManivannan Sadhasivam				#size-cells = <2>;
12370c4d19b1SManivannan Sadhasivam				ranges;
12380c4d19b1SManivannan Sadhasivam			};
1239724ba675SRob Herring		};
1240724ba675SRob Herring
1241724ba675SRob Herring		qsgmii_csr: syscon@1bb00000 {
1242724ba675SRob Herring			compatible = "syscon";
1243724ba675SRob Herring			reg = <0x1bb00000 0x000001FF>;
1244724ba675SRob Herring		};
1245724ba675SRob Herring
1246724ba675SRob Herring		lcc: clock-controller@28000000 {
1247724ba675SRob Herring			compatible = "qcom,lcc-ipq8064";
1248724ba675SRob Herring			reg = <0x28000000 0x1000>;
1249724ba675SRob Herring			#clock-cells = <1>;
1250724ba675SRob Herring			#reset-cells = <1>;
1251724ba675SRob Herring		};
1252724ba675SRob Herring
1253724ba675SRob Herring		lpass@28100000 {
1254724ba675SRob Herring			compatible = "qcom,lpass-cpu";
1255724ba675SRob Herring			status = "disabled";
1256724ba675SRob Herring			clocks = <&lcc AHBIX_CLK>,
1257724ba675SRob Herring					<&lcc MI2S_OSR_CLK>,
1258724ba675SRob Herring					<&lcc MI2S_BIT_CLK>;
1259724ba675SRob Herring			clock-names = "ahbix-clk",
1260724ba675SRob Herring					"mi2s-osr-clk",
1261724ba675SRob Herring					"mi2s-bit-clk";
1262724ba675SRob Herring			interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
1263724ba675SRob Herring			interrupt-names = "lpass-irq-lpaif";
1264724ba675SRob Herring			reg = <0x28100000 0x10000>;
1265724ba675SRob Herring			reg-names = "lpass-lpaif";
1266724ba675SRob Herring		};
1267724ba675SRob Herring
1268724ba675SRob Herring		sata: sata@29000000 {
1269724ba675SRob Herring			compatible = "qcom,ipq806x-ahci", "generic-ahci";
1270724ba675SRob Herring			reg = <0x29000000 0x180>;
1271724ba675SRob Herring
1272724ba675SRob Herring			interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
1273724ba675SRob Herring
1274724ba675SRob Herring			clocks = <&gcc SFAB_SATA_S_H_CLK>,
1275724ba675SRob Herring				 <&gcc SATA_H_CLK>,
1276724ba675SRob Herring				 <&gcc SATA_A_CLK>,
1277724ba675SRob Herring				 <&gcc SATA_RXOOB_CLK>,
1278724ba675SRob Herring				 <&gcc SATA_PMALIVE_CLK>;
1279*440c3fdbSRayyan Ansari			clock-names = "slave_iface", "iface", "core",
1280724ba675SRob Herring					"rxoob", "pmalive";
1281724ba675SRob Herring
1282724ba675SRob Herring			assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>;
1283724ba675SRob Herring			assigned-clock-rates = <100000000>, <100000000>;
1284724ba675SRob Herring
1285724ba675SRob Herring			phys = <&sata_phy>;
1286724ba675SRob Herring			phy-names = "sata-phy";
1287724ba675SRob Herring			status = "disabled";
1288724ba675SRob Herring		};
1289724ba675SRob Herring
1290724ba675SRob Herring		gmac0: ethernet@37000000 {
1291724ba675SRob Herring			device_type = "network";
1292724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1293724ba675SRob Herring			reg = <0x37000000 0x200000>;
1294724ba675SRob Herring			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
1295724ba675SRob Herring			interrupt-names = "macirq";
1296724ba675SRob Herring
1297724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1298724ba675SRob Herring			snps,pbl = <32>;
1299724ba675SRob Herring			snps,aal;
1300724ba675SRob Herring
1301724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1302724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1303724ba675SRob Herring
1304724ba675SRob Herring			clocks = <&gcc GMAC_CORE1_CLK>;
1305724ba675SRob Herring			clock-names = "stmmaceth";
1306724ba675SRob Herring
1307724ba675SRob Herring			resets = <&gcc GMAC_CORE1_RESET>,
1308724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1309724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1310724ba675SRob Herring
1311724ba675SRob Herring			status = "disabled";
1312724ba675SRob Herring		};
1313724ba675SRob Herring
1314724ba675SRob Herring		gmac1: ethernet@37200000 {
1315724ba675SRob Herring			device_type = "network";
1316724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1317724ba675SRob Herring			reg = <0x37200000 0x200000>;
1318724ba675SRob Herring			interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
1319724ba675SRob Herring			interrupt-names = "macirq";
1320724ba675SRob Herring
1321724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1322724ba675SRob Herring			snps,pbl = <32>;
1323724ba675SRob Herring			snps,aal;
1324724ba675SRob Herring
1325724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1326724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1327724ba675SRob Herring
1328724ba675SRob Herring			clocks = <&gcc GMAC_CORE2_CLK>;
1329724ba675SRob Herring			clock-names = "stmmaceth";
1330724ba675SRob Herring
1331724ba675SRob Herring			resets = <&gcc GMAC_CORE2_RESET>,
1332724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1333724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1334724ba675SRob Herring
1335724ba675SRob Herring			status = "disabled";
1336724ba675SRob Herring		};
1337724ba675SRob Herring
1338724ba675SRob Herring		gmac2: ethernet@37400000 {
1339724ba675SRob Herring			device_type = "network";
1340724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1341724ba675SRob Herring			reg = <0x37400000 0x200000>;
1342724ba675SRob Herring			interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
1343724ba675SRob Herring			interrupt-names = "macirq";
1344724ba675SRob Herring
1345724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1346724ba675SRob Herring			snps,pbl = <32>;
1347724ba675SRob Herring			snps,aal;
1348724ba675SRob Herring
1349724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1350724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1351724ba675SRob Herring
1352724ba675SRob Herring			clocks = <&gcc GMAC_CORE3_CLK>;
1353724ba675SRob Herring			clock-names = "stmmaceth";
1354724ba675SRob Herring
1355724ba675SRob Herring			resets = <&gcc GMAC_CORE3_RESET>,
1356724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1357724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1358724ba675SRob Herring
1359724ba675SRob Herring			status = "disabled";
1360724ba675SRob Herring		};
1361724ba675SRob Herring
1362724ba675SRob Herring		gmac3: ethernet@37600000 {
1363724ba675SRob Herring			device_type = "network";
1364724ba675SRob Herring			compatible = "qcom,ipq806x-gmac", "snps,dwmac";
1365724ba675SRob Herring			reg = <0x37600000 0x200000>;
1366724ba675SRob Herring			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1367724ba675SRob Herring			interrupt-names = "macirq";
1368724ba675SRob Herring
1369724ba675SRob Herring			snps,axi-config = <&stmmac_axi_setup>;
1370724ba675SRob Herring			snps,pbl = <32>;
1371724ba675SRob Herring			snps,aal;
1372724ba675SRob Herring
1373724ba675SRob Herring			qcom,nss-common = <&nss_common>;
1374724ba675SRob Herring			qcom,qsgmii-csr = <&qsgmii_csr>;
1375724ba675SRob Herring
1376724ba675SRob Herring			clocks = <&gcc GMAC_CORE4_CLK>;
1377724ba675SRob Herring			clock-names = "stmmaceth";
1378724ba675SRob Herring
1379724ba675SRob Herring			resets = <&gcc GMAC_CORE4_RESET>,
1380724ba675SRob Herring				 <&gcc GMAC_AHB_RESET>;
1381724ba675SRob Herring			reset-names = "stmmaceth", "ahb";
1382724ba675SRob Herring
1383724ba675SRob Herring			status = "disabled";
1384724ba675SRob Herring		};
1385724ba675SRob Herring	};
1386724ba675SRob Herring};
1387