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