xref: /freebsd-src/sys/contrib/device-tree/src/arm/qcom/qcom-ipq4019.dtsi (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
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			#power-domain-cells = <1>;
191f126890aSEmmanuel Vadot			#reset-cells = <1>;
192f126890aSEmmanuel Vadot			reg = <0x1800000 0x60000>;
193f126890aSEmmanuel Vadot			clocks = <&xo>, <&sleep_clk>;
194f126890aSEmmanuel Vadot			clock-names = "xo", "sleep_clk";
195f126890aSEmmanuel Vadot		};
196f126890aSEmmanuel Vadot
197f126890aSEmmanuel Vadot		prng: rng@22000 {
198f126890aSEmmanuel Vadot			compatible = "qcom,prng";
199f126890aSEmmanuel Vadot			reg = <0x22000 0x140>;
200f126890aSEmmanuel Vadot			clocks = <&gcc GCC_PRNG_AHB_CLK>;
201f126890aSEmmanuel Vadot			clock-names = "core";
202f126890aSEmmanuel Vadot			status = "disabled";
203f126890aSEmmanuel Vadot		};
204f126890aSEmmanuel Vadot
205f126890aSEmmanuel Vadot		tlmm: pinctrl@1000000 {
206f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-pinctrl";
207f126890aSEmmanuel Vadot			reg = <0x01000000 0x300000>;
208f126890aSEmmanuel Vadot			gpio-controller;
209f126890aSEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 100>;
210f126890aSEmmanuel Vadot			#gpio-cells = <2>;
211f126890aSEmmanuel Vadot			interrupt-controller;
212f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
213f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
214f126890aSEmmanuel Vadot		};
215f126890aSEmmanuel Vadot
216f126890aSEmmanuel Vadot		vqmmc: regulator@1948000 {
217f126890aSEmmanuel Vadot			compatible = "qcom,vqmmc-ipq4019-regulator";
218f126890aSEmmanuel Vadot			reg = <0x01948000 0x4>;
219f126890aSEmmanuel Vadot			regulator-name = "vqmmc";
220f126890aSEmmanuel Vadot			regulator-min-microvolt = <1500000>;
221f126890aSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
222f126890aSEmmanuel Vadot			regulator-always-on;
223f126890aSEmmanuel Vadot			status = "disabled";
224f126890aSEmmanuel Vadot		};
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot		sdhci: mmc@7824900 {
2278d13bc63SEmmanuel Vadot			compatible = "qcom,ipq4019-sdhci", "qcom,sdhci-msm-v4";
228f126890aSEmmanuel Vadot			reg = <0x7824900 0x11c>, <0x7824000 0x800>;
229f126890aSEmmanuel Vadot			reg-names = "hc", "core";
230f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
231f126890aSEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
232f126890aSEmmanuel Vadot			bus-width = <8>;
233aa1a8ff2SEmmanuel Vadot			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
234aa1a8ff2SEmmanuel Vadot				 <&gcc GCC_SDCC1_APPS_CLK>,
235aa1a8ff2SEmmanuel Vadot				 <&xo>;
236aa1a8ff2SEmmanuel Vadot			clock-names = "iface",
237aa1a8ff2SEmmanuel Vadot				      "core",
238aa1a8ff2SEmmanuel Vadot				      "xo";
239f126890aSEmmanuel Vadot			status = "disabled";
240f126890aSEmmanuel Vadot		};
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot		blsp_dma: dma-controller@7884000 {
243f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
244f126890aSEmmanuel Vadot			reg = <0x07884000 0x23000>;
245f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
246f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
247f126890aSEmmanuel Vadot			clock-names = "bam_clk";
248f126890aSEmmanuel Vadot			#dma-cells = <1>;
249f126890aSEmmanuel Vadot			qcom,ee = <0>;
250f126890aSEmmanuel Vadot			status = "disabled";
251f126890aSEmmanuel Vadot		};
252f126890aSEmmanuel Vadot
253f126890aSEmmanuel Vadot		blsp1_spi1: spi@78b5000 { /* BLSP1 QUP1 */
254f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
255f126890aSEmmanuel Vadot			reg = <0x78b5000 0x600>;
256f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
257f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
258f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
259f126890aSEmmanuel Vadot			clock-names = "core", "iface";
260f126890aSEmmanuel Vadot			#address-cells = <1>;
261f126890aSEmmanuel Vadot			#size-cells = <0>;
262f126890aSEmmanuel Vadot			dmas = <&blsp_dma 4>, <&blsp_dma 5>;
263f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
264f126890aSEmmanuel Vadot			status = "disabled";
265f126890aSEmmanuel Vadot		};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot		blsp1_spi2: spi@78b6000 { /* BLSP1 QUP2 */
268f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
269f126890aSEmmanuel Vadot			reg = <0x78b6000 0x600>;
270f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
271f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
272f126890aSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
273f126890aSEmmanuel Vadot			clock-names = "core", "iface";
274f126890aSEmmanuel Vadot			#address-cells = <1>;
275f126890aSEmmanuel Vadot			#size-cells = <0>;
276f126890aSEmmanuel Vadot			dmas = <&blsp_dma 6>, <&blsp_dma 7>;
277f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
278f126890aSEmmanuel Vadot			status = "disabled";
279f126890aSEmmanuel Vadot		};
280f126890aSEmmanuel Vadot
281f126890aSEmmanuel Vadot		blsp1_i2c3: i2c@78b7000 { /* BLSP1 QUP3 */
282f126890aSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
283f126890aSEmmanuel Vadot			reg = <0x78b7000 0x600>;
284f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
285f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
286f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
287f126890aSEmmanuel Vadot			clock-names = "core", "iface";
288f126890aSEmmanuel Vadot			#address-cells = <1>;
289f126890aSEmmanuel Vadot			#size-cells = <0>;
290f126890aSEmmanuel Vadot			dmas = <&blsp_dma 8>, <&blsp_dma 9>;
291f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
292f126890aSEmmanuel Vadot			status = "disabled";
293f126890aSEmmanuel Vadot		};
294f126890aSEmmanuel Vadot
295f126890aSEmmanuel Vadot		blsp1_i2c4: i2c@78b8000 { /* BLSP1 QUP4 */
296f126890aSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
297f126890aSEmmanuel Vadot			reg = <0x78b8000 0x600>;
298f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
299f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
300f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
301f126890aSEmmanuel Vadot			clock-names = "core", "iface";
302f126890aSEmmanuel Vadot			#address-cells = <1>;
303f126890aSEmmanuel Vadot			#size-cells = <0>;
304f126890aSEmmanuel Vadot			dmas = <&blsp_dma 10>, <&blsp_dma 11>;
305f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
306f126890aSEmmanuel Vadot			status = "disabled";
307f126890aSEmmanuel Vadot		};
308f126890aSEmmanuel Vadot
309f126890aSEmmanuel Vadot		cryptobam: dma-controller@8e04000 {
310f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
311f126890aSEmmanuel Vadot			reg = <0x08e04000 0x20000>;
312f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
313f126890aSEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
314f126890aSEmmanuel Vadot			clock-names = "bam_clk";
315f126890aSEmmanuel Vadot			#dma-cells = <1>;
316f126890aSEmmanuel Vadot			qcom,ee = <1>;
317f126890aSEmmanuel Vadot			qcom,controlled-remotely;
318f126890aSEmmanuel Vadot			status = "disabled";
319f126890aSEmmanuel Vadot		};
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot		crypto: crypto@8e3a000 {
322f126890aSEmmanuel Vadot			compatible = "qcom,crypto-v5.1";
323f126890aSEmmanuel Vadot			reg = <0x08e3a000 0x6000>;
324f126890aSEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
325f126890aSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AXI_CLK>,
326f126890aSEmmanuel Vadot				 <&gcc GCC_CRYPTO_CLK>;
327f126890aSEmmanuel Vadot			clock-names = "iface", "bus", "core";
328f126890aSEmmanuel Vadot			dmas = <&cryptobam 2>, <&cryptobam 3>;
329f126890aSEmmanuel Vadot			dma-names = "rx", "tx";
330f126890aSEmmanuel Vadot			status = "disabled";
331f126890aSEmmanuel Vadot		};
332f126890aSEmmanuel Vadot
333f126890aSEmmanuel Vadot		acc0: power-manager@b088000 {
334f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
335f126890aSEmmanuel Vadot			reg = <0x0b088000 0x1000>, <0xb008000 0x1000>;
336f126890aSEmmanuel Vadot		};
337f126890aSEmmanuel Vadot
338f126890aSEmmanuel Vadot		acc1: power-manager@b098000 {
339f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
340f126890aSEmmanuel Vadot			reg = <0x0b098000 0x1000>, <0xb008000 0x1000>;
341f126890aSEmmanuel Vadot		};
342f126890aSEmmanuel Vadot
343f126890aSEmmanuel Vadot		acc2: power-manager@b0a8000 {
344f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
345f126890aSEmmanuel Vadot			reg = <0x0b0a8000 0x1000>, <0xb008000 0x1000>;
346f126890aSEmmanuel Vadot		};
347f126890aSEmmanuel Vadot
348f126890aSEmmanuel Vadot		acc3: power-manager@b0b8000 {
349f126890aSEmmanuel Vadot			compatible = "qcom,kpss-acc-v2";
350f126890aSEmmanuel Vadot			reg = <0x0b0b8000 0x1000>, <0xb008000 0x1000>;
351f126890aSEmmanuel Vadot		};
352f126890aSEmmanuel Vadot
35301950c46SEmmanuel Vadot		saw0: power-manager@b089000 {
35401950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
355f126890aSEmmanuel Vadot			reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>;
356f126890aSEmmanuel Vadot		};
357f126890aSEmmanuel Vadot
35801950c46SEmmanuel Vadot		saw1: power-manager@b099000 {
35901950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
360f126890aSEmmanuel Vadot			reg = <0x0b099000 0x1000>, <0x0b009000 0x1000>;
361f126890aSEmmanuel Vadot		};
362f126890aSEmmanuel Vadot
36301950c46SEmmanuel Vadot		saw2: power-manager@b0a9000 {
36401950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
365f126890aSEmmanuel Vadot			reg = <0x0b0a9000 0x1000>, <0x0b009000 0x1000>;
366f126890aSEmmanuel Vadot		};
367f126890aSEmmanuel Vadot
36801950c46SEmmanuel Vadot		saw3: power-manager@b0b9000 {
36901950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-cpu", "qcom,saw2";
370f126890aSEmmanuel Vadot			reg = <0x0b0b9000 0x1000>, <0x0b009000 0x1000>;
371f126890aSEmmanuel Vadot		};
372f126890aSEmmanuel Vadot
37301950c46SEmmanuel Vadot		saw_l2: power-manager@b012000 {
37401950c46SEmmanuel Vadot			compatible = "qcom,ipq4019-saw2-l2", "qcom,saw2";
375f126890aSEmmanuel Vadot			reg = <0xb012000 0x1000>;
376f126890aSEmmanuel Vadot		};
377f126890aSEmmanuel Vadot
378f126890aSEmmanuel Vadot		blsp1_uart1: serial@78af000 {
379f126890aSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
380f126890aSEmmanuel Vadot			reg = <0x78af000 0x200>;
381f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
382f126890aSEmmanuel Vadot			status = "disabled";
383f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
384f126890aSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
385f126890aSEmmanuel Vadot			clock-names = "core", "iface";
386f126890aSEmmanuel Vadot			dmas = <&blsp_dma 0>, <&blsp_dma 1>;
387f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
388f126890aSEmmanuel Vadot		};
389f126890aSEmmanuel Vadot
390f126890aSEmmanuel Vadot		blsp1_uart2: serial@78b0000 {
391f126890aSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
392f126890aSEmmanuel Vadot			reg = <0x78b0000 0x200>;
393f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
394f126890aSEmmanuel Vadot			status = "disabled";
395f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
396f126890aSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
397f126890aSEmmanuel Vadot			clock-names = "core", "iface";
398f126890aSEmmanuel Vadot			dmas = <&blsp_dma 2>, <&blsp_dma 3>;
399f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
400f126890aSEmmanuel Vadot		};
401f126890aSEmmanuel Vadot
402f126890aSEmmanuel Vadot		watchdog: watchdog@b017000 {
403f126890aSEmmanuel Vadot			compatible = "qcom,kpss-wdt-ipq4019", "qcom,kpss-wdt";
404f126890aSEmmanuel Vadot			reg = <0xb017000 0x40>;
405f126890aSEmmanuel Vadot			clocks = <&sleep_clk>;
406f126890aSEmmanuel Vadot			timeout-sec = <10>;
407f126890aSEmmanuel Vadot			status = "disabled";
408f126890aSEmmanuel Vadot		};
409f126890aSEmmanuel Vadot
410f126890aSEmmanuel Vadot		restart@4ab000 {
411f126890aSEmmanuel Vadot			compatible = "qcom,pshold";
412f126890aSEmmanuel Vadot			reg = <0x4ab000 0x4>;
413f126890aSEmmanuel Vadot		};
414f126890aSEmmanuel Vadot
4158d13bc63SEmmanuel Vadot		pcie0: pcie@40000000 {
416f126890aSEmmanuel Vadot			compatible = "qcom,pcie-ipq4019";
417aa1a8ff2SEmmanuel Vadot			reg = <0x40000000 0xf1d>,
418aa1a8ff2SEmmanuel Vadot			      <0x40000f20 0xa8>,
419aa1a8ff2SEmmanuel Vadot			      <0x80000 0x2000>,
420aa1a8ff2SEmmanuel Vadot			      <0x40100000 0x1000>;
421f126890aSEmmanuel Vadot			reg-names = "dbi", "elbi", "parf", "config";
422f126890aSEmmanuel Vadot			device_type = "pci";
423f126890aSEmmanuel Vadot			linux,pci-domain = <0>;
424f126890aSEmmanuel Vadot			bus-range = <0x00 0xff>;
425f126890aSEmmanuel Vadot			num-lanes = <1>;
426f126890aSEmmanuel Vadot			#address-cells = <3>;
427f126890aSEmmanuel Vadot			#size-cells = <2>;
428f126890aSEmmanuel Vadot
429f126890aSEmmanuel Vadot			ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>,
430f126890aSEmmanuel Vadot				 <0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>;
431f126890aSEmmanuel Vadot
432f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
433f126890aSEmmanuel Vadot			interrupt-names = "msi";
434f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
435f126890aSEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
436f126890aSEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
437f126890aSEmmanuel Vadot					<0 0 0 2 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
438f126890aSEmmanuel Vadot					<0 0 0 3 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
439f126890aSEmmanuel Vadot					<0 0 0 4 &intc 0 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
440f126890aSEmmanuel Vadot			clocks = <&gcc GCC_PCIE_AHB_CLK>,
441f126890aSEmmanuel Vadot				 <&gcc GCC_PCIE_AXI_M_CLK>,
442f126890aSEmmanuel Vadot				 <&gcc GCC_PCIE_AXI_S_CLK>;
443f126890aSEmmanuel Vadot			clock-names = "aux",
444f126890aSEmmanuel Vadot				      "master_bus",
445f126890aSEmmanuel Vadot				      "slave_bus";
446f126890aSEmmanuel Vadot
447f126890aSEmmanuel Vadot			resets = <&gcc PCIE_AXI_M_ARES>,
448f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_S_ARES>,
449f126890aSEmmanuel Vadot				 <&gcc PCIE_PIPE_ARES>,
450f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_M_VMIDMT_ARES>,
451f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_S_XPU_ARES>,
452f126890aSEmmanuel Vadot				 <&gcc PCIE_PARF_XPU_ARES>,
453f126890aSEmmanuel Vadot				 <&gcc PCIE_PHY_ARES>,
454f126890aSEmmanuel Vadot				 <&gcc PCIE_AXI_M_STICKY_ARES>,
455f126890aSEmmanuel Vadot				 <&gcc PCIE_PIPE_STICKY_ARES>,
456f126890aSEmmanuel Vadot				 <&gcc PCIE_PWR_ARES>,
457f126890aSEmmanuel Vadot				 <&gcc PCIE_AHB_ARES>,
458f126890aSEmmanuel Vadot				 <&gcc PCIE_PHY_AHB_ARES>;
459f126890aSEmmanuel Vadot			reset-names = "axi_m",
460f126890aSEmmanuel Vadot				      "axi_s",
461f126890aSEmmanuel Vadot				      "pipe",
462f126890aSEmmanuel Vadot				      "axi_m_vmid",
463f126890aSEmmanuel Vadot				      "axi_s_xpu",
464f126890aSEmmanuel Vadot				      "parf",
465f126890aSEmmanuel Vadot				      "phy",
466f126890aSEmmanuel Vadot				      "axi_m_sticky",
467f126890aSEmmanuel Vadot				      "pipe_sticky",
468f126890aSEmmanuel Vadot				      "pwr",
469f126890aSEmmanuel Vadot				      "ahb",
470f126890aSEmmanuel Vadot				      "phy_ahb";
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot			status = "disabled";
473*7d0873ebSEmmanuel Vadot
474*7d0873ebSEmmanuel Vadot			pcie@0 {
475*7d0873ebSEmmanuel Vadot				device_type = "pci";
476*7d0873ebSEmmanuel Vadot				reg = <0x0 0x0 0x0 0x0 0x0>;
477*7d0873ebSEmmanuel Vadot				bus-range = <0x01 0xff>;
478*7d0873ebSEmmanuel Vadot
479*7d0873ebSEmmanuel Vadot				#address-cells = <3>;
480*7d0873ebSEmmanuel Vadot				#size-cells = <2>;
481*7d0873ebSEmmanuel Vadot				ranges;
482*7d0873ebSEmmanuel Vadot			};
483f126890aSEmmanuel Vadot		};
484f126890aSEmmanuel Vadot
485f126890aSEmmanuel Vadot		qpic_bam: dma-controller@7984000 {
486f126890aSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
487f126890aSEmmanuel Vadot			reg = <0x7984000 0x1a000>;
488f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
489f126890aSEmmanuel Vadot			clocks = <&gcc GCC_QPIC_CLK>;
490f126890aSEmmanuel Vadot			clock-names = "bam_clk";
491f126890aSEmmanuel Vadot			#dma-cells = <1>;
492f126890aSEmmanuel Vadot			qcom,ee = <0>;
493f126890aSEmmanuel Vadot			status = "disabled";
494f126890aSEmmanuel Vadot		};
495f126890aSEmmanuel Vadot
496f126890aSEmmanuel Vadot		nand: nand-controller@79b0000 {
497f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-nand";
498f126890aSEmmanuel Vadot			reg = <0x79b0000 0x1000>;
499f126890aSEmmanuel Vadot			#address-cells = <1>;
500f126890aSEmmanuel Vadot			#size-cells = <0>;
501f126890aSEmmanuel Vadot			clocks = <&gcc GCC_QPIC_CLK>,
502f126890aSEmmanuel Vadot				 <&gcc GCC_QPIC_AHB_CLK>;
503f126890aSEmmanuel Vadot			clock-names = "core", "aon";
504f126890aSEmmanuel Vadot
505f126890aSEmmanuel Vadot			dmas = <&qpic_bam 0>,
506f126890aSEmmanuel Vadot			       <&qpic_bam 1>,
507f126890aSEmmanuel Vadot			       <&qpic_bam 2>;
508f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "cmd";
509f126890aSEmmanuel Vadot			status = "disabled";
510f126890aSEmmanuel Vadot
511f126890aSEmmanuel Vadot			nand@0 {
512f126890aSEmmanuel Vadot				reg = <0>;
513f126890aSEmmanuel Vadot
514f126890aSEmmanuel Vadot				nand-ecc-strength = <4>;
515f126890aSEmmanuel Vadot				nand-ecc-step-size = <512>;
516f126890aSEmmanuel Vadot				nand-bus-width = <8>;
517f126890aSEmmanuel Vadot			};
518f126890aSEmmanuel Vadot		};
519f126890aSEmmanuel Vadot
520f126890aSEmmanuel Vadot		wifi0: wifi@a000000 {
521f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-wifi";
522f126890aSEmmanuel Vadot			reg = <0xa000000 0x200000>;
523f126890aSEmmanuel Vadot			resets = <&gcc WIFI0_CPU_INIT_RESET>,
524f126890aSEmmanuel Vadot				 <&gcc WIFI0_RADIO_SRIF_RESET>,
525f126890aSEmmanuel Vadot				 <&gcc WIFI0_RADIO_WARM_RESET>,
526f126890aSEmmanuel Vadot				 <&gcc WIFI0_RADIO_COLD_RESET>,
527f126890aSEmmanuel Vadot				 <&gcc WIFI0_CORE_WARM_RESET>,
528f126890aSEmmanuel Vadot				 <&gcc WIFI0_CORE_COLD_RESET>;
529f126890aSEmmanuel Vadot			reset-names = "wifi_cpu_init", "wifi_radio_srif",
530f126890aSEmmanuel Vadot				      "wifi_radio_warm", "wifi_radio_cold",
531f126890aSEmmanuel Vadot				      "wifi_core_warm", "wifi_core_cold";
532f126890aSEmmanuel Vadot			clocks = <&gcc GCC_WCSS2G_CLK>,
533f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS2G_REF_CLK>,
534f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS2G_RTC_CLK>;
535f126890aSEmmanuel Vadot			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
536f126890aSEmmanuel Vadot				      "wifi_wcss_rtc";
537f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
538f126890aSEmmanuel Vadot				     <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
539f126890aSEmmanuel Vadot				     <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
540f126890aSEmmanuel Vadot				     <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
541f126890aSEmmanuel Vadot				     <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
542f126890aSEmmanuel Vadot				     <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>,
543f126890aSEmmanuel Vadot				     <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>,
544f126890aSEmmanuel Vadot				     <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
545f126890aSEmmanuel Vadot				     <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
546f126890aSEmmanuel Vadot				     <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
547f126890aSEmmanuel Vadot				     <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>,
548f126890aSEmmanuel Vadot				     <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>,
549f126890aSEmmanuel Vadot				     <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
550f126890aSEmmanuel Vadot				     <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
551f126890aSEmmanuel Vadot				     <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
552f126890aSEmmanuel Vadot				     <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>,
553f126890aSEmmanuel Vadot				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
554f126890aSEmmanuel Vadot			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
555f126890aSEmmanuel Vadot					  "msi4",  "msi5",  "msi6",  "msi7",
556f126890aSEmmanuel Vadot					  "msi8",  "msi9", "msi10", "msi11",
557f126890aSEmmanuel Vadot					  "msi12", "msi13", "msi14", "msi15",
558f126890aSEmmanuel Vadot					  "legacy";
559f126890aSEmmanuel Vadot			status = "disabled";
560f126890aSEmmanuel Vadot		};
561f126890aSEmmanuel Vadot
562f126890aSEmmanuel Vadot		wifi1: wifi@a800000 {
563f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-wifi";
564f126890aSEmmanuel Vadot			reg = <0xa800000 0x200000>;
565f126890aSEmmanuel Vadot			resets = <&gcc WIFI1_CPU_INIT_RESET>,
566f126890aSEmmanuel Vadot				 <&gcc WIFI1_RADIO_SRIF_RESET>,
567f126890aSEmmanuel Vadot				 <&gcc WIFI1_RADIO_WARM_RESET>,
568f126890aSEmmanuel Vadot				 <&gcc WIFI1_RADIO_COLD_RESET>,
569f126890aSEmmanuel Vadot				 <&gcc WIFI1_CORE_WARM_RESET>,
570f126890aSEmmanuel Vadot				 <&gcc WIFI1_CORE_COLD_RESET>;
571f126890aSEmmanuel Vadot			reset-names = "wifi_cpu_init", "wifi_radio_srif",
572f126890aSEmmanuel Vadot				      "wifi_radio_warm", "wifi_radio_cold",
573f126890aSEmmanuel Vadot				      "wifi_core_warm", "wifi_core_cold";
574f126890aSEmmanuel Vadot			clocks = <&gcc GCC_WCSS5G_CLK>,
575f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS5G_REF_CLK>,
576f126890aSEmmanuel Vadot				 <&gcc GCC_WCSS5G_RTC_CLK>;
577f126890aSEmmanuel Vadot			clock-names = "wifi_wcss_cmd", "wifi_wcss_ref",
578f126890aSEmmanuel Vadot				      "wifi_wcss_rtc";
579f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
580f126890aSEmmanuel Vadot				     <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>,
581f126890aSEmmanuel Vadot				     <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>,
582f126890aSEmmanuel Vadot				     <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
583f126890aSEmmanuel Vadot				     <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
584f126890aSEmmanuel Vadot				     <GIC_SPI 53 IRQ_TYPE_EDGE_RISING>,
585f126890aSEmmanuel Vadot				     <GIC_SPI 54 IRQ_TYPE_EDGE_RISING>,
586f126890aSEmmanuel Vadot				     <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
587f126890aSEmmanuel Vadot				     <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>,
588f126890aSEmmanuel Vadot				     <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>,
589f126890aSEmmanuel Vadot				     <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>,
590f126890aSEmmanuel Vadot				     <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>,
591f126890aSEmmanuel Vadot				     <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>,
592f126890aSEmmanuel Vadot				     <GIC_SPI 61 IRQ_TYPE_EDGE_RISING>,
593f126890aSEmmanuel Vadot				     <GIC_SPI 62 IRQ_TYPE_EDGE_RISING>,
594f126890aSEmmanuel Vadot				     <GIC_SPI 63 IRQ_TYPE_EDGE_RISING>,
595f126890aSEmmanuel Vadot				     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
596f126890aSEmmanuel Vadot			interrupt-names = "msi0",  "msi1",  "msi2",  "msi3",
597f126890aSEmmanuel Vadot					  "msi4",  "msi5",  "msi6",  "msi7",
598f126890aSEmmanuel Vadot					  "msi8",  "msi9", "msi10", "msi11",
599f126890aSEmmanuel Vadot					  "msi12", "msi13", "msi14", "msi15",
600f126890aSEmmanuel Vadot					  "legacy";
601f126890aSEmmanuel Vadot			status = "disabled";
602f126890aSEmmanuel Vadot		};
603f126890aSEmmanuel Vadot
604f126890aSEmmanuel Vadot		mdio: mdio@90000 {
605f126890aSEmmanuel Vadot			#address-cells = <1>;
606f126890aSEmmanuel Vadot			#size-cells = <0>;
607f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-mdio";
608f126890aSEmmanuel Vadot			reg = <0x90000 0x64>;
609f126890aSEmmanuel Vadot			status = "disabled";
610f126890aSEmmanuel Vadot
611*7d0873ebSEmmanuel Vadot			ethernet-phy-package@0 {
612*7d0873ebSEmmanuel Vadot				#address-cells = <1>;
613*7d0873ebSEmmanuel Vadot				#size-cells = <0>;
614*7d0873ebSEmmanuel Vadot				compatible = "qcom,qca8075-package";
615*7d0873ebSEmmanuel Vadot				reg = <0>;
616*7d0873ebSEmmanuel Vadot
617*7d0873ebSEmmanuel Vadot				qcom,tx-drive-strength-milliwatt = <300>;
618*7d0873ebSEmmanuel Vadot
619f126890aSEmmanuel Vadot				ethphy0: ethernet-phy@0 {
620f126890aSEmmanuel Vadot					reg = <0>;
621f126890aSEmmanuel Vadot				};
622f126890aSEmmanuel Vadot
623f126890aSEmmanuel Vadot				ethphy1: ethernet-phy@1 {
624f126890aSEmmanuel Vadot					reg = <1>;
625f126890aSEmmanuel Vadot				};
626f126890aSEmmanuel Vadot
627f126890aSEmmanuel Vadot				ethphy2: ethernet-phy@2 {
628f126890aSEmmanuel Vadot					reg = <2>;
629f126890aSEmmanuel Vadot				};
630f126890aSEmmanuel Vadot
631f126890aSEmmanuel Vadot				ethphy3: ethernet-phy@3 {
632f126890aSEmmanuel Vadot					reg = <3>;
633f126890aSEmmanuel Vadot				};
634f126890aSEmmanuel Vadot
635f126890aSEmmanuel Vadot				ethphy4: ethernet-phy@4 {
636f126890aSEmmanuel Vadot					reg = <4>;
637f126890aSEmmanuel Vadot				};
638f126890aSEmmanuel Vadot			};
639*7d0873ebSEmmanuel Vadot		};
640f126890aSEmmanuel Vadot
641aa1a8ff2SEmmanuel Vadot		usb3_ss_phy: usb-phy@9a000 {
642f126890aSEmmanuel Vadot			compatible = "qcom,usb-ss-ipq4019-phy";
643f126890aSEmmanuel Vadot			#phy-cells = <0>;
644f126890aSEmmanuel Vadot			reg = <0x9a000 0x800>;
645f126890aSEmmanuel Vadot			reg-names = "phy_base";
646f126890aSEmmanuel Vadot			resets = <&gcc USB3_UNIPHY_PHY_ARES>;
647f126890aSEmmanuel Vadot			reset-names = "por_rst";
648f126890aSEmmanuel Vadot			status = "disabled";
649f126890aSEmmanuel Vadot		};
650f126890aSEmmanuel Vadot
651aa1a8ff2SEmmanuel Vadot		usb3_hs_phy: usb-phy@a6000 {
652f126890aSEmmanuel Vadot			compatible = "qcom,usb-hs-ipq4019-phy";
653f126890aSEmmanuel Vadot			#phy-cells = <0>;
654f126890aSEmmanuel Vadot			reg = <0xa6000 0x40>;
655f126890aSEmmanuel Vadot			reg-names = "phy_base";
656f126890aSEmmanuel Vadot			resets = <&gcc USB3_HSPHY_POR_ARES>, <&gcc USB3_HSPHY_S_ARES>;
657f126890aSEmmanuel Vadot			reset-names = "por_rst", "srif_rst";
658f126890aSEmmanuel Vadot			status = "disabled";
659f126890aSEmmanuel Vadot		};
660f126890aSEmmanuel Vadot
661aa1a8ff2SEmmanuel Vadot		usb3: usb@8af8800 {
662f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
663f126890aSEmmanuel Vadot			reg = <0x8af8800 0x100>;
664f126890aSEmmanuel Vadot			#address-cells = <1>;
665f126890aSEmmanuel Vadot			#size-cells = <1>;
666f126890aSEmmanuel Vadot			clocks = <&gcc GCC_USB3_MASTER_CLK>,
667f126890aSEmmanuel Vadot				 <&gcc GCC_USB3_SLEEP_CLK>,
668f126890aSEmmanuel Vadot				 <&gcc GCC_USB3_MOCK_UTMI_CLK>;
669f126890aSEmmanuel Vadot			clock-names = "core", "sleep", "mock_utmi";
670f126890aSEmmanuel Vadot			ranges;
671f126890aSEmmanuel Vadot			status = "disabled";
672f126890aSEmmanuel Vadot
673aa1a8ff2SEmmanuel Vadot			usb3_dwc: usb@8a00000 {
674f126890aSEmmanuel Vadot				compatible = "snps,dwc3";
675f126890aSEmmanuel Vadot				reg = <0x8a00000 0xf8000>;
676f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
677f126890aSEmmanuel Vadot				phys = <&usb3_hs_phy>, <&usb3_ss_phy>;
678f126890aSEmmanuel Vadot				phy-names = "usb2-phy", "usb3-phy";
679f126890aSEmmanuel Vadot				dr_mode = "host";
680f126890aSEmmanuel Vadot			};
681f126890aSEmmanuel Vadot		};
682f126890aSEmmanuel Vadot
683aa1a8ff2SEmmanuel Vadot		usb2_hs_phy: usb-phy@a8000 {
684f126890aSEmmanuel Vadot			compatible = "qcom,usb-hs-ipq4019-phy";
685f126890aSEmmanuel Vadot			#phy-cells = <0>;
686f126890aSEmmanuel Vadot			reg = <0xa8000 0x40>;
687f126890aSEmmanuel Vadot			reg-names = "phy_base";
688f126890aSEmmanuel Vadot			resets = <&gcc USB2_HSPHY_POR_ARES>, <&gcc USB2_HSPHY_S_ARES>;
689f126890aSEmmanuel Vadot			reset-names = "por_rst", "srif_rst";
690f126890aSEmmanuel Vadot			status = "disabled";
691f126890aSEmmanuel Vadot		};
692f126890aSEmmanuel Vadot
693aa1a8ff2SEmmanuel Vadot		usb2: usb@60f8800 {
694f126890aSEmmanuel Vadot			compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
695f126890aSEmmanuel Vadot			reg = <0x60f8800 0x100>;
696f126890aSEmmanuel Vadot			#address-cells = <1>;
697f126890aSEmmanuel Vadot			#size-cells = <1>;
698f126890aSEmmanuel Vadot			clocks = <&gcc GCC_USB2_MASTER_CLK>,
699f126890aSEmmanuel Vadot				 <&gcc GCC_USB2_SLEEP_CLK>,
700f126890aSEmmanuel Vadot				 <&gcc GCC_USB2_MOCK_UTMI_CLK>;
70101950c46SEmmanuel Vadot			clock-names = "core", "sleep", "mock_utmi";
702f126890aSEmmanuel Vadot			ranges;
703f126890aSEmmanuel Vadot			status = "disabled";
704f126890aSEmmanuel Vadot
705aa1a8ff2SEmmanuel Vadot			usb@6000000 {
706f126890aSEmmanuel Vadot				compatible = "snps,dwc3";
707f126890aSEmmanuel Vadot				reg = <0x6000000 0xf8000>;
708f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
709f126890aSEmmanuel Vadot				phys = <&usb2_hs_phy>;
710f126890aSEmmanuel Vadot				phy-names = "usb2-phy";
711f126890aSEmmanuel Vadot				dr_mode = "host";
712f126890aSEmmanuel Vadot			};
713f126890aSEmmanuel Vadot		};
714f126890aSEmmanuel Vadot	};
715f126890aSEmmanuel Vadot};
716