xref: /freebsd-src/sys/contrib/device-tree/src/arm/qcom/qcom-ipq4019.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-ipq4019.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	#address-cells = <1>;
14f126890aSEmmanuel Vadot	#size-cells = <1>;
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot	model = "Qualcomm Technologies, Inc. IPQ4019";
17f126890aSEmmanuel Vadot	compatible = "qcom,ipq4019";
18f126890aSEmmanuel Vadot	interrupt-parent = <&intc>;
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot	reserved-memory {
21f126890aSEmmanuel Vadot		#address-cells = <0x1>;
22f126890aSEmmanuel Vadot		#size-cells = <0x1>;
23f126890aSEmmanuel Vadot		ranges;
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot		smem_region: smem@87e00000 {
26f126890aSEmmanuel Vadot			reg = <0x87e00000 0x080000>;
27f126890aSEmmanuel Vadot			no-map;
28f126890aSEmmanuel Vadot		};
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot		tz@87e80000 {
31f126890aSEmmanuel Vadot			reg = <0x87e80000 0x180000>;
32f126890aSEmmanuel Vadot			no-map;
33f126890aSEmmanuel Vadot		};
34f126890aSEmmanuel Vadot	};
35f126890aSEmmanuel Vadot
36f126890aSEmmanuel Vadot	aliases {
37f126890aSEmmanuel Vadot		spi0 = &blsp1_spi1;
38f126890aSEmmanuel Vadot		spi1 = &blsp1_spi2;
39f126890aSEmmanuel Vadot		i2c0 = &blsp1_i2c3;
40f126890aSEmmanuel Vadot		i2c1 = &blsp1_i2c4;
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot	cpus {
44f126890aSEmmanuel Vadot		#address-cells = <1>;
45f126890aSEmmanuel Vadot		#size-cells = <0>;
46f126890aSEmmanuel Vadot		cpu@0 {
47f126890aSEmmanuel Vadot			device_type = "cpu";
48f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
49f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
50f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
51f126890aSEmmanuel Vadot			qcom,acc = <&acc0>;
52f126890aSEmmanuel Vadot			qcom,saw = <&saw0>;
53f126890aSEmmanuel Vadot			reg = <0x0>;
54f126890aSEmmanuel Vadot			clocks = <&gcc GCC_APPS_CLK_SRC>;
55f126890aSEmmanuel Vadot			clock-frequency = <0>;
56f126890aSEmmanuel Vadot			clock-latency = <256000>;
57f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
58f126890aSEmmanuel Vadot		};
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot		cpu@1 {
61f126890aSEmmanuel Vadot			device_type = "cpu";
62f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
63f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
64f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
65f126890aSEmmanuel Vadot			qcom,acc = <&acc1>;
66f126890aSEmmanuel Vadot			qcom,saw = <&saw1>;
67f126890aSEmmanuel Vadot			reg = <0x1>;
68f126890aSEmmanuel Vadot			clocks = <&gcc GCC_APPS_CLK_SRC>;
69f126890aSEmmanuel Vadot			clock-frequency = <0>;
70f126890aSEmmanuel Vadot			clock-latency = <256000>;
71f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
72f126890aSEmmanuel Vadot		};
73f126890aSEmmanuel Vadot
74f126890aSEmmanuel Vadot		cpu@2 {
75f126890aSEmmanuel Vadot			device_type = "cpu";
76f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
77f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
78f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
79f126890aSEmmanuel Vadot			qcom,acc = <&acc2>;
80f126890aSEmmanuel Vadot			qcom,saw = <&saw2>;
81f126890aSEmmanuel Vadot			reg = <0x2>;
82f126890aSEmmanuel Vadot			clocks = <&gcc GCC_APPS_CLK_SRC>;
83f126890aSEmmanuel Vadot			clock-frequency = <0>;
84f126890aSEmmanuel Vadot			clock-latency = <256000>;
85f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
86f126890aSEmmanuel Vadot		};
87f126890aSEmmanuel Vadot
88f126890aSEmmanuel Vadot		cpu@3 {
89f126890aSEmmanuel Vadot			device_type = "cpu";
90f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
91f126890aSEmmanuel Vadot			enable-method = "qcom,kpss-acc-v2";
92f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
93f126890aSEmmanuel Vadot			qcom,acc = <&acc3>;
94f126890aSEmmanuel Vadot			qcom,saw = <&saw3>;
95f126890aSEmmanuel Vadot			reg = <0x3>;
96f126890aSEmmanuel Vadot			clocks = <&gcc GCC_APPS_CLK_SRC>;
97f126890aSEmmanuel Vadot			clock-frequency = <0>;
98f126890aSEmmanuel Vadot			clock-latency = <256000>;
99f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
100f126890aSEmmanuel Vadot		};
101f126890aSEmmanuel Vadot
102f126890aSEmmanuel Vadot		L2: l2-cache {
103f126890aSEmmanuel Vadot			compatible = "cache";
104f126890aSEmmanuel Vadot			cache-level = <2>;
105f126890aSEmmanuel Vadot			cache-unified;
106f126890aSEmmanuel Vadot			qcom,saw = <&saw_l2>;
107f126890aSEmmanuel Vadot		};
108f126890aSEmmanuel Vadot	};
109f126890aSEmmanuel Vadot
110f126890aSEmmanuel Vadot	cpu0_opp_table: opp-table {
111f126890aSEmmanuel Vadot		compatible = "operating-points-v2";
112f126890aSEmmanuel Vadot		opp-shared;
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot		opp-48000000 {
115f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <48000000>;
116f126890aSEmmanuel Vadot			clock-latency-ns = <256000>;
117f126890aSEmmanuel Vadot		};
118f126890aSEmmanuel Vadot		opp-200000000 {
119f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <200000000>;
120f126890aSEmmanuel Vadot			clock-latency-ns = <256000>;
121f126890aSEmmanuel Vadot		};
122f126890aSEmmanuel Vadot		opp-500000000 {
123f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <500000000>;
124f126890aSEmmanuel Vadot			clock-latency-ns = <256000>;
125f126890aSEmmanuel Vadot		};
126f126890aSEmmanuel Vadot		opp-716000000 {
127f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <716000000>;
128f126890aSEmmanuel Vadot			clock-latency-ns = <256000>;
129f126890aSEmmanuel Vadot 		};
130f126890aSEmmanuel Vadot	};
131f126890aSEmmanuel Vadot
132f126890aSEmmanuel Vadot	memory {
133f126890aSEmmanuel Vadot		device_type = "memory";
134f126890aSEmmanuel Vadot		reg = <0x0 0x0>;
135f126890aSEmmanuel Vadot	};
136f126890aSEmmanuel Vadot
137f126890aSEmmanuel Vadot	pmu {
138f126890aSEmmanuel Vadot		compatible = "arm,cortex-a7-pmu";
139f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) |
140f126890aSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH)>;
141f126890aSEmmanuel Vadot	};
142f126890aSEmmanuel Vadot
143f126890aSEmmanuel Vadot	clocks {
144f126890aSEmmanuel Vadot		sleep_clk: sleep_clk {
145f126890aSEmmanuel Vadot			compatible = "fixed-clock";
146f126890aSEmmanuel Vadot			clock-frequency = <32000>;
147f126890aSEmmanuel Vadot			#clock-cells = <0>;
148f126890aSEmmanuel Vadot		};
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot		xo: xo {
151f126890aSEmmanuel Vadot			compatible = "fixed-clock";
152f126890aSEmmanuel Vadot			clock-frequency = <48000000>;
153f126890aSEmmanuel Vadot			#clock-cells = <0>;
154f126890aSEmmanuel Vadot		};
155f126890aSEmmanuel Vadot	};
156f126890aSEmmanuel Vadot
157f126890aSEmmanuel Vadot	firmware {
158f126890aSEmmanuel Vadot		scm {
159f126890aSEmmanuel Vadot			compatible = "qcom,scm-ipq4019", "qcom,scm";
160f126890aSEmmanuel Vadot		};
161f126890aSEmmanuel Vadot	};
162f126890aSEmmanuel Vadot
163f126890aSEmmanuel Vadot	timer {
164f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
16501950c46SEmmanuel Vadot		interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16601950c46SEmmanuel Vadot			     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16701950c46SEmmanuel Vadot			     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
16801950c46SEmmanuel Vadot			     <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
169f126890aSEmmanuel Vadot		clock-frequency = <48000000>;
170f126890aSEmmanuel Vadot		always-on;
171f126890aSEmmanuel Vadot	};
172f126890aSEmmanuel Vadot
173f126890aSEmmanuel Vadot	soc {
174f126890aSEmmanuel Vadot		#address-cells = <1>;
175f126890aSEmmanuel Vadot		#size-cells = <1>;
176f126890aSEmmanuel Vadot		ranges;
177f126890aSEmmanuel Vadot		compatible = "simple-bus";
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot		intc: interrupt-controller@b000000 {
180f126890aSEmmanuel Vadot			compatible = "qcom,msm-qgic2";
181f126890aSEmmanuel Vadot			interrupt-controller;
182f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
183f126890aSEmmanuel Vadot			reg = <0x0b000000 0x1000>,
184f126890aSEmmanuel Vadot			<0x0b002000 0x1000>;
185f126890aSEmmanuel Vadot		};
186f126890aSEmmanuel Vadot
187f126890aSEmmanuel Vadot		gcc: clock-controller@1800000 {
188f126890aSEmmanuel Vadot			compatible = "qcom,gcc-ipq4019";
189f126890aSEmmanuel Vadot			#clock-cells = <1>;
190f126890aSEmmanuel Vadot			#reset-cells = <1>;
191f126890aSEmmanuel Vadot			reg = <0x1800000 0x60000>;
192f126890aSEmmanuel Vadot			clocks = <&xo>, <&sleep_clk>;
193f126890aSEmmanuel Vadot			clock-names = "xo", "sleep_clk";
194f126890aSEmmanuel Vadot		};
195f126890aSEmmanuel Vadot
196f126890aSEmmanuel Vadot		prng: rng@22000 {
197f126890aSEmmanuel Vadot			compatible = "qcom,prng";
198f126890aSEmmanuel Vadot			reg = <0x22000 0x140>;
199f126890aSEmmanuel Vadot			clocks = <&gcc GCC_PRNG_AHB_CLK>;
200f126890aSEmmanuel Vadot			clock-names = "core";
201f126890aSEmmanuel Vadot			status = "disabled";
202f126890aSEmmanuel Vadot		};
203f126890aSEmmanuel Vadot
204f126890aSEmmanuel Vadot		tlmm: pinctrl@1000000 {
205f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-pinctrl";
206f126890aSEmmanuel Vadot			reg = <0x01000000 0x300000>;
207f126890aSEmmanuel Vadot			gpio-controller;
208f126890aSEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 100>;
209f126890aSEmmanuel Vadot			#gpio-cells = <2>;
210f126890aSEmmanuel Vadot			interrupt-controller;
211f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
212f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
213f126890aSEmmanuel Vadot		};
214f126890aSEmmanuel Vadot
215f126890aSEmmanuel Vadot		vqmmc: regulator@1948000 {
216f126890aSEmmanuel Vadot			compatible = "qcom,vqmmc-ipq4019-regulator";
217f126890aSEmmanuel Vadot			reg = <0x01948000 0x4>;
218f126890aSEmmanuel Vadot			regulator-name = "vqmmc";
219f126890aSEmmanuel Vadot			regulator-min-microvolt = <1500000>;
220f126890aSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
221f126890aSEmmanuel Vadot			regulator-always-on;
222f126890aSEmmanuel Vadot			status = "disabled";
223f126890aSEmmanuel Vadot		};
224f126890aSEmmanuel Vadot
225f126890aSEmmanuel Vadot		sdhci: mmc@7824900 {
2268d13bc63SEmmanuel Vadot			compatible = "qcom,ipq4019-sdhci", "qcom,sdhci-msm-v4";
227f126890aSEmmanuel Vadot			reg = <0x7824900 0x11c>, <0x7824000 0x800>;
228f126890aSEmmanuel Vadot			reg-names = "hc", "core";
229f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
230f126890aSEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
231f126890aSEmmanuel Vadot			bus-width = <8>;
232aa1a8ff2SEmmanuel Vadot			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
233aa1a8ff2SEmmanuel Vadot				 <&gcc GCC_SDCC1_APPS_CLK>,
234aa1a8ff2SEmmanuel Vadot				 <&xo>;
235aa1a8ff2SEmmanuel Vadot			clock-names = "iface",
236aa1a8ff2SEmmanuel Vadot				      "core",
237aa1a8ff2SEmmanuel Vadot				      "xo";
238f126890aSEmmanuel Vadot			status = "disabled";
239f126890aSEmmanuel Vadot		};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot		blsp_dma: dma-controller@7884000 {
242f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
243f126890aSEmmanuel Vadot			reg = <0x07884000 0x23000>;
244f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
245f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
246f126890aSEmmanuel Vadot			clock-names = "bam_clk";
247f126890aSEmmanuel Vadot			#dma-cells = <1>;
248f126890aSEmmanuel Vadot			qcom,ee = <0>;
249f126890aSEmmanuel Vadot			status = "disabled";
250f126890aSEmmanuel Vadot		};
251f126890aSEmmanuel Vadot
252f126890aSEmmanuel Vadot		blsp1_spi1: spi@78b5000 { /* BLSP1 QUP1 */
253f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
254f126890aSEmmanuel Vadot			reg = <0x78b5000 0x600>;
255f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
256f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
257f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
258f126890aSEmmanuel Vadot			clock-names = "core", "iface";
259f126890aSEmmanuel Vadot			#address-cells = <1>;
260f126890aSEmmanuel Vadot			#size-cells = <0>;
261f126890aSEmmanuel Vadot			dmas = <&blsp_dma 4>, <&blsp_dma 5>;
262f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
263f126890aSEmmanuel Vadot			status = "disabled";
264f126890aSEmmanuel Vadot		};
265f126890aSEmmanuel Vadot
266f126890aSEmmanuel Vadot		blsp1_spi2: spi@78b6000 { /* BLSP1 QUP2 */
267f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
268f126890aSEmmanuel Vadot			reg = <0x78b6000 0x600>;
269f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
270f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
271f126890aSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
272f126890aSEmmanuel Vadot			clock-names = "core", "iface";
273f126890aSEmmanuel Vadot			#address-cells = <1>;
274f126890aSEmmanuel Vadot			#size-cells = <0>;
275f126890aSEmmanuel Vadot			dmas = <&blsp_dma 6>, <&blsp_dma 7>;
276f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
277f126890aSEmmanuel Vadot			status = "disabled";
278f126890aSEmmanuel Vadot		};
279f126890aSEmmanuel Vadot
280f126890aSEmmanuel Vadot		blsp1_i2c3: i2c@78b7000 { /* BLSP1 QUP3 */
281f126890aSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
282f126890aSEmmanuel Vadot			reg = <0x78b7000 0x600>;
283f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
284f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
285f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
286f126890aSEmmanuel Vadot			clock-names = "core", "iface";
287f126890aSEmmanuel Vadot			#address-cells = <1>;
288f126890aSEmmanuel Vadot			#size-cells = <0>;
289f126890aSEmmanuel Vadot			dmas = <&blsp_dma 8>, <&blsp_dma 9>;
290f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
291f126890aSEmmanuel Vadot			status = "disabled";
292f126890aSEmmanuel Vadot		};
293f126890aSEmmanuel Vadot
294f126890aSEmmanuel Vadot		blsp1_i2c4: i2c@78b8000 { /* BLSP1 QUP4 */
295f126890aSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
296f126890aSEmmanuel Vadot			reg = <0x78b8000 0x600>;
297f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
298f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
299f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
300f126890aSEmmanuel Vadot			clock-names = "core", "iface";
301f126890aSEmmanuel Vadot			#address-cells = <1>;
302f126890aSEmmanuel Vadot			#size-cells = <0>;
303f126890aSEmmanuel Vadot			dmas = <&blsp_dma 10>, <&blsp_dma 11>;
304f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
305f126890aSEmmanuel Vadot			status = "disabled";
306f126890aSEmmanuel Vadot		};
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot		cryptobam: dma-controller@8e04000 {
309f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
310f126890aSEmmanuel Vadot			reg = <0x08e04000 0x20000>;
311f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
312f126890aSEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
313f126890aSEmmanuel Vadot			clock-names = "bam_clk";
314f126890aSEmmanuel Vadot			#dma-cells = <1>;
315f126890aSEmmanuel Vadot			qcom,ee = <1>;
316f126890aSEmmanuel Vadot			qcom,controlled-remotely;
317f126890aSEmmanuel Vadot			status = "disabled";
318f126890aSEmmanuel Vadot		};
319f126890aSEmmanuel Vadot
320f126890aSEmmanuel Vadot		crypto: crypto@8e3a000 {
321f126890aSEmmanuel Vadot			compatible = "qcom,crypto-v5.1";
322f126890aSEmmanuel Vadot			reg = <0x08e3a000 0x6000>;
323f126890aSEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
324f126890aSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AXI_CLK>,
325f126890aSEmmanuel Vadot				 <&gcc GCC_CRYPTO_CLK>;
326f126890aSEmmanuel Vadot			clock-names = "iface", "bus", "core";
327f126890aSEmmanuel Vadot			dmas = <&cryptobam 2>, <&cryptobam 3>;
328f126890aSEmmanuel Vadot			dma-names = "rx", "tx";
329f126890aSEmmanuel Vadot			status = "disabled";
330f126890aSEmmanuel Vadot		};
331f126890aSEmmanuel Vadot
332f126890aSEmmanuel Vadot		acc0: power-manager@b088000 {
333f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
334f126890aSEmmanuel Vadot			reg = <0x0b088000 0x1000>, <0xb008000 0x1000>;
335f126890aSEmmanuel Vadot		};
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot		acc1: power-manager@b098000 {
338f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
339f126890aSEmmanuel Vadot			reg = <0x0b098000 0x1000>, <0xb008000 0x1000>;
340f126890aSEmmanuel Vadot		};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot		acc2: power-manager@b0a8000 {
343f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
344f126890aSEmmanuel Vadot			reg = <0x0b0a8000 0x1000>, <0xb008000 0x1000>;
345f126890aSEmmanuel Vadot		};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot		acc3: power-manager@b0b8000 {
348f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
349f126890aSEmmanuel Vadot			reg = <0x0b0b8000 0x1000>, <0xb008000 0x1000>;
350f126890aSEmmanuel Vadot		};
351f126890aSEmmanuel Vadot
35201950c46SEmmanuel Vadot		saw0: power-manager@b089000 {
35301950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
354f126890aSEmmanuel Vadot			reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>;
355f126890aSEmmanuel Vadot		};
356f126890aSEmmanuel Vadot
35701950c46SEmmanuel Vadot		saw1: power-manager@b099000 {
35801950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
359f126890aSEmmanuel Vadot			reg = <0x0b099000 0x1000>, <0x0b009000 0x1000>;
360f126890aSEmmanuel Vadot		};
361f126890aSEmmanuel Vadot
36201950c46SEmmanuel Vadot		saw2: power-manager@b0a9000 {
36301950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
364f126890aSEmmanuel Vadot			reg = <0x0b0a9000 0x1000>, <0x0b009000 0x1000>;
365f126890aSEmmanuel Vadot		};
366f126890aSEmmanuel Vadot
36701950c46SEmmanuel Vadot		saw3: power-manager@b0b9000 {
36801950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
369f126890aSEmmanuel Vadot			reg = <0x0b0b9000 0x1000>, <0x0b009000 0x1000>;
370f126890aSEmmanuel Vadot		};
371f126890aSEmmanuel Vadot
37201950c46SEmmanuel Vadot		saw_l2: power-manager@b012000 {
37301950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-l2", "qcom,saw2";
374f126890aSEmmanuel Vadot			reg = <0xb012000 0x1000>;
375f126890aSEmmanuel Vadot		};
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot		blsp1_uart1: serial@78af000 {
378f126890aSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
379f126890aSEmmanuel Vadot			reg = <0x78af000 0x200>;
380f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
381f126890aSEmmanuel Vadot			status = "disabled";
382f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
383f126890aSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
384f126890aSEmmanuel Vadot			clock-names = "core", "iface";
385f126890aSEmmanuel Vadot			dmas = <&blsp_dma 0>, <&blsp_dma 1>;
386f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
387f126890aSEmmanuel Vadot		};
388f126890aSEmmanuel Vadot
389f126890aSEmmanuel Vadot		blsp1_uart2: serial@78b0000 {
390f126890aSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
391f126890aSEmmanuel Vadot			reg = <0x78b0000 0x200>;
392f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
393f126890aSEmmanuel Vadot			status = "disabled";
394f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
395f126890aSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
396f126890aSEmmanuel Vadot			clock-names = "core", "iface";
397f126890aSEmmanuel Vadot			dmas = <&blsp_dma 2>, <&blsp_dma 3>;
398f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
399f126890aSEmmanuel Vadot		};
400f126890aSEmmanuel Vadot
401f126890aSEmmanuel Vadot		watchdog: watchdog@b017000 {
402f126890aSEmmanuel Vadot			compatible = "qcom,kpss-wdt-ipq4019", "qcom,kpss-wdt";
403f126890aSEmmanuel Vadot			reg = <0xb017000 0x40>;
404f126890aSEmmanuel Vadot			clocks = <&sleep_clk>;
405f126890aSEmmanuel Vadot			timeout-sec = <10>;
406f126890aSEmmanuel Vadot			status = "disabled";
407f126890aSEmmanuel Vadot		};
408f126890aSEmmanuel Vadot
409f126890aSEmmanuel Vadot		restart@4ab000 {
410f126890aSEmmanuel Vadot			compatible = "qcom,pshold";
411f126890aSEmmanuel Vadot			reg = <0x4ab000 0x4>;
412f126890aSEmmanuel Vadot		};
413f126890aSEmmanuel Vadot
4148d13bc63SEmmanuel Vadot		pcie0: pcie@40000000 {
415f126890aSEmmanuel Vadot			compatible = "qcom,pcie-ipq4019";
416aa1a8ff2SEmmanuel Vadot			reg = <0x40000000 0xf1d>,
417aa1a8ff2SEmmanuel Vadot			      <0x40000f20 0xa8>,
418aa1a8ff2SEmmanuel Vadot			      <0x80000 0x2000>,
419aa1a8ff2SEmmanuel Vadot			      <0x40100000 0x1000>;
420f126890aSEmmanuel Vadot			reg-names = "dbi", "elbi", "parf", "config";
421f126890aSEmmanuel Vadot			device_type = "pci";
422f126890aSEmmanuel Vadot			linux,pci-domain = <0>;
423f126890aSEmmanuel Vadot			bus-range = <0x00 0xff>;
424f126890aSEmmanuel Vadot			num-lanes = <1>;
425f126890aSEmmanuel Vadot			#address-cells = <3>;
426f126890aSEmmanuel Vadot			#size-cells = <2>;
427f126890aSEmmanuel Vadot
428f126890aSEmmanuel Vadot			ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>,
429f126890aSEmmanuel Vadot				 <0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>;
430f126890aSEmmanuel Vadot
431f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
432f126890aSEmmanuel Vadot			interrupt-names = "msi";
433f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
434f126890aSEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
435f126890aSEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
436f126890aSEmmanuel Vadot					<0 0 0 2 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
437f126890aSEmmanuel Vadot					<0 0 0 3 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
438f126890aSEmmanuel Vadot					<0 0 0 4 &intc 0 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
439f126890aSEmmanuel Vadot			clocks = <&gcc GCC_PCIE_AHB_CLK>,
440f126890aSEmmanuel Vadot				 <&gcc GCC_PCIE_AXI_M_CLK>,
441f126890aSEmmanuel Vadot				 <&gcc GCC_PCIE_AXI_S_CLK>;
442f126890aSEmmanuel Vadot			clock-names = "aux",
443f126890aSEmmanuel Vadot				      "master_bus",
444f126890aSEmmanuel Vadot				      "slave_bus";
445f126890aSEmmanuel Vadot
446f126890aSEmmanuel Vadot			resets = <&gcc PCIE_AXI_M_ARES>,
447f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_S_ARES>,
448f126890aSEmmanuel Vadot				 <&gcc PCIE_PIPE_ARES>,
449f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_M_VMIDMT_ARES>,
450f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_S_XPU_ARES>,
451f126890aSEmmanuel Vadot				 <&gcc PCIE_PARF_XPU_ARES>,
452f126890aSEmmanuel Vadot				 <&gcc PCIE_PHY_ARES>,
453f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_M_STICKY_ARES>,
454f126890aSEmmanuel Vadot				 <&gcc PCIE_PIPE_STICKY_ARES>,
455f126890aSEmmanuel Vadot				 <&gcc PCIE_PWR_ARES>,
456f126890aSEmmanuel Vadot				 <&gcc PCIE_AHB_ARES>,
457f126890aSEmmanuel Vadot				 <&gcc PCIE_PHY_AHB_ARES>;
458f126890aSEmmanuel Vadot			reset-names = "axi_m",
459f126890aSEmmanuel Vadot				      "axi_s",
460f126890aSEmmanuel Vadot				      "pipe",
461f126890aSEmmanuel Vadot				      "axi_m_vmid",
462f126890aSEmmanuel Vadot				      "axi_s_xpu",
463f126890aSEmmanuel Vadot				      "parf",
464f126890aSEmmanuel Vadot				      "phy",
465f126890aSEmmanuel Vadot				      "axi_m_sticky",
466f126890aSEmmanuel Vadot				      "pipe_sticky",
467f126890aSEmmanuel Vadot				      "pwr",
468f126890aSEmmanuel Vadot				      "ahb",
469f126890aSEmmanuel Vadot				      "phy_ahb";
470f126890aSEmmanuel Vadot
471f126890aSEmmanuel Vadot			status = "disabled";
472*7d0873ebSEmmanuel Vadot
473*7d0873ebSEmmanuel Vadot			pcie@0 {
474*7d0873ebSEmmanuel Vadot				device_type = "pci";
475*7d0873ebSEmmanuel Vadot				reg = <0x0 0x0 0x0 0x0 0x0>;
476*7d0873ebSEmmanuel Vadot				bus-range = <0x01 0xff>;
477*7d0873ebSEmmanuel Vadot
478*7d0873ebSEmmanuel Vadot				#address-cells = <3>;
479*7d0873ebSEmmanuel Vadot				#size-cells = <2>;
480*7d0873ebSEmmanuel Vadot				ranges;
481*7d0873ebSEmmanuel Vadot			};
482f126890aSEmmanuel Vadot		};
483f126890aSEmmanuel Vadot
484f126890aSEmmanuel Vadot		qpic_bam: dma-controller@7984000 {
485f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
486f126890aSEmmanuel Vadot			reg = <0x7984000 0x1a000>;
487f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
488f126890aSEmmanuel Vadot			clocks = <&gcc GCC_QPIC_CLK>;
489f126890aSEmmanuel Vadot			clock-names = "bam_clk";
490f126890aSEmmanuel Vadot			#dma-cells = <1>;
491f126890aSEmmanuel Vadot			qcom,ee = <0>;
492f126890aSEmmanuel Vadot			status = "disabled";
493f126890aSEmmanuel Vadot		};
494f126890aSEmmanuel Vadot
495f126890aSEmmanuel Vadot		nand: nand-controller@79b0000 {
496f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-nand";
497f126890aSEmmanuel Vadot			reg = <0x79b0000 0x1000>;
498f126890aSEmmanuel Vadot			#address-cells = <1>;
499f126890aSEmmanuel Vadot			#size-cells = <0>;
500f126890aSEmmanuel Vadot			clocks = <&gcc GCC_QPIC_CLK>,
501f126890aSEmmanuel Vadot				 <&gcc GCC_QPIC_AHB_CLK>;
502f126890aSEmmanuel Vadot			clock-names = "core", "aon";
503f126890aSEmmanuel Vadot
504f126890aSEmmanuel Vadot			dmas = <&qpic_bam 0>,
505f126890aSEmmanuel Vadot			       <&qpic_bam 1>,
506f126890aSEmmanuel Vadot			       <&qpic_bam 2>;
507f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "cmd";
508f126890aSEmmanuel Vadot			status = "disabled";
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot			nand@0 {
511f126890aSEmmanuel Vadot				reg = <0>;
512f126890aSEmmanuel Vadot
513f126890aSEmmanuel Vadot				nand-ecc-strength = <4>;
514f126890aSEmmanuel Vadot				nand-ecc-step-size = <512>;
515f126890aSEmmanuel Vadot				nand-bus-width = <8>;
516f126890aSEmmanuel Vadot			};
517f126890aSEmmanuel Vadot		};
518f126890aSEmmanuel Vadot
519f126890aSEmmanuel Vadot		wifi0: wifi@a000000 {
520f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-wifi";
521f126890aSEmmanuel Vadot			reg = <0xa000000 0x200000>;
522f126890aSEmmanuel Vadot			resets = <&gcc WIFI0_CPU_INIT_RESET>,
523f126890aSEmmanuel Vadot				 <&gcc WIFI0_RADIO_SRIF_RESET>,
524f126890aSEmmanuel Vadot				 <&gcc WIFI0_RADIO_WARM_RESET>,
525f126890aSEmmanuel Vadot				 <&gcc WIFI0_RADIO_COLD_RESET>,
526f126890aSEmmanuel Vadot				 <&gcc WIFI0_CORE_WARM_RESET>,
527f126890aSEmmanuel Vadot				 <&gcc WIFI0_CORE_COLD_RESET>;
528f126890aSEmmanuel Vadot			reset-names = "wifi_cpu_init", "wifi_radio_srif",
529f126890aSEmmanuel Vadot				      "wifi_radio_warm", "wifi_radio_cold",
530f126890aSEmmanuel Vadot				      "wifi_core_warm", "wifi_core_cold";
531f126890aSEmmanuel Vadot			clocks = <&gcc GCC_WCSS2G_CLK>,
532f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS2G_REF_CLK>,
533f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS2G_RTC_CLK>;
534f126890aSEmmanuel Vadot			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
535f126890aSEmmanuel Vadot				      "wifi_wcss_rtc";
536f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
537f126890aSEmmanuel Vadot				     <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
538f126890aSEmmanuel Vadot				     <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
539f126890aSEmmanuel Vadot				     <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
540f126890aSEmmanuel Vadot				     <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
541f126890aSEmmanuel Vadot				     <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>,
542f126890aSEmmanuel Vadot				     <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>,
543f126890aSEmmanuel Vadot				     <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
544f126890aSEmmanuel Vadot				     <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
545f126890aSEmmanuel Vadot				     <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
546f126890aSEmmanuel Vadot				     <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>,
547f126890aSEmmanuel Vadot				     <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>,
548f126890aSEmmanuel Vadot				     <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
549f126890aSEmmanuel Vadot				     <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
550f126890aSEmmanuel Vadot				     <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
551f126890aSEmmanuel Vadot				     <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>,
552f126890aSEmmanuel Vadot				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
553f126890aSEmmanuel Vadot			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
554f126890aSEmmanuel Vadot					  "msi4",  "msi5",  "msi6",  "msi7",
555f126890aSEmmanuel Vadot					  "msi8",  "msi9", "msi10", "msi11",
556f126890aSEmmanuel Vadot					  "msi12", "msi13", "msi14", "msi15",
557f126890aSEmmanuel Vadot					  "legacy";
558f126890aSEmmanuel Vadot			status = "disabled";
559f126890aSEmmanuel Vadot		};
560f126890aSEmmanuel Vadot
561f126890aSEmmanuel Vadot		wifi1: wifi@a800000 {
562f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-wifi";
563f126890aSEmmanuel Vadot			reg = <0xa800000 0x200000>;
564f126890aSEmmanuel Vadot			resets = <&gcc WIFI1_CPU_INIT_RESET>,
565f126890aSEmmanuel Vadot				 <&gcc WIFI1_RADIO_SRIF_RESET>,
566f126890aSEmmanuel Vadot				 <&gcc WIFI1_RADIO_WARM_RESET>,
567f126890aSEmmanuel Vadot				 <&gcc WIFI1_RADIO_COLD_RESET>,
568f126890aSEmmanuel Vadot				 <&gcc WIFI1_CORE_WARM_RESET>,
569f126890aSEmmanuel Vadot				 <&gcc WIFI1_CORE_COLD_RESET>;
570f126890aSEmmanuel Vadot			reset-names = "wifi_cpu_init", "wifi_radio_srif",
571f126890aSEmmanuel Vadot				      "wifi_radio_warm", "wifi_radio_cold",
572f126890aSEmmanuel Vadot				      "wifi_core_warm", "wifi_core_cold";
573f126890aSEmmanuel Vadot			clocks = <&gcc GCC_WCSS5G_CLK>,
574f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS5G_REF_CLK>,
575f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS5G_RTC_CLK>;
576f126890aSEmmanuel Vadot			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
577f126890aSEmmanuel Vadot				      "wifi_wcss_rtc";
578f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
579f126890aSEmmanuel Vadot				     <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>,
580f126890aSEmmanuel Vadot				     <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>,
581f126890aSEmmanuel Vadot				     <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
582f126890aSEmmanuel Vadot				     <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
583f126890aSEmmanuel Vadot				     <GIC_SPI 53 IRQ_TYPE_EDGE_RISING>,
584f126890aSEmmanuel Vadot				     <GIC_SPI 54 IRQ_TYPE_EDGE_RISING>,
585f126890aSEmmanuel Vadot				     <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
586f126890aSEmmanuel Vadot				     <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>,
587f126890aSEmmanuel Vadot				     <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>,
588f126890aSEmmanuel Vadot				     <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>,
589f126890aSEmmanuel Vadot				     <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>,
590f126890aSEmmanuel Vadot				     <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>,
591f126890aSEmmanuel Vadot				     <GIC_SPI 61 IRQ_TYPE_EDGE_RISING>,
592f126890aSEmmanuel Vadot				     <GIC_SPI 62 IRQ_TYPE_EDGE_RISING>,
593f126890aSEmmanuel Vadot				     <GIC_SPI 63 IRQ_TYPE_EDGE_RISING>,
594f126890aSEmmanuel Vadot				     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
595f126890aSEmmanuel Vadot			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
596f126890aSEmmanuel Vadot					  "msi4",  "msi5",  "msi6",  "msi7",
597f126890aSEmmanuel Vadot					  "msi8",  "msi9", "msi10", "msi11",
598f126890aSEmmanuel Vadot					  "msi12", "msi13", "msi14", "msi15",
599f126890aSEmmanuel Vadot					  "legacy";
600f126890aSEmmanuel Vadot			status = "disabled";
601f126890aSEmmanuel Vadot		};
602f126890aSEmmanuel Vadot
603f126890aSEmmanuel Vadot		mdio: mdio@90000 {
604f126890aSEmmanuel Vadot			#address-cells = <1>;
605f126890aSEmmanuel Vadot			#size-cells = <0>;
606f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-mdio";
607f126890aSEmmanuel Vadot			reg = <0x90000 0x64>;
608f126890aSEmmanuel Vadot			status = "disabled";
609f126890aSEmmanuel Vadot
610*7d0873ebSEmmanuel Vadot			ethernet-phy-package@0 {
611*7d0873ebSEmmanuel Vadot				#address-cells = <1>;
612*7d0873ebSEmmanuel Vadot				#size-cells = <0>;
613*7d0873ebSEmmanuel Vadot				compatible = "qcom,qca8075-package";
614*7d0873ebSEmmanuel Vadot				reg = <0>;
615*7d0873ebSEmmanuel Vadot
616*7d0873ebSEmmanuel Vadot				qcom,tx-drive-strength-milliwatt = <300>;
617*7d0873ebSEmmanuel Vadot
618f126890aSEmmanuel Vadot				ethphy0: ethernet-phy@0 {
619f126890aSEmmanuel Vadot					reg = <0>;
620f126890aSEmmanuel Vadot				};
621f126890aSEmmanuel Vadot
622f126890aSEmmanuel Vadot				ethphy1: ethernet-phy@1 {
623f126890aSEmmanuel Vadot					reg = <1>;
624f126890aSEmmanuel Vadot				};
625f126890aSEmmanuel Vadot
626f126890aSEmmanuel Vadot				ethphy2: ethernet-phy@2 {
627f126890aSEmmanuel Vadot					reg = <2>;
628f126890aSEmmanuel Vadot				};
629f126890aSEmmanuel Vadot
630f126890aSEmmanuel Vadot				ethphy3: ethernet-phy@3 {
631f126890aSEmmanuel Vadot					reg = <3>;
632f126890aSEmmanuel Vadot				};
633f126890aSEmmanuel Vadot
634f126890aSEmmanuel Vadot				ethphy4: ethernet-phy@4 {
635f126890aSEmmanuel Vadot					reg = <4>;
636f126890aSEmmanuel Vadot				};
637f126890aSEmmanuel Vadot			};
638*7d0873ebSEmmanuel Vadot		};
639f126890aSEmmanuel Vadot
640aa1a8ff2SEmmanuel Vadot		usb3_ss_phy: usb-phy@9a000 {
641f126890aSEmmanuel Vadot			compatible = "qcom,usb-ss-ipq4019-phy";
642f126890aSEmmanuel Vadot			#phy-cells = <0>;
643f126890aSEmmanuel Vadot			reg = <0x9a000 0x800>;
644f126890aSEmmanuel Vadot			reg-names = "phy_base";
645f126890aSEmmanuel Vadot			resets = <&gcc USB3_UNIPHY_PHY_ARES>;
646f126890aSEmmanuel Vadot			reset-names = "por_rst";
647f126890aSEmmanuel Vadot			status = "disabled";
648f126890aSEmmanuel Vadot		};
649f126890aSEmmanuel Vadot
650aa1a8ff2SEmmanuel Vadot		usb3_hs_phy: usb-phy@a6000 {
651f126890aSEmmanuel Vadot			compatible = "qcom,usb-hs-ipq4019-phy";
652f126890aSEmmanuel Vadot			#phy-cells = <0>;
653f126890aSEmmanuel Vadot			reg = <0xa6000 0x40>;
654f126890aSEmmanuel Vadot			reg-names = "phy_base";
655f126890aSEmmanuel Vadot			resets = <&gcc USB3_HSPHY_POR_ARES>, <&gcc USB3_HSPHY_S_ARES>;
656f126890aSEmmanuel Vadot			reset-names = "por_rst", "srif_rst";
657f126890aSEmmanuel Vadot			status = "disabled";
658f126890aSEmmanuel Vadot		};
659f126890aSEmmanuel Vadot
660aa1a8ff2SEmmanuel Vadot		usb3: usb@8af8800 {
661f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
662f126890aSEmmanuel Vadot			reg = <0x8af8800 0x100>;
663f126890aSEmmanuel Vadot			#address-cells = <1>;
664f126890aSEmmanuel Vadot			#size-cells = <1>;
665f126890aSEmmanuel Vadot			clocks = <&gcc GCC_USB3_MASTER_CLK>,
666f126890aSEmmanuel Vadot				 <&gcc GCC_USB3_SLEEP_CLK>,
667f126890aSEmmanuel Vadot				 <&gcc GCC_USB3_MOCK_UTMI_CLK>;
668f126890aSEmmanuel Vadot			clock-names = "core", "sleep", "mock_utmi";
669f126890aSEmmanuel Vadot			ranges;
670f126890aSEmmanuel Vadot			status = "disabled";
671f126890aSEmmanuel Vadot
672aa1a8ff2SEmmanuel Vadot			usb3_dwc: usb@8a00000 {
673f126890aSEmmanuel Vadot				compatible = "snps,dwc3";
674f126890aSEmmanuel Vadot				reg = <0x8a00000 0xf8000>;
675f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
676f126890aSEmmanuel Vadot				phys = <&usb3_hs_phy>, <&usb3_ss_phy>;
677f126890aSEmmanuel Vadot				phy-names = "usb2-phy", "usb3-phy";
678f126890aSEmmanuel Vadot				dr_mode = "host";
679f126890aSEmmanuel Vadot			};
680f126890aSEmmanuel Vadot		};
681f126890aSEmmanuel Vadot
682aa1a8ff2SEmmanuel Vadot		usb2_hs_phy: usb-phy@a8000 {
683f126890aSEmmanuel Vadot			compatible = "qcom,usb-hs-ipq4019-phy";
684f126890aSEmmanuel Vadot			#phy-cells = <0>;
685f126890aSEmmanuel Vadot			reg = <0xa8000 0x40>;
686f126890aSEmmanuel Vadot			reg-names = "phy_base";
687f126890aSEmmanuel Vadot			resets = <&gcc USB2_HSPHY_POR_ARES>, <&gcc USB2_HSPHY_S_ARES>;
688f126890aSEmmanuel Vadot			reset-names = "por_rst", "srif_rst";
689f126890aSEmmanuel Vadot			status = "disabled";
690f126890aSEmmanuel Vadot		};
691f126890aSEmmanuel Vadot
692aa1a8ff2SEmmanuel Vadot		usb2: usb@60f8800 {
693f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
694f126890aSEmmanuel Vadot			reg = <0x60f8800 0x100>;
695f126890aSEmmanuel Vadot			#address-cells = <1>;
696f126890aSEmmanuel Vadot			#size-cells = <1>;
697f126890aSEmmanuel Vadot			clocks = <&gcc GCC_USB2_MASTER_CLK>,
698f126890aSEmmanuel Vadot				 <&gcc GCC_USB2_SLEEP_CLK>,
699f126890aSEmmanuel Vadot				 <&gcc GCC_USB2_MOCK_UTMI_CLK>;
70001950c46SEmmanuel Vadot			clock-names = "core", "sleep", "mock_utmi";
701f126890aSEmmanuel Vadot			ranges;
702f126890aSEmmanuel Vadot			status = "disabled";
703f126890aSEmmanuel Vadot
704aa1a8ff2SEmmanuel Vadot			usb@6000000 {
705f126890aSEmmanuel Vadot				compatible = "snps,dwc3";
706f126890aSEmmanuel Vadot				reg = <0x6000000 0xf8000>;
707f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
708f126890aSEmmanuel Vadot				phys = <&usb2_hs_phy>;
709f126890aSEmmanuel Vadot				phy-names = "usb2-phy";
710f126890aSEmmanuel Vadot				dr_mode = "host";
711f126890aSEmmanuel Vadot			};
712f126890aSEmmanuel Vadot		};
713f126890aSEmmanuel Vadot	};
714f126890aSEmmanuel Vadot};
715