xref: /linux/arch/arm64/boot/dts/qcom/sc8180x-primus.dts (revision 7115816b609a491e767d8ee63ed2727048f51b5f)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2020-2023, Linaro Limited
5 */
6
7/dts-v1/;
8
9#include <dt-bindings/firmware/qcom,scm.h>
10#include <dt-bindings/gpio/gpio.h>
11#include <dt-bindings/input/gpio-keys.h>
12#include <dt-bindings/input/input.h>
13#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14#include "sc8180x.dtsi"
15#include "sc8180x-pmics.dtsi"
16
17/ {
18	model = "Qualcomm SC8180x Primus";
19	compatible = "qcom,sc8180x-primus", "qcom,sc8180x";
20
21	aliases {
22		serial0 = &uart12;
23		serial1 = &uart13;
24	};
25
26	backlight: backlight {
27		compatible = "pwm-backlight";
28		pwms = <&pmc8180c_lpg 4 1000000>;
29		enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>;
30
31		pinctrl-names = "default";
32		pinctrl-0 = <&bl_pwm_default>;
33	};
34
35	chosen {
36		stdout-path = "serial0:115200n8";
37	};
38
39	gpio-keys {
40		compatible = "gpio-keys";
41
42		pinctrl-names = "default";
43		pinctrl-0 = <&hall_int_active_state>;
44
45		lid-switch {
46			gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>;
47			linux,input-type = <EV_SW>;
48			linux,code = <SW_LID>;
49			wakeup-source;
50			wakeup-event-action = <EV_ACT_DEASSERTED>;
51		};
52	};
53
54	pmic-glink {
55		compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink";
56
57		#address-cells = <1>;
58		#size-cells = <0>;
59
60		connector@0 {
61			compatible = "usb-c-connector";
62			reg = <0>;
63			power-role = "dual";
64			data-role = "dual";
65
66			ports {
67				#address-cells = <1>;
68				#size-cells = <0>;
69
70				port@0 {
71					reg = <0>;
72
73					pmic_glink_con0_hs: endpoint {
74						remote-endpoint = <&usb_prim_role_switch>;
75					};
76				};
77
78				port@1 {
79					reg = <1>;
80
81					pmic_glink_con0_ss: endpoint {
82						remote-endpoint = <&usb_prim_qmpphy_out>;
83					};
84				};
85
86				port@2 {
87					reg = <2>;
88
89					pmic_glink_con0_sbu: endpoint {
90						remote-endpoint = <&usbprim_sbu_mux>;
91					};
92				};
93			};
94		};
95
96		connector@1 {
97			compatible = "usb-c-connector";
98			reg = <1>;
99			power-role = "dual";
100			data-role = "dual";
101
102			ports {
103				#address-cells = <1>;
104				#size-cells = <0>;
105				port@0 {
106					reg = <0>;
107
108					pmic_glink_con1_hs: endpoint {
109						remote-endpoint = <&usb_sec_role_switch>;
110					};
111				};
112
113				port@1 {
114					reg = <1>;
115
116					pmic_glink_con1_ss: endpoint {
117						remote-endpoint = <&usb_sec_qmpphy_out>;
118					};
119				};
120
121				port@2 {
122					reg = <2>;
123
124					pmic_glink_con1_sbu: endpoint {
125						remote-endpoint = <&usbsec_sbu_mux>;
126					};
127				};
128			};
129		};
130	};
131
132	reserved-memory {
133		rmtfs_mem: rmtfs-region@85500000 {
134			compatible = "qcom,rmtfs-mem";
135			reg = <0x0 0x85500000 0x0 0x200000>;
136			no-map;
137
138			qcom,client-id = <1>;
139			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
140		};
141
142		wlan_mem: wlan-region@8bc00000 {
143			reg = <0x0 0x8bc00000 0x0 0x180000>;
144			no-map;
145		};
146
147		adsp_mem: adsp-region@96e00000 {
148			reg = <0x0 0x96e00000 0x0 0x1c00000>;
149			no-map;
150		};
151
152		mpss_mem: mpss-region@8d800000 {
153			reg = <0x0 0x8d800000 0x0 0x9600000>;
154			no-map;
155		};
156
157		gpu_mem: gpu-region@98a00000 {
158			reg = <0x0 0x98a00000 0x0 0x2000>;
159			no-map;
160		};
161
162		reserved-region@9a500000 {
163			reg = <0x0 0x9a500000 0x0 0x600000>;
164			no-map;
165		};
166	};
167
168	vreg_nvme_0p9: nvme-0p9-regulator {
169		compatible = "regulator-fixed";
170		regulator-name = "vreg_nvme_0p9";
171
172		regulator-min-microvolt = <900000>;
173		regulator-max-microvolt = <900000>;
174
175		regulator-always-on;
176	};
177
178	vreg_nvme_3p3: nvme-3p3-regulator {
179		compatible = "regulator-fixed";
180		regulator-name = "vreg_nvme_3p3";
181
182		regulator-min-microvolt = <3300000>;
183		regulator-max-microvolt = <3300000>;
184
185		gpio = <&pmc8180c_gpios 11 0>;
186		enable-active-high;
187
188		regulator-always-on;
189	};
190
191	vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator {
192		compatible = "regulator-fixed";
193		regulator-name = "vdd_kb_tp_3v3";
194		regulator-min-microvolt = <3300000>;
195		regulator-max-microvolt = <3300000>;
196
197		gpio = <&tlmm 4 GPIO_ACTIVE_HIGH>;
198		enable-active-high;
199
200		regulator-always-on;
201
202		pinctrl-names = "default";
203		pinctrl-0 = <&kb_tp_3v3_en_active_state>;
204	};
205
206	vph_pwr: vph-pwr-regulator {
207		compatible = "regulator-fixed";
208		regulator-name = "vph_pwr";
209		regulator-min-microvolt = <3700000>;
210		regulator-max-microvolt = <3700000>;
211	};
212
213	vreg_s4a_1p8: pm8150-s4 {
214		compatible = "regulator-fixed";
215		regulator-name = "vreg_s4a_1p8";
216
217		regulator-min-microvolt = <1800000>;
218		regulator-max-microvolt = <1800000>;
219
220		regulator-always-on;
221		regulator-boot-on;
222
223		vin-supply = <&vph_pwr>;
224	};
225
226	usbprim-sbu-mux {
227		compatible = "pericom,pi3usb102", "gpio-sbu-mux";
228
229		enable-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
230		select-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
231
232		pinctrl-names = "default";
233		pinctrl-0 = <&usbprim_sbu_default>;
234
235		mode-switch;
236		orientation-switch;
237
238		port {
239			usbprim_sbu_mux: endpoint {
240				remote-endpoint = <&pmic_glink_con0_sbu>;
241			};
242		};
243	};
244
245	usbsec-sbu-mux {
246		compatible = "pericom,pi3usb102", "gpio-sbu-mux";
247
248		enable-gpios = <&tlmm 188 GPIO_ACTIVE_LOW>;
249		select-gpios = <&tlmm 187 GPIO_ACTIVE_HIGH>;
250
251		pinctrl-names = "default";
252		pinctrl-0 = <&usbsec_sbu_default>;
253
254		mode-switch;
255		orientation-switch;
256
257		port {
258			usbsec_sbu_mux: endpoint {
259				remote-endpoint = <&pmic_glink_con1_sbu>;
260			};
261		};
262	};
263};
264
265&apps_rsc {
266	regulators-0 {
267		compatible = "qcom,pmc8180-rpmh-regulators";
268		qcom,pmic-id = "a";
269
270		vdd-s5-supply = <&vph_pwr>;
271		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>;
272
273		vreg_s5a_2p0: smps5 {
274			regulator-min-microvolt = <2040000>;
275			regulator-max-microvolt = <2100000>;
276		};
277
278		vreg_l7a_1p8: ldo7 {
279			regulator-min-microvolt = <1800000>;
280			regulator-max-microvolt = <1800000>;
281			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282		};
283
284		vreg_l9a_1p3: ldo9 {
285			regulator-min-microvolt = <1296000>;
286			regulator-max-microvolt = <1304000>;
287			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
288		};
289
290		vreg_l12a_1p8: ldo12 {
291			regulator-min-microvolt = <1800000>;
292			regulator-max-microvolt = <1800000>;
293			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294		};
295	};
296
297	regulators-1 {
298		compatible = "qcom,pmc8180c-rpmh-regulators";
299		qcom,pmic-id = "c";
300
301		vdd-s6-supply = <&vph_pwr>;
302		vdd-s8-supply = <&vph_pwr>;
303		vdd-l2-l3-supply = <&vreg_s6c_1p35>;
304		vdd-bob-supply = <&vph_pwr>;
305
306		vreg_s6c_1p35: smps6 {
307			regulator-min-microvolt = <1350000>;
308			regulator-max-microvolt = <1372000>;
309			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
310		};
311
312		vreg_s8c_1p8: smps8 {
313			regulator-min-microvolt = <1800000>;
314			regulator-max-microvolt = <1800000>;
315			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
316			regulator-always-on;
317		};
318
319		vreg_l3c_1p2: ldo3 {
320			regulator-min-microvolt = <1200000>;
321			regulator-max-microvolt = <1200000>;
322			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
323		};
324
325		vreg_l4c_3p3: ldo4 {
326			regulator-min-microvolt = <3008000>;
327			regulator-max-microvolt = <3008000>;
328			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329		};
330
331		vreg_l10c_3p3: ldo10 {
332			regulator-min-microvolt = <3000000>;
333			regulator-max-microvolt = <3312000>;
334			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
335		};
336
337		vreg_l11c_3p3: ldo11 {
338			regulator-min-microvolt = <3296000>;
339			regulator-max-microvolt = <3304000>;
340			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
341		};
342
343		vreg_bob: bob {
344			regulator-min-microvolt = <3296000>;
345			regulator-max-microvolt = <3350000>;
346			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347		};
348	};
349
350	regulators-2 {
351		compatible = "qcom,pmc8180-rpmh-regulators";
352		qcom,pmic-id = "e";
353
354		vdd-s4-supply = <&vph_pwr>;
355		vdd-s5-supply = <&vph_pwr>;
356		vdd-l2-l10-supply = <&vreg_bob>;
357		vdd-l3-l4-l5-l18-supply = <&vreg_s4e_0p98>;
358		vdd-l7-l12-l14-l15-supply = <&vreg_s5e_2p05>;
359		vdd-l13-l16-l17-supply = <&vreg_bob>;
360
361		vreg_s4e_0p98: smps4 {
362			regulator-min-microvolt = <992000>;
363			regulator-max-microvolt = <992000>;
364			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
365		};
366
367		vreg_s5e_2p05: smps5 {
368			regulator-min-microvolt = <2040000>;
369			regulator-max-microvolt = <2040000>;
370			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371		};
372
373		vreg_l1e_0p75: ldo1 {
374			regulator-min-microvolt = <752000>;
375			regulator-max-microvolt = <752000>;
376			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
377		};
378
379		vreg_l5e_0p88: ldo5 {
380			regulator-min-microvolt = <880000>;
381			regulator-max-microvolt = <880000>;
382			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
383		};
384
385		vreg_l7e_1p8: ldo7 {
386			regulator-min-microvolt = <1800000>;
387			regulator-max-microvolt = <1800000>;
388			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389		};
390
391		vreg_l10e_2p9: ldo10 {
392			regulator-min-microvolt = <2904000>;
393			regulator-max-microvolt = <2904000>;
394			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
395		};
396
397		vreg_l12e: ldo12 {
398			regulator-min-microvolt = <1800000>;
399			regulator-max-microvolt = <1800000>;
400			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
401		};
402
403		vreg_l16e_3p0: ldo16 {
404			regulator-min-microvolt = <3072000>;
405			regulator-max-microvolt = <3072000>;
406			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
407		};
408	};
409};
410
411&gpu {
412	status = "okay";
413
414	zap-shader {
415		memory-region = <&gpu_mem>;
416		firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
417	};
418};
419
420&i2c1 {
421	clock-frequency = <100000>;
422
423	pinctrl-names = "default";
424	pinctrl-0 = <&ts_i2c_active_state>;
425
426	status = "okay";
427
428	touchscreen@10 {
429		compatible = "hid-over-i2c";
430		reg = <0x10>;
431		hid-descr-addr = <0x1>;
432
433		vdd-supply = <&vreg_l4c_3p3>;
434		vddl-supply = <&vreg_l12e>;
435
436		post-power-on-delay-ms = <20>;
437
438		interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>;
439
440		pinctrl-names = "default";
441		pinctrl-0 = <&ts_active_state>;
442	};
443};
444
445&i2c7 {
446	clock-frequency = <100000>;
447
448	pinctrl-names = "default";
449	pinctrl-0 = <&aux_i2c_active_state>;
450
451	status = "okay";
452
453	touchpad@15 {
454		compatible = "hid-over-i2c";
455		reg = <0x15>;
456		hid-descr-addr = <0x1>;
457
458		interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
459
460		pinctrl-names = "default";
461		pinctrl-0 = <&tp_int_active_state>;
462
463		vdd-supply = <&vdd_kb_tp_3v3>;
464	};
465
466	keyboard@3a {
467		compatible = "hid-over-i2c";
468		reg = <0x3a>;
469		hid-descr-addr = <0x1>;
470		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>;
471
472		pinctrl-names = "default";
473		pinctrl-0 = <&kb_int_active_state>;
474
475		vdd-supply = <&vdd_kb_tp_3v3>;
476	};
477};
478
479&mdss {
480	status = "okay";
481};
482
483&mdss_dp0 {
484	status = "okay";
485};
486
487&mdss_dp0_out {
488	data-lanes = <0 1>;
489	remote-endpoint = <&usb_prim_qmpphy_dp_in>;
490};
491
492&mdss_dp1 {
493	status = "okay";
494};
495
496&mdss_dp1_out {
497	data-lanes = <0 1>;
498	remote-endpoint = <&usb_sec_qmpphy_dp_in>;
499};
500
501&mdss_edp {
502	data-lanes = <0 1 2 3>;
503
504	pinctrl-names = "default";
505	pinctrl-0 = <&edp_hpd_active>;
506
507	status = "okay";
508
509	aux-bus {
510		panel {
511			compatible = "edp-panel";
512
513			backlight = <&backlight>;
514
515			port {
516				auo_b133han05_in: endpoint {
517					remote-endpoint = <&mdss_edp_out>;
518				};
519			};
520		};
521	};
522
523	ports {
524		port@1 {
525			reg = <1>;
526			mdss_edp_out: endpoint {
527				remote-endpoint = <&auo_b133han05_in>;
528			};
529		};
530	};
531};
532
533&pcie1 {
534	perst-gpio = <&tlmm 175 GPIO_ACTIVE_LOW>;
535	wake-gpio = <&tlmm 177 GPIO_ACTIVE_HIGH>;
536	pinctrl-names = "default";
537	pinctrl-0 = <&pcie2_default_state>;
538
539	status = "okay";
540};
541
542&pcie1_phy {
543	vdda-phy-supply = <&vreg_l5e_0p88>;
544	vdda-pll-supply = <&vreg_l3c_1p2>;
545
546	status = "okay";
547};
548
549&pmc8180c_lpg {
550	status = "okay";
551};
552
553&qupv3_id_0 {
554	status = "okay";
555};
556
557&qupv3_id_1 {
558	status = "okay";
559};
560
561&qupv3_id_2 {
562	status = "okay";
563};
564
565&remoteproc_adsp {
566	memory-region = <&adsp_mem>;
567	firmware-name = "qcom/sc8180x/qcadsp8180.mbn";
568
569	status = "okay";
570};
571
572&remoteproc_mpss {
573	memory-region = <&mpss_mem>;
574	firmware-name = "qcom/sc8180x/qcmpss8180.mbn";
575
576	status = "okay";
577};
578
579&uart12 {
580	compatible = "qcom,geni-debug-uart";
581	status = "okay";
582};
583
584&uart13 {
585	pinctrl-names = "default";
586	pinctrl-0 = <&uart13_state>;
587
588	status = "okay";
589
590	bluetooth {
591		compatible = "qcom,wcn3998-bt";
592
593		vddio-supply = <&vreg_s4a_1p8>;
594		vddxo-supply = <&vreg_l7a_1p8>;
595		vddrf-supply = <&vreg_l9a_1p3>;
596		vddch0-supply = <&vreg_l11c_3p3>;
597		max-speed = <3200000>;
598	};
599};
600
601&ufs_mem_hc {
602	reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>;
603
604	vcc-supply = <&vreg_l10e_2p9>;
605	vcc-max-microamp = <155000>;
606
607	vccq2-supply = <&vreg_l7e_1p8>;
608	vccq2-max-microamp = <425000>;
609
610	status = "okay";
611};
612
613&ufs_mem_phy {
614	vdda-phy-supply = <&vreg_l5e_0p88>;
615	vdda-pll-supply = <&vreg_l3c_1p2>;
616
617	status = "okay";
618};
619
620&usb_prim_hsphy {
621	vdda-pll-supply = <&vreg_l5e_0p88>;
622	vdda18-supply = <&vreg_l12a_1p8>;
623	vdda33-supply = <&vreg_l16e_3p0>;
624
625	status = "okay";
626};
627
628&usb_prim_qmpphy {
629	vdda-phy-supply = <&vreg_l3c_1p2>;
630	vdda-pll-supply = <&vreg_l5e_0p88>;
631
632	orientation-switch;
633
634	status = "okay";
635};
636
637&usb_prim {
638	status = "okay";
639};
640
641&usb_prim_dwc3 {
642	dr_mode = "host";
643};
644
645&usb_prim_qmpphy_dp_in {
646	remote-endpoint = <&mdss_dp0_out>;
647};
648
649&usb_prim_qmpphy_out {
650	remote-endpoint = <&pmic_glink_con0_ss>;
651};
652
653&usb_prim_role_switch {
654	remote-endpoint = <&pmic_glink_con0_hs>;
655};
656
657&usb_sec_hsphy {
658	vdda-pll-supply = <&vreg_l5e_0p88>;
659	vdda18-supply = <&vreg_l12a_1p8>;
660	vdda33-supply = <&vreg_l16e_3p0>;
661
662	status = "okay";
663};
664
665&usb_sec_qmpphy {
666	vdda-phy-supply = <&vreg_l3c_1p2>;
667	vdda-pll-supply = <&vreg_l5e_0p88>;
668
669	orientation-switch;
670
671	status = "okay";
672};
673
674&usb_sec_qmpphy_dp_in {
675	remote-endpoint = <&mdss_dp1_out>;
676};
677
678&usb_sec_qmpphy_out {
679	remote-endpoint = <&pmic_glink_con1_ss>;
680};
681
682&usb_sec_role_switch {
683	remote-endpoint = <&pmic_glink_con1_hs>;
684};
685
686&usb_sec {
687	status = "okay";
688};
689
690&usb_sec_dwc3 {
691	dr_mode = "host";
692};
693
694&wifi {
695	memory-region = <&wlan_mem>;
696
697	vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>;
698	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
699	vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;
700	vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
701	vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;
702
703	status = "okay";
704};
705
706&xo_board_clk {
707	clock-frequency = <38400000>;
708};
709
710/* PINCTRL */
711
712&pmc8180c_gpios {
713	bl_pwm_default: bl-pwm-default-state {
714		en-pins {
715			pins = "gpio8";
716			function = "normal";
717		};
718
719		pwm-pins {
720			pins = "gpio10";
721			function = "func1";
722		};
723	};
724};
725
726&tlmm {
727	gpio-reserved-ranges = <0 4>, <47 4>, <126 4>;
728
729	aux_i2c_active_state: aux-i2c-active-state {
730		pins = "gpio98", "gpio99";
731		function = "qup7";
732
733		bias-disable;
734		drive-strength = <16>;
735	};
736
737	edp_hpd_active: epd-hpd-active-state {
738		pins = "gpio10";
739		function = "edp_hot";
740	};
741
742	hall_int_active_state: hall-int-active-state {
743		pins = "gpio121";
744		function = "gpio";
745
746		bias-disable;
747	};
748
749	kb_int_active_state: kb-int-active-state {
750		int-n-pins {
751			pins = "gpio37";
752			function = "gpio";
753
754			bias-pull-up;
755		};
756
757		kp-disable-pins {
758			pins = "gpio135";
759			function = "gpio";
760
761			output-high;
762		};
763	};
764
765	kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state {
766		pins = "gpio4";
767		function = "gpio";
768
769		bias-disable;
770	};
771
772	pcie2_default_state: pcie2-default-state {
773		clkreq-pins {
774			pins = "gpio176";
775			function = "pci_e2";
776			bias-pull-up;
777		};
778
779		reset-n-pins {
780			pins = "gpio175";
781			function = "gpio";
782
783			drive-strength = <2>;
784			output-low;
785			bias-pull-down;
786		};
787
788		wake-n-pins {
789			pins = "gpio177";
790			function = "gpio";
791
792			drive-strength = <2>;
793			bias-pull-up;
794		};
795	};
796
797	usbprim_sbu_default: usbprim-sbu-state {
798		oe-n-pins {
799			pins = "gpio152";
800			function = "gpio";
801			bias-disable;
802			drive-strength = <16>;
803			output-high;
804		};
805
806		sel-pins {
807			pins = "gpio100";
808			function = "gpio";
809			bias-disable;
810			drive-strength = <16>;
811		};
812	};
813
814	usbsec_sbu_default: usbsec-sbu-state {
815		oe-n-pins {
816			pins = "gpio188";
817			function = "gpio";
818			bias-disable;
819			drive-strength = <16>;
820			output-high;
821		};
822
823		sel-pins {
824			pins = "gpio187";
825			function = "gpio";
826			bias-disable;
827			drive-strength = <16>;
828		};
829	};
830
831	tp_int_active_state: tp-int-active-state {
832		tp-int-pins {
833			pins = "gpio24";
834			function = "gpio";
835
836			bias-disable;
837		};
838
839		tp-close-n-pins {
840			pins = "gpio116";
841			function = "gpio";
842
843			bias-disable;
844		};
845	};
846
847	ts_active_state: ts-active-state {
848		int-n-pins {
849			pins = "gpio122";
850			function = "gpio";
851
852			bias-disable;
853		};
854
855		reset-n-pins {
856			pins = "gpio54";
857			function = "gpio";
858
859			output-high;
860		};
861	};
862
863	ts_i2c_active_state: ts-i2c-active-state {
864		pins = "gpio114", "gpio115";
865		function = "qup1";
866
867		/* External pull up */
868		bias-disable;
869		drive-strength = <2>;
870	};
871
872	uart13_state: uart13-state {
873		cts-pins {
874			pins = "gpio43";
875			function = "qup13";
876			bias-pull-down;
877		};
878
879		rts-tx-pins {
880			pins = "gpio44", "gpio45";
881			function = "qup13";
882			drive-strength = <2>;
883			bias-disable;
884		};
885
886		rx-pins {
887			pins = "gpio46";
888			function = "qup13";
889			bias-pull-up;
890		};
891	};
892};
893