1// SPDX-License-Identifier: GPL-2.0
2/*
3 * SDM845 MTP board device tree source
4 *
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6 */
7
8/dts-v1/;
9
10#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11#include "sdm845.dtsi"
12#include "pm8998.dtsi"
13#include "pmi8998.dtsi"
14
15/ {
16	model = "Qualcomm Technologies, Inc. SDM845 MTP";
17	compatible = "qcom,sdm845-mtp", "qcom,sdm845";
18	chassis-type = "handset";
19
20	aliases {
21		serial0 = &uart9;
22	};
23
24	chosen {
25		stdout-path = "serial0:115200n8";
26	};
27
28	vph_pwr: vph-pwr-regulator {
29		compatible = "regulator-fixed";
30		regulator-name = "vph_pwr";
31		regulator-min-microvolt = <3700000>;
32		regulator-max-microvolt = <3700000>;
33	};
34
35	/*
36	 * Apparently RPMh does not provide support for PM8998 S4 because it
37	 * is always-on; model it as a fixed regulator.
38	 */
39	vreg_s4a_1p8: pm8998-smps4 {
40		compatible = "regulator-fixed";
41		regulator-name = "vreg_s4a_1p8";
42
43		regulator-min-microvolt = <1800000>;
44		regulator-max-microvolt = <1800000>;
45
46		regulator-always-on;
47		regulator-boot-on;
48
49		vin-supply = <&vph_pwr>;
50	};
51
52	thermal-zones {
53		xo_thermal: xo-thermal {
54			polling-delay-passive = <0>;
55			polling-delay = <0>;
56
57			thermal-sensors = <&pm8998_adc_tm 1>;
58
59			trips {
60				trip-point {
61					temperature = <125000>;
62					hysteresis = <10000>;
63					type = "passive";
64				};
65			};
66		};
67
68		msm_thermal: msm-thermal {
69			polling-delay-passive = <0>;
70			polling-delay = <0>;
71
72			thermal-sensors = <&pm8998_adc_tm 2>;
73
74			trips {
75				trip-point {
76					temperature = <125000>;
77					hysteresis = <10000>;
78					type = "passive";
79				};
80			};
81		};
82
83		pa_thermal: pa-thermal {
84			polling-delay-passive = <0>;
85			polling-delay = <0>;
86
87			thermal-sensors = <&pm8998_adc_tm 3>;
88
89			trips {
90				trip-point {
91					temperature = <125000>;
92					hysteresis = <10000>;
93					type = "passive";
94				};
95			};
96		};
97
98		quiet_thermal: quiet-thermal {
99			polling-delay-passive = <0>;
100			polling-delay = <0>;
101
102			thermal-sensors = <&pm8998_adc_tm 4>;
103
104			trips {
105				trip-point {
106					temperature = <125000>;
107					hysteresis = <10000>;
108					type = "passive";
109				};
110			};
111		};
112	};
113};
114
115&adsp_pas {
116	status = "okay";
117	firmware-name = "qcom/sdm845/adsp.mdt";
118};
119
120&apps_rsc {
121	regulators-0 {
122		compatible = "qcom,pm8998-rpmh-regulators";
123		qcom,pmic-id = "a";
124
125		vdd-s1-supply = <&vph_pwr>;
126		vdd-s2-supply = <&vph_pwr>;
127		vdd-s3-supply = <&vph_pwr>;
128		vdd-s4-supply = <&vph_pwr>;
129		vdd-s5-supply = <&vph_pwr>;
130		vdd-s6-supply = <&vph_pwr>;
131		vdd-s7-supply = <&vph_pwr>;
132		vdd-s8-supply = <&vph_pwr>;
133		vdd-s9-supply = <&vph_pwr>;
134		vdd-s10-supply = <&vph_pwr>;
135		vdd-s11-supply = <&vph_pwr>;
136		vdd-s12-supply = <&vph_pwr>;
137		vdd-s13-supply = <&vph_pwr>;
138		vdd-l1-l27-supply = <&vreg_s7a_1p025>;
139		vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
140		vdd-l3-l11-supply = <&vreg_s7a_1p025>;
141		vdd-l4-l5-supply = <&vreg_s7a_1p025>;
142		vdd-l6-supply = <&vph_pwr>;
143		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
144		vdd-l9-supply = <&vreg_bob>;
145		vdd-l10-l23-l25-supply = <&vreg_bob>;
146		vdd-l13-l19-l21-supply = <&vreg_bob>;
147		vdd-l16-l28-supply = <&vreg_bob>;
148		vdd-l18-l22-supply = <&vreg_bob>;
149		vdd-l20-l24-supply = <&vreg_bob>;
150		vdd-l26-supply = <&vreg_s3a_1p35>;
151		vin-lvs-1-2-supply = <&vreg_s4a_1p8>;
152
153		vreg_s2a_1p125: smps2 {
154			regulator-min-microvolt = <1100000>;
155			regulator-max-microvolt = <1100000>;
156		};
157
158		vreg_s3a_1p35: smps3 {
159			regulator-min-microvolt = <1352000>;
160			regulator-max-microvolt = <1352000>;
161		};
162
163		vreg_s5a_2p04: smps5 {
164			regulator-min-microvolt = <1904000>;
165			regulator-max-microvolt = <2040000>;
166		};
167
168		vreg_s7a_1p025: smps7 {
169			regulator-min-microvolt = <900000>;
170			regulator-max-microvolt = <1028000>;
171		};
172
173		vdd_qusb_hs0:
174		vdda_hp_pcie_core:
175		vdda_mipi_csi0_0p9:
176		vdda_mipi_csi1_0p9:
177		vdda_mipi_csi2_0p9:
178		vdda_mipi_dsi0_pll:
179		vdda_mipi_dsi1_pll:
180		vdda_qlink_lv:
181		vdda_qlink_lv_ck:
182		vdda_qrefs_0p875:
183		vdda_pcie_core:
184		vdda_pll_cc_ebi01:
185		vdda_pll_cc_ebi23:
186		vdda_sp_sensor:
187		vdda_ufs1_core:
188		vdda_ufs2_core:
189		vdda_usb1_ss_core:
190		vdda_usb2_ss_core:
191		vreg_l1a_0p875: ldo1 {
192			regulator-min-microvolt = <880000>;
193			regulator-max-microvolt = <880000>;
194			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
195		};
196
197		vddpx_10:
198		vreg_l2a_1p2: ldo2 {
199			regulator-min-microvolt = <1200000>;
200			regulator-max-microvolt = <1200000>;
201			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
202			regulator-always-on;
203		};
204
205		vreg_l3a_1p0: ldo3 {
206			regulator-min-microvolt = <1000000>;
207			regulator-max-microvolt = <1000000>;
208			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
209		};
210
211		vdd_wcss_cx:
212		vdd_wcss_mx:
213		vdda_wcss_pll:
214		vreg_l5a_0p8: ldo5 {
215			regulator-min-microvolt = <800000>;
216			regulator-max-microvolt = <800000>;
217			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
218		};
219
220		vddpx_13:
221		vreg_l6a_1p8: ldo6 {
222			regulator-min-microvolt = <1856000>;
223			regulator-max-microvolt = <1856000>;
224			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
225		};
226
227		vreg_l7a_1p8: ldo7 {
228			regulator-min-microvolt = <1800000>;
229			regulator-max-microvolt = <1800000>;
230			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
231		};
232
233		vreg_l8a_1p2: ldo8 {
234			regulator-min-microvolt = <1200000>;
235			regulator-max-microvolt = <1248000>;
236			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
237		};
238
239		vreg_l9a_1p8: ldo9 {
240			regulator-min-microvolt = <1704000>;
241			regulator-max-microvolt = <2928000>;
242			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
243		};
244
245		vreg_l10a_1p8: ldo10 {
246			regulator-min-microvolt = <1704000>;
247			regulator-max-microvolt = <2928000>;
248			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
249		};
250
251		vreg_l11a_1p0: ldo11 {
252			regulator-min-microvolt = <1000000>;
253			regulator-max-microvolt = <1048000>;
254			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
255		};
256
257		vdd_qfprom:
258		vdd_qfprom_sp:
259		vdda_apc1_cs_1p8:
260		vdda_gfx_cs_1p8:
261		vdda_qrefs_1p8:
262		vdda_qusb_hs0_1p8:
263		vddpx_11:
264		vreg_l12a_1p8: ldo12 {
265			regulator-min-microvolt = <1800000>;
266			regulator-max-microvolt = <1800000>;
267			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
268		};
269
270		vddpx_2:
271		vreg_l13a_2p95: ldo13 {
272			regulator-min-microvolt = <1800000>;
273			regulator-max-microvolt = <2960000>;
274			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
275		};
276
277		vreg_l14a_1p88: ldo14 {
278			regulator-min-microvolt = <1800000>;
279			regulator-max-microvolt = <1800000>;
280			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
281		};
282
283		vreg_l15a_1p8: ldo15 {
284			regulator-min-microvolt = <1800000>;
285			regulator-max-microvolt = <1800000>;
286			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287		};
288
289		vreg_l16a_2p7: ldo16 {
290			regulator-min-microvolt = <2704000>;
291			regulator-max-microvolt = <2704000>;
292			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
293		};
294
295		vreg_l17a_1p3: ldo17 {
296			regulator-min-microvolt = <1304000>;
297			regulator-max-microvolt = <1304000>;
298			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
299		};
300
301		vreg_l18a_2p7: ldo18 {
302			regulator-min-microvolt = <2704000>;
303			regulator-max-microvolt = <2960000>;
304			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
305		};
306
307		vreg_l19a_3p0: ldo19 {
308			regulator-min-microvolt = <2856000>;
309			regulator-max-microvolt = <3104000>;
310			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311		};
312
313		vreg_l20a_2p95: ldo20 {
314			regulator-min-microvolt = <2704000>;
315			regulator-max-microvolt = <2960000>;
316			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
317		};
318
319		vreg_l21a_2p95: ldo21 {
320			regulator-min-microvolt = <2704000>;
321			regulator-max-microvolt = <2960000>;
322			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
323		};
324
325		vreg_l22a_2p85: ldo22 {
326			regulator-min-microvolt = <2864000>;
327			regulator-max-microvolt = <3312000>;
328			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329		};
330
331		vreg_l23a_3p3: ldo23 {
332			regulator-min-microvolt = <3000000>;
333			regulator-max-microvolt = <3312000>;
334			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
335		};
336
337		vdda_qusb_hs0_3p1:
338		vreg_l24a_3p075: ldo24 {
339			regulator-min-microvolt = <3088000>;
340			regulator-max-microvolt = <3088000>;
341			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
342		};
343
344		vreg_l25a_3p3: ldo25 {
345			regulator-min-microvolt = <3300000>;
346			regulator-max-microvolt = <3312000>;
347			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
348		};
349
350		vdda_hp_pcie_1p2:
351		vdda_hv_ebi0:
352		vdda_hv_ebi1:
353		vdda_hv_ebi2:
354		vdda_hv_ebi3:
355		vdda_mipi_csi_1p25:
356		vdda_mipi_dsi0_1p2:
357		vdda_mipi_dsi1_1p2:
358		vdda_pcie_1p2:
359		vdda_ufs1_1p2:
360		vdda_ufs2_1p2:
361		vdda_usb1_ss_1p2:
362		vdda_usb2_ss_1p2:
363		vreg_l26a_1p2: ldo26 {
364			regulator-min-microvolt = <1200000>;
365			regulator-max-microvolt = <1200000>;
366			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367		};
368
369		vreg_l28a_3p0: ldo28 {
370			regulator-min-microvolt = <2856000>;
371			regulator-max-microvolt = <3008000>;
372			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
373		};
374
375		vreg_lvs1a_1p8: lvs1 {
376			regulator-min-microvolt = <1800000>;
377			regulator-max-microvolt = <1800000>;
378		};
379
380		vreg_lvs2a_1p8: lvs2 {
381			regulator-min-microvolt = <1800000>;
382			regulator-max-microvolt = <1800000>;
383		};
384	};
385
386	regulators-1 {
387		compatible = "qcom,pmi8998-rpmh-regulators";
388		qcom,pmic-id = "b";
389
390		vdd-bob-supply = <&vph_pwr>;
391
392		vreg_bob: bob {
393			regulator-min-microvolt = <3312000>;
394			regulator-max-microvolt = <3600000>;
395			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
396			regulator-allow-bypass;
397		};
398	};
399
400	regulators-2 {
401		compatible = "qcom,pm8005-rpmh-regulators";
402		qcom,pmic-id = "c";
403
404		vdd-s1-supply = <&vph_pwr>;
405		vdd-s2-supply = <&vph_pwr>;
406		vdd-s3-supply = <&vph_pwr>;
407		vdd-s4-supply = <&vph_pwr>;
408
409		vreg_s3c_0p6: smps3 {
410			regulator-min-microvolt = <600000>;
411			regulator-max-microvolt = <600000>;
412		};
413	};
414};
415
416&cdsp_pas {
417	status = "okay";
418	firmware-name = "qcom/sdm845/cdsp.mdt";
419};
420
421&gcc {
422	protected-clocks = <GCC_QSPI_CORE_CLK>,
423			   <GCC_QSPI_CORE_CLK_SRC>,
424			   <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
425			   <GCC_LPASS_Q6_AXI_CLK>,
426			   <GCC_LPASS_SWAY_CLK>;
427};
428
429&gmu {
430	status = "okay";
431};
432
433&gpu {
434	status = "okay";
435
436	zap-shader {
437		memory-region = <&gpu_mem>;
438		firmware-name = "qcom/sdm845/a630_zap.mbn";
439	};
440};
441
442&i2c10 {
443	status = "okay";
444	clock-frequency = <400000>;
445};
446
447&ipa {
448	qcom,gsi-loader = "self";
449	memory-region = <&ipa_fw_mem>;
450	status = "okay";
451};
452
453&mdss {
454	status = "okay";
455};
456
457&mdss_dsi0 {
458	status = "okay";
459	vdda-supply = <&vdda_mipi_dsi0_1p2>;
460
461	qcom,dual-dsi-mode;
462	qcom,master-dsi;
463
464	ports {
465		port@1 {
466			endpoint {
467				remote-endpoint = <&truly_in_0>;
468				data-lanes = <0 1 2 3>;
469			};
470		};
471	};
472
473	panel@0 {
474		compatible = "truly,nt35597-2K-display";
475		reg = <0>;
476		vdda-supply = <&vreg_l14a_1p88>;
477
478		reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
479		mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
480
481		ports {
482			#address-cells = <1>;
483			#size-cells = <0>;
484
485			port@0 {
486				reg = <0>;
487				truly_in_0: endpoint {
488					remote-endpoint = <&mdss_dsi0_out>;
489				};
490			};
491
492			port@1 {
493				reg = <1>;
494				truly_in_1: endpoint {
495					remote-endpoint = <&mdss_dsi1_out>;
496				};
497			};
498		};
499	};
500};
501
502&mdss_dsi0_phy {
503	status = "okay";
504	vdds-supply = <&vdda_mipi_dsi0_pll>;
505};
506
507&mdss_dsi1 {
508	status = "okay";
509	vdda-supply = <&vdda_mipi_dsi1_1p2>;
510
511	qcom,dual-dsi-mode;
512
513	/* DSI1 is slave, so use DSI0 clocks */
514	assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
515
516	ports {
517		port@1 {
518			endpoint {
519				remote-endpoint = <&truly_in_1>;
520				data-lanes = <0 1 2 3>;
521			};
522		};
523	};
524};
525
526&mdss_dsi1_phy {
527	status = "okay";
528	vdds-supply = <&vdda_mipi_dsi1_pll>;
529};
530
531&mss_pil {
532	status = "okay";
533	firmware-name = "qcom/sdm845/mba.mbn", "qcom/sdm845/modem.mbn";
534};
535
536&pm8998_adc {
537	channel@4c {
538		reg = <ADC5_XO_THERM_100K_PU>;
539		label = "xo_therm";
540		qcom,ratiometric;
541		qcom,hw-settle-time = <200>;
542	};
543
544	channel@4d {
545		reg = <ADC5_AMUX_THM1_100K_PU>;
546		label = "msm_therm";
547		qcom,ratiometric;
548		qcom,hw-settle-time = <200>;
549	};
550
551	channel@4f {
552		reg = <ADC5_AMUX_THM3_100K_PU>;
553		label = "pa_therm1";
554		qcom,ratiometric;
555		qcom,hw-settle-time = <200>;
556	};
557
558	channel@51 {
559		reg = <ADC5_AMUX_THM5_100K_PU>;
560		label = "quiet_therm";
561		qcom,ratiometric;
562		qcom,hw-settle-time = <200>;
563	};
564
565	channel@83 {
566		reg = <ADC5_VPH_PWR>;
567		label = "vph_pwr";
568		qcom,ratiometric;
569		qcom,hw-settle-time = <200>;
570	};
571
572	channel@85 {
573		reg = <ADC5_VCOIN>;
574		label = "vcoin";
575		qcom,ratiometric;
576		qcom,hw-settle-time = <200>;
577	};
578};
579
580&pm8998_adc_tm {
581	status = "okay";
582
583	xo-thermistor@1 {
584		reg = <1>;
585		io-channels = <&pm8998_adc ADC5_XO_THERM_100K_PU>;
586		qcom,ratiometric;
587		qcom,hw-settle-time-us = <200>;
588	};
589
590	msm-thermistor@2 {
591		reg = <2>;
592		io-channels = <&pm8998_adc ADC5_AMUX_THM1_100K_PU>;
593		qcom,ratiometric;
594		qcom,hw-settle-time-us = <200>;
595	};
596
597	pa-thermistor@3 {
598		reg = <3>;
599		io-channels = <&pm8998_adc ADC5_AMUX_THM3_100K_PU>;
600		qcom,ratiometric;
601		qcom,hw-settle-time-us = <200>;
602	};
603
604	quiet-thermistor@4 {
605		reg = <4>;
606		io-channels = <&pm8998_adc ADC5_AMUX_THM5_100K_PU>;
607		qcom,ratiometric;
608		qcom,hw-settle-time-us = <200>;
609	};
610};
611
612&qupv3_id_1 {
613	status = "okay";
614};
615
616&sdhc_2 {
617	status = "okay";
618
619	pinctrl-names = "default";
620	pinctrl-0 = <&sdc2_clk &sdc2_cmd &sdc2_data &sd_card_det_n>;
621
622	vmmc-supply = <&vreg_l21a_2p95>;
623	vqmmc-supply = <&vddpx_2>;
624
625	cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
626};
627
628&uart9 {
629	status = "okay";
630};
631
632&ufs_mem_hc {
633	status = "okay";
634
635	reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
636
637	vcc-supply = <&vreg_l20a_2p95>;
638	vcc-max-microamp = <600000>;
639};
640
641&ufs_mem_phy {
642	status = "okay";
643
644	vdda-phy-supply = <&vdda_ufs1_core>;
645	vdda-pll-supply = <&vdda_ufs1_1p2>;
646};
647
648&usb_1 {
649	status = "okay";
650};
651
652&usb_1_dwc3 {
653	/* Until we have Type C hooked up we'll force this as peripheral. */
654	dr_mode = "peripheral";
655};
656
657&usb_1_hsphy {
658	status = "okay";
659
660	vdd-supply = <&vdda_usb1_ss_core>;
661	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
662	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
663
664	qcom,imp-res-offset-value = <8>;
665	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
666	qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
667	qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
668};
669
670&usb_1_qmpphy {
671	status = "okay";
672
673	vdda-phy-supply = <&vdda_usb1_ss_1p2>;
674	vdda-pll-supply = <&vdda_usb1_ss_core>;
675};
676
677&usb_2 {
678	status = "okay";
679};
680
681&usb_2_dwc3 {
682	/*
683	 * Though the USB block on SDM845 can support host, there's no vbus
684	 * signal for this port on MTP.  Thus (unless you have a non-compliant
685	 * hub that works without vbus) the only sensible thing is to force
686	 * peripheral mode.
687	 */
688	dr_mode = "peripheral";
689};
690
691&usb_2_hsphy {
692	status = "okay";
693
694	vdd-supply = <&vdda_usb2_ss_core>;
695	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
696	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
697
698	qcom,imp-res-offset-value = <8>;
699	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
700};
701
702&usb_2_qmpphy {
703	status = "okay";
704
705	vdda-phy-supply = <&vdda_usb2_ss_1p2>;
706	vdda-pll-supply = <&vdda_usb2_ss_core>;
707};
708
709&venus {
710	status = "okay";
711};
712
713&wifi {
714	status = "okay";
715	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
716	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
717	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
718	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
719};
720
721/* PINCTRL - additions to nodes defined in sdm845.dtsi */
722
723&qup_i2c10_default {
724	drive-strength = <2>;
725	bias-disable;
726};
727
728&qup_uart9_rx {
729	drive-strength = <2>;
730	bias-pull-up;
731};
732
733&qup_uart9_tx {
734	drive-strength = <2>;
735	bias-disable;
736};
737
738&tlmm {
739	gpio-reserved-ranges = <0 4>, <81 4>;
740
741	sdc2_clk: sdc2-clk-state {
742		pins = "sdc2_clk";
743		bias-disable;
744
745		/*
746		 * It seems that mmc_test reports errors if drive
747		 * strength is not 16 on clk, cmd, and data pins.
748		 */
749		drive-strength = <16>;
750	};
751
752	sdc2_cmd: sdc2-cmd-state {
753		pins = "sdc2_cmd";
754		bias-pull-up;
755		drive-strength = <16>;
756	};
757
758	sdc2_data: sdc2-data-state {
759		pins = "sdc2_data";
760		bias-pull-up;
761		drive-strength = <16>;
762	};
763
764	sd_card_det_n: sd-card-det-n-state {
765		pins = "gpio126";
766		function = "gpio";
767		bias-pull-up;
768	};
769};
770