xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-ipq4019.dtsi (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
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";
50*7b49c9cfSKrzysztof Kozlowski			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";
64*7b49c9cfSKrzysztof Kozlowski			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";
78*7b49c9cfSKrzysztof Kozlowski			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";
92*7b49c9cfSKrzysztof Kozlowski			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
102*7b49c9cfSKrzysztof Kozlowski		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";
16581924ec7SKrzysztof Kozlowski		interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16681924ec7SKrzysztof Kozlowski			     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16781924ec7SKrzysztof Kozlowski			     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16881924ec7SKrzysztof Kozlowski			     <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
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			#reset-cells = <1>;
191724ba675SRob Herring			reg = <0x1800000 0x60000>;
192724ba675SRob Herring			clocks = <&xo>, <&sleep_clk>;
193724ba675SRob Herring			clock-names = "xo", "sleep_clk";
194724ba675SRob Herring		};
195724ba675SRob Herring
196724ba675SRob Herring		prng: rng@22000 {
197724ba675SRob Herring			compatible = "qcom,prng";
198724ba675SRob Herring			reg = <0x22000 0x140>;
199724ba675SRob Herring			clocks = <&gcc GCC_PRNG_AHB_CLK>;
200724ba675SRob Herring			clock-names = "core";
201724ba675SRob Herring			status = "disabled";
202724ba675SRob Herring		};
203724ba675SRob Herring
204724ba675SRob Herring		tlmm: pinctrl@1000000 {
205724ba675SRob Herring			compatible = "qcom,ipq4019-pinctrl";
206724ba675SRob Herring			reg = <0x01000000 0x300000>;
207724ba675SRob Herring			gpio-controller;
208724ba675SRob Herring			gpio-ranges = <&tlmm 0 0 100>;
209724ba675SRob Herring			#gpio-cells = <2>;
210724ba675SRob Herring			interrupt-controller;
211724ba675SRob Herring			#interrupt-cells = <2>;
212724ba675SRob Herring			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
213724ba675SRob Herring		};
214724ba675SRob Herring
215724ba675SRob Herring		vqmmc: regulator@1948000 {
216724ba675SRob Herring			compatible = "qcom,vqmmc-ipq4019-regulator";
217724ba675SRob Herring			reg = <0x01948000 0x4>;
218724ba675SRob Herring			regulator-name = "vqmmc";
219724ba675SRob Herring			regulator-min-microvolt = <1500000>;
220724ba675SRob Herring			regulator-max-microvolt = <3000000>;
221724ba675SRob Herring			regulator-always-on;
222724ba675SRob Herring			status = "disabled";
223724ba675SRob Herring		};
224724ba675SRob Herring
225724ba675SRob Herring		sdhci: mmc@7824900 {
2267514b28fSKrzysztof Kozlowski			compatible = "qcom,ipq4019-sdhci", "qcom,sdhci-msm-v4";
227724ba675SRob Herring			reg = <0x7824900 0x11c>, <0x7824000 0x800>;
228724ba675SRob Herring			reg-names = "hc", "core";
229724ba675SRob Herring			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
230724ba675SRob Herring			interrupt-names = "hc_irq", "pwr_irq";
231724ba675SRob Herring			bus-width = <8>;
232b5ed7a5cSRobert Marko			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
233b5ed7a5cSRobert Marko				 <&gcc GCC_SDCC1_APPS_CLK>,
234b5ed7a5cSRobert Marko				 <&xo>;
235b5ed7a5cSRobert Marko			clock-names = "iface",
236b5ed7a5cSRobert Marko				      "core",
237b5ed7a5cSRobert Marko				      "xo";
238724ba675SRob Herring			status = "disabled";
239724ba675SRob Herring		};
240724ba675SRob Herring
241724ba675SRob Herring		blsp_dma: dma-controller@7884000 {
242724ba675SRob Herring			compatible = "qcom,bam-v1.7.0";
243724ba675SRob Herring			reg = <0x07884000 0x23000>;
244724ba675SRob Herring			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
245724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
246724ba675SRob Herring			clock-names = "bam_clk";
247724ba675SRob Herring			#dma-cells = <1>;
248724ba675SRob Herring			qcom,ee = <0>;
249724ba675SRob Herring			status = "disabled";
250724ba675SRob Herring		};
251724ba675SRob Herring
252724ba675SRob Herring		blsp1_spi1: spi@78b5000 { /* BLSP1 QUP1 */
253724ba675SRob Herring			compatible = "qcom,spi-qup-v2.2.1";
254724ba675SRob Herring			reg = <0x78b5000 0x600>;
255724ba675SRob Herring			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
256724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
257724ba675SRob Herring				 <&gcc GCC_BLSP1_AHB_CLK>;
258724ba675SRob Herring			clock-names = "core", "iface";
259724ba675SRob Herring			#address-cells = <1>;
260724ba675SRob Herring			#size-cells = <0>;
261724ba675SRob Herring			dmas = <&blsp_dma 4>, <&blsp_dma 5>;
262724ba675SRob Herring			dma-names = "tx", "rx";
263724ba675SRob Herring			status = "disabled";
264724ba675SRob Herring		};
265724ba675SRob Herring
266724ba675SRob Herring		blsp1_spi2: spi@78b6000 { /* BLSP1 QUP2 */
267724ba675SRob Herring			compatible = "qcom,spi-qup-v2.2.1";
268724ba675SRob Herring			reg = <0x78b6000 0x600>;
269724ba675SRob Herring			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
270724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
271724ba675SRob Herring				<&gcc GCC_BLSP1_AHB_CLK>;
272724ba675SRob Herring			clock-names = "core", "iface";
273724ba675SRob Herring			#address-cells = <1>;
274724ba675SRob Herring			#size-cells = <0>;
275724ba675SRob Herring			dmas = <&blsp_dma 6>, <&blsp_dma 7>;
276724ba675SRob Herring			dma-names = "tx", "rx";
277724ba675SRob Herring			status = "disabled";
278724ba675SRob Herring		};
279724ba675SRob Herring
280724ba675SRob Herring		blsp1_i2c3: i2c@78b7000 { /* BLSP1 QUP3 */
281724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.2.1";
282724ba675SRob Herring			reg = <0x78b7000 0x600>;
283724ba675SRob Herring			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
284724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
285724ba675SRob Herring				 <&gcc GCC_BLSP1_AHB_CLK>;
286724ba675SRob Herring			clock-names = "core", "iface";
287724ba675SRob Herring			#address-cells = <1>;
288724ba675SRob Herring			#size-cells = <0>;
289724ba675SRob Herring			dmas = <&blsp_dma 8>, <&blsp_dma 9>;
290724ba675SRob Herring			dma-names = "tx", "rx";
291724ba675SRob Herring			status = "disabled";
292724ba675SRob Herring		};
293724ba675SRob Herring
294724ba675SRob Herring		blsp1_i2c4: i2c@78b8000 { /* BLSP1 QUP4 */
295724ba675SRob Herring			compatible = "qcom,i2c-qup-v2.2.1";
296724ba675SRob Herring			reg = <0x78b8000 0x600>;
297724ba675SRob Herring			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
298724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
299724ba675SRob Herring				 <&gcc GCC_BLSP1_AHB_CLK>;
300724ba675SRob Herring			clock-names = "core", "iface";
301724ba675SRob Herring			#address-cells = <1>;
302724ba675SRob Herring			#size-cells = <0>;
303724ba675SRob Herring			dmas = <&blsp_dma 10>, <&blsp_dma 11>;
304724ba675SRob Herring			dma-names = "tx", "rx";
305724ba675SRob Herring			status = "disabled";
306724ba675SRob Herring		};
307724ba675SRob Herring
308724ba675SRob Herring		cryptobam: dma-controller@8e04000 {
309724ba675SRob Herring			compatible = "qcom,bam-v1.7.0";
310724ba675SRob Herring			reg = <0x08e04000 0x20000>;
311724ba675SRob Herring			interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
312724ba675SRob Herring			clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
313724ba675SRob Herring			clock-names = "bam_clk";
314724ba675SRob Herring			#dma-cells = <1>;
315724ba675SRob Herring			qcom,ee = <1>;
316724ba675SRob Herring			qcom,controlled-remotely;
317724ba675SRob Herring			status = "disabled";
318724ba675SRob Herring		};
319724ba675SRob Herring
320724ba675SRob Herring		crypto: crypto@8e3a000 {
321724ba675SRob Herring			compatible = "qcom,crypto-v5.1";
322724ba675SRob Herring			reg = <0x08e3a000 0x6000>;
323724ba675SRob Herring			clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
324724ba675SRob Herring				 <&gcc GCC_CRYPTO_AXI_CLK>,
325724ba675SRob Herring				 <&gcc GCC_CRYPTO_CLK>;
326724ba675SRob Herring			clock-names = "iface", "bus", "core";
327724ba675SRob Herring			dmas = <&cryptobam 2>, <&cryptobam 3>;
328724ba675SRob Herring			dma-names = "rx", "tx";
329724ba675SRob Herring			status = "disabled";
330724ba675SRob Herring		};
331724ba675SRob Herring
332724ba675SRob Herring		acc0: power-manager@b088000 {
333724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
334724ba675SRob Herring			reg = <0x0b088000 0x1000>, <0xb008000 0x1000>;
335724ba675SRob Herring		};
336724ba675SRob Herring
337724ba675SRob Herring		acc1: power-manager@b098000 {
338724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
339724ba675SRob Herring			reg = <0x0b098000 0x1000>, <0xb008000 0x1000>;
340724ba675SRob Herring		};
341724ba675SRob Herring
342724ba675SRob Herring		acc2: power-manager@b0a8000 {
343724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
344724ba675SRob Herring			reg = <0x0b0a8000 0x1000>, <0xb008000 0x1000>;
345724ba675SRob Herring		};
346724ba675SRob Herring
347724ba675SRob Herring		acc3: power-manager@b0b8000 {
348724ba675SRob Herring			compatible = "qcom,kpss-acc-v2";
349724ba675SRob Herring			reg = <0x0b0b8000 0x1000>, <0xb008000 0x1000>;
350724ba675SRob Herring		};
351724ba675SRob Herring
3523ea06103SDmitry Baryshkov		saw0: power-manager@b089000 {
3538cad85bfSDmitry Baryshkov			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
354724ba675SRob Herring			reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>;
355724ba675SRob Herring		};
356724ba675SRob Herring
3573ea06103SDmitry Baryshkov		saw1: power-manager@b099000 {
3588cad85bfSDmitry Baryshkov			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
359724ba675SRob Herring			reg = <0x0b099000 0x1000>, <0x0b009000 0x1000>;
360724ba675SRob Herring		};
361724ba675SRob Herring
3623ea06103SDmitry Baryshkov		saw2: power-manager@b0a9000 {
3638cad85bfSDmitry Baryshkov			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
364724ba675SRob Herring			reg = <0x0b0a9000 0x1000>, <0x0b009000 0x1000>;
365724ba675SRob Herring		};
366724ba675SRob Herring
3673ea06103SDmitry Baryshkov		saw3: power-manager@b0b9000 {
3688cad85bfSDmitry Baryshkov			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
369724ba675SRob Herring			reg = <0x0b0b9000 0x1000>, <0x0b009000 0x1000>;
370724ba675SRob Herring		};
371724ba675SRob Herring
3723ea06103SDmitry Baryshkov		saw_l2: power-manager@b012000 {
3738cad85bfSDmitry Baryshkov			compatible = "qcom,ipq4019-saw2-l2", "qcom,saw2";
374724ba675SRob Herring			reg = <0xb012000 0x1000>;
375724ba675SRob Herring		};
376724ba675SRob Herring
377724ba675SRob Herring		blsp1_uart1: serial@78af000 {
378724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
379724ba675SRob Herring			reg = <0x78af000 0x200>;
380724ba675SRob Herring			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
381724ba675SRob Herring			status = "disabled";
382724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
383724ba675SRob Herring				<&gcc GCC_BLSP1_AHB_CLK>;
384724ba675SRob Herring			clock-names = "core", "iface";
385724ba675SRob Herring			dmas = <&blsp_dma 0>, <&blsp_dma 1>;
386724ba675SRob Herring			dma-names = "tx", "rx";
387724ba675SRob Herring		};
388724ba675SRob Herring
389724ba675SRob Herring		blsp1_uart2: serial@78b0000 {
390724ba675SRob Herring			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
391724ba675SRob Herring			reg = <0x78b0000 0x200>;
392724ba675SRob Herring			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
393724ba675SRob Herring			status = "disabled";
394724ba675SRob Herring			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
395724ba675SRob Herring				<&gcc GCC_BLSP1_AHB_CLK>;
396724ba675SRob Herring			clock-names = "core", "iface";
397724ba675SRob Herring			dmas = <&blsp_dma 2>, <&blsp_dma 3>;
398724ba675SRob Herring			dma-names = "tx", "rx";
399724ba675SRob Herring		};
400724ba675SRob Herring
401724ba675SRob Herring		watchdog: watchdog@b017000 {
402724ba675SRob Herring			compatible = "qcom,kpss-wdt-ipq4019", "qcom,kpss-wdt";
403724ba675SRob Herring			reg = <0xb017000 0x40>;
404724ba675SRob Herring			clocks = <&sleep_clk>;
405724ba675SRob Herring			timeout-sec = <10>;
406724ba675SRob Herring			status = "disabled";
407724ba675SRob Herring		};
408724ba675SRob Herring
409724ba675SRob Herring		restart@4ab000 {
410724ba675SRob Herring			compatible = "qcom,pshold";
411724ba675SRob Herring			reg = <0x4ab000 0x4>;
412724ba675SRob Herring		};
413724ba675SRob Herring
41407299ba2SManivannan Sadhasivam		pcie0: pcie@40000000 {
415724ba675SRob Herring			compatible = "qcom,pcie-ipq4019";
416c4cf1cc5SKrzysztof Kozlowski			reg = <0x40000000 0xf1d>,
417c4cf1cc5SKrzysztof Kozlowski			      <0x40000f20 0xa8>,
418c4cf1cc5SKrzysztof Kozlowski			      <0x80000 0x2000>,
419c4cf1cc5SKrzysztof Kozlowski			      <0x40100000 0x1000>;
420724ba675SRob Herring			reg-names = "dbi", "elbi", "parf", "config";
421724ba675SRob Herring			device_type = "pci";
422724ba675SRob Herring			linux,pci-domain = <0>;
423724ba675SRob Herring			bus-range = <0x00 0xff>;
424724ba675SRob Herring			num-lanes = <1>;
425724ba675SRob Herring			#address-cells = <3>;
426724ba675SRob Herring			#size-cells = <2>;
427724ba675SRob Herring
428724ba675SRob Herring			ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>,
429724ba675SRob Herring				 <0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>;
430724ba675SRob Herring
431724ba675SRob Herring			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
432724ba675SRob Herring			interrupt-names = "msi";
433724ba675SRob Herring			#interrupt-cells = <1>;
434724ba675SRob Herring			interrupt-map-mask = <0 0 0 0x7>;
435724ba675SRob Herring			interrupt-map = <0 0 0 1 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
436724ba675SRob Herring					<0 0 0 2 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
437724ba675SRob Herring					<0 0 0 3 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
438724ba675SRob Herring					<0 0 0 4 &intc 0 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
439724ba675SRob Herring			clocks = <&gcc GCC_PCIE_AHB_CLK>,
440724ba675SRob Herring				 <&gcc GCC_PCIE_AXI_M_CLK>,
441724ba675SRob Herring				 <&gcc GCC_PCIE_AXI_S_CLK>;
442724ba675SRob Herring			clock-names = "aux",
443724ba675SRob Herring				      "master_bus",
444724ba675SRob Herring				      "slave_bus";
445724ba675SRob Herring
446724ba675SRob Herring			resets = <&gcc PCIE_AXI_M_ARES>,
447724ba675SRob Herring				 <&gcc PCIE_AXI_S_ARES>,
448724ba675SRob Herring				 <&gcc PCIE_PIPE_ARES>,
449724ba675SRob Herring				 <&gcc PCIE_AXI_M_VMIDMT_ARES>,
450724ba675SRob Herring				 <&gcc PCIE_AXI_S_XPU_ARES>,
451724ba675SRob Herring				 <&gcc PCIE_PARF_XPU_ARES>,
452724ba675SRob Herring				 <&gcc PCIE_PHY_ARES>,
453724ba675SRob Herring				 <&gcc PCIE_AXI_M_STICKY_ARES>,
454724ba675SRob Herring				 <&gcc PCIE_PIPE_STICKY_ARES>,
455724ba675SRob Herring				 <&gcc PCIE_PWR_ARES>,
456724ba675SRob Herring				 <&gcc PCIE_AHB_ARES>,
457724ba675SRob Herring				 <&gcc PCIE_PHY_AHB_ARES>;
458724ba675SRob Herring			reset-names = "axi_m",
459724ba675SRob Herring				      "axi_s",
460724ba675SRob Herring				      "pipe",
461724ba675SRob Herring				      "axi_m_vmid",
462724ba675SRob Herring				      "axi_s_xpu",
463724ba675SRob Herring				      "parf",
464724ba675SRob Herring				      "phy",
465724ba675SRob Herring				      "axi_m_sticky",
466724ba675SRob Herring				      "pipe_sticky",
467724ba675SRob Herring				      "pwr",
468724ba675SRob Herring				      "ahb",
469724ba675SRob Herring				      "phy_ahb";
470724ba675SRob Herring
471724ba675SRob Herring			status = "disabled";
472ed9b1964SManivannan Sadhasivam
473ed9b1964SManivannan Sadhasivam			pcie@0 {
474ed9b1964SManivannan Sadhasivam				device_type = "pci";
475ed9b1964SManivannan Sadhasivam				reg = <0x0 0x0 0x0 0x0 0x0>;
476ed9b1964SManivannan Sadhasivam				bus-range = <0x01 0xff>;
477ed9b1964SManivannan Sadhasivam
478ed9b1964SManivannan Sadhasivam				#address-cells = <3>;
479ed9b1964SManivannan Sadhasivam				#size-cells = <2>;
480ed9b1964SManivannan Sadhasivam				ranges;
481ed9b1964SManivannan Sadhasivam			};
482724ba675SRob Herring		};
483724ba675SRob Herring
484724ba675SRob Herring		qpic_bam: dma-controller@7984000 {
485724ba675SRob Herring			compatible = "qcom,bam-v1.7.0";
486724ba675SRob Herring			reg = <0x7984000 0x1a000>;
487724ba675SRob Herring			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
488724ba675SRob Herring			clocks = <&gcc GCC_QPIC_CLK>;
489724ba675SRob Herring			clock-names = "bam_clk";
490724ba675SRob Herring			#dma-cells = <1>;
491724ba675SRob Herring			qcom,ee = <0>;
492724ba675SRob Herring			status = "disabled";
493724ba675SRob Herring		};
494724ba675SRob Herring
495724ba675SRob Herring		nand: nand-controller@79b0000 {
496724ba675SRob Herring			compatible = "qcom,ipq4019-nand";
497724ba675SRob Herring			reg = <0x79b0000 0x1000>;
498724ba675SRob Herring			#address-cells = <1>;
499724ba675SRob Herring			#size-cells = <0>;
500724ba675SRob Herring			clocks = <&gcc GCC_QPIC_CLK>,
501724ba675SRob Herring				 <&gcc GCC_QPIC_AHB_CLK>;
502724ba675SRob Herring			clock-names = "core", "aon";
503724ba675SRob Herring
504724ba675SRob Herring			dmas = <&qpic_bam 0>,
505724ba675SRob Herring			       <&qpic_bam 1>,
506724ba675SRob Herring			       <&qpic_bam 2>;
507724ba675SRob Herring			dma-names = "tx", "rx", "cmd";
508724ba675SRob Herring			status = "disabled";
509724ba675SRob Herring
510724ba675SRob Herring			nand@0 {
511724ba675SRob Herring				reg = <0>;
512724ba675SRob Herring
513724ba675SRob Herring				nand-ecc-strength = <4>;
514724ba675SRob Herring				nand-ecc-step-size = <512>;
515724ba675SRob Herring				nand-bus-width = <8>;
516724ba675SRob Herring			};
517724ba675SRob Herring		};
518724ba675SRob Herring
519724ba675SRob Herring		wifi0: wifi@a000000 {
520724ba675SRob Herring			compatible = "qcom,ipq4019-wifi";
521724ba675SRob Herring			reg = <0xa000000 0x200000>;
522724ba675SRob Herring			resets = <&gcc WIFI0_CPU_INIT_RESET>,
523724ba675SRob Herring				 <&gcc WIFI0_RADIO_SRIF_RESET>,
524724ba675SRob Herring				 <&gcc WIFI0_RADIO_WARM_RESET>,
525724ba675SRob Herring				 <&gcc WIFI0_RADIO_COLD_RESET>,
526724ba675SRob Herring				 <&gcc WIFI0_CORE_WARM_RESET>,
527724ba675SRob Herring				 <&gcc WIFI0_CORE_COLD_RESET>;
528724ba675SRob Herring			reset-names = "wifi_cpu_init", "wifi_radio_srif",
529724ba675SRob Herring				      "wifi_radio_warm", "wifi_radio_cold",
530724ba675SRob Herring				      "wifi_core_warm", "wifi_core_cold";
531724ba675SRob Herring			clocks = <&gcc GCC_WCSS2G_CLK>,
532724ba675SRob Herring				 <&gcc GCC_WCSS2G_REF_CLK>,
533724ba675SRob Herring				 <&gcc GCC_WCSS2G_RTC_CLK>;
534724ba675SRob Herring			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
535724ba675SRob Herring				      "wifi_wcss_rtc";
536724ba675SRob Herring			interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
537724ba675SRob Herring				     <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
538724ba675SRob Herring				     <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
539724ba675SRob Herring				     <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
540724ba675SRob Herring				     <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
541724ba675SRob Herring				     <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>,
542724ba675SRob Herring				     <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>,
543724ba675SRob Herring				     <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
544724ba675SRob Herring				     <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
545724ba675SRob Herring				     <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
546724ba675SRob Herring				     <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>,
547724ba675SRob Herring				     <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>,
548724ba675SRob Herring				     <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
549724ba675SRob Herring				     <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
550724ba675SRob Herring				     <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
551724ba675SRob Herring				     <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>,
552724ba675SRob Herring				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
553724ba675SRob Herring			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
554724ba675SRob Herring					  "msi4",  "msi5",  "msi6",  "msi7",
555724ba675SRob Herring					  "msi8",  "msi9", "msi10", "msi11",
556724ba675SRob Herring					  "msi12", "msi13", "msi14", "msi15",
557724ba675SRob Herring					  "legacy";
558724ba675SRob Herring			status = "disabled";
559724ba675SRob Herring		};
560724ba675SRob Herring
561724ba675SRob Herring		wifi1: wifi@a800000 {
562724ba675SRob Herring			compatible = "qcom,ipq4019-wifi";
563724ba675SRob Herring			reg = <0xa800000 0x200000>;
564724ba675SRob Herring			resets = <&gcc WIFI1_CPU_INIT_RESET>,
565724ba675SRob Herring				 <&gcc WIFI1_RADIO_SRIF_RESET>,
566724ba675SRob Herring				 <&gcc WIFI1_RADIO_WARM_RESET>,
567724ba675SRob Herring				 <&gcc WIFI1_RADIO_COLD_RESET>,
568724ba675SRob Herring				 <&gcc WIFI1_CORE_WARM_RESET>,
569724ba675SRob Herring				 <&gcc WIFI1_CORE_COLD_RESET>;
570724ba675SRob Herring			reset-names = "wifi_cpu_init", "wifi_radio_srif",
571724ba675SRob Herring				      "wifi_radio_warm", "wifi_radio_cold",
572724ba675SRob Herring				      "wifi_core_warm", "wifi_core_cold";
573724ba675SRob Herring			clocks = <&gcc GCC_WCSS5G_CLK>,
574724ba675SRob Herring				 <&gcc GCC_WCSS5G_REF_CLK>,
575724ba675SRob Herring				 <&gcc GCC_WCSS5G_RTC_CLK>;
576724ba675SRob Herring			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
577724ba675SRob Herring				      "wifi_wcss_rtc";
578724ba675SRob Herring			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
579724ba675SRob Herring				     <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>,
580724ba675SRob Herring				     <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>,
581724ba675SRob Herring				     <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
582724ba675SRob Herring				     <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
583724ba675SRob Herring				     <GIC_SPI 53 IRQ_TYPE_EDGE_RISING>,
584724ba675SRob Herring				     <GIC_SPI 54 IRQ_TYPE_EDGE_RISING>,
585724ba675SRob Herring				     <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
586724ba675SRob Herring				     <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>,
587724ba675SRob Herring				     <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>,
588724ba675SRob Herring				     <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>,
589724ba675SRob Herring				     <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>,
590724ba675SRob Herring				     <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>,
591724ba675SRob Herring				     <GIC_SPI 61 IRQ_TYPE_EDGE_RISING>,
592724ba675SRob Herring				     <GIC_SPI 62 IRQ_TYPE_EDGE_RISING>,
593724ba675SRob Herring				     <GIC_SPI 63 IRQ_TYPE_EDGE_RISING>,
594724ba675SRob Herring				     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
595724ba675SRob Herring			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
596724ba675SRob Herring					  "msi4",  "msi5",  "msi6",  "msi7",
597724ba675SRob Herring					  "msi8",  "msi9", "msi10", "msi11",
598724ba675SRob Herring					  "msi12", "msi13", "msi14", "msi15",
599724ba675SRob Herring					  "legacy";
600724ba675SRob Herring			status = "disabled";
601724ba675SRob Herring		};
602724ba675SRob Herring
603724ba675SRob Herring		mdio: mdio@90000 {
604724ba675SRob Herring			#address-cells = <1>;
605724ba675SRob Herring			#size-cells = <0>;
606724ba675SRob Herring			compatible = "qcom,ipq4019-mdio";
607724ba675SRob Herring			reg = <0x90000 0x64>;
608724ba675SRob Herring			status = "disabled";
609724ba675SRob Herring
6102338f431SChristian Marangi			ethernet-phy-package@0 {
6112338f431SChristian Marangi				#address-cells = <1>;
6122338f431SChristian Marangi				#size-cells = <0>;
6132338f431SChristian Marangi				compatible = "qcom,qca8075-package";
6142338f431SChristian Marangi				reg = <0>;
6152338f431SChristian Marangi
6162338f431SChristian Marangi				qcom,tx-drive-strength-milliwatt = <300>;
6172338f431SChristian Marangi
618724ba675SRob Herring				ethphy0: ethernet-phy@0 {
619724ba675SRob Herring					reg = <0>;
620724ba675SRob Herring				};
621724ba675SRob Herring
622724ba675SRob Herring				ethphy1: ethernet-phy@1 {
623724ba675SRob Herring					reg = <1>;
624724ba675SRob Herring				};
625724ba675SRob Herring
626724ba675SRob Herring				ethphy2: ethernet-phy@2 {
627724ba675SRob Herring					reg = <2>;
628724ba675SRob Herring				};
629724ba675SRob Herring
630724ba675SRob Herring				ethphy3: ethernet-phy@3 {
631724ba675SRob Herring					reg = <3>;
632724ba675SRob Herring				};
633724ba675SRob Herring
634724ba675SRob Herring				ethphy4: ethernet-phy@4 {
635724ba675SRob Herring					reg = <4>;
636724ba675SRob Herring				};
637724ba675SRob Herring			};
6382338f431SChristian Marangi		};
639724ba675SRob Herring
6407caf0921SKrzysztof Kozlowski		usb3_ss_phy: usb-phy@9a000 {
641724ba675SRob Herring			compatible = "qcom,usb-ss-ipq4019-phy";
642724ba675SRob Herring			#phy-cells = <0>;
643724ba675SRob Herring			reg = <0x9a000 0x800>;
644724ba675SRob Herring			reg-names = "phy_base";
645724ba675SRob Herring			resets = <&gcc USB3_UNIPHY_PHY_ARES>;
646724ba675SRob Herring			reset-names = "por_rst";
647724ba675SRob Herring			status = "disabled";
648724ba675SRob Herring		};
649724ba675SRob Herring
6507caf0921SKrzysztof Kozlowski		usb3_hs_phy: usb-phy@a6000 {
651724ba675SRob Herring			compatible = "qcom,usb-hs-ipq4019-phy";
652724ba675SRob Herring			#phy-cells = <0>;
653724ba675SRob Herring			reg = <0xa6000 0x40>;
654724ba675SRob Herring			reg-names = "phy_base";
655724ba675SRob Herring			resets = <&gcc USB3_HSPHY_POR_ARES>, <&gcc USB3_HSPHY_S_ARES>;
656724ba675SRob Herring			reset-names = "por_rst", "srif_rst";
657724ba675SRob Herring			status = "disabled";
658724ba675SRob Herring		};
659724ba675SRob Herring
6607caf0921SKrzysztof Kozlowski		usb3: usb@8af8800 {
661724ba675SRob Herring			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
662724ba675SRob Herring			reg = <0x8af8800 0x100>;
663724ba675SRob Herring			#address-cells = <1>;
664724ba675SRob Herring			#size-cells = <1>;
665724ba675SRob Herring			clocks = <&gcc GCC_USB3_MASTER_CLK>,
666724ba675SRob Herring				 <&gcc GCC_USB3_SLEEP_CLK>,
667724ba675SRob Herring				 <&gcc GCC_USB3_MOCK_UTMI_CLK>;
668724ba675SRob Herring			clock-names = "core", "sleep", "mock_utmi";
669724ba675SRob Herring			ranges;
670724ba675SRob Herring			status = "disabled";
671724ba675SRob Herring
6727caf0921SKrzysztof Kozlowski			usb3_dwc: usb@8a00000 {
673724ba675SRob Herring				compatible = "snps,dwc3";
674724ba675SRob Herring				reg = <0x8a00000 0xf8000>;
675724ba675SRob Herring				interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
676724ba675SRob Herring				phys = <&usb3_hs_phy>, <&usb3_ss_phy>;
677724ba675SRob Herring				phy-names = "usb2-phy", "usb3-phy";
678724ba675SRob Herring				dr_mode = "host";
679724ba675SRob Herring			};
680724ba675SRob Herring		};
681724ba675SRob Herring
6827caf0921SKrzysztof Kozlowski		usb2_hs_phy: usb-phy@a8000 {
683724ba675SRob Herring			compatible = "qcom,usb-hs-ipq4019-phy";
684724ba675SRob Herring			#phy-cells = <0>;
685724ba675SRob Herring			reg = <0xa8000 0x40>;
686724ba675SRob Herring			reg-names = "phy_base";
687724ba675SRob Herring			resets = <&gcc USB2_HSPHY_POR_ARES>, <&gcc USB2_HSPHY_S_ARES>;
688724ba675SRob Herring			reset-names = "por_rst", "srif_rst";
689724ba675SRob Herring			status = "disabled";
690724ba675SRob Herring		};
691724ba675SRob Herring
6927caf0921SKrzysztof Kozlowski		usb2: usb@60f8800 {
693724ba675SRob Herring			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
694724ba675SRob Herring			reg = <0x60f8800 0x100>;
695724ba675SRob Herring			#address-cells = <1>;
696724ba675SRob Herring			#size-cells = <1>;
697724ba675SRob Herring			clocks = <&gcc GCC_USB2_MASTER_CLK>,
698724ba675SRob Herring				 <&gcc GCC_USB2_SLEEP_CLK>,
699724ba675SRob Herring				 <&gcc GCC_USB2_MOCK_UTMI_CLK>;
70071ae7237SKrzysztof Kozlowski			clock-names = "core", "sleep", "mock_utmi";
701724ba675SRob Herring			ranges;
702724ba675SRob Herring			status = "disabled";
703724ba675SRob Herring
7047caf0921SKrzysztof Kozlowski			usb@6000000 {
705724ba675SRob Herring				compatible = "snps,dwc3";
706724ba675SRob Herring				reg = <0x6000000 0xf8000>;
707724ba675SRob Herring				interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
708724ba675SRob Herring				phys = <&usb2_hs_phy>;
709724ba675SRob Herring				phy-names = "usb2-phy";
710724ba675SRob Herring				dr_mode = "host";
711724ba675SRob Herring			};
712724ba675SRob Herring		};
713724ba675SRob Herring	};
714724ba675SRob Herring};
715