160378f1aSVenkata Narendra Kumar Gutta// SPDX-License-Identifier: BSD-3-Clause
260378f1aSVenkata Narendra Kumar Gutta/*
360378f1aSVenkata Narendra Kumar Gutta * Copyright (c) 2020, The Linux Foundation. All rights reserved.
460378f1aSVenkata Narendra Kumar Gutta */
560378f1aSVenkata Narendra Kumar Gutta
660378f1aSVenkata Narendra Kumar Gutta/dts-v1/;
760378f1aSVenkata Narendra Kumar Gutta
8ec13d5c2SBryan O'Donoghue#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9*5a263cf6SSrinivas Kandagatla#include <dt-bindings/sound/qcom,q6afe.h>
10*5a263cf6SSrinivas Kandagatla#include <dt-bindings/sound/qcom,q6asm.h>
11*5a263cf6SSrinivas Kandagatla#include <dt-bindings/gpio/gpio.h>
1260378f1aSVenkata Narendra Kumar Gutta#include "sm8250.dtsi"
136304b5e9SDmitry Baryshkov#include "pm8150.dtsi"
146304b5e9SDmitry Baryshkov#include "pm8150b.dtsi"
156304b5e9SDmitry Baryshkov#include "pm8150l.dtsi"
166304b5e9SDmitry Baryshkov#include "pm8009.dtsi"
1760378f1aSVenkata Narendra Kumar Gutta
1860378f1aSVenkata Narendra Kumar Gutta/ {
1960378f1aSVenkata Narendra Kumar Gutta	model = "Qualcomm Technologies, Inc. SM8250 MTP";
20d371a931SDmitry Baryshkov	compatible = "qcom,sm8250-mtp", "qcom,sm8250";
2160378f1aSVenkata Narendra Kumar Gutta
2260378f1aSVenkata Narendra Kumar Gutta	aliases {
23bb1dfb4dSManivannan Sadhasivam		serial0 = &uart12;
2460378f1aSVenkata Narendra Kumar Gutta	};
2560378f1aSVenkata Narendra Kumar Gutta
2660378f1aSVenkata Narendra Kumar Gutta	chosen {
2760378f1aSVenkata Narendra Kumar Gutta		stdout-path = "serial0:115200n8";
2860378f1aSVenkata Narendra Kumar Gutta	};
29ec13d5c2SBryan O'Donoghue
30681db16aSDmitry Baryshkov	thermal-zones {
31681db16aSDmitry Baryshkov		camera-thermal {
32681db16aSDmitry Baryshkov			polling-delay-passive = <0>;
33681db16aSDmitry Baryshkov			polling-delay = <0>;
34681db16aSDmitry Baryshkov			thermal-sensors = <&pm8150l_adc_tm 0>;
35681db16aSDmitry Baryshkov
36681db16aSDmitry Baryshkov			trips {
37681db16aSDmitry Baryshkov				active-config0 {
38681db16aSDmitry Baryshkov					temperature = <125000>;
39681db16aSDmitry Baryshkov					hysteresis = <1000>;
40681db16aSDmitry Baryshkov					type = "passive";
41681db16aSDmitry Baryshkov				};
42681db16aSDmitry Baryshkov			};
43681db16aSDmitry Baryshkov		};
44681db16aSDmitry Baryshkov
45681db16aSDmitry Baryshkov		conn-thermal {
46681db16aSDmitry Baryshkov			polling-delay-passive = <0>;
47681db16aSDmitry Baryshkov			polling-delay = <0>;
48681db16aSDmitry Baryshkov			thermal-sensors = <&pm8150b_adc_tm 0>;
49681db16aSDmitry Baryshkov
50681db16aSDmitry Baryshkov			trips {
51681db16aSDmitry Baryshkov				active-config0 {
52681db16aSDmitry Baryshkov					temperature = <125000>;
53681db16aSDmitry Baryshkov					hysteresis = <1000>;
54681db16aSDmitry Baryshkov					type = "passive";
55681db16aSDmitry Baryshkov				};
56681db16aSDmitry Baryshkov			};
57681db16aSDmitry Baryshkov		};
58681db16aSDmitry Baryshkov
59681db16aSDmitry Baryshkov		mmw-pa1-thermal {
60681db16aSDmitry Baryshkov			polling-delay-passive = <0>;
61681db16aSDmitry Baryshkov			polling-delay = <0>;
62681db16aSDmitry Baryshkov			thermal-sensors = <&pm8150_adc_tm 2>;
63681db16aSDmitry Baryshkov
64681db16aSDmitry Baryshkov			trips {
65681db16aSDmitry Baryshkov				active-config0 {
66681db16aSDmitry Baryshkov					temperature = <125000>;
67681db16aSDmitry Baryshkov					hysteresis = <1000>;
68681db16aSDmitry Baryshkov					type = "passive";
69681db16aSDmitry Baryshkov				};
70681db16aSDmitry Baryshkov			};
71681db16aSDmitry Baryshkov		};
72681db16aSDmitry Baryshkov
73681db16aSDmitry Baryshkov		mmw-pa2-thermal {
74681db16aSDmitry Baryshkov			polling-delay-passive = <0>;
75681db16aSDmitry Baryshkov			polling-delay = <0>;
76681db16aSDmitry Baryshkov			thermal-sensors = <&pm8150l_adc_tm 2>;
77681db16aSDmitry Baryshkov
78681db16aSDmitry Baryshkov			trips {
79681db16aSDmitry Baryshkov				active-config0 {
80681db16aSDmitry Baryshkov					temperature = <125000>;
81681db16aSDmitry Baryshkov					hysteresis = <1000>;
82681db16aSDmitry Baryshkov					type = "passive";
83681db16aSDmitry Baryshkov				};
84681db16aSDmitry Baryshkov			};
85681db16aSDmitry Baryshkov		};
86681db16aSDmitry Baryshkov
87681db16aSDmitry Baryshkov		skin-msm-thermal {
88681db16aSDmitry Baryshkov			polling-delay-passive = <0>;
89681db16aSDmitry Baryshkov			polling-delay = <0>;
90681db16aSDmitry Baryshkov			thermal-sensors = <&pm8150l_adc_tm 1>;
91681db16aSDmitry Baryshkov
92681db16aSDmitry Baryshkov			trips {
93681db16aSDmitry Baryshkov				active-config0 {
94681db16aSDmitry Baryshkov					temperature = <125000>;
95681db16aSDmitry Baryshkov					hysteresis = <1000>;
96681db16aSDmitry Baryshkov					type = "passive";
97681db16aSDmitry Baryshkov				};
98681db16aSDmitry Baryshkov			};
99681db16aSDmitry Baryshkov		};
100681db16aSDmitry Baryshkov
101681db16aSDmitry Baryshkov		skin-thermal {
102681db16aSDmitry Baryshkov			polling-delay-passive = <0>;
103681db16aSDmitry Baryshkov			polling-delay = <0>;
104681db16aSDmitry Baryshkov			thermal-sensors = <&pm8150_adc_tm 1>;
105681db16aSDmitry Baryshkov
106681db16aSDmitry Baryshkov			trips {
107681db16aSDmitry Baryshkov				active-config0 {
108681db16aSDmitry Baryshkov					temperature = <125000>;
109681db16aSDmitry Baryshkov					hysteresis = <1000>;
110681db16aSDmitry Baryshkov					type = "passive";
111681db16aSDmitry Baryshkov				};
112681db16aSDmitry Baryshkov			};
113681db16aSDmitry Baryshkov		};
114681db16aSDmitry Baryshkov
115681db16aSDmitry Baryshkov		xo-thermal {
116681db16aSDmitry Baryshkov			polling-delay-passive = <0>;
117681db16aSDmitry Baryshkov			polling-delay = <0>;
118681db16aSDmitry Baryshkov			thermal-sensors = <&pm8150_adc_tm 0>;
119681db16aSDmitry Baryshkov
120681db16aSDmitry Baryshkov			trips {
121681db16aSDmitry Baryshkov				active-config0 {
122681db16aSDmitry Baryshkov					temperature = <125000>;
123681db16aSDmitry Baryshkov					hysteresis = <1000>;
124681db16aSDmitry Baryshkov					type = "passive";
125681db16aSDmitry Baryshkov				};
126681db16aSDmitry Baryshkov			};
127681db16aSDmitry Baryshkov		};
128681db16aSDmitry Baryshkov	};
129681db16aSDmitry Baryshkov
130ec13d5c2SBryan O'Donoghue	vph_pwr: vph-pwr-regulator {
131ec13d5c2SBryan O'Donoghue		compatible = "regulator-fixed";
132ec13d5c2SBryan O'Donoghue		regulator-name = "vph_pwr";
133ec13d5c2SBryan O'Donoghue		regulator-min-microvolt = <3700000>;
134ec13d5c2SBryan O'Donoghue		regulator-max-microvolt = <3700000>;
135ec13d5c2SBryan O'Donoghue	};
136ec13d5c2SBryan O'Donoghue
137ec13d5c2SBryan O'Donoghue	vreg_s4a_1p8: pm8150-s4 {
138ec13d5c2SBryan O'Donoghue		compatible = "regulator-fixed";
139ec13d5c2SBryan O'Donoghue		regulator-name = "vreg_s4a_1p8";
140ec13d5c2SBryan O'Donoghue
141ec13d5c2SBryan O'Donoghue		regulator-min-microvolt = <1800000>;
142ec13d5c2SBryan O'Donoghue		regulator-max-microvolt = <1800000>;
143ec13d5c2SBryan O'Donoghue
144ec13d5c2SBryan O'Donoghue		regulator-always-on;
145ec13d5c2SBryan O'Donoghue		regulator-boot-on;
146ec13d5c2SBryan O'Donoghue
147ec13d5c2SBryan O'Donoghue		vin-supply = <&vph_pwr>;
148ec13d5c2SBryan O'Donoghue	};
149ec13d5c2SBryan O'Donoghue
150ec13d5c2SBryan O'Donoghue	vreg_s6c_0p88: smpc6-regulator {
151ec13d5c2SBryan O'Donoghue		compatible = "regulator-fixed";
152ec13d5c2SBryan O'Donoghue		regulator-name = "vreg_s6c_0p88";
153ec13d5c2SBryan O'Donoghue
154ec13d5c2SBryan O'Donoghue		regulator-min-microvolt = <880000>;
155ec13d5c2SBryan O'Donoghue		regulator-max-microvolt = <880000>;
156ec13d5c2SBryan O'Donoghue		regulator-always-on;
157ec13d5c2SBryan O'Donoghue		vin-supply = <&vph_pwr>;
158ec13d5c2SBryan O'Donoghue	};
159ec13d5c2SBryan O'Donoghue};
160ec13d5c2SBryan O'Donoghue
16123a89037SBjorn Andersson&adsp {
16223a89037SBjorn Andersson	status = "okay";
16323a89037SBjorn Andersson	firmware-name = "qcom/sm8250/adsp.mbn";
16423a89037SBjorn Andersson};
16523a89037SBjorn Andersson
166ec13d5c2SBryan O'Donoghue&apps_rsc {
167ec13d5c2SBryan O'Donoghue	pm8150-rpmh-regulators {
168ec13d5c2SBryan O'Donoghue		compatible = "qcom,pm8150-rpmh-regulators";
169ec13d5c2SBryan O'Donoghue		qcom,pmic-id = "a";
170ec13d5c2SBryan O'Donoghue
171ec13d5c2SBryan O'Donoghue		vdd-s1-supply = <&vph_pwr>;
172ec13d5c2SBryan O'Donoghue		vdd-s2-supply = <&vph_pwr>;
173ec13d5c2SBryan O'Donoghue		vdd-s3-supply = <&vph_pwr>;
174ec13d5c2SBryan O'Donoghue		vdd-s4-supply = <&vph_pwr>;
175ec13d5c2SBryan O'Donoghue		vdd-s5-supply = <&vph_pwr>;
176ec13d5c2SBryan O'Donoghue		vdd-s6-supply = <&vph_pwr>;
177ec13d5c2SBryan O'Donoghue		vdd-s7-supply = <&vph_pwr>;
178ec13d5c2SBryan O'Donoghue		vdd-s8-supply = <&vph_pwr>;
179ec13d5c2SBryan O'Donoghue		vdd-s9-supply = <&vph_pwr>;
180ec13d5c2SBryan O'Donoghue		vdd-s10-supply = <&vph_pwr>;
181ec13d5c2SBryan O'Donoghue		vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>;
182ec13d5c2SBryan O'Donoghue		vdd-l2-l10-supply = <&vreg_bob>;
183ec13d5c2SBryan O'Donoghue		vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>;
184ec13d5c2SBryan O'Donoghue		vdd-l6-l9-supply = <&vreg_s8c_1p3>;
185ec13d5c2SBryan O'Donoghue		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>;
186ec13d5c2SBryan O'Donoghue		vdd-l13-l16-l17-supply = <&vreg_bob>;
187ec13d5c2SBryan O'Donoghue
188ec13d5c2SBryan O'Donoghue		vreg_s5a_1p9: smps5 {
189ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_s5a_1p9";
190ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1904000>;
191ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2000000>;
192ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
193ec13d5c2SBryan O'Donoghue		};
194ec13d5c2SBryan O'Donoghue
195ec13d5c2SBryan O'Donoghue		vreg_s6a_0p95: smps6 {
196ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_s6a_0p95";
197ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <920000>;
198ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1128000>;
199ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
200ec13d5c2SBryan O'Donoghue		};
201ec13d5c2SBryan O'Donoghue
202ec13d5c2SBryan O'Donoghue		vreg_l2a_3p1: ldo2 {
203ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l2a_3p1";
204ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <3072000>;
205ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <3072000>;
206ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
207ec13d5c2SBryan O'Donoghue		};
208ec13d5c2SBryan O'Donoghue
209ec13d5c2SBryan O'Donoghue		vreg_l3a_0p9: ldo3 {
210ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l3a_0p9";
211ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <928000>;
212ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <932000>;
213ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214ec13d5c2SBryan O'Donoghue		};
215ec13d5c2SBryan O'Donoghue
216ec13d5c2SBryan O'Donoghue		vreg_l5a_0p875: ldo5 {
217ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l5a_0p875";
218ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <880000>;
219ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <880000>;
220ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
221ec13d5c2SBryan O'Donoghue		};
222ec13d5c2SBryan O'Donoghue
223ec13d5c2SBryan O'Donoghue		vreg_l6a_1p2: ldo6 {
224ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l6a_1p2";
225ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1200000>;
226ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1200000>;
227ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228ec13d5c2SBryan O'Donoghue		};
229ec13d5c2SBryan O'Donoghue
230ec13d5c2SBryan O'Donoghue		vreg_l7a_1p7: ldo7 {
231ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l7a_1p7";
232ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1704000>;
233ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1800000>;
234ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235ec13d5c2SBryan O'Donoghue		};
236ec13d5c2SBryan O'Donoghue
237ec13d5c2SBryan O'Donoghue		vreg_l9a_1p2: ldo9 {
238ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l9a_1p2";
239ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1200000>;
240ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1200000>;
241ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242ec13d5c2SBryan O'Donoghue		};
243ec13d5c2SBryan O'Donoghue
244ec13d5c2SBryan O'Donoghue		vreg_l10a_1p8: ldo10 {
245ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l10a_1p8";
246ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
247ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1800000>;
248ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
249ec13d5c2SBryan O'Donoghue		};
250ec13d5c2SBryan O'Donoghue
251ec13d5c2SBryan O'Donoghue		vreg_l12a_1p8: ldo12 {
252ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l12a_1p8";
253ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
254ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1800000>;
255ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
256ec13d5c2SBryan O'Donoghue		};
257ec13d5c2SBryan O'Donoghue
258ec13d5c2SBryan O'Donoghue		vreg_l13a_ts_3p0: ldo13 {
259ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l13a_ts_3p0";
260ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <3008000>;
261ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <3008000>;
262ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
263ec13d5c2SBryan O'Donoghue		};
264ec13d5c2SBryan O'Donoghue
265ec13d5c2SBryan O'Donoghue		vreg_l14a_1p8: ldo14 {
266ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l14a_1p8";
267ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
268ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1880000>;
269ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
270ec13d5c2SBryan O'Donoghue		};
271ec13d5c2SBryan O'Donoghue
272ec13d5c2SBryan O'Donoghue		vreg_l15a_11ad_io_1p8: ldo15 {
273ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l15a_11ad_io_1p8";
274ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
275ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1800000>;
276ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
277ec13d5c2SBryan O'Donoghue		};
278ec13d5c2SBryan O'Donoghue
279ec13d5c2SBryan O'Donoghue		vreg_l16a_2p7: ldo16 {
280ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l16a_2p7";
281ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <2704000>;
282ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2960000>;
283ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
284ec13d5c2SBryan O'Donoghue		};
285ec13d5c2SBryan O'Donoghue
286ec13d5c2SBryan O'Donoghue		vreg_l17a_3p0: ldo17 {
287ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l17a_3p0";
288ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <2856000>;
289ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <3008000>;
290ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
291ec13d5c2SBryan O'Donoghue		};
292221f0ef3SDmitry Baryshkov
293221f0ef3SDmitry Baryshkov		vreg_l18a_0p9: ldo18 {
294221f0ef3SDmitry Baryshkov			regulator-name = "vreg_l18a_0p9";
295221f0ef3SDmitry Baryshkov			regulator-min-microvolt = <912000>;
296221f0ef3SDmitry Baryshkov			regulator-max-microvolt = <912000>;
297221f0ef3SDmitry Baryshkov			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
298221f0ef3SDmitry Baryshkov		};
299ec13d5c2SBryan O'Donoghue	};
300ec13d5c2SBryan O'Donoghue
301ec13d5c2SBryan O'Donoghue	pm8150l-rpmh-regulators {
302ec13d5c2SBryan O'Donoghue		compatible = "qcom,pm8150l-rpmh-regulators";
303ec13d5c2SBryan O'Donoghue		qcom,pmic-id = "c";
304ec13d5c2SBryan O'Donoghue
305ec13d5c2SBryan O'Donoghue		vdd-s1-supply = <&vph_pwr>;
306ec13d5c2SBryan O'Donoghue		vdd-s2-supply = <&vph_pwr>;
307ec13d5c2SBryan O'Donoghue		vdd-s3-supply = <&vph_pwr>;
308ec13d5c2SBryan O'Donoghue		vdd-s4-supply = <&vph_pwr>;
309ec13d5c2SBryan O'Donoghue		vdd-s5-supply = <&vph_pwr>;
310ec13d5c2SBryan O'Donoghue		vdd-s6-supply = <&vph_pwr>;
311ec13d5c2SBryan O'Donoghue		vdd-s7-supply = <&vph_pwr>;
312ec13d5c2SBryan O'Donoghue		vdd-s8-supply = <&vph_pwr>;
313ec13d5c2SBryan O'Donoghue		vdd-l1-l8-supply = <&vreg_s4a_1p8>;
314ec13d5c2SBryan O'Donoghue		vdd-l2-l3-supply = <&vreg_s8c_1p3>;
315ec13d5c2SBryan O'Donoghue		vdd-l4-l5-l6-supply = <&vreg_bob>;
316ec13d5c2SBryan O'Donoghue		vdd-l7-l11-supply = <&vreg_bob>;
317ec13d5c2SBryan O'Donoghue		vdd-l9-l10-supply = <&vreg_bob>;
318ec13d5c2SBryan O'Donoghue		vdd-bob-supply = <&vph_pwr>;
319ec13d5c2SBryan O'Donoghue
320ec13d5c2SBryan O'Donoghue		vreg_bob: bob {
321ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_bob";
322ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <3008000>;
323ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <4000000>;
324ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
325ec13d5c2SBryan O'Donoghue		};
326ec13d5c2SBryan O'Donoghue
327ec13d5c2SBryan O'Donoghue		vreg_s8c_1p3: smps8 {
328ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_s8c_1p3";
329ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1352000>;
330ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1352000>;
331ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332ec13d5c2SBryan O'Donoghue		};
333ec13d5c2SBryan O'Donoghue
334ec13d5c2SBryan O'Donoghue		vreg_l1c_1p8: ldo1 {
335ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l1c_1p8";
336ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
337ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1800000>;
338ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339ec13d5c2SBryan O'Donoghue		};
340ec13d5c2SBryan O'Donoghue
341ec13d5c2SBryan O'Donoghue		vreg_l2c_1p2: ldo2 {
342ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l2c_1p2";
343ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1200000>;
344ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1200000>;
345ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
346ec13d5c2SBryan O'Donoghue		};
347ec13d5c2SBryan O'Donoghue
348ec13d5c2SBryan O'Donoghue		vreg_l3c_0p92: ldo3 {
349ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l3c_0p92";
350ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <920000>;
351ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <920000>;
352ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
353ec13d5c2SBryan O'Donoghue		};
354ec13d5c2SBryan O'Donoghue
355ec13d5c2SBryan O'Donoghue		vreg_l4c_1p7: ldo4 {
356ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l4c_1p7";
357ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1704000>;
358ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2928000>;
359ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
360ec13d5c2SBryan O'Donoghue		};
361ec13d5c2SBryan O'Donoghue
362ec13d5c2SBryan O'Donoghue		vreg_l5c_1p8: ldo5 {
363ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l5c_1p8";
364ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
365ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2928000>;
366ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367ec13d5c2SBryan O'Donoghue		};
368ec13d5c2SBryan O'Donoghue
369ec13d5c2SBryan O'Donoghue		vreg_l6c_2p9: ldo6 {
370ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l6c_2p9";
371ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
372ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2960000>;
373ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
374ec13d5c2SBryan O'Donoghue		};
375ec13d5c2SBryan O'Donoghue
376ec13d5c2SBryan O'Donoghue		vreg_l7c_cam_vcm0_2p85: ldo7 {
377ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l7c_cam_vcm0_2p85";
378ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <2856000>;
379ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <3104000>;
380ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
381ec13d5c2SBryan O'Donoghue		};
382ec13d5c2SBryan O'Donoghue
383ec13d5c2SBryan O'Donoghue		vreg_l8c_1p8: ldo8 {
384ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l8c_1p8";
385ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
386ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1800000>;
387ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
388ec13d5c2SBryan O'Donoghue		};
389ec13d5c2SBryan O'Donoghue
390ec13d5c2SBryan O'Donoghue		vreg_l9c_2p9: ldo9 {
391ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l9c_2p9";
392ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <2704000>;
393ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2960000>;
394ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
395ec13d5c2SBryan O'Donoghue		};
396ec13d5c2SBryan O'Donoghue
397ec13d5c2SBryan O'Donoghue		vreg_l10c_3p0: ldo10 {
398ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l10c_3p0";
399ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <3000000>;
400ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <3000000>;
401ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
402ec13d5c2SBryan O'Donoghue		};
403ec13d5c2SBryan O'Donoghue
404ec13d5c2SBryan O'Donoghue		vreg_l11c_3p3: ldo11 {
405ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l11c_3p3";
406ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <3000000>;
407ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <3312000>;
408ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
409ec13d5c2SBryan O'Donoghue		};
410ec13d5c2SBryan O'Donoghue	};
411ec13d5c2SBryan O'Donoghue
412ec13d5c2SBryan O'Donoghue	pm8009-rpmh-regulators {
413ec13d5c2SBryan O'Donoghue		compatible = "qcom,pm8009-rpmh-regulators";
414ec13d5c2SBryan O'Donoghue		qcom,pmic-id = "f";
415ec13d5c2SBryan O'Donoghue
416ec13d5c2SBryan O'Donoghue		vdd-s1-supply = <&vph_pwr>;
417ec13d5c2SBryan O'Donoghue		vdd-s2-supply = <&vreg_bob>;
418ec13d5c2SBryan O'Donoghue		vdd-l2-supply = <&vreg_s8c_1p3>;
419ec13d5c2SBryan O'Donoghue		vdd-l5-l6-supply = <&vreg_bob>;
420ec13d5c2SBryan O'Donoghue		vdd-l7-supply = <&vreg_s4a_1p8>;
421ec13d5c2SBryan O'Donoghue
422ec13d5c2SBryan O'Donoghue		vreg_l1f_cam_dvdd1_1p1: ldo1 {
423ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l1f_cam_dvdd1_1p1";
424ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1104000>;
425ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1104000>;
426ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
427ec13d5c2SBryan O'Donoghue		};
428ec13d5c2SBryan O'Donoghue
429ec13d5c2SBryan O'Donoghue		vreg_l2f_cam_dvdd0_1p2: ldo2 {
430ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l2f_cam_dvdd0_1p2";
431ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1200000>;
432ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1200000>;
433ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
434ec13d5c2SBryan O'Donoghue		};
435ec13d5c2SBryan O'Donoghue
436ec13d5c2SBryan O'Donoghue		vreg_l3f_cam_dvdd2_1p05: ldo3 {
437ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l3f_cam_dvdd2_1p05";
438ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1056000>;
439ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1056000>;
440ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
441ec13d5c2SBryan O'Donoghue		};
442ec13d5c2SBryan O'Donoghue
443ec13d5c2SBryan O'Donoghue		vreg_l5f_cam_avdd0_2p85: ldo5 {
444ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l5f_cam_avdd0_2p85";
445ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <2800000>;
446ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2800000>;
447ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
448ec13d5c2SBryan O'Donoghue		};
449ec13d5c2SBryan O'Donoghue
450ec13d5c2SBryan O'Donoghue		vreg_l6f_cam_avdd1_2p85: ldo6 {
451ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l6f_cam_avdd1_2p85";
452ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <2856000>;
453ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <2856000>;
454ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
455ec13d5c2SBryan O'Donoghue		};
456ec13d5c2SBryan O'Donoghue
457ec13d5c2SBryan O'Donoghue		vreg_l7f_1p8: ldo7 {
458ec13d5c2SBryan O'Donoghue			regulator-name = "vreg_l7f_1p8";
459ec13d5c2SBryan O'Donoghue			regulator-min-microvolt = <1800000>;
460ec13d5c2SBryan O'Donoghue			regulator-max-microvolt = <1800000>;
461ec13d5c2SBryan O'Donoghue			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
462ec13d5c2SBryan O'Donoghue		};
463ec13d5c2SBryan O'Donoghue	};
46460378f1aSVenkata Narendra Kumar Gutta};
46560378f1aSVenkata Narendra Kumar Gutta
46623a89037SBjorn Andersson&cdsp {
46723a89037SBjorn Andersson	status = "okay";
46823a89037SBjorn Andersson	firmware-name = "qcom/sm8250/cdsp.mbn";
46923a89037SBjorn Andersson};
47023a89037SBjorn Andersson
471ece28cb5SKonrad Dybcio&gmu {
472ece28cb5SKonrad Dybcio	status = "okay";
473ece28cb5SKonrad Dybcio};
474ece28cb5SKonrad Dybcio
4759e301a54SDmitry Baryshkov&gpu {
476ece28cb5SKonrad Dybcio	status = "okay";
477ece28cb5SKonrad Dybcio
4789e301a54SDmitry Baryshkov	zap-shader {
4799e301a54SDmitry Baryshkov		memory-region = <&gpu_mem>;
4809e301a54SDmitry Baryshkov		firmware-name = "qcom/sm8250/a650_zap.mbn";
4819e301a54SDmitry Baryshkov	};
4829e301a54SDmitry Baryshkov};
4839e301a54SDmitry Baryshkov
484c0011172SDmitry Baryshkov&i2c1 {
485c0011172SDmitry Baryshkov	status = "okay";
486c0011172SDmitry Baryshkov	clock-frequency = <1000000>;
487c0011172SDmitry Baryshkov
488c0011172SDmitry Baryshkov	/* NQ NFC chip @28 */
489c0011172SDmitry Baryshkov};
490c0011172SDmitry Baryshkov
491c0011172SDmitry Baryshkov&i2c13 {
492c0011172SDmitry Baryshkov	status = "okay";
493c0011172SDmitry Baryshkov
494c0011172SDmitry Baryshkov	/* st,stmfts @ 49 */
495c0011172SDmitry Baryshkov};
496c0011172SDmitry Baryshkov
497c0011172SDmitry Baryshkov&i2c15 {
498c0011172SDmitry Baryshkov	status = "okay";
499c0011172SDmitry Baryshkov
500c0011172SDmitry Baryshkov	/* smb1390 @ 10 */
501c0011172SDmitry Baryshkov	/* rtc6226 @ 64 */
502c0011172SDmitry Baryshkov};
503c0011172SDmitry Baryshkov
504681db16aSDmitry Baryshkov&pm8150_adc {
505681db16aSDmitry Baryshkov	xo-therm@4c {
506681db16aSDmitry Baryshkov		reg = <ADC5_XO_THERM_100K_PU>;
507681db16aSDmitry Baryshkov		qcom,ratiometric;
508681db16aSDmitry Baryshkov		qcom,hw-settle-time = <200>;
509681db16aSDmitry Baryshkov	};
510681db16aSDmitry Baryshkov
511681db16aSDmitry Baryshkov	skin-therm@4d {
512681db16aSDmitry Baryshkov		reg = <ADC5_AMUX_THM1_100K_PU>;
513681db16aSDmitry Baryshkov		qcom,ratiometric;
514681db16aSDmitry Baryshkov		qcom,hw-settle-time = <200>;
515681db16aSDmitry Baryshkov	};
516681db16aSDmitry Baryshkov
517681db16aSDmitry Baryshkov	pa-therm1@4e {
518681db16aSDmitry Baryshkov		reg = <ADC5_AMUX_THM2_100K_PU>;
519681db16aSDmitry Baryshkov		qcom,ratiometric;
520681db16aSDmitry Baryshkov		qcom,hw-settle-time = <200>;
521681db16aSDmitry Baryshkov	};
522681db16aSDmitry Baryshkov};
523681db16aSDmitry Baryshkov
524681db16aSDmitry Baryshkov&pm8150_adc_tm {
525681db16aSDmitry Baryshkov	status = "okay";
526681db16aSDmitry Baryshkov
527681db16aSDmitry Baryshkov	xo-therm@0 {
528681db16aSDmitry Baryshkov		reg = <0>;
529681db16aSDmitry Baryshkov		io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>;
530681db16aSDmitry Baryshkov		qcom,ratiometric;
531681db16aSDmitry Baryshkov		qcom,hw-settle-time-us = <200>;
532681db16aSDmitry Baryshkov	};
533681db16aSDmitry Baryshkov
534681db16aSDmitry Baryshkov	skin-therm@1 {
535681db16aSDmitry Baryshkov		reg = <1>;
536681db16aSDmitry Baryshkov		io-channels = <&pm8150_adc ADC5_AMUX_THM1_100K_PU>;
537681db16aSDmitry Baryshkov		qcom,ratiometric;
538681db16aSDmitry Baryshkov		qcom,hw-settle-time-us = <200>;
539681db16aSDmitry Baryshkov	};
540681db16aSDmitry Baryshkov
541681db16aSDmitry Baryshkov	pa-therm1@2 {
542681db16aSDmitry Baryshkov		reg = <2>;
543681db16aSDmitry Baryshkov		io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>;
544681db16aSDmitry Baryshkov		qcom,ratiometric;
545681db16aSDmitry Baryshkov		qcom,hw-settle-time-us = <200>;
546681db16aSDmitry Baryshkov	};
547681db16aSDmitry Baryshkov};
548681db16aSDmitry Baryshkov
549681db16aSDmitry Baryshkov&pm8150b_adc {
550681db16aSDmitry Baryshkov	conn-therm@4f {
551681db16aSDmitry Baryshkov		reg = <ADC5_AMUX_THM3_100K_PU>;
552681db16aSDmitry Baryshkov		qcom,ratiometric;
553681db16aSDmitry Baryshkov		qcom,hw-settle-time = <200>;
554681db16aSDmitry Baryshkov	};
555681db16aSDmitry Baryshkov};
556681db16aSDmitry Baryshkov
557681db16aSDmitry Baryshkov&pm8150b_adc_tm {
558681db16aSDmitry Baryshkov	status = "okay";
559681db16aSDmitry Baryshkov
560681db16aSDmitry Baryshkov	conn-therm@0 {
561681db16aSDmitry Baryshkov		reg = <0>;
562681db16aSDmitry Baryshkov		io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>;
563681db16aSDmitry Baryshkov		qcom,ratiometric;
564681db16aSDmitry Baryshkov		qcom,hw-settle-time-us = <200>;
565681db16aSDmitry Baryshkov	};
566681db16aSDmitry Baryshkov};
567681db16aSDmitry Baryshkov
568681db16aSDmitry Baryshkov&pm8150l_adc_tm {
569681db16aSDmitry Baryshkov	status = "okay";
570681db16aSDmitry Baryshkov
571681db16aSDmitry Baryshkov	camera-flash-therm@0 {
572681db16aSDmitry Baryshkov		reg = <0>;
573681db16aSDmitry Baryshkov		io-channels = <&pm8150l_adc ADC5_AMUX_THM1_100K_PU>;
574681db16aSDmitry Baryshkov		qcom,ratiometric;
575681db16aSDmitry Baryshkov		qcom,hw-settle-time-us = <200>;
576681db16aSDmitry Baryshkov	};
577681db16aSDmitry Baryshkov
578681db16aSDmitry Baryshkov	skin-msm-therm@1 {
579681db16aSDmitry Baryshkov		reg = <1>;
580681db16aSDmitry Baryshkov		io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>;
581681db16aSDmitry Baryshkov		qcom,ratiometric;
582681db16aSDmitry Baryshkov		qcom,hw-settle-time-us = <200>;
583681db16aSDmitry Baryshkov	};
584681db16aSDmitry Baryshkov
585681db16aSDmitry Baryshkov	pa-therm2@2 {
586681db16aSDmitry Baryshkov		reg = <2>;
587681db16aSDmitry Baryshkov		io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>;
588681db16aSDmitry Baryshkov		qcom,ratiometric;
589681db16aSDmitry Baryshkov		qcom,hw-settle-time-us = <200>;
590681db16aSDmitry Baryshkov	};
591681db16aSDmitry Baryshkov};
592681db16aSDmitry Baryshkov
593681db16aSDmitry Baryshkov&pm8150l_adc {
594681db16aSDmitry Baryshkov	camera-flash-therm@4d {
595681db16aSDmitry Baryshkov		reg = <ADC5_AMUX_THM1_100K_PU>;
596681db16aSDmitry Baryshkov		qcom,ratiometric;
597681db16aSDmitry Baryshkov		qcom,hw-settle-time = <200>;
598681db16aSDmitry Baryshkov	};
599681db16aSDmitry Baryshkov
600681db16aSDmitry Baryshkov	skin-msm-therm@4e {
601681db16aSDmitry Baryshkov		reg = <ADC5_AMUX_THM2_100K_PU>;
602681db16aSDmitry Baryshkov		qcom,ratiometric;
603681db16aSDmitry Baryshkov		qcom,hw-settle-time = <200>;
604681db16aSDmitry Baryshkov	};
605681db16aSDmitry Baryshkov
606681db16aSDmitry Baryshkov	pa-therm2@4f {
607681db16aSDmitry Baryshkov		reg = <ADC5_AMUX_THM3_100K_PU>;
608681db16aSDmitry Baryshkov		qcom,ratiometric;
609681db16aSDmitry Baryshkov		qcom,hw-settle-time = <200>;
610681db16aSDmitry Baryshkov	};
611681db16aSDmitry Baryshkov};
612681db16aSDmitry Baryshkov
613c0011172SDmitry Baryshkov&qupv3_id_0 {
614c0011172SDmitry Baryshkov	status = "okay";
615c0011172SDmitry Baryshkov};
616c0011172SDmitry Baryshkov
61760378f1aSVenkata Narendra Kumar Gutta&qupv3_id_1 {
61860378f1aSVenkata Narendra Kumar Gutta	status = "okay";
61960378f1aSVenkata Narendra Kumar Gutta};
62060378f1aSVenkata Narendra Kumar Gutta
621c0011172SDmitry Baryshkov&qupv3_id_2 {
622c0011172SDmitry Baryshkov	status = "okay";
623c0011172SDmitry Baryshkov};
624c0011172SDmitry Baryshkov
62523a89037SBjorn Andersson&slpi {
62623a89037SBjorn Andersson	status = "okay";
62723a89037SBjorn Andersson	firmware-name = "qcom/sm8250/slpi.mbn";
62823a89037SBjorn Andersson};
62923a89037SBjorn Andersson
630*5a263cf6SSrinivas Kandagatla&soc {
631*5a263cf6SSrinivas Kandagatla	wcd938x: codec {
632*5a263cf6SSrinivas Kandagatla		compatible = "qcom,wcd9380-codec";
633*5a263cf6SSrinivas Kandagatla		#sound-dai-cells = <1>;
634*5a263cf6SSrinivas Kandagatla		reset-gpios = <&tlmm 32 0>;
635*5a263cf6SSrinivas Kandagatla		vdd-buck-supply = <&vreg_s4a_1p8>;
636*5a263cf6SSrinivas Kandagatla		vdd-rxtx-supply = <&vreg_s4a_1p8>;
637*5a263cf6SSrinivas Kandagatla		vdd-io-supply = <&vreg_s4a_1p8>;
638*5a263cf6SSrinivas Kandagatla		vdd-mic-bias-supply = <&vreg_bob>;
639*5a263cf6SSrinivas Kandagatla		qcom,micbias1-microvolt = <1800000>;
640*5a263cf6SSrinivas Kandagatla		qcom,micbias2-microvolt = <1800000>;
641*5a263cf6SSrinivas Kandagatla		qcom,micbias3-microvolt = <1800000>;
642*5a263cf6SSrinivas Kandagatla		qcom,micbias4-microvolt = <1800000>;
643*5a263cf6SSrinivas Kandagatla		qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
644*5a263cf6SSrinivas Kandagatla		qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
645*5a263cf6SSrinivas Kandagatla		qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
646*5a263cf6SSrinivas Kandagatla		qcom,rx-device = <&wcd_rx>;
647*5a263cf6SSrinivas Kandagatla		qcom,tx-device = <&wcd_tx>;
648*5a263cf6SSrinivas Kandagatla	};
649*5a263cf6SSrinivas Kandagatla};
650*5a263cf6SSrinivas Kandagatla
651*5a263cf6SSrinivas Kandagatla&swr1 {
652*5a263cf6SSrinivas Kandagatla	wcd_rx: wcd9380-rx@0,4 {
653*5a263cf6SSrinivas Kandagatla		compatible = "sdw20217010d00";
654*5a263cf6SSrinivas Kandagatla		reg = <0 4>;
655*5a263cf6SSrinivas Kandagatla		qcom,rx-port-mapping = <1 2 3 4 5>;
656*5a263cf6SSrinivas Kandagatla	};
657*5a263cf6SSrinivas Kandagatla};
658*5a263cf6SSrinivas Kandagatla
659*5a263cf6SSrinivas Kandagatla&swr2 {
660*5a263cf6SSrinivas Kandagatla	wcd_tx: wcd9380-tx@0,3 {
661*5a263cf6SSrinivas Kandagatla		compatible = "sdw20217010d00";
662*5a263cf6SSrinivas Kandagatla		reg = <0 3>;
663*5a263cf6SSrinivas Kandagatla		qcom,tx-port-mapping = <2 3 4 5>;
664*5a263cf6SSrinivas Kandagatla	};
665*5a263cf6SSrinivas Kandagatla};
666*5a263cf6SSrinivas Kandagatla
66716951b49SBjorn Andersson&tlmm {
66816951b49SBjorn Andersson	gpio-reserved-ranges = <28 4>, <40 4>;
669*5a263cf6SSrinivas Kandagatla
670*5a263cf6SSrinivas Kandagatla	wcd938x_reset_default: wcd938x_reset_default {
671*5a263cf6SSrinivas Kandagatla		mux {
672*5a263cf6SSrinivas Kandagatla			pins = "gpio32";
673*5a263cf6SSrinivas Kandagatla			function = "gpio";
674*5a263cf6SSrinivas Kandagatla		};
675*5a263cf6SSrinivas Kandagatla
676*5a263cf6SSrinivas Kandagatla		config {
677*5a263cf6SSrinivas Kandagatla			pins = "gpio32";
678*5a263cf6SSrinivas Kandagatla			drive-strength = <16>;
679*5a263cf6SSrinivas Kandagatla			output-high;
680*5a263cf6SSrinivas Kandagatla		};
681*5a263cf6SSrinivas Kandagatla	};
682*5a263cf6SSrinivas Kandagatla
683*5a263cf6SSrinivas Kandagatla	wcd938x_reset_sleep: wcd938x_reset_sleep {
684*5a263cf6SSrinivas Kandagatla		mux {
685*5a263cf6SSrinivas Kandagatla			pins = "gpio32";
686*5a263cf6SSrinivas Kandagatla			function = "gpio";
687*5a263cf6SSrinivas Kandagatla		};
688*5a263cf6SSrinivas Kandagatla
689*5a263cf6SSrinivas Kandagatla		config {
690*5a263cf6SSrinivas Kandagatla			pins = "gpio32";
691*5a263cf6SSrinivas Kandagatla			drive-strength = <16>;
692*5a263cf6SSrinivas Kandagatla			bias-disable;
693*5a263cf6SSrinivas Kandagatla			output-low;
694*5a263cf6SSrinivas Kandagatla		};
695*5a263cf6SSrinivas Kandagatla	};
69616951b49SBjorn Andersson};
69716951b49SBjorn Andersson
698bb1dfb4dSManivannan Sadhasivam&uart12 {
69960378f1aSVenkata Narendra Kumar Gutta	status = "okay";
70060378f1aSVenkata Narendra Kumar Gutta};
701b7e2fba0SBryan O'Donoghue
702b7e2fba0SBryan O'Donoghue&ufs_mem_hc {
703b7e2fba0SBryan O'Donoghue	status = "okay";
704b7e2fba0SBryan O'Donoghue
705b7e2fba0SBryan O'Donoghue	vcc-supply = <&vreg_l17a_3p0>;
706b7e2fba0SBryan O'Donoghue	vcc-max-microamp = <750000>;
707b7e2fba0SBryan O'Donoghue	vccq-supply = <&vreg_l6a_1p2>;
708b7e2fba0SBryan O'Donoghue	vccq-max-microamp = <700000>;
709b7e2fba0SBryan O'Donoghue	vccq2-supply = <&vreg_s4a_1p8>;
710b7e2fba0SBryan O'Donoghue	vccq2-max-microamp = <750000>;
711b7e2fba0SBryan O'Donoghue};
712b7e2fba0SBryan O'Donoghue
713b7e2fba0SBryan O'Donoghue&ufs_mem_phy {
714b7e2fba0SBryan O'Donoghue	status = "okay";
715b7e2fba0SBryan O'Donoghue
716b7e2fba0SBryan O'Donoghue	vdda-phy-supply = <&vreg_l5a_0p875>;
717b7e2fba0SBryan O'Donoghue	vdda-pll-supply = <&vreg_l9a_1p2>;
718b7e2fba0SBryan O'Donoghue};
719221f0ef3SDmitry Baryshkov
720221f0ef3SDmitry Baryshkov&usb_1 {
721221f0ef3SDmitry Baryshkov	status = "okay";
722221f0ef3SDmitry Baryshkov};
723221f0ef3SDmitry Baryshkov
724221f0ef3SDmitry Baryshkov&usb_1_dwc3 {
725221f0ef3SDmitry Baryshkov	dr_mode = "host";
726221f0ef3SDmitry Baryshkov};
727221f0ef3SDmitry Baryshkov
728221f0ef3SDmitry Baryshkov&usb_1_hsphy {
729221f0ef3SDmitry Baryshkov	status = "okay";
730221f0ef3SDmitry Baryshkov
731221f0ef3SDmitry Baryshkov	vdda-pll-supply = <&vreg_l5a_0p875>;
732221f0ef3SDmitry Baryshkov	vdda18-supply = <&vreg_l12a_1p8>;
733221f0ef3SDmitry Baryshkov	vdda33-supply = <&vreg_l2a_3p1>;
734221f0ef3SDmitry Baryshkov};
735221f0ef3SDmitry Baryshkov
736221f0ef3SDmitry Baryshkov&usb_1_qmpphy {
737221f0ef3SDmitry Baryshkov	status = "okay";
738221f0ef3SDmitry Baryshkov
739221f0ef3SDmitry Baryshkov	vdda-phy-supply = <&vreg_l9a_1p2>;
740221f0ef3SDmitry Baryshkov	vdda-pll-supply = <&vreg_l18a_0p9>;
741221f0ef3SDmitry Baryshkov};
742221f0ef3SDmitry Baryshkov
743221f0ef3SDmitry Baryshkov&usb_2 {
744221f0ef3SDmitry Baryshkov	status = "okay";
745221f0ef3SDmitry Baryshkov};
746221f0ef3SDmitry Baryshkov
747221f0ef3SDmitry Baryshkov&usb_2_dwc3 {
748221f0ef3SDmitry Baryshkov	dr_mode = "host";
749221f0ef3SDmitry Baryshkov};
750221f0ef3SDmitry Baryshkov
751221f0ef3SDmitry Baryshkov&usb_2_hsphy {
752221f0ef3SDmitry Baryshkov	status = "okay";
753221f0ef3SDmitry Baryshkov
754221f0ef3SDmitry Baryshkov	vdda-pll-supply = <&vreg_l5a_0p875>;
755221f0ef3SDmitry Baryshkov	vdda18-supply = <&vreg_l12a_1p8>;
756221f0ef3SDmitry Baryshkov	vdda33-supply = <&vreg_l2a_3p1>;
757221f0ef3SDmitry Baryshkov};
758221f0ef3SDmitry Baryshkov
759221f0ef3SDmitry Baryshkov&usb_2_qmpphy {
760221f0ef3SDmitry Baryshkov	status = "okay";
761221f0ef3SDmitry Baryshkov
762221f0ef3SDmitry Baryshkov	vdda-phy-supply = <&vreg_l9a_1p2>;
763221f0ef3SDmitry Baryshkov	vdda-pll-supply = <&vreg_l18a_0p9>;
764221f0ef3SDmitry Baryshkov};
765ece28cb5SKonrad Dybcio
766ece28cb5SKonrad Dybcio&venus {
767ece28cb5SKonrad Dybcio	status = "okay";
768ece28cb5SKonrad Dybcio};
769