xref: /freebsd-src/sys/contrib/device-tree/src/arm64/qcom/ipq8074.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright (c) 2017, The Linux Foundation. All rights reserved.
4c66ec88fSEmmanuel Vadot */
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
7c66ec88fSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-ipq8074.h>
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadot/ {
10b97ee269SEmmanuel Vadot	#address-cells = <2>;
11b97ee269SEmmanuel Vadot	#size-cells = <2>;
12b97ee269SEmmanuel Vadot
13c66ec88fSEmmanuel Vadot	model = "Qualcomm Technologies, Inc. IPQ8074";
14c66ec88fSEmmanuel Vadot	compatible = "qcom,ipq8074";
15b97ee269SEmmanuel Vadot	interrupt-parent = <&intc>;
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot	clocks {
18c66ec88fSEmmanuel Vadot		sleep_clk: sleep_clk {
19c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
20d5b0e70fSEmmanuel Vadot			clock-frequency = <32768>;
21c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
22c66ec88fSEmmanuel Vadot		};
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot		xo: xo {
25c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
26c66ec88fSEmmanuel Vadot			clock-frequency = <19200000>;
27c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
28c66ec88fSEmmanuel Vadot		};
29c66ec88fSEmmanuel Vadot	};
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot	cpus {
32f126890aSEmmanuel Vadot		#address-cells = <1>;
33f126890aSEmmanuel Vadot		#size-cells = <0>;
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot		CPU0: cpu@0 {
36c66ec88fSEmmanuel Vadot			device_type = "cpu";
37c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
38c66ec88fSEmmanuel Vadot			reg = <0x0>;
39c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
40c66ec88fSEmmanuel Vadot			enable-method = "psci";
41c66ec88fSEmmanuel Vadot		};
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadot		CPU1: cpu@1 {
44c66ec88fSEmmanuel Vadot			device_type = "cpu";
45c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
46c66ec88fSEmmanuel Vadot			enable-method = "psci";
47c66ec88fSEmmanuel Vadot			reg = <0x1>;
48c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
49c66ec88fSEmmanuel Vadot		};
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadot		CPU2: cpu@2 {
52c66ec88fSEmmanuel Vadot			device_type = "cpu";
53c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
54c66ec88fSEmmanuel Vadot			enable-method = "psci";
55c66ec88fSEmmanuel Vadot			reg = <0x2>;
56c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
57c66ec88fSEmmanuel Vadot		};
58c66ec88fSEmmanuel Vadot
59c66ec88fSEmmanuel Vadot		CPU3: cpu@3 {
60c66ec88fSEmmanuel Vadot			device_type = "cpu";
61c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
62c66ec88fSEmmanuel Vadot			enable-method = "psci";
63c66ec88fSEmmanuel Vadot			reg = <0x3>;
64c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_0>;
65c66ec88fSEmmanuel Vadot		};
66c66ec88fSEmmanuel Vadot
67c66ec88fSEmmanuel Vadot		L2_0: l2-cache {
68c66ec88fSEmmanuel Vadot			compatible = "cache";
69fac71e4eSEmmanuel Vadot			cache-level = <2>;
70fac71e4eSEmmanuel Vadot			cache-unified;
71c66ec88fSEmmanuel Vadot		};
72c66ec88fSEmmanuel Vadot	};
73c66ec88fSEmmanuel Vadot
74c66ec88fSEmmanuel Vadot	pmu {
756be33864SEmmanuel Vadot		compatible = "arm,cortex-a53-pmu";
76c66ec88fSEmmanuel Vadot		interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
77c66ec88fSEmmanuel Vadot	};
78c66ec88fSEmmanuel Vadot
79c66ec88fSEmmanuel Vadot	psci {
80c66ec88fSEmmanuel Vadot		compatible = "arm,psci-1.0";
81c66ec88fSEmmanuel Vadot		method = "smc";
82c66ec88fSEmmanuel Vadot	};
83c66ec88fSEmmanuel Vadot
84c9ccf3a3SEmmanuel Vadot	reserved-memory {
85c9ccf3a3SEmmanuel Vadot		#address-cells = <2>;
86c9ccf3a3SEmmanuel Vadot		#size-cells = <2>;
87c9ccf3a3SEmmanuel Vadot		ranges;
88c9ccf3a3SEmmanuel Vadot
89f126890aSEmmanuel Vadot		bootloader@4a600000 {
90f126890aSEmmanuel Vadot			reg = <0x0 0x4a600000 0x0 0x400000>;
91f126890aSEmmanuel Vadot			no-map;
92f126890aSEmmanuel Vadot		};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot		sbl@4aa00000 {
95f126890aSEmmanuel Vadot			reg = <0x0 0x4aa00000 0x0 0x100000>;
96f126890aSEmmanuel Vadot			no-map;
97f126890aSEmmanuel Vadot		};
98f126890aSEmmanuel Vadot
99c9ccf3a3SEmmanuel Vadot		smem@4ab00000 {
100c9ccf3a3SEmmanuel Vadot			compatible = "qcom,smem";
101f126890aSEmmanuel Vadot			reg = <0x0 0x4ab00000 0x0 0x100000>;
102c9ccf3a3SEmmanuel Vadot			no-map;
103c9ccf3a3SEmmanuel Vadot
10484943d6fSEmmanuel Vadot			hwlocks = <&tcsr_mutex 3>;
105c9ccf3a3SEmmanuel Vadot		};
106c9ccf3a3SEmmanuel Vadot
107c9ccf3a3SEmmanuel Vadot		memory@4ac00000 {
108f126890aSEmmanuel Vadot			reg = <0x0 0x4ac00000 0x0 0x400000>;
109c9ccf3a3SEmmanuel Vadot			no-map;
110c9ccf3a3SEmmanuel Vadot		};
111c9ccf3a3SEmmanuel Vadot	};
112c9ccf3a3SEmmanuel Vadot
113354d7675SEmmanuel Vadot	firmware {
114354d7675SEmmanuel Vadot		scm {
115354d7675SEmmanuel Vadot			compatible = "qcom,scm-ipq8074", "qcom,scm";
116f126890aSEmmanuel Vadot			qcom,dload-mode = <&tcsr 0x6100>;
117354d7675SEmmanuel Vadot		};
118354d7675SEmmanuel Vadot	};
119354d7675SEmmanuel Vadot
120f126890aSEmmanuel Vadot	soc: soc@0 {
121f126890aSEmmanuel Vadot		#address-cells = <1>;
122f126890aSEmmanuel Vadot		#size-cells = <1>;
123c66ec88fSEmmanuel Vadot		ranges = <0 0 0 0xffffffff>;
124c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
125c66ec88fSEmmanuel Vadot
126c66ec88fSEmmanuel Vadot		ssphy_1: phy@58000 {
127c66ec88fSEmmanuel Vadot			compatible = "qcom,ipq8074-qmp-usb3-phy";
1288d13bc63SEmmanuel Vadot			reg = <0x00058000 0x1000>;
129c66ec88fSEmmanuel Vadot
130c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_USB1_AUX_CLK>,
1318d13bc63SEmmanuel Vadot				 <&xo>,
132c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
1338d13bc63SEmmanuel Vadot				 <&gcc GCC_USB1_PIPE_CLK>;
1348d13bc63SEmmanuel Vadot			clock-names = "aux",
1358d13bc63SEmmanuel Vadot				      "ref",
1368d13bc63SEmmanuel Vadot				      "cfg_ahb",
1378d13bc63SEmmanuel Vadot				      "pipe";
1388d13bc63SEmmanuel Vadot			clock-output-names = "usb3phy_1_cc_pipe_clk";
1398d13bc63SEmmanuel Vadot			#clock-cells = <0>;
1408d13bc63SEmmanuel Vadot			#phy-cells = <0>;
141c66ec88fSEmmanuel Vadot
142c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_USB1_PHY_BCR>,
143c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB3PHY_1_PHY_BCR>;
1448d13bc63SEmmanuel Vadot			reset-names = "phy",
1458d13bc63SEmmanuel Vadot				      "phy_phy";
146c66ec88fSEmmanuel Vadot
1478d13bc63SEmmanuel Vadot			status = "disabled";
148c66ec88fSEmmanuel Vadot		};
149c66ec88fSEmmanuel Vadot
150c66ec88fSEmmanuel Vadot		qusb_phy_1: phy@59000 {
151c66ec88fSEmmanuel Vadot			compatible = "qcom,ipq8074-qusb2-phy";
152c66ec88fSEmmanuel Vadot			reg = <0x00059000 0x180>;
153c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
154c66ec88fSEmmanuel Vadot
155c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
156c66ec88fSEmmanuel Vadot				 <&xo>;
157c66ec88fSEmmanuel Vadot			clock-names = "cfg_ahb", "ref";
158c66ec88fSEmmanuel Vadot
159c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
160c66ec88fSEmmanuel Vadot			status = "disabled";
161c66ec88fSEmmanuel Vadot		};
162c66ec88fSEmmanuel Vadot
163c66ec88fSEmmanuel Vadot		ssphy_0: phy@78000 {
164c66ec88fSEmmanuel Vadot			compatible = "qcom,ipq8074-qmp-usb3-phy";
1658d13bc63SEmmanuel Vadot			reg = <0x00078000 0x1000>;
166c66ec88fSEmmanuel Vadot
167c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_USB0_AUX_CLK>,
1688d13bc63SEmmanuel Vadot				 <&xo>,
169c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
1708d13bc63SEmmanuel Vadot				 <&gcc GCC_USB0_PIPE_CLK>;
1718d13bc63SEmmanuel Vadot			clock-names = "aux",
1728d13bc63SEmmanuel Vadot				      "ref",
1738d13bc63SEmmanuel Vadot				      "cfg_ahb",
1748d13bc63SEmmanuel Vadot				      "pipe";
1758d13bc63SEmmanuel Vadot			clock-output-names = "usb3phy_0_cc_pipe_clk";
1768d13bc63SEmmanuel Vadot			#clock-cells = <0>;
1778d13bc63SEmmanuel Vadot			#phy-cells = <0>;
178c66ec88fSEmmanuel Vadot
179c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_USB0_PHY_BCR>,
180c66ec88fSEmmanuel Vadot				 <&gcc GCC_USB3PHY_0_PHY_BCR>;
1818d13bc63SEmmanuel Vadot			reset-names = "phy",
1828d13bc63SEmmanuel Vadot				      "phy_phy";
183c66ec88fSEmmanuel Vadot
1848d13bc63SEmmanuel Vadot			status = "disabled";
185c66ec88fSEmmanuel Vadot		};
186c66ec88fSEmmanuel Vadot
187c66ec88fSEmmanuel Vadot		qusb_phy_0: phy@79000 {
188c66ec88fSEmmanuel Vadot			compatible = "qcom,ipq8074-qusb2-phy";
189c66ec88fSEmmanuel Vadot			reg = <0x00079000 0x180>;
190c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
191c66ec88fSEmmanuel Vadot
192c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
193c66ec88fSEmmanuel Vadot				 <&xo>;
194c66ec88fSEmmanuel Vadot			clock-names = "cfg_ahb", "ref";
195c66ec88fSEmmanuel Vadot
196c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
1975956d97fSEmmanuel Vadot			status = "disabled";
198c66ec88fSEmmanuel Vadot		};
199c66ec88fSEmmanuel Vadot
200cb7aa33aSEmmanuel Vadot		pcie_qmp0: phy@84000 {
201cb7aa33aSEmmanuel Vadot			compatible = "qcom,ipq8074-qmp-gen3-pcie-phy";
20284943d6fSEmmanuel Vadot			reg = <0x00084000 0x1000>;
203c66ec88fSEmmanuel Vadot
2048cc087a1SEmmanuel Vadot			clocks = <&gcc GCC_PCIE0_AUX_CLK>,
20584943d6fSEmmanuel Vadot				 <&gcc GCC_PCIE0_AHB_CLK>,
20684943d6fSEmmanuel Vadot				 <&gcc GCC_PCIE0_PIPE_CLK>;
20784943d6fSEmmanuel Vadot			clock-names = "aux",
20884943d6fSEmmanuel Vadot				      "cfg_ahb",
20984943d6fSEmmanuel Vadot				      "pipe";
21084943d6fSEmmanuel Vadot
21184943d6fSEmmanuel Vadot			clock-output-names = "pcie20_phy0_pipe_clk";
21284943d6fSEmmanuel Vadot			#clock-cells = <0>;
21384943d6fSEmmanuel Vadot
21484943d6fSEmmanuel Vadot			#phy-cells = <0>;
21584943d6fSEmmanuel Vadot
216c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_PCIE0_PHY_BCR>,
217c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0PHY_PHY_BCR>;
218c66ec88fSEmmanuel Vadot			reset-names = "phy",
219c66ec88fSEmmanuel Vadot				      "common";
220c66ec88fSEmmanuel Vadot			status = "disabled";
221c66ec88fSEmmanuel Vadot		};
222c66ec88fSEmmanuel Vadot
2238cc087a1SEmmanuel Vadot		pcie_qmp1: phy@8e000 {
224c66ec88fSEmmanuel Vadot			compatible = "qcom,ipq8074-qmp-pcie-phy";
22584943d6fSEmmanuel Vadot			reg = <0x0008e000 0x1000>;
226c66ec88fSEmmanuel Vadot
2278cc087a1SEmmanuel Vadot			clocks = <&gcc GCC_PCIE1_AUX_CLK>,
22884943d6fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AHB_CLK>,
22984943d6fSEmmanuel Vadot				 <&gcc GCC_PCIE1_PIPE_CLK>;
23084943d6fSEmmanuel Vadot			clock-names = "aux",
23184943d6fSEmmanuel Vadot				      "cfg_ahb",
23284943d6fSEmmanuel Vadot				      "pipe";
23384943d6fSEmmanuel Vadot
23484943d6fSEmmanuel Vadot			clock-output-names = "pcie20_phy1_pipe_clk";
23584943d6fSEmmanuel Vadot			#clock-cells = <0>;
23684943d6fSEmmanuel Vadot
23784943d6fSEmmanuel Vadot			#phy-cells = <0>;
23884943d6fSEmmanuel Vadot
239c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_PCIE1_PHY_BCR>,
240c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1PHY_PHY_BCR>;
241c66ec88fSEmmanuel Vadot			reset-names = "phy",
242c66ec88fSEmmanuel Vadot				      "common";
243c66ec88fSEmmanuel Vadot			status = "disabled";
244c66ec88fSEmmanuel Vadot		};
245c66ec88fSEmmanuel Vadot
246e67e8565SEmmanuel Vadot		mdio: mdio@90000 {
247cb7aa33aSEmmanuel Vadot			compatible = "qcom,ipq8074-mdio", "qcom,ipq4019-mdio";
248e67e8565SEmmanuel Vadot			reg = <0x00090000 0x64>;
249e67e8565SEmmanuel Vadot			#address-cells = <1>;
250e67e8565SEmmanuel Vadot			#size-cells = <0>;
251e67e8565SEmmanuel Vadot
252e67e8565SEmmanuel Vadot			clocks = <&gcc GCC_MDIO_AHB_CLK>;
253e67e8565SEmmanuel Vadot			clock-names = "gcc_mdio_ahb_clk";
254e67e8565SEmmanuel Vadot
25501950c46SEmmanuel Vadot			clock-frequency = <6250000>;
25601950c46SEmmanuel Vadot
257e67e8565SEmmanuel Vadot			status = "disabled";
258e67e8565SEmmanuel Vadot		};
259e67e8565SEmmanuel Vadot
260cb7aa33aSEmmanuel Vadot		qfprom: efuse@a4000 {
261cb7aa33aSEmmanuel Vadot			compatible = "qcom,ipq8074-qfprom", "qcom,qfprom";
262cb7aa33aSEmmanuel Vadot			reg = <0x000a4000 0x2000>;
263cb7aa33aSEmmanuel Vadot			#address-cells = <1>;
264cb7aa33aSEmmanuel Vadot			#size-cells = <1>;
265cb7aa33aSEmmanuel Vadot		};
266cb7aa33aSEmmanuel Vadot
267354d7675SEmmanuel Vadot		prng: rng@e3000 {
268354d7675SEmmanuel Vadot			compatible = "qcom,prng-ee";
269354d7675SEmmanuel Vadot			reg = <0x000e3000 0x1000>;
270354d7675SEmmanuel Vadot			clocks = <&gcc GCC_PRNG_AHB_CLK>;
271354d7675SEmmanuel Vadot			clock-names = "core";
272354d7675SEmmanuel Vadot			status = "disabled";
273354d7675SEmmanuel Vadot		};
274354d7675SEmmanuel Vadot
2758bab661aSEmmanuel Vadot		tsens: thermal-sensor@4a9000 {
2768bab661aSEmmanuel Vadot			compatible = "qcom,ipq8074-tsens";
2778bab661aSEmmanuel Vadot			reg = <0x4a9000 0x1000>, /* TM */
2788bab661aSEmmanuel Vadot			      <0x4a8000 0x1000>; /* SROT */
2798bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
2808bab661aSEmmanuel Vadot			interrupt-names = "combined";
2818bab661aSEmmanuel Vadot			#qcom,sensors = <16>;
2828bab661aSEmmanuel Vadot			#thermal-sensor-cells = <1>;
2838bab661aSEmmanuel Vadot		};
2848bab661aSEmmanuel Vadot
2858cc087a1SEmmanuel Vadot		cryptobam: dma-controller@704000 {
286354d7675SEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
287354d7675SEmmanuel Vadot			reg = <0x00704000 0x20000>;
288354d7675SEmmanuel Vadot			interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
289354d7675SEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_AHB_CLK>;
290354d7675SEmmanuel Vadot			clock-names = "bam_clk";
291354d7675SEmmanuel Vadot			#dma-cells = <1>;
292354d7675SEmmanuel Vadot			qcom,ee = <1>;
2938cc087a1SEmmanuel Vadot			qcom,controlled-remotely;
294354d7675SEmmanuel Vadot			status = "disabled";
295354d7675SEmmanuel Vadot		};
296354d7675SEmmanuel Vadot
297354d7675SEmmanuel Vadot		crypto: crypto@73a000 {
298354d7675SEmmanuel Vadot			compatible = "qcom,crypto-v5.1";
299354d7675SEmmanuel Vadot			reg = <0x0073a000 0x6000>;
300354d7675SEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_AHB_CLK>,
301354d7675SEmmanuel Vadot				 <&gcc GCC_CRYPTO_AXI_CLK>,
302354d7675SEmmanuel Vadot				 <&gcc GCC_CRYPTO_CLK>;
303354d7675SEmmanuel Vadot			clock-names = "iface", "bus", "core";
304354d7675SEmmanuel Vadot			dmas = <&cryptobam 2>, <&cryptobam 3>;
305354d7675SEmmanuel Vadot			dma-names = "rx", "tx";
306354d7675SEmmanuel Vadot			status = "disabled";
307354d7675SEmmanuel Vadot		};
308354d7675SEmmanuel Vadot
309c66ec88fSEmmanuel Vadot		tlmm: pinctrl@1000000 {
310c66ec88fSEmmanuel Vadot			compatible = "qcom,ipq8074-pinctrl";
311c66ec88fSEmmanuel Vadot			reg = <0x01000000 0x300000>;
312c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
313c66ec88fSEmmanuel Vadot			gpio-controller;
314c66ec88fSEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 70>;
315f126890aSEmmanuel Vadot			#gpio-cells = <2>;
316c66ec88fSEmmanuel Vadot			interrupt-controller;
317f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
318c66ec88fSEmmanuel Vadot
3198bab661aSEmmanuel Vadot			serial_4_pins: serial4-state {
320c66ec88fSEmmanuel Vadot				pins = "gpio23", "gpio24";
321c66ec88fSEmmanuel Vadot				function = "blsp4_uart1";
322c66ec88fSEmmanuel Vadot				drive-strength = <8>;
323c66ec88fSEmmanuel Vadot				bias-disable;
324c66ec88fSEmmanuel Vadot			};
325c66ec88fSEmmanuel Vadot
3267d0873ebSEmmanuel Vadot			serial_5_pins: serial5-state {
3277d0873ebSEmmanuel Vadot				pins = "gpio9", "gpio16";
3287d0873ebSEmmanuel Vadot				function = "blsp5_uart";
3297d0873ebSEmmanuel Vadot				drive-strength = <8>;
3307d0873ebSEmmanuel Vadot				bias-disable;
3317d0873ebSEmmanuel Vadot			};
3327d0873ebSEmmanuel Vadot
3338bab661aSEmmanuel Vadot			i2c_0_pins: i2c-0-state {
334c66ec88fSEmmanuel Vadot				pins = "gpio42", "gpio43";
335c66ec88fSEmmanuel Vadot				function = "blsp1_i2c";
336c66ec88fSEmmanuel Vadot				drive-strength = <8>;
337c66ec88fSEmmanuel Vadot				bias-disable;
338c66ec88fSEmmanuel Vadot			};
339c66ec88fSEmmanuel Vadot
3408bab661aSEmmanuel Vadot			spi_0_pins: spi-0-state {
341c66ec88fSEmmanuel Vadot				pins = "gpio38", "gpio39", "gpio40", "gpio41";
342c66ec88fSEmmanuel Vadot				function = "blsp0_spi";
343c66ec88fSEmmanuel Vadot				drive-strength = <8>;
344c66ec88fSEmmanuel Vadot				bias-disable;
345c66ec88fSEmmanuel Vadot			};
346c66ec88fSEmmanuel Vadot
3478bab661aSEmmanuel Vadot			hsuart_pins: hsuart-state {
348c66ec88fSEmmanuel Vadot				pins = "gpio46", "gpio47", "gpio48", "gpio49";
349c66ec88fSEmmanuel Vadot				function = "blsp2_uart";
350c66ec88fSEmmanuel Vadot				drive-strength = <8>;
351c66ec88fSEmmanuel Vadot				bias-disable;
352c66ec88fSEmmanuel Vadot			};
353c66ec88fSEmmanuel Vadot
3548bab661aSEmmanuel Vadot			qpic_pins: qpic-state {
355c66ec88fSEmmanuel Vadot				pins = "gpio1", "gpio3", "gpio4",
356c66ec88fSEmmanuel Vadot				       "gpio5", "gpio6", "gpio7",
357c66ec88fSEmmanuel Vadot				       "gpio8", "gpio10", "gpio11",
358c66ec88fSEmmanuel Vadot				       "gpio12", "gpio13", "gpio14",
3597d0873ebSEmmanuel Vadot				       "gpio15", "gpio17";
360c66ec88fSEmmanuel Vadot				function = "qpic";
361c66ec88fSEmmanuel Vadot				drive-strength = <8>;
362c66ec88fSEmmanuel Vadot				bias-disable;
363c66ec88fSEmmanuel Vadot			};
364c66ec88fSEmmanuel Vadot		};
365c66ec88fSEmmanuel Vadot
366*0e8011faSEmmanuel Vadot		gcc: clock-controller@1800000 {
367c66ec88fSEmmanuel Vadot			compatible = "qcom,gcc-ipq8074";
368c66ec88fSEmmanuel Vadot			reg = <0x01800000 0x80000>;
3698d13bc63SEmmanuel Vadot			clocks = <&xo>,
3708d13bc63SEmmanuel Vadot				 <&sleep_clk>,
3718d13bc63SEmmanuel Vadot				 <&pcie_qmp0>,
3728d13bc63SEmmanuel Vadot				 <&pcie_qmp1>;
3738d13bc63SEmmanuel Vadot			clock-names = "xo",
3748d13bc63SEmmanuel Vadot				      "sleep_clk",
3758d13bc63SEmmanuel Vadot				      "pcie0_pipe",
3768d13bc63SEmmanuel Vadot				      "pcie1_pipe";
3778bab661aSEmmanuel Vadot			#clock-cells = <1>;
378b97ee269SEmmanuel Vadot			#power-domain-cells = <1>;
3798bab661aSEmmanuel Vadot			#reset-cells = <1>;
380c66ec88fSEmmanuel Vadot		};
381c66ec88fSEmmanuel Vadot
382c9ccf3a3SEmmanuel Vadot		tcsr_mutex: hwlock@1905000 {
383c9ccf3a3SEmmanuel Vadot			compatible = "qcom,tcsr-mutex";
384c9ccf3a3SEmmanuel Vadot			reg = <0x01905000 0x20000>;
385c9ccf3a3SEmmanuel Vadot			#hwlock-cells = <1>;
386c9ccf3a3SEmmanuel Vadot		};
387c9ccf3a3SEmmanuel Vadot
388f126890aSEmmanuel Vadot		tcsr: syscon@1937000 {
389f126890aSEmmanuel Vadot			compatible = "qcom,tcsr-ipq8074", "syscon";
390f126890aSEmmanuel Vadot			reg = <0x01937000 0x21000>;
391f126890aSEmmanuel Vadot		};
392f126890aSEmmanuel Vadot
3938cc087a1SEmmanuel Vadot		spmi_bus: spmi@200f000 {
3948cc087a1SEmmanuel Vadot			compatible = "qcom,spmi-pmic-arb";
3958cc087a1SEmmanuel Vadot			reg = <0x0200f000 0x001000>,
3968cc087a1SEmmanuel Vadot			      <0x02400000 0x800000>,
3978cc087a1SEmmanuel Vadot			      <0x02c00000 0x800000>,
3988cc087a1SEmmanuel Vadot			      <0x03800000 0x200000>,
3998cc087a1SEmmanuel Vadot			      <0x0200a000 0x000700>;
4008cc087a1SEmmanuel Vadot			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4018cc087a1SEmmanuel Vadot			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
4028cc087a1SEmmanuel Vadot			interrupt-names = "periph_irq";
4038cc087a1SEmmanuel Vadot			qcom,ee = <0>;
4048cc087a1SEmmanuel Vadot			qcom,channel = <0>;
4058cc087a1SEmmanuel Vadot			#address-cells = <2>;
4068cc087a1SEmmanuel Vadot			#size-cells = <0>;
4078cc087a1SEmmanuel Vadot			interrupt-controller;
4088cc087a1SEmmanuel Vadot			#interrupt-cells = <4>;
4098cc087a1SEmmanuel Vadot		};
4108cc087a1SEmmanuel Vadot
411b97ee269SEmmanuel Vadot		sdhc_1: mmc@7824900 {
4128d13bc63SEmmanuel Vadot			compatible = "qcom,ipq8074-sdhci", "qcom,sdhci-msm-v4";
413c66ec88fSEmmanuel Vadot			reg = <0x7824900 0x500>, <0x7824000 0x800>;
4147ef62cebSEmmanuel Vadot			reg-names = "hc", "core";
415c66ec88fSEmmanuel Vadot
416c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
417c66ec88fSEmmanuel Vadot				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
418c66ec88fSEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
419c66ec88fSEmmanuel Vadot
420b97ee269SEmmanuel Vadot			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
421b97ee269SEmmanuel Vadot				 <&gcc GCC_SDCC1_APPS_CLK>,
422b97ee269SEmmanuel Vadot				 <&xo>;
423b97ee269SEmmanuel Vadot			clock-names = "iface", "core", "xo";
424b97ee269SEmmanuel Vadot			resets = <&gcc GCC_SDCC1_BCR>;
425c66ec88fSEmmanuel Vadot			max-frequency = <384000000>;
426c66ec88fSEmmanuel Vadot			mmc-ddr-1_8v;
427c66ec88fSEmmanuel Vadot			mmc-hs200-1_8v;
428c66ec88fSEmmanuel Vadot			mmc-hs400-1_8v;
429c66ec88fSEmmanuel Vadot			bus-width = <8>;
430c66ec88fSEmmanuel Vadot
431c66ec88fSEmmanuel Vadot			status = "disabled";
432c66ec88fSEmmanuel Vadot		};
433c66ec88fSEmmanuel Vadot
4345def4c47SEmmanuel Vadot		blsp_dma: dma-controller@7884000 {
435c66ec88fSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
436c66ec88fSEmmanuel Vadot			reg = <0x07884000 0x2b000>;
437c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
438c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
439c66ec88fSEmmanuel Vadot			clock-names = "bam_clk";
440c66ec88fSEmmanuel Vadot			#dma-cells = <1>;
441c66ec88fSEmmanuel Vadot			qcom,ee = <0>;
442c66ec88fSEmmanuel Vadot		};
443c66ec88fSEmmanuel Vadot
444c66ec88fSEmmanuel Vadot		blsp1_uart1: serial@78af000 {
445c66ec88fSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
446c66ec88fSEmmanuel Vadot			reg = <0x078af000 0x200>;
447c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
448c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
449c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
450c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
451c66ec88fSEmmanuel Vadot			status = "disabled";
452c66ec88fSEmmanuel Vadot		};
453c66ec88fSEmmanuel Vadot
454c66ec88fSEmmanuel Vadot		blsp1_uart3: serial@78b1000 {
455c66ec88fSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
456c66ec88fSEmmanuel Vadot			reg = <0x078b1000 0x200>;
457c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
458c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
459c66ec88fSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
460c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
461c66ec88fSEmmanuel Vadot			dmas = <&blsp_dma 4>,
462c66ec88fSEmmanuel Vadot				<&blsp_dma 5>;
463c66ec88fSEmmanuel Vadot			dma-names = "tx", "rx";
464c66ec88fSEmmanuel Vadot			pinctrl-0 = <&hsuart_pins>;
465c66ec88fSEmmanuel Vadot			pinctrl-names = "default";
466c66ec88fSEmmanuel Vadot			status = "disabled";
467c66ec88fSEmmanuel Vadot		};
468c66ec88fSEmmanuel Vadot
469c66ec88fSEmmanuel Vadot		blsp1_uart5: serial@78b3000 {
470c66ec88fSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
471c66ec88fSEmmanuel Vadot			reg = <0x078b3000 0x200>;
472c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
473c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART5_APPS_CLK>,
474c66ec88fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
475c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
476c66ec88fSEmmanuel Vadot			pinctrl-0 = <&serial_4_pins>;
477c66ec88fSEmmanuel Vadot			pinctrl-names = "default";
478c66ec88fSEmmanuel Vadot			status = "disabled";
479c66ec88fSEmmanuel Vadot		};
480c66ec88fSEmmanuel Vadot
4817d0873ebSEmmanuel Vadot		blsp1_uart6: serial@78b4000 {
4827d0873ebSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
4837d0873ebSEmmanuel Vadot			reg = <0x078b4000 0x200>;
4847d0873ebSEmmanuel Vadot			interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>;
4857d0873ebSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART6_APPS_CLK>,
4867d0873ebSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
4877d0873ebSEmmanuel Vadot			clock-names = "core", "iface";
4887d0873ebSEmmanuel Vadot			pinctrl-0 = <&serial_5_pins>;
4897d0873ebSEmmanuel Vadot			pinctrl-names = "default";
4907d0873ebSEmmanuel Vadot			status = "disabled";
4917d0873ebSEmmanuel Vadot		};
4927d0873ebSEmmanuel Vadot
493c66ec88fSEmmanuel Vadot		blsp1_spi1: spi@78b5000 {
494c66ec88fSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
495c66ec88fSEmmanuel Vadot			#address-cells = <1>;
496c66ec88fSEmmanuel Vadot			#size-cells = <0>;
497c66ec88fSEmmanuel Vadot			reg = <0x078b5000 0x600>;
498c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
499c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
500c66ec88fSEmmanuel Vadot				<&gcc GCC_BLSP1_AHB_CLK>;
501c66ec88fSEmmanuel Vadot			clock-names = "core", "iface";
502c66ec88fSEmmanuel Vadot			dmas = <&blsp_dma 12>, <&blsp_dma 13>;
503c66ec88fSEmmanuel Vadot			dma-names = "tx", "rx";
504c66ec88fSEmmanuel Vadot			pinctrl-0 = <&spi_0_pins>;
505c66ec88fSEmmanuel Vadot			pinctrl-names = "default";
506c66ec88fSEmmanuel Vadot			status = "disabled";
507c66ec88fSEmmanuel Vadot		};
508c66ec88fSEmmanuel Vadot
509c66ec88fSEmmanuel Vadot		blsp1_i2c2: i2c@78b6000 {
510c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
511c66ec88fSEmmanuel Vadot			#address-cells = <1>;
512c66ec88fSEmmanuel Vadot			#size-cells = <0>;
513c66ec88fSEmmanuel Vadot			reg = <0x078b6000 0x600>;
514c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
515d5b0e70fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
516d5b0e70fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
517d5b0e70fSEmmanuel Vadot			clock-names = "core", "iface";
518c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
519d5b0e70fSEmmanuel Vadot			dmas = <&blsp_dma 14>, <&blsp_dma 15>;
520d5b0e70fSEmmanuel Vadot			dma-names = "tx", "rx";
521c66ec88fSEmmanuel Vadot			pinctrl-0 = <&i2c_0_pins>;
522c66ec88fSEmmanuel Vadot			pinctrl-names = "default";
523c66ec88fSEmmanuel Vadot			status = "disabled";
524c66ec88fSEmmanuel Vadot		};
525c66ec88fSEmmanuel Vadot
526c66ec88fSEmmanuel Vadot		blsp1_i2c3: i2c@78b7000 {
527c66ec88fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
528c66ec88fSEmmanuel Vadot			#address-cells = <1>;
529c66ec88fSEmmanuel Vadot			#size-cells = <0>;
530c66ec88fSEmmanuel Vadot			reg = <0x078b7000 0x600>;
531c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
532d5b0e70fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
533d5b0e70fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
534d5b0e70fSEmmanuel Vadot			clock-names = "core", "iface";
535c66ec88fSEmmanuel Vadot			clock-frequency = <100000>;
536d5b0e70fSEmmanuel Vadot			dmas = <&blsp_dma 16>, <&blsp_dma 17>;
537d5b0e70fSEmmanuel Vadot			dma-names = "tx", "rx";
538c66ec88fSEmmanuel Vadot			status = "disabled";
539c66ec88fSEmmanuel Vadot		};
540c66ec88fSEmmanuel Vadot
5418d13bc63SEmmanuel Vadot		blsp1_spi4: spi@78b8000 {
5428d13bc63SEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
5438d13bc63SEmmanuel Vadot			#address-cells = <1>;
5448d13bc63SEmmanuel Vadot			#size-cells = <0>;
5458d13bc63SEmmanuel Vadot			reg = <0x78b8000 0x600>;
5468d13bc63SEmmanuel Vadot			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
5478d13bc63SEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
5488d13bc63SEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
5498d13bc63SEmmanuel Vadot			clock-names = "core", "iface";
5508d13bc63SEmmanuel Vadot			dmas = <&blsp_dma 18>, <&blsp_dma 19>;
5518d13bc63SEmmanuel Vadot			dma-names = "tx", "rx";
5528d13bc63SEmmanuel Vadot			status = "disabled";
5538d13bc63SEmmanuel Vadot		};
5548d13bc63SEmmanuel Vadot
5558cc087a1SEmmanuel Vadot		blsp1_i2c5: i2c@78b9000 {
5568cc087a1SEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
5578cc087a1SEmmanuel Vadot			#address-cells = <1>;
5588cc087a1SEmmanuel Vadot			#size-cells = <0>;
5598cc087a1SEmmanuel Vadot			reg = <0x78b9000 0x600>;
5608cc087a1SEmmanuel Vadot			interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
561d5b0e70fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
562d5b0e70fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
563d5b0e70fSEmmanuel Vadot			clock-names = "core", "iface";
5648cc087a1SEmmanuel Vadot			clock-frequency = <400000>;
565d5b0e70fSEmmanuel Vadot			dmas = <&blsp_dma 20>, <&blsp_dma 21>;
566d5b0e70fSEmmanuel Vadot			dma-names = "tx", "rx";
5678cc087a1SEmmanuel Vadot			status = "disabled";
5688cc087a1SEmmanuel Vadot		};
5698cc087a1SEmmanuel Vadot
570f126890aSEmmanuel Vadot		blsp1_spi5: spi@78b9000 {
571f126890aSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
572f126890aSEmmanuel Vadot			#address-cells = <1>;
573f126890aSEmmanuel Vadot			#size-cells = <0>;
574f126890aSEmmanuel Vadot			reg = <0x78b9000 0x600>;
575f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
576f126890aSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
577f126890aSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
578f126890aSEmmanuel Vadot			clock-names = "core", "iface";
579f126890aSEmmanuel Vadot			dmas = <&blsp_dma 20>, <&blsp_dma 21>;
580f126890aSEmmanuel Vadot			dma-names = "tx", "rx";
581f126890aSEmmanuel Vadot			status = "disabled";
582f126890aSEmmanuel Vadot		};
583f126890aSEmmanuel Vadot
5845956d97fSEmmanuel Vadot		blsp1_i2c6: i2c@78ba000 {
5855956d97fSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
5865956d97fSEmmanuel Vadot			#address-cells = <1>;
5875956d97fSEmmanuel Vadot			#size-cells = <0>;
5885956d97fSEmmanuel Vadot			reg = <0x078ba000 0x600>;
5895956d97fSEmmanuel Vadot			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
590d5b0e70fSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
591d5b0e70fSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
592d5b0e70fSEmmanuel Vadot			clock-names = "core", "iface";
5935956d97fSEmmanuel Vadot			clock-frequency = <100000>;
594d5b0e70fSEmmanuel Vadot			dmas = <&blsp_dma 22>, <&blsp_dma 23>;
595d5b0e70fSEmmanuel Vadot			dma-names = "tx", "rx";
5965956d97fSEmmanuel Vadot			status = "disabled";
5975956d97fSEmmanuel Vadot		};
5985956d97fSEmmanuel Vadot
5995def4c47SEmmanuel Vadot		qpic_bam: dma-controller@7984000 {
600c66ec88fSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
601c66ec88fSEmmanuel Vadot			reg = <0x07984000 0x1a000>;
602c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
603c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_QPIC_AHB_CLK>;
604c66ec88fSEmmanuel Vadot			clock-names = "bam_clk";
605c66ec88fSEmmanuel Vadot			#dma-cells = <1>;
606c66ec88fSEmmanuel Vadot			qcom,ee = <0>;
607c66ec88fSEmmanuel Vadot			status = "disabled";
608c66ec88fSEmmanuel Vadot		};
609c66ec88fSEmmanuel Vadot
610b97ee269SEmmanuel Vadot		qpic_nand: nand-controller@79b0000 {
611c66ec88fSEmmanuel Vadot			compatible = "qcom,ipq8074-nand";
612c66ec88fSEmmanuel Vadot			reg = <0x079b0000 0x10000>;
613c66ec88fSEmmanuel Vadot			#address-cells = <1>;
614c66ec88fSEmmanuel Vadot			#size-cells = <0>;
615c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_QPIC_CLK>,
616c66ec88fSEmmanuel Vadot				 <&gcc GCC_QPIC_AHB_CLK>;
617c66ec88fSEmmanuel Vadot			clock-names = "core", "aon";
618c66ec88fSEmmanuel Vadot
619c66ec88fSEmmanuel Vadot			dmas = <&qpic_bam 0>,
620c66ec88fSEmmanuel Vadot			       <&qpic_bam 1>,
621c66ec88fSEmmanuel Vadot			       <&qpic_bam 2>;
622c66ec88fSEmmanuel Vadot			dma-names = "tx", "rx", "cmd";
623c66ec88fSEmmanuel Vadot			pinctrl-0 = <&qpic_pins>;
624c66ec88fSEmmanuel Vadot			pinctrl-names = "default";
625c66ec88fSEmmanuel Vadot			status = "disabled";
626c66ec88fSEmmanuel Vadot		};
627c66ec88fSEmmanuel Vadot
628c66ec88fSEmmanuel Vadot		usb_0: usb@8af8800 {
629d5b0e70fSEmmanuel Vadot			compatible = "qcom,ipq8074-dwc3", "qcom,dwc3";
630c66ec88fSEmmanuel Vadot			reg = <0x08af8800 0x400>;
631c66ec88fSEmmanuel Vadot			#address-cells = <1>;
632c66ec88fSEmmanuel Vadot			#size-cells = <1>;
633c66ec88fSEmmanuel Vadot			ranges;
634c66ec88fSEmmanuel Vadot
635c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
636c66ec88fSEmmanuel Vadot				<&gcc GCC_USB0_MASTER_CLK>,
637c66ec88fSEmmanuel Vadot				<&gcc GCC_USB0_SLEEP_CLK>,
638c66ec88fSEmmanuel Vadot				<&gcc GCC_USB0_MOCK_UTMI_CLK>;
639d5b0e70fSEmmanuel Vadot			clock-names = "cfg_noc",
640d5b0e70fSEmmanuel Vadot				"core",
641c66ec88fSEmmanuel Vadot				"sleep",
642c66ec88fSEmmanuel Vadot				"mock_utmi";
643c66ec88fSEmmanuel Vadot
644c66ec88fSEmmanuel Vadot			assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
645c66ec88fSEmmanuel Vadot					  <&gcc GCC_USB0_MASTER_CLK>,
646c66ec88fSEmmanuel Vadot					  <&gcc GCC_USB0_MOCK_UTMI_CLK>;
647c66ec88fSEmmanuel Vadot			assigned-clock-rates = <133330000>,
648c66ec88fSEmmanuel Vadot						<133330000>,
649c66ec88fSEmmanuel Vadot						<19200000>;
650c66ec88fSEmmanuel Vadot
65101950c46SEmmanuel Vadot			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
65201950c46SEmmanuel Vadot				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
65301950c46SEmmanuel Vadot				     <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
65401950c46SEmmanuel Vadot			interrupt-names = "pwr_event",
65501950c46SEmmanuel Vadot					  "qusb2_phy",
65601950c46SEmmanuel Vadot					  "ss_phy_irq";
65701950c46SEmmanuel Vadot
658b97ee269SEmmanuel Vadot			power-domains = <&gcc USB0_GDSC>;
659b97ee269SEmmanuel Vadot
660c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_USB0_BCR>;
661c66ec88fSEmmanuel Vadot			status = "disabled";
662c66ec88fSEmmanuel Vadot
663d5b0e70fSEmmanuel Vadot			dwc_0: usb@8a00000 {
664c66ec88fSEmmanuel Vadot				compatible = "snps,dwc3";
665c66ec88fSEmmanuel Vadot				reg = <0x8a00000 0xcd00>;
666c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
6678d13bc63SEmmanuel Vadot				phys = <&qusb_phy_0>, <&ssphy_0>;
668c66ec88fSEmmanuel Vadot				phy-names = "usb2-phy", "usb3-phy";
669*0e8011faSEmmanuel Vadot				snps,parkmode-disable-ss-quirk;
670c66ec88fSEmmanuel Vadot				snps,is-utmi-l1-suspend;
671c66ec88fSEmmanuel Vadot				snps,hird-threshold = /bits/ 8 <0x0>;
672c66ec88fSEmmanuel Vadot				snps,dis_u2_susphy_quirk;
673c66ec88fSEmmanuel Vadot				snps,dis_u3_susphy_quirk;
674c66ec88fSEmmanuel Vadot				dr_mode = "host";
675c66ec88fSEmmanuel Vadot			};
676c66ec88fSEmmanuel Vadot		};
677c66ec88fSEmmanuel Vadot
678c66ec88fSEmmanuel Vadot		usb_1: usb@8cf8800 {
679d5b0e70fSEmmanuel Vadot			compatible = "qcom,ipq8074-dwc3", "qcom,dwc3";
680c66ec88fSEmmanuel Vadot			reg = <0x08cf8800 0x400>;
681c66ec88fSEmmanuel Vadot			#address-cells = <1>;
682c66ec88fSEmmanuel Vadot			#size-cells = <1>;
683c66ec88fSEmmanuel Vadot			ranges;
684c66ec88fSEmmanuel Vadot
685c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>,
686c66ec88fSEmmanuel Vadot				<&gcc GCC_USB1_MASTER_CLK>,
687c66ec88fSEmmanuel Vadot				<&gcc GCC_USB1_SLEEP_CLK>,
688c66ec88fSEmmanuel Vadot				<&gcc GCC_USB1_MOCK_UTMI_CLK>;
689d5b0e70fSEmmanuel Vadot			clock-names = "cfg_noc",
690d5b0e70fSEmmanuel Vadot				"core",
691c66ec88fSEmmanuel Vadot				"sleep",
692c66ec88fSEmmanuel Vadot				"mock_utmi";
693c66ec88fSEmmanuel Vadot
694c66ec88fSEmmanuel Vadot			assigned-clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>,
695c66ec88fSEmmanuel Vadot					  <&gcc GCC_USB1_MASTER_CLK>,
696c66ec88fSEmmanuel Vadot					  <&gcc GCC_USB1_MOCK_UTMI_CLK>;
697c66ec88fSEmmanuel Vadot			assigned-clock-rates = <133330000>,
698c66ec88fSEmmanuel Vadot						<133330000>,
699c66ec88fSEmmanuel Vadot						<19200000>;
700c66ec88fSEmmanuel Vadot
70101950c46SEmmanuel Vadot			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
70201950c46SEmmanuel Vadot				     <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
70301950c46SEmmanuel Vadot				     <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
70401950c46SEmmanuel Vadot			interrupt-names = "pwr_event",
70501950c46SEmmanuel Vadot					  "qusb2_phy",
70601950c46SEmmanuel Vadot					  "ss_phy_irq";
70701950c46SEmmanuel Vadot
708b97ee269SEmmanuel Vadot			power-domains = <&gcc USB1_GDSC>;
709b97ee269SEmmanuel Vadot
710c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_USB1_BCR>;
711c66ec88fSEmmanuel Vadot			status = "disabled";
712c66ec88fSEmmanuel Vadot
713d5b0e70fSEmmanuel Vadot			dwc_1: usb@8c00000 {
714c66ec88fSEmmanuel Vadot				compatible = "snps,dwc3";
715c66ec88fSEmmanuel Vadot				reg = <0x8c00000 0xcd00>;
716c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
7178d13bc63SEmmanuel Vadot				phys = <&qusb_phy_1>, <&ssphy_1>;
718c66ec88fSEmmanuel Vadot				phy-names = "usb2-phy", "usb3-phy";
719*0e8011faSEmmanuel Vadot				snps,parkmode-disable-ss-quirk;
720c66ec88fSEmmanuel Vadot				snps,is-utmi-l1-suspend;
721c66ec88fSEmmanuel Vadot				snps,hird-threshold = /bits/ 8 <0x0>;
722c66ec88fSEmmanuel Vadot				snps,dis_u2_susphy_quirk;
723c66ec88fSEmmanuel Vadot				snps,dis_u3_susphy_quirk;
724c66ec88fSEmmanuel Vadot				dr_mode = "host";
725c66ec88fSEmmanuel Vadot			};
726c66ec88fSEmmanuel Vadot		};
727c66ec88fSEmmanuel Vadot
728c66ec88fSEmmanuel Vadot		intc: interrupt-controller@b000000 {
729c66ec88fSEmmanuel Vadot			compatible = "qcom,msm-qgic2";
730c9ccf3a3SEmmanuel Vadot			#address-cells = <1>;
731c9ccf3a3SEmmanuel Vadot			#size-cells = <1>;
732c66ec88fSEmmanuel Vadot			interrupt-controller;
733f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
734c66ec88fSEmmanuel Vadot			reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>;
735c9ccf3a3SEmmanuel Vadot			ranges = <0 0xb00a000 0xffd>;
736c9ccf3a3SEmmanuel Vadot
737c9ccf3a3SEmmanuel Vadot			v2m@0 {
738c9ccf3a3SEmmanuel Vadot				compatible = "arm,gic-v2m-frame";
739c9ccf3a3SEmmanuel Vadot				msi-controller;
740c9ccf3a3SEmmanuel Vadot				reg = <0x0 0xffd>;
741c9ccf3a3SEmmanuel Vadot			};
742c66ec88fSEmmanuel Vadot		};
743c66ec88fSEmmanuel Vadot
7446be33864SEmmanuel Vadot		watchdog: watchdog@b017000 {
7456be33864SEmmanuel Vadot			compatible = "qcom,kpss-wdt";
7466be33864SEmmanuel Vadot			reg = <0xb017000 0x1000>;
7476be33864SEmmanuel Vadot			interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
7486be33864SEmmanuel Vadot			clocks = <&sleep_clk>;
7496be33864SEmmanuel Vadot			timeout-sec = <30>;
7506be33864SEmmanuel Vadot		};
7516be33864SEmmanuel Vadot
752b97ee269SEmmanuel Vadot		apcs_glb: mailbox@b111000 {
753fac71e4eSEmmanuel Vadot			compatible = "qcom,ipq8074-apcs-apps-global",
754fac71e4eSEmmanuel Vadot				     "qcom,ipq6018-apcs-apps-global";
7557ef62cebSEmmanuel Vadot			reg = <0x0b111000 0x1000>;
7568d13bc63SEmmanuel Vadot			clocks = <&a53pll>, <&xo>, <&gcc GPLL0>;
7578d13bc63SEmmanuel Vadot			clock-names = "pll", "xo", "gpll0";
758b97ee269SEmmanuel Vadot
759b97ee269SEmmanuel Vadot			#clock-cells = <1>;
760b97ee269SEmmanuel Vadot			#mbox-cells = <1>;
761b97ee269SEmmanuel Vadot		};
762b97ee269SEmmanuel Vadot
7638bab661aSEmmanuel Vadot		a53pll: clock@b116000 {
7648bab661aSEmmanuel Vadot			compatible = "qcom,ipq8074-a53pll";
7658bab661aSEmmanuel Vadot			reg = <0x0b116000 0x40>;
7668bab661aSEmmanuel Vadot			#clock-cells = <0>;
7678bab661aSEmmanuel Vadot			clocks = <&xo>;
7688bab661aSEmmanuel Vadot			clock-names = "xo";
7698bab661aSEmmanuel Vadot		};
7708bab661aSEmmanuel Vadot
771c66ec88fSEmmanuel Vadot		timer@b120000 {
772c66ec88fSEmmanuel Vadot			#address-cells = <1>;
773c66ec88fSEmmanuel Vadot			#size-cells = <1>;
774c66ec88fSEmmanuel Vadot			ranges;
775c66ec88fSEmmanuel Vadot			compatible = "arm,armv7-timer-mem";
776c66ec88fSEmmanuel Vadot			reg = <0x0b120000 0x1000>;
777c66ec88fSEmmanuel Vadot
778c66ec88fSEmmanuel Vadot			frame@b120000 {
779c66ec88fSEmmanuel Vadot				frame-number = <0>;
780c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
781c66ec88fSEmmanuel Vadot					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
782c66ec88fSEmmanuel Vadot				reg = <0x0b121000 0x1000>,
783c66ec88fSEmmanuel Vadot				      <0x0b122000 0x1000>;
784c66ec88fSEmmanuel Vadot			};
785c66ec88fSEmmanuel Vadot
786c66ec88fSEmmanuel Vadot			frame@b123000 {
787c66ec88fSEmmanuel Vadot				frame-number = <1>;
788c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
789c66ec88fSEmmanuel Vadot				reg = <0x0b123000 0x1000>;
790c66ec88fSEmmanuel Vadot				status = "disabled";
791c66ec88fSEmmanuel Vadot			};
792c66ec88fSEmmanuel Vadot
793c66ec88fSEmmanuel Vadot			frame@b124000 {
794c66ec88fSEmmanuel Vadot				frame-number = <2>;
795c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
796c66ec88fSEmmanuel Vadot				reg = <0x0b124000 0x1000>;
797c66ec88fSEmmanuel Vadot				status = "disabled";
798c66ec88fSEmmanuel Vadot			};
799c66ec88fSEmmanuel Vadot
800c66ec88fSEmmanuel Vadot			frame@b125000 {
801c66ec88fSEmmanuel Vadot				frame-number = <3>;
802c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
803c66ec88fSEmmanuel Vadot				reg = <0x0b125000 0x1000>;
804c66ec88fSEmmanuel Vadot				status = "disabled";
805c66ec88fSEmmanuel Vadot			};
806c66ec88fSEmmanuel Vadot
807c66ec88fSEmmanuel Vadot			frame@b126000 {
808c66ec88fSEmmanuel Vadot				frame-number = <4>;
809c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
810c66ec88fSEmmanuel Vadot				reg = <0x0b126000 0x1000>;
811c66ec88fSEmmanuel Vadot				status = "disabled";
812c66ec88fSEmmanuel Vadot			};
813c66ec88fSEmmanuel Vadot
814c66ec88fSEmmanuel Vadot			frame@b127000 {
815c66ec88fSEmmanuel Vadot				frame-number = <5>;
816c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
817c66ec88fSEmmanuel Vadot				reg = <0x0b127000 0x1000>;
818c66ec88fSEmmanuel Vadot				status = "disabled";
819c66ec88fSEmmanuel Vadot			};
820c66ec88fSEmmanuel Vadot
821c66ec88fSEmmanuel Vadot			frame@b128000 {
822c66ec88fSEmmanuel Vadot				frame-number = <6>;
823c66ec88fSEmmanuel Vadot				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
824c66ec88fSEmmanuel Vadot				reg = <0x0b128000 0x1000>;
825c66ec88fSEmmanuel Vadot				status = "disabled";
826c66ec88fSEmmanuel Vadot			};
827c66ec88fSEmmanuel Vadot		};
828c66ec88fSEmmanuel Vadot
8298d13bc63SEmmanuel Vadot		pcie1: pcie@10000000 {
830c66ec88fSEmmanuel Vadot			compatible = "qcom,pcie-ipq8074";
831354d7675SEmmanuel Vadot			reg = <0x10000000 0xf1d>,
832354d7675SEmmanuel Vadot			      <0x10000f20 0xa8>,
833354d7675SEmmanuel Vadot			      <0x00088000 0x2000>,
834354d7675SEmmanuel Vadot			      <0x10100000 0x1000>;
835c66ec88fSEmmanuel Vadot			reg-names = "dbi", "elbi", "parf", "config";
836c66ec88fSEmmanuel Vadot			device_type = "pci";
837c66ec88fSEmmanuel Vadot			linux,pci-domain = <1>;
838c66ec88fSEmmanuel Vadot			bus-range = <0x00 0xff>;
839c66ec88fSEmmanuel Vadot			num-lanes = <1>;
840cb7aa33aSEmmanuel Vadot			max-link-speed = <2>;
841c66ec88fSEmmanuel Vadot			#address-cells = <3>;
842c66ec88fSEmmanuel Vadot			#size-cells = <2>;
843c66ec88fSEmmanuel Vadot
84484943d6fSEmmanuel Vadot			phys = <&pcie_qmp1>;
845c66ec88fSEmmanuel Vadot			phy-names = "pciephy";
846c66ec88fSEmmanuel Vadot
847fac71e4eSEmmanuel Vadot			ranges = <0x81000000 0x0 0x00000000 0x10200000 0x0 0x10000>,   /* I/O */
848fac71e4eSEmmanuel Vadot				 <0x82000000 0x0 0x10220000 0x10220000 0x0 0xfde0000>; /* MEM */
849c66ec88fSEmmanuel Vadot
850c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
851c66ec88fSEmmanuel Vadot			interrupt-names = "msi";
852c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
853c66ec88fSEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
8548d13bc63SEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 0 142
855c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
8568d13bc63SEmmanuel Vadot					<0 0 0 2 &intc 0 0 143
857c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
8588d13bc63SEmmanuel Vadot					<0 0 0 3 &intc 0 0 144
859c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
8608d13bc63SEmmanuel Vadot					<0 0 0 4 &intc 0 0 145
861c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
862c66ec88fSEmmanuel Vadot
863c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_SYS_NOC_PCIE1_AXI_CLK>,
864c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AXI_M_CLK>,
865c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AXI_S_CLK>,
866c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AHB_CLK>,
867c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AUX_CLK>;
868c66ec88fSEmmanuel Vadot			clock-names = "iface",
869c66ec88fSEmmanuel Vadot				      "axi_m",
870c66ec88fSEmmanuel Vadot				      "axi_s",
871c66ec88fSEmmanuel Vadot				      "ahb",
872c66ec88fSEmmanuel Vadot				      "aux";
873c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_PCIE1_PIPE_ARES>,
874c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_SLEEP_ARES>,
875c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_CORE_STICKY_ARES>,
876c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AXI_MASTER_ARES>,
877c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AXI_SLAVE_ARES>,
878c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AHB_ARES>,
879c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE1_AXI_MASTER_STICKY_ARES>;
880c66ec88fSEmmanuel Vadot			reset-names = "pipe",
881c66ec88fSEmmanuel Vadot				      "sleep",
882c66ec88fSEmmanuel Vadot				      "sticky",
883c66ec88fSEmmanuel Vadot				      "axi_m",
884c66ec88fSEmmanuel Vadot				      "axi_s",
885c66ec88fSEmmanuel Vadot				      "ahb",
886c66ec88fSEmmanuel Vadot				      "axi_m_sticky";
887c66ec88fSEmmanuel Vadot			status = "disabled";
8887d0873ebSEmmanuel Vadot
8897d0873ebSEmmanuel Vadot			pcie@0 {
8907d0873ebSEmmanuel Vadot				device_type = "pci";
8917d0873ebSEmmanuel Vadot				reg = <0x0 0x0 0x0 0x0 0x0>;
8927d0873ebSEmmanuel Vadot				bus-range = <0x01 0xff>;
8937d0873ebSEmmanuel Vadot
8947d0873ebSEmmanuel Vadot				#address-cells = <3>;
8957d0873ebSEmmanuel Vadot				#size-cells = <2>;
8967d0873ebSEmmanuel Vadot				ranges;
8977d0873ebSEmmanuel Vadot			};
898c66ec88fSEmmanuel Vadot		};
899c66ec88fSEmmanuel Vadot
9008d13bc63SEmmanuel Vadot		pcie0: pcie@20000000 {
901cb7aa33aSEmmanuel Vadot			compatible = "qcom,pcie-ipq8074-gen3";
902354d7675SEmmanuel Vadot			reg = <0x20000000 0xf1d>,
903354d7675SEmmanuel Vadot			      <0x20000f20 0xa8>,
904cb7aa33aSEmmanuel Vadot			      <0x20001000 0x1000>,
905cb7aa33aSEmmanuel Vadot			      <0x00080000 0x4000>,
906354d7675SEmmanuel Vadot			      <0x20100000 0x1000>;
907cb7aa33aSEmmanuel Vadot			reg-names = "dbi", "elbi", "atu", "parf", "config";
908c66ec88fSEmmanuel Vadot			device_type = "pci";
909c66ec88fSEmmanuel Vadot			linux,pci-domain = <0>;
910c66ec88fSEmmanuel Vadot			bus-range = <0x00 0xff>;
911c66ec88fSEmmanuel Vadot			num-lanes = <1>;
912cb7aa33aSEmmanuel Vadot			max-link-speed = <3>;
913c66ec88fSEmmanuel Vadot			#address-cells = <3>;
914c66ec88fSEmmanuel Vadot			#size-cells = <2>;
915c66ec88fSEmmanuel Vadot
91684943d6fSEmmanuel Vadot			phys = <&pcie_qmp0>;
917c66ec88fSEmmanuel Vadot			phy-names = "pciephy";
918c66ec88fSEmmanuel Vadot
919fac71e4eSEmmanuel Vadot			ranges = <0x81000000 0x0 0x00000000 0x20200000 0x0 0x10000>,   /* I/O */
920fac71e4eSEmmanuel Vadot				 <0x82000000 0x0 0x20220000 0x20220000 0x0 0xfde0000>; /* MEM */
921c66ec88fSEmmanuel Vadot
922c66ec88fSEmmanuel Vadot			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
923c66ec88fSEmmanuel Vadot			interrupt-names = "msi";
924c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
925c66ec88fSEmmanuel Vadot			interrupt-map-mask = <0 0 0 0x7>;
9268d13bc63SEmmanuel Vadot			interrupt-map = <0 0 0 1 &intc 0 0 75
927c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
9288d13bc63SEmmanuel Vadot					<0 0 0 2 &intc 0 0 78
929c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
9308d13bc63SEmmanuel Vadot					<0 0 0 3 &intc 0 0 79
931c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
9328d13bc63SEmmanuel Vadot					<0 0 0 4 &intc 0 0 83
933c66ec88fSEmmanuel Vadot					 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
934c66ec88fSEmmanuel Vadot
935c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
936c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0_AXI_M_CLK>,
937c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0_AXI_S_CLK>,
938cb7aa33aSEmmanuel Vadot				 <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
939cb7aa33aSEmmanuel Vadot				 <&gcc GCC_PCIE0_RCHNG_CLK>;
940c66ec88fSEmmanuel Vadot			clock-names = "iface",
941c66ec88fSEmmanuel Vadot				      "axi_m",
942c66ec88fSEmmanuel Vadot				      "axi_s",
943cb7aa33aSEmmanuel Vadot				      "axi_bridge",
944cb7aa33aSEmmanuel Vadot				      "rchng";
945cb7aa33aSEmmanuel Vadot
946c66ec88fSEmmanuel Vadot			resets = <&gcc GCC_PCIE0_PIPE_ARES>,
947c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0_SLEEP_ARES>,
948c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0_CORE_STICKY_ARES>,
949c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0_AXI_MASTER_ARES>,
950c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
951c66ec88fSEmmanuel Vadot				 <&gcc GCC_PCIE0_AHB_ARES>,
952cb7aa33aSEmmanuel Vadot				 <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
953cb7aa33aSEmmanuel Vadot				 <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
954c66ec88fSEmmanuel Vadot			reset-names = "pipe",
955c66ec88fSEmmanuel Vadot				      "sleep",
956c66ec88fSEmmanuel Vadot				      "sticky",
957c66ec88fSEmmanuel Vadot				      "axi_m",
958c66ec88fSEmmanuel Vadot				      "axi_s",
959c66ec88fSEmmanuel Vadot				      "ahb",
960cb7aa33aSEmmanuel Vadot				      "axi_m_sticky",
961cb7aa33aSEmmanuel Vadot				      "axi_s_sticky";
962c66ec88fSEmmanuel Vadot			status = "disabled";
9637d0873ebSEmmanuel Vadot
9647d0873ebSEmmanuel Vadot			pcie@0 {
9657d0873ebSEmmanuel Vadot				device_type = "pci";
9667d0873ebSEmmanuel Vadot				reg = <0x0 0x0 0x0 0x0 0x0>;
9677d0873ebSEmmanuel Vadot				bus-range = <0x01 0xff>;
9687d0873ebSEmmanuel Vadot
9697d0873ebSEmmanuel Vadot				#address-cells = <3>;
9707d0873ebSEmmanuel Vadot				#size-cells = <2>;
9717d0873ebSEmmanuel Vadot				ranges;
9727d0873ebSEmmanuel Vadot			};
973c66ec88fSEmmanuel Vadot		};
974c66ec88fSEmmanuel Vadot	};
975b97ee269SEmmanuel Vadot
976b97ee269SEmmanuel Vadot	timer {
977b97ee269SEmmanuel Vadot		compatible = "arm,armv8-timer";
978b97ee269SEmmanuel Vadot		interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
979b97ee269SEmmanuel Vadot			     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
980b97ee269SEmmanuel Vadot			     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
981b97ee269SEmmanuel Vadot			     <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
982b97ee269SEmmanuel Vadot	};
9838bab661aSEmmanuel Vadot
9848bab661aSEmmanuel Vadot	thermal-zones {
9858bab661aSEmmanuel Vadot		nss-top-thermal {
9868bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
9878bab661aSEmmanuel Vadot
9888bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 4>;
989f126890aSEmmanuel Vadot
990f126890aSEmmanuel Vadot			trips {
991f126890aSEmmanuel Vadot				nss-top-crit {
992f126890aSEmmanuel Vadot					temperature = <110000>;
993f126890aSEmmanuel Vadot					hysteresis = <1000>;
994f126890aSEmmanuel Vadot					type = "critical";
995f126890aSEmmanuel Vadot				};
996f126890aSEmmanuel Vadot			};
9978bab661aSEmmanuel Vadot		};
9988bab661aSEmmanuel Vadot
9998bab661aSEmmanuel Vadot		nss0-thermal {
10008bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10018bab661aSEmmanuel Vadot
10028bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 5>;
1003f126890aSEmmanuel Vadot
1004f126890aSEmmanuel Vadot			trips {
1005f126890aSEmmanuel Vadot				nss-0-crit {
1006f126890aSEmmanuel Vadot					temperature = <110000>;
1007f126890aSEmmanuel Vadot					hysteresis = <1000>;
1008f126890aSEmmanuel Vadot					type = "critical";
1009f126890aSEmmanuel Vadot				};
1010f126890aSEmmanuel Vadot			};
10118bab661aSEmmanuel Vadot		};
10128bab661aSEmmanuel Vadot
10138bab661aSEmmanuel Vadot		nss1-thermal {
10148bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10158bab661aSEmmanuel Vadot
10168bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 6>;
1017f126890aSEmmanuel Vadot
1018f126890aSEmmanuel Vadot			trips {
1019f126890aSEmmanuel Vadot				nss-1-crit {
1020f126890aSEmmanuel Vadot					temperature = <110000>;
1021f126890aSEmmanuel Vadot					hysteresis = <1000>;
1022f126890aSEmmanuel Vadot					type = "critical";
1023f126890aSEmmanuel Vadot				};
1024f126890aSEmmanuel Vadot			};
10258bab661aSEmmanuel Vadot		};
10268bab661aSEmmanuel Vadot
10278bab661aSEmmanuel Vadot		wcss-phya0-thermal {
10288bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10298bab661aSEmmanuel Vadot
10308bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 7>;
1031f126890aSEmmanuel Vadot
1032f126890aSEmmanuel Vadot			trips {
1033f126890aSEmmanuel Vadot				wcss-phya0-crit {
1034f126890aSEmmanuel Vadot					temperature = <110000>;
1035f126890aSEmmanuel Vadot					hysteresis = <1000>;
1036f126890aSEmmanuel Vadot					type = "critical";
1037f126890aSEmmanuel Vadot				};
1038f126890aSEmmanuel Vadot			};
10398bab661aSEmmanuel Vadot		};
10408bab661aSEmmanuel Vadot
10418bab661aSEmmanuel Vadot		wcss-phya1-thermal {
10428bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10438bab661aSEmmanuel Vadot
10448bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 8>;
1045f126890aSEmmanuel Vadot
1046f126890aSEmmanuel Vadot			trips {
1047f126890aSEmmanuel Vadot				wcss-phya1-crit {
1048f126890aSEmmanuel Vadot					temperature = <110000>;
1049f126890aSEmmanuel Vadot					hysteresis = <1000>;
1050f126890aSEmmanuel Vadot					type = "critical";
1051f126890aSEmmanuel Vadot				};
1052f126890aSEmmanuel Vadot			};
10538bab661aSEmmanuel Vadot		};
10548bab661aSEmmanuel Vadot
10558bab661aSEmmanuel Vadot		cpu0_thermal: cpu0-thermal {
10568bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10578bab661aSEmmanuel Vadot
10588bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 9>;
1059f126890aSEmmanuel Vadot
1060f126890aSEmmanuel Vadot			trips {
1061f126890aSEmmanuel Vadot				cpu0-crit {
1062f126890aSEmmanuel Vadot					temperature = <110000>;
1063f126890aSEmmanuel Vadot					hysteresis = <1000>;
1064f126890aSEmmanuel Vadot					type = "critical";
1065f126890aSEmmanuel Vadot				};
1066f126890aSEmmanuel Vadot			};
10678bab661aSEmmanuel Vadot		};
10688bab661aSEmmanuel Vadot
10698bab661aSEmmanuel Vadot		cpu1_thermal: cpu1-thermal {
10708bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10718bab661aSEmmanuel Vadot
10728bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 10>;
1073f126890aSEmmanuel Vadot
1074f126890aSEmmanuel Vadot			trips {
1075f126890aSEmmanuel Vadot				cpu1-crit {
1076f126890aSEmmanuel Vadot					temperature = <110000>;
1077f126890aSEmmanuel Vadot					hysteresis = <1000>;
1078f126890aSEmmanuel Vadot					type = "critical";
1079f126890aSEmmanuel Vadot				};
1080f126890aSEmmanuel Vadot			};
10818bab661aSEmmanuel Vadot		};
10828bab661aSEmmanuel Vadot
10838bab661aSEmmanuel Vadot		cpu2_thermal: cpu2-thermal {
10848bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10858bab661aSEmmanuel Vadot
10868bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 11>;
1087f126890aSEmmanuel Vadot
1088f126890aSEmmanuel Vadot			trips {
1089f126890aSEmmanuel Vadot				cpu2-crit {
1090f126890aSEmmanuel Vadot					temperature = <110000>;
1091f126890aSEmmanuel Vadot					hysteresis = <1000>;
1092f126890aSEmmanuel Vadot					type = "critical";
1093f126890aSEmmanuel Vadot				};
1094f126890aSEmmanuel Vadot			};
10958bab661aSEmmanuel Vadot		};
10968bab661aSEmmanuel Vadot
10978bab661aSEmmanuel Vadot		cpu3_thermal: cpu3-thermal {
10988bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
10998bab661aSEmmanuel Vadot
11008bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 12>;
1101f126890aSEmmanuel Vadot
1102f126890aSEmmanuel Vadot			trips {
1103f126890aSEmmanuel Vadot				cpu3-crit {
1104f126890aSEmmanuel Vadot					temperature = <110000>;
1105f126890aSEmmanuel Vadot					hysteresis = <1000>;
1106f126890aSEmmanuel Vadot					type = "critical";
1107f126890aSEmmanuel Vadot				};
1108f126890aSEmmanuel Vadot			};
11098bab661aSEmmanuel Vadot		};
11108bab661aSEmmanuel Vadot
11118bab661aSEmmanuel Vadot		cluster_thermal: cluster-thermal {
11128bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
11138bab661aSEmmanuel Vadot
11148bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 13>;
1115f126890aSEmmanuel Vadot
1116f126890aSEmmanuel Vadot			trips {
1117f126890aSEmmanuel Vadot				cluster-crit {
1118f126890aSEmmanuel Vadot					temperature = <110000>;
1119f126890aSEmmanuel Vadot					hysteresis = <1000>;
1120f126890aSEmmanuel Vadot					type = "critical";
1121f126890aSEmmanuel Vadot				};
1122f126890aSEmmanuel Vadot			};
11238bab661aSEmmanuel Vadot		};
11248bab661aSEmmanuel Vadot
11258bab661aSEmmanuel Vadot		wcss-phyb0-thermal {
11268bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
11278bab661aSEmmanuel Vadot
11288bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 14>;
1129f126890aSEmmanuel Vadot
1130f126890aSEmmanuel Vadot			trips {
1131f126890aSEmmanuel Vadot				wcss-phyb0-crit {
1132f126890aSEmmanuel Vadot					temperature = <110000>;
1133f126890aSEmmanuel Vadot					hysteresis = <1000>;
1134f126890aSEmmanuel Vadot					type = "critical";
1135f126890aSEmmanuel Vadot				};
1136f126890aSEmmanuel Vadot			};
11378bab661aSEmmanuel Vadot		};
11388bab661aSEmmanuel Vadot
11398bab661aSEmmanuel Vadot		wcss-phyb1-thermal {
11408bab661aSEmmanuel Vadot			polling-delay-passive = <250>;
11418bab661aSEmmanuel Vadot
11428bab661aSEmmanuel Vadot			thermal-sensors = <&tsens 15>;
1143f126890aSEmmanuel Vadot
1144f126890aSEmmanuel Vadot			trips {
1145f126890aSEmmanuel Vadot				wcss-phyb1-crit {
1146f126890aSEmmanuel Vadot					temperature = <110000>;
1147f126890aSEmmanuel Vadot					hysteresis = <1000>;
1148f126890aSEmmanuel Vadot					type = "critical";
1149f126890aSEmmanuel Vadot				};
1150f126890aSEmmanuel Vadot			};
11518bab661aSEmmanuel Vadot		};
11528bab661aSEmmanuel Vadot	};
1153c66ec88fSEmmanuel Vadot};
1154