xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sdm845-xiaomi-polaris.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1b97ee269SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2b97ee269SEmmanuel Vadot/*
3b97ee269SEmmanuel Vadot * Copyright (c) 2020, Xilin Wu <strongtz@yeah.net>
4b97ee269SEmmanuel Vadot * Copyright (c) 2022, Molly Sophia <mollysophia379@gmail.com>
5b97ee269SEmmanuel Vadot */
6b97ee269SEmmanuel Vadot
7b97ee269SEmmanuel Vadot/dts-v1/;
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10b97ee269SEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11b97ee269SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12b97ee269SEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
13b97ee269SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h>
14b97ee269SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6asm.h>
15b97ee269SEmmanuel Vadot#include "sdm845.dtsi"
16cb7aa33aSEmmanuel Vadot#include "sdm845-wcd9340.dtsi"
17b97ee269SEmmanuel Vadot#include "pm8998.dtsi"
18b97ee269SEmmanuel Vadot#include "pmi8998.dtsi"
19b97ee269SEmmanuel Vadot#include "pm8005.dtsi"
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadot/*
22b97ee269SEmmanuel Vadot * Delete following upstream (sdm845.dtsi) reserved
23b97ee269SEmmanuel Vadot * memory mappings which are different in this device.
24b97ee269SEmmanuel Vadot */
25b97ee269SEmmanuel Vadot/delete-node/ &rmtfs_mem;
26b97ee269SEmmanuel Vadot/delete-node/ &adsp_mem;
27b97ee269SEmmanuel Vadot/delete-node/ &wlan_msa_mem;
28b97ee269SEmmanuel Vadot/delete-node/ &mpss_region;
29b97ee269SEmmanuel Vadot/delete-node/ &venus_mem;
30b97ee269SEmmanuel Vadot/delete-node/ &cdsp_mem;
31b97ee269SEmmanuel Vadot/delete-node/ &mba_region;
32b97ee269SEmmanuel Vadot/delete-node/ &slpi_mem;
33b97ee269SEmmanuel Vadot/delete-node/ &spss_mem;
34b97ee269SEmmanuel Vadot
35b97ee269SEmmanuel Vadot/ {
36b97ee269SEmmanuel Vadot	model = "Xiaomi Mi MIX 2S";
37b97ee269SEmmanuel Vadot	compatible = "xiaomi,polaris", "qcom,sdm845";
38b97ee269SEmmanuel Vadot	chassis-type = "handset";
39b97ee269SEmmanuel Vadot
40b97ee269SEmmanuel Vadot	/* required for bootloader to select correct board */
41b97ee269SEmmanuel Vadot	qcom,msm-id = <0x141 0x20001>;
42b97ee269SEmmanuel Vadot	qcom,board-id = <0x2a 0x0>;
43b97ee269SEmmanuel Vadot
44b97ee269SEmmanuel Vadot	aliases {
45b97ee269SEmmanuel Vadot		serial0 = &uart9;
46b97ee269SEmmanuel Vadot		serial1 = &uart6;
47b97ee269SEmmanuel Vadot	};
48b97ee269SEmmanuel Vadot
49b97ee269SEmmanuel Vadot	gpio-keys {
50b97ee269SEmmanuel Vadot		compatible = "gpio-keys";
51b97ee269SEmmanuel Vadot		autorepeat;
52b97ee269SEmmanuel Vadot
53b97ee269SEmmanuel Vadot		pinctrl-names = "default";
54b97ee269SEmmanuel Vadot		pinctrl-0 = <&volume_up_gpio>;
55b97ee269SEmmanuel Vadot
56b97ee269SEmmanuel Vadot		key-vol-up {
57b97ee269SEmmanuel Vadot			label = "Volume Up";
58b97ee269SEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
59cb7aa33aSEmmanuel Vadot			gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>;
60b97ee269SEmmanuel Vadot			debounce-interval = <15>;
61b97ee269SEmmanuel Vadot		};
62b97ee269SEmmanuel Vadot	};
63b97ee269SEmmanuel Vadot
64b97ee269SEmmanuel Vadot	reserved-memory {
65b97ee269SEmmanuel Vadot		adsp_mem: memory@8c500000 {
66b97ee269SEmmanuel Vadot			reg = <0 0x8c500000 0 0x1e00000>;
67b97ee269SEmmanuel Vadot			no-map;
68b97ee269SEmmanuel Vadot		};
69b97ee269SEmmanuel Vadot
70b97ee269SEmmanuel Vadot		wlan_msa_mem: memory@8e300000 {
71b97ee269SEmmanuel Vadot			reg = <0 0x8e300000 0 0x100000>;
72b97ee269SEmmanuel Vadot			no-map;
73b97ee269SEmmanuel Vadot		};
74b97ee269SEmmanuel Vadot
75b97ee269SEmmanuel Vadot		mpss_region: memory@8e400000 {
76b97ee269SEmmanuel Vadot			reg = <0 0x8e400000 0 0x7800000>;
77b97ee269SEmmanuel Vadot			no-map;
78b97ee269SEmmanuel Vadot		};
79b97ee269SEmmanuel Vadot
80b97ee269SEmmanuel Vadot		venus_mem: memory@95c00000 {
81b97ee269SEmmanuel Vadot			reg = <0 0x95c00000 0 0x500000>;
82b97ee269SEmmanuel Vadot			no-map;
83b97ee269SEmmanuel Vadot		};
84b97ee269SEmmanuel Vadot
85b97ee269SEmmanuel Vadot		cdsp_mem: memory@96100000 {
86b97ee269SEmmanuel Vadot			reg = <0 0x96100000 0 0x800000>;
87b97ee269SEmmanuel Vadot			no-map;
88b97ee269SEmmanuel Vadot		};
89b97ee269SEmmanuel Vadot
90b97ee269SEmmanuel Vadot		mba_region: memory@96900000 {
91b97ee269SEmmanuel Vadot			reg = <0 0x96900000 0 0x200000>;
92b97ee269SEmmanuel Vadot			no-map;
93b97ee269SEmmanuel Vadot		};
94b97ee269SEmmanuel Vadot
95b97ee269SEmmanuel Vadot		slpi_mem: memory@96b00000 {
96b97ee269SEmmanuel Vadot			reg = <0 0x96b00000 0 0x1400000>;
97b97ee269SEmmanuel Vadot			no-map;
98b97ee269SEmmanuel Vadot		};
99b97ee269SEmmanuel Vadot
100b97ee269SEmmanuel Vadot		spss_mem: memory@97f00000 {
101b97ee269SEmmanuel Vadot			reg = <0 0x97f00000 0 0x100000>;
102b97ee269SEmmanuel Vadot			no-map;
103b97ee269SEmmanuel Vadot		};
104b97ee269SEmmanuel Vadot
105b97ee269SEmmanuel Vadot		rmtfs_mem: memory@f6301000 {
106b97ee269SEmmanuel Vadot			compatible = "qcom,rmtfs-mem";
107b97ee269SEmmanuel Vadot			reg = <0 0xf6301000 0 0x200000>;
108b97ee269SEmmanuel Vadot			no-map;
109b97ee269SEmmanuel Vadot
110b97ee269SEmmanuel Vadot			qcom,client-id = <1>;
111*84943d6fSEmmanuel Vadot			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
112b97ee269SEmmanuel Vadot		};
113b97ee269SEmmanuel Vadot	};
114b97ee269SEmmanuel Vadot
115b97ee269SEmmanuel Vadot	battery: battery {
116b97ee269SEmmanuel Vadot		compatible = "simple-battery";
117b97ee269SEmmanuel Vadot
118b97ee269SEmmanuel Vadot		charge-full-design-microamp-hours = <3400000>;
119b97ee269SEmmanuel Vadot		voltage-min-design-microvolt = <3400000>;
120b97ee269SEmmanuel Vadot		voltage-max-design-microvolt = <4400000>;
121b97ee269SEmmanuel Vadot	};
122b97ee269SEmmanuel Vadot
123b97ee269SEmmanuel Vadot	vreg_tp_vddio: vreg-tp-vddio {
124b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
125b97ee269SEmmanuel Vadot		regulator-name = "vreg_tp_vddio";
126b97ee269SEmmanuel Vadot
127b97ee269SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
128b97ee269SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
129b97ee269SEmmanuel Vadot
1307ef62cebSEmmanuel Vadot		gpio = <&tlmm 23 GPIO_ACTIVE_HIGH>;
131b97ee269SEmmanuel Vadot		regulator-always-on;
132b97ee269SEmmanuel Vadot		regulator-boot-on;
133b97ee269SEmmanuel Vadot		enable-active-high;
134b97ee269SEmmanuel Vadot	};
135b97ee269SEmmanuel Vadot
136b97ee269SEmmanuel Vadot	vreg_s4a_1p8: vreg-s4a-1p8 {
137b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
138b97ee269SEmmanuel Vadot		regulator-name = "vreg_s4a_1p8";
139b97ee269SEmmanuel Vadot
140b97ee269SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
141b97ee269SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
142b97ee269SEmmanuel Vadot		regulator-always-on;
143b97ee269SEmmanuel Vadot	};
144b97ee269SEmmanuel Vadot};
145b97ee269SEmmanuel Vadot
146b97ee269SEmmanuel Vadot&apps_rsc {
147cb7aa33aSEmmanuel Vadot	regulators-0 {
148b97ee269SEmmanuel Vadot		compatible = "qcom,pm8998-rpmh-regulators";
149b97ee269SEmmanuel Vadot		qcom,pmic-id = "a";
150b97ee269SEmmanuel Vadot
151b97ee269SEmmanuel Vadot		vreg_s2a_1p1: smps2 {
152b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1100000>;
153b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
154b97ee269SEmmanuel Vadot		};
155b97ee269SEmmanuel Vadot
156b97ee269SEmmanuel Vadot		vreg_s3a_1p35: smps3 {
157b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1352000>;
158b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1352000>;
159b97ee269SEmmanuel Vadot		};
160b97ee269SEmmanuel Vadot
161b97ee269SEmmanuel Vadot		vreg_s5a_2p04: smps5 {
162b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1904000>;
163b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2040000>;
164b97ee269SEmmanuel Vadot		};
165b97ee269SEmmanuel Vadot
166b97ee269SEmmanuel Vadot		vreg_s7a_1p025: smps7 {
167b97ee269SEmmanuel Vadot			regulator-min-microvolt = <900000>;
168b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1028000>;
169b97ee269SEmmanuel Vadot		};
170b97ee269SEmmanuel Vadot
171b97ee269SEmmanuel Vadot		vdda_mipi_dsi0_pll:
172b97ee269SEmmanuel Vadot		vdda_ufs1_core:
173b97ee269SEmmanuel Vadot		vreg_l1a_0p875: ldo1 {
174b97ee269SEmmanuel Vadot			regulator-min-microvolt = <880000>;
175b97ee269SEmmanuel Vadot			regulator-max-microvolt = <880000>;
176b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
177b97ee269SEmmanuel Vadot		};
178b97ee269SEmmanuel Vadot
179b97ee269SEmmanuel Vadot		vreg_l2a_1p2: ldo2 {
180b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
181b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
182b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
183b97ee269SEmmanuel Vadot			regulator-always-on;
184b97ee269SEmmanuel Vadot		};
185b97ee269SEmmanuel Vadot
186b97ee269SEmmanuel Vadot		vreg_l3a_1p0: ldo3 {
187b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
188b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1000000>;
189b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
190b97ee269SEmmanuel Vadot		};
191b97ee269SEmmanuel Vadot
192b97ee269SEmmanuel Vadot		vreg_l5a_0p8: ldo5 {
193b97ee269SEmmanuel Vadot			regulator-min-microvolt = <800000>;
194b97ee269SEmmanuel Vadot			regulator-max-microvolt = <800000>;
195b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
196b97ee269SEmmanuel Vadot		};
197b97ee269SEmmanuel Vadot
198b97ee269SEmmanuel Vadot		vreg_l6a_1p8: ldo6 {
199b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1856000>;
200b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1856000>;
201b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
202b97ee269SEmmanuel Vadot		};
203b97ee269SEmmanuel Vadot
204b97ee269SEmmanuel Vadot		vreg_l7a_1p8: ldo7 {
205b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
206b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
207b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
208b97ee269SEmmanuel Vadot		};
209b97ee269SEmmanuel Vadot
210b97ee269SEmmanuel Vadot		vreg_l8a_1p2: ldo8 {
211b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
212b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1248000>;
213b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214b97ee269SEmmanuel Vadot		};
215b97ee269SEmmanuel Vadot
216b97ee269SEmmanuel Vadot		vreg_l9a_1p8: ldo9 {
217b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1704000>;
218b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2928000>;
219b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
220b97ee269SEmmanuel Vadot		};
221b97ee269SEmmanuel Vadot
222b97ee269SEmmanuel Vadot		vreg_l10a_2p95: ldo10 {
223b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1704000>;
224b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2928000>;
225b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
226b97ee269SEmmanuel Vadot		};
227b97ee269SEmmanuel Vadot
228b97ee269SEmmanuel Vadot		vreg_l11a_1p05: ldo11 {
229b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
230b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1048000>;
231b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
232b97ee269SEmmanuel Vadot		};
233b97ee269SEmmanuel Vadot
234b97ee269SEmmanuel Vadot		vreg_l12a_1p8: ldo12 {
235b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
236b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
237b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
238b97ee269SEmmanuel Vadot		};
239b97ee269SEmmanuel Vadot
240b97ee269SEmmanuel Vadot		vreg_l13a_2p95: ldo13 {
241b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
242b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
243b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
244b97ee269SEmmanuel Vadot		};
245b97ee269SEmmanuel Vadot
246b97ee269SEmmanuel Vadot		vreg_l14a_1p8: ldo14 {
247b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
248b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1880000>;
249b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250b97ee269SEmmanuel Vadot			regulator-always-on;
251b97ee269SEmmanuel Vadot		};
252b97ee269SEmmanuel Vadot
253b97ee269SEmmanuel Vadot		vreg_l15a_1p8: ldo15 {
254b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
255b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
256b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
257b97ee269SEmmanuel Vadot		};
258b97ee269SEmmanuel Vadot
259b97ee269SEmmanuel Vadot		vreg_l16a_2p7: ldo16 {
260b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2704000>;
261b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2704000>;
262b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
263b97ee269SEmmanuel Vadot		};
264b97ee269SEmmanuel Vadot
265b97ee269SEmmanuel Vadot		vreg_l17a_1p3: ldo17 {
266b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1304000>;
267b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1304000>;
268b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269b97ee269SEmmanuel Vadot			regulator-always-on;
270b97ee269SEmmanuel Vadot		};
271b97ee269SEmmanuel Vadot
272b97ee269SEmmanuel Vadot		vreg_l18a_2p9: ldo18 {
273b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2704000>;
274b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
275b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276b97ee269SEmmanuel Vadot		};
277b97ee269SEmmanuel Vadot
278b97ee269SEmmanuel Vadot		vreg_l19a_3p1: ldo19 {
279b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2856000>;
280b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3104000>;
281b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282b97ee269SEmmanuel Vadot		};
283b97ee269SEmmanuel Vadot
284b97ee269SEmmanuel Vadot		vreg_l20a_2p95: ldo20 {
285b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2704000>;
286b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
287b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
288b97ee269SEmmanuel Vadot		};
289b97ee269SEmmanuel Vadot
290b97ee269SEmmanuel Vadot		vreg_l21a_2p95: ldo21 {
291b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2704000>;
292b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
293b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294b97ee269SEmmanuel Vadot		};
295b97ee269SEmmanuel Vadot
296b97ee269SEmmanuel Vadot		vreg_l22a_3p3: ldo22 {
297b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2864000>;
298b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3312000>;
299b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
300b97ee269SEmmanuel Vadot		};
301b97ee269SEmmanuel Vadot
302b97ee269SEmmanuel Vadot		vreg_l23a_3p3: ldo23 {
303b97ee269SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
304b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3312000>;
305b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
306b97ee269SEmmanuel Vadot		};
307b97ee269SEmmanuel Vadot
308b97ee269SEmmanuel Vadot		vreg_l24a_3p075: ldo24 {
309b97ee269SEmmanuel Vadot			regulator-min-microvolt = <3088000>;
310b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3088000>;
311b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
312b97ee269SEmmanuel Vadot		};
313b97ee269SEmmanuel Vadot
314b97ee269SEmmanuel Vadot		vreg_l25a_3p3: ldo25 {
315b97ee269SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
316b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3312000>;
317b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318b97ee269SEmmanuel Vadot			regulator-always-on;
319b97ee269SEmmanuel Vadot		};
320b97ee269SEmmanuel Vadot
321b97ee269SEmmanuel Vadot		vdda_mipi_dsi0_1p2:
322b97ee269SEmmanuel Vadot		vdda_ufs1_1p2:
323b97ee269SEmmanuel Vadot		vreg_l26a_1p2: ldo26 {
324b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
325b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
326b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
327b97ee269SEmmanuel Vadot		};
328b97ee269SEmmanuel Vadot
329b97ee269SEmmanuel Vadot		vreg_l28a_3p0: ldo28 {
330b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2856000>;
331b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
332b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
333b97ee269SEmmanuel Vadot			regulator-always-on;
334b97ee269SEmmanuel Vadot		};
335b97ee269SEmmanuel Vadot
336b97ee269SEmmanuel Vadot		vreg_lvs1a_1p8: lvs1 {
337b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
338b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
339b97ee269SEmmanuel Vadot		};
340b97ee269SEmmanuel Vadot
341b97ee269SEmmanuel Vadot		vreg_lvs2a_1p8: lvs2 {
342b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
343b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
344b97ee269SEmmanuel Vadot		};
345b97ee269SEmmanuel Vadot	};
346b97ee269SEmmanuel Vadot
347cb7aa33aSEmmanuel Vadot	regulators-1 {
348b97ee269SEmmanuel Vadot		compatible = "qcom,pmi8998-rpmh-regulators";
349b97ee269SEmmanuel Vadot		qcom,pmic-id = "b";
350b97ee269SEmmanuel Vadot
351b97ee269SEmmanuel Vadot		vreg_bob: bob {
352b97ee269SEmmanuel Vadot			regulator-min-microvolt = <3312000>;
353b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3600000>;
354b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
355b97ee269SEmmanuel Vadot			regulator-allow-bypass;
356b97ee269SEmmanuel Vadot		};
357b97ee269SEmmanuel Vadot	};
358b97ee269SEmmanuel Vadot
359cb7aa33aSEmmanuel Vadot	regulators-2 {
360b97ee269SEmmanuel Vadot		compatible = "qcom,pm8005-rpmh-regulators";
361b97ee269SEmmanuel Vadot		qcom,pmic-id = "c";
362b97ee269SEmmanuel Vadot
363b97ee269SEmmanuel Vadot		vreg_smp3c_0p6: smps3 {
364b97ee269SEmmanuel Vadot			regulator-min-microvolt = <600000>;
365b97ee269SEmmanuel Vadot			regulator-max-microvolt = <600000>;
366b97ee269SEmmanuel Vadot			regulator-always-on;
367b97ee269SEmmanuel Vadot		};
368b97ee269SEmmanuel Vadot	};
369b97ee269SEmmanuel Vadot};
370b97ee269SEmmanuel Vadot
371b97ee269SEmmanuel Vadot&cdsp_pas {
372b97ee269SEmmanuel Vadot	firmware-name = "qcom/sdm845/polaris/cdsp.mbn";
373b97ee269SEmmanuel Vadot	status = "okay";
374b97ee269SEmmanuel Vadot};
375b97ee269SEmmanuel Vadot
376b97ee269SEmmanuel Vadot&gcc {
377b97ee269SEmmanuel Vadot	protected-clocks = <GCC_QSPI_CORE_CLK>,
378b97ee269SEmmanuel Vadot				<GCC_QSPI_CORE_CLK_SRC>,
379b97ee269SEmmanuel Vadot				<GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
380b97ee269SEmmanuel Vadot				<GCC_LPASS_Q6_AXI_CLK>,
381b97ee269SEmmanuel Vadot				<GCC_LPASS_SWAY_CLK>;
382b97ee269SEmmanuel Vadot};
383b97ee269SEmmanuel Vadot
384b97ee269SEmmanuel Vadot&gmu {
385b97ee269SEmmanuel Vadot	status = "okay";
386b97ee269SEmmanuel Vadot};
387b97ee269SEmmanuel Vadot
388b97ee269SEmmanuel Vadot&gpi_dma0 {
389b97ee269SEmmanuel Vadot	status = "okay";
390b97ee269SEmmanuel Vadot};
391b97ee269SEmmanuel Vadot
392b97ee269SEmmanuel Vadot&gpi_dma1 {
393b97ee269SEmmanuel Vadot	status = "okay";
394b97ee269SEmmanuel Vadot};
395b97ee269SEmmanuel Vadot
396b97ee269SEmmanuel Vadot&gpu {
397b97ee269SEmmanuel Vadot	status = "okay";
398b97ee269SEmmanuel Vadot
399b97ee269SEmmanuel Vadot	zap-shader {
400b97ee269SEmmanuel Vadot		memory-region = <&gpu_mem>;
401b97ee269SEmmanuel Vadot		firmware-name = "qcom/sdm845/polaris/a630_zap.mbn";
402b97ee269SEmmanuel Vadot	};
403b97ee269SEmmanuel Vadot};
404b97ee269SEmmanuel Vadot
405b97ee269SEmmanuel Vadot&ibb {
406b97ee269SEmmanuel Vadot	regulator-min-microvolt = <4600000>;
407b97ee269SEmmanuel Vadot	regulator-max-microvolt = <6000000>;
408b97ee269SEmmanuel Vadot	regulator-over-current-protection;
409b97ee269SEmmanuel Vadot	regulator-pull-down;
410b97ee269SEmmanuel Vadot	regulator-soft-start;
411b97ee269SEmmanuel Vadot	qcom,discharge-resistor-kohms = <300>;
412b97ee269SEmmanuel Vadot};
413b97ee269SEmmanuel Vadot
414b97ee269SEmmanuel Vadot&ipa {
415cb7aa33aSEmmanuel Vadot	qcom,gsi-loader = "self";
416b97ee269SEmmanuel Vadot	memory-region = <&ipa_fw_mem>;
417b97ee269SEmmanuel Vadot	firmware-name = "qcom/sdm845/polaris/ipa_fws.mbn";
418b97ee269SEmmanuel Vadot	status = "okay";
419b97ee269SEmmanuel Vadot};
420b97ee269SEmmanuel Vadot
421b97ee269SEmmanuel Vadot&i2c14 {
422b97ee269SEmmanuel Vadot	clock-frequency = <400000>;
423b97ee269SEmmanuel Vadot	status = "okay";
424b97ee269SEmmanuel Vadot
425b97ee269SEmmanuel Vadot	touchscreen@20 {
426b97ee269SEmmanuel Vadot		compatible = "syna,rmi4-i2c";
427b97ee269SEmmanuel Vadot		reg = <0x20>;
428b97ee269SEmmanuel Vadot		#address-cells = <1>;
429b97ee269SEmmanuel Vadot		#size-cells = <0>;
430b97ee269SEmmanuel Vadot		interrupts-extended = <&tlmm 125 0x2008>;
431b97ee269SEmmanuel Vadot
432b97ee269SEmmanuel Vadot		pinctrl-names = "default", "sleep";
433b97ee269SEmmanuel Vadot		pinctrl-0 = <&ts_int_default &ts_reset_default>;
434b97ee269SEmmanuel Vadot		pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>;
435b97ee269SEmmanuel Vadot
436b97ee269SEmmanuel Vadot		vdd-supply = <&vreg_l28a_3p0>;
437b97ee269SEmmanuel Vadot		vio-supply = <&vreg_tp_vddio>;
438b97ee269SEmmanuel Vadot
439b97ee269SEmmanuel Vadot		syna,startup-delay-ms = <0xc8>;
440b97ee269SEmmanuel Vadot		syna,reset-delay-ms = <0xc8>;
441b97ee269SEmmanuel Vadot
442b97ee269SEmmanuel Vadot		rmi4-f01@1 {
443b97ee269SEmmanuel Vadot			syna,nosleep-mode = <0x1>;
444b97ee269SEmmanuel Vadot			reg = <0x1>;
445b97ee269SEmmanuel Vadot		};
446b97ee269SEmmanuel Vadot
447b97ee269SEmmanuel Vadot		rmi4-f12@12 {
448f126890aSEmmanuel Vadot			reg = <0x12>;
449b97ee269SEmmanuel Vadot			syna,rezero-wait-ms = <0xc8>;
450b97ee269SEmmanuel Vadot			syna,clip-x-high = <0x438>;
451b97ee269SEmmanuel Vadot			syna,clip-y-high = <0x870>;
452b97ee269SEmmanuel Vadot			syna,sensor-type = <0x1>;
453b97ee269SEmmanuel Vadot			syna,clip-x-low = <0x0>;
454b97ee269SEmmanuel Vadot			syna,clip-y-low = <0x0>;
455b97ee269SEmmanuel Vadot		};
456b97ee269SEmmanuel Vadot	};
457b97ee269SEmmanuel Vadot};
458b97ee269SEmmanuel Vadot
459b97ee269SEmmanuel Vadot&lab {
460b97ee269SEmmanuel Vadot	regulator-min-microvolt = <4600000>;
461b97ee269SEmmanuel Vadot	regulator-max-microvolt = <6000000>;
462b97ee269SEmmanuel Vadot	regulator-soft-start;
463b97ee269SEmmanuel Vadot	regulator-pull-down;
464b97ee269SEmmanuel Vadot};
465b97ee269SEmmanuel Vadot
466b97ee269SEmmanuel Vadot&mdss {
467b97ee269SEmmanuel Vadot	status = "okay";
468b97ee269SEmmanuel Vadot};
469b97ee269SEmmanuel Vadot
470f126890aSEmmanuel Vadot&mdss_dsi0 {
471f126890aSEmmanuel Vadot	vdda-supply = <&vdda_mipi_dsi0_1p2>;
472f126890aSEmmanuel Vadot	status = "okay";
473f126890aSEmmanuel Vadot
474f126890aSEmmanuel Vadot	display_panel: panel@0 {
475f126890aSEmmanuel Vadot		compatible = "jdi,fhd-nt35596s";
476f126890aSEmmanuel Vadot		#address-cells = <1>;
477f126890aSEmmanuel Vadot		#size-cells = <0>;
478f126890aSEmmanuel Vadot		reg = <0>;
479f126890aSEmmanuel Vadot
480f126890aSEmmanuel Vadot		reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
481f126890aSEmmanuel Vadot		vddio-supply = <&vreg_l14a_1p8>;
482f126890aSEmmanuel Vadot		backlight = <&pmi8998_wled>;
483f126890aSEmmanuel Vadot		vddpos-supply = <&lab>;
484f126890aSEmmanuel Vadot		vddneg-supply = <&ibb>;
485f126890aSEmmanuel Vadot
486f126890aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
487f126890aSEmmanuel Vadot		pinctrl-0 = <&sde_dsi_active>;
488f126890aSEmmanuel Vadot		pinctrl-1 = <&sde_dsi_suspend>;
489f126890aSEmmanuel Vadot
490f126890aSEmmanuel Vadot		port {
491f126890aSEmmanuel Vadot			panel_in: endpoint {
492f126890aSEmmanuel Vadot				remote-endpoint = <&mdss_dsi0_out>;
493f126890aSEmmanuel Vadot			};
494f126890aSEmmanuel Vadot		};
495f126890aSEmmanuel Vadot	};
496f126890aSEmmanuel Vadot};
497f126890aSEmmanuel Vadot
498f126890aSEmmanuel Vadot&mdss_dsi0_out {
499f126890aSEmmanuel Vadot	remote-endpoint = <&panel_in>;
500f126890aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
501f126890aSEmmanuel Vadot};
502f126890aSEmmanuel Vadot
503f126890aSEmmanuel Vadot&mdss_dsi0_phy {
504f126890aSEmmanuel Vadot	vdds-supply = <&vdda_mipi_dsi0_pll>;
505f126890aSEmmanuel Vadot	status = "okay";
506f126890aSEmmanuel Vadot};
507f126890aSEmmanuel Vadot
508b97ee269SEmmanuel Vadot&mss_pil {
509b97ee269SEmmanuel Vadot	firmware-name = "qcom/sdm845/polaris/mba.mbn", "qcom/sdm845/polaris/modem.mbn";
510b97ee269SEmmanuel Vadot	status = "okay";
511b97ee269SEmmanuel Vadot};
512b97ee269SEmmanuel Vadot
513b97ee269SEmmanuel Vadot&pmi8998_wled {
514b97ee269SEmmanuel Vadot	qcom,current-limit-microamp = <20000>;
515b97ee269SEmmanuel Vadot	qcom,current-boost-limit = <970>;
516b97ee269SEmmanuel Vadot	qcom,ovp-millivolt = <19600>;
517b97ee269SEmmanuel Vadot	qcom,switching-freq = <600>;
518b97ee269SEmmanuel Vadot	qcom,num-strings = <4>;
519b97ee269SEmmanuel Vadot	qcom,cabc;
520b97ee269SEmmanuel Vadot
521b97ee269SEmmanuel Vadot	status = "okay";
522b97ee269SEmmanuel Vadot};
523b97ee269SEmmanuel Vadot
524cb7aa33aSEmmanuel Vadot&pm8998_gpios {
5257ef62cebSEmmanuel Vadot	volume_up_gpio: pm8998-gpio6-state {
526b97ee269SEmmanuel Vadot		pinconf {
527b97ee269SEmmanuel Vadot			qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
528b97ee269SEmmanuel Vadot			function = "normal";
529b97ee269SEmmanuel Vadot			pins = "gpio6";
530b97ee269SEmmanuel Vadot			input-enable;
531b97ee269SEmmanuel Vadot			bias-pull-up;
532b97ee269SEmmanuel Vadot		};
533b97ee269SEmmanuel Vadot	};
534b97ee269SEmmanuel Vadot};
535b97ee269SEmmanuel Vadot
536cb7aa33aSEmmanuel Vadot&pm8998_resin {
537b97ee269SEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
538cb7aa33aSEmmanuel Vadot	status = "okay";
539b97ee269SEmmanuel Vadot};
540b97ee269SEmmanuel Vadot
541b97ee269SEmmanuel Vadot&q6afedai {
5428bab661aSEmmanuel Vadot	dai@22 {
5438bab661aSEmmanuel Vadot		reg = <QUATERNARY_MI2S_RX>;
544b97ee269SEmmanuel Vadot		qcom,sd-lines = <0>;
545b97ee269SEmmanuel Vadot	};
546b97ee269SEmmanuel Vadot};
547b97ee269SEmmanuel Vadot
548b97ee269SEmmanuel Vadot&q6asmdai {
549b97ee269SEmmanuel Vadot	dai@0 {
550b97ee269SEmmanuel Vadot		reg = <0>;
551b97ee269SEmmanuel Vadot	};
552b97ee269SEmmanuel Vadot
553b97ee269SEmmanuel Vadot	dai@1 {
554b97ee269SEmmanuel Vadot		reg = <1>;
555b97ee269SEmmanuel Vadot	};
556b97ee269SEmmanuel Vadot
557b97ee269SEmmanuel Vadot	dai@2 {
558b97ee269SEmmanuel Vadot		reg = <2>;
559b97ee269SEmmanuel Vadot	};
560b97ee269SEmmanuel Vadot};
561b97ee269SEmmanuel Vadot
562b97ee269SEmmanuel Vadot&qupv3_id_0 {
563b97ee269SEmmanuel Vadot	status = "okay";
564b97ee269SEmmanuel Vadot};
565b97ee269SEmmanuel Vadot
566b97ee269SEmmanuel Vadot&qupv3_id_1 {
567b97ee269SEmmanuel Vadot	status = "okay";
568b97ee269SEmmanuel Vadot};
569b97ee269SEmmanuel Vadot
570b97ee269SEmmanuel Vadot&qup_i2c14_default {
571b97ee269SEmmanuel Vadot	drive-strength = <2>;
572b97ee269SEmmanuel Vadot	bias-disable;
573b97ee269SEmmanuel Vadot};
574b97ee269SEmmanuel Vadot
575b97ee269SEmmanuel Vadot&tlmm {
576b97ee269SEmmanuel Vadot	gpio-reserved-ranges = <0 4>, <81 4>;
577b97ee269SEmmanuel Vadot
578cb7aa33aSEmmanuel Vadot	ts_reset_default: ts-reset-default-state {
579b97ee269SEmmanuel Vadot		pins = "gpio99";
580b97ee269SEmmanuel Vadot		function = "gpio";
581b97ee269SEmmanuel Vadot		drive-strength = <16>;
582b97ee269SEmmanuel Vadot		output-high;
583b97ee269SEmmanuel Vadot	};
584b97ee269SEmmanuel Vadot
585cb7aa33aSEmmanuel Vadot	ts_int_default: ts-int-default-state {
586b97ee269SEmmanuel Vadot		pins = "gpio125";
587b97ee269SEmmanuel Vadot		function = "gpio";
588b97ee269SEmmanuel Vadot		bias-pull-down;
589b97ee269SEmmanuel Vadot		drive-strength = <16>;
590b97ee269SEmmanuel Vadot	};
591b97ee269SEmmanuel Vadot
592cb7aa33aSEmmanuel Vadot	ts_reset_sleep: ts-reset-sleep-state {
593b97ee269SEmmanuel Vadot		pins = "gpio99";
594b97ee269SEmmanuel Vadot		function = "gpio";
595b97ee269SEmmanuel Vadot		bias-disable;
596b97ee269SEmmanuel Vadot		drive-strength = <2>;
597b97ee269SEmmanuel Vadot	};
598b97ee269SEmmanuel Vadot
599cb7aa33aSEmmanuel Vadot	ts_int_sleep: ts-int-sleep-state {
600b97ee269SEmmanuel Vadot		pins = "gpio125";
601b97ee269SEmmanuel Vadot		function = "gpio";
602b97ee269SEmmanuel Vadot		bias-pull-down;
603b97ee269SEmmanuel Vadot		drive-strength = <2>;
604b97ee269SEmmanuel Vadot	};
605b97ee269SEmmanuel Vadot
606cb7aa33aSEmmanuel Vadot	sde_dsi_active: sde-dsi-active-state {
607b97ee269SEmmanuel Vadot		pins = "gpio6", "gpio10";
608b97ee269SEmmanuel Vadot		function = "gpio";
609b97ee269SEmmanuel Vadot		drive-strength = <8>;
6107ef62cebSEmmanuel Vadot		bias-disable;
611b97ee269SEmmanuel Vadot	};
612b97ee269SEmmanuel Vadot
613cb7aa33aSEmmanuel Vadot	sde_dsi_suspend: sde-dsi-suspend-state {
614b97ee269SEmmanuel Vadot		pins = "gpio6", "gpio10";
615b97ee269SEmmanuel Vadot		function = "gpio";
616b97ee269SEmmanuel Vadot		drive-strength = <2>;
617b97ee269SEmmanuel Vadot		bias-pull-down;
618b97ee269SEmmanuel Vadot	};
619b97ee269SEmmanuel Vadot};
620b97ee269SEmmanuel Vadot
621b97ee269SEmmanuel Vadot&uart6 {
622b97ee269SEmmanuel Vadot	status = "okay";
623b97ee269SEmmanuel Vadot
6248bab661aSEmmanuel Vadot	pinctrl-0 = <&qup_uart6_4pin>;
6258bab661aSEmmanuel Vadot
626b97ee269SEmmanuel Vadot	bluetooth {
627b97ee269SEmmanuel Vadot		compatible = "qcom,wcn3990-bt";
628b97ee269SEmmanuel Vadot
629b97ee269SEmmanuel Vadot		/* This path is relative to the qca/ subdir under lib/firmware. */
630b97ee269SEmmanuel Vadot		firmware-name = "polaris/crnv21.bin";
631b97ee269SEmmanuel Vadot
632b97ee269SEmmanuel Vadot		vddio-supply = <&vreg_s4a_1p8>;
633b97ee269SEmmanuel Vadot		vddxo-supply = <&vreg_l7a_1p8>;
634b97ee269SEmmanuel Vadot		vddrf-supply = <&vreg_l17a_1p3>;
635b97ee269SEmmanuel Vadot		vddch0-supply = <&vreg_l25a_3p3>;
636b97ee269SEmmanuel Vadot		max-speed = <3200000>;
637b97ee269SEmmanuel Vadot	};
638b97ee269SEmmanuel Vadot};
639b97ee269SEmmanuel Vadot
640b97ee269SEmmanuel Vadot&usb_1 {
641b97ee269SEmmanuel Vadot	/* We'll use this as USB 2.0 only */
642b97ee269SEmmanuel Vadot	qcom,select-utmi-as-pipe-clk;
643b97ee269SEmmanuel Vadot	status = "okay";
644b97ee269SEmmanuel Vadot};
645b97ee269SEmmanuel Vadot
646b97ee269SEmmanuel Vadot&usb_1_dwc3 {
647b97ee269SEmmanuel Vadot	dr_mode = "peripheral";
648b97ee269SEmmanuel Vadot
649b97ee269SEmmanuel Vadot	/* Fastest mode for USB 2 */
650b97ee269SEmmanuel Vadot	maximum-speed = "high-speed";
651b97ee269SEmmanuel Vadot
652b97ee269SEmmanuel Vadot	/* Remove USB3 phy */
653b97ee269SEmmanuel Vadot	phys = <&usb_1_hsphy>;
654b97ee269SEmmanuel Vadot	phy-names = "usb2-phy";
655b97ee269SEmmanuel Vadot};
656b97ee269SEmmanuel Vadot
657b97ee269SEmmanuel Vadot&usb_1_hsphy {
658b97ee269SEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
659b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
660b97ee269SEmmanuel Vadot	vdd-supply = <&vreg_l1a_0p875>;
661b97ee269SEmmanuel Vadot
662b97ee269SEmmanuel Vadot	qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
663b97ee269SEmmanuel Vadot	qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
664b97ee269SEmmanuel Vadot	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
665b97ee269SEmmanuel Vadot	qcom,imp-res-offset-value = <8>;
666b97ee269SEmmanuel Vadot
667b97ee269SEmmanuel Vadot	status = "okay";
668b97ee269SEmmanuel Vadot};
669b97ee269SEmmanuel Vadot
670b97ee269SEmmanuel Vadot&usb_1_qmpphy {
671b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l1a_0p875>;
672b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vreg_l26a_1p2>;
673b97ee269SEmmanuel Vadot	status = "okay";
674b97ee269SEmmanuel Vadot};
675b97ee269SEmmanuel Vadot
676b97ee269SEmmanuel Vadot&ufs_mem_hc {
677b97ee269SEmmanuel Vadot	reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
678b97ee269SEmmanuel Vadot	vcc-supply = <&vreg_l20a_2p95>;
679b97ee269SEmmanuel Vadot	vcc-max-microamp = <800000>;
680b97ee269SEmmanuel Vadot	status = "okay";
681b97ee269SEmmanuel Vadot};
682b97ee269SEmmanuel Vadot
683b97ee269SEmmanuel Vadot&ufs_mem_phy {
684b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vdda_ufs1_core>;
685b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vdda_ufs1_1p2>;
686b97ee269SEmmanuel Vadot	status = "okay";
687b97ee269SEmmanuel Vadot};
688b97ee269SEmmanuel Vadot
689b97ee269SEmmanuel Vadot&venus {
690b97ee269SEmmanuel Vadot	firmware-name = "qcom/sdm845/polaris/venus.mbn";
691b97ee269SEmmanuel Vadot	status = "okay";
692b97ee269SEmmanuel Vadot};
693b97ee269SEmmanuel Vadot
694b97ee269SEmmanuel Vadot&wcd9340 {
6957ef62cebSEmmanuel Vadot	reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
696b97ee269SEmmanuel Vadot	vdd-buck-sido-supply = <&vreg_s4a_1p8>;
697b97ee269SEmmanuel Vadot	vdd-buck-supply = <&vreg_s4a_1p8>;
698b97ee269SEmmanuel Vadot	vdd-tx-supply = <&vreg_s4a_1p8>;
699b97ee269SEmmanuel Vadot	vdd-rx-supply = <&vreg_s4a_1p8>;
700b97ee269SEmmanuel Vadot	vdd-io-supply = <&vreg_s4a_1p8>;
701b97ee269SEmmanuel Vadot
702b97ee269SEmmanuel Vadot	qcom,micbias1-microvolt = <2700000>;
703b97ee269SEmmanuel Vadot	qcom,micbias2-microvolt = <1800000>;
704b97ee269SEmmanuel Vadot	qcom,micbias3-microvolt = <2700000>;
705b97ee269SEmmanuel Vadot	qcom,micbias4-microvolt = <2700000>;
706b97ee269SEmmanuel Vadot};
707b97ee269SEmmanuel Vadot
708b97ee269SEmmanuel Vadot&wifi {
709b97ee269SEmmanuel Vadot	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
710b97ee269SEmmanuel Vadot	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
711b97ee269SEmmanuel Vadot	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
712b97ee269SEmmanuel Vadot	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
713b97ee269SEmmanuel Vadot	vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
714b97ee269SEmmanuel Vadot	status = "okay";
715b97ee269SEmmanuel Vadot};
716