xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sc8180x-primus.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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_LOW>;
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			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
390						   RPMH_REGULATOR_MODE_HPM>;
391			regulator-allow-set-load;
392		};
393
394		vreg_l10e_2p9: ldo10 {
395			regulator-min-microvolt = <2904000>;
396			regulator-max-microvolt = <2904000>;
397			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
398			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
399						   RPMH_REGULATOR_MODE_HPM>;
400			regulator-allow-set-load;
401		};
402
403		vreg_l12e: ldo12 {
404			regulator-min-microvolt = <1800000>;
405			regulator-max-microvolt = <1800000>;
406			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
407		};
408
409		vreg_l16e_3p0: ldo16 {
410			regulator-min-microvolt = <3072000>;
411			regulator-max-microvolt = <3072000>;
412			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
413		};
414	};
415};
416
417&gpu {
418	status = "okay";
419
420	zap-shader {
421		memory-region = <&gpu_mem>;
422		firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
423	};
424};
425
426&i2c1 {
427	clock-frequency = <100000>;
428
429	pinctrl-names = "default";
430	pinctrl-0 = <&ts_i2c_active_state>;
431
432	status = "okay";
433
434	touchscreen@10 {
435		compatible = "hid-over-i2c";
436		reg = <0x10>;
437		hid-descr-addr = <0x1>;
438
439		vdd-supply = <&vreg_l4c_3p3>;
440		vddl-supply = <&vreg_l12e>;
441
442		post-power-on-delay-ms = <20>;
443
444		interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>;
445
446		pinctrl-names = "default";
447		pinctrl-0 = <&ts_active_state>;
448	};
449};
450
451&i2c7 {
452	clock-frequency = <100000>;
453
454	pinctrl-names = "default";
455	pinctrl-0 = <&aux_i2c_active_state>;
456
457	status = "okay";
458
459	touchpad@15 {
460		compatible = "hid-over-i2c";
461		reg = <0x15>;
462		hid-descr-addr = <0x1>;
463
464		interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
465
466		pinctrl-names = "default";
467		pinctrl-0 = <&tp_int_active_state>;
468
469		vdd-supply = <&vdd_kb_tp_3v3>;
470	};
471
472	keyboard@3a {
473		compatible = "hid-over-i2c";
474		reg = <0x3a>;
475		hid-descr-addr = <0x1>;
476		interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>;
477
478		pinctrl-names = "default";
479		pinctrl-0 = <&kb_int_active_state>;
480
481		vdd-supply = <&vdd_kb_tp_3v3>;
482	};
483};
484
485&mdss {
486	status = "okay";
487};
488
489&mdss_dp0 {
490	status = "okay";
491};
492
493&mdss_dp0_out {
494	data-lanes = <0 1>;
495	remote-endpoint = <&usb_prim_qmpphy_dp_in>;
496};
497
498&mdss_dp1 {
499	status = "okay";
500};
501
502&mdss_dp1_out {
503	data-lanes = <0 1>;
504	remote-endpoint = <&usb_sec_qmpphy_dp_in>;
505};
506
507&mdss_edp {
508	data-lanes = <0 1 2 3>;
509
510	pinctrl-names = "default";
511	pinctrl-0 = <&edp_hpd_active>;
512
513	status = "okay";
514
515	aux-bus {
516		panel {
517			compatible = "edp-panel";
518
519			backlight = <&backlight>;
520
521			port {
522				auo_b133han05_in: endpoint {
523					remote-endpoint = <&mdss_edp_out>;
524				};
525			};
526		};
527	};
528
529	ports {
530		port@1 {
531			reg = <1>;
532			mdss_edp_out: endpoint {
533				remote-endpoint = <&auo_b133han05_in>;
534			};
535		};
536	};
537};
538
539&pcie1 {
540	perst-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
541	wake-gpios = <&tlmm 177 GPIO_ACTIVE_HIGH>;
542	pinctrl-names = "default";
543	pinctrl-0 = <&pcie2_default_state>;
544
545	status = "okay";
546};
547
548&pcie1_phy {
549	vdda-phy-supply = <&vreg_l5e_0p88>;
550	vdda-pll-supply = <&vreg_l3c_1p2>;
551
552	status = "okay";
553};
554
555&pmc8180c_lpg {
556	status = "okay";
557};
558
559&qupv3_id_0 {
560	status = "okay";
561};
562
563&qupv3_id_1 {
564	status = "okay";
565};
566
567&qupv3_id_2 {
568	status = "okay";
569};
570
571&remoteproc_adsp {
572	memory-region = <&adsp_mem>;
573	firmware-name = "qcom/sc8180x/qcadsp8180.mbn";
574
575	status = "okay";
576};
577
578&remoteproc_mpss {
579	memory-region = <&mpss_mem>;
580	firmware-name = "qcom/sc8180x/qcmpss8180.mbn";
581
582	status = "okay";
583};
584
585&uart12 {
586	compatible = "qcom,geni-debug-uart";
587	status = "okay";
588};
589
590&uart13 {
591	pinctrl-names = "default";
592	pinctrl-0 = <&uart13_state>;
593
594	status = "okay";
595
596	bluetooth {
597		compatible = "qcom,wcn3998-bt";
598
599		vddio-supply = <&vreg_s4a_1p8>;
600		vddxo-supply = <&vreg_l7a_1p8>;
601		vddrf-supply = <&vreg_l9a_1p3>;
602		vddch0-supply = <&vreg_l11c_3p3>;
603		max-speed = <3200000>;
604	};
605};
606
607&ufs_mem_hc {
608	reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>;
609
610	vcc-supply = <&vreg_l10e_2p9>;
611	vcc-max-microamp = <155000>;
612
613	vccq2-supply = <&vreg_l7e_1p8>;
614	vccq2-max-microamp = <425000>;
615
616	status = "okay";
617};
618
619&ufs_mem_phy {
620	vdda-phy-supply = <&vreg_l5e_0p88>;
621	vdda-pll-supply = <&vreg_l3c_1p2>;
622
623	status = "okay";
624};
625
626&usb_prim_hsphy {
627	vdda-pll-supply = <&vreg_l5e_0p88>;
628	vdda18-supply = <&vreg_l12a_1p8>;
629	vdda33-supply = <&vreg_l16e_3p0>;
630
631	status = "okay";
632};
633
634&usb_prim_qmpphy {
635	vdda-phy-supply = <&vreg_l3c_1p2>;
636	vdda-pll-supply = <&vreg_l5e_0p88>;
637
638	orientation-switch;
639
640	status = "okay";
641};
642
643&usb_prim {
644	status = "okay";
645};
646
647&usb_prim_dwc3 {
648	dr_mode = "host";
649};
650
651&usb_prim_qmpphy_dp_in {
652	remote-endpoint = <&mdss_dp0_out>;
653};
654
655&usb_prim_qmpphy_out {
656	remote-endpoint = <&pmic_glink_con0_ss>;
657};
658
659&usb_prim_role_switch {
660	remote-endpoint = <&pmic_glink_con0_hs>;
661};
662
663&usb_sec_hsphy {
664	vdda-pll-supply = <&vreg_l5e_0p88>;
665	vdda18-supply = <&vreg_l12a_1p8>;
666	vdda33-supply = <&vreg_l16e_3p0>;
667
668	status = "okay";
669};
670
671&usb_sec_qmpphy {
672	vdda-phy-supply = <&vreg_l3c_1p2>;
673	vdda-pll-supply = <&vreg_l5e_0p88>;
674
675	orientation-switch;
676
677	status = "okay";
678};
679
680&usb_sec_qmpphy_dp_in {
681	remote-endpoint = <&mdss_dp1_out>;
682};
683
684&usb_sec_qmpphy_out {
685	remote-endpoint = <&pmic_glink_con1_ss>;
686};
687
688&usb_sec_role_switch {
689	remote-endpoint = <&pmic_glink_con1_hs>;
690};
691
692&usb_sec {
693	status = "okay";
694};
695
696&usb_sec_dwc3 {
697	dr_mode = "host";
698};
699
700&wifi {
701	memory-region = <&wlan_mem>;
702
703	vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>;
704	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
705	vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;
706	vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
707	vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;
708
709	status = "okay";
710};
711
712&xo_board_clk {
713	clock-frequency = <38400000>;
714};
715
716/* PINCTRL */
717
718&pmc8180c_gpios {
719	bl_pwm_default: bl-pwm-default-state {
720		en-pins {
721			pins = "gpio8";
722			function = "normal";
723		};
724
725		pwm-pins {
726			pins = "gpio10";
727			function = "func1";
728		};
729	};
730};
731
732&tlmm {
733	gpio-reserved-ranges = <0 4>, <47 4>, <126 4>;
734
735	aux_i2c_active_state: aux-i2c-active-state {
736		pins = "gpio98", "gpio99";
737		function = "qup7";
738
739		bias-disable;
740		drive-strength = <16>;
741	};
742
743	edp_hpd_active: epd-hpd-active-state {
744		pins = "gpio10";
745		function = "edp_hot";
746	};
747
748	hall_int_active_state: hall-int-active-state {
749		pins = "gpio121";
750		function = "gpio";
751
752		bias-disable;
753	};
754
755	kb_int_active_state: kb-int-active-state {
756		int-n-pins {
757			pins = "gpio37";
758			function = "gpio";
759
760			bias-pull-up;
761		};
762
763		kp-disable-pins {
764			pins = "gpio135";
765			function = "gpio";
766
767			output-high;
768		};
769	};
770
771	kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state {
772		pins = "gpio4";
773		function = "gpio";
774
775		bias-disable;
776	};
777
778	pcie2_default_state: pcie2-default-state {
779		clkreq-pins {
780			pins = "gpio176";
781			function = "pci_e2";
782			bias-pull-up;
783		};
784
785		reset-n-pins {
786			pins = "gpio175";
787			function = "gpio";
788
789			drive-strength = <2>;
790			output-low;
791			bias-pull-down;
792		};
793
794		wake-n-pins {
795			pins = "gpio177";
796			function = "gpio";
797
798			drive-strength = <2>;
799			bias-pull-up;
800		};
801	};
802
803	usbprim_sbu_default: usbprim-sbu-state {
804		oe-n-pins {
805			pins = "gpio152";
806			function = "gpio";
807			bias-disable;
808			drive-strength = <16>;
809			output-high;
810		};
811
812		sel-pins {
813			pins = "gpio100";
814			function = "gpio";
815			bias-disable;
816			drive-strength = <16>;
817		};
818	};
819
820	usbsec_sbu_default: usbsec-sbu-state {
821		oe-n-pins {
822			pins = "gpio188";
823			function = "gpio";
824			bias-disable;
825			drive-strength = <16>;
826			output-high;
827		};
828
829		sel-pins {
830			pins = "gpio187";
831			function = "gpio";
832			bias-disable;
833			drive-strength = <16>;
834		};
835	};
836
837	tp_int_active_state: tp-int-active-state {
838		tp-int-pins {
839			pins = "gpio24";
840			function = "gpio";
841
842			bias-disable;
843		};
844
845		tp-close-n-pins {
846			pins = "gpio116";
847			function = "gpio";
848
849			bias-disable;
850		};
851	};
852
853	ts_active_state: ts-active-state {
854		int-n-pins {
855			pins = "gpio122";
856			function = "gpio";
857
858			bias-disable;
859		};
860
861		reset-n-pins {
862			pins = "gpio54";
863			function = "gpio";
864
865			output-high;
866		};
867	};
868
869	ts_i2c_active_state: ts-i2c-active-state {
870		pins = "gpio114", "gpio115";
871		function = "qup1";
872
873		/* External pull up */
874		bias-disable;
875		drive-strength = <2>;
876	};
877
878	uart13_state: uart13-state {
879		cts-pins {
880			pins = "gpio43";
881			function = "qup13";
882			bias-pull-down;
883		};
884
885		rts-tx-pins {
886			pins = "gpio44", "gpio45";
887			function = "qup13";
888			drive-strength = <2>;
889			bias-disable;
890		};
891
892		rx-pins {
893			pins = "gpio46";
894			function = "qup13";
895			bias-pull-up;
896		};
897	};
898};
899