xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-ipq4019.dtsi (revision 7514b28f7a016845a6b912783c4c7f4caf37788a)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring
8724ba675SRob Herring#include <dt-bindings/clock/qcom,gcc-ipq4019.h>
9724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
10724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	#address-cells = <1>;
14724ba675SRob Herring	#size-cells = <1>;
15724ba675SRob Herring
16724ba675SRob Herring	model = "Qualcomm Technologies, Inc. IPQ4019";
17724ba675SRob Herring	compatible = "qcom,ipq4019";
18724ba675SRob Herring	interrupt-parent = <&intc>;
19724ba675SRob Herring
20724ba675SRob Herring	reserved-memory {
21724ba675SRob Herring		#address-cells = <0x1>;
22724ba675SRob Herring		#size-cells = <0x1>;
23724ba675SRob Herring		ranges;
24724ba675SRob Herring
25724ba675SRob Herring		smem_region: smem@87e00000 {
26724ba675SRob Herring			reg = <0x87e00000 0x080000>;
27724ba675SRob Herring			no-map;
28724ba675SRob Herring		};
29724ba675SRob Herring
30724ba675SRob Herring		tz@87e80000 {
31724ba675SRob Herring			reg = <0x87e80000 0x180000>;
32724ba675SRob Herring			no-map;
33724ba675SRob Herring		};
34724ba675SRob Herring	};
35724ba675SRob Herring
36724ba675SRob Herring	aliases {
37724ba675SRob Herring		spi0 = &blsp1_spi1;
38724ba675SRob Herring		spi1 = &blsp1_spi2;
39724ba675SRob Herring		i2c0 = &blsp1_i2c3;
40724ba675SRob Herring		i2c1 = &blsp1_i2c4;
41724ba675SRob Herring	};
42724ba675SRob Herring
43724ba675SRob Herring	cpus {
44724ba675SRob Herring		#address-cells = <1>;
45724ba675SRob Herring		#size-cells = <0>;
46724ba675SRob Herring		cpu@0 {
47724ba675SRob Herring			device_type = "cpu";
48724ba675SRob Herring			compatible = "arm,cortex-a7";
49724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
50724ba675SRob Herring			next-level-cache = <&L2>;
51724ba675SRob Herring			qcom,acc = <&acc0>;
52724ba675SRob Herring			qcom,saw = <&saw0>;
53724ba675SRob Herring			reg = <0x0>;
54724ba675SRob Herring			clocks = <&gcc GCC_APPS_CLK_SRC>;
55724ba675SRob Herring			clock-frequency = <0>;
56724ba675SRob Herring			clock-latency = <256000>;
57724ba675SRob Herring			operating-points-v2 = <&cpu0_opp_table>;
58724ba675SRob Herring		};
59724ba675SRob Herring
60724ba675SRob Herring		cpu@1 {
61724ba675SRob Herring			device_type = "cpu";
62724ba675SRob Herring			compatible = "arm,cortex-a7";
63724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
64724ba675SRob Herring			next-level-cache = <&L2>;
65724ba675SRob Herring			qcom,acc = <&acc1>;
66724ba675SRob Herring			qcom,saw = <&saw1>;
67724ba675SRob Herring			reg = <0x1>;
68724ba675SRob Herring			clocks = <&gcc GCC_APPS_CLK_SRC>;
69724ba675SRob Herring			clock-frequency = <0>;
70724ba675SRob Herring			clock-latency = <256000>;
71724ba675SRob Herring			operating-points-v2 = <&cpu0_opp_table>;
72724ba675SRob Herring		};
73724ba675SRob Herring
74724ba675SRob Herring		cpu@2 {
75724ba675SRob Herring			device_type = "cpu";
76724ba675SRob Herring			compatible = "arm,cortex-a7";
77724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
78724ba675SRob Herring			next-level-cache = <&L2>;
79724ba675SRob Herring			qcom,acc = <&acc2>;
80724ba675SRob Herring			qcom,saw = <&saw2>;
81724ba675SRob Herring			reg = <0x2>;
82724ba675SRob Herring			clocks = <&gcc GCC_APPS_CLK_SRC>;
83724ba675SRob Herring			clock-frequency = <0>;
84724ba675SRob Herring			clock-latency = <256000>;
85724ba675SRob Herring			operating-points-v2 = <&cpu0_opp_table>;
86724ba675SRob Herring		};
87724ba675SRob Herring
88724ba675SRob Herring		cpu@3 {
89724ba675SRob Herring			device_type = "cpu";
90724ba675SRob Herring			compatible = "arm,cortex-a7";
91724ba675SRob Herring			enable-method = "qcom,kpss-acc-v2";
92724ba675SRob Herring			next-level-cache = <&L2>;
93724ba675SRob Herring			qcom,acc = <&acc3>;
94724ba675SRob Herring			qcom,saw = <&saw3>;
95724ba675SRob Herring			reg = <0x3>;
96724ba675SRob Herring			clocks = <&gcc GCC_APPS_CLK_SRC>;
97724ba675SRob Herring			clock-frequency = <0>;
98724ba675SRob Herring			clock-latency = <256000>;
99724ba675SRob Herring			operating-points-v2 = <&cpu0_opp_table>;
100724ba675SRob Herring		};
101724ba675SRob Herring
102724ba675SRob Herring		L2: l2-cache {
103724ba675SRob Herring			compatible = "cache";
104724ba675SRob Herring			cache-level = <2>;
1056c1561fbSLinus Torvalds			cache-unified;
106724ba675SRob Herring			qcom,saw = <&saw_l2>;
107724ba675SRob Herring		};
108724ba675SRob Herring	};
109724ba675SRob Herring
110724ba675SRob Herring	cpu0_opp_table: opp-table {
111724ba675SRob Herring		compatible = "operating-points-v2";
112724ba675SRob Herring		opp-shared;
113724ba675SRob Herring
114724ba675SRob Herring		opp-48000000 {
115724ba675SRob Herring			opp-hz = /bits/ 64 <48000000>;
116724ba675SRob Herring			clock-latency-ns = <256000>;
117724ba675SRob Herring		};
118724ba675SRob Herring		opp-200000000 {
119724ba675SRob Herring			opp-hz = /bits/ 64 <200000000>;
120724ba675SRob Herring			clock-latency-ns = <256000>;
121724ba675SRob Herring		};
122724ba675SRob Herring		opp-500000000 {
123724ba675SRob Herring			opp-hz = /bits/ 64 <500000000>;
124724ba675SRob Herring			clock-latency-ns = <256000>;
125724ba675SRob Herring		};
126724ba675SRob Herring		opp-716000000 {
127724ba675SRob Herring			opp-hz = /bits/ 64 <716000000>;
128724ba675SRob Herring			clock-latency-ns = <256000>;
129724ba675SRob Herring 		};
130724ba675SRob Herring	};
131724ba675SRob Herring
132724ba675SRob Herring	memory {
133724ba675SRob Herring		device_type = "memory";
134724ba675SRob Herring		reg = <0x0 0x0>;
135724ba675SRob Herring	};
136724ba675SRob Herring
137724ba675SRob Herring	pmu {
138724ba675SRob Herring		compatible = "arm,cortex-a7-pmu";
139724ba675SRob Herring		interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) |
140724ba675SRob Herring					 IRQ_TYPE_LEVEL_HIGH)>;
141724ba675SRob Herring	};
142724ba675SRob Herring
143724ba675SRob Herring	clocks {
144724ba675SRob Herring		sleep_clk: sleep_clk {
145724ba675SRob Herring			compatible = "fixed-clock";
146724ba675SRob Herring			clock-frequency = <32000>;
147724ba675SRob Herring			#clock-cells = <0>;
148724ba675SRob Herring		};
149724ba675SRob Herring
150724ba675SRob Herring		xo: xo {
151724ba675SRob Herring			compatible = "fixed-clock";
152724ba675SRob Herring			clock-frequency = <48000000>;
153724ba675SRob Herring			#clock-cells = <0>;
154724ba675SRob Herring		};
155724ba675SRob Herring	};
156724ba675SRob Herring
157724ba675SRob Herring	firmware {
158724ba675SRob Herring		scm {
159724ba675SRob Herring			compatible = "qcom,scm-ipq4019", "qcom,scm";
160724ba675SRob Herring		};
161724ba675SRob Herring	};
162724ba675SRob Herring
163724ba675SRob Herring	timer {
164724ba675SRob Herring		compatible = "arm,armv7-timer";
165724ba675SRob Herring		interrupts = <1 2 0xf08>,
166724ba675SRob Herring			     <1 3 0xf08>,
167724ba675SRob Herring			     <1 4 0xf08>,
168724ba675SRob Herring			     <1 1 0xf08>;
169724ba675SRob Herring		clock-frequency = <48000000>;
170724ba675SRob Herring		always-on;
171724ba675SRob Herring	};
172724ba675SRob Herring
173724ba675SRob Herring	soc {
174724ba675SRob Herring		#address-cells = <1>;
175724ba675SRob Herring		#size-cells = <1>;
176724ba675SRob Herring		ranges;
177724ba675SRob Herring		compatible = "simple-bus";
178724ba675SRob Herring
179724ba675SRob Herring		intc: interrupt-controller@b000000 {
180724ba675SRob Herring			compatible = "qcom,msm-qgic2";
181724ba675SRob Herring			interrupt-controller;
182724ba675SRob Herring			#interrupt-cells = <3>;
183724ba675SRob Herring			reg = <0x0b000000 0x1000>,
184724ba675SRob Herring			<0x0b002000 0x1000>;
185724ba675SRob Herring		};
186724ba675SRob Herring
187724ba675SRob Herring		gcc: clock-controller@1800000 {
188724ba675SRob Herring			compatible = "qcom,gcc-ipq4019";
189724ba675SRob Herring			#clock-cells = <1>;
190724ba675SRob Herring			#power-domain-cells = <1>;
191724ba675SRob Herring			#reset-cells = <1>;
192724ba675SRob Herring			reg = <0x1800000 0x60000>;
193724ba675SRob Herring			clocks = <&xo>, <&sleep_clk>;
194724ba675SRob Herring			clock-names = "xo", "sleep_clk";
195724ba675SRob Herring		};
196724ba675SRob Herring
197724ba675SRob Herring		prng: rng@22000 {
198724ba675SRob Herring			compatible = "qcom,prng";
199724ba675SRob Herring			reg = <0x22000 0x140>;
200724ba675SRob Herring			clocks = <&gcc GCC_PRNG_AHB_CLK>;
201724ba675SRob Herring			clock-names = "core";
202724ba675SRob Herring			status = "disabled";
203724ba675SRob Herring		};
204724ba675SRob Herring
205724ba675SRob Herring		tlmm: pinctrl@1000000 {
206724ba675SRob Herring			compatible = "qcom,ipq4019-pinctrl";
207724ba675SRob Herring			reg = <0x01000000 0x300000>;
208724ba675SRob Herring			gpio-controller;
209724ba675SRob Herring			gpio-ranges = <&tlmm 0 0 100>;
210724ba675SRob Herring			#gpio-cells = <2>;
211724ba675SRob Herring			interrupt-controller;
212724ba675SRob Herring			#interrupt-cells = <2>;
213724ba675SRob Herring			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
214724ba675SRob Herring		};
215724ba675SRob Herring
216724ba675SRob Herring		vqmmc: regulator@1948000 {
217724ba675SRob Herring			compatible = "qcom,vqmmc-ipq4019-regulator";
218724ba675SRob Herring			reg = <0x01948000 0x4>;
219724ba675SRob Herring			regulator-name = "vqmmc";
220724ba675SRob Herring			regulator-min-microvolt = <1500000>;
221724ba675SRob Herring			regulator-max-microvolt = <3000000>;
222724ba675SRob Herring			regulator-always-on;
223724ba675SRob Herring			status = "disabled";
224724ba675SRob Herring		};
225724ba675SRob Herring
226724ba675SRob Herring		sdhci: mmc@7824900 {
227*7514b28fSKrzysztof Kozlowski			compatible = "qcom,ipq4019-sdhci", "qcom,sdhci-msm-v4";
228724ba675SRob Herring			reg = <0x7824900 0x11c>, <0x7824000 0x800>;
229724ba675SRob Herring			reg-names = "hc", "core";
230724ba675SRob Herring			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
231724ba675SRob Herring			interrupt-names = "hc_irq", "pwr_irq";
232724ba675SRob Herring			bus-width = <8>;
233b5ed7a5cSRobert Marko			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
234b5ed7a5cSRobert Marko				 <&gcc GCC_SDCC1_APPS_CLK>,
235b5ed7a5cSRobert Marko				 <&xo>;
236b5ed7a5cSRobert Marko			clock-names = "iface",
237b5ed7a5cSRobert Marko				      "core",
238b5ed7a5cSRobert Marko				      "xo";
239724ba675SRob Herring			status = "disabled";
240724ba675SRob Herring		};
241724ba675SRob Herring
242724ba675SRob Herring		blsp_dma: dma-controller@7884000 {
243724ba675SRob Herring			compatible = "qcom,bam-v1.7.0";
244724ba675SRob Herring			reg = <0x07884000 0x23000>;
245724ba675SRob Herring			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
246724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
247724ba675SRob Herring			clock-names = "bam_clk";
248724ba675SRob Herring			#dma-cells = <1>;
249724ba675SRob Herring			qcom,ee = <0>;
250724ba675SRob Herring			status = "disabled";
251724ba675SRob Herring		};
252724ba675SRob Herring
253724ba675SRob Herring		blsp1_spi1: spi@78b5000 { /* BLSP1 QUP1 */
254724ba675SRob Herring			compatible = "qcom,spi-qup-v2.2.1";
255724ba675SRob Herring			reg = <0x78b5000 0x600>;
256724ba675SRob Herring			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
257724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
258724ba675SRob Herring				 <&gcc GCC_BLSP1_AHB_CLK>;
259724ba675SRob Herring			clock-names = "core", "iface";
260724ba675SRob Herring			#address-cells = <1>;
261724ba675SRob Herring			#size-cells = <0>;
262724ba675SRob Herring			dmas = <&blsp_dma 4>, <&blsp_dma 5>;
263724ba675SRob Herring			dma-names = "tx", "rx";
264724ba675SRob Herring			status = "disabled";
265724ba675SRob Herring		};
266724ba675SRob Herring
267724ba675SRob Herring		blsp1_spi2: spi@78b6000 { /* BLSP1 QUP2 */
268724ba675SRob Herring			compatible = "qcom,spi-qup-v2.2.1";
269724ba675SRob Herring			reg = <0x78b6000 0x600>;
270724ba675SRob Herring			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
271724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
272724ba675SRob Herring				<&gcc GCC_BLSP1_AHB_CLK>;
273724ba675SRob Herring			clock-names = "core", "iface";
274724ba675SRob Herring			#address-cells = <1>;
275724ba675SRob Herring			#size-cells = <0>;
276724ba675SRob Herring			dmas = <&blsp_dma 6>, <&blsp_dma 7>;
277724ba675SRob Herring			dma-names = "tx", "rx";
278724ba675SRob Herring			status = "disabled";
279724ba675SRob Herring		};
280724ba675SRob Herring
281724ba675SRob Herring		blsp1_i2c3: i2c@78b7000 { /* BLSP1 QUP3 */
282724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.2.1";
283724ba675SRob Herring			reg = <0x78b7000 0x600>;
284724ba675SRob Herring			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
285724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
286724ba675SRob Herring				 <&gcc GCC_BLSP1_AHB_CLK>;
287724ba675SRob Herring			clock-names = "core", "iface";
288724ba675SRob Herring			#address-cells = <1>;
289724ba675SRob Herring			#size-cells = <0>;
290724ba675SRob Herring			dmas = <&blsp_dma 8>, <&blsp_dma 9>;
291724ba675SRob Herring			dma-names = "tx", "rx";
292724ba675SRob Herring			status = "disabled";
293724ba675SRob Herring		};
294724ba675SRob Herring
295724ba675SRob Herring		blsp1_i2c4: i2c@78b8000 { /* BLSP1 QUP4 */
296724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.2.1";
297724ba675SRob Herring			reg = <0x78b8000 0x600>;
298724ba675SRob Herring			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
299724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
300724ba675SRob Herring				 <&gcc GCC_BLSP1_AHB_CLK>;
301724ba675SRob Herring			clock-names = "core", "iface";
302724ba675SRob Herring			#address-cells = <1>;
303724ba675SRob Herring			#size-cells = <0>;
304724ba675SRob Herring			dmas = <&blsp_dma 10>, <&blsp_dma 11>;
305724ba675SRob Herring			dma-names = "tx", "rx";
306724ba675SRob Herring			status = "disabled";
307724ba675SRob Herring		};
308724ba675SRob Herring
309724ba675SRob Herring		cryptobam: dma-controller@8e04000 {
310724ba675SRob Herring			compatible = "qcom,bam-v1.7.0";
311724ba675SRob Herring			reg = <0x08e04000 0x20000>;
312724ba675SRob Herring			interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
313724ba675SRob Herring			clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
314724ba675SRob Herring			clock-names = "bam_clk";
315724ba675SRob Herring			#dma-cells = <1>;
316724ba675SRob Herring			qcom,ee = <1>;
317724ba675SRob Herring			qcom,controlled-remotely;
318724ba675SRob Herring			status = "disabled";
319724ba675SRob Herring		};
320724ba675SRob Herring
321724ba675SRob Herring		crypto: crypto@8e3a000 {
322724ba675SRob Herring			compatible = "qcom,crypto-v5.1";
323724ba675SRob Herring			reg = <0x08e3a000 0x6000>;
324724ba675SRob Herring			clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
325724ba675SRob Herring				 <&gcc GCC_CRYPTO_AXI_CLK>,
326724ba675SRob Herring				 <&gcc GCC_CRYPTO_CLK>;
327724ba675SRob Herring			clock-names = "iface", "bus", "core";
328724ba675SRob Herring			dmas = <&cryptobam 2>, <&cryptobam 3>;
329724ba675SRob Herring			dma-names = "rx", "tx";
330724ba675SRob Herring			status = "disabled";
331724ba675SRob Herring		};
332724ba675SRob Herring
333724ba675SRob Herring		acc0: power-manager@b088000 {
334724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
335724ba675SRob Herring			reg = <0x0b088000 0x1000>, <0xb008000 0x1000>;
336724ba675SRob Herring		};
337724ba675SRob Herring
338724ba675SRob Herring		acc1: power-manager@b098000 {
339724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
340724ba675SRob Herring			reg = <0x0b098000 0x1000>, <0xb008000 0x1000>;
341724ba675SRob Herring		};
342724ba675SRob Herring
343724ba675SRob Herring		acc2: power-manager@b0a8000 {
344724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
345724ba675SRob Herring			reg = <0x0b0a8000 0x1000>, <0xb008000 0x1000>;
346724ba675SRob Herring		};
347724ba675SRob Herring
348724ba675SRob Herring		acc3: power-manager@b0b8000 {
349724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
350724ba675SRob Herring			reg = <0x0b0b8000 0x1000>, <0xb008000 0x1000>;
351724ba675SRob Herring		};
352724ba675SRob Herring
353724ba675SRob Herring		saw0: regulator@b089000 {
354724ba675SRob Herring			compatible = "qcom,saw2";
355724ba675SRob Herring			reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>;
356724ba675SRob Herring			regulator;
357724ba675SRob Herring		};
358724ba675SRob Herring
359724ba675SRob Herring		saw1: regulator@b099000 {
360724ba675SRob Herring			compatible = "qcom,saw2";
361724ba675SRob Herring			reg = <0x0b099000 0x1000>, <0x0b009000 0x1000>;
362724ba675SRob Herring			regulator;
363724ba675SRob Herring		};
364724ba675SRob Herring
365724ba675SRob Herring		saw2: regulator@b0a9000 {
366724ba675SRob Herring			compatible = "qcom,saw2";
367724ba675SRob Herring			reg = <0x0b0a9000 0x1000>, <0x0b009000 0x1000>;
368724ba675SRob Herring			regulator;
369724ba675SRob Herring		};
370724ba675SRob Herring
371724ba675SRob Herring		saw3: regulator@b0b9000 {
372724ba675SRob Herring			compatible = "qcom,saw2";
373724ba675SRob Herring			reg = <0x0b0b9000 0x1000>, <0x0b009000 0x1000>;
374724ba675SRob Herring			regulator;
375724ba675SRob Herring		};
376724ba675SRob Herring
377724ba675SRob Herring		saw_l2: regulator@b012000 {
378724ba675SRob Herring			compatible = "qcom,saw2";
379724ba675SRob Herring			reg = <0xb012000 0x1000>;
380724ba675SRob Herring			regulator;
381724ba675SRob Herring		};
382724ba675SRob Herring
383724ba675SRob Herring		blsp1_uart1: serial@78af000 {
384724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
385724ba675SRob Herring			reg = <0x78af000 0x200>;
386724ba675SRob Herring			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
387724ba675SRob Herring			status = "disabled";
388724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
389724ba675SRob Herring				<&gcc GCC_BLSP1_AHB_CLK>;
390724ba675SRob Herring			clock-names = "core", "iface";
391724ba675SRob Herring			dmas = <&blsp_dma 0>, <&blsp_dma 1>;
392724ba675SRob Herring			dma-names = "tx", "rx";
393724ba675SRob Herring		};
394724ba675SRob Herring
395724ba675SRob Herring		blsp1_uart2: serial@78b0000 {
396724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
397724ba675SRob Herring			reg = <0x78b0000 0x200>;
398724ba675SRob Herring			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
399724ba675SRob Herring			status = "disabled";
400724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
401724ba675SRob Herring				<&gcc GCC_BLSP1_AHB_CLK>;
402724ba675SRob Herring			clock-names = "core", "iface";
403724ba675SRob Herring			dmas = <&blsp_dma 2>, <&blsp_dma 3>;
404724ba675SRob Herring			dma-names = "tx", "rx";
405724ba675SRob Herring		};
406724ba675SRob Herring
407724ba675SRob Herring		watchdog: watchdog@b017000 {
408724ba675SRob Herring			compatible = "qcom,kpss-wdt-ipq4019", "qcom,kpss-wdt";
409724ba675SRob Herring			reg = <0xb017000 0x40>;
410724ba675SRob Herring			clocks = <&sleep_clk>;
411724ba675SRob Herring			timeout-sec = <10>;
412724ba675SRob Herring			status = "disabled";
413724ba675SRob Herring		};
414724ba675SRob Herring
415724ba675SRob Herring		restart@4ab000 {
416724ba675SRob Herring			compatible = "qcom,pshold";
417724ba675SRob Herring			reg = <0x4ab000 0x4>;
418724ba675SRob Herring		};
419724ba675SRob Herring
42007299ba2SManivannan Sadhasivam		pcie0: pcie@40000000 {
421724ba675SRob Herring			compatible = "qcom,pcie-ipq4019";
422c4cf1cc5SKrzysztof Kozlowski			reg = <0x40000000 0xf1d>,
423c4cf1cc5SKrzysztof Kozlowski			      <0x40000f20 0xa8>,
424c4cf1cc5SKrzysztof Kozlowski			      <0x80000 0x2000>,
425c4cf1cc5SKrzysztof Kozlowski			      <0x40100000 0x1000>;
426724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
427724ba675SRob Herring			device_type = "pci";
428724ba675SRob Herring			linux,pci-domain = <0>;
429724ba675SRob Herring			bus-range = <0x00 0xff>;
430724ba675SRob Herring			num-lanes = <1>;
431724ba675SRob Herring			#address-cells = <3>;
432724ba675SRob Herring			#size-cells = <2>;
433724ba675SRob Herring
434724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>,
435724ba675SRob Herring				 <0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>;
436724ba675SRob Herring
437724ba675SRob Herring			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
438724ba675SRob Herring			interrupt-names = "msi";
439724ba675SRob Herring			#interrupt-cells = <1>;
440724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
441724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
442724ba675SRob Herring					<0 0 0 2 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
443724ba675SRob Herring					<0 0 0 3 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
444724ba675SRob Herring					<0 0 0 4 &intc 0 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
445724ba675SRob Herring			clocks = <&gcc GCC_PCIE_AHB_CLK>,
446724ba675SRob Herring				 <&gcc GCC_PCIE_AXI_M_CLK>,
447724ba675SRob Herring				 <&gcc GCC_PCIE_AXI_S_CLK>;
448724ba675SRob Herring			clock-names = "aux",
449724ba675SRob Herring				      "master_bus",
450724ba675SRob Herring				      "slave_bus";
451724ba675SRob Herring
452724ba675SRob Herring			resets = <&gcc PCIE_AXI_M_ARES>,
453724ba675SRob Herring				 <&gcc PCIE_AXI_S_ARES>,
454724ba675SRob Herring				 <&gcc PCIE_PIPE_ARES>,
455724ba675SRob Herring				 <&gcc PCIE_AXI_M_VMIDMT_ARES>,
456724ba675SRob Herring				 <&gcc PCIE_AXI_S_XPU_ARES>,
457724ba675SRob Herring				 <&gcc PCIE_PARF_XPU_ARES>,
458724ba675SRob Herring				 <&gcc PCIE_PHY_ARES>,
459724ba675SRob Herring				 <&gcc PCIE_AXI_M_STICKY_ARES>,
460724ba675SRob Herring				 <&gcc PCIE_PIPE_STICKY_ARES>,
461724ba675SRob Herring				 <&gcc PCIE_PWR_ARES>,
462724ba675SRob Herring				 <&gcc PCIE_AHB_ARES>,
463724ba675SRob Herring				 <&gcc PCIE_PHY_AHB_ARES>;
464724ba675SRob Herring			reset-names = "axi_m",
465724ba675SRob Herring				      "axi_s",
466724ba675SRob Herring				      "pipe",
467724ba675SRob Herring				      "axi_m_vmid",
468724ba675SRob Herring				      "axi_s_xpu",
469724ba675SRob Herring				      "parf",
470724ba675SRob Herring				      "phy",
471724ba675SRob Herring				      "axi_m_sticky",
472724ba675SRob Herring				      "pipe_sticky",
473724ba675SRob Herring				      "pwr",
474724ba675SRob Herring				      "ahb",
475724ba675SRob Herring				      "phy_ahb";
476724ba675SRob Herring
477724ba675SRob Herring			status = "disabled";
478724ba675SRob Herring		};
479724ba675SRob Herring
480724ba675SRob Herring		qpic_bam: dma-controller@7984000 {
481724ba675SRob Herring			compatible = "qcom,bam-v1.7.0";
482724ba675SRob Herring			reg = <0x7984000 0x1a000>;
483724ba675SRob Herring			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
484724ba675SRob Herring			clocks = <&gcc GCC_QPIC_CLK>;
485724ba675SRob Herring			clock-names = "bam_clk";
486724ba675SRob Herring			#dma-cells = <1>;
487724ba675SRob Herring			qcom,ee = <0>;
488724ba675SRob Herring			status = "disabled";
489724ba675SRob Herring		};
490724ba675SRob Herring
491724ba675SRob Herring		nand: nand-controller@79b0000 {
492724ba675SRob Herring			compatible = "qcom,ipq4019-nand";
493724ba675SRob Herring			reg = <0x79b0000 0x1000>;
494724ba675SRob Herring			#address-cells = <1>;
495724ba675SRob Herring			#size-cells = <0>;
496724ba675SRob Herring			clocks = <&gcc GCC_QPIC_CLK>,
497724ba675SRob Herring				 <&gcc GCC_QPIC_AHB_CLK>;
498724ba675SRob Herring			clock-names = "core", "aon";
499724ba675SRob Herring
500724ba675SRob Herring			dmas = <&qpic_bam 0>,
501724ba675SRob Herring			       <&qpic_bam 1>,
502724ba675SRob Herring			       <&qpic_bam 2>;
503724ba675SRob Herring			dma-names = "tx", "rx", "cmd";
504724ba675SRob Herring			status = "disabled";
505724ba675SRob Herring
506724ba675SRob Herring			nand@0 {
507724ba675SRob Herring				reg = <0>;
508724ba675SRob Herring
509724ba675SRob Herring				nand-ecc-strength = <4>;
510724ba675SRob Herring				nand-ecc-step-size = <512>;
511724ba675SRob Herring				nand-bus-width = <8>;
512724ba675SRob Herring			};
513724ba675SRob Herring		};
514724ba675SRob Herring
515724ba675SRob Herring		wifi0: wifi@a000000 {
516724ba675SRob Herring			compatible = "qcom,ipq4019-wifi";
517724ba675SRob Herring			reg = <0xa000000 0x200000>;
518724ba675SRob Herring			resets = <&gcc WIFI0_CPU_INIT_RESET>,
519724ba675SRob Herring				 <&gcc WIFI0_RADIO_SRIF_RESET>,
520724ba675SRob Herring				 <&gcc WIFI0_RADIO_WARM_RESET>,
521724ba675SRob Herring				 <&gcc WIFI0_RADIO_COLD_RESET>,
522724ba675SRob Herring				 <&gcc WIFI0_CORE_WARM_RESET>,
523724ba675SRob Herring				 <&gcc WIFI0_CORE_COLD_RESET>;
524724ba675SRob Herring			reset-names = "wifi_cpu_init", "wifi_radio_srif",
525724ba675SRob Herring				      "wifi_radio_warm", "wifi_radio_cold",
526724ba675SRob Herring				      "wifi_core_warm", "wifi_core_cold";
527724ba675SRob Herring			clocks = <&gcc GCC_WCSS2G_CLK>,
528724ba675SRob Herring				 <&gcc GCC_WCSS2G_REF_CLK>,
529724ba675SRob Herring				 <&gcc GCC_WCSS2G_RTC_CLK>;
530724ba675SRob Herring			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
531724ba675SRob Herring				      "wifi_wcss_rtc";
532724ba675SRob Herring			interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
533724ba675SRob Herring				     <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
534724ba675SRob Herring				     <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
535724ba675SRob Herring				     <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
536724ba675SRob Herring				     <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
537724ba675SRob Herring				     <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>,
538724ba675SRob Herring				     <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>,
539724ba675SRob Herring				     <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
540724ba675SRob Herring				     <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
541724ba675SRob Herring				     <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
542724ba675SRob Herring				     <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>,
543724ba675SRob Herring				     <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>,
544724ba675SRob Herring				     <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
545724ba675SRob Herring				     <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
546724ba675SRob Herring				     <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
547724ba675SRob Herring				     <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>,
548724ba675SRob Herring				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
549724ba675SRob Herring			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
550724ba675SRob Herring					  "msi4",  "msi5",  "msi6",  "msi7",
551724ba675SRob Herring					  "msi8",  "msi9", "msi10", "msi11",
552724ba675SRob Herring					  "msi12", "msi13", "msi14", "msi15",
553724ba675SRob Herring					  "legacy";
554724ba675SRob Herring			status = "disabled";
555724ba675SRob Herring		};
556724ba675SRob Herring
557724ba675SRob Herring		wifi1: wifi@a800000 {
558724ba675SRob Herring			compatible = "qcom,ipq4019-wifi";
559724ba675SRob Herring			reg = <0xa800000 0x200000>;
560724ba675SRob Herring			resets = <&gcc WIFI1_CPU_INIT_RESET>,
561724ba675SRob Herring				 <&gcc WIFI1_RADIO_SRIF_RESET>,
562724ba675SRob Herring				 <&gcc WIFI1_RADIO_WARM_RESET>,
563724ba675SRob Herring				 <&gcc WIFI1_RADIO_COLD_RESET>,
564724ba675SRob Herring				 <&gcc WIFI1_CORE_WARM_RESET>,
565724ba675SRob Herring				 <&gcc WIFI1_CORE_COLD_RESET>;
566724ba675SRob Herring			reset-names = "wifi_cpu_init", "wifi_radio_srif",
567724ba675SRob Herring				      "wifi_radio_warm", "wifi_radio_cold",
568724ba675SRob Herring				      "wifi_core_warm", "wifi_core_cold";
569724ba675SRob Herring			clocks = <&gcc GCC_WCSS5G_CLK>,
570724ba675SRob Herring				 <&gcc GCC_WCSS5G_REF_CLK>,
571724ba675SRob Herring				 <&gcc GCC_WCSS5G_RTC_CLK>;
572724ba675SRob Herring			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
573724ba675SRob Herring				      "wifi_wcss_rtc";
574724ba675SRob Herring			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
575724ba675SRob Herring				     <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>,
576724ba675SRob Herring				     <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>,
577724ba675SRob Herring				     <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
578724ba675SRob Herring				     <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
579724ba675SRob Herring				     <GIC_SPI 53 IRQ_TYPE_EDGE_RISING>,
580724ba675SRob Herring				     <GIC_SPI 54 IRQ_TYPE_EDGE_RISING>,
581724ba675SRob Herring				     <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
582724ba675SRob Herring				     <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>,
583724ba675SRob Herring				     <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>,
584724ba675SRob Herring				     <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>,
585724ba675SRob Herring				     <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>,
586724ba675SRob Herring				     <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>,
587724ba675SRob Herring				     <GIC_SPI 61 IRQ_TYPE_EDGE_RISING>,
588724ba675SRob Herring				     <GIC_SPI 62 IRQ_TYPE_EDGE_RISING>,
589724ba675SRob Herring				     <GIC_SPI 63 IRQ_TYPE_EDGE_RISING>,
590724ba675SRob Herring				     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
591724ba675SRob Herring			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
592724ba675SRob Herring					  "msi4",  "msi5",  "msi6",  "msi7",
593724ba675SRob Herring					  "msi8",  "msi9", "msi10", "msi11",
594724ba675SRob Herring					  "msi12", "msi13", "msi14", "msi15",
595724ba675SRob Herring					  "legacy";
596724ba675SRob Herring			status = "disabled";
597724ba675SRob Herring		};
598724ba675SRob Herring
599724ba675SRob Herring		mdio: mdio@90000 {
600724ba675SRob Herring			#address-cells = <1>;
601724ba675SRob Herring			#size-cells = <0>;
602724ba675SRob Herring			compatible = "qcom,ipq4019-mdio";
603724ba675SRob Herring			reg = <0x90000 0x64>;
604724ba675SRob Herring			status = "disabled";
605724ba675SRob Herring
606724ba675SRob Herring			ethphy0: ethernet-phy@0 {
607724ba675SRob Herring				reg = <0>;
608724ba675SRob Herring			};
609724ba675SRob Herring
610724ba675SRob Herring			ethphy1: ethernet-phy@1 {
611724ba675SRob Herring				reg = <1>;
612724ba675SRob Herring			};
613724ba675SRob Herring
614724ba675SRob Herring			ethphy2: ethernet-phy@2 {
615724ba675SRob Herring				reg = <2>;
616724ba675SRob Herring			};
617724ba675SRob Herring
618724ba675SRob Herring			ethphy3: ethernet-phy@3 {
619724ba675SRob Herring				reg = <3>;
620724ba675SRob Herring			};
621724ba675SRob Herring
622724ba675SRob Herring			ethphy4: ethernet-phy@4 {
623724ba675SRob Herring				reg = <4>;
624724ba675SRob Herring			};
625724ba675SRob Herring		};
626724ba675SRob Herring
6277caf0921SKrzysztof Kozlowski		usb3_ss_phy: usb-phy@9a000 {
628724ba675SRob Herring			compatible = "qcom,usb-ss-ipq4019-phy";
629724ba675SRob Herring			#phy-cells = <0>;
630724ba675SRob Herring			reg = <0x9a000 0x800>;
631724ba675SRob Herring			reg-names = "phy_base";
632724ba675SRob Herring			resets = <&gcc USB3_UNIPHY_PHY_ARES>;
633724ba675SRob Herring			reset-names = "por_rst";
634724ba675SRob Herring			status = "disabled";
635724ba675SRob Herring		};
636724ba675SRob Herring
6377caf0921SKrzysztof Kozlowski		usb3_hs_phy: usb-phy@a6000 {
638724ba675SRob Herring			compatible = "qcom,usb-hs-ipq4019-phy";
639724ba675SRob Herring			#phy-cells = <0>;
640724ba675SRob Herring			reg = <0xa6000 0x40>;
641724ba675SRob Herring			reg-names = "phy_base";
642724ba675SRob Herring			resets = <&gcc USB3_HSPHY_POR_ARES>, <&gcc USB3_HSPHY_S_ARES>;
643724ba675SRob Herring			reset-names = "por_rst", "srif_rst";
644724ba675SRob Herring			status = "disabled";
645724ba675SRob Herring		};
646724ba675SRob Herring
6477caf0921SKrzysztof Kozlowski		usb3: usb@8af8800 {
648724ba675SRob Herring			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
649724ba675SRob Herring			reg = <0x8af8800 0x100>;
650724ba675SRob Herring			#address-cells = <1>;
651724ba675SRob Herring			#size-cells = <1>;
652724ba675SRob Herring			clocks = <&gcc GCC_USB3_MASTER_CLK>,
653724ba675SRob Herring				 <&gcc GCC_USB3_SLEEP_CLK>,
654724ba675SRob Herring				 <&gcc GCC_USB3_MOCK_UTMI_CLK>;
655724ba675SRob Herring			clock-names = "core", "sleep", "mock_utmi";
656724ba675SRob Herring			ranges;
657724ba675SRob Herring			status = "disabled";
658724ba675SRob Herring
6597caf0921SKrzysztof Kozlowski			usb3_dwc: usb@8a00000 {
660724ba675SRob Herring				compatible = "snps,dwc3";
661724ba675SRob Herring				reg = <0x8a00000 0xf8000>;
662724ba675SRob Herring				interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
663724ba675SRob Herring				phys = <&usb3_hs_phy>, <&usb3_ss_phy>;
664724ba675SRob Herring				phy-names = "usb2-phy", "usb3-phy";
665724ba675SRob Herring				dr_mode = "host";
666724ba675SRob Herring			};
667724ba675SRob Herring		};
668724ba675SRob Herring
6697caf0921SKrzysztof Kozlowski		usb2_hs_phy: usb-phy@a8000 {
670724ba675SRob Herring			compatible = "qcom,usb-hs-ipq4019-phy";
671724ba675SRob Herring			#phy-cells = <0>;
672724ba675SRob Herring			reg = <0xa8000 0x40>;
673724ba675SRob Herring			reg-names = "phy_base";
674724ba675SRob Herring			resets = <&gcc USB2_HSPHY_POR_ARES>, <&gcc USB2_HSPHY_S_ARES>;
675724ba675SRob Herring			reset-names = "por_rst", "srif_rst";
676724ba675SRob Herring			status = "disabled";
677724ba675SRob Herring		};
678724ba675SRob Herring
6797caf0921SKrzysztof Kozlowski		usb2: usb@60f8800 {
680724ba675SRob Herring			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
681724ba675SRob Herring			reg = <0x60f8800 0x100>;
682724ba675SRob Herring			#address-cells = <1>;
683724ba675SRob Herring			#size-cells = <1>;
684724ba675SRob Herring			clocks = <&gcc GCC_USB2_MASTER_CLK>,
685724ba675SRob Herring				 <&gcc GCC_USB2_SLEEP_CLK>,
686724ba675SRob Herring				 <&gcc GCC_USB2_MOCK_UTMI_CLK>;
687724ba675SRob Herring			clock-names = "master", "sleep", "mock_utmi";
688724ba675SRob Herring			ranges;
689724ba675SRob Herring			status = "disabled";
690724ba675SRob Herring
6917caf0921SKrzysztof Kozlowski			usb@6000000 {
692724ba675SRob Herring				compatible = "snps,dwc3";
693724ba675SRob Herring				reg = <0x6000000 0xf8000>;
694724ba675SRob Herring				interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
695724ba675SRob Herring				phys = <&usb2_hs_phy>;
696724ba675SRob Herring				phy-names = "usb2-phy";
697724ba675SRob Herring				dr_mode = "host";
698724ba675SRob Herring			};
699724ba675SRob Herring		};
700724ba675SRob Herring	};
701724ba675SRob Herring};
702