xref: /linux/arch/arm64/boot/dts/qcom/sdm845-mtp.dts (revision 64b14a184e83eb62ea0615e31a409956049d40e7)
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	pm8998-rpmh-regulators {
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	pmi8998-rpmh-regulators {
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	pm8005-rpmh-regulators {
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&dsi0 {
421	status = "okay";
422	vdda-supply = <&vdda_mipi_dsi0_1p2>;
423
424	qcom,dual-dsi-mode;
425	qcom,master-dsi;
426
427	ports {
428		port@1 {
429			endpoint {
430				remote-endpoint = <&truly_in_0>;
431				data-lanes = <0 1 2 3>;
432			};
433		};
434	};
435
436	panel@0 {
437		compatible = "truly,nt35597-2K-display";
438		reg = <0>;
439		vdda-supply = <&vreg_l14a_1p88>;
440
441		reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
442		mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
443
444		ports {
445			#address-cells = <1>;
446			#size-cells = <0>;
447
448			port@0 {
449				reg = <0>;
450				truly_in_0: endpoint {
451					remote-endpoint = <&dsi0_out>;
452				};
453			};
454
455			port@1 {
456				reg = <1>;
457				truly_in_1: endpoint {
458					remote-endpoint = <&dsi1_out>;
459				};
460			};
461		};
462	};
463};
464
465&dsi0_phy {
466	status = "okay";
467	vdds-supply = <&vdda_mipi_dsi0_pll>;
468};
469
470&dsi1 {
471	status = "okay";
472	vdda-supply = <&vdda_mipi_dsi1_1p2>;
473
474	qcom,dual-dsi-mode;
475
476	/* DSI1 is slave, so use DSI0 clocks */
477	assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>;
478
479	ports {
480		port@1 {
481			endpoint {
482				remote-endpoint = <&truly_in_1>;
483				data-lanes = <0 1 2 3>;
484			};
485		};
486	};
487};
488
489&dsi1_phy {
490	status = "okay";
491	vdds-supply = <&vdda_mipi_dsi1_pll>;
492};
493
494&gcc {
495	protected-clocks = <GCC_QSPI_CORE_CLK>,
496			   <GCC_QSPI_CORE_CLK_SRC>,
497			   <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
498			   <GCC_LPASS_Q6_AXI_CLK>,
499			   <GCC_LPASS_SWAY_CLK>;
500};
501
502&gmu {
503	status = "okay";
504};
505
506&gpu {
507	status = "okay";
508
509	zap-shader {
510		memory-region = <&gpu_mem>;
511		firmware-name = "qcom/sdm845/a630_zap.mbn";
512	};
513};
514
515&i2c10 {
516	status = "okay";
517	clock-frequency = <400000>;
518};
519
520&ipa {
521	status = "okay";
522	memory-region = <&ipa_fw_mem>;
523};
524
525&mdss {
526	status = "okay";
527};
528
529&mss_pil {
530	status = "okay";
531	firmware-name = "qcom/sdm845/mba.mbn", "qcom/sdm845/modem.mbn";
532};
533
534&pm8998_adc {
535	adc-chan@4c {
536		reg = <ADC5_XO_THERM_100K_PU>;
537		label = "xo_therm";
538		qcom,ratiometric;
539		qcom,hw-settle-time-us = <200>;
540	};
541
542	adc-chan@4d {
543		reg = <ADC5_AMUX_THM1_100K_PU>;
544		label = "msm_therm";
545		qcom,ratiometric;
546		qcom,hw-settle-time-us = <200>;
547	};
548
549	adc-chan@4f {
550		reg = <ADC5_AMUX_THM3_100K_PU>;
551		label = "pa_therm1";
552		qcom,ratiometric;
553		qcom,hw-settle-time-us = <200>;
554	};
555
556	adc-chan@51 {
557		reg = <ADC5_AMUX_THM5_100K_PU>;
558		label = "quiet_therm";
559		qcom,ratiometric;
560		qcom,hw-settle-time-us = <200>;
561	};
562
563	adc-chan@83 {
564		reg = <ADC5_VPH_PWR>;
565		label = "vph_pwr";
566		qcom,ratiometric;
567		qcom,hw-settle-time-us = <200>;
568	};
569
570	adc-chan@85 {
571		reg = <ADC5_VCOIN>;
572		label = "vcoin";
573		qcom,ratiometric;
574		qcom,hw-settle-time-us = <200>;
575	};
576};
577
578&pm8998_adc_tm {
579	status = "okay";
580
581	xo-thermistor@1 {
582		reg = <1>;
583		io-channels = <&pm8998_adc ADC5_XO_THERM_100K_PU>;
584		qcom,ratiometric;
585		qcom,hw-settle-time-us = <200>;
586	};
587
588	msm-thermistor@2 {
589		reg = <2>;
590		io-channels = <&pm8998_adc ADC5_AMUX_THM1_100K_PU>;
591		qcom,ratiometric;
592		qcom,hw-settle-time-us = <200>;
593	};
594
595	pa-thermistor@3 {
596		reg = <3>;
597		io-channels = <&pm8998_adc ADC5_AMUX_THM3_100K_PU>;
598		qcom,ratiometric;
599		qcom,hw-settle-time-us = <200>;
600	};
601
602	quiet-thermistor@4 {
603		reg = <4>;
604		io-channels = <&pm8998_adc ADC5_AMUX_THM5_100K_PU>;
605		qcom,ratiometric;
606		qcom,hw-settle-time-us = <200>;
607	};
608};
609
610&qupv3_id_1 {
611	status = "okay";
612};
613
614&sdhc_2 {
615	status = "okay";
616
617	pinctrl-names = "default";
618	pinctrl-0 = <&sdc2_clk &sdc2_cmd &sdc2_data &sd_card_det_n>;
619
620	vmmc-supply = <&vreg_l21a_2p95>;
621	vqmmc-supply = <&vddpx_2>;
622
623	cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
624};
625
626&uart9 {
627	status = "okay";
628};
629
630&ufs_mem_hc {
631	status = "okay";
632
633	reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
634
635	vcc-supply = <&vreg_l20a_2p95>;
636	vcc-max-microamp = <600000>;
637};
638
639&ufs_mem_phy {
640	status = "okay";
641
642	vdda-phy-supply = <&vdda_ufs1_core>;
643	vdda-pll-supply = <&vdda_ufs1_1p2>;
644};
645
646&usb_1 {
647	status = "okay";
648};
649
650&usb_1_dwc3 {
651	/* Until we have Type C hooked up we'll force this as peripheral. */
652	dr_mode = "peripheral";
653};
654
655&usb_1_hsphy {
656	status = "okay";
657
658	vdd-supply = <&vdda_usb1_ss_core>;
659	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
660	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
661
662	qcom,imp-res-offset-value = <8>;
663	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
664	qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
665	qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
666};
667
668&usb_1_qmpphy {
669	status = "okay";
670
671	vdda-phy-supply = <&vdda_usb1_ss_1p2>;
672	vdda-pll-supply = <&vdda_usb1_ss_core>;
673};
674
675&usb_2 {
676	status = "okay";
677};
678
679&usb_2_dwc3 {
680	/*
681	 * Though the USB block on SDM845 can support host, there's no vbus
682	 * signal for this port on MTP.  Thus (unless you have a non-compliant
683	 * hub that works without vbus) the only sensible thing is to force
684	 * peripheral mode.
685	 */
686	dr_mode = "peripheral";
687};
688
689&usb_2_hsphy {
690	status = "okay";
691
692	vdd-supply = <&vdda_usb2_ss_core>;
693	vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
694	vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
695
696	qcom,imp-res-offset-value = <8>;
697	qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
698};
699
700&usb_2_qmpphy {
701	status = "okay";
702
703	vdda-phy-supply = <&vdda_usb2_ss_1p2>;
704	vdda-pll-supply = <&vdda_usb2_ss_core>;
705};
706
707&venus {
708	status = "okay";
709};
710
711&wifi {
712	status = "okay";
713	vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
714	vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
715	vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
716	vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
717};
718
719/* PINCTRL - additions to nodes defined in sdm845.dtsi */
720
721&qup_i2c10_default {
722	pinconf {
723		pins = "gpio55", "gpio56";
724		drive-strength = <2>;
725		bias-disable;
726	};
727};
728
729&qup_uart9_default {
730	pinconf-tx {
731		pins = "gpio4";
732		drive-strength = <2>;
733		bias-disable;
734	};
735
736	pinconf-rx {
737		pins = "gpio5";
738		drive-strength = <2>;
739		bias-pull-up;
740	};
741};
742
743&tlmm {
744	gpio-reserved-ranges = <0 4>, <81 4>;
745
746	sdc2_clk: sdc2-clk {
747		pinconf {
748			pins = "sdc2_clk";
749			bias-disable;
750
751			/*
752			 * It seems that mmc_test reports errors if drive
753			 * strength is not 16 on clk, cmd, and data pins.
754			 */
755			drive-strength = <16>;
756		};
757	};
758
759	sdc2_cmd: sdc2-cmd {
760		pinconf {
761			pins = "sdc2_cmd";
762			bias-pull-up;
763			drive-strength = <16>;
764		};
765	};
766
767	sdc2_data: sdc2-data {
768		pinconf {
769			pins = "sdc2_data";
770			bias-pull-up;
771			drive-strength = <16>;
772		};
773	};
774
775	sd_card_det_n: sd-card-det-n {
776		pinmux {
777			pins = "gpio126";
778			function = "gpio";
779		};
780
781		pinconf {
782			pins = "gpio126";
783			bias-pull-up;
784		};
785	};
786};
787