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
90116f7cc4SDouglas Anderson	pm7325-regulators {
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
191116f7cc4SDouglas Anderson	pm8350c-regulators {
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
233*428df177SDouglas Anderson		/*
234*428df177SDouglas Anderson		 * The initial design of this regulator was to use it as 3.3V,
235*428df177SDouglas Anderson		 * but due to later changes in design it was changed to 1.8V.
236*428df177SDouglas Anderson		 * The original name is kept due to same schematic.
237*428df177SDouglas Anderson		 */
238*428df177SDouglas Anderson		ts_avccio:
239116f7cc4SDouglas Anderson		vreg_l3c_3p0: ldo3 {
240*428df177SDouglas Anderson			regulator-min-microvolt = <1800000>;
241*428df177SDouglas 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
357366a0a19SDouglas Anderson			ports {
358366a0a19SDouglas Anderson				#address-cells = <1>;
359366a0a19SDouglas Anderson				#size-cells = <0>;
360366a0a19SDouglas Anderson				port@0 {
361366a0a19SDouglas Anderson					reg = <0>;
362366a0a19SDouglas Anderson					edp_panel_in: endpoint {
363366a0a19SDouglas Anderson						remote-endpoint = <&mdss_edp_out>;
364366a0a19SDouglas Anderson					};
365366a0a19SDouglas Anderson				};
366366a0a19SDouglas Anderson			};
367366a0a19SDouglas Anderson		};
368366a0a19SDouglas Anderson	};
369366a0a19SDouglas Anderson};
370366a0a19SDouglas Anderson
371366a0a19SDouglas Anderson&mdss_edp_out {
372366a0a19SDouglas Anderson	remote-endpoint = <&edp_panel_in>;
373366a0a19SDouglas Anderson};
374366a0a19SDouglas Anderson
375366a0a19SDouglas Anderson&mdss_edp_phy {
376366a0a19SDouglas Anderson	vdda-pll-supply = <&vdd_a_edp_0_0p9>;
377366a0a19SDouglas Anderson	vdda-phy-supply = <&vdd_a_edp_0_1p2>;
378366a0a19SDouglas Anderson};
379366a0a19SDouglas Anderson
380116f7cc4SDouglas Anderson&pcie1_phy {
381116f7cc4SDouglas Anderson	vdda-phy-supply = <&vreg_l10c_0p88>;
382116f7cc4SDouglas Anderson	vdda-pll-supply = <&vreg_l6b_1p2>;
383116f7cc4SDouglas Anderson};
384116f7cc4SDouglas Anderson
385366a0a19SDouglas Anderson&pm8350c_pwm {
386366a0a19SDouglas Anderson	pinctrl-names = "default";
387366a0a19SDouglas Anderson	pinctrl-0 = <&pmic_edp_bl_pwm>;
388366a0a19SDouglas Anderson};
389366a0a19SDouglas Anderson
390116f7cc4SDouglas Anderson&pmk8350_vadc {
391116f7cc4SDouglas Anderson	pmk8350-die-temp@3 {
392116f7cc4SDouglas Anderson		reg = <PMK8350_ADC7_DIE_TEMP>;
393116f7cc4SDouglas Anderson		label = "pmk8350_die_temp";
394116f7cc4SDouglas Anderson		qcom,pre-scaling = <1 1>;
395116f7cc4SDouglas Anderson	};
396116f7cc4SDouglas Anderson
397116f7cc4SDouglas Anderson	pmr735a-die-temp@403 {
398116f7cc4SDouglas Anderson		reg = <PMR735A_ADC7_DIE_TEMP>;
399116f7cc4SDouglas Anderson		label = "pmr735a_die_temp";
400116f7cc4SDouglas Anderson		qcom,pre-scaling = <1 1>;
401116f7cc4SDouglas Anderson	};
402116f7cc4SDouglas Anderson};
403116f7cc4SDouglas Anderson
404116f7cc4SDouglas Anderson&qfprom {
405116f7cc4SDouglas Anderson	vcc-supply = <&vdd_qfprom>;
406116f7cc4SDouglas Anderson};
407116f7cc4SDouglas Anderson
408116f7cc4SDouglas Anderson/* For eMMC. NOTE: not all Qcards have eMMC stuffed */
409116f7cc4SDouglas Anderson&sdhc_1 {
410116f7cc4SDouglas Anderson	vmmc-supply = <&vreg_l7b_2p5>;
411116f7cc4SDouglas Anderson	vqmmc-supply = <&vreg_l19b_1p8>;
412116f7cc4SDouglas Anderson
413116f7cc4SDouglas Anderson	non-removable;
414116f7cc4SDouglas Anderson	no-sd;
415116f7cc4SDouglas Anderson	no-sdio;
416116f7cc4SDouglas Anderson};
417116f7cc4SDouglas Anderson
418d5a959f9SSrinivasa Rao Mandadapu&swr0 {
419d5a959f9SSrinivasa Rao Mandadapu	wcd_rx: codec@0,4 {
420d5a959f9SSrinivasa Rao Mandadapu		compatible = "sdw20217010d00";
421d5a959f9SSrinivasa Rao Mandadapu		reg = <0 4>;
422d5a959f9SSrinivasa Rao Mandadapu		#sound-dai-cells = <1>;
423d5a959f9SSrinivasa Rao Mandadapu		qcom,rx-port-mapping = <1 2 3 4 5>;
424d5a959f9SSrinivasa Rao Mandadapu	};
425d5a959f9SSrinivasa Rao Mandadapu};
426d5a959f9SSrinivasa Rao Mandadapu
427d5a959f9SSrinivasa Rao Mandadapu&swr1 {
428d5a959f9SSrinivasa Rao Mandadapu	wcd_tx: codec@0,3 {
429d5a959f9SSrinivasa Rao Mandadapu		compatible = "sdw20217010d00";
430d5a959f9SSrinivasa Rao Mandadapu		reg = <0 3>;
431d5a959f9SSrinivasa Rao Mandadapu		#sound-dai-cells = <1>;
432d5a959f9SSrinivasa Rao Mandadapu		qcom,tx-port-mapping = <1 2 3 4>;
433d5a959f9SSrinivasa Rao Mandadapu	};
434d5a959f9SSrinivasa Rao Mandadapu};
435d5a959f9SSrinivasa Rao Mandadapu
436116f7cc4SDouglas Andersonuart_dbg: &uart5 {
437116f7cc4SDouglas Anderson	compatible = "qcom,geni-debug-uart";
438116f7cc4SDouglas Anderson	status = "okay";
439116f7cc4SDouglas Anderson};
440116f7cc4SDouglas Anderson
441116f7cc4SDouglas Andersonmos_bt_uart: &uart7 {
442116f7cc4SDouglas Anderson	status = "okay";
443116f7cc4SDouglas Anderson
444116f7cc4SDouglas Anderson	/delete-property/ interrupts;
445116f7cc4SDouglas Anderson	interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
446116f7cc4SDouglas Anderson				<&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
447116f7cc4SDouglas Anderson	pinctrl-names = "default", "sleep";
448116f7cc4SDouglas Anderson	pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>, <&qup_uart7_sleep_tx>, <&qup_uart7_sleep_rx>;
449116f7cc4SDouglas Anderson
450116f7cc4SDouglas Anderson	bluetooth: bluetooth {
451116f7cc4SDouglas Anderson		compatible = "qcom,wcn6750-bt";
452116f7cc4SDouglas Anderson		pinctrl-names = "default";
453116f7cc4SDouglas Anderson		pinctrl-0 = <&mos_bt_en>;
454116f7cc4SDouglas Anderson		enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
455116f7cc4SDouglas Anderson		swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
456116f7cc4SDouglas Anderson		vddaon-supply = <&vreg_s7b_0p952>;
457116f7cc4SDouglas Anderson		vddbtcxmx-supply = <&vreg_s7b_0p952>;
458116f7cc4SDouglas Anderson		vddrfacmn-supply = <&vreg_s7b_0p952>;
459116f7cc4SDouglas Anderson		vddrfa0p8-supply = <&vreg_s7b_0p952>;
460116f7cc4SDouglas Anderson		vddrfa1p7-supply = <&vdd19_pmu_rfa_i>;
461116f7cc4SDouglas Anderson		vddrfa1p2-supply = <&vdd13_pmu_rfa_i>;
462116f7cc4SDouglas Anderson		vddrfa2p2-supply = <&vreg_s1c_2p2>;
463116f7cc4SDouglas Anderson		vddasd-supply = <&vreg_l11c_2p8>;
464116f7cc4SDouglas Anderson		vddio-supply = <&vreg_l18b_1p8>;
465116f7cc4SDouglas Anderson		max-speed = <3200000>;
466116f7cc4SDouglas Anderson	};
467116f7cc4SDouglas Anderson};
468116f7cc4SDouglas Anderson
469116f7cc4SDouglas Anderson&usb_1_hsphy {
470116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbhs_core>;
471116f7cc4SDouglas Anderson	vdda33-supply = <&vdd_a_usbhs_3p1>;
472116f7cc4SDouglas Anderson	vdda18-supply = <&vdd_a_usbhs_1p8>;
473116f7cc4SDouglas Anderson};
474116f7cc4SDouglas Anderson
475116f7cc4SDouglas Anderson&usb_1_qmpphy {
476116f7cc4SDouglas Anderson	vdda-phy-supply = <&vdd_a_usbssdp_0_1p2>;
477116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbssdp_0_core>;
478116f7cc4SDouglas Anderson};
479116f7cc4SDouglas Anderson
480116f7cc4SDouglas Anderson&usb_2_hsphy {
481116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbhs_core>;
482116f7cc4SDouglas Anderson	vdda33-supply = <&vdd_a_usbhs_3p1>;
483116f7cc4SDouglas Anderson	vdda18-supply = <&vdd_a_usbhs_1p8>;
484116f7cc4SDouglas Anderson};
485116f7cc4SDouglas Anderson
486116f7cc4SDouglas Anderson/*
487116f7cc4SDouglas Anderson * PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES
488116f7cc4SDouglas Anderson *
489116f7cc4SDouglas Anderson * NOTE: In general if pins leave the Qcard then the pinctrl goes in the
490116f7cc4SDouglas Anderson * baseboard or board device tree, not here.
491116f7cc4SDouglas Anderson */
492116f7cc4SDouglas Anderson
493366a0a19SDouglas Anderson/* No external pull for eDP HPD, so set the internal one. */
494366a0a19SDouglas Anderson&edp_hot_plug_det {
495366a0a19SDouglas Anderson	bias-pull-down;
496366a0a19SDouglas Anderson};
497366a0a19SDouglas Anderson
498116f7cc4SDouglas Anderson/*
499116f7cc4SDouglas Anderson * For ts_i2c
500116f7cc4SDouglas Anderson *
501116f7cc4SDouglas Anderson * Technically this i2c bus actually leaves the Qcard, but it leaves directly
502116f7cc4SDouglas Anderson * via the eDP connector (it doesn't hit the baseboard). The external pulls
503116f7cc4SDouglas Anderson * are on Qcard.
504116f7cc4SDouglas Anderson */
505116f7cc4SDouglas Anderson&qup_i2c13_data_clk {
506116f7cc4SDouglas Anderson	/* Has external pull */
507116f7cc4SDouglas Anderson	bias-disable;
508116f7cc4SDouglas Anderson	drive-strength = <2>;
509116f7cc4SDouglas Anderson};
510116f7cc4SDouglas Anderson
511116f7cc4SDouglas Anderson/* For mos_bt_uart */
512116f7cc4SDouglas Anderson&qup_uart7_cts {
5133d0e375bSVijaya Krishna Nivarthi	/*
5143d0e375bSVijaya Krishna Nivarthi	 * Configure a bias-bus-hold on CTS to lower power
5153d0e375bSVijaya Krishna Nivarthi	 * usage when Bluetooth is turned off. Bus hold will
5163d0e375bSVijaya Krishna Nivarthi	 * maintain a low power state regardless of whether
5173d0e375bSVijaya Krishna Nivarthi	 * the Bluetooth module drives the pin in either
5183d0e375bSVijaya Krishna Nivarthi	 * direction or leaves the pin fully unpowered.
5193d0e375bSVijaya Krishna Nivarthi	 */
5203d0e375bSVijaya Krishna Nivarthi	bias-bus-hold;
521116f7cc4SDouglas Anderson};
522116f7cc4SDouglas Anderson
523116f7cc4SDouglas Anderson/* For mos_bt_uart */
524116f7cc4SDouglas Anderson&qup_uart7_rts {
525116f7cc4SDouglas Anderson	/* We'll drive RTS, 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_tx {
532116f7cc4SDouglas Anderson	/* We'll drive TX, so no pull */
533116f7cc4SDouglas Anderson	bias-disable;
534116f7cc4SDouglas Anderson	drive-strength = <2>;
535116f7cc4SDouglas Anderson};
536116f7cc4SDouglas Anderson
537116f7cc4SDouglas Anderson/* For mos_bt_uart */
538116f7cc4SDouglas Anderson&qup_uart7_rx {
539116f7cc4SDouglas Anderson	/*
540116f7cc4SDouglas Anderson	 * Configure a pull-up on RX. This is needed to avoid
541116f7cc4SDouglas Anderson	 * garbage data when the TX pin of the Bluetooth module is
542116f7cc4SDouglas Anderson	 * in tri-state (module powered off or not driving the
543116f7cc4SDouglas Anderson	 * signal yet).
544116f7cc4SDouglas Anderson	 */
545116f7cc4SDouglas Anderson	bias-pull-up;
546116f7cc4SDouglas Anderson};
547116f7cc4SDouglas Anderson
548116f7cc4SDouglas Anderson/* eMMC, if stuffed, is straight on the Qcard */
549116f7cc4SDouglas Anderson&sdc1_clk {
550116f7cc4SDouglas Anderson	bias-disable;
551116f7cc4SDouglas Anderson	drive-strength = <16>;
552116f7cc4SDouglas Anderson};
553116f7cc4SDouglas Anderson
554116f7cc4SDouglas Anderson&sdc1_cmd {
555116f7cc4SDouglas Anderson	bias-pull-up;
556116f7cc4SDouglas Anderson	drive-strength = <10>;
557116f7cc4SDouglas Anderson};
558116f7cc4SDouglas Anderson
559116f7cc4SDouglas Anderson&sdc1_data {
560116f7cc4SDouglas Anderson	bias-pull-up;
561116f7cc4SDouglas Anderson	drive-strength = <10>;
562116f7cc4SDouglas Anderson};
563116f7cc4SDouglas Anderson
564116f7cc4SDouglas Anderson&sdc1_rclk {
565116f7cc4SDouglas Anderson	bias-pull-down;
566116f7cc4SDouglas Anderson};
567116f7cc4SDouglas Anderson
568116f7cc4SDouglas Anderson/*
569116f7cc4SDouglas Anderson * PINCTRL - QCARD
570116f7cc4SDouglas Anderson *
571116f7cc4SDouglas Anderson * This has entries that are defined by Qcard even if they go to the main
572116f7cc4SDouglas Anderson * board. In cases where the pulls may be board dependent we defer those
573116f7cc4SDouglas Anderson * settings to the board device tree. Drive strengths tend to be assinged here
574116f7cc4SDouglas Anderson * but could conceivably be overwridden by board device trees.
575116f7cc4SDouglas Anderson */
576116f7cc4SDouglas Anderson
577116f7cc4SDouglas Anderson&pm8350c_gpios {
578ff36bed5SKrzysztof Kozlowski	pmic_edp_bl_en: pmic-edp-bl-en-state {
579116f7cc4SDouglas Anderson		pins = "gpio7";
580116f7cc4SDouglas Anderson		function = "normal";
581116f7cc4SDouglas Anderson		bias-disable;
582116f7cc4SDouglas Anderson		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
583116f7cc4SDouglas Anderson
584116f7cc4SDouglas Anderson		/* Force backlight to be disabled to match state at boot. */
585116f7cc4SDouglas Anderson		output-low;
586116f7cc4SDouglas Anderson	};
587116f7cc4SDouglas Anderson
588ff36bed5SKrzysztof Kozlowski	pmic_edp_bl_pwm: pmic-edp-bl-pwm-state {
589116f7cc4SDouglas Anderson		pins = "gpio8";
590116f7cc4SDouglas Anderson		function = "func1";
591116f7cc4SDouglas Anderson		bias-disable;
592116f7cc4SDouglas Anderson		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
593116f7cc4SDouglas Anderson		output-low;
594116f7cc4SDouglas Anderson		power-source = <0>;
595116f7cc4SDouglas Anderson	};
596116f7cc4SDouglas Anderson};
597116f7cc4SDouglas Anderson
598116f7cc4SDouglas Anderson&tlmm {
599ec0872a6SKrzysztof Kozlowski	mos_bt_en: mos-bt-en-state {
600116f7cc4SDouglas Anderson		pins = "gpio85";
601116f7cc4SDouglas Anderson		function = "gpio";
602116f7cc4SDouglas Anderson		drive-strength = <2>;
603116f7cc4SDouglas Anderson		output-low;
604116f7cc4SDouglas Anderson	};
605116f7cc4SDouglas Anderson
606116f7cc4SDouglas Anderson	/* For mos_bt_uart */
607ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_cts: qup-uart7-sleep-cts-state {
608116f7cc4SDouglas Anderson		pins = "gpio28";
609116f7cc4SDouglas Anderson		function = "gpio";
610116f7cc4SDouglas Anderson		/*
6113d0e375bSVijaya Krishna Nivarthi		 * Configure a bias-bus-hold on CTS to lower power
6123d0e375bSVijaya Krishna Nivarthi		 * usage when Bluetooth is turned off. Bus hold will
6133d0e375bSVijaya Krishna Nivarthi		 * maintain a low power state regardless of whether
6143d0e375bSVijaya Krishna Nivarthi		 * the Bluetooth module drives the pin in either
6153d0e375bSVijaya Krishna Nivarthi		 * direction or leaves the pin fully unpowered.
616116f7cc4SDouglas Anderson		 */
6173d0e375bSVijaya Krishna Nivarthi		bias-bus-hold;
618116f7cc4SDouglas Anderson	};
619116f7cc4SDouglas Anderson
620116f7cc4SDouglas Anderson	/* For mos_bt_uart */
621ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_rts: qup-uart7-sleep-rts-state {
622116f7cc4SDouglas Anderson		pins = "gpio29";
623116f7cc4SDouglas Anderson		function = "gpio";
624116f7cc4SDouglas Anderson		/*
625116f7cc4SDouglas Anderson		 * Configure pull-down on RTS. As RTS is active low
626116f7cc4SDouglas Anderson		 * signal, pull it low to indicate the BT SoC that it
627116f7cc4SDouglas Anderson		 * can wakeup the system anytime from suspend state by
628116f7cc4SDouglas Anderson		 * pulling RX low (by sending wakeup bytes).
629116f7cc4SDouglas Anderson		 */
630116f7cc4SDouglas Anderson		bias-pull-down;
631116f7cc4SDouglas Anderson	};
632116f7cc4SDouglas Anderson
633116f7cc4SDouglas Anderson	/* For mos_bt_uart */
634ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_rx: qup-uart7-sleep-rx-state {
635116f7cc4SDouglas Anderson		pins = "gpio31";
636116f7cc4SDouglas Anderson		function = "gpio";
637116f7cc4SDouglas Anderson		/*
638116f7cc4SDouglas Anderson		 * Configure a pull-up on RX. This is needed to avoid
639116f7cc4SDouglas Anderson		 * garbage data when the TX pin of the Bluetooth module
640116f7cc4SDouglas Anderson		 * is floating which may cause spurious wakeups.
641116f7cc4SDouglas Anderson		 */
642116f7cc4SDouglas Anderson		bias-pull-up;
643116f7cc4SDouglas Anderson	};
644116f7cc4SDouglas Anderson
645116f7cc4SDouglas Anderson	/* For mos_bt_uart */
646ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_tx: qup-uart7-sleep-tx-state {
647116f7cc4SDouglas Anderson		pins = "gpio30";
648116f7cc4SDouglas Anderson		function = "gpio";
649116f7cc4SDouglas Anderson		/*
650116f7cc4SDouglas Anderson		 * Configure pull-up on TX when it isn't actively driven
651116f7cc4SDouglas Anderson		 * to prevent BT SoC from receiving garbage during sleep.
652116f7cc4SDouglas Anderson		 */
653116f7cc4SDouglas Anderson		bias-pull-up;
654116f7cc4SDouglas Anderson	};
655116f7cc4SDouglas Anderson
656ec0872a6SKrzysztof Kozlowski	ts_int_conn: ts-int-conn-state {
657116f7cc4SDouglas Anderson		pins = "gpio55";
658116f7cc4SDouglas Anderson		function = "gpio";
659116f7cc4SDouglas Anderson		bias-pull-up;
660116f7cc4SDouglas Anderson	};
661116f7cc4SDouglas Anderson
662ec0872a6SKrzysztof Kozlowski	ts_rst_conn: ts-rst-conn-state {
663116f7cc4SDouglas Anderson		pins = "gpio54";
664116f7cc4SDouglas Anderson		function = "gpio";
665116f7cc4SDouglas Anderson		drive-strength = <2>;
666116f7cc4SDouglas Anderson	};
6670a3a56a9SSrinivasa Rao Mandadapu
668ec0872a6SKrzysztof Kozlowski	us_euro_hs_sel: us-euro-hs-sel-state {
6690a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio81";
6700a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6710a3a56a9SSrinivasa Rao Mandadapu		bias-pull-down;
6720a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <2>;
6730a3a56a9SSrinivasa Rao Mandadapu	};
6740a3a56a9SSrinivasa Rao Mandadapu
675ec0872a6SKrzysztof Kozlowski	wcd_reset_n: wcd-reset-n-state {
6760a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio83";
6770a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6780a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <8>;
6790a3a56a9SSrinivasa Rao Mandadapu	};
6800a3a56a9SSrinivasa Rao Mandadapu
681ec0872a6SKrzysztof Kozlowski	wcd_reset_n_sleep: wcd-reset-n-sleep-state {
6820a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio83";
6830a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6840a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <8>;
6850a3a56a9SSrinivasa Rao Mandadapu		bias-disable;
6860a3a56a9SSrinivasa Rao Mandadapu	};
687116f7cc4SDouglas Anderson};
688