1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022, Linaro Limited
5 */
6
7/dts-v1/;
8
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11
12#include "sc8280xp.dtsi"
13#include "sc8280xp-pmics.dtsi"
14
15/ {
16	model = "Qualcomm SC8280XP CRD";
17	compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp";
18
19	aliases {
20		i2c4 = &i2c4;
21		i2c21 = &i2c21;
22		serial0 = &uart17;
23	};
24
25	backlight: backlight {
26		compatible = "pwm-backlight";
27		pwms = <&pmc8280c_lpg 3 1000000>;
28		enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>;
29		power-supply = <&vreg_edp_bl>;
30
31		pinctrl-names = "default";
32		pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
33	};
34
35	chosen {
36		stdout-path = "serial0:115200n8";
37	};
38
39	pmic-glink {
40		compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
41
42		#address-cells = <1>;
43		#size-cells = <0>;
44
45		connector@0 {
46			compatible = "usb-c-connector";
47			reg = <0>;
48			power-role = "dual";
49			data-role = "dual";
50
51			ports {
52				#address-cells = <1>;
53				#size-cells = <0>;
54
55				port@0 {
56					reg = <0>;
57
58					pmic_glink_con0_hs: endpoint {
59						remote-endpoint = <&usb_0_role_switch>;
60					};
61				};
62
63				port@1 {
64					reg = <1>;
65
66					pmic_glink_con0_ss: endpoint {
67						remote-endpoint = <&usb_0_qmpphy_out>;
68					};
69				};
70
71				port@2 {
72					reg = <2>;
73
74					pmic_glink_con0_sbu: endpoint {
75						remote-endpoint = <&usb0_sbu_mux>;
76					};
77				};
78			};
79		};
80
81		connector@1 {
82			compatible = "usb-c-connector";
83			reg = <1>;
84			power-role = "dual";
85			data-role = "dual";
86
87			ports {
88				#address-cells = <1>;
89				#size-cells = <0>;
90				port@0 {
91					reg = <0>;
92
93					pmic_glink_con1_hs: endpoint {
94						remote-endpoint = <&usb_1_role_switch>;
95					};
96				};
97
98				port@1 {
99					reg = <1>;
100
101					pmic_glink_con1_ss: endpoint {
102						remote-endpoint = <&usb_1_qmpphy_out>;
103					};
104				};
105
106				port@2 {
107					reg = <2>;
108
109					pmic_glink_con1_sbu: endpoint {
110						remote-endpoint = <&usb1_sbu_mux>;
111					};
112				};
113			};
114		};
115	};
116
117	vreg_edp_3p3: regulator-edp-3p3 {
118		compatible = "regulator-fixed";
119
120		regulator-name = "VREG_EDP_3P3";
121		regulator-min-microvolt = <3300000>;
122		regulator-max-microvolt = <3300000>;
123
124		gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>;
125		enable-active-high;
126
127		pinctrl-names = "default";
128		pinctrl-0 = <&edp_reg_en>;
129
130		regulator-boot-on;
131	};
132
133	vreg_edp_bl: regulator-edp-bl {
134		compatible = "regulator-fixed";
135
136		regulator-name = "VREG_EDP_BL";
137		regulator-min-microvolt = <3600000>;
138		regulator-max-microvolt = <3600000>;
139
140		gpio = <&pmc8280_1_gpios 9 GPIO_ACTIVE_HIGH>;
141		enable-active-high;
142
143		pinctrl-names = "default";
144		pinctrl-0 = <&edp_bl_reg_en>;
145
146		regulator-boot-on;
147	};
148
149	vreg_nvme: regulator-nvme {
150		compatible = "regulator-fixed";
151
152		regulator-name = "VREG_NVME_3P3";
153		regulator-min-microvolt = <3300000>;
154		regulator-max-microvolt = <3300000>;
155
156		gpio = <&tlmm 135 GPIO_ACTIVE_HIGH>;
157		enable-active-high;
158
159		pinctrl-names = "default";
160		pinctrl-0 = <&nvme_reg_en>;
161	};
162
163	vreg_misc_3p3: regulator-misc-3p3 {
164		compatible = "regulator-fixed";
165
166		regulator-name = "VREG_MISC_3P3";
167		regulator-min-microvolt = <3300000>;
168		regulator-max-microvolt = <3300000>;
169
170		gpio = <&pmc8280_1_gpios 2 GPIO_ACTIVE_HIGH>;
171		enable-active-high;
172
173		pinctrl-names = "default";
174		pinctrl-0 = <&misc_3p3_reg_en>;
175
176		regulator-boot-on;
177		regulator-always-on;
178	};
179
180	vreg_wlan: regulator-wlan {
181		compatible = "regulator-fixed";
182
183		regulator-name = "VPH_PWR_WLAN";
184		regulator-min-microvolt = <3900000>;
185		regulator-max-microvolt = <3900000>;
186
187		gpio = <&pmr735a_gpios 1 GPIO_ACTIVE_HIGH>;
188		enable-active-high;
189
190		pinctrl-names = "default";
191		pinctrl-0 = <&hastings_reg_en>;
192
193		regulator-boot-on;
194	};
195
196	vreg_wwan: regulator-wwan {
197		compatible = "regulator-fixed";
198
199		regulator-name = "SDX_VPH_PWR";
200		regulator-min-microvolt = <3300000>;
201		regulator-max-microvolt = <3300000>;
202
203		gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>;
204		enable-active-high;
205
206		pinctrl-names = "default";
207		pinctrl-0 = <&wwan_sw_en>;
208
209		regulator-boot-on;
210	};
211
212	reserved-memory {
213		gpu_mem: gpu-mem@8bf00000 {
214			reg = <0 0x8bf00000 0 0x2000>;
215			no-map;
216		};
217
218		linux,cma {
219			compatible = "shared-dma-pool";
220			size = <0x0 0x8000000>;
221			reusable;
222			linux,cma-default;
223		};
224	};
225
226	usb0-sbu-mux {
227		compatible = "pericom,pi3usb102", "gpio-sbu-mux";
228
229		enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
230		select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
231
232		pinctrl-names = "default";
233		pinctrl-0 = <&usb0_sbu_default>;
234
235		mode-switch;
236		orientation-switch;
237
238		port {
239			usb0_sbu_mux: endpoint {
240				remote-endpoint = <&pmic_glink_con0_sbu>;
241			};
242		};
243	};
244
245	usb1-sbu-mux {
246		compatible = "pericom,pi3usb102", "gpio-sbu-mux";
247
248		enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
249		select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
250
251		pinctrl-names = "default";
252		pinctrl-0 = <&usb1_sbu_default>;
253
254		mode-switch;
255		orientation-switch;
256
257		port {
258			usb1_sbu_mux: endpoint {
259				remote-endpoint = <&pmic_glink_con1_sbu>;
260			};
261		};
262	};
263};
264
265&apps_rsc {
266	regulators-0 {
267		compatible = "qcom,pm8350-rpmh-regulators";
268		qcom,pmic-id = "b";
269
270		vdd-l3-l5-supply = <&vreg_s11b>;
271
272		vreg_s11b: smps11 {
273			regulator-name = "vreg_s11b";
274			regulator-min-microvolt = <1272000>;
275			regulator-max-microvolt = <1272000>;
276			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
277		};
278
279		vreg_l3b: ldo3 {
280			regulator-name = "vreg_l3b";
281			regulator-min-microvolt = <1200000>;
282			regulator-max-microvolt = <1200000>;
283			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
284			regulator-boot-on;
285		};
286
287		vreg_l4b: ldo4 {
288			regulator-name = "vreg_l4b";
289			regulator-min-microvolt = <912000>;
290			regulator-max-microvolt = <912000>;
291			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
292		};
293
294		vreg_l6b: ldo6 {
295			regulator-name = "vreg_l6b";
296			regulator-min-microvolt = <880000>;
297			regulator-max-microvolt = <880000>;
298			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
299			regulator-boot-on;
300		};
301	};
302
303	regulators-1 {
304		compatible = "qcom,pm8350c-rpmh-regulators";
305		qcom,pmic-id = "c";
306
307		vreg_l1c: ldo1 {
308			regulator-name = "vreg_l1c";
309			regulator-min-microvolt = <1800000>;
310			regulator-max-microvolt = <1800000>;
311			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
312		};
313
314		vreg_l6c: ldo6 {
315			regulator-name = "vreg_l6c";
316			regulator-min-microvolt = <1800000>;
317			regulator-max-microvolt = <2960000>;
318			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
319		};
320
321		vreg_l7c: ldo7 {
322			regulator-name = "vreg_l7c";
323			regulator-min-microvolt = <2504000>;
324			regulator-max-microvolt = <2504000>;
325			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
326			regulator-allow-set-load;
327			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
328						   RPMH_REGULATOR_MODE_HPM>;
329		};
330
331		vreg_l9c: ldo9 {
332			regulator-name = "vreg_l9c";
333			regulator-min-microvolt = <2960000>;
334			regulator-max-microvolt = <2960000>;
335			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
336		};
337
338		vreg_l13c: ldo13 {
339			regulator-name = "vreg_l13c";
340			regulator-min-microvolt = <3072000>;
341			regulator-max-microvolt = <3072000>;
342			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
343		};
344	};
345
346	regulators-2 {
347		compatible = "qcom,pm8350-rpmh-regulators";
348		qcom,pmic-id = "d";
349
350		vdd-l1-l4-supply = <&vreg_s11b>;
351
352		vreg_l3d: ldo3 {
353			regulator-name = "vreg_l3d";
354			regulator-min-microvolt = <1200000>;
355			regulator-max-microvolt = <1200000>;
356			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
357			regulator-allow-set-load;
358			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
359						   RPMH_REGULATOR_MODE_HPM>;
360		};
361
362		vreg_l4d: ldo4 {
363			regulator-name = "vreg_l4d";
364			regulator-min-microvolt = <1200000>;
365			regulator-max-microvolt = <1200000>;
366			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367		};
368
369		vreg_l6d: ldo6 {
370			regulator-name = "vreg_l6d";
371			regulator-min-microvolt = <880000>;
372			regulator-max-microvolt = <880000>;
373			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
374		};
375
376		vreg_l7d: ldo7 {
377			regulator-name = "vreg_l7d";
378			regulator-min-microvolt = <3072000>;
379			regulator-max-microvolt = <3072000>;
380			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
381		};
382
383		vreg_l9d: ldo9 {
384			regulator-name = "vreg_l9d";
385			regulator-min-microvolt = <912000>;
386			regulator-max-microvolt = <912000>;
387			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
388		};
389	};
390};
391
392&dispcc0 {
393	status = "okay";
394};
395
396&gpu {
397	status = "okay";
398
399	zap-shader {
400		memory-region = <&gpu_mem>;
401		firmware-name = "qcom/sc8280xp/qcdxkmsuc8280.mbn";
402	};
403};
404
405&mdss0 {
406	status = "okay";
407};
408
409&mdss0_dp0 {
410	status = "okay";
411};
412
413&mdss0_dp0_out {
414	data-lanes = <0 1>;
415	remote-endpoint = <&usb_0_qmpphy_dp_in>;
416};
417
418&mdss0_dp1 {
419	status = "okay";
420};
421
422&mdss0_dp1_out {
423	data-lanes = <0 1>;
424	remote-endpoint = <&usb_1_qmpphy_dp_in>;
425};
426
427&mdss0_dp3 {
428	compatible = "qcom,sc8280xp-edp";
429	/delete-property/ #sound-dai-cells;
430
431	data-lanes = <0 1 2 3>;
432
433	status = "okay";
434
435	aux-bus {
436		panel {
437			compatible = "edp-panel";
438			power-supply = <&vreg_edp_3p3>;
439
440			backlight = <&backlight>;
441
442			port {
443				edp_panel_in: endpoint {
444					remote-endpoint = <&mdss0_dp3_out>;
445				};
446			};
447		};
448	};
449
450	ports {
451		port@1 {
452			reg = <1>;
453			mdss0_dp3_out: endpoint {
454				remote-endpoint = <&edp_panel_in>;
455			};
456		};
457	};
458};
459
460&mdss0_dp3_phy {
461	compatible = "qcom,sc8280xp-edp-phy";
462
463	vdda-phy-supply = <&vreg_l6b>;
464	vdda-pll-supply = <&vreg_l3b>;
465
466	status = "okay";
467};
468
469&i2c4 {
470	clock-frequency = <400000>;
471
472	pinctrl-names = "default";
473	pinctrl-0 = <&i2c4_default>;
474
475	status = "okay";
476
477	touchscreen@10 {
478		compatible = "hid-over-i2c";
479		reg = <0x10>;
480
481		hid-descr-addr = <0x1>;
482		interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
483		vdd-supply = <&vreg_misc_3p3>;
484
485		pinctrl-names = "default";
486		pinctrl-0 = <&ts0_default>;
487	};
488};
489
490&i2c21 {
491	clock-frequency = <400000>;
492
493	pinctrl-names = "default";
494	pinctrl-0 = <&i2c21_default>;
495
496	status = "okay";
497
498	touchpad@15 {
499		compatible = "hid-over-i2c";
500		reg = <0x15>;
501
502		hid-descr-addr = <0x1>;
503		interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
504		vdd-supply = <&vreg_misc_3p3>;
505
506		pinctrl-names = "default";
507		pinctrl-0 = <&tpad_default>;
508
509		wakeup-source;
510	};
511
512	keyboard@68 {
513		compatible = "hid-over-i2c";
514		reg = <0x68>;
515
516		hid-descr-addr = <0x1>;
517		interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
518		vdd-supply = <&vreg_misc_3p3>;
519
520		pinctrl-names = "default";
521		pinctrl-0 = <&kybd_default>;
522
523		wakeup-source;
524	};
525};
526
527&pcie2a {
528	perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
529	wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
530
531	vddpe-3v3-supply = <&vreg_nvme>;
532
533	pinctrl-names = "default";
534	pinctrl-0 = <&pcie2a_default>;
535
536	status = "okay";
537};
538
539&pcie2a_phy {
540	vdda-phy-supply = <&vreg_l6d>;
541	vdda-pll-supply = <&vreg_l4d>;
542
543	status = "okay";
544};
545
546&pcie3a {
547	perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
548	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
549
550	vddpe-3v3-supply = <&vreg_wwan>;
551
552	pinctrl-names = "default";
553	pinctrl-0 = <&pcie3a_default>;
554
555	status = "okay";
556};
557
558&pcie3a_phy {
559	vdda-phy-supply = <&vreg_l6d>;
560	vdda-pll-supply = <&vreg_l4d>;
561
562	status = "okay";
563};
564
565&pcie4 {
566	perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
567	wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
568
569	vddpe-3v3-supply = <&vreg_wlan>;
570
571	pinctrl-names = "default";
572	pinctrl-0 = <&pcie4_default>;
573
574	status = "okay";
575};
576
577&pcie4_phy {
578	vdda-phy-supply = <&vreg_l6d>;
579	vdda-pll-supply = <&vreg_l4d>;
580
581	status = "okay";
582};
583
584&pmc8280c_lpg {
585	status = "okay";
586};
587
588&pmk8280_pon_pwrkey {
589	status = "okay";
590};
591
592&pmk8280_rtc {
593	nvmem-cells = <&rtc_offset>;
594	nvmem-cell-names = "offset";
595
596	status = "okay";
597};
598
599&pmk8280_sdam_6 {
600	status = "okay";
601
602	rtc_offset: rtc-offset@bc {
603		reg = <0xbc 0x4>;
604	};
605};
606
607&qup0 {
608	status = "okay";
609};
610
611&qup1 {
612	status = "okay";
613};
614
615&qup2 {
616	status = "okay";
617};
618
619&remoteproc_adsp {
620	firmware-name = "qcom/sc8280xp/qcadsp8280.mbn";
621
622	status = "okay";
623};
624
625&remoteproc_nsp0 {
626	firmware-name = "qcom/sc8280xp/qccdsp8280.mbn";
627
628	status = "okay";
629};
630
631&sdc2 {
632	pinctrl-0 = <&sdc2_default_state>;
633	pinctrl-1 = <&sdc2_sleep_state>;
634	pinctrl-names = "default", "sleep";
635
636	vmmc-supply = <&vreg_l9c>;
637	vqmmc-supply = <&vreg_l6c>;
638
639	cd-gpios = <&tlmm 131 GPIO_ACTIVE_LOW>;
640
641	status = "okay";
642};
643
644&uart17 {
645	compatible = "qcom,geni-debug-uart";
646
647	status = "okay";
648};
649
650&ufs_mem_hc {
651	reset-gpios = <&tlmm 228 GPIO_ACTIVE_LOW>;
652
653	vcc-supply = <&vreg_l7c>;
654	vcc-max-microamp = <800000>;
655	vccq-supply = <&vreg_l3d>;
656	vccq-max-microamp = <900000>;
657
658	status = "okay";
659};
660
661&ufs_mem_phy {
662	vdda-phy-supply = <&vreg_l6b>;
663	vdda-pll-supply = <&vreg_l3b>;
664
665	status = "okay";
666};
667
668&usb_0 {
669	status = "okay";
670};
671
672&usb_0_dwc3 {
673	dr_mode = "host";
674};
675
676&usb_0_hsphy {
677	vdda-pll-supply = <&vreg_l9d>;
678	vdda18-supply = <&vreg_l1c>;
679	vdda33-supply = <&vreg_l7d>;
680
681	status = "okay";
682};
683
684&usb_0_qmpphy {
685	vdda-phy-supply = <&vreg_l9d>;
686	vdda-pll-supply = <&vreg_l4d>;
687
688	orientation-switch;
689
690	status = "okay";
691};
692
693&usb_0_qmpphy_dp_in {
694	remote-endpoint = <&mdss0_dp0_out>;
695};
696
697&usb_0_qmpphy_out {
698	remote-endpoint = <&pmic_glink_con0_ss>;
699};
700
701&usb_0_role_switch {
702	remote-endpoint = <&pmic_glink_con0_hs>;
703};
704
705&usb_1 {
706	status = "okay";
707};
708
709&usb_1_dwc3 {
710	dr_mode = "host";
711};
712
713&usb_1_hsphy {
714	vdda-pll-supply = <&vreg_l4b>;
715	vdda18-supply = <&vreg_l1c>;
716	vdda33-supply = <&vreg_l13c>;
717
718	status = "okay";
719};
720
721&usb_1_qmpphy {
722	vdda-phy-supply = <&vreg_l4b>;
723	vdda-pll-supply = <&vreg_l3b>;
724
725	orientation-switch;
726
727	status = "okay";
728};
729
730&usb_1_qmpphy_dp_in {
731	remote-endpoint = <&mdss0_dp1_out>;
732};
733
734&usb_1_qmpphy_out {
735	remote-endpoint = <&pmic_glink_con1_ss>;
736};
737
738&usb_1_role_switch {
739	remote-endpoint = <&pmic_glink_con1_hs>;
740};
741
742&xo_board_clk {
743	clock-frequency = <38400000>;
744};
745
746/* PINCTRL - additions to nodes defined in sc8280xp.dtsi */
747
748&pmc8280_1_gpios {
749	edp_bl_en: edp-bl-en-state {
750		pins = "gpio8";
751		function = "normal";
752	};
753
754	edp_bl_reg_en: edp-bl-reg-en-state {
755		pins = "gpio9";
756		function = "normal";
757	};
758
759	misc_3p3_reg_en: misc-3p3-reg-en-state {
760		pins = "gpio2";
761		function = "normal";
762	};
763};
764
765&pmc8280_2_gpios {
766	wwan_sw_en: wwan-sw-en-state {
767		pins = "gpio1";
768		function = "normal";
769	};
770};
771
772&pmc8280c_gpios {
773	edp_bl_pwm: edp-bl-pwm-state {
774		pins = "gpio8";
775		function = "func1";
776	};
777};
778
779&pmr735a_gpios {
780	hastings_reg_en: hastings-reg-en-state {
781		pins = "gpio1";
782		function = "normal";
783	};
784};
785
786&tlmm {
787	gpio-reserved-ranges = <74 6>, <83 4>, <125 2>, <128 2>, <154 7>;
788
789	edp_reg_en: edp-reg-en-state {
790		pins = "gpio25";
791		function = "gpio";
792		drive-strength = <16>;
793		bias-disable;
794	};
795
796	i2c4_default: i2c4-default-state {
797		pins = "gpio171", "gpio172";
798		function = "qup4";
799		drive-strength = <16>;
800		bias-disable;
801	};
802
803	i2c21_default: i2c21-default-state {
804		pins = "gpio81", "gpio82";
805		function = "qup21";
806		drive-strength = <16>;
807		bias-disable;
808	};
809
810	kybd_default: kybd-default-state {
811		disable-pins {
812			pins = "gpio102";
813			function = "gpio";
814			output-low;
815		};
816
817		int-n-pins {
818			pins = "gpio104";
819			function = "gpio";
820			bias-disable;
821		};
822
823		reset-pins {
824			pins = "gpio105";
825			function = "gpio";
826			bias-disable;
827		};
828	};
829
830	nvme_reg_en: nvme-reg-en-state {
831		pins = "gpio135";
832		function = "gpio";
833		drive-strength = <2>;
834		bias-disable;
835	};
836
837	pcie2a_default: pcie2a-default-state {
838		clkreq-n-pins {
839			pins = "gpio142";
840			function = "pcie2a_clkreq";
841			drive-strength = <2>;
842			bias-pull-up;
843		};
844
845		perst-n-pins {
846			pins = "gpio143";
847			function = "gpio";
848			drive-strength = <2>;
849			bias-pull-down;
850		};
851
852		wake-n-pins {
853		       pins = "gpio145";
854		       function = "gpio";
855		       drive-strength = <2>;
856		       bias-pull-up;
857	       };
858	};
859
860	pcie3a_default: pcie3a-default-state {
861		clkreq-n-pins {
862			pins = "gpio150";
863			function = "pcie3a_clkreq";
864			drive-strength = <2>;
865			bias-pull-up;
866		};
867
868		perst-n-pins {
869			pins = "gpio151";
870			function = "gpio";
871			drive-strength = <2>;
872			bias-pull-down;
873		};
874
875		wake-n-pins {
876			pins = "gpio148";
877			function = "gpio";
878			drive-strength = <2>;
879			bias-pull-up;
880		};
881	};
882
883	pcie4_default: pcie4-default-state {
884		clkreq-n-pins {
885			pins = "gpio140";
886			function = "pcie4_clkreq";
887			drive-strength = <2>;
888			bias-pull-up;
889		};
890
891		perst-n-pins {
892			pins = "gpio141";
893			function = "gpio";
894			drive-strength = <2>;
895			bias-pull-down;
896		};
897
898		wake-n-pins {
899			pins = "gpio139";
900			function = "gpio";
901			drive-strength = <2>;
902			bias-pull-up;
903		};
904	};
905
906	sdc2_default_state: sdc2-default-state {
907		clk-pins {
908			pins = "sdc2_clk";
909			drive-strength = <16>;
910			bias-disable;
911		};
912
913		cmd-pins {
914			pins = "sdc2_cmd";
915			drive-strength = <16>;
916			bias-pull-up;
917		};
918
919		data-pins {
920			pins = "sdc2_data";
921			drive-strength = <16>;
922			bias-pull-up;
923		};
924
925		card-detect-pins {
926			pins = "gpio131";
927			function = "gpio";
928			drive-strength = <2>;
929			bias-disable;
930		};
931	};
932
933	sdc2_sleep_state: sdc2-sleep-state {
934		clk-pins {
935			pins = "sdc2_clk";
936			drive-strength = <2>;
937			bias-disable;
938		};
939
940		cmd-pins {
941			pins = "sdc2_cmd";
942			drive-strength = <2>;
943			bias-pull-up;
944		};
945
946		data-pins {
947			pins = "sdc2_data";
948			drive-strength = <2>;
949			bias-pull-up;
950		};
951
952		card-detect-pins {
953			pins = "gpio131";
954			function = "gpio";
955			drive-strength = <2>;
956			bias-disable;
957		};
958	};
959
960	tpad_default: tpad-default-state {
961		int-n-pins {
962			pins = "gpio182";
963			function = "gpio";
964			bias-disable;
965		};
966	};
967
968	ts0_default: ts0-default-state {
969		int-n-pins {
970			pins = "gpio175";
971			function = "gpio";
972			bias-disable;
973		};
974
975		reset-n-pins {
976			pins = "gpio99";
977			function = "gpio";
978			output-high;
979			drive-strength = <16>;
980		};
981	};
982
983	usb0_sbu_default: usb0-sbu-state {
984		oe-n-pins {
985			pins = "gpio101";
986			function = "gpio";
987			bias-disable;
988			drive-strength = <16>;
989			output-high;
990		};
991
992		sel-pins {
993			pins = "gpio164";
994			function = "gpio";
995			bias-disable;
996			drive-strength = <16>;
997		};
998
999		mode-pins {
1000			pins = "gpio167";
1001			function = "gpio";
1002			bias-disable;
1003			drive-strength = <16>;
1004			output-high;
1005		};
1006	};
1007
1008	usb1_sbu_default: usb1-sbu-state {
1009		oe-n-pins {
1010			pins = "gpio48";
1011			function = "gpio";
1012			bias-disable;
1013			drive-strength = <16>;
1014			output-high;
1015		};
1016
1017		sel-pins {
1018			pins = "gpio47";
1019			function = "gpio";
1020			bias-disable;
1021			drive-strength = <16>;
1022		};
1023
1024		mode-pins {
1025			pins = "gpio50";
1026			function = "gpio";
1027			bias-disable;
1028			drive-strength = <16>;
1029			output-high;
1030		};
1031	};
1032};
1033