1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2020, Yassine Oudjana <y.oudjana@protonmail.com>
4 */
5
6#include "pm8994.dtsi"
7#include "pmi8994.dtsi"
8#include <dt-bindings/input/input.h>
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/leds/common.h>
11#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12
13/ {
14	clocks {
15		divclk1_cdc: divclk1 {
16			compatible = "gpio-gate-clock";
17			clocks = <&rpmcc RPM_SMD_DIV_CLK1>;
18			#clock-cells = <0>;
19			enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
20
21			pinctrl-names = "default";
22			pinctrl-0 = <&divclk1_default>;
23		};
24
25		divclk4: divclk4 {
26			compatible = "fixed-clock";
27			#clock-cells = <0>;
28			clock-frequency = <32768>;
29			clock-output-names = "divclk4";
30
31			pinctrl-names = "default";
32			pinctrl-0 = <&divclk4_pin_a>;
33		};
34	};
35
36	gpio-keys {
37		compatible = "gpio-keys";
38
39		key-vol-up {
40			label = "Volume Up";
41			gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
42			linux,code = <KEY_VOLUMEUP>;
43			wakeup-source;
44			debounce-interval = <15>;
45		};
46
47		key-dome {
48			label = "Home";
49			gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
50			linux,code = <KEY_HOME>;
51			wakeup-source;
52			debounce-interval = <15>;
53		};
54	};
55
56	irled {
57		compatible = "pwm-ir-tx";
58		pwms = <&pm8994_lpg 1 1000000>;
59
60		pinctrl-names = "default";
61		pinctrl-0 = <&irled_default>;
62	};
63
64	reserved-memory {
65		memory@88800000 {
66			reg = <0x0 0x88800000 0x0 0x1400000>;
67			no-map;
68		};
69
70		/* This platform has all PIL regions offset by 0x1400000 */
71		/delete-node/ mpss@88800000;
72		mpss_mem: mpss@89c00000 {
73			reg = <0x0 0x89c00000 0x0 0x6200000>;
74			no-map;
75		};
76
77		/delete-node/ adsp@8ea00000;
78		adsp_mem: adsp@8fe00000 {
79			reg = <0x0 0x8fe00000 0x0 0x1b00000>;
80			no-map;
81		};
82
83		/delete-node/ slpi@90500000;
84		slpi_mem: slpi@91900000 {
85			reg = <0x0 0x91900000 0x0 0xa00000>;
86			no-map;
87		};
88
89		/delete-node/ gpu@90f00000;
90		gpu_mem: gpu@92300000 {
91			compatible = "shared-dma-pool";
92			reg = <0x0 0x92300000 0x0 0x2000>;
93			no-map;
94		};
95
96		/delete-node/ venus@91000000;
97		venus_mem: venus@92400000 {
98			reg = <0x0 0x92400000 0x0 0x500000>;
99			no-map;
100		};
101
102		ramoops@92900000 {
103			compatible = "ramoops";
104			reg = <0x0 0x92900000 0x0 0x100000>;
105			no-map;
106
107			record-size = <0x8000>;
108			console-size = <0x80000>;
109			ftrace-size = <0x20000>;
110			pmsg-size = <0x40000>;
111		};
112
113		/delete-node/ rmtfs;
114		rmtfs@f6c00000 {
115			compatible = "qcom,rmtfs-mem";
116			reg = <0 0xf6c00000 0 0x200000>;
117			no-map;
118
119			qcom,client-id = <1>;
120			qcom,vmid = <15>;
121		};
122
123		/delete-node/ mba@91500000;
124		mba_mem: mba@f6f00000 {
125			reg = <0x0 0xf6f00000 0x0 0x100000>;
126			no-map;
127		};
128	};
129
130	vph_pwr: vph-pwr-regulator {
131		compatible = "regulator-fixed";
132		regulator-name = "vph_pwr";
133		regulator-min-microvolt = <3800000>;
134		regulator-max-microvolt = <3800000>;
135		regulator-always-on;
136		regulator-boot-on;
137	};
138
139	vdd_3v2_tp: vdd-3v2-tp {
140		compatible = "regulator-fixed";
141		regulator-name = "vdd_3v2_tp";
142		regulator-min-microvolt = <3200000>;
143		regulator-max-microvolt = <3200000>;
144		startup-delay-us = <4000>;
145		vin-supply = <&vph_pwr>;
146
147		gpio = <&tlmm 73 0>;
148		enable-active-high;
149	};
150
151	vdd_3v3: rome-vreg {
152		compatible = "regulator-fixed";
153		regulator-name = "vdd_3v3";
154		regulator-min-microvolt = <3300000>;
155		regulator-max-microvolt = <3300000>;
156		startup-delay-us = <4000>;
157		vin-supply = <&vph_pwr_bbyp>;
158
159		gpio = <&pm8994_gpios 9 0>;
160		enable-active-high;
161		pinctrl-names = "default";
162		pinctrl-0 = <&rome_enable_default>;
163
164		/* Required by QCA6174a - vddpe-3v3 */
165		regulator-always-on;
166	};
167
168	/* WL_EN pin defined as a fixed regulator */
169	wlan_en: wlan-en-1-8v {
170		compatible = "regulator-fixed";
171		regulator-name = "wlan-en-regulator";
172		regulator-min-microvolt = <1800000>;
173		regulator-max-microvolt = <1800000>;
174
175		gpio = <&pm8994_gpios 8 0>;
176		/* WLAN card specific delay */
177		startup-delay-us = <70000>;
178		enable-active-high;
179		pinctrl-names = "default";
180		pinctrl-0 = <&wlan_en_default>;
181	};
182};
183
184&adsp_pil {
185	status = "okay";
186};
187
188&blsp2_i2c2 {
189	status = "okay";
190	label = "NFC_I2C";
191	clock-frequency = <400000>;
192
193	nfc: pn548@28 {
194		compatible = "nxp,nxp-nci-i2c";
195
196		reg = <0x28>;
197
198		interrupt-parent = <&tlmm>;
199		interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
200
201		enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
202		firmware-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
203
204		pinctrl-names = "default";
205		pinctrl-0 = <&nfc_default>;
206	};
207};
208
209&blsp2_i2c3 {
210	status = "okay";
211	label = "TYPEC_I2C";
212
213	typec: tusb320l@47 {
214		compatible = "ti,tusb320l";
215		reg = <0x47>;
216		interrupt-parent = <&tlmm>;
217		interrupts = <63 IRQ_TYPE_EDGE_RISING>;
218	};
219};
220
221&blsp2_i2c6 {
222	status = "okay";
223	label = "MSM_TS_I2C";
224};
225
226&blsp1_uart2 {
227	status = "okay";
228	label = "QCA_UART";
229
230	bluetooth: bluetooth {
231		compatible = "qcom,qca6174-bt";
232
233		enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
234		clocks = <&divclk4>;
235	};
236};
237
238&dsi0 {
239	status = "okay";
240
241	vdd-supply = <&vreg_l2a_1p25>;
242	vddio-supply = <&vreg_l14a_1p8>;
243
244	pinctrl-names = "default", "sleep";
245	pinctrl-0 = <&mdss_dsi_default &mdss_te_default>;
246	pinctrl-1 = <&mdss_dsi_sleep &mdss_te_sleep>;
247};
248
249&dsi0_out {
250	status = "okay";
251
252	data-lanes = <0 1 2 3>;
253};
254
255&dsi0_phy {
256	status = "okay";
257
258	vcca-supply = <&vreg_l28a_0p925>;
259};
260
261&gpu {
262	status = "okay";
263};
264
265&mdss {
266	status = "okay";
267};
268
269&mmcc {
270	vdd-gfx-supply = <&vdd_gfx>;
271};
272
273&mss_pil {
274	status = "okay";
275
276	pll-supply = <&vreg_l12a_1p8>;
277};
278
279&pcie0 {
280	status = "okay";
281
282	/* Supplied by vdd_3v3, but choose wlan_en to drive enable pin high */
283	vddpe-3v3-supply = <&wlan_en>;
284	vdda-supply = <&vreg_l28a_0p925>;
285
286	perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
287	wake-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
288};
289
290&pcie_phy {
291	status = "okay";
292
293	vdda-phy-supply = <&vreg_l28a_0p925>;
294	vdda-pll-supply = <&vreg_l12a_1p8>;
295};
296
297&pm8994_resin {
298	status = "okay";
299
300	linux,code = <KEY_VOLUMEDOWN>;
301};
302
303&pm8994_lpg {
304	status = "okay";
305
306	qcom,power-source = <1>;
307};
308
309&pmi8994_lpg {
310	status = "okay";
311
312	qcom,power-source = <1>;
313
314	multi-led {
315		color = <LED_COLOR_ID_RGB>;
316		function = LED_FUNCTION_STATUS;
317
318		#address-cells = <1>;
319		#size-cells = <0>;
320
321		led@1 {
322			reg = <1>;
323			color = <LED_COLOR_ID_BLUE>;
324		};
325
326		led@2 {
327			reg = <2>;
328			color = <LED_COLOR_ID_GREEN>;
329		};
330
331		led@3 {
332			reg = <3>;
333			color = <LED_COLOR_ID_RED>;
334		};
335	};
336};
337
338&slim_msm {
339	status = "okay";
340
341	slim@1 {
342		reg = <1>;
343		#address-cells = <2>;
344		#size-cells = <0>;
345
346		tasha_ifd: tas-ifd@0,0 {
347			compatible = "slim217,1a0";
348			reg = <0 0>;
349		};
350
351		wcd9335: codec@1,0 {
352			compatible = "slim217,1a0";
353			reg = <1 0>;
354
355			clock-names = "mclk", "slimbus";
356			clocks = <&divclk1_cdc>,
357				 <&rpmcc RPM_SMD_BB_CLK1>;
358			interrupt-parent = <&tlmm>;
359			interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,
360				     <53 IRQ_TYPE_LEVEL_HIGH>;
361			interrupt-names = "intr1", "intr2";
362			interrupt-controller;
363			#interrupt-cells = <1>;
364
365			pinctrl-0 = <&cdc_reset_active &wcd_intr_default>;
366			pinctrl-names = "default";
367
368			reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
369			slim-ifc-dev = <&tasha_ifd>;
370
371			#sound-dai-cells = <1>;
372
373			vdd-buck-supply = <&vreg_s4a_1p8>;
374			vdd-buck-sido-supply = <&vreg_s4a_1p8>;
375			vdd-rx-supply = <&vreg_s4a_1p8>;
376			vdd-tx-supply = <&vreg_s4a_1p8>;
377			vdd-vbat-supply = <&vph_pwr>;
378			vdd-micbias-supply = <&vph_pwr_bbyp>;
379			vdd-io-supply = <&vreg_s4a_1p8>;
380		};
381	};
382};
383
384&slpi_pil {
385	status = "okay";
386
387	px-supply = <&vreg_lvs2a_1p8>;
388};
389
390&usb3 {
391	status = "okay";
392	extcon = <&typec>;
393
394	qcom,select-utmi-as-pipe-clk;
395};
396
397&usb3_dwc3 {
398	extcon = <&typec>;
399
400	/* usb3-phy is not used on this device */
401	phys = <&hsusb_phy1>;
402	phy-names = "usb2-phy";
403
404	maximum-speed = "high-speed";
405	snps,is-utmi-l1-suspend;
406	snps,usb2-gadget-lpm-disable;
407	snps,hird-threshold = /bits/ 8 <0>;
408};
409
410&hsusb_phy1 {
411	status = "okay";
412	extcon = <&typec>;
413
414	vdda-pll-supply = <&vreg_l12a_1p8>;
415	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
416};
417
418&ufshc {
419	status = "okay";
420
421	vcc-supply = <&vreg_l20a_2p95>;
422	vccq-supply = <&vreg_l25a_1p2>;
423	vccq2-supply = <&vreg_s4a_1p8>;
424
425	vcc-max-microamp = <600000>;
426	vccq-max-microamp = <450000>;
427	vccq2-max-microamp = <450000>;
428};
429
430&ufsphy {
431	status = "okay";
432
433	vdda-phy-supply = <&vreg_l28a_0p925>;
434	vdda-pll-supply = <&vreg_l12a_1p8>;
435	vddp-ref-clk-supply = <&vreg_l25a_1p2>;
436};
437
438&venus {
439	status = "okay";
440};
441
442&rpm_requests {
443	regulators-0 {
444		compatible = "qcom,rpm-pm8994-regulators";
445
446		vdd_s1-supply = <&vph_pwr>;
447		vdd_s2-supply = <&vph_pwr>;
448		vdd_s3-supply = <&vph_pwr>;
449		vdd_s4-supply = <&vph_pwr>;
450		vdd_s5-supply = <&vph_pwr>;
451		vdd_s6-supply = <&vph_pwr>;
452		vdd_s7-supply = <&vph_pwr>;
453		vdd_s8-supply = <&vph_pwr>;
454		vdd_s9-supply = <&vph_pwr>;
455		vdd_s10-supply = <&vph_pwr>;
456		vdd_s11-supply = <&vph_pwr>;
457		vdd_s12-supply = <&vph_pwr>;
458		vdd_l1-supply = <&vreg_s1b_1p025>;
459		vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>;
460		vdd_l3_l11-supply = <&vreg_s3a_1p3>;
461		vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>;
462		vdd_l5_l7-supply = <&vreg_s5a_2p15>;
463		vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>;
464		vdd_l8_l16_l30-supply = <&vph_pwr>;
465		vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>;
466		vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>;
467		vdd_l14_l15-supply = <&vreg_s5a_2p15>;
468		vdd_l17_l29-supply = <&vph_pwr_bbyp>;
469		vdd_l20_l21-supply = <&vph_pwr_bbyp>;
470		vdd_l25-supply = <&vreg_s3a_1p3>;
471		vdd_lvs1_2-supply = <&vreg_s4a_1p8>;
472
473		vreg_s3a_1p3: s3 {
474			regulator-name = "vreg_s3a_1p3";
475			regulator-min-microvolt = <1300000>;
476			regulator-max-microvolt = <1300000>;
477
478			/* Required by QCA6174a - vdd-core */
479			regulator-always-on;
480		};
481		vreg_s4a_1p8: s4 {
482			regulator-name = "vreg_s4a_1p8";
483			regulator-min-microvolt = <1800000>;
484			regulator-max-microvolt = <1800000>;
485			regulator-allow-set-load;
486
487			/* Required by QCA6174a - vddio */
488			regulator-always-on;
489		};
490		vreg_s5a_2p15: s5 {
491			regulator-name = "vreg_s5a_2p15";
492			regulator-min-microvolt = <2150000>;
493			regulator-max-microvolt = <2150000>;
494		};
495		vreg_s7a_0p8: s7 {
496			regulator-name = "vreg_s7a_0p8";
497			regulator-min-microvolt = <800000>;
498			regulator-max-microvolt = <800000>;
499		};
500		vreg_l1a_1p0: l1 {
501			regulator-name = "vreg_l1a_1p0";
502			regulator-min-microvolt = <1000000>;
503			regulator-max-microvolt = <1000000>;
504		};
505		vreg_l2a_1p25: l2 {
506			regulator-name = "vreg_l2a_1p25";
507			regulator-min-microvolt = <1250000>;
508			regulator-max-microvolt = <1250000>;
509		};
510		vreg_l4a_1p225: l4 {
511			regulator-name = "vreg_l4a_1p225";
512			regulator-min-microvolt = <1225000>;
513			regulator-max-microvolt = <1225000>;
514		};
515		vreg_l6a_1p8: l6 {
516			regulator-name = "vreg_l6a_1p8";
517			regulator-min-microvolt = <1800000>;
518			regulator-max-microvolt = <1800000>;
519		};
520		vreg_l8a_1p8: l8 {
521			regulator-name = "vreg_l8a_1p8";
522			regulator-min-microvolt = <1800000>;
523			regulator-max-microvolt = <1800000>;
524		};
525		vreg_l9a_1p8: l9 {
526			regulator-name = "vreg_l9a_1p8";
527			regulator-min-microvolt = <1800000>;
528			regulator-max-microvolt = <1800000>;
529		};
530		vreg_l10a_1p8: l10 {
531			regulator-name = "vreg_l10a_1p8";
532			regulator-min-microvolt = <1800000>;
533			regulator-max-microvolt = <1800000>;
534		};
535		vreg_l12a_1p8: l12 {
536			regulator-name = "vreg_l12a_1p8";
537			regulator-min-microvolt = <1800000>;
538			regulator-max-microvolt = <1800000>;
539			regulator-allow-set-load;
540		};
541		vreg_l13a_2p95: l13 {
542			regulator-name = "vreg_l13a_2p95";
543			regulator-min-microvolt = <1800000>;
544			regulator-max-microvolt = <2950000>;
545		};
546		vreg_l14a_1p8: l14 {
547			regulator-name = "vreg_l14a_1p8";
548			regulator-min-microvolt = <1800000>;
549			regulator-max-microvolt = <1800000>;
550		};
551		vreg_l15a_1p8: l15 {
552			regulator-name = "vreg_l15a_1p8";
553			regulator-min-microvolt = <1800000>;
554			regulator-max-microvolt = <1800000>;
555		};
556		vreg_l16a_2p7: l16 {
557			regulator-name = "vreg_l16a_2p7";
558			regulator-min-microvolt = <2700000>;
559			regulator-max-microvolt = <2700000>;
560		};
561		vreg_l19a_3p3: l19 {
562			regulator-name = "vreg_l19a_3p3";
563			regulator-min-microvolt = <3000000>;
564			regulator-max-microvolt = <3000000>;
565		};
566		vreg_l20a_2p95: l20 {
567			regulator-name = "vreg_l20a_2p95";
568			regulator-min-microvolt = <2950000>;
569			regulator-max-microvolt = <2950000>;
570			regulator-allow-set-load;
571		};
572		vreg_l21a_2p95: l21 {
573			regulator-name = "vreg_l21a_2p95";
574			regulator-min-microvolt = <3300000>;
575			regulator-max-microvolt = <3300000>;
576			regulator-always-on;
577		};
578		vreg_l23a_2p8: l23 {
579			regulator-name = "vreg_l23a_2p8";
580			regulator-min-microvolt = <2800000>;
581			regulator-max-microvolt = <2800000>;
582		};
583		vreg_l24a_3p075: l24 {
584			regulator-name = "vreg_l24a_3p075";
585			regulator-min-microvolt = <3075000>;
586			regulator-max-microvolt = <3075000>;
587		};
588		vreg_l25a_1p2: l25 {
589			regulator-name = "vreg_l25a_1p2";
590			regulator-min-microvolt = <1200000>;
591			regulator-max-microvolt = <1200000>;
592			regulator-allow-set-load;
593		};
594		vreg_l27a_1p2: l27 {
595			regulator-name = "vreg_l27a_1p2";
596			regulator-min-microvolt = <1200000>;
597			regulator-max-microvolt = <1200000>;
598		};
599		vreg_l28a_0p925: l28 {
600			regulator-name = "vreg_l28a_0p925";
601			regulator-min-microvolt = <925000>;
602			regulator-max-microvolt = <925000>;
603			regulator-allow-set-load;
604		};
605		vreg_l30a_1p8: l30 {
606			regulator-name = "vreg_l30a_1p8";
607			regulator-min-microvolt = <1800000>;
608			regulator-max-microvolt = <1800000>;
609
610			/* Required by QCA6174a - vddio-xtal */
611			regulator-always-on;
612		};
613		vreg_l32a_1p8: l32 {
614			regulator-name = "vreg_l32a_1p8";
615			regulator-min-microvolt = <1800000>;
616			regulator-max-microvolt = <1800000>;
617		};
618		vreg_lvs1a_1p8: lvs1 {
619			regulator-min-microvolt = <1800000>;
620			regulator-max-microvolt = <1800000>;
621		};
622		vreg_lvs2a_1p8: lvs2 {
623			regulator-min-microvolt = <1800000>;
624			regulator-max-microvolt = <1800000>;
625		};
626	};
627
628	regulators-1 {
629		compatible = "qcom,rpm-pmi8994-regulators";
630
631		vdd_s1-supply = <&vph_pwr>;
632		vdd_s2-supply = <&vph_pwr>;
633		vdd_s3-supply = <&vph_pwr>;
634		vdd_bst_byp-supply = <&vph_pwr>;
635
636		vreg_s1b_1p025: s1 {
637			regulator-name = "vreg_s1b_1p025";
638			regulator-min-microvolt = <1025000>;
639			regulator-max-microvolt = <1025000>;
640		};
641
642		vph_pwr_bbyp: boost-bypass {
643			regulator-name = "vph_pwr_bbyp";
644			regulator-min-microvolt = <3150000>;
645			regulator-max-microvolt = <3600000>;
646		};
647	};
648};
649
650&pm8994_spmi_regulators {
651	qcom,saw-reg = <&saw3>;
652	s8 {
653		qcom,saw-slave;
654	};
655	s9 {
656		qcom,saw-slave;
657	};
658	s10 {
659		qcom,saw-slave;
660	};
661	vreg_apc_0p8: s11 {
662		qcom,saw-leader;
663		regulator-name = "vreg_apc_0p8";
664		regulator-min-microvolt = <470000>;
665		regulator-max-microvolt = <1140000>;
666		regulator-max-step-microvolt = <150000>;
667		regulator-always-on;
668	};
669};
670
671&pmi8994_spmi_regulators {
672	vdd_gfx: s2 {
673		regulator-name = "vdd_gfx";
674		regulator-min-microvolt = <400000>;
675		regulator-max-microvolt = <1015000>;
676		regulator-enable-ramp-delay = <500>;
677	};
678};
679
680&pm8994_gpios {
681	irled_default: irled-default-state {
682		pins = "gpio5";
683		function = PMIC_GPIO_FUNC_FUNC1;
684		output-low;
685		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
686		power-source = <PM8994_GPIO_S4>;
687		bias-disable;
688	};
689
690	wlan_en_default: wlan-en-state {
691		pins = "gpio8";
692		function = PMIC_GPIO_FUNC_NORMAL;
693		output-low;
694		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
695		power-source = <PM8994_GPIO_S4>;
696		bias-disable;
697	};
698
699	rome_enable_default: rome-enable-state {
700		pins = "gpio9";
701		function = PMIC_GPIO_FUNC_NORMAL;
702		output-high;
703		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
704		power-source = <PM8994_GPIO_VPH>;
705	};
706
707	divclk1_default: divclk1-state {
708		pins = "gpio15";
709		function = PMIC_GPIO_FUNC_FUNC1;
710		bias-disable;
711		power-source = <PM8994_GPIO_S4>;
712		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
713	};
714
715	divclk4_pin_a: divclk4-state {
716		pins = "gpio18";
717		function = PMIC_GPIO_FUNC_FUNC2;
718		bias-disable;
719		power-source = <PM8994_GPIO_S4>;
720	};
721};
722
723&tlmm {
724	mdss_dsi_default: mdss-dsi-default-state {
725		pins = "gpio8";
726		function = "gpio";
727		drive-strength = <8>;
728		bias-disable;
729	};
730
731	mdss_dsi_sleep: mdss-dsi-sleep-state {
732		pins = "gpio8";
733		function = "gpio";
734		drive-strength = <2>;
735		bias-pull-down;
736	};
737
738	mdss_te_default: mdss-te-default-state {
739		pins = "gpio10";
740		function = "mdp_vsync";
741		drive-strength = <2>;
742		bias-pull-down;
743	};
744
745	mdss_te_sleep: mdss-te-sleep-state {
746		pins = "gpio10";
747		function = "mdp_vsync";
748		drive-strength = <2>;
749		bias-pull-down;
750	};
751
752	nfc_default: nfc-default-state {
753		pins = "gpio12", "gpio21";
754		function = "gpio";
755		drive-strength = <16>;
756		bias-pull-up;
757	};
758};
759