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