xref: /linux/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2022, Konrad Dybcio <konrad.dybcio@somainline.org>
4 */
5
6#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
8#include "sm8450.dtsi"
9#include "pm8350.dtsi"
10#include "pm8350b.dtsi"
11#include "pm8350c.dtsi"
12#include "pm8450.dtsi"
13#include "pmk8350.dtsi"
14#include "pmr735a.dtsi"
15
16/delete-node/ &adsp_mem;
17/delete-node/ &rmtfs_mem;
18/delete-node/ &video_mem;
19
20/ {
21	chassis-type = "handset";
22
23	aliases {
24		serial0 = &uart7;
25	};
26
27	chosen {
28		stdout-path = "serial0:115200n8";
29	};
30
31	gpio-keys {
32		compatible = "gpio-keys";
33		label = "gpio-keys";
34
35		pinctrl-names = "default";
36		pinctrl-0 = <&focus_n &snapshot_n &vol_down_n>;
37
38		key-camera-focus {
39			label = "Camera Focus";
40			linux,code = <KEY_CAMERA_FOCUS>;
41			gpios = <&pm8350b_gpios 8 GPIO_ACTIVE_LOW>;
42			debounce-interval = <15>;
43			linux,can-disable;
44			wakeup-source;
45		};
46
47		key-camera-snapshot {
48			label = "Camera Snapshot";
49			linux,code = <KEY_CAMERA>;
50			gpios = <&pm8350b_gpios 5 GPIO_ACTIVE_LOW>;
51			debounce-interval = <15>;
52			linux,can-disable;
53			wakeup-source;
54		};
55
56		key-volume-down {
57			label = "Volume Down";
58			linux,code = <KEY_VOLUMEDOWN>;
59			gpios = <&pm8350_gpios 6 GPIO_ACTIVE_LOW>;
60			debounce-interval = <15>;
61			linux,can-disable;
62			wakeup-source;
63		};
64	};
65
66	reserved-memory {
67		adsp_mem: memory@85700000 {
68			reg = <0x0 0x85700000 0x0 0x2800000>;
69			no-map;
70		};
71
72		video_mem: memory@9fd00000 {
73			reg = <0x0 0x9fd00000 0x0 0x700000>;
74			no-map;
75		};
76
77		rmtfs_mem: memory@f3300000 {
78			compatible = "qcom,rmtfs-mem";
79			reg = <0x0 0xf3300000 0x0 0x280000>;
80			no-map;
81
82			qcom,client-id = <1>;
83			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
84		};
85
86		ramoops@ffc00000 {
87			compatible = "ramoops";
88			reg = <0 0xffc00000 0 0x200000>;
89			console-size = <0x40000>;
90			record-size = <0x1000>;
91			ecc-size = <16>;
92			no-map;
93		};
94	};
95
96	/* Sadly, the voltages for these GPIO regulators are unknown. */
97	imx650_vana_regulator: imx650-vana-regulator {
98		compatible = "regulator-fixed";
99		regulator-name = "imx650_vana_regulator";
100		gpio = <&tlmm 23 GPIO_ACTIVE_HIGH>;
101		enable-active-high;
102
103		pinctrl-names = "default";
104		pinctrl-0 = <&telec_pwr_en>;
105	};
106
107	vph_pwr: vph-pwr-regulator {
108		compatible = "regulator-fixed";
109		regulator-name = "vph_pwr";
110		regulator-min-microvolt = <3700000>;
111		regulator-max-microvolt = <3700000>;
112
113		regulator-always-on;
114		regulator-boot-on;
115	};
116};
117
118&apps_rsc {
119	regulators-0 {
120		compatible = "qcom,pm8350-rpmh-regulators";
121		qcom,pmic-id = "b";
122
123		vdd-s1-supply = <&vph_pwr>;
124		vdd-s2-supply = <&vph_pwr>;
125		vdd-s3-supply = <&vph_pwr>;
126		vdd-s4-supply = <&vph_pwr>;
127		vdd-s5-supply = <&vph_pwr>;
128		vdd-s6-supply = <&vph_pwr>;
129		vdd-s7-supply = <&vph_pwr>;
130		vdd-s8-supply = <&vph_pwr>;
131		vdd-s9-supply = <&vph_pwr>;
132		vdd-s10-supply = <&vph_pwr>;
133		vdd-s11-supply = <&vph_pwr>;
134		vdd-s12-supply = <&vph_pwr>;
135
136		vdd-l1-l4-supply = <&pm8350_s11>;
137		vdd-l2-l7-supply = <&vreg_bob>;
138		vdd-l3-l5-supply = <&vreg_bob>;
139		vdd-l6-l9-l10-supply = <&pm8350_s12>;
140
141		/*
142		 * ARC regulators:
143		 * s5 - gfx.lvl
144		 * l8 - lcx.lvl
145		 */
146
147		pm8350_s10: smps10 {
148			regulator-name = "pm8350_s10";
149			regulator-min-microvolt = <1800000>;
150			regulator-max-microvolt = <1800000>;
151		};
152
153		pm8350_s11: smps11 {
154			regulator-name = "pm8350_s11";
155			regulator-min-microvolt = <848000>;
156			regulator-max-microvolt = <1104000>;
157		};
158
159		pm8350_s12: smps12 {
160			regulator-name = "pm8350_s12";
161			regulator-min-microvolt = <1224000>;
162			regulator-max-microvolt = <1400000>;
163		};
164
165		pm8350_l1: ldo1 {
166			regulator-name = "pm8350_l1";
167			regulator-min-microvolt = <912000>;
168			regulator-max-microvolt = <920000>;
169			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
170		};
171
172		pm8350_l2: ldo2 {
173			regulator-name = "pm8350_l2";
174			regulator-min-microvolt = <3072000>;
175			regulator-max-microvolt = <3072000>;
176			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
177		};
178
179		pm8350_l3: ldo3 {
180			regulator-name = "pm8350_l3";
181			regulator-min-microvolt = <904000>;
182			regulator-max-microvolt = <904000>;
183			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
184		};
185
186		pm8350_l5: ldo5 {
187			regulator-name = "pm8350_l5";
188			regulator-min-microvolt = <880000>;
189			regulator-max-microvolt = <912000>;
190			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
191		};
192
193		pm8350_l6: ldo6 {
194			regulator-name = "pm8350_l6";
195			regulator-min-microvolt = <1200000>;
196			regulator-max-microvolt = <1200000>;
197			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
198		};
199
200		pm8350_l7: ldo7 {
201			regulator-name = "pm8350_l7";
202			regulator-min-microvolt = <2504000>;
203			regulator-max-microvolt = <2504000>;
204			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
205		};
206
207		pm8350_l9: ldo9 {
208			regulator-name = "pm8350_l9";
209			regulator-min-microvolt = <1200000>;
210			regulator-max-microvolt = <1200000>;
211			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
212		};
213	};
214
215	regulators-1 {
216		compatible = "qcom,pm8350c-rpmh-regulators";
217		qcom,pmic-id = "c";
218
219		vdd-s1-supply = <&vph_pwr>;
220		vdd-s2-supply = <&vph_pwr>;
221		vdd-s3-supply = <&vph_pwr>;
222		vdd-s4-supply = <&vph_pwr>;
223		vdd-s5-supply = <&vph_pwr>;
224		vdd-s6-supply = <&vph_pwr>;
225		vdd-s7-supply = <&vph_pwr>;
226		vdd-s8-supply = <&vph_pwr>;
227		vdd-s9-supply = <&vph_pwr>;
228		vdd-s10-supply = <&vph_pwr>;
229
230		vdd-l1-l12-supply = <&vreg_bob>;
231		vdd-l2-l8-supply = <&vreg_bob>;
232		vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
233		vdd-l6-l9-l11-supply = <&vreg_bob>;
234		vdd-l10-supply = <&pm8350_s12>;
235
236		vdd-bob-supply = <&vph_pwr>;
237
238		/*
239		 * ARC regulators:
240		 * s2 - mxc.lvl
241		 * s4 - mss.lvl
242		 * s6 - cx.lvl
243		 */
244
245		pm8350c_s1: smps1 {
246			regulator-name = "pm8350c_s1";
247			regulator-min-microvolt = <1800000>;
248			regulator-max-microvolt = <2024000>;
249		};
250
251		pm8350c_s10: smps10 {
252			regulator-name = "pm8350c_s10";
253			regulator-min-microvolt = <1000000>;
254			regulator-max-microvolt = <1100000>;
255		};
256
257		vreg_bob: bob {
258			regulator-name = "vreg_bob";
259			regulator-min-microvolt = <3400000>;
260			regulator-max-microvolt = <3960000>;
261			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
262		};
263
264		pm8350c_l1: ldo1 {
265			regulator-name = "pm8350c_l1";
266			regulator-min-microvolt = <1800000>;
267			regulator-max-microvolt = <1800000>;
268			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269		};
270
271		pm8350c_l2: ldo2 {
272			regulator-name = "pm8350c_l2";
273			regulator-min-microvolt = <1800000>;
274			regulator-max-microvolt = <1800000>;
275			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276		};
277
278		pm8350c_l3: ldo3 {
279			regulator-name = "pm8350c_l3";
280			regulator-min-microvolt = <3296000>;
281			regulator-max-microvolt = <3304000>;
282			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283		};
284
285		pm8350c_l4: ldo4 {
286			regulator-name = "pm8350c_l4";
287			regulator-min-microvolt = <1704000>;
288			regulator-max-microvolt = <3000000>;
289			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
290		};
291
292		pm8350c_l5: ldo5 {
293			regulator-name = "pm8350c_l5";
294			regulator-min-microvolt = <1704000>;
295			regulator-max-microvolt = <3000000>;
296			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297		};
298
299		pm8350c_l6: ldo6 {
300			regulator-name = "pm8350c_l6";
301			regulator-min-microvolt = <2960000>;
302			/* Originally max = 3008000 but SDHCI expects 2960000 */
303			regulator-max-microvolt = <2960000>;
304			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
305		};
306
307		pm8350c_l7: ldo7 {
308			regulator-name = "pm8350c_l7";
309			regulator-min-microvolt = <3008000>;
310			regulator-max-microvolt = <3008000>;
311			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
312		};
313
314		pm8350c_l8: ldo8 {
315			regulator-name = "pm8350c_l8";
316			regulator-min-microvolt = <1800000>;
317			regulator-max-microvolt = <1800000>;
318			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
319		};
320
321		pm8350c_l9: ldo9 {
322			regulator-name = "pm8350c_l9";
323			regulator-min-microvolt = <2960000>;
324			/* Originally max = 3008000 but SDHCI expects 2960000 */
325			regulator-max-microvolt = <2960000>;
326			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
327		};
328
329		pm8350c_l10: ldo10 {
330			regulator-name = "pm8350c_l10";
331			regulator-min-microvolt = <1200000>;
332			regulator-max-microvolt = <1200000>;
333			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
334		};
335
336		pm8350c_l12: ldo12 {
337			regulator-name = "pm8350c_l12";
338			regulator-min-microvolt = <1800000>;
339			regulator-max-microvolt = <1968000>;
340			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
341		};
342
343		pm8350c_l13: ldo13 {
344			regulator-name = "pm8350c_l13";
345			regulator-min-microvolt = <3000000>;
346			regulator-max-microvolt = <3000000>;
347			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
348		};
349	};
350
351	regulators-2 {
352		compatible = "qcom,pm8450-rpmh-regulators";
353		qcom,pmic-id = "h";
354
355		vdd-s1-supply = <&vph_pwr>;
356		vdd-s2-supply = <&vph_pwr>;
357		vdd-s3-supply = <&vph_pwr>;
358		vdd-s4-supply = <&vph_pwr>;
359		vdd-s5-supply = <&vph_pwr>;
360		vdd-s6-supply = <&vph_pwr>;
361
362		vdd-l2-supply = <&vreg_bob>;
363		vdd-l3-supply = <&vreg_bob>;
364		vdd-l4-supply = <&vreg_bob>;
365
366		/*
367		 * ARC regulators:
368		 * S2 - ebi.lvl
369		 * S4 - mmcx.lvl
370		 * S6 - mx.lvl
371		 * L1 - lmx.lvl
372		 */
373
374		pm8450_s3: smps3 {
375			regulator-name = "pm8450_s3";
376			regulator-min-microvolt = <500000>;
377			regulator-max-microvolt = <600000>;
378		};
379
380		pm8450_l2: ldo2 {
381			regulator-name = "pm8450_l2";
382			regulator-min-microvolt = <880000>;
383			regulator-max-microvolt = <912000>;
384			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
385		};
386
387		pm8450_l3: ldo3 {
388			regulator-name = "pm8450_l3";
389			regulator-min-microvolt = <912000>;
390			regulator-max-microvolt = <912000>;
391			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
392		};
393	};
394
395	regulators-3 {
396		compatible = "qcom,pmr735a-rpmh-regulators";
397		qcom,pmic-id = "e";
398
399		vdd-s1-supply = <&vph_pwr>;
400		vdd-s2-supply = <&vph_pwr>;
401		vdd-s3-supply = <&vph_pwr>;
402
403		vdd-l1-l2-supply = <&pmr735a_s2>;
404		vdd-l3-supply = <&pmr735a_s1>;
405		vdd-l4-supply = <&pm8350c_s1>;
406		vdd-l5-l6-supply = <&pm8350c_s1>;
407		vdd-l7-bob-supply = <&vreg_bob>;
408
409		pmr735a_s1: smps1 {
410			regulator-name = "pmr735a_s1";
411			regulator-min-microvolt = <1200000>;
412			regulator-max-microvolt = <1296000>;
413		};
414
415		pmr735a_s2: smps2 {
416			regulator-name = "pmr735a_s2";
417			regulator-min-microvolt = <500000>;
418			regulator-max-microvolt = <1040000>;
419		};
420
421		pmr735a_s3: smps3 {
422			regulator-name = "pmr735a_s3";
423			regulator-min-microvolt = <435000>;
424			regulator-max-microvolt = <2352000>;
425		};
426
427		pmr735a_l1: ldo1 {
428			regulator-name = "pmr735a_l1";
429			regulator-min-microvolt = <800000>;
430			regulator-max-microvolt = <800000>;
431		};
432
433		pmr735a_l2: ldo2 {
434			regulator-name = "pmr735a_l2";
435			regulator-min-microvolt = <480000>;
436			regulator-max-microvolt = <912000>;
437		};
438
439		pmr735a_l3: ldo3 {
440			regulator-name = "pmr735a_l3";
441			regulator-min-microvolt = <1200000>;
442			regulator-max-microvolt = <1200000>;
443		};
444
445		pmr735a_l4: ldo4 {
446			regulator-name = "pmr735a_l4";
447			regulator-min-microvolt = <1776000>;
448			regulator-max-microvolt = <1776000>;
449		};
450
451		pmr735a_l5: ldo5 {
452			regulator-name = "pmr735a_l5";
453			regulator-min-microvolt = <880000>;
454			regulator-max-microvolt = <880000>;
455		};
456
457		pmr735a_l6: ldo6 {
458			regulator-name = "pmr735a_l6";
459			regulator-min-microvolt = <1200000>;
460			regulator-max-microvolt = <1200000>;
461		};
462
463		pmr735a_l7: ldo7 {
464			regulator-name = "pmr735a_l7";
465			regulator-min-microvolt = <2800000>;
466			regulator-max-microvolt = <2800000>;
467		};
468	};
469};
470
471&dispcc {
472	status = "disabled";
473};
474
475&gpi_dma0 {
476	status = "okay";
477};
478
479&gpi_dma1 {
480	status = "okay";
481};
482
483&gpi_dma2 {
484	status = "okay";
485};
486
487&i2c4 {
488	clock-frequency = <400000>;
489	status = "okay";
490
491	touchscreen@48 {
492		compatible = "samsung,s6sy761";
493		reg = <0x48>;
494		interrupt-parent = <&tlmm>;
495		interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
496		vdd-supply = <&pm8350c_l2>;
497		avdd-supply = <&pm8350c_l3>;
498
499		pinctrl-names = "default";
500		pinctrl-0 = <&ts_reset_default &ts_int_default>;
501	};
502};
503
504&i2c5 {
505	clock-frequency = <400000>;
506	status = "okay";
507
508	pmic@75 {
509		compatible = "dlg,slg51000";
510		reg = <0x75>;
511		dlg,cs-gpios = <&pm8350b_gpios 1 GPIO_ACTIVE_HIGH>;
512
513		pinctrl-names = "default";
514		pinctrl-0 = <&cam_pwr_a_cs>;
515
516		regulators {
517			slg51000_a_ldo1: ldo1 {
518				regulator-name = "slg51000_a_ldo1";
519				regulator-min-microvolt = <2400000>;
520				regulator-max-microvolt = <3300000>;
521			};
522
523			slg51000_a_ldo2: ldo2 {
524				regulator-name = "slg51000_a_ldo2";
525				regulator-min-microvolt = <2400000>;
526				regulator-max-microvolt = <3300000>;
527			};
528
529			slg51000_a_ldo3: ldo3 {
530				regulator-name = "slg51000_a_ldo3";
531				regulator-min-microvolt = <1200000>;
532				regulator-max-microvolt = <3750000>;
533			};
534
535			slg51000_a_ldo4: ldo4 {
536				regulator-name = "slg51000_a_ldo4";
537				regulator-min-microvolt = <1200000>;
538				regulator-max-microvolt = <3750000>;
539			};
540
541			slg51000_a_ldo5: ldo5 {
542				regulator-name = "slg51000_a_ldo5";
543				regulator-min-microvolt = <500000>;
544				regulator-max-microvolt = <1200000>;
545			};
546
547			slg51000_a_ldo6: ldo6 {
548				regulator-name = "slg51000_a_ldo6";
549				regulator-min-microvolt = <500000>;
550				regulator-max-microvolt = <1200000>;
551			};
552
553			slg51000_a_ldo7: ldo7 {
554				regulator-name = "slg51000_a_ldo7";
555				regulator-min-microvolt = <1200000>;
556				regulator-max-microvolt = <3750000>;
557			};
558		};
559	};
560};
561
562&i2c9 {
563	clock-frequency = <400000>;
564	status = "okay";
565
566	/* NXP SN1X0 NFC @ 28 */
567};
568
569&i2c14 {
570	clock-frequency = <1000000>;
571	status = "okay";
572
573	cs35l41_l: speaker-amp@40 {
574		compatible = "cirrus,cs35l41";
575		reg = <0x40>;
576		interrupt-parent = <&tlmm>;
577		interrupts = <182 IRQ_TYPE_LEVEL_LOW>;
578		reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>;
579		cirrus,boost-peak-milliamp = <4000>;
580		cirrus,boost-ind-nanohenry = <1000>;
581		cirrus,boost-cap-microfarad = <15>;
582		cirrus,gpio2-src-select = <2>;
583		cirrus,gpio2-output-enable;
584		cirrus,asp-sdout-hiz = <3>;
585		#sound-dai-cells = <1>;
586	};
587
588	cs35l41_r: speaker-amp@41 {
589		compatible = "cirrus,cs35l41";
590		reg = <0x41>;
591		interrupt-parent = <&tlmm>;
592		interrupts = <182 IRQ_TYPE_LEVEL_LOW>;
593		reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>;
594		cirrus,boost-peak-milliamp = <4000>;
595		cirrus,boost-ind-nanohenry = <1000>;
596		cirrus,boost-cap-microfarad = <15>;
597		cirrus,gpio2-src-select = <2>;
598		cirrus,gpio2-output-enable;
599		cirrus,asp-sdout-hiz = <3>;
600		#sound-dai-cells = <1>;
601	};
602};
603
604&i2c15 {
605	clock-frequency = <400000>;
606	status = "okay";
607
608	/* AMS TCS3490 RGB+IR color sensor @ 72 */
609};
610
611&i2c19 {
612	clock-frequency = <1000000>;
613	status = "okay";
614
615	/* Cirrus Logic CS40L25A boosted haptics driver @ 40 */
616};
617
618&pcie0 {
619	max-link-speed = <2>;
620	status = "okay";
621};
622
623&pcie0_phy {
624	vdda-phy-supply = <&pm8350_l5>;
625	vdda-pll-supply = <&pm8350_l6>;
626	status = "okay";
627};
628
629&pm8350_gpios {
630	gpio-line-names = "ASSIGN1_THERM", /* GPIO_1 */
631			  "LCD_ID",
632			  "SDR_MMW_THERM",
633			  "RF_ID",
634			  "NC",
635			  "VOL_DOWN_N",
636			  "NC",
637			  "NC",
638			  "NC",
639			  "PM8350_OPTION"; /* GPIO_10 */
640
641	vol_down_n: vol-down-n-state {
642		pins = "gpio6";
643		function = "normal";
644		power-source = <1>;
645		bias-pull-up;
646		input-enable;
647	};
648};
649
650&pm8350b_gpios {
651	cam_pwr_a_cs: cam-pwr-a-cs-state {
652		pins = "gpio1";
653		function = "normal";
654		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
655		power-source = <1>;
656		drive-push-pull;
657		output-high;
658	};
659
660	snapshot_n: snapshot-n-state {
661		pins = "gpio5";
662		function = "normal";
663		power-source = <0>;
664		bias-pull-up;
665		input-enable;
666	};
667
668	focus_n: focus-n-state {
669		pins = "gpio8";
670		function = "normal";
671		power-source = <0>;
672		bias-pull-up;
673		input-enable;
674	};
675};
676
677&pm8450_gpios {
678	gpio-line-names = "FP_LDO_EN", /* GPIO_1 */
679			  "",
680			  "",
681			  "";
682};
683
684&pmk8350_gpios {
685	gpio-line-names = "NC", /* GPIO_1 */
686			  "NC",
687			  "DISP_THERM",
688			  "PMK8350_OPTION";
689};
690
691&pon_pwrkey {
692	status = "okay";
693};
694
695&pon_resin {
696	linux,code = <KEY_VOLUMEUP>;
697	status = "okay";
698};
699
700&remoteproc_adsp {
701	firmware-name = "qcom/sm8450/Sony/nagara/adsp.mbn";
702	status = "okay";
703};
704
705&remoteproc_cdsp {
706	firmware-name = "qcom/sm8450/Sony/nagara/cdsp.mbn";
707	status = "okay";
708};
709
710&remoteproc_slpi {
711	firmware-name = "qcom/sm8450/Sony/nagara/slpi.mbn";
712	status = "okay";
713};
714
715&qupv3_id_0 {
716	status = "okay";
717};
718
719&qupv3_id_1 {
720	status = "okay";
721};
722
723&qupv3_id_2 {
724	status = "okay";
725};
726
727&sdhc_2 {
728	cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>;
729	pinctrl-names = "default", "sleep";
730	pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
731	pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>;
732	vmmc-supply = <&pm8350c_l9>;
733	vqmmc-supply = <&pm8350c_l6>;
734	no-sdio;
735	no-mmc;
736	status = "okay";
737};
738
739&spi10 {
740	status = "okay";
741
742	/* NXP SN1X0 NFC Secure Element @ 0 */
743};
744
745&tlmm {
746	gpio-reserved-ranges = <28 4>;
747
748	ts_reset_default: ts-reset-default-state {
749		pins = "gpio20";
750		function = "gpio";
751		drive-strength = <2>;
752		bias-disable;
753		output-high;
754	};
755
756	ts_int_default: ts-int-default-state {
757		pins = "gpio21";
758		function = "gpio";
759		drive-strength = <2>;
760		bias-disable;
761	};
762
763	telec_pwr_en: telec-pwr-en-state {
764		pins = "gpio23";
765		function = "gpio";
766		drive-strength = <2>;
767		bias-disable;
768		output-low;
769	};
770
771	sdc2_card_det_n: sd-card-det-n-state {
772		pins = "gpio92";
773		function = "gpio";
774		drive-strength = <2>;
775		bias-pull-up;
776	};
777};
778
779&uart7 {
780	status = "okay";
781};
782
783&usb_1 {
784	status = "okay";
785};
786
787&usb_1_dwc3 {
788	dr_mode = "peripheral";
789};
790
791&usb_1_hsphy {
792	vdda-pll-supply = <&pm8350_l5>;
793	vdda18-supply = <&pm8350c_l1>;
794	vdda33-supply = <&pm8350_l2>;
795	status = "okay";
796};
797
798&usb_1_qmpphy {
799	vdda-phy-supply = <&pm8350_l6>;
800	vdda-pll-supply = <&pm8350_l1>;
801	status = "okay";
802};
803