1116f7cc4SDouglas Anderson// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2116f7cc4SDouglas Anderson/*
3116f7cc4SDouglas Anderson * sc7280 Qcard device tree source
4116f7cc4SDouglas Anderson *
5116f7cc4SDouglas Anderson * Qcard PCB has the processor, RAM, eMMC (if stuffed), and eDP connector (if
6116f7cc4SDouglas Anderson * stuffed) on it. This device tree tries to encapsulate all the things that
7116f7cc4SDouglas Anderson * all boards using Qcard will have in common. Given that there are stuffing
8116f7cc4SDouglas Anderson * options, some things may be left with status "disabled" and enabled in
9116f7cc4SDouglas Anderson * the actual board device tree files.
10116f7cc4SDouglas Anderson *
11116f7cc4SDouglas Anderson * Copyright 2022 Google LLC.
12116f7cc4SDouglas Anderson */
13116f7cc4SDouglas Anderson
14116f7cc4SDouglas Anderson#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
15116f7cc4SDouglas Anderson#include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h>
16116f7cc4SDouglas Anderson#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
17116f7cc4SDouglas Anderson#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
18116f7cc4SDouglas Anderson
19116f7cc4SDouglas Anderson#include "sc7280.dtsi"
20116f7cc4SDouglas Anderson
21116f7cc4SDouglas Anderson/* PMICs depend on spmi_bus label and so must come after SoC */
22116f7cc4SDouglas Anderson#include "pm7325.dtsi"
23116f7cc4SDouglas Anderson#include "pm8350c.dtsi"
24116f7cc4SDouglas Anderson#include "pmk8350.dtsi"
25116f7cc4SDouglas Anderson
26116f7cc4SDouglas Anderson/ {
27116f7cc4SDouglas Anderson	aliases {
28116f7cc4SDouglas Anderson		bluetooth0 = &bluetooth;
29116f7cc4SDouglas Anderson		serial0 = &uart5;
30116f7cc4SDouglas Anderson		serial1 = &uart7;
31cab29d32SMatthias Kaehlcke		wifi0 = &wifi;
32116f7cc4SDouglas Anderson	};
33366a0a19SDouglas Anderson
340a3a56a9SSrinivasa Rao Mandadapu	wcd9385: audio-codec-1 {
350a3a56a9SSrinivasa Rao Mandadapu		compatible = "qcom,wcd9385-codec";
360a3a56a9SSrinivasa Rao Mandadapu		pinctrl-names = "default", "sleep";
370a3a56a9SSrinivasa Rao Mandadapu		pinctrl-0 = <&wcd_reset_n>, <&us_euro_hs_sel>;
380a3a56a9SSrinivasa Rao Mandadapu		pinctrl-1 = <&wcd_reset_n_sleep>, <&us_euro_hs_sel>;
390a3a56a9SSrinivasa Rao Mandadapu
401caf6610SDmitry Torokhov		reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>;
410a3a56a9SSrinivasa Rao Mandadapu		us-euro-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
420a3a56a9SSrinivasa Rao Mandadapu
430a3a56a9SSrinivasa Rao Mandadapu		qcom,rx-device = <&wcd_rx>;
440a3a56a9SSrinivasa Rao Mandadapu		qcom,tx-device = <&wcd_tx>;
450a3a56a9SSrinivasa Rao Mandadapu
460a3a56a9SSrinivasa Rao Mandadapu		vdd-rxtx-supply = <&vreg_l18b_1p8>;
470a3a56a9SSrinivasa Rao Mandadapu		vdd-io-supply = <&vreg_l18b_1p8>;
480a3a56a9SSrinivasa Rao Mandadapu		vdd-buck-supply = <&vreg_l17b_1p8>;
490a3a56a9SSrinivasa Rao Mandadapu		vdd-mic-bias-supply = <&vreg_bob>;
500a3a56a9SSrinivasa Rao Mandadapu
510a3a56a9SSrinivasa Rao Mandadapu		qcom,micbias1-microvolt = <1800000>;
520a3a56a9SSrinivasa Rao Mandadapu		qcom,micbias2-microvolt = <1800000>;
530a3a56a9SSrinivasa Rao Mandadapu		qcom,micbias3-microvolt = <1800000>;
540a3a56a9SSrinivasa Rao Mandadapu		qcom,micbias4-microvolt = <1800000>;
550a3a56a9SSrinivasa Rao Mandadapu
560a3a56a9SSrinivasa Rao Mandadapu		qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000
570a3a56a9SSrinivasa Rao Mandadapu							  500000 500000 500000>;
580a3a56a9SSrinivasa Rao Mandadapu		qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
590a3a56a9SSrinivasa Rao Mandadapu		qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
600a3a56a9SSrinivasa Rao Mandadapu		#sound-dai-cells = <1>;
610a3a56a9SSrinivasa Rao Mandadapu
620a3a56a9SSrinivasa Rao Mandadapu		status = "disabled";
630a3a56a9SSrinivasa Rao Mandadapu	};
640a3a56a9SSrinivasa Rao Mandadapu
65366a0a19SDouglas Anderson	pm8350c_pwm_backlight: backlight {
66366a0a19SDouglas Anderson		compatible = "pwm-backlight";
67366a0a19SDouglas Anderson		status = "disabled";
68366a0a19SDouglas Anderson
69366a0a19SDouglas Anderson		enable-gpios = <&pm8350c_gpios 7 GPIO_ACTIVE_HIGH>;
70366a0a19SDouglas Anderson		pinctrl-names = "default";
71366a0a19SDouglas Anderson		pinctrl-0 = <&pmic_edp_bl_en>;
72366a0a19SDouglas Anderson		pwms = <&pm8350c_pwm 3 65535>;
73366a0a19SDouglas Anderson	};
74116f7cc4SDouglas Anderson};
75116f7cc4SDouglas Anderson
76116f7cc4SDouglas Anderson&apps_rsc {
77116f7cc4SDouglas Anderson	/*
78116f7cc4SDouglas Anderson	 * Regulators are given labels corresponding to the various names
79116f7cc4SDouglas Anderson	 * they are referred to on schematics. They are also given labels
80116f7cc4SDouglas Anderson	 * corresponding to named voltage inputs on the SoC or components
81116f7cc4SDouglas Anderson	 * bundled with the SoC (like radio companion chips). We totally
82116f7cc4SDouglas Anderson	 * ignore it when one regulator is the input to another regulator.
83116f7cc4SDouglas Anderson	 * That's handled automatically by the initial config given to
84116f7cc4SDouglas Anderson	 * RPMH by the firmware.
85116f7cc4SDouglas Anderson	 *
86116f7cc4SDouglas Anderson	 * Regulators that the HLOS (High Level OS) doesn't touch at all
87116f7cc4SDouglas Anderson	 * are left out of here since they are managed elsewhere.
88116f7cc4SDouglas Anderson	 */
89116f7cc4SDouglas Anderson
90a93af467SKrzysztof Kozlowski	regulators-0 {
91116f7cc4SDouglas Anderson		compatible = "qcom,pm7325-rpmh-regulators";
92116f7cc4SDouglas Anderson		qcom,pmic-id = "b";
93116f7cc4SDouglas Anderson
94116f7cc4SDouglas Anderson		vdd19_pmu_pcie_i:
95116f7cc4SDouglas Anderson		vdd19_pmu_rfa_i:
96116f7cc4SDouglas Anderson		vreg_s1b_1p856: smps1 {
97116f7cc4SDouglas Anderson			regulator-min-microvolt = <1856000>;
98116f7cc4SDouglas Anderson			regulator-max-microvolt = <2040000>;
99116f7cc4SDouglas Anderson		};
100116f7cc4SDouglas Anderson
101116f7cc4SDouglas Anderson		vdd_pmu_aon_i:
102116f7cc4SDouglas Anderson		vdd09_pmu_rfa_i:
103116f7cc4SDouglas Anderson		vdd095_mx_pmu:
104116f7cc4SDouglas Anderson		vdd095_pmu:
105116f7cc4SDouglas Anderson		vreg_s7b_0p952: smps7 {
106116f7cc4SDouglas Anderson			regulator-min-microvolt = <535000>;
107116f7cc4SDouglas Anderson			regulator-max-microvolt = <1120000>;
108116f7cc4SDouglas Anderson		};
109116f7cc4SDouglas Anderson
110116f7cc4SDouglas Anderson		vdd13_pmu_rfa_i:
111116f7cc4SDouglas Anderson		vdd13_pmu_pcie_i:
112116f7cc4SDouglas Anderson		vreg_s8b_1p256: smps8 {
113116f7cc4SDouglas Anderson			regulator-min-microvolt = <1256000>;
114116f7cc4SDouglas Anderson			regulator-max-microvolt = <1500000>;
115116f7cc4SDouglas Anderson		};
116116f7cc4SDouglas Anderson
117116f7cc4SDouglas Anderson		vdd_a_usbssdp_0_core:
118116f7cc4SDouglas Anderson		vreg_l1b_0p912: ldo1 {
119116f7cc4SDouglas Anderson			regulator-min-microvolt = <825000>;
120116f7cc4SDouglas Anderson			regulator-max-microvolt = <925000>;
121116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
122116f7cc4SDouglas Anderson		};
123116f7cc4SDouglas Anderson
124116f7cc4SDouglas Anderson		vdd_a_usbhs_3p1:
125116f7cc4SDouglas Anderson		vreg_l2b_3p072: ldo2 {
126116f7cc4SDouglas Anderson			regulator-min-microvolt = <2700000>;
127116f7cc4SDouglas Anderson			regulator-max-microvolt = <3544000>;
128116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
129116f7cc4SDouglas Anderson		};
130116f7cc4SDouglas Anderson
131116f7cc4SDouglas Anderson		vdd_a_csi_0_1_1p2:
132116f7cc4SDouglas Anderson		vdd_a_csi_2_3_1p2:
133116f7cc4SDouglas Anderson		vdd_a_csi_4_1p2:
134116f7cc4SDouglas Anderson		vdd_a_dsi_0_1p2:
135116f7cc4SDouglas Anderson		vdd_a_edp_0_1p2:
136116f7cc4SDouglas Anderson		vdd_a_qlink_0_1p2:
137116f7cc4SDouglas Anderson		vdd_a_qlink_1_1p2:
138116f7cc4SDouglas Anderson		vdd_a_pcie_0_1p2:
139116f7cc4SDouglas Anderson		vdd_a_pcie_1_1p2:
140116f7cc4SDouglas Anderson		vdd_a_ufs_0_1p2:
141116f7cc4SDouglas Anderson		vdd_a_usbssdp_0_1p2:
142116f7cc4SDouglas Anderson		vreg_l6b_1p2: ldo6 {
143116f7cc4SDouglas Anderson			regulator-min-microvolt = <1140000>;
144116f7cc4SDouglas Anderson			regulator-max-microvolt = <1260000>;
145116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
146116f7cc4SDouglas Anderson		};
147116f7cc4SDouglas Anderson
148116f7cc4SDouglas Anderson		/*
149116f7cc4SDouglas Anderson		 * Despite the fact that this is named to be 2.5V on the
150116f7cc4SDouglas Anderson		 * schematic, it powers eMMC which doesn't accept 2.5V
151116f7cc4SDouglas Anderson		 */
152116f7cc4SDouglas Anderson		vreg_l7b_2p5: ldo7 {
153116f7cc4SDouglas Anderson			regulator-min-microvolt = <2960000>;
154116f7cc4SDouglas Anderson			regulator-max-microvolt = <2960000>;
155116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
156116f7cc4SDouglas Anderson		};
157116f7cc4SDouglas Anderson
158a57de71fSSrinivasa Rao Mandadapu		vreg_l17b_1p8: ldo17 {
159a57de71fSSrinivasa Rao Mandadapu			regulator-min-microvolt = <1700000>;
160a57de71fSSrinivasa Rao Mandadapu			regulator-max-microvolt = <1900000>;
161a57de71fSSrinivasa Rao Mandadapu			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
162a57de71fSSrinivasa Rao Mandadapu		};
163a57de71fSSrinivasa Rao Mandadapu
164116f7cc4SDouglas Anderson		vdd_px_wcd9385:
165116f7cc4SDouglas Anderson		vdd_txrx:
166116f7cc4SDouglas Anderson		vddpx_0:
167116f7cc4SDouglas Anderson		vddpx_3:
168116f7cc4SDouglas Anderson		vddpx_7:
169116f7cc4SDouglas Anderson		vreg_l18b_1p8: ldo18 {
170116f7cc4SDouglas Anderson			regulator-min-microvolt = <1800000>;
171116f7cc4SDouglas Anderson			regulator-max-microvolt = <2000000>;
172116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
173116f7cc4SDouglas Anderson		};
174116f7cc4SDouglas Anderson
175116f7cc4SDouglas Anderson		vdd_1p8:
176116f7cc4SDouglas Anderson		vdd_px_sdr735:
177116f7cc4SDouglas Anderson		vdd_pxm:
178116f7cc4SDouglas Anderson		vdd18_io:
179116f7cc4SDouglas Anderson		vddio_px_1:
180116f7cc4SDouglas Anderson		vddio_px_2:
181116f7cc4SDouglas Anderson		vddio_px_3:
182116f7cc4SDouglas Anderson		vddpx_ts:
183116f7cc4SDouglas Anderson		vddpx_wl4otp:
184116f7cc4SDouglas Anderson		vreg_l19b_1p8: ldo19 {
185116f7cc4SDouglas Anderson			regulator-min-microvolt = <1800000>;
186116f7cc4SDouglas Anderson			regulator-max-microvolt = <1800000>;
187116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
188116f7cc4SDouglas Anderson		};
189116f7cc4SDouglas Anderson	};
190116f7cc4SDouglas Anderson
191a93af467SKrzysztof Kozlowski	regulators-1 {
192116f7cc4SDouglas Anderson		compatible = "qcom,pm8350c-rpmh-regulators";
193116f7cc4SDouglas Anderson		qcom,pmic-id = "c";
194116f7cc4SDouglas Anderson
195116f7cc4SDouglas Anderson		vdd22_wlbtpa_ch0:
196116f7cc4SDouglas Anderson		vdd22_wlbtpa_ch1:
197116f7cc4SDouglas Anderson		vdd22_wlbtppa_ch0:
198116f7cc4SDouglas Anderson		vdd22_wlbtppa_ch1:
199116f7cc4SDouglas Anderson		vdd22_wlpa5g_ch0:
200116f7cc4SDouglas Anderson		vdd22_wlpa5g_ch1:
201116f7cc4SDouglas Anderson		vdd22_wlppa5g_ch0:
202116f7cc4SDouglas Anderson		vdd22_wlppa5g_ch1:
203116f7cc4SDouglas Anderson		vreg_s1c_2p2: smps1 {
204116f7cc4SDouglas Anderson			regulator-min-microvolt = <2190000>;
205116f7cc4SDouglas Anderson			regulator-max-microvolt = <2210000>;
206116f7cc4SDouglas Anderson		};
207116f7cc4SDouglas Anderson
208116f7cc4SDouglas Anderson		lp4_vdd2_1p052:
209116f7cc4SDouglas Anderson		vreg_s9c_0p676: smps9 {
210116f7cc4SDouglas Anderson			regulator-min-microvolt = <1010000>;
211116f7cc4SDouglas Anderson			regulator-max-microvolt = <1170000>;
212116f7cc4SDouglas Anderson		};
213116f7cc4SDouglas Anderson
214116f7cc4SDouglas Anderson		vdda_apc_cs_1p8:
215116f7cc4SDouglas Anderson		vdda_gfx_cs_1p8:
216116f7cc4SDouglas Anderson		vdda_turing_q6_cs_1p8:
217116f7cc4SDouglas Anderson		vdd_a_cxo_1p8:
218116f7cc4SDouglas Anderson		vdd_a_qrefs_1p8:
219116f7cc4SDouglas Anderson		vdd_a_usbhs_1p8:
220116f7cc4SDouglas Anderson		vdd_qfprom:
221116f7cc4SDouglas Anderson		vreg_l1c_1p8: ldo1 {
222116f7cc4SDouglas Anderson			regulator-min-microvolt = <1800000>;
223116f7cc4SDouglas Anderson			regulator-max-microvolt = <1980000>;
224116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
225116f7cc4SDouglas Anderson		};
226116f7cc4SDouglas Anderson
227116f7cc4SDouglas Anderson		vreg_l2c_1p8: ldo2 {
228116f7cc4SDouglas Anderson			regulator-min-microvolt = <1620000>;
229116f7cc4SDouglas Anderson			regulator-max-microvolt = <1980000>;
230116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
231116f7cc4SDouglas Anderson		};
232116f7cc4SDouglas Anderson
233428df177SDouglas Anderson		/*
234428df177SDouglas Anderson		 * The initial design of this regulator was to use it as 3.3V,
235428df177SDouglas Anderson		 * but due to later changes in design it was changed to 1.8V.
236428df177SDouglas Anderson		 * The original name is kept due to same schematic.
237428df177SDouglas Anderson		 */
238428df177SDouglas Anderson		ts_avccio:
239116f7cc4SDouglas Anderson		vreg_l3c_3p0: ldo3 {
240428df177SDouglas Anderson			regulator-min-microvolt = <1800000>;
241428df177SDouglas Anderson			regulator-max-microvolt = <1800000>;
242116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
243116f7cc4SDouglas Anderson		};
244116f7cc4SDouglas Anderson
245116f7cc4SDouglas Anderson		vddpx_5:
246116f7cc4SDouglas Anderson		vreg_l4c_1p8_3p0: ldo4 {
247116f7cc4SDouglas Anderson			regulator-min-microvolt = <1620000>;
248116f7cc4SDouglas Anderson			regulator-max-microvolt = <3300000>;
249116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250116f7cc4SDouglas Anderson		};
251116f7cc4SDouglas Anderson
252116f7cc4SDouglas Anderson		vddpx_6:
253116f7cc4SDouglas Anderson		vreg_l5c_1p8_3p0: ldo5 {
254116f7cc4SDouglas Anderson			regulator-min-microvolt = <1620000>;
255116f7cc4SDouglas Anderson			regulator-max-microvolt = <3300000>;
256116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
257116f7cc4SDouglas Anderson		};
258116f7cc4SDouglas Anderson
259116f7cc4SDouglas Anderson		vddpx_2:
260116f7cc4SDouglas Anderson		vreg_l6c_2p96: ldo6 {
261116f7cc4SDouglas Anderson			regulator-min-microvolt = <1800000>;
262116f7cc4SDouglas Anderson			regulator-max-microvolt = <2950000>;
263116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
264116f7cc4SDouglas Anderson		};
265116f7cc4SDouglas Anderson
266116f7cc4SDouglas Anderson		vreg_l7c_3p0: ldo7 {
267116f7cc4SDouglas Anderson			regulator-min-microvolt = <3000000>;
268116f7cc4SDouglas Anderson			regulator-max-microvolt = <3544000>;
269116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
270116f7cc4SDouglas Anderson		};
271116f7cc4SDouglas Anderson
272116f7cc4SDouglas Anderson		vreg_l8c_1p8: ldo8 {
273116f7cc4SDouglas Anderson			regulator-min-microvolt = <1620000>;
274116f7cc4SDouglas Anderson			regulator-max-microvolt = <2000000>;
275116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276116f7cc4SDouglas Anderson		};
277116f7cc4SDouglas Anderson
278116f7cc4SDouglas Anderson		vreg_l9c_2p96: ldo9 {
279116f7cc4SDouglas Anderson			regulator-min-microvolt = <2960000>;
280116f7cc4SDouglas Anderson			regulator-max-microvolt = <2960000>;
281116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282116f7cc4SDouglas Anderson		};
283116f7cc4SDouglas Anderson
284116f7cc4SDouglas Anderson		vdd_a_csi_0_1_0p9:
285116f7cc4SDouglas Anderson		vdd_a_csi_2_3_0p9:
286116f7cc4SDouglas Anderson		vdd_a_csi_4_0p9:
287116f7cc4SDouglas Anderson		vdd_a_dsi_0_0p9:
288116f7cc4SDouglas Anderson		vdd_a_dsi_0_pll_0p9:
289116f7cc4SDouglas Anderson		vdd_a_edp_0_0p9:
290116f7cc4SDouglas Anderson		vdd_a_gnss_0p9:
291116f7cc4SDouglas Anderson		vdd_a_pcie_0_core:
292116f7cc4SDouglas Anderson		vdd_a_pcie_1_core:
293116f7cc4SDouglas Anderson		vdd_a_qlink_0_0p9:
294116f7cc4SDouglas Anderson		vdd_a_qlink_0_0p9_ck:
295116f7cc4SDouglas Anderson		vdd_a_qlink_1_0p9:
296116f7cc4SDouglas Anderson		vdd_a_qlink_1_0p9_ck:
297116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_0:
298116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_1:
299116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_2:
300116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_3:
301116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_4_5:
302116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_6:
303116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_7:
304116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_8:
305116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_9:
306116f7cc4SDouglas Anderson		vdd_a_ufs_0_core:
307116f7cc4SDouglas Anderson		vdd_a_usbhs_core:
308116f7cc4SDouglas Anderson		vreg_l10c_0p88: ldo10 {
309116f7cc4SDouglas Anderson			regulator-min-microvolt = <720000>;
310116f7cc4SDouglas Anderson			regulator-max-microvolt = <1050000>;
311116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
312116f7cc4SDouglas Anderson		};
313116f7cc4SDouglas Anderson
314116f7cc4SDouglas Anderson		vreg_l11c_2p8: ldo11 {
315116f7cc4SDouglas Anderson			regulator-min-microvolt = <2800000>;
316116f7cc4SDouglas Anderson			regulator-max-microvolt = <3544000>;
317116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318116f7cc4SDouglas Anderson		};
319116f7cc4SDouglas Anderson
320116f7cc4SDouglas Anderson		vreg_l12c_1p8: ldo12 {
321116f7cc4SDouglas Anderson			regulator-min-microvolt = <1650000>;
322116f7cc4SDouglas Anderson			regulator-max-microvolt = <2000000>;
323116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
324116f7cc4SDouglas Anderson		};
325116f7cc4SDouglas Anderson
326116f7cc4SDouglas Anderson		vreg_l13c_3p0: ldo13 {
327116f7cc4SDouglas Anderson			regulator-min-microvolt = <2700000>;
328116f7cc4SDouglas Anderson			regulator-max-microvolt = <3544000>;
329116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
330116f7cc4SDouglas Anderson		};
331116f7cc4SDouglas Anderson
332116f7cc4SDouglas Anderson		vdd_flash:
333116f7cc4SDouglas Anderson		vdd_iris_rgb:
334116f7cc4SDouglas Anderson		vdd_mic_bias:
335116f7cc4SDouglas Anderson		vreg_bob: bob {
336116f7cc4SDouglas Anderson			regulator-min-microvolt = <3008000>;
337116f7cc4SDouglas Anderson			regulator-max-microvolt = <3960000>;
338116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
339116f7cc4SDouglas Anderson		};
340116f7cc4SDouglas Anderson	};
341116f7cc4SDouglas Anderson};
342116f7cc4SDouglas Anderson
343116f7cc4SDouglas Anderson/* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
344116f7cc4SDouglas Anderson
345d5a959f9SSrinivasa Rao Mandadapu&lpass_va_macro {
346d5a959f9SSrinivasa Rao Mandadapu	vdd-micb-supply = <&vreg_bob>;
347d5a959f9SSrinivasa Rao Mandadapu};
348d5a959f9SSrinivasa Rao Mandadapu
349366a0a19SDouglas Anderson/* NOTE: Not all Qcards have eDP connector stuffed */
350366a0a19SDouglas Anderson&mdss_edp {
351366a0a19SDouglas Anderson	aux-bus {
352366a0a19SDouglas Anderson		edp_panel: panel {
353366a0a19SDouglas Anderson			compatible = "edp-panel";
354366a0a19SDouglas Anderson
355366a0a19SDouglas Anderson			backlight = <&pm8350c_pwm_backlight>;
356366a0a19SDouglas Anderson
357ff5508b9SKrzysztof Kozlowski			port {
358366a0a19SDouglas Anderson				edp_panel_in: endpoint {
359366a0a19SDouglas Anderson					remote-endpoint = <&mdss_edp_out>;
360366a0a19SDouglas Anderson				};
361366a0a19SDouglas Anderson			};
362366a0a19SDouglas Anderson		};
363366a0a19SDouglas Anderson	};
364366a0a19SDouglas Anderson};
365366a0a19SDouglas Anderson
366366a0a19SDouglas Anderson&mdss_edp_out {
367366a0a19SDouglas Anderson	remote-endpoint = <&edp_panel_in>;
368366a0a19SDouglas Anderson};
369366a0a19SDouglas Anderson
370366a0a19SDouglas Anderson&mdss_edp_phy {
371366a0a19SDouglas Anderson	vdda-pll-supply = <&vdd_a_edp_0_0p9>;
372366a0a19SDouglas Anderson	vdda-phy-supply = <&vdd_a_edp_0_1p2>;
373366a0a19SDouglas Anderson};
374366a0a19SDouglas Anderson
375116f7cc4SDouglas Anderson&pcie1_phy {
376116f7cc4SDouglas Anderson	vdda-phy-supply = <&vreg_l10c_0p88>;
377116f7cc4SDouglas Anderson	vdda-pll-supply = <&vreg_l6b_1p2>;
378116f7cc4SDouglas Anderson};
379116f7cc4SDouglas Anderson
380366a0a19SDouglas Anderson&pm8350c_pwm {
381366a0a19SDouglas Anderson	pinctrl-names = "default";
382366a0a19SDouglas Anderson	pinctrl-0 = <&pmic_edp_bl_pwm>;
383366a0a19SDouglas Anderson};
384366a0a19SDouglas Anderson
385116f7cc4SDouglas Anderson&pmk8350_vadc {
386*41c18552SMarijn Suijten	channel@3 {
387116f7cc4SDouglas Anderson		reg = <PMK8350_ADC7_DIE_TEMP>;
388116f7cc4SDouglas Anderson		label = "pmk8350_die_temp";
389116f7cc4SDouglas Anderson		qcom,pre-scaling = <1 1>;
390116f7cc4SDouglas Anderson	};
391116f7cc4SDouglas Anderson
392*41c18552SMarijn Suijten	channel@403 {
393116f7cc4SDouglas Anderson		reg = <PMR735A_ADC7_DIE_TEMP>;
394116f7cc4SDouglas Anderson		label = "pmr735a_die_temp";
395116f7cc4SDouglas Anderson		qcom,pre-scaling = <1 1>;
396116f7cc4SDouglas Anderson	};
397116f7cc4SDouglas Anderson};
398116f7cc4SDouglas Anderson
399116f7cc4SDouglas Anderson&qfprom {
400116f7cc4SDouglas Anderson	vcc-supply = <&vdd_qfprom>;
401116f7cc4SDouglas Anderson};
402116f7cc4SDouglas Anderson
403116f7cc4SDouglas Anderson/* For eMMC. NOTE: not all Qcards have eMMC stuffed */
404116f7cc4SDouglas Anderson&sdhc_1 {
405116f7cc4SDouglas Anderson	vmmc-supply = <&vreg_l7b_2p5>;
406116f7cc4SDouglas Anderson	vqmmc-supply = <&vreg_l19b_1p8>;
407116f7cc4SDouglas Anderson
408116f7cc4SDouglas Anderson	non-removable;
409116f7cc4SDouglas Anderson	no-sd;
410116f7cc4SDouglas Anderson	no-sdio;
411116f7cc4SDouglas Anderson};
412116f7cc4SDouglas Anderson
413d5a959f9SSrinivasa Rao Mandadapu&swr0 {
414d5a959f9SSrinivasa Rao Mandadapu	wcd_rx: codec@0,4 {
415d5a959f9SSrinivasa Rao Mandadapu		compatible = "sdw20217010d00";
416d5a959f9SSrinivasa Rao Mandadapu		reg = <0 4>;
417d5a959f9SSrinivasa Rao Mandadapu		qcom,rx-port-mapping = <1 2 3 4 5>;
418d5a959f9SSrinivasa Rao Mandadapu	};
419d5a959f9SSrinivasa Rao Mandadapu};
420d5a959f9SSrinivasa Rao Mandadapu
421d5a959f9SSrinivasa Rao Mandadapu&swr1 {
422d5a959f9SSrinivasa Rao Mandadapu	wcd_tx: codec@0,3 {
423d5a959f9SSrinivasa Rao Mandadapu		compatible = "sdw20217010d00";
424d5a959f9SSrinivasa Rao Mandadapu		reg = <0 3>;
425d5a959f9SSrinivasa Rao Mandadapu		qcom,tx-port-mapping = <1 2 3 4>;
426d5a959f9SSrinivasa Rao Mandadapu	};
427d5a959f9SSrinivasa Rao Mandadapu};
428d5a959f9SSrinivasa Rao Mandadapu
429116f7cc4SDouglas Andersonuart_dbg: &uart5 {
430116f7cc4SDouglas Anderson	compatible = "qcom,geni-debug-uart";
431116f7cc4SDouglas Anderson	status = "okay";
432116f7cc4SDouglas Anderson};
433116f7cc4SDouglas Anderson
434116f7cc4SDouglas Andersonmos_bt_uart: &uart7 {
435116f7cc4SDouglas Anderson	status = "okay";
436116f7cc4SDouglas Anderson
437116f7cc4SDouglas Anderson	/delete-property/ interrupts;
438116f7cc4SDouglas Anderson	interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
439116f7cc4SDouglas Anderson				<&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
440116f7cc4SDouglas Anderson	pinctrl-names = "default", "sleep";
441116f7cc4SDouglas Anderson	pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>, <&qup_uart7_sleep_tx>, <&qup_uart7_sleep_rx>;
442116f7cc4SDouglas Anderson
443116f7cc4SDouglas Anderson	bluetooth: bluetooth {
444116f7cc4SDouglas Anderson		compatible = "qcom,wcn6750-bt";
445116f7cc4SDouglas Anderson		pinctrl-names = "default";
446116f7cc4SDouglas Anderson		pinctrl-0 = <&mos_bt_en>;
447116f7cc4SDouglas Anderson		enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
448116f7cc4SDouglas Anderson		swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
449116f7cc4SDouglas Anderson		vddaon-supply = <&vreg_s7b_0p952>;
450116f7cc4SDouglas Anderson		vddbtcxmx-supply = <&vreg_s7b_0p952>;
451116f7cc4SDouglas Anderson		vddrfacmn-supply = <&vreg_s7b_0p952>;
452116f7cc4SDouglas Anderson		vddrfa0p8-supply = <&vreg_s7b_0p952>;
453116f7cc4SDouglas Anderson		vddrfa1p7-supply = <&vdd19_pmu_rfa_i>;
454116f7cc4SDouglas Anderson		vddrfa1p2-supply = <&vdd13_pmu_rfa_i>;
455116f7cc4SDouglas Anderson		vddrfa2p2-supply = <&vreg_s1c_2p2>;
456116f7cc4SDouglas Anderson		vddasd-supply = <&vreg_l11c_2p8>;
457116f7cc4SDouglas Anderson		vddio-supply = <&vreg_l18b_1p8>;
458116f7cc4SDouglas Anderson		max-speed = <3200000>;
459116f7cc4SDouglas Anderson	};
460116f7cc4SDouglas Anderson};
461116f7cc4SDouglas Anderson
462116f7cc4SDouglas Anderson&usb_1_hsphy {
463116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbhs_core>;
464116f7cc4SDouglas Anderson	vdda33-supply = <&vdd_a_usbhs_3p1>;
465116f7cc4SDouglas Anderson	vdda18-supply = <&vdd_a_usbhs_1p8>;
466116f7cc4SDouglas Anderson};
467116f7cc4SDouglas Anderson
468116f7cc4SDouglas Anderson&usb_1_qmpphy {
469116f7cc4SDouglas Anderson	vdda-phy-supply = <&vdd_a_usbssdp_0_1p2>;
470116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbssdp_0_core>;
471116f7cc4SDouglas Anderson};
472116f7cc4SDouglas Anderson
473116f7cc4SDouglas Anderson&usb_2_hsphy {
474116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbhs_core>;
475116f7cc4SDouglas Anderson	vdda33-supply = <&vdd_a_usbhs_3p1>;
476116f7cc4SDouglas Anderson	vdda18-supply = <&vdd_a_usbhs_1p8>;
477116f7cc4SDouglas Anderson};
478116f7cc4SDouglas Anderson
479116f7cc4SDouglas Anderson/*
480116f7cc4SDouglas Anderson * PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES
481116f7cc4SDouglas Anderson *
482116f7cc4SDouglas Anderson * NOTE: In general if pins leave the Qcard then the pinctrl goes in the
483116f7cc4SDouglas Anderson * baseboard or board device tree, not here.
484116f7cc4SDouglas Anderson */
485116f7cc4SDouglas Anderson
486366a0a19SDouglas Anderson/* No external pull for eDP HPD, so set the internal one. */
487366a0a19SDouglas Anderson&edp_hot_plug_det {
488366a0a19SDouglas Anderson	bias-pull-down;
489366a0a19SDouglas Anderson};
490366a0a19SDouglas Anderson
491116f7cc4SDouglas Anderson/*
492116f7cc4SDouglas Anderson * For ts_i2c
493116f7cc4SDouglas Anderson *
494116f7cc4SDouglas Anderson * Technically this i2c bus actually leaves the Qcard, but it leaves directly
495116f7cc4SDouglas Anderson * via the eDP connector (it doesn't hit the baseboard). The external pulls
496116f7cc4SDouglas Anderson * are on Qcard.
497116f7cc4SDouglas Anderson */
498116f7cc4SDouglas Anderson&qup_i2c13_data_clk {
499116f7cc4SDouglas Anderson	/* Has external pull */
500116f7cc4SDouglas Anderson	bias-disable;
501116f7cc4SDouglas Anderson	drive-strength = <2>;
502116f7cc4SDouglas Anderson};
503116f7cc4SDouglas Anderson
504116f7cc4SDouglas Anderson/* For mos_bt_uart */
505116f7cc4SDouglas Anderson&qup_uart7_cts {
5063d0e375bSVijaya Krishna Nivarthi	/*
5073d0e375bSVijaya Krishna Nivarthi	 * Configure a bias-bus-hold on CTS to lower power
5083d0e375bSVijaya Krishna Nivarthi	 * usage when Bluetooth is turned off. Bus hold will
5093d0e375bSVijaya Krishna Nivarthi	 * maintain a low power state regardless of whether
5103d0e375bSVijaya Krishna Nivarthi	 * the Bluetooth module drives the pin in either
5113d0e375bSVijaya Krishna Nivarthi	 * direction or leaves the pin fully unpowered.
5123d0e375bSVijaya Krishna Nivarthi	 */
5133d0e375bSVijaya Krishna Nivarthi	bias-bus-hold;
514116f7cc4SDouglas Anderson};
515116f7cc4SDouglas Anderson
516116f7cc4SDouglas Anderson/* For mos_bt_uart */
517116f7cc4SDouglas Anderson&qup_uart7_rts {
518116f7cc4SDouglas Anderson	/* We'll drive RTS, so no pull */
519116f7cc4SDouglas Anderson	bias-disable;
520116f7cc4SDouglas Anderson	drive-strength = <2>;
521116f7cc4SDouglas Anderson};
522116f7cc4SDouglas Anderson
523116f7cc4SDouglas Anderson/* For mos_bt_uart */
524116f7cc4SDouglas Anderson&qup_uart7_tx {
525116f7cc4SDouglas Anderson	/* We'll drive TX, so no pull */
526116f7cc4SDouglas Anderson	bias-disable;
527116f7cc4SDouglas Anderson	drive-strength = <2>;
528116f7cc4SDouglas Anderson};
529116f7cc4SDouglas Anderson
530116f7cc4SDouglas Anderson/* For mos_bt_uart */
531116f7cc4SDouglas Anderson&qup_uart7_rx {
532116f7cc4SDouglas Anderson	/*
533116f7cc4SDouglas Anderson	 * Configure a pull-up on RX. This is needed to avoid
534116f7cc4SDouglas Anderson	 * garbage data when the TX pin of the Bluetooth module is
535116f7cc4SDouglas Anderson	 * in tri-state (module powered off or not driving the
536116f7cc4SDouglas Anderson	 * signal yet).
537116f7cc4SDouglas Anderson	 */
538116f7cc4SDouglas Anderson	bias-pull-up;
539116f7cc4SDouglas Anderson};
540116f7cc4SDouglas Anderson
541116f7cc4SDouglas Anderson/* eMMC, if stuffed, is straight on the Qcard */
542116f7cc4SDouglas Anderson&sdc1_clk {
543116f7cc4SDouglas Anderson	bias-disable;
544116f7cc4SDouglas Anderson	drive-strength = <16>;
545116f7cc4SDouglas Anderson};
546116f7cc4SDouglas Anderson
547116f7cc4SDouglas Anderson&sdc1_cmd {
548116f7cc4SDouglas Anderson	bias-pull-up;
549116f7cc4SDouglas Anderson	drive-strength = <10>;
550116f7cc4SDouglas Anderson};
551116f7cc4SDouglas Anderson
552116f7cc4SDouglas Anderson&sdc1_data {
553116f7cc4SDouglas Anderson	bias-pull-up;
554116f7cc4SDouglas Anderson	drive-strength = <10>;
555116f7cc4SDouglas Anderson};
556116f7cc4SDouglas Anderson
557116f7cc4SDouglas Anderson&sdc1_rclk {
558116f7cc4SDouglas Anderson	bias-pull-down;
559116f7cc4SDouglas Anderson};
560116f7cc4SDouglas Anderson
561116f7cc4SDouglas Anderson/*
562116f7cc4SDouglas Anderson * PINCTRL - QCARD
563116f7cc4SDouglas Anderson *
564116f7cc4SDouglas Anderson * This has entries that are defined by Qcard even if they go to the main
565116f7cc4SDouglas Anderson * board. In cases where the pulls may be board dependent we defer those
566116f7cc4SDouglas Anderson * settings to the board device tree. Drive strengths tend to be assinged here
567116f7cc4SDouglas Anderson * but could conceivably be overwridden by board device trees.
568116f7cc4SDouglas Anderson */
569116f7cc4SDouglas Anderson
570116f7cc4SDouglas Anderson&pm8350c_gpios {
571ff36bed5SKrzysztof Kozlowski	pmic_edp_bl_en: pmic-edp-bl-en-state {
572116f7cc4SDouglas Anderson		pins = "gpio7";
573116f7cc4SDouglas Anderson		function = "normal";
574116f7cc4SDouglas Anderson		bias-disable;
575116f7cc4SDouglas Anderson		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
576116f7cc4SDouglas Anderson
577116f7cc4SDouglas Anderson		/* Force backlight to be disabled to match state at boot. */
578116f7cc4SDouglas Anderson		output-low;
579116f7cc4SDouglas Anderson	};
580116f7cc4SDouglas Anderson
581ff36bed5SKrzysztof Kozlowski	pmic_edp_bl_pwm: pmic-edp-bl-pwm-state {
582116f7cc4SDouglas Anderson		pins = "gpio8";
583116f7cc4SDouglas Anderson		function = "func1";
584116f7cc4SDouglas Anderson		bias-disable;
585116f7cc4SDouglas Anderson		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
586116f7cc4SDouglas Anderson		output-low;
587116f7cc4SDouglas Anderson		power-source = <0>;
588116f7cc4SDouglas Anderson	};
589116f7cc4SDouglas Anderson};
590116f7cc4SDouglas Anderson
591116f7cc4SDouglas Anderson&tlmm {
592ec0872a6SKrzysztof Kozlowski	mos_bt_en: mos-bt-en-state {
593116f7cc4SDouglas Anderson		pins = "gpio85";
594116f7cc4SDouglas Anderson		function = "gpio";
595116f7cc4SDouglas Anderson		drive-strength = <2>;
596116f7cc4SDouglas Anderson		output-low;
597116f7cc4SDouglas Anderson	};
598116f7cc4SDouglas Anderson
599116f7cc4SDouglas Anderson	/* For mos_bt_uart */
600ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_cts: qup-uart7-sleep-cts-state {
601116f7cc4SDouglas Anderson		pins = "gpio28";
602116f7cc4SDouglas Anderson		function = "gpio";
603116f7cc4SDouglas Anderson		/*
6043d0e375bSVijaya Krishna Nivarthi		 * Configure a bias-bus-hold on CTS to lower power
6053d0e375bSVijaya Krishna Nivarthi		 * usage when Bluetooth is turned off. Bus hold will
6063d0e375bSVijaya Krishna Nivarthi		 * maintain a low power state regardless of whether
6073d0e375bSVijaya Krishna Nivarthi		 * the Bluetooth module drives the pin in either
6083d0e375bSVijaya Krishna Nivarthi		 * direction or leaves the pin fully unpowered.
609116f7cc4SDouglas Anderson		 */
6103d0e375bSVijaya Krishna Nivarthi		bias-bus-hold;
611116f7cc4SDouglas Anderson	};
612116f7cc4SDouglas Anderson
613116f7cc4SDouglas Anderson	/* For mos_bt_uart */
614ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_rts: qup-uart7-sleep-rts-state {
615116f7cc4SDouglas Anderson		pins = "gpio29";
616116f7cc4SDouglas Anderson		function = "gpio";
617116f7cc4SDouglas Anderson		/*
618116f7cc4SDouglas Anderson		 * Configure pull-down on RTS. As RTS is active low
619116f7cc4SDouglas Anderson		 * signal, pull it low to indicate the BT SoC that it
620116f7cc4SDouglas Anderson		 * can wakeup the system anytime from suspend state by
621116f7cc4SDouglas Anderson		 * pulling RX low (by sending wakeup bytes).
622116f7cc4SDouglas Anderson		 */
623116f7cc4SDouglas Anderson		bias-pull-down;
624116f7cc4SDouglas Anderson	};
625116f7cc4SDouglas Anderson
626116f7cc4SDouglas Anderson	/* For mos_bt_uart */
627ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_rx: qup-uart7-sleep-rx-state {
628116f7cc4SDouglas Anderson		pins = "gpio31";
629116f7cc4SDouglas Anderson		function = "gpio";
630116f7cc4SDouglas Anderson		/*
631116f7cc4SDouglas Anderson		 * Configure a pull-up on RX. This is needed to avoid
632116f7cc4SDouglas Anderson		 * garbage data when the TX pin of the Bluetooth module
633116f7cc4SDouglas Anderson		 * is floating which may cause spurious wakeups.
634116f7cc4SDouglas Anderson		 */
635116f7cc4SDouglas Anderson		bias-pull-up;
636116f7cc4SDouglas Anderson	};
637116f7cc4SDouglas Anderson
638116f7cc4SDouglas Anderson	/* For mos_bt_uart */
639ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_tx: qup-uart7-sleep-tx-state {
640116f7cc4SDouglas Anderson		pins = "gpio30";
641116f7cc4SDouglas Anderson		function = "gpio";
642116f7cc4SDouglas Anderson		/*
643116f7cc4SDouglas Anderson		 * Configure pull-up on TX when it isn't actively driven
644116f7cc4SDouglas Anderson		 * to prevent BT SoC from receiving garbage during sleep.
645116f7cc4SDouglas Anderson		 */
646116f7cc4SDouglas Anderson		bias-pull-up;
647116f7cc4SDouglas Anderson	};
648116f7cc4SDouglas Anderson
649ec0872a6SKrzysztof Kozlowski	ts_int_conn: ts-int-conn-state {
650116f7cc4SDouglas Anderson		pins = "gpio55";
651116f7cc4SDouglas Anderson		function = "gpio";
652116f7cc4SDouglas Anderson		bias-pull-up;
653116f7cc4SDouglas Anderson	};
654116f7cc4SDouglas Anderson
655ec0872a6SKrzysztof Kozlowski	ts_rst_conn: ts-rst-conn-state {
656116f7cc4SDouglas Anderson		pins = "gpio54";
657116f7cc4SDouglas Anderson		function = "gpio";
658116f7cc4SDouglas Anderson		drive-strength = <2>;
659116f7cc4SDouglas Anderson	};
6600a3a56a9SSrinivasa Rao Mandadapu
661ec0872a6SKrzysztof Kozlowski	us_euro_hs_sel: us-euro-hs-sel-state {
6620a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio81";
6630a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6640a3a56a9SSrinivasa Rao Mandadapu		bias-pull-down;
6650a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <2>;
6660a3a56a9SSrinivasa Rao Mandadapu	};
6670a3a56a9SSrinivasa Rao Mandadapu
668ec0872a6SKrzysztof Kozlowski	wcd_reset_n: wcd-reset-n-state {
6690a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio83";
6700a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6710a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <8>;
6720a3a56a9SSrinivasa Rao Mandadapu	};
6730a3a56a9SSrinivasa Rao Mandadapu
674ec0872a6SKrzysztof Kozlowski	wcd_reset_n_sleep: wcd-reset-n-sleep-state {
6750a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio83";
6760a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6770a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <8>;
6780a3a56a9SSrinivasa Rao Mandadapu		bias-disable;
6790a3a56a9SSrinivasa Rao Mandadapu	};
680116f7cc4SDouglas Anderson};
681