xref: /linux/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi (revision 0cac5ce06e524755b3dac1e0a060b05992076d93)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
4 */
5
6#include <dt-bindings/arm/qcom,ids.h>
7#include <dt-bindings/input/input.h>
8#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
9#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10#include "sdm845.dtsi"
11#include "pm8005.dtsi"
12#include "pm8998.dtsi"
13#include "pmi8998.dtsi"
14
15/ {
16	qcom,msm-id = <QCOM_ID_SDM845 0x20001>; /* SDM845 v2.1 */
17	qcom,board-id = <8 0>;
18
19	aliases {
20		serial0 = &uart6;
21		serial1 = &uart9;
22	};
23
24	chosen {
25		stdout-path = "serial0:115200n8";
26	};
27
28	gpio-keys {
29		compatible = "gpio-keys";
30
31		pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>;
32		pinctrl-names = "default";
33
34		key-camera-focus {
35			label = "Camera Focus";
36			gpios = <&pm8998_gpios 2 GPIO_ACTIVE_LOW>;
37			linux,code = <KEY_CAMERA_FOCUS>;
38			debounce-interval = <15>;
39			linux,can-disable;
40			wakeup-source;
41		};
42
43		key-camera-snapshot {
44			label = "Camera Snapshot";
45			gpios = <&pm8998_gpios 7 GPIO_ACTIVE_LOW>;
46			linux,code = <KEY_CAMERA>;
47			debounce-interval = <15>;
48			linux,can-disable;
49			wakeup-source;
50		};
51
52		key-volume-down {
53			label = "Volume Down";
54			gpios = <&pm8998_gpios 5 GPIO_ACTIVE_LOW>;
55			linux,code = <KEY_VOLUMEDOWN>;
56			debounce-interval = <15>;
57			linux,can-disable;
58			wakeup-source;
59		};
60
61		key-volume-up {
62			label = "Volume Up";
63			gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>;
64			linux,code = <KEY_VOLUMEUP>;
65			debounce-interval = <15>;
66			linux,can-disable;
67			wakeup-source;
68		};
69	};
70
71	cam_vana_front_vreg: cam-vana-front-regulator {
72		compatible = "regulator-fixed";
73		regulator-name = "cam_vana_front_vreg";
74		gpio = <&tlmm 8 GPIO_ACTIVE_HIGH>;
75		enable-active-high;
76
77		pinctrl-0 = <&chat_cam_pwr_en>;
78		pinctrl-names = "default";
79	};
80
81	cam_vana_rear_vreg: cam-vana-rear-regulator {
82		compatible = "regulator-fixed";
83		regulator-name = "cam_vana_rear_vreg";
84		gpio = <&tlmm 27 GPIO_ACTIVE_HIGH>;
85		enable-active-high;
86
87		pinctrl-0 = <&main_cam_pwr_en>;
88		pinctrl-names = "default";
89	};
90
91	cam_vio_vreg: cam-vio-reagulator {
92		compatible = "regulator-fixed";
93		regulator-name = "cam_vio_vreg";
94		gpio = <&pmi8998_gpios 12 GPIO_ACTIVE_HIGH>;
95		enable-active-high;
96
97		pinctrl-0 = <&cam_io_en>;
98		pinctrl-names = "default";
99	};
100
101	vph_pwr: vph-pwr-regulator {
102		compatible = "regulator-fixed";
103		regulator-name = "vph_pwr";
104		regulator-min-microvolt = <3700000>;
105		regulator-max-microvolt = <3700000>;
106	};
107
108	vreg_s4a_1p8: pm8998-smps4 {
109		compatible = "regulator-fixed";
110		regulator-name = "vreg_s4a_1p8";
111
112		regulator-min-microvolt = <1800000>;
113		regulator-max-microvolt = <1800000>;
114
115		regulator-always-on;
116		regulator-boot-on;
117
118		vin-supply = <&vph_pwr>;
119	};
120
121	reserved-memory {
122		/* SONY was cool and didn't diverge from MTP this time, yay! */
123		cont_splash_mem: memory@9d400000 {
124			reg = <0x0 0x9d400000 0x0 0x2400000>;
125			no-map;
126		};
127
128		ramoops@ffc00000 {
129			compatible = "ramoops";
130			reg = <0x0 0xffc00000 0x0 0x100000>;
131			record-size = <0x10000>;
132			console-size = <0x60000>;
133			ftrace-size = <0x10000>;
134			pmsg-size = <0x20000>;
135			ecc-size = <16>;
136			no-map;
137		};
138	};
139};
140
141&adsp_pas {
142	firmware-name = "qcom/sdm845/Sony/tama/adsp.mbn";
143	status = "okay";
144};
145
146&apps_rsc {
147	regulators-0 {
148		compatible = "qcom,pm8998-rpmh-regulators";
149		qcom,pmic-id = "a";
150
151		vdd-s1-supply = <&vph_pwr>;
152		vdd-s2-supply = <&vph_pwr>;
153		vdd-s3-supply = <&vph_pwr>;
154		vdd-s4-supply = <&vph_pwr>;
155		vdd-s5-supply = <&vph_pwr>;
156		vdd-s6-supply = <&vph_pwr>;
157		vdd-s7-supply = <&vph_pwr>;
158		vdd-s8-supply = <&vph_pwr>;
159		vdd-s9-supply = <&vph_pwr>;
160		vdd-s10-supply = <&vph_pwr>;
161		vdd-s11-supply = <&vph_pwr>;
162		vdd-s12-supply = <&vph_pwr>;
163		vdd-s13-supply = <&vph_pwr>;
164		vdd-l1-l27-supply = <&vreg_s7a_0p9>;
165		vdd-l2-l8-l17-supply = <&vreg_s3a_1p3>;
166		vdd-l3-l11-supply = <&vreg_s7a_0p9>;
167		vdd-l4-l5-supply = <&vreg_s7a_0p9>;
168		vdd-l6-supply = <&vph_pwr>;
169		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>;
170		vdd-l9-supply = <&vreg_s5a_1p9>;
171		vdd-l10-l23-l25-supply = <&src_vreg_bob>;
172		vdd-l13-l19-l21-supply = <&src_vreg_bob>;
173		vdd-l16-l28-supply = <&src_vreg_bob>;
174		vdd-l18-l22-supply = <&src_vreg_bob>;
175		vdd-l20-l24-supply = <&src_vreg_bob>;
176		vdd-l26-supply = <&vreg_s3a_1p3>;
177		vin-lvs-1-2-supply = <&vreg_s4a_1p8>;
178
179		vreg_s2a_1p1: smps2 {
180			regulator-min-microvolt = <1100000>;
181			regulator-max-microvolt = <1100000>;
182		};
183
184		vreg_s3a_1p3: smps3 {
185			regulator-min-microvolt = <1352000>;
186			regulator-max-microvolt = <1352000>;
187		};
188
189		vreg_s5a_1p9: smps5 {
190			regulator-min-microvolt = <1904000>;
191			regulator-max-microvolt = <2040000>;
192		};
193
194		vreg_s7a_0p9: smps7 {
195			regulator-min-microvolt = <900000>;
196			regulator-max-microvolt = <1028000>;
197		};
198
199		vreg_l1a_0p9: ldo1 {
200			regulator-min-microvolt = <880000>;
201			regulator-max-microvolt = <880000>;
202			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203		};
204
205		vreg_l2a_1p2: ldo2 {
206			regulator-min-microvolt = <1200000>;
207			regulator-max-microvolt = <1200000>;
208			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
209			regulator-always-on;
210		};
211
212		vreg_l3a_1p0: ldo3 {
213			regulator-min-microvolt = <1000000>;
214			regulator-max-microvolt = <1000000>;
215			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
216		};
217
218		vreg_l5a_0p8: ldo5 {
219			regulator-min-microvolt = <800000>;
220			regulator-max-microvolt = <800000>;
221			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
222		};
223
224		vreg_l6a_1p8: ldo6 {
225			regulator-min-microvolt = <1856000>;
226			regulator-max-microvolt = <1856000>;
227			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228		};
229
230		vreg_l7a_1p8: ldo7 {
231			regulator-min-microvolt = <1800000>;
232			regulator-max-microvolt = <1800000>;
233			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
234		};
235
236		vreg_l8a_1p2: ldo8 {
237			regulator-min-microvolt = <1200000>;
238			regulator-max-microvolt = <1248000>;
239			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
240		};
241
242		vreg_l9a_1p7: ldo9 {
243			regulator-min-microvolt = <1704000>;
244			regulator-max-microvolt = <2928000>;
245			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
246		};
247
248		vreg_l10a_1p7: ldo10 {
249			regulator-min-microvolt = <1704000>;
250			regulator-max-microvolt = <2928000>;
251			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
252		};
253
254		vreg_l11a_1p0: ldo11 {
255			regulator-min-microvolt = <1000000>;
256			regulator-max-microvolt = <1048000>;
257			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
258		};
259
260		vreg_l12a_1p8: ldo12 {
261			regulator-min-microvolt = <1800000>;
262			regulator-max-microvolt = <1800000>;
263			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
264		};
265
266		vreg_l13a_1p8: ldo13 {
267			regulator-min-microvolt = <1800000>;
268			regulator-max-microvolt = <2960000>;
269			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
270		};
271
272		vreg_l14a_1p8: ldo14 {
273			regulator-min-microvolt = <1800000>;
274			regulator-max-microvolt = <1800000>;
275			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276			regulator-system-load = <62000>;
277		};
278
279		vreg_l15a_1p8: ldo15 {
280			regulator-min-microvolt = <1800000>;
281			regulator-max-microvolt = <1800000>;
282			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283		};
284
285		vreg_l16a_2p7: ldo16 {
286			regulator-min-microvolt = <2704000>;
287			regulator-max-microvolt = <2704000>;
288			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
289		};
290
291		vreg_l17a_1p3: ldo17 {
292			regulator-min-microvolt = <1304000>;
293			regulator-max-microvolt = <1304000>;
294			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
295		};
296
297		vreg_l18a_2p7: ldo18 {
298			regulator-min-microvolt = <2704000>;
299			regulator-max-microvolt = <2960000>;
300			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
301		};
302
303		vreg_l19a_2p7: ldo19 {
304			regulator-min-microvolt = <2700000>;
305			regulator-max-microvolt = <2700000>;
306			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
307
308			/*
309			 * The driver *really* doesn't want this regualtor to exist,
310			 * saying that it could not get the current voltage (-ENOTRECOVERABLE)
311			 * even though it surely is used on these devices (as a voltage
312			 * source for camera autofocus)
313			 */
314			status = "disabled";
315		};
316
317		vreg_l20a_2p7: ldo20 {
318			regulator-min-microvolt = <2704000>;
319			regulator-max-microvolt = <2960000>;
320			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
321		};
322
323		vreg_l21a_2p7: ldo21 {
324			regulator-min-microvolt = <2704000>;
325			regulator-max-microvolt = <2960000>;
326			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
327		};
328
329		vreg_l22a_2p8: ldo22 {
330			regulator-min-microvolt = <2800000>;
331			regulator-max-microvolt = <2800000>;
332			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
333		};
334
335		vreg_l23a_3p0: ldo23 {
336			regulator-min-microvolt = <3000000>;
337			regulator-max-microvolt = <3312000>;
338			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339		};
340
341		vreg_l24a_3p1: ldo24 {
342			regulator-min-microvolt = <3088000>;
343			regulator-max-microvolt = <3088000>;
344			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
345		};
346
347		vreg_l25a_3p0: ldo25 {
348			regulator-min-microvolt = <3000000>;
349			regulator-max-microvolt = <3312000>;
350			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
351		};
352
353		vreg_l26a_1p2: ldo26 {
354			regulator-min-microvolt = <1200000>;
355			regulator-max-microvolt = <1200000>;
356			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
357		};
358
359		vreg_l28a_2p8: ldo28 {
360			regulator-min-microvolt = <2856000>;
361			regulator-max-microvolt = <3008000>;
362			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
363			regulator-system-load = <100000>;
364		};
365
366		vreg_lvs1a_1p8: lvs1 {
367			regulator-min-microvolt = <1800000>;
368			regulator-max-microvolt = <1800000>;
369			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
370		};
371
372		vreg_lvs2a_1p8: lvs2 {
373			regulator-min-microvolt = <1800000>;
374			regulator-max-microvolt = <1800000>;
375			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
376		};
377	};
378
379	regulators-1 {
380		compatible = "qcom,pmi8998-rpmh-regulators";
381		qcom,pmic-id = "b";
382
383		src_vreg_bob: bob {
384			regulator-min-microvolt = <3312000>;
385			regulator-max-microvolt = <3600000>;
386			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
387		};
388	};
389
390	regulators-2 {
391		compatible = "qcom,pm8005-rpmh-regulators";
392		qcom,pmic-id = "c";
393
394		vdd-s1-supply = <&vph_pwr>;
395		vdd-s2-supply = <&vph_pwr>;
396		vdd-s3-supply = <&vph_pwr>;
397		vdd-s4-supply = <&vph_pwr>;
398
399		vreg_s3c_0p6: smps3 {
400			regulator-min-microvolt = <600000>;
401			regulator-max-microvolt = <600000>;
402		};
403	};
404};
405
406&cdsp_pas {
407	firmware-name = "qcom/sdm845/Sony/tama/cdsp.mbn";
408	status = "okay";
409};
410
411&gcc {
412	protected-clocks = <GCC_QSPI_CORE_CLK>,
413			<GCC_QSPI_CORE_CLK_SRC>,
414			<GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
415			<GCC_LPASS_Q6_AXI_CLK>,
416			<GCC_LPASS_SWAY_CLK>;
417};
418
419&gpi_dma0 {
420	status = "okay";
421};
422
423&gpi_dma1 {
424	status = "okay";
425};
426
427&gpu {
428	status = "okay";
429};
430
431&gpu_zap_shader {
432	firmware-name = "qcom/sdm845/Sony/tama/a630_zap.mbn";
433};
434
435&i2c5 {
436	clock-frequency = <400000>;
437	status = "okay";
438
439	touchscreen: touchscreen@2c {
440		compatible = "syna,rmi4-i2c";
441		reg = <0x2c>;
442
443		interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
444		vdd-supply = <&vreg_l14a_1p8>;
445		/*
446		 * This is a blatant abuse of OF, but the panel driver *needs*
447		 * to probe first, as the power/gpio switching needs to be precisely
448		 * timed in order for both the display and touch panel to function properly.
449		 */
450		incell-supply = <&panel>;
451
452		syna,reset-delay-ms = <220>;
453		syna,startup-delay-ms = <1000>;
454
455		pinctrl-0 = <&ts_default>;
456		pinctrl-1 = <&ts_sleep>;
457		pinctrl-names = "default", "sleep";
458
459		#address-cells = <1>;
460		#size-cells = <0>;
461
462		rmi4-f01@1 {
463			reg = <0x01>;
464			syna,nosleep-mode = <1>;
465		};
466
467		rmi4-f12@12 {
468			reg = <0x12>;
469			syna,sensor-type = <1>;
470		};
471	};
472};
473
474&i2c10 {
475	status = "okay";
476	clock-frequency = <400000>;
477
478	/* Qcom SMB1355 @ 8, c */
479	/* NXP PN547 NFC @ 28 */
480	/* Renesas IDTP9221 Qi charger @ 61 */
481};
482
483&i2c14 {
484	status = "okay";
485	clock-frequency = <400000>;
486
487	/* SONY ToF sensor @ 52 */
488	/* AMS TCS3490 RGB+IR color sensor @ 72 */
489};
490
491&ibb {
492	qcom,discharge-resistor-kohms = <300>;
493	regulator-min-microvolt = <5500000>;
494	regulator-max-microvolt = <5700000>;
495	regulator-min-microamp = <0>;
496	regulator-max-microamp = <800000>;
497	regulator-over-current-protection;
498	regulator-soft-start;
499	regulator-pull-down;
500};
501
502&lab {
503	regulator-min-microvolt = <5500000>;
504	regulator-max-microvolt = <5700000>;
505	regulator-min-microamp = <200000>;
506	regulator-max-microamp = <200000>;
507	regulator-over-current-protection;
508	regulator-soft-start;
509	regulator-pull-down;
510};
511
512&mdss {
513	status = "okay";
514};
515
516&mdss_dsi0 {
517	vdda-supply = <&vreg_l26a_1p2>;
518	status = "okay";
519
520	panel: panel@0 {
521		/* The compatible is assigned in device DTs. */
522		reg = <0>;
523
524		backlight = <&pmi8998_wled>;
525		vddio-supply = <&vreg_l14a_1p8>;
526		vsp-supply = <&lab>;
527		vsn-supply = <&ibb>;
528		panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
529		touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
530
531		pinctrl-0 = <&sde_dsi_active &sde_te_active_sleep>;
532		pinctrl-1 = <&sde_dsi_sleep &sde_te_active_sleep>;
533		pinctrl-names = "default", "sleep";
534
535		port {
536			panel_in: endpoint {
537				remote-endpoint = <&mdss_dsi0_out>;
538			};
539		};
540	};
541};
542
543&mdss_dsi0_out {
544	remote-endpoint = <&panel_in>;
545	data-lanes = <0 1 2 3>;
546};
547
548&mdss_dsi0_phy {
549	vdds-supply = <&vreg_l1a_0p9>;
550	status = "okay";
551};
552
553&pm8005_gpios {
554	gpio-line-names = "NC", /* GPIO_1 */
555			  "NC",
556			  "",
557			  "";
558};
559
560&pm8998_gpios {
561	gpio-line-names = "NC", /* GPIO_1 */
562			  "FOCUS_N",
563			  "",
564			  "NC",
565			  "VOL_DOWN_N",
566			  "VOL_UP_N",
567			  "SNAPSHOT_N",
568			  "NC",
569			  "FLASH_THERM",
570			  "NC", /* GPIO_10 */
571			  "LCD_ID",
572			  "RF_ID",
573			  "NC",
574			  "NC",
575			  "NC",
576			  "NC",
577			  "NC",
578			  "NC",
579			  "NC",
580			  "", /* GPIO_20 */
581			  "NFC_CLK_REQ",
582			  "",
583			  "",
584			  "",
585			  "",
586			  "";
587
588	focus_n: focus-n-state {
589		pins = "gpio2";
590		function = PMIC_GPIO_FUNC_NORMAL;
591		power-source = <0>;
592		bias-pull-up;
593		input-enable;
594	};
595
596	vol_down_n: vol-down-n-state {
597		pins = "gpio5";
598		function = PMIC_GPIO_FUNC_NORMAL;
599		power-source = <0>;
600		bias-pull-up;
601		input-enable;
602	};
603
604	vol_up_n: vol-up-n-state {
605		pins = "gpio6";
606		function = PMIC_GPIO_FUNC_NORMAL;
607		power-source = <0>;
608		bias-pull-up;
609		input-enable;
610	};
611
612	snapshot_n: snapshot-n-state {
613		pins = "gpio7";
614		function = PMIC_GPIO_FUNC_NORMAL;
615		power-source = <0>;
616		bias-pull-up;
617		input-enable;
618	};
619};
620
621&pmi8998_gpios {
622	cam_io_en: cam-io-en-state {
623		pins = "gpio12";
624		function = "normal";
625		qcom,drive-strength = <3>;
626		power-source = <0>;
627		drive-push-pull;
628		output-low;
629	};
630};
631
632&pmi8998_wled {
633	default-brightness = <800>;
634	qcom,switching-freq = <800>;
635	qcom,ovp-millivolt = <29600>;
636	qcom,current-boost-limit = <970>;
637	qcom,current-limit-microamp = <20000>;
638	qcom,enabled-strings = <0 1 2 3>;
639	status = "okay";
640};
641
642&qupv3_id_0 {
643	status = "okay";
644};
645
646&qupv3_id_1 {
647	status = "okay";
648};
649
650&sdhc_2 {
651	status = "okay";
652
653	vmmc-supply = <&vreg_l21a_2p7>;
654	vqmmc-supply = <&vreg_l13a_1p8>;
655	cd-gpios = <&tlmm 126 GPIO_ACTIVE_HIGH>;
656	pinctrl-0 = <&sdc2_default_state>;
657	pinctrl-names = "default";
658	bus-width = <4>;
659	no-sdio;
660	no-mmc;
661};
662
663&tlmm {
664	gpio-reserved-ranges = <0 4>, <81 4>;
665
666	sdc2_default_state: sdc2-default-state {
667		clk-pins {
668			pins = "sdc2_clk";
669			drive-strength = <16>;
670			bias-disable;
671		};
672
673		cmd-pins {
674			pins = "sdc2_cmd";
675			drive-strength = <10>;
676			bias-pull-up;
677		};
678
679		data-pins {
680			pins = "sdc2_data";
681			drive-strength = <10>;
682			bias-pull-up;
683		};
684	};
685
686	sde_dsi_active: sde-dsi-active-state {
687		pins = "gpio6";
688		function = "gpio";
689		drive-strength = <8>;
690		bias-disable;
691	};
692
693	sde_dsi_sleep: sde-dsi-sleep-state {
694		pins = "gpio6";
695		function = "gpio";
696		drive-strength = <2>;
697		bias-pull-down;
698	};
699
700	chat_cam_pwr_en: chat-cam-pwr-en-state {
701		pins = "gpio8";
702		function = "gpio";
703		drive-strength = <2>;
704		bias-disable;
705		output-low;
706	};
707
708	sde_te_active_sleep: sde-te-active-sleep-state {
709		pins = "gpio10";
710		function = "mdp_vsync";
711		drive-strength = <2>;
712		bias-pull-down;
713	};
714
715	main_cam_pwr_en: main-cam-pwr-en-state {
716		pins = "gpio27";
717		function = "gpio";
718		drive-strength = <2>;
719		bias-disable;
720		output-low;
721	};
722
723	ts_default: ts-default-state {
724		reset-pins {
725			pins = "gpio99";
726			function = "gpio";
727			drive-strength = <2>;
728			bias-pull-up;
729		};
730
731		int-pins {
732			pins = "gpio125";
733			function = "gpio";
734			drive-strength = <2>;
735			bias-pull-up;
736		};
737	};
738
739	ts_sleep: ts-sleep-state {
740		reset-pins {
741			pins = "gpio99";
742			function = "gpio";
743			drive-strength = <2>;
744			bias-pull-down;
745		};
746
747		int-pins {
748			pins = "gpio125";
749			function = "gpio";
750			drive-strength = <2>;
751			bias-pull-down;
752		};
753	};
754};
755
756&uart6 {
757	status = "okay";
758};
759
760&uart9 {
761	status = "okay";
762};
763
764/* BIG WARNING! DO NOT TOUCH UFS, YOUR DEVICE WILL DIE! */
765&ufs_mem_hc { status = "disabled"; };
766&ufs_mem_phy { status = "disabled"; };
767
768&usb_1 {
769	status = "okay";
770
771	qcom,select-utmi-as-pipe-clk;
772};
773
774&usb_1_dwc3 {
775	dr_mode = "peripheral";
776
777	maximum-speed = "high-speed";
778	phys = <&usb_1_hsphy>;
779	phy-names = "usb2-phy";
780};
781
782&usb_1_hsphy {
783	status = "okay";
784
785	vdd-supply = <&vreg_l1a_0p9>;
786	vdda-pll-supply = <&vreg_l12a_1p8>;
787	vdda-phy-dpdm-supply = <&vreg_l24a_3p1>;
788};
789
790&venus {
791	firmware-name = "qcom/sdm845/Sony/tama/venus.mbn";
792	status = "okay";
793};
794