xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-msm8974pro-oneplus-bacon.dts (revision 455a4c46e023ab84263eae0fc7acca9a5ee8b7ac)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring#include "qcom-msm8974pro.dtsi"
3*455a4c46SDmitry Baryshkov#include "pm8841.dtsi"
4*455a4c46SDmitry Baryshkov#include "pm8941.dtsi"
5724ba675SRob Herring#include <dt-bindings/input/input.h>
6724ba675SRob Herring#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7724ba675SRob Herring
8724ba675SRob Herring/ {
9724ba675SRob Herring	model = "OnePlus One";
10724ba675SRob Herring	compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
11724ba675SRob Herring	chassis-type = "handset";
12724ba675SRob Herring	qcom,msm-id = <194 0x10000>;
13724ba675SRob Herring	qcom,board-id = <8 0>;
14724ba675SRob Herring
15724ba675SRob Herring	aliases {
16724ba675SRob Herring		serial0 = &blsp1_uart2;
17724ba675SRob Herring	};
18724ba675SRob Herring
19724ba675SRob Herring	chosen {
20724ba675SRob Herring		stdout-path = "serial0:115200n8";
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	gpio-keys {
24724ba675SRob Herring		compatible = "gpio-keys";
25724ba675SRob Herring
26724ba675SRob Herring		pinctrl-0 = <&gpio_keys_default>, <&gpio_hall_sensor_default>;
27724ba675SRob Herring		pinctrl-names = "default";
28724ba675SRob Herring
29724ba675SRob Herring		key-volume-down {
30724ba675SRob Herring			label = "Volume Down";
31724ba675SRob Herring			gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
32724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
33724ba675SRob Herring			wakeup-source;
34724ba675SRob Herring			debounce-interval = <15>;
35724ba675SRob Herring		};
36724ba675SRob Herring
37724ba675SRob Herring		key-volume-up {
38724ba675SRob Herring			label = "Volume Up";
39724ba675SRob Herring			gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
40724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
41724ba675SRob Herring			wakeup-source;
42724ba675SRob Herring			debounce-interval = <15>;
43724ba675SRob Herring		};
44724ba675SRob Herring
45724ba675SRob Herring		event-hall-sensor {
46724ba675SRob Herring			label = "Hall Effect Sensor";
47724ba675SRob Herring			gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
48724ba675SRob Herring			linux,input-type = <EV_SW>;
49724ba675SRob Herring			linux,code = <SW_LID>;
50724ba675SRob Herring			linux,can-disable;
51724ba675SRob Herring			debounce-interval = <150>;
52724ba675SRob Herring		};
53724ba675SRob Herring	};
54724ba675SRob Herring};
55724ba675SRob Herring
56724ba675SRob Herring&blsp1_i2c1 {
57724ba675SRob Herring	status = "okay";
58724ba675SRob Herring
59724ba675SRob Herring	fuel-gauge@55 {
60724ba675SRob Herring		compatible = "ti,bq27541";
61724ba675SRob Herring		reg = <0x55>;
62724ba675SRob Herring		power-supplies = <&bq24196_charger>;
63724ba675SRob Herring	};
64724ba675SRob Herring};
65724ba675SRob Herring
66724ba675SRob Herring&blsp1_i2c2 {
67724ba675SRob Herring	status = "okay";
68724ba675SRob Herring
69724ba675SRob Herring	rmi4-i2c-dev@20 {
70724ba675SRob Herring		compatible = "syna,rmi4-i2c";
71724ba675SRob Herring		reg = <0x20>;
72724ba675SRob Herring
73724ba675SRob Herring		syna,startup-delay-ms = <100>;
74724ba675SRob Herring
75724ba675SRob Herring		interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
76724ba675SRob Herring		vdd-supply = <&pm8941_l22>;
77724ba675SRob Herring		vio-supply = <&pm8941_lvs3>;
78724ba675SRob Herring
79724ba675SRob Herring		pinctrl-names = "default";
80724ba675SRob Herring		pinctrl-0 = <&touch_default_state>;
81724ba675SRob Herring
82724ba675SRob Herring		#address-cells = <1>;
83724ba675SRob Herring		#size-cells = <0>;
84724ba675SRob Herring
85724ba675SRob Herring		rmi4-f01@1 {
86724ba675SRob Herring			reg = <0x1>;
87724ba675SRob Herring			syna,nosleep-mode = <1>;
88724ba675SRob Herring		};
89724ba675SRob Herring
90724ba675SRob Herring		rmi4-f12@12 {
91724ba675SRob Herring			reg = <0x12>;
92724ba675SRob Herring			syna,sensor-type = <1>;
93724ba675SRob Herring			/*
94724ba675SRob Herring			 * Touchscreen size is 2040x1080, y-values between
95724ba675SRob Herring			 * 1920-2040 are used for touchkey (menu, home & back).
96724ba675SRob Herring			 * For now clip it off so we don't get touch events
97724ba675SRob Herring			 * outside of the display area.
98724ba675SRob Herring			 */
99724ba675SRob Herring			syna,clip-y-high = <1920>;
100724ba675SRob Herring		};
101724ba675SRob Herring	};
102724ba675SRob Herring
103724ba675SRob Herring	led-controller@36 {
104724ba675SRob Herring		compatible = "ti,lm3630a";
105724ba675SRob Herring		reg = <0x36>;
106724ba675SRob Herring
107724ba675SRob Herring		#address-cells = <1>;
108724ba675SRob Herring		#size-cells = <0>;
109724ba675SRob Herring
110724ba675SRob Herring		led@0 {
111724ba675SRob Herring			reg = <0>;
112724ba675SRob Herring			led-sources = <0 1>;
113724ba675SRob Herring			label = "lcd-backlight";
114724ba675SRob Herring			default-brightness = <80>;
115724ba675SRob Herring		};
116724ba675SRob Herring	};
117724ba675SRob Herring
118724ba675SRob Herring	led-controller@68 {
119724ba675SRob Herring		compatible = "si-en,sn3193";
120724ba675SRob Herring		reg = <0x68>;
121724ba675SRob Herring
122724ba675SRob Herring		shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
123724ba675SRob Herring
124724ba675SRob Herring		#address-cells = <1>;
125724ba675SRob Herring		#size-cells = <0>;
126724ba675SRob Herring
127724ba675SRob Herring		led@1 {
128724ba675SRob Herring			reg = <1>;
129724ba675SRob Herring			label = "red:status";
130724ba675SRob Herring			led-max-microamp = <17500>;
131724ba675SRob Herring		};
132724ba675SRob Herring
133724ba675SRob Herring		led@2 {
134724ba675SRob Herring			reg = <2>;
135724ba675SRob Herring			label = "green:status";
136724ba675SRob Herring			led-max-microamp = <17500>;
137724ba675SRob Herring		};
138724ba675SRob Herring
139724ba675SRob Herring		led@3 {
140724ba675SRob Herring			reg = <3>;
141724ba675SRob Herring			label = "blue:status";
142724ba675SRob Herring			led-max-microamp = <17500>;
143724ba675SRob Herring		};
144724ba675SRob Herring	};
145724ba675SRob Herring};
146724ba675SRob Herring
147724ba675SRob Herring&blsp1_i2c6 {
148724ba675SRob Herring	status = "okay";
149724ba675SRob Herring
150724ba675SRob Herring	bq24196_charger: charger@6b {
151724ba675SRob Herring		compatible = "ti,bq24196";
152724ba675SRob Herring		reg = <0x6b>;
153724ba675SRob Herring		interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
154724ba675SRob Herring		omit-battery-class;
155724ba675SRob Herring	};
156724ba675SRob Herring};
157724ba675SRob Herring
158724ba675SRob Herring&blsp1_uart2 {
159724ba675SRob Herring	status = "okay";
160724ba675SRob Herring};
161724ba675SRob Herring
162724ba675SRob Herring&gcc {
163724ba675SRob Herring	compatible = "qcom,gcc-msm8974pro-ac";
164724ba675SRob Herring};
165724ba675SRob Herring
166724ba675SRob Herring&pm8941_coincell {
167724ba675SRob Herring	qcom,rset-ohms = <800>;
168724ba675SRob Herring	qcom,vset-millivolts = <3200>;
169724ba675SRob Herring
170724ba675SRob Herring	status = "okay";
171724ba675SRob Herring};
172724ba675SRob Herring
173724ba675SRob Herring&pm8941_gpios {
174724ba675SRob Herring	gpio_keys_default: gpio-keys-active-state {
175724ba675SRob Herring		pins = "gpio2", "gpio5";
176724ba675SRob Herring		function = "normal";
177724ba675SRob Herring		input-enable;
178724ba675SRob Herring		bias-disable;
179724ba675SRob Herring		power-source = <PM8941_GPIO_S3>;
180724ba675SRob Herring	};
181724ba675SRob Herring};
182724ba675SRob Herring
183724ba675SRob Herring&pm8941_vib {
184724ba675SRob Herring	status = "okay";
185724ba675SRob Herring};
186724ba675SRob Herring
187724ba675SRob Herring&pronto {
188724ba675SRob Herring	vddmx-supply = <&pm8841_s1>;
189724ba675SRob Herring	vddcx-supply = <&pm8841_s2>;
190724ba675SRob Herring	vddpx-supply = <&pm8941_s3>;
191724ba675SRob Herring
192724ba675SRob Herring	pinctrl-names = "default";
193724ba675SRob Herring	pinctrl-0 = <&wcnss_pin_a>;
194724ba675SRob Herring
195724ba675SRob Herring	status = "okay";
196724ba675SRob Herring
197724ba675SRob Herring	iris {
198724ba675SRob Herring		vddxo-supply = <&pm8941_l6>;
199724ba675SRob Herring		vddrfa-supply = <&pm8941_l11>;
200724ba675SRob Herring		vddpa-supply = <&pm8941_l19>;
201724ba675SRob Herring		vdddig-supply = <&pm8941_s3>;
202724ba675SRob Herring	};
203724ba675SRob Herring
204724ba675SRob Herring	smd-edge {
205724ba675SRob Herring		qcom,remote-pid = <4>;
206724ba675SRob Herring		label = "pronto";
207724ba675SRob Herring
208724ba675SRob Herring		wcnss {
209724ba675SRob Herring			status = "okay";
210724ba675SRob Herring		};
211724ba675SRob Herring	};
212724ba675SRob Herring};
213724ba675SRob Herring
214724ba675SRob Herring&remoteproc_adsp {
215724ba675SRob Herring	cx-supply = <&pm8841_s2>;
216724ba675SRob Herring
217724ba675SRob Herring	status = "okay";
218724ba675SRob Herring};
219724ba675SRob Herring
220724ba675SRob Herring&rpm_requests {
221724ba675SRob Herring	regulators-0 {
222724ba675SRob Herring		compatible = "qcom,rpm-pm8841-regulators";
223724ba675SRob Herring
224724ba675SRob Herring		pm8841_s1: s1 {
225724ba675SRob Herring			regulator-min-microvolt = <675000>;
226724ba675SRob Herring			regulator-max-microvolt = <1050000>;
227724ba675SRob Herring		};
228724ba675SRob Herring
229724ba675SRob Herring		pm8841_s2: s2 {
230724ba675SRob Herring			regulator-min-microvolt = <875000>;
231724ba675SRob Herring			regulator-max-microvolt = <1050000>;
232724ba675SRob Herring			regulator-always-on;
233724ba675SRob Herring		};
234724ba675SRob Herring
235724ba675SRob Herring		pm8841_s3: s3 {
236724ba675SRob Herring			regulator-min-microvolt = <1050000>;
237724ba675SRob Herring			regulator-max-microvolt = <1050000>;
238724ba675SRob Herring		};
239724ba675SRob Herring	};
240724ba675SRob Herring
241724ba675SRob Herring	regulators-1 {
242724ba675SRob Herring		compatible = "qcom,rpm-pm8941-regulators";
243724ba675SRob Herring
244724ba675SRob Herring		vdd_l1_l3-supply = <&pm8941_s1>;
245724ba675SRob Herring		vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
246724ba675SRob Herring		vdd_l4_l11-supply = <&pm8941_s1>;
247724ba675SRob Herring		vdd_l5_l7-supply = <&pm8941_s2>;
248724ba675SRob Herring		vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
249724ba675SRob Herring		vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
250724ba675SRob Herring		vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
251724ba675SRob Herring		vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
252724ba675SRob Herring		vdd_l21-supply = <&vreg_boost>;
253724ba675SRob Herring
254724ba675SRob Herring		pm8941_s1: s1 {
255724ba675SRob Herring			regulator-min-microvolt = <1300000>;
256724ba675SRob Herring			regulator-max-microvolt = <1300000>;
257724ba675SRob Herring
258724ba675SRob Herring			regulator-always-on;
259724ba675SRob Herring			regulator-boot-on;
260724ba675SRob Herring		};
261724ba675SRob Herring
262724ba675SRob Herring		pm8941_s2: s2 {
263724ba675SRob Herring			regulator-min-microvolt = <2150000>;
264724ba675SRob Herring			regulator-max-microvolt = <2150000>;
265724ba675SRob Herring
266724ba675SRob Herring			regulator-boot-on;
267724ba675SRob Herring		};
268724ba675SRob Herring
269724ba675SRob Herring		pm8941_s3: s3 {
270724ba675SRob Herring			regulator-min-microvolt = <1800000>;
271724ba675SRob Herring			regulator-max-microvolt = <1800000>;
272724ba675SRob Herring			regulator-system-load = <154000>;
273724ba675SRob Herring
274724ba675SRob Herring			regulator-always-on;
275724ba675SRob Herring			regulator-boot-on;
276724ba675SRob Herring			regulator-allow-set-load;
277724ba675SRob Herring		};
278724ba675SRob Herring
279724ba675SRob Herring		pm8941_l1: l1 {
280724ba675SRob Herring			regulator-min-microvolt = <1225000>;
281724ba675SRob Herring			regulator-max-microvolt = <1225000>;
282724ba675SRob Herring
283724ba675SRob Herring			regulator-always-on;
284724ba675SRob Herring			regulator-boot-on;
285724ba675SRob Herring		};
286724ba675SRob Herring
287724ba675SRob Herring		pm8941_l2: l2 {
288724ba675SRob Herring			regulator-min-microvolt = <1200000>;
289724ba675SRob Herring			regulator-max-microvolt = <1200000>;
290724ba675SRob Herring		};
291724ba675SRob Herring
292724ba675SRob Herring		pm8941_l3: l3 {
293724ba675SRob Herring			regulator-min-microvolt = <1225000>;
294724ba675SRob Herring			regulator-max-microvolt = <1225000>;
295724ba675SRob Herring		};
296724ba675SRob Herring
297724ba675SRob Herring		pm8941_l4: l4 {
298724ba675SRob Herring			regulator-min-microvolt = <1225000>;
299724ba675SRob Herring			regulator-max-microvolt = <1225000>;
300724ba675SRob Herring		};
301724ba675SRob Herring
302724ba675SRob Herring		pm8941_l5: l5 {
303724ba675SRob Herring			regulator-min-microvolt = <1800000>;
304724ba675SRob Herring			regulator-max-microvolt = <1800000>;
305724ba675SRob Herring		};
306724ba675SRob Herring
307724ba675SRob Herring		pm8941_l6: l6 {
308724ba675SRob Herring			regulator-min-microvolt = <1800000>;
309724ba675SRob Herring			regulator-max-microvolt = <1800000>;
310724ba675SRob Herring
311724ba675SRob Herring			regulator-boot-on;
312724ba675SRob Herring		};
313724ba675SRob Herring
314724ba675SRob Herring		pm8941_l7: l7 {
315724ba675SRob Herring			regulator-min-microvolt = <1800000>;
316724ba675SRob Herring			regulator-max-microvolt = <1800000>;
317724ba675SRob Herring
318724ba675SRob Herring			regulator-boot-on;
319724ba675SRob Herring		};
320724ba675SRob Herring
321724ba675SRob Herring		pm8941_l8: l8 {
322724ba675SRob Herring			regulator-min-microvolt = <1800000>;
323724ba675SRob Herring			regulator-max-microvolt = <1800000>;
324724ba675SRob Herring		};
325724ba675SRob Herring
326724ba675SRob Herring		pm8941_l9: l9 {
327724ba675SRob Herring			regulator-min-microvolt = <1800000>;
328724ba675SRob Herring			regulator-max-microvolt = <2950000>;
329724ba675SRob Herring		};
330724ba675SRob Herring
331724ba675SRob Herring		pm8941_l10: l10 {
332724ba675SRob Herring			regulator-min-microvolt = <1800000>;
333724ba675SRob Herring			regulator-max-microvolt = <2950000>;
334724ba675SRob Herring		};
335724ba675SRob Herring
336724ba675SRob Herring		pm8941_l11: l11 {
337724ba675SRob Herring			regulator-min-microvolt = <1225000>;
338724ba675SRob Herring			regulator-max-microvolt = <1350000>;
339724ba675SRob Herring		};
340724ba675SRob Herring
341724ba675SRob Herring		pm8941_l12: l12 {
342724ba675SRob Herring			regulator-min-microvolt = <1800000>;
343724ba675SRob Herring			regulator-max-microvolt = <1800000>;
344724ba675SRob Herring
345724ba675SRob Herring			regulator-always-on;
346724ba675SRob Herring			regulator-boot-on;
347724ba675SRob Herring			regulator-allow-set-load;
348724ba675SRob Herring		};
349724ba675SRob Herring
350724ba675SRob Herring		pm8941_l13: l13 {
351724ba675SRob Herring			regulator-min-microvolt = <1800000>;
352724ba675SRob Herring			regulator-max-microvolt = <2950000>;
353724ba675SRob Herring
354724ba675SRob Herring			regulator-boot-on;
355724ba675SRob Herring		};
356724ba675SRob Herring
357724ba675SRob Herring		pm8941_l14: l14 {
358724ba675SRob Herring			regulator-min-microvolt = <1800000>;
359724ba675SRob Herring			regulator-max-microvolt = <1800000>;
360724ba675SRob Herring		};
361724ba675SRob Herring
362724ba675SRob Herring		pm8941_l15: l15 {
363724ba675SRob Herring			regulator-min-microvolt = <2050000>;
364724ba675SRob Herring			regulator-max-microvolt = <2050000>;
365724ba675SRob Herring		};
366724ba675SRob Herring
367724ba675SRob Herring		pm8941_l16: l16 {
368724ba675SRob Herring			regulator-min-microvolt = <2700000>;
369724ba675SRob Herring			regulator-max-microvolt = <2700000>;
370724ba675SRob Herring		};
371724ba675SRob Herring
372724ba675SRob Herring		pm8941_l17: l17 {
373724ba675SRob Herring			regulator-min-microvolt = <2850000>;
374724ba675SRob Herring			regulator-max-microvolt = <2850000>;
375724ba675SRob Herring		};
376724ba675SRob Herring
377724ba675SRob Herring		pm8941_l18: l18 {
378724ba675SRob Herring			regulator-min-microvolt = <2850000>;
379724ba675SRob Herring			regulator-max-microvolt = <2850000>;
380724ba675SRob Herring		};
381724ba675SRob Herring
382724ba675SRob Herring		pm8941_l19: l19 {
383724ba675SRob Herring			regulator-min-microvolt = <2900000>;
384724ba675SRob Herring			regulator-max-microvolt = <3350000>;
385724ba675SRob Herring		};
386724ba675SRob Herring
387724ba675SRob Herring		pm8941_l20: l20 {
388724ba675SRob Herring			regulator-min-microvolt = <2950000>;
389724ba675SRob Herring			regulator-max-microvolt = <2950000>;
390724ba675SRob Herring
391724ba675SRob Herring			regulator-system-load = <200000>;
392724ba675SRob Herring			regulator-allow-set-load;
393724ba675SRob Herring			regulator-boot-on;
394724ba675SRob Herring		};
395724ba675SRob Herring
396724ba675SRob Herring		pm8941_l21: l21 {
397724ba675SRob Herring			regulator-min-microvolt = <2950000>;
398724ba675SRob Herring			regulator-max-microvolt = <2950000>;
399724ba675SRob Herring
400724ba675SRob Herring			regulator-boot-on;
401724ba675SRob Herring		};
402724ba675SRob Herring
403724ba675SRob Herring		pm8941_l22: l22 {
404724ba675SRob Herring			regulator-min-microvolt = <3000000>;
405724ba675SRob Herring			regulator-max-microvolt = <3000000>;
406724ba675SRob Herring			regulator-allow-set-load;
407724ba675SRob Herring		};
408724ba675SRob Herring
409724ba675SRob Herring		pm8941_l23: l23 {
410724ba675SRob Herring			regulator-min-microvolt = <3000000>;
411724ba675SRob Herring			regulator-max-microvolt = <3000000>;
412724ba675SRob Herring		};
413724ba675SRob Herring
414724ba675SRob Herring		pm8941_l24: l24 {
415724ba675SRob Herring			regulator-min-microvolt = <3075000>;
416724ba675SRob Herring			regulator-max-microvolt = <3075000>;
417724ba675SRob Herring
418724ba675SRob Herring			regulator-boot-on;
419724ba675SRob Herring		};
420724ba675SRob Herring
421724ba675SRob Herring		pm8941_lvs3: lvs3 {};
422724ba675SRob Herring	};
423724ba675SRob Herring};
424724ba675SRob Herring
425724ba675SRob Herring&sdhc_1 {
426724ba675SRob Herring	vmmc-supply = <&pm8941_l20>;
427724ba675SRob Herring	vqmmc-supply = <&pm8941_s3>;
428724ba675SRob Herring
429724ba675SRob Herring	pinctrl-names = "default", "sleep";
430724ba675SRob Herring	pinctrl-0 = <&sdc1_on>;
431724ba675SRob Herring	pinctrl-1 = <&sdc1_off>;
432724ba675SRob Herring
433724ba675SRob Herring	status = "okay";
434724ba675SRob Herring};
435724ba675SRob Herring
436724ba675SRob Herring&tlmm {
437724ba675SRob Herring	gpio_hall_sensor_default: gpio-hall-sensor-default-state {
438724ba675SRob Herring		pins = "gpio68";
439724ba675SRob Herring		function = "gpio";
440724ba675SRob Herring		drive-strength = <8>;
441724ba675SRob Herring		bias-pull-up;
442724ba675SRob Herring	};
443724ba675SRob Herring
444724ba675SRob Herring	sdc1_on: sdc1-on-state {
445724ba675SRob Herring		clk-pins {
446724ba675SRob Herring			pins = "sdc1_clk";
447724ba675SRob Herring			drive-strength = <4>;
448724ba675SRob Herring			bias-disable;
449724ba675SRob Herring		};
450724ba675SRob Herring
451724ba675SRob Herring		cmd-data-pins {
452724ba675SRob Herring			pins = "sdc1_cmd", "sdc1_data";
453724ba675SRob Herring			drive-strength = <4>;
454724ba675SRob Herring			bias-pull-up;
455724ba675SRob Herring		};
456724ba675SRob Herring	};
457724ba675SRob Herring
458724ba675SRob Herring	touch_default_state: touch-default-state {
459724ba675SRob Herring		int-pins {
460724ba675SRob Herring			pins = "gpio61";
461724ba675SRob Herring			function = "gpio";
462724ba675SRob Herring			drive-strength = <2>;
463724ba675SRob Herring			bias-disable;
464724ba675SRob Herring		};
465724ba675SRob Herring
466724ba675SRob Herring		reset-pins {
467724ba675SRob Herring			pins = "gpio60";
468724ba675SRob Herring			function = "gpio";
469724ba675SRob Herring			drive-strength = <2>;
470724ba675SRob Herring			bias-pull-up;
471724ba675SRob Herring		};
472724ba675SRob Herring	};
473724ba675SRob Herring
474724ba675SRob Herring	wcnss_pin_a: wcnss-pin-active-state {
475724ba675SRob Herring		wlan-pins {
476724ba675SRob Herring			pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
477724ba675SRob Herring			function = "wlan";
478724ba675SRob Herring			drive-strength = <6>;
479724ba675SRob Herring			bias-pull-down;
480724ba675SRob Herring		};
481724ba675SRob Herring
482724ba675SRob Herring		bt-pins {
483724ba675SRob Herring			pins = "gpio35", "gpio43", "gpio44";
484724ba675SRob Herring			function = "bt";
485724ba675SRob Herring			drive-strength = <2>;
486724ba675SRob Herring			bias-pull-down;
487724ba675SRob Herring		};
488724ba675SRob Herring	};
489724ba675SRob Herring};
490724ba675SRob Herring
491724ba675SRob Herring&usb {
492724ba675SRob Herring	phys = <&usb_hs1_phy>;
493724ba675SRob Herring	phy-select = <&tcsr 0xb000 0>;
494724ba675SRob Herring	extcon = <&smbb>, <&usb_id>;
495724ba675SRob Herring	vbus-supply = <&chg_otg>;
496724ba675SRob Herring
497724ba675SRob Herring	hnp-disable;
498724ba675SRob Herring	srp-disable;
499724ba675SRob Herring	adp-disable;
500724ba675SRob Herring
501724ba675SRob Herring	status = "okay";
502724ba675SRob Herring};
503724ba675SRob Herring
504724ba675SRob Herring&usb_hs1_phy {
505724ba675SRob Herring	status = "okay";
506724ba675SRob Herring
507724ba675SRob Herring	v1p8-supply = <&pm8941_l6>;
508724ba675SRob Herring	v3p3-supply = <&pm8941_l24>;
509724ba675SRob Herring
510724ba675SRob Herring	extcon = <&smbb>;
511724ba675SRob Herring	qcom,init-seq = /bits/ 8 <0x1 0x64>;
512724ba675SRob Herring};
513