xref: /openbmc/linux/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring#include "qcom-msm8974pro.dtsi"
3*724ba675SRob Herring#include "qcom-pm8841.dtsi"
4*724ba675SRob Herring#include "qcom-pm8941.dtsi"
5*724ba675SRob Herring#include <dt-bindings/input/input.h>
6*724ba675SRob Herring#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7*724ba675SRob Herring
8*724ba675SRob Herring/ {
9*724ba675SRob Herring	model = "OnePlus One";
10*724ba675SRob Herring	compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
11*724ba675SRob Herring	chassis-type = "handset";
12*724ba675SRob Herring	qcom,msm-id = <194 0x10000>;
13*724ba675SRob Herring	qcom,board-id = <8 0>;
14*724ba675SRob Herring
15*724ba675SRob Herring	aliases {
16*724ba675SRob Herring		serial0 = &blsp1_uart2;
17*724ba675SRob Herring	};
18*724ba675SRob Herring
19*724ba675SRob Herring	chosen {
20*724ba675SRob Herring		stdout-path = "serial0:115200n8";
21*724ba675SRob Herring	};
22*724ba675SRob Herring
23*724ba675SRob Herring	gpio-keys {
24*724ba675SRob Herring		compatible = "gpio-keys";
25*724ba675SRob Herring
26*724ba675SRob Herring		pinctrl-0 = <&gpio_keys_default>, <&gpio_hall_sensor_default>;
27*724ba675SRob Herring		pinctrl-names = "default";
28*724ba675SRob Herring
29*724ba675SRob Herring		key-volume-down {
30*724ba675SRob Herring			label = "Volume Down";
31*724ba675SRob Herring			gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
32*724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
33*724ba675SRob Herring			wakeup-source;
34*724ba675SRob Herring			debounce-interval = <15>;
35*724ba675SRob Herring		};
36*724ba675SRob Herring
37*724ba675SRob Herring		key-volume-up {
38*724ba675SRob Herring			label = "Volume Up";
39*724ba675SRob Herring			gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
40*724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
41*724ba675SRob Herring			wakeup-source;
42*724ba675SRob Herring			debounce-interval = <15>;
43*724ba675SRob Herring		};
44*724ba675SRob Herring
45*724ba675SRob Herring		event-hall-sensor {
46*724ba675SRob Herring			label = "Hall Effect Sensor";
47*724ba675SRob Herring			gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
48*724ba675SRob Herring			linux,input-type = <EV_SW>;
49*724ba675SRob Herring			linux,code = <SW_LID>;
50*724ba675SRob Herring			linux,can-disable;
51*724ba675SRob Herring			debounce-interval = <150>;
52*724ba675SRob Herring		};
53*724ba675SRob Herring	};
54*724ba675SRob Herring};
55*724ba675SRob Herring
56*724ba675SRob Herring&blsp1_i2c1 {
57*724ba675SRob Herring	status = "okay";
58*724ba675SRob Herring
59*724ba675SRob Herring	fuel-gauge@55 {
60*724ba675SRob Herring		compatible = "ti,bq27541";
61*724ba675SRob Herring		reg = <0x55>;
62*724ba675SRob Herring		power-supplies = <&bq24196_charger>;
63*724ba675SRob Herring	};
64*724ba675SRob Herring};
65*724ba675SRob Herring
66*724ba675SRob Herring&blsp1_i2c2 {
67*724ba675SRob Herring	status = "okay";
68*724ba675SRob Herring
69*724ba675SRob Herring	rmi4-i2c-dev@20 {
70*724ba675SRob Herring		compatible = "syna,rmi4-i2c";
71*724ba675SRob Herring		reg = <0x20>;
72*724ba675SRob Herring
73*724ba675SRob Herring		syna,startup-delay-ms = <100>;
74*724ba675SRob Herring
75*724ba675SRob Herring		interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
76*724ba675SRob Herring		vdd-supply = <&pm8941_l22>;
77*724ba675SRob Herring		vio-supply = <&pm8941_lvs3>;
78*724ba675SRob Herring
79*724ba675SRob Herring		pinctrl-names = "default";
80*724ba675SRob Herring		pinctrl-0 = <&touch_default_state>;
81*724ba675SRob Herring
82*724ba675SRob Herring		#address-cells = <1>;
83*724ba675SRob Herring		#size-cells = <0>;
84*724ba675SRob Herring
85*724ba675SRob Herring		rmi4-f01@1 {
86*724ba675SRob Herring			reg = <0x1>;
87*724ba675SRob Herring			syna,nosleep-mode = <1>;
88*724ba675SRob Herring		};
89*724ba675SRob Herring
90*724ba675SRob Herring		rmi4-f12@12 {
91*724ba675SRob Herring			reg = <0x12>;
92*724ba675SRob Herring			syna,sensor-type = <1>;
93*724ba675SRob Herring			/*
94*724ba675SRob Herring			 * Touchscreen size is 2040x1080, y-values between
95*724ba675SRob Herring			 * 1920-2040 are used for touchkey (menu, home & back).
96*724ba675SRob Herring			 * For now clip it off so we don't get touch events
97*724ba675SRob Herring			 * outside of the display area.
98*724ba675SRob Herring			 */
99*724ba675SRob Herring			syna,clip-y-high = <1920>;
100*724ba675SRob Herring		};
101*724ba675SRob Herring	};
102*724ba675SRob Herring
103*724ba675SRob Herring	led-controller@36 {
104*724ba675SRob Herring		compatible = "ti,lm3630a";
105*724ba675SRob Herring		reg = <0x36>;
106*724ba675SRob Herring
107*724ba675SRob Herring		#address-cells = <1>;
108*724ba675SRob Herring		#size-cells = <0>;
109*724ba675SRob Herring
110*724ba675SRob Herring		led@0 {
111*724ba675SRob Herring			reg = <0>;
112*724ba675SRob Herring			led-sources = <0 1>;
113*724ba675SRob Herring			label = "lcd-backlight";
114*724ba675SRob Herring			default-brightness = <80>;
115*724ba675SRob Herring		};
116*724ba675SRob Herring	};
117*724ba675SRob Herring
118*724ba675SRob Herring	led-controller@68 {
119*724ba675SRob Herring		compatible = "si-en,sn3193";
120*724ba675SRob Herring		reg = <0x68>;
121*724ba675SRob Herring
122*724ba675SRob Herring		shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
123*724ba675SRob Herring
124*724ba675SRob Herring		#address-cells = <1>;
125*724ba675SRob Herring		#size-cells = <0>;
126*724ba675SRob Herring
127*724ba675SRob Herring		led@1 {
128*724ba675SRob Herring			reg = <1>;
129*724ba675SRob Herring			label = "red:status";
130*724ba675SRob Herring			led-max-microamp = <17500>;
131*724ba675SRob Herring		};
132*724ba675SRob Herring
133*724ba675SRob Herring		led@2 {
134*724ba675SRob Herring			reg = <2>;
135*724ba675SRob Herring			label = "green:status";
136*724ba675SRob Herring			led-max-microamp = <17500>;
137*724ba675SRob Herring		};
138*724ba675SRob Herring
139*724ba675SRob Herring		led@3 {
140*724ba675SRob Herring			reg = <3>;
141*724ba675SRob Herring			label = "blue:status";
142*724ba675SRob Herring			led-max-microamp = <17500>;
143*724ba675SRob Herring		};
144*724ba675SRob Herring	};
145*724ba675SRob Herring};
146*724ba675SRob Herring
147*724ba675SRob Herring&blsp1_i2c6 {
148*724ba675SRob Herring	status = "okay";
149*724ba675SRob Herring
150*724ba675SRob Herring	bq24196_charger: charger@6b {
151*724ba675SRob Herring		compatible = "ti,bq24196";
152*724ba675SRob Herring		reg = <0x6b>;
153*724ba675SRob Herring		interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
154*724ba675SRob Herring		omit-battery-class;
155*724ba675SRob Herring	};
156*724ba675SRob Herring};
157*724ba675SRob Herring
158*724ba675SRob Herring&blsp1_uart2 {
159*724ba675SRob Herring	status = "okay";
160*724ba675SRob Herring};
161*724ba675SRob Herring
162*724ba675SRob Herring&gcc {
163*724ba675SRob Herring	compatible = "qcom,gcc-msm8974pro-ac";
164*724ba675SRob Herring};
165*724ba675SRob Herring
166*724ba675SRob Herring&pm8941_coincell {
167*724ba675SRob Herring	qcom,rset-ohms = <800>;
168*724ba675SRob Herring	qcom,vset-millivolts = <3200>;
169*724ba675SRob Herring
170*724ba675SRob Herring	status = "okay";
171*724ba675SRob Herring};
172*724ba675SRob Herring
173*724ba675SRob Herring&pm8941_gpios {
174*724ba675SRob Herring	gpio_keys_default: gpio-keys-active-state {
175*724ba675SRob Herring		pins = "gpio2", "gpio5";
176*724ba675SRob Herring		function = "normal";
177*724ba675SRob Herring		input-enable;
178*724ba675SRob Herring		bias-disable;
179*724ba675SRob Herring		power-source = <PM8941_GPIO_S3>;
180*724ba675SRob Herring	};
181*724ba675SRob Herring};
182*724ba675SRob Herring
183*724ba675SRob Herring&pm8941_vib {
184*724ba675SRob Herring	status = "okay";
185*724ba675SRob Herring};
186*724ba675SRob Herring
187*724ba675SRob Herring&pronto {
188*724ba675SRob Herring	vddmx-supply = <&pm8841_s1>;
189*724ba675SRob Herring	vddcx-supply = <&pm8841_s2>;
190*724ba675SRob Herring	vddpx-supply = <&pm8941_s3>;
191*724ba675SRob Herring
192*724ba675SRob Herring	pinctrl-names = "default";
193*724ba675SRob Herring	pinctrl-0 = <&wcnss_pin_a>;
194*724ba675SRob Herring
195*724ba675SRob Herring	status = "okay";
196*724ba675SRob Herring
197*724ba675SRob Herring	iris {
198*724ba675SRob Herring		vddxo-supply = <&pm8941_l6>;
199*724ba675SRob Herring		vddrfa-supply = <&pm8941_l11>;
200*724ba675SRob Herring		vddpa-supply = <&pm8941_l19>;
201*724ba675SRob Herring		vdddig-supply = <&pm8941_s3>;
202*724ba675SRob Herring	};
203*724ba675SRob Herring
204*724ba675SRob Herring	smd-edge {
205*724ba675SRob Herring		qcom,remote-pid = <4>;
206*724ba675SRob Herring		label = "pronto";
207*724ba675SRob Herring
208*724ba675SRob Herring		wcnss {
209*724ba675SRob Herring			status = "okay";
210*724ba675SRob Herring		};
211*724ba675SRob Herring	};
212*724ba675SRob Herring};
213*724ba675SRob Herring
214*724ba675SRob Herring&remoteproc_adsp {
215*724ba675SRob Herring	cx-supply = <&pm8841_s2>;
216*724ba675SRob Herring
217*724ba675SRob Herring	status = "okay";
218*724ba675SRob Herring};
219*724ba675SRob Herring
220*724ba675SRob Herring&rpm_requests {
221*724ba675SRob Herring	regulators-0 {
222*724ba675SRob Herring		compatible = "qcom,rpm-pm8841-regulators";
223*724ba675SRob Herring
224*724ba675SRob Herring		pm8841_s1: s1 {
225*724ba675SRob Herring			regulator-min-microvolt = <675000>;
226*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
227*724ba675SRob Herring		};
228*724ba675SRob Herring
229*724ba675SRob Herring		pm8841_s2: s2 {
230*724ba675SRob Herring			regulator-min-microvolt = <875000>;
231*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
232*724ba675SRob Herring			regulator-always-on;
233*724ba675SRob Herring		};
234*724ba675SRob Herring
235*724ba675SRob Herring		pm8841_s3: s3 {
236*724ba675SRob Herring			regulator-min-microvolt = <1050000>;
237*724ba675SRob Herring			regulator-max-microvolt = <1050000>;
238*724ba675SRob Herring		};
239*724ba675SRob Herring	};
240*724ba675SRob Herring
241*724ba675SRob Herring	regulators-1 {
242*724ba675SRob Herring		compatible = "qcom,rpm-pm8941-regulators";
243*724ba675SRob Herring
244*724ba675SRob Herring		vdd_l1_l3-supply = <&pm8941_s1>;
245*724ba675SRob Herring		vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
246*724ba675SRob Herring		vdd_l4_l11-supply = <&pm8941_s1>;
247*724ba675SRob Herring		vdd_l5_l7-supply = <&pm8941_s2>;
248*724ba675SRob Herring		vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
249*724ba675SRob Herring		vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
250*724ba675SRob Herring		vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
251*724ba675SRob Herring		vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
252*724ba675SRob Herring		vdd_l21-supply = <&vreg_boost>;
253*724ba675SRob Herring
254*724ba675SRob Herring		pm8941_s1: s1 {
255*724ba675SRob Herring			regulator-min-microvolt = <1300000>;
256*724ba675SRob Herring			regulator-max-microvolt = <1300000>;
257*724ba675SRob Herring
258*724ba675SRob Herring			regulator-always-on;
259*724ba675SRob Herring			regulator-boot-on;
260*724ba675SRob Herring		};
261*724ba675SRob Herring
262*724ba675SRob Herring		pm8941_s2: s2 {
263*724ba675SRob Herring			regulator-min-microvolt = <2150000>;
264*724ba675SRob Herring			regulator-max-microvolt = <2150000>;
265*724ba675SRob Herring
266*724ba675SRob Herring			regulator-boot-on;
267*724ba675SRob Herring		};
268*724ba675SRob Herring
269*724ba675SRob Herring		pm8941_s3: s3 {
270*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
271*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
272*724ba675SRob Herring			regulator-system-load = <154000>;
273*724ba675SRob Herring
274*724ba675SRob Herring			regulator-always-on;
275*724ba675SRob Herring			regulator-boot-on;
276*724ba675SRob Herring			regulator-allow-set-load;
277*724ba675SRob Herring		};
278*724ba675SRob Herring
279*724ba675SRob Herring		pm8941_l1: l1 {
280*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
281*724ba675SRob Herring			regulator-max-microvolt = <1225000>;
282*724ba675SRob Herring
283*724ba675SRob Herring			regulator-always-on;
284*724ba675SRob Herring			regulator-boot-on;
285*724ba675SRob Herring		};
286*724ba675SRob Herring
287*724ba675SRob Herring		pm8941_l2: l2 {
288*724ba675SRob Herring			regulator-min-microvolt = <1200000>;
289*724ba675SRob Herring			regulator-max-microvolt = <1200000>;
290*724ba675SRob Herring		};
291*724ba675SRob Herring
292*724ba675SRob Herring		pm8941_l3: l3 {
293*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
294*724ba675SRob Herring			regulator-max-microvolt = <1225000>;
295*724ba675SRob Herring		};
296*724ba675SRob Herring
297*724ba675SRob Herring		pm8941_l4: l4 {
298*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
299*724ba675SRob Herring			regulator-max-microvolt = <1225000>;
300*724ba675SRob Herring		};
301*724ba675SRob Herring
302*724ba675SRob Herring		pm8941_l5: l5 {
303*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
304*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
305*724ba675SRob Herring		};
306*724ba675SRob Herring
307*724ba675SRob Herring		pm8941_l6: l6 {
308*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
309*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
310*724ba675SRob Herring
311*724ba675SRob Herring			regulator-boot-on;
312*724ba675SRob Herring		};
313*724ba675SRob Herring
314*724ba675SRob Herring		pm8941_l7: l7 {
315*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
316*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
317*724ba675SRob Herring
318*724ba675SRob Herring			regulator-boot-on;
319*724ba675SRob Herring		};
320*724ba675SRob Herring
321*724ba675SRob Herring		pm8941_l8: l8 {
322*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
323*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
324*724ba675SRob Herring		};
325*724ba675SRob Herring
326*724ba675SRob Herring		pm8941_l9: l9 {
327*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
328*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
329*724ba675SRob Herring		};
330*724ba675SRob Herring
331*724ba675SRob Herring		pm8941_l10: l10 {
332*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
333*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
334*724ba675SRob Herring		};
335*724ba675SRob Herring
336*724ba675SRob Herring		pm8941_l11: l11 {
337*724ba675SRob Herring			regulator-min-microvolt = <1225000>;
338*724ba675SRob Herring			regulator-max-microvolt = <1350000>;
339*724ba675SRob Herring		};
340*724ba675SRob Herring
341*724ba675SRob Herring		pm8941_l12: l12 {
342*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
343*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
344*724ba675SRob Herring
345*724ba675SRob Herring			regulator-always-on;
346*724ba675SRob Herring			regulator-boot-on;
347*724ba675SRob Herring			regulator-allow-set-load;
348*724ba675SRob Herring		};
349*724ba675SRob Herring
350*724ba675SRob Herring		pm8941_l13: l13 {
351*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
352*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
353*724ba675SRob Herring
354*724ba675SRob Herring			regulator-boot-on;
355*724ba675SRob Herring		};
356*724ba675SRob Herring
357*724ba675SRob Herring		pm8941_l14: l14 {
358*724ba675SRob Herring			regulator-min-microvolt = <1800000>;
359*724ba675SRob Herring			regulator-max-microvolt = <1800000>;
360*724ba675SRob Herring		};
361*724ba675SRob Herring
362*724ba675SRob Herring		pm8941_l15: l15 {
363*724ba675SRob Herring			regulator-min-microvolt = <2050000>;
364*724ba675SRob Herring			regulator-max-microvolt = <2050000>;
365*724ba675SRob Herring		};
366*724ba675SRob Herring
367*724ba675SRob Herring		pm8941_l16: l16 {
368*724ba675SRob Herring			regulator-min-microvolt = <2700000>;
369*724ba675SRob Herring			regulator-max-microvolt = <2700000>;
370*724ba675SRob Herring		};
371*724ba675SRob Herring
372*724ba675SRob Herring		pm8941_l17: l17 {
373*724ba675SRob Herring			regulator-min-microvolt = <2850000>;
374*724ba675SRob Herring			regulator-max-microvolt = <2850000>;
375*724ba675SRob Herring		};
376*724ba675SRob Herring
377*724ba675SRob Herring		pm8941_l18: l18 {
378*724ba675SRob Herring			regulator-min-microvolt = <2850000>;
379*724ba675SRob Herring			regulator-max-microvolt = <2850000>;
380*724ba675SRob Herring		};
381*724ba675SRob Herring
382*724ba675SRob Herring		pm8941_l19: l19 {
383*724ba675SRob Herring			regulator-min-microvolt = <2900000>;
384*724ba675SRob Herring			regulator-max-microvolt = <3350000>;
385*724ba675SRob Herring		};
386*724ba675SRob Herring
387*724ba675SRob Herring		pm8941_l20: l20 {
388*724ba675SRob Herring			regulator-min-microvolt = <2950000>;
389*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
390*724ba675SRob Herring
391*724ba675SRob Herring			regulator-system-load = <200000>;
392*724ba675SRob Herring			regulator-allow-set-load;
393*724ba675SRob Herring			regulator-boot-on;
394*724ba675SRob Herring		};
395*724ba675SRob Herring
396*724ba675SRob Herring		pm8941_l21: l21 {
397*724ba675SRob Herring			regulator-min-microvolt = <2950000>;
398*724ba675SRob Herring			regulator-max-microvolt = <2950000>;
399*724ba675SRob Herring
400*724ba675SRob Herring			regulator-boot-on;
401*724ba675SRob Herring		};
402*724ba675SRob Herring
403*724ba675SRob Herring		pm8941_l22: l22 {
404*724ba675SRob Herring			regulator-min-microvolt = <3000000>;
405*724ba675SRob Herring			regulator-max-microvolt = <3000000>;
406*724ba675SRob Herring			regulator-allow-set-load;
407*724ba675SRob Herring		};
408*724ba675SRob Herring
409*724ba675SRob Herring		pm8941_l23: l23 {
410*724ba675SRob Herring			regulator-min-microvolt = <3000000>;
411*724ba675SRob Herring			regulator-max-microvolt = <3000000>;
412*724ba675SRob Herring		};
413*724ba675SRob Herring
414*724ba675SRob Herring		pm8941_l24: l24 {
415*724ba675SRob Herring			regulator-min-microvolt = <3075000>;
416*724ba675SRob Herring			regulator-max-microvolt = <3075000>;
417*724ba675SRob Herring
418*724ba675SRob Herring			regulator-boot-on;
419*724ba675SRob Herring		};
420*724ba675SRob Herring
421*724ba675SRob Herring		pm8941_lvs3: lvs3 {};
422*724ba675SRob Herring	};
423*724ba675SRob Herring};
424*724ba675SRob Herring
425*724ba675SRob Herring&sdhc_1 {
426*724ba675SRob Herring	vmmc-supply = <&pm8941_l20>;
427*724ba675SRob Herring	vqmmc-supply = <&pm8941_s3>;
428*724ba675SRob Herring
429*724ba675SRob Herring	pinctrl-names = "default", "sleep";
430*724ba675SRob Herring	pinctrl-0 = <&sdc1_on>;
431*724ba675SRob Herring	pinctrl-1 = <&sdc1_off>;
432*724ba675SRob Herring
433*724ba675SRob Herring	status = "okay";
434*724ba675SRob Herring};
435*724ba675SRob Herring
436*724ba675SRob Herring&tlmm {
437*724ba675SRob Herring	gpio_hall_sensor_default: gpio-hall-sensor-default-state {
438*724ba675SRob Herring		pins = "gpio68";
439*724ba675SRob Herring		function = "gpio";
440*724ba675SRob Herring		drive-strength = <8>;
441*724ba675SRob Herring		bias-pull-up;
442*724ba675SRob Herring	};
443*724ba675SRob Herring
444*724ba675SRob Herring	sdc1_on: sdc1-on-state {
445*724ba675SRob Herring		clk-pins {
446*724ba675SRob Herring			pins = "sdc1_clk";
447*724ba675SRob Herring			drive-strength = <4>;
448*724ba675SRob Herring			bias-disable;
449*724ba675SRob Herring		};
450*724ba675SRob Herring
451*724ba675SRob Herring		cmd-data-pins {
452*724ba675SRob Herring			pins = "sdc1_cmd", "sdc1_data";
453*724ba675SRob Herring			drive-strength = <4>;
454*724ba675SRob Herring			bias-pull-up;
455*724ba675SRob Herring		};
456*724ba675SRob Herring	};
457*724ba675SRob Herring
458*724ba675SRob Herring	touch_default_state: touch-default-state {
459*724ba675SRob Herring		int-pins {
460*724ba675SRob Herring			pins = "gpio61";
461*724ba675SRob Herring			function = "gpio";
462*724ba675SRob Herring			drive-strength = <2>;
463*724ba675SRob Herring			bias-disable;
464*724ba675SRob Herring			input-enable;
465*724ba675SRob Herring		};
466*724ba675SRob Herring
467*724ba675SRob Herring		reset-pins {
468*724ba675SRob Herring			pins = "gpio60";
469*724ba675SRob Herring			function = "gpio";
470*724ba675SRob Herring			drive-strength = <2>;
471*724ba675SRob Herring			bias-pull-up;
472*724ba675SRob Herring		};
473*724ba675SRob Herring	};
474*724ba675SRob Herring
475*724ba675SRob Herring	wcnss_pin_a: wcnss-pin-active-state {
476*724ba675SRob Herring		wlan-pins {
477*724ba675SRob Herring			pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
478*724ba675SRob Herring			function = "wlan";
479*724ba675SRob Herring			drive-strength = <6>;
480*724ba675SRob Herring			bias-pull-down;
481*724ba675SRob Herring		};
482*724ba675SRob Herring
483*724ba675SRob Herring		bt-pins {
484*724ba675SRob Herring			pins = "gpio35", "gpio43", "gpio44";
485*724ba675SRob Herring			function = "bt";
486*724ba675SRob Herring			drive-strength = <2>;
487*724ba675SRob Herring			bias-pull-down;
488*724ba675SRob Herring		};
489*724ba675SRob Herring	};
490*724ba675SRob Herring};
491*724ba675SRob Herring
492*724ba675SRob Herring&usb {
493*724ba675SRob Herring	phys = <&usb_hs1_phy>;
494*724ba675SRob Herring	phy-select = <&tcsr 0xb000 0>;
495*724ba675SRob Herring	extcon = <&smbb>, <&usb_id>;
496*724ba675SRob Herring	vbus-supply = <&chg_otg>;
497*724ba675SRob Herring
498*724ba675SRob Herring	hnp-disable;
499*724ba675SRob Herring	srp-disable;
500*724ba675SRob Herring	adp-disable;
501*724ba675SRob Herring
502*724ba675SRob Herring	status = "okay";
503*724ba675SRob Herring};
504*724ba675SRob Herring
505*724ba675SRob Herring&usb_hs1_phy {
506*724ba675SRob Herring	status = "okay";
507*724ba675SRob Herring
508*724ba675SRob Herring	v1p8-supply = <&pm8941_l6>;
509*724ba675SRob Herring	v3p3-supply = <&pm8941_l24>;
510*724ba675SRob Herring
511*724ba675SRob Herring	extcon = <&smbb>;
512*724ba675SRob Herring	qcom,init-seq = /bits/ 8 <0x1 0x64>;
513*724ba675SRob Herring};
514