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
400a3a56a9SSrinivasa Rao Mandadapu		reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>;
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
233116f7cc4SDouglas Anderson		vreg_l3c_3p0: ldo3 {
234116f7cc4SDouglas Anderson			regulator-min-microvolt = <2800000>;
235116f7cc4SDouglas Anderson			regulator-max-microvolt = <3540000>;
236116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
237116f7cc4SDouglas Anderson		};
238116f7cc4SDouglas Anderson
239116f7cc4SDouglas Anderson		vddpx_5:
240116f7cc4SDouglas Anderson		vreg_l4c_1p8_3p0: ldo4 {
241116f7cc4SDouglas Anderson			regulator-min-microvolt = <1620000>;
242116f7cc4SDouglas Anderson			regulator-max-microvolt = <3300000>;
243116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
244116f7cc4SDouglas Anderson		};
245116f7cc4SDouglas Anderson
246116f7cc4SDouglas Anderson		vddpx_6:
247116f7cc4SDouglas Anderson		vreg_l5c_1p8_3p0: ldo5 {
248116f7cc4SDouglas Anderson			regulator-min-microvolt = <1620000>;
249116f7cc4SDouglas Anderson			regulator-max-microvolt = <3300000>;
250116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
251116f7cc4SDouglas Anderson		};
252116f7cc4SDouglas Anderson
253116f7cc4SDouglas Anderson		vddpx_2:
254116f7cc4SDouglas Anderson		vreg_l6c_2p96: ldo6 {
255116f7cc4SDouglas Anderson			regulator-min-microvolt = <1800000>;
256116f7cc4SDouglas Anderson			regulator-max-microvolt = <2950000>;
257116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
258116f7cc4SDouglas Anderson		};
259116f7cc4SDouglas Anderson
260116f7cc4SDouglas Anderson		vreg_l7c_3p0: ldo7 {
261116f7cc4SDouglas Anderson			regulator-min-microvolt = <3000000>;
262116f7cc4SDouglas Anderson			regulator-max-microvolt = <3544000>;
263116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
264116f7cc4SDouglas Anderson		};
265116f7cc4SDouglas Anderson
266116f7cc4SDouglas Anderson		vreg_l8c_1p8: ldo8 {
267116f7cc4SDouglas Anderson			regulator-min-microvolt = <1620000>;
268116f7cc4SDouglas Anderson			regulator-max-microvolt = <2000000>;
269116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
270116f7cc4SDouglas Anderson		};
271116f7cc4SDouglas Anderson
272116f7cc4SDouglas Anderson		vreg_l9c_2p96: ldo9 {
273116f7cc4SDouglas Anderson			regulator-min-microvolt = <2960000>;
274116f7cc4SDouglas Anderson			regulator-max-microvolt = <2960000>;
275116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276116f7cc4SDouglas Anderson		};
277116f7cc4SDouglas Anderson
278116f7cc4SDouglas Anderson		vdd_a_csi_0_1_0p9:
279116f7cc4SDouglas Anderson		vdd_a_csi_2_3_0p9:
280116f7cc4SDouglas Anderson		vdd_a_csi_4_0p9:
281116f7cc4SDouglas Anderson		vdd_a_dsi_0_0p9:
282116f7cc4SDouglas Anderson		vdd_a_dsi_0_pll_0p9:
283116f7cc4SDouglas Anderson		vdd_a_edp_0_0p9:
284116f7cc4SDouglas Anderson		vdd_a_gnss_0p9:
285116f7cc4SDouglas Anderson		vdd_a_pcie_0_core:
286116f7cc4SDouglas Anderson		vdd_a_pcie_1_core:
287116f7cc4SDouglas Anderson		vdd_a_qlink_0_0p9:
288116f7cc4SDouglas Anderson		vdd_a_qlink_0_0p9_ck:
289116f7cc4SDouglas Anderson		vdd_a_qlink_1_0p9:
290116f7cc4SDouglas Anderson		vdd_a_qlink_1_0p9_ck:
291116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_0:
292116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_1:
293116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_2:
294116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_3:
295116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_4_5:
296116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_6:
297116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_7:
298116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_8:
299116f7cc4SDouglas Anderson		vdd_a_qrefs_0p875_9:
300116f7cc4SDouglas Anderson		vdd_a_ufs_0_core:
301116f7cc4SDouglas Anderson		vdd_a_usbhs_core:
302116f7cc4SDouglas Anderson		vreg_l10c_0p88: ldo10 {
303116f7cc4SDouglas Anderson			regulator-min-microvolt = <720000>;
304116f7cc4SDouglas Anderson			regulator-max-microvolt = <1050000>;
305116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
306116f7cc4SDouglas Anderson		};
307116f7cc4SDouglas Anderson
308116f7cc4SDouglas Anderson		vreg_l11c_2p8: ldo11 {
309116f7cc4SDouglas Anderson			regulator-min-microvolt = <2800000>;
310116f7cc4SDouglas Anderson			regulator-max-microvolt = <3544000>;
311116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
312116f7cc4SDouglas Anderson		};
313116f7cc4SDouglas Anderson
314116f7cc4SDouglas Anderson		vreg_l12c_1p8: ldo12 {
315116f7cc4SDouglas Anderson			regulator-min-microvolt = <1650000>;
316116f7cc4SDouglas Anderson			regulator-max-microvolt = <2000000>;
317116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318116f7cc4SDouglas Anderson		};
319116f7cc4SDouglas Anderson
320116f7cc4SDouglas Anderson		vreg_l13c_3p0: ldo13 {
321116f7cc4SDouglas Anderson			regulator-min-microvolt = <2700000>;
322116f7cc4SDouglas Anderson			regulator-max-microvolt = <3544000>;
323116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
324116f7cc4SDouglas Anderson		};
325116f7cc4SDouglas Anderson
326116f7cc4SDouglas Anderson		vdd_flash:
327116f7cc4SDouglas Anderson		vdd_iris_rgb:
328116f7cc4SDouglas Anderson		vdd_mic_bias:
329116f7cc4SDouglas Anderson		vreg_bob: bob {
330116f7cc4SDouglas Anderson			regulator-min-microvolt = <3008000>;
331116f7cc4SDouglas Anderson			regulator-max-microvolt = <3960000>;
332116f7cc4SDouglas Anderson			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
333116f7cc4SDouglas Anderson		};
334116f7cc4SDouglas Anderson	};
335116f7cc4SDouglas Anderson};
336116f7cc4SDouglas Anderson
337116f7cc4SDouglas Anderson/* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
338116f7cc4SDouglas Anderson
339116f7cc4SDouglas Anderson&ipa {
340116f7cc4SDouglas Anderson	status = "okay";
341116f7cc4SDouglas Anderson	modem-init;
342116f7cc4SDouglas Anderson};
343116f7cc4SDouglas Anderson
344d5a959f9SSrinivasa Rao Mandadapu&lpass_va_macro {
345d5a959f9SSrinivasa Rao Mandadapu	vdd-micb-supply = <&vreg_bob>;
346d5a959f9SSrinivasa Rao Mandadapu};
347d5a959f9SSrinivasa Rao Mandadapu
348366a0a19SDouglas Anderson/* NOTE: Not all Qcards have eDP connector stuffed */
349366a0a19SDouglas Anderson&mdss_edp {
350366a0a19SDouglas Anderson	aux-bus {
351366a0a19SDouglas Anderson		edp_panel: panel {
352366a0a19SDouglas Anderson			compatible = "edp-panel";
353366a0a19SDouglas Anderson
354366a0a19SDouglas Anderson			backlight = <&pm8350c_pwm_backlight>;
355366a0a19SDouglas Anderson
356366a0a19SDouglas Anderson			ports {
357366a0a19SDouglas Anderson				#address-cells = <1>;
358366a0a19SDouglas Anderson				#size-cells = <0>;
359366a0a19SDouglas Anderson				port@0 {
360366a0a19SDouglas Anderson					reg = <0>;
361366a0a19SDouglas Anderson					edp_panel_in: endpoint {
362366a0a19SDouglas Anderson						remote-endpoint = <&mdss_edp_out>;
363366a0a19SDouglas Anderson					};
364366a0a19SDouglas Anderson				};
365366a0a19SDouglas Anderson			};
366366a0a19SDouglas Anderson		};
367366a0a19SDouglas Anderson	};
368366a0a19SDouglas Anderson};
369366a0a19SDouglas Anderson
370366a0a19SDouglas Anderson&mdss_edp_out {
371366a0a19SDouglas Anderson	remote-endpoint = <&edp_panel_in>;
372366a0a19SDouglas Anderson};
373366a0a19SDouglas Anderson
374366a0a19SDouglas Anderson&mdss_edp_phy {
375366a0a19SDouglas Anderson	vdda-pll-supply = <&vdd_a_edp_0_0p9>;
376366a0a19SDouglas Anderson	vdda-phy-supply = <&vdd_a_edp_0_1p2>;
377366a0a19SDouglas Anderson};
378366a0a19SDouglas Anderson
379116f7cc4SDouglas Anderson&pcie1_phy {
380116f7cc4SDouglas Anderson	vdda-phy-supply = <&vreg_l10c_0p88>;
381116f7cc4SDouglas Anderson	vdda-pll-supply = <&vreg_l6b_1p2>;
382116f7cc4SDouglas Anderson};
383116f7cc4SDouglas Anderson
384366a0a19SDouglas Anderson&pm8350c_pwm {
385366a0a19SDouglas Anderson	pinctrl-names = "default";
386366a0a19SDouglas Anderson	pinctrl-0 = <&pmic_edp_bl_pwm>;
387366a0a19SDouglas Anderson};
388366a0a19SDouglas Anderson
389116f7cc4SDouglas Anderson&pmk8350_vadc {
390116f7cc4SDouglas Anderson	pmk8350-die-temp@3 {
391116f7cc4SDouglas Anderson		reg = <PMK8350_ADC7_DIE_TEMP>;
392116f7cc4SDouglas Anderson		label = "pmk8350_die_temp";
393116f7cc4SDouglas Anderson		qcom,pre-scaling = <1 1>;
394116f7cc4SDouglas Anderson	};
395116f7cc4SDouglas Anderson
396116f7cc4SDouglas Anderson	pmr735a-die-temp@403 {
397116f7cc4SDouglas Anderson		reg = <PMR735A_ADC7_DIE_TEMP>;
398116f7cc4SDouglas Anderson		label = "pmr735a_die_temp";
399116f7cc4SDouglas Anderson		qcom,pre-scaling = <1 1>;
400116f7cc4SDouglas Anderson	};
401116f7cc4SDouglas Anderson};
402116f7cc4SDouglas Anderson
403116f7cc4SDouglas Anderson&qfprom {
404116f7cc4SDouglas Anderson	vcc-supply = <&vdd_qfprom>;
405116f7cc4SDouglas Anderson};
406116f7cc4SDouglas Anderson
407116f7cc4SDouglas Anderson/* For eMMC. NOTE: not all Qcards have eMMC stuffed */
408116f7cc4SDouglas Anderson&sdhc_1 {
409116f7cc4SDouglas Anderson	vmmc-supply = <&vreg_l7b_2p5>;
410116f7cc4SDouglas Anderson	vqmmc-supply = <&vreg_l19b_1p8>;
411116f7cc4SDouglas Anderson
412116f7cc4SDouglas Anderson	non-removable;
413116f7cc4SDouglas Anderson	no-sd;
414116f7cc4SDouglas Anderson	no-sdio;
415116f7cc4SDouglas Anderson};
416116f7cc4SDouglas Anderson
417d5a959f9SSrinivasa Rao Mandadapu&swr0 {
418d5a959f9SSrinivasa Rao Mandadapu	wcd_rx: codec@0,4 {
419d5a959f9SSrinivasa Rao Mandadapu		compatible = "sdw20217010d00";
420d5a959f9SSrinivasa Rao Mandadapu		reg = <0 4>;
421d5a959f9SSrinivasa Rao Mandadapu		#sound-dai-cells = <1>;
422d5a959f9SSrinivasa Rao Mandadapu		qcom,rx-port-mapping = <1 2 3 4 5>;
423d5a959f9SSrinivasa Rao Mandadapu	};
424d5a959f9SSrinivasa Rao Mandadapu};
425d5a959f9SSrinivasa Rao Mandadapu
426d5a959f9SSrinivasa Rao Mandadapu&swr1 {
427d5a959f9SSrinivasa Rao Mandadapu	wcd_tx: codec@0,3 {
428d5a959f9SSrinivasa Rao Mandadapu		compatible = "sdw20217010d00";
429d5a959f9SSrinivasa Rao Mandadapu		reg = <0 3>;
430d5a959f9SSrinivasa Rao Mandadapu		#sound-dai-cells = <1>;
431d5a959f9SSrinivasa Rao Mandadapu		qcom,tx-port-mapping = <1 2 3 4>;
432d5a959f9SSrinivasa Rao Mandadapu	};
433d5a959f9SSrinivasa Rao Mandadapu};
434d5a959f9SSrinivasa Rao Mandadapu
435116f7cc4SDouglas Andersonuart_dbg: &uart5 {
436116f7cc4SDouglas Anderson	compatible = "qcom,geni-debug-uart";
437116f7cc4SDouglas Anderson	status = "okay";
438116f7cc4SDouglas Anderson};
439116f7cc4SDouglas Anderson
440116f7cc4SDouglas Andersonmos_bt_uart: &uart7 {
441116f7cc4SDouglas Anderson	status = "okay";
442116f7cc4SDouglas Anderson
443116f7cc4SDouglas Anderson	/delete-property/ interrupts;
444116f7cc4SDouglas Anderson	interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
445116f7cc4SDouglas Anderson				<&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
446116f7cc4SDouglas Anderson	pinctrl-names = "default", "sleep";
447116f7cc4SDouglas Anderson	pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>, <&qup_uart7_sleep_tx>, <&qup_uart7_sleep_rx>;
448116f7cc4SDouglas Anderson
449116f7cc4SDouglas Anderson	bluetooth: bluetooth {
450116f7cc4SDouglas Anderson		compatible = "qcom,wcn6750-bt";
451116f7cc4SDouglas Anderson		pinctrl-names = "default";
452116f7cc4SDouglas Anderson		pinctrl-0 = <&mos_bt_en>;
453116f7cc4SDouglas Anderson		enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
454116f7cc4SDouglas Anderson		swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
455116f7cc4SDouglas Anderson		vddaon-supply = <&vreg_s7b_0p952>;
456116f7cc4SDouglas Anderson		vddbtcxmx-supply = <&vreg_s7b_0p952>;
457116f7cc4SDouglas Anderson		vddrfacmn-supply = <&vreg_s7b_0p952>;
458116f7cc4SDouglas Anderson		vddrfa0p8-supply = <&vreg_s7b_0p952>;
459116f7cc4SDouglas Anderson		vddrfa1p7-supply = <&vdd19_pmu_rfa_i>;
460116f7cc4SDouglas Anderson		vddrfa1p2-supply = <&vdd13_pmu_rfa_i>;
461116f7cc4SDouglas Anderson		vddrfa2p2-supply = <&vreg_s1c_2p2>;
462116f7cc4SDouglas Anderson		vddasd-supply = <&vreg_l11c_2p8>;
463116f7cc4SDouglas Anderson		vddio-supply = <&vreg_l18b_1p8>;
464116f7cc4SDouglas Anderson		max-speed = <3200000>;
465116f7cc4SDouglas Anderson	};
466116f7cc4SDouglas Anderson};
467116f7cc4SDouglas Anderson
468116f7cc4SDouglas Anderson&usb_1_hsphy {
469116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbhs_core>;
470116f7cc4SDouglas Anderson	vdda33-supply = <&vdd_a_usbhs_3p1>;
471116f7cc4SDouglas Anderson	vdda18-supply = <&vdd_a_usbhs_1p8>;
472116f7cc4SDouglas Anderson};
473116f7cc4SDouglas Anderson
474116f7cc4SDouglas Anderson&usb_1_qmpphy {
475116f7cc4SDouglas Anderson	vdda-phy-supply = <&vdd_a_usbssdp_0_1p2>;
476116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbssdp_0_core>;
477116f7cc4SDouglas Anderson};
478116f7cc4SDouglas Anderson
479116f7cc4SDouglas Anderson&usb_2_hsphy {
480116f7cc4SDouglas Anderson	vdda-pll-supply = <&vdd_a_usbhs_core>;
481116f7cc4SDouglas Anderson	vdda33-supply = <&vdd_a_usbhs_3p1>;
482116f7cc4SDouglas Anderson	vdda18-supply = <&vdd_a_usbhs_1p8>;
483116f7cc4SDouglas Anderson};
484116f7cc4SDouglas Anderson
485116f7cc4SDouglas Anderson/*
486116f7cc4SDouglas Anderson * PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES
487116f7cc4SDouglas Anderson *
488116f7cc4SDouglas Anderson * NOTE: In general if pins leave the Qcard then the pinctrl goes in the
489116f7cc4SDouglas Anderson * baseboard or board device tree, not here.
490116f7cc4SDouglas Anderson */
491116f7cc4SDouglas Anderson
492366a0a19SDouglas Anderson/* No external pull for eDP HPD, so set the internal one. */
493366a0a19SDouglas Anderson&edp_hot_plug_det {
494366a0a19SDouglas Anderson	bias-pull-down;
495366a0a19SDouglas Anderson};
496366a0a19SDouglas Anderson
497116f7cc4SDouglas Anderson/*
498116f7cc4SDouglas Anderson * For ts_i2c
499116f7cc4SDouglas Anderson *
500116f7cc4SDouglas Anderson * Technically this i2c bus actually leaves the Qcard, but it leaves directly
501116f7cc4SDouglas Anderson * via the eDP connector (it doesn't hit the baseboard). The external pulls
502116f7cc4SDouglas Anderson * are on Qcard.
503116f7cc4SDouglas Anderson */
504116f7cc4SDouglas Anderson&qup_i2c13_data_clk {
505116f7cc4SDouglas Anderson	/* Has external pull */
506116f7cc4SDouglas Anderson	bias-disable;
507116f7cc4SDouglas Anderson	drive-strength = <2>;
508116f7cc4SDouglas Anderson};
509116f7cc4SDouglas Anderson
510116f7cc4SDouglas Anderson/* For mos_bt_uart */
511116f7cc4SDouglas Anderson&qup_uart7_cts {
5123d0e375bSVijaya Krishna Nivarthi	/*
5133d0e375bSVijaya Krishna Nivarthi	 * Configure a bias-bus-hold on CTS to lower power
5143d0e375bSVijaya Krishna Nivarthi	 * usage when Bluetooth is turned off. Bus hold will
5153d0e375bSVijaya Krishna Nivarthi	 * maintain a low power state regardless of whether
5163d0e375bSVijaya Krishna Nivarthi	 * the Bluetooth module drives the pin in either
5173d0e375bSVijaya Krishna Nivarthi	 * direction or leaves the pin fully unpowered.
5183d0e375bSVijaya Krishna Nivarthi	 */
5193d0e375bSVijaya Krishna Nivarthi	bias-bus-hold;
520116f7cc4SDouglas Anderson};
521116f7cc4SDouglas Anderson
522116f7cc4SDouglas Anderson/* For mos_bt_uart */
523116f7cc4SDouglas Anderson&qup_uart7_rts {
524116f7cc4SDouglas Anderson	/* We'll drive RTS, so no pull */
525116f7cc4SDouglas Anderson	bias-disable;
526116f7cc4SDouglas Anderson	drive-strength = <2>;
527116f7cc4SDouglas Anderson};
528116f7cc4SDouglas Anderson
529116f7cc4SDouglas Anderson/* For mos_bt_uart */
530116f7cc4SDouglas Anderson&qup_uart7_tx {
531116f7cc4SDouglas Anderson	/* We'll drive TX, so no pull */
532116f7cc4SDouglas Anderson	bias-disable;
533116f7cc4SDouglas Anderson	drive-strength = <2>;
534116f7cc4SDouglas Anderson};
535116f7cc4SDouglas Anderson
536116f7cc4SDouglas Anderson/* For mos_bt_uart */
537116f7cc4SDouglas Anderson&qup_uart7_rx {
538116f7cc4SDouglas Anderson	/*
539116f7cc4SDouglas Anderson	 * Configure a pull-up on RX. This is needed to avoid
540116f7cc4SDouglas Anderson	 * garbage data when the TX pin of the Bluetooth module is
541116f7cc4SDouglas Anderson	 * in tri-state (module powered off or not driving the
542116f7cc4SDouglas Anderson	 * signal yet).
543116f7cc4SDouglas Anderson	 */
544116f7cc4SDouglas Anderson	bias-pull-up;
545116f7cc4SDouglas Anderson};
546116f7cc4SDouglas Anderson
547116f7cc4SDouglas Anderson/* eMMC, if stuffed, is straight on the Qcard */
548116f7cc4SDouglas Anderson&sdc1_clk {
549116f7cc4SDouglas Anderson	bias-disable;
550116f7cc4SDouglas Anderson	drive-strength = <16>;
551116f7cc4SDouglas Anderson};
552116f7cc4SDouglas Anderson
553116f7cc4SDouglas Anderson&sdc1_cmd {
554116f7cc4SDouglas Anderson	bias-pull-up;
555116f7cc4SDouglas Anderson	drive-strength = <10>;
556116f7cc4SDouglas Anderson};
557116f7cc4SDouglas Anderson
558116f7cc4SDouglas Anderson&sdc1_data {
559116f7cc4SDouglas Anderson	bias-pull-up;
560116f7cc4SDouglas Anderson	drive-strength = <10>;
561116f7cc4SDouglas Anderson};
562116f7cc4SDouglas Anderson
563116f7cc4SDouglas Anderson&sdc1_rclk {
564116f7cc4SDouglas Anderson	bias-pull-down;
565116f7cc4SDouglas Anderson};
566116f7cc4SDouglas Anderson
567116f7cc4SDouglas Anderson/*
568116f7cc4SDouglas Anderson * PINCTRL - QCARD
569116f7cc4SDouglas Anderson *
570116f7cc4SDouglas Anderson * This has entries that are defined by Qcard even if they go to the main
571116f7cc4SDouglas Anderson * board. In cases where the pulls may be board dependent we defer those
572116f7cc4SDouglas Anderson * settings to the board device tree. Drive strengths tend to be assinged here
573116f7cc4SDouglas Anderson * but could conceivably be overwridden by board device trees.
574116f7cc4SDouglas Anderson */
575116f7cc4SDouglas Anderson
576116f7cc4SDouglas Anderson&pm8350c_gpios {
577ff36bed5SKrzysztof Kozlowski	pmic_edp_bl_en: pmic-edp-bl-en-state {
578116f7cc4SDouglas Anderson		pins = "gpio7";
579116f7cc4SDouglas Anderson		function = "normal";
580116f7cc4SDouglas Anderson		bias-disable;
581116f7cc4SDouglas Anderson		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
582116f7cc4SDouglas Anderson
583116f7cc4SDouglas Anderson		/* Force backlight to be disabled to match state at boot. */
584116f7cc4SDouglas Anderson		output-low;
585116f7cc4SDouglas Anderson	};
586116f7cc4SDouglas Anderson
587ff36bed5SKrzysztof Kozlowski	pmic_edp_bl_pwm: pmic-edp-bl-pwm-state {
588116f7cc4SDouglas Anderson		pins = "gpio8";
589116f7cc4SDouglas Anderson		function = "func1";
590116f7cc4SDouglas Anderson		bias-disable;
591116f7cc4SDouglas Anderson		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
592116f7cc4SDouglas Anderson		output-low;
593116f7cc4SDouglas Anderson		power-source = <0>;
594116f7cc4SDouglas Anderson	};
595116f7cc4SDouglas Anderson};
596116f7cc4SDouglas Anderson
597116f7cc4SDouglas Anderson&tlmm {
598*ec0872a6SKrzysztof Kozlowski	mos_bt_en: mos-bt-en-state {
599116f7cc4SDouglas Anderson		pins = "gpio85";
600116f7cc4SDouglas Anderson		function = "gpio";
601116f7cc4SDouglas Anderson		drive-strength = <2>;
602116f7cc4SDouglas Anderson		output-low;
603116f7cc4SDouglas Anderson	};
604116f7cc4SDouglas Anderson
605116f7cc4SDouglas Anderson	/* For mos_bt_uart */
606*ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_cts: qup-uart7-sleep-cts-state {
607116f7cc4SDouglas Anderson		pins = "gpio28";
608116f7cc4SDouglas Anderson		function = "gpio";
609116f7cc4SDouglas Anderson		/*
6103d0e375bSVijaya Krishna Nivarthi		 * Configure a bias-bus-hold on CTS to lower power
6113d0e375bSVijaya Krishna Nivarthi		 * usage when Bluetooth is turned off. Bus hold will
6123d0e375bSVijaya Krishna Nivarthi		 * maintain a low power state regardless of whether
6133d0e375bSVijaya Krishna Nivarthi		 * the Bluetooth module drives the pin in either
6143d0e375bSVijaya Krishna Nivarthi		 * direction or leaves the pin fully unpowered.
615116f7cc4SDouglas Anderson		 */
6163d0e375bSVijaya Krishna Nivarthi		bias-bus-hold;
617116f7cc4SDouglas Anderson	};
618116f7cc4SDouglas Anderson
619116f7cc4SDouglas Anderson	/* For mos_bt_uart */
620*ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_rts: qup-uart7-sleep-rts-state {
621116f7cc4SDouglas Anderson		pins = "gpio29";
622116f7cc4SDouglas Anderson		function = "gpio";
623116f7cc4SDouglas Anderson		/*
624116f7cc4SDouglas Anderson		 * Configure pull-down on RTS. As RTS is active low
625116f7cc4SDouglas Anderson		 * signal, pull it low to indicate the BT SoC that it
626116f7cc4SDouglas Anderson		 * can wakeup the system anytime from suspend state by
627116f7cc4SDouglas Anderson		 * pulling RX low (by sending wakeup bytes).
628116f7cc4SDouglas Anderson		 */
629116f7cc4SDouglas Anderson		bias-pull-down;
630116f7cc4SDouglas Anderson	};
631116f7cc4SDouglas Anderson
632116f7cc4SDouglas Anderson	/* For mos_bt_uart */
633*ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_rx: qup-uart7-sleep-rx-state {
634116f7cc4SDouglas Anderson		pins = "gpio31";
635116f7cc4SDouglas Anderson		function = "gpio";
636116f7cc4SDouglas Anderson		/*
637116f7cc4SDouglas Anderson		 * Configure a pull-up on RX. This is needed to avoid
638116f7cc4SDouglas Anderson		 * garbage data when the TX pin of the Bluetooth module
639116f7cc4SDouglas Anderson		 * is floating which may cause spurious wakeups.
640116f7cc4SDouglas Anderson		 */
641116f7cc4SDouglas Anderson		bias-pull-up;
642116f7cc4SDouglas Anderson	};
643116f7cc4SDouglas Anderson
644116f7cc4SDouglas Anderson	/* For mos_bt_uart */
645*ec0872a6SKrzysztof Kozlowski	qup_uart7_sleep_tx: qup-uart7-sleep-tx-state {
646116f7cc4SDouglas Anderson		pins = "gpio30";
647116f7cc4SDouglas Anderson		function = "gpio";
648116f7cc4SDouglas Anderson		/*
649116f7cc4SDouglas Anderson		 * Configure pull-up on TX when it isn't actively driven
650116f7cc4SDouglas Anderson		 * to prevent BT SoC from receiving garbage during sleep.
651116f7cc4SDouglas Anderson		 */
652116f7cc4SDouglas Anderson		bias-pull-up;
653116f7cc4SDouglas Anderson	};
654116f7cc4SDouglas Anderson
655*ec0872a6SKrzysztof Kozlowski	ts_int_conn: ts-int-conn-state {
656116f7cc4SDouglas Anderson		pins = "gpio55";
657116f7cc4SDouglas Anderson		function = "gpio";
658116f7cc4SDouglas Anderson		bias-pull-up;
659116f7cc4SDouglas Anderson	};
660116f7cc4SDouglas Anderson
661*ec0872a6SKrzysztof Kozlowski	ts_rst_conn: ts-rst-conn-state {
662116f7cc4SDouglas Anderson		pins = "gpio54";
663116f7cc4SDouglas Anderson		function = "gpio";
664116f7cc4SDouglas Anderson		drive-strength = <2>;
665116f7cc4SDouglas Anderson	};
6660a3a56a9SSrinivasa Rao Mandadapu
667*ec0872a6SKrzysztof Kozlowski	us_euro_hs_sel: us-euro-hs-sel-state {
6680a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio81";
6690a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6700a3a56a9SSrinivasa Rao Mandadapu		bias-pull-down;
6710a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <2>;
6720a3a56a9SSrinivasa Rao Mandadapu	};
6730a3a56a9SSrinivasa Rao Mandadapu
674*ec0872a6SKrzysztof Kozlowski	wcd_reset_n: wcd-reset-n-state {
6750a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio83";
6760a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6770a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <8>;
6780a3a56a9SSrinivasa Rao Mandadapu	};
6790a3a56a9SSrinivasa Rao Mandadapu
680*ec0872a6SKrzysztof Kozlowski	wcd_reset_n_sleep: wcd-reset-n-sleep-state {
6810a3a56a9SSrinivasa Rao Mandadapu		pins = "gpio83";
6820a3a56a9SSrinivasa Rao Mandadapu		function = "gpio";
6830a3a56a9SSrinivasa Rao Mandadapu		drive-strength = <8>;
6840a3a56a9SSrinivasa Rao Mandadapu		bias-disable;
6850a3a56a9SSrinivasa Rao Mandadapu	};
686116f7cc4SDouglas Anderson};
687