xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8996-xiaomi-natrium.dts (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1*b97ee269SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2*b97ee269SEmmanuel Vadot/*
3*b97ee269SEmmanuel Vadot * Copyright (c) 2022, Alec Su <ae40515@yahoo.com.tw>
4*b97ee269SEmmanuel Vadot */
5*b97ee269SEmmanuel Vadot
6*b97ee269SEmmanuel Vadot/dts-v1/;
7*b97ee269SEmmanuel Vadot
8*b97ee269SEmmanuel Vadot#include "msm8996-xiaomi-common.dtsi"
9*b97ee269SEmmanuel Vadot#include "pmi8996.dtsi"
10*b97ee269SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h>
11*b97ee269SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6asm.h>
12*b97ee269SEmmanuel Vadot
13*b97ee269SEmmanuel Vadot/ {
14*b97ee269SEmmanuel Vadot	model = "Xiaomi Mi 5s Plus";
15*b97ee269SEmmanuel Vadot	compatible = "xiaomi,natrium", "qcom,msm8996";
16*b97ee269SEmmanuel Vadot	chassis-type = "handset";
17*b97ee269SEmmanuel Vadot	qcom,msm-id = <305 0x10000>;
18*b97ee269SEmmanuel Vadot	qcom,board-id = <47 0>;
19*b97ee269SEmmanuel Vadot};
20*b97ee269SEmmanuel Vadot
21*b97ee269SEmmanuel Vadot&adsp_pil {
22*b97ee269SEmmanuel Vadot	firmware-name = "qcom/msm8996/natrium/adsp.mbn";
23*b97ee269SEmmanuel Vadot};
24*b97ee269SEmmanuel Vadot
25*b97ee269SEmmanuel Vadot&blsp2_i2c6 {
26*b97ee269SEmmanuel Vadot	touchscreen@20 {
27*b97ee269SEmmanuel Vadot		compatible = "syna,rmi4-i2c";
28*b97ee269SEmmanuel Vadot		reg = <0x20>;
29*b97ee269SEmmanuel Vadot		interrupt-parent = <&tlmm>;
30*b97ee269SEmmanuel Vadot		interrupts = <125 IRQ_TYPE_LEVEL_LOW>;
31*b97ee269SEmmanuel Vadot		vdd-supply = <&vdd_3v2_tp>;
32*b97ee269SEmmanuel Vadot		syna,reset-delay-ms = <200>;
33*b97ee269SEmmanuel Vadot		syna,startup-delay-ms = <5>;
34*b97ee269SEmmanuel Vadot
35*b97ee269SEmmanuel Vadot		pinctrl-names = "default", "sleep";
36*b97ee269SEmmanuel Vadot		pinctrl-0 = <&touchscreen_default>;
37*b97ee269SEmmanuel Vadot		pinctrl-1 = <&touchscreen_sleep>;
38*b97ee269SEmmanuel Vadot	};
39*b97ee269SEmmanuel Vadot};
40*b97ee269SEmmanuel Vadot
41*b97ee269SEmmanuel Vadot&dsi0 {
42*b97ee269SEmmanuel Vadot	status = "okay";
43*b97ee269SEmmanuel Vadot
44*b97ee269SEmmanuel Vadot	vdda-supply = <&vreg_l2a_1p25>;
45*b97ee269SEmmanuel Vadot	vcca-supply = <&vreg_l28a_0p925>;
46*b97ee269SEmmanuel Vadot
47*b97ee269SEmmanuel Vadot	pinctrl-names = "default", "sleep";
48*b97ee269SEmmanuel Vadot	pinctrl-0 = <&mdss_dsi_default &mdss_te_default>;
49*b97ee269SEmmanuel Vadot	pinctrl-1 = <&mdss_dsi_sleep &mdss_te_sleep>;
50*b97ee269SEmmanuel Vadot
51*b97ee269SEmmanuel Vadot	panel: panel@0 {
52*b97ee269SEmmanuel Vadot		compatible = "jdi,fhd-r63452";
53*b97ee269SEmmanuel Vadot		reg = <0>;
54*b97ee269SEmmanuel Vadot		reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
55*b97ee269SEmmanuel Vadot		backlight = <&pmi8994_wled>;
56*b97ee269SEmmanuel Vadot
57*b97ee269SEmmanuel Vadot		port {
58*b97ee269SEmmanuel Vadot			panel_in: endpoint {
59*b97ee269SEmmanuel Vadot				remote-endpoint = <&dsi0_out>;
60*b97ee269SEmmanuel Vadot			};
61*b97ee269SEmmanuel Vadot		};
62*b97ee269SEmmanuel Vadot	};
63*b97ee269SEmmanuel Vadot};
64*b97ee269SEmmanuel Vadot
65*b97ee269SEmmanuel Vadot&dsi0_out {
66*b97ee269SEmmanuel Vadot	remote-endpoint = <&panel_in>;
67*b97ee269SEmmanuel Vadot};
68*b97ee269SEmmanuel Vadot
69*b97ee269SEmmanuel Vadot&gpu {
70*b97ee269SEmmanuel Vadot	zap-shader {
71*b97ee269SEmmanuel Vadot		firmware-name = "qcom/msm8996/natrium/a530_zap.mbn";
72*b97ee269SEmmanuel Vadot	};
73*b97ee269SEmmanuel Vadot};
74*b97ee269SEmmanuel Vadot
75*b97ee269SEmmanuel Vadot&mss_pil {
76*b97ee269SEmmanuel Vadot	firmware-name = "qcom/msm8996/natrium/mba.mbn",
77*b97ee269SEmmanuel Vadot			"qcom/msm8996/natrium/modem.mbn";
78*b97ee269SEmmanuel Vadot};
79*b97ee269SEmmanuel Vadot
80*b97ee269SEmmanuel Vadot&pmi8994_wled {
81*b97ee269SEmmanuel Vadot	status = "okay";
82*b97ee269SEmmanuel Vadot
83*b97ee269SEmmanuel Vadot	qcom,enabled-strings = <0 1>;
84*b97ee269SEmmanuel Vadot	qcom,switching-freq = <600>;
85*b97ee269SEmmanuel Vadot};
86*b97ee269SEmmanuel Vadot
87*b97ee269SEmmanuel Vadot&q6asmdai {
88*b97ee269SEmmanuel Vadot	dai@0 {
89*b97ee269SEmmanuel Vadot		reg = <0>;
90*b97ee269SEmmanuel Vadot	};
91*b97ee269SEmmanuel Vadot
92*b97ee269SEmmanuel Vadot	dai@1 {
93*b97ee269SEmmanuel Vadot		reg = <1>;
94*b97ee269SEmmanuel Vadot	};
95*b97ee269SEmmanuel Vadot
96*b97ee269SEmmanuel Vadot	dai@2 {
97*b97ee269SEmmanuel Vadot		reg = <2>;
98*b97ee269SEmmanuel Vadot	};
99*b97ee269SEmmanuel Vadot};
100*b97ee269SEmmanuel Vadot
101*b97ee269SEmmanuel Vadot&slpi_pil {
102*b97ee269SEmmanuel Vadot	firmware-name = "qcom/msm8996/natrium/slpi.mbn";
103*b97ee269SEmmanuel Vadot};
104*b97ee269SEmmanuel Vadot
105*b97ee269SEmmanuel Vadot&sound {
106*b97ee269SEmmanuel Vadot	compatible = "qcom,apq8096-sndcard";
107*b97ee269SEmmanuel Vadot	model = "natrium";
108*b97ee269SEmmanuel Vadot	audio-routing =	"RX_BIAS", "MCLK";
109*b97ee269SEmmanuel Vadot
110*b97ee269SEmmanuel Vadot	mm1-dai-link {
111*b97ee269SEmmanuel Vadot		link-name = "MultiMedia1";
112*b97ee269SEmmanuel Vadot		cpu {
113*b97ee269SEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
114*b97ee269SEmmanuel Vadot		};
115*b97ee269SEmmanuel Vadot	};
116*b97ee269SEmmanuel Vadot
117*b97ee269SEmmanuel Vadot	mm2-dai-link {
118*b97ee269SEmmanuel Vadot		link-name = "MultiMedia2";
119*b97ee269SEmmanuel Vadot		cpu {
120*b97ee269SEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
121*b97ee269SEmmanuel Vadot		};
122*b97ee269SEmmanuel Vadot	};
123*b97ee269SEmmanuel Vadot
124*b97ee269SEmmanuel Vadot	mm3-dai-link {
125*b97ee269SEmmanuel Vadot		link-name = "MultiMedia3";
126*b97ee269SEmmanuel Vadot		cpu {
127*b97ee269SEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
128*b97ee269SEmmanuel Vadot		};
129*b97ee269SEmmanuel Vadot	};
130*b97ee269SEmmanuel Vadot
131*b97ee269SEmmanuel Vadot	slim-dai-link {
132*b97ee269SEmmanuel Vadot		link-name = "SLIM Playback";
133*b97ee269SEmmanuel Vadot		cpu {
134*b97ee269SEmmanuel Vadot			sound-dai = <&q6afedai SLIMBUS_6_RX>;
135*b97ee269SEmmanuel Vadot		};
136*b97ee269SEmmanuel Vadot
137*b97ee269SEmmanuel Vadot		platform {
138*b97ee269SEmmanuel Vadot			sound-dai = <&q6routing>;
139*b97ee269SEmmanuel Vadot		};
140*b97ee269SEmmanuel Vadot
141*b97ee269SEmmanuel Vadot		codec {
142*b97ee269SEmmanuel Vadot			sound-dai = <&wcd9335 6>;
143*b97ee269SEmmanuel Vadot		};
144*b97ee269SEmmanuel Vadot	};
145*b97ee269SEmmanuel Vadot
146*b97ee269SEmmanuel Vadot	slimcap-dai-link {
147*b97ee269SEmmanuel Vadot		link-name = "SLIM Capture";
148*b97ee269SEmmanuel Vadot		cpu {
149*b97ee269SEmmanuel Vadot			sound-dai = <&q6afedai SLIMBUS_0_TX>;
150*b97ee269SEmmanuel Vadot		};
151*b97ee269SEmmanuel Vadot
152*b97ee269SEmmanuel Vadot		platform {
153*b97ee269SEmmanuel Vadot			sound-dai = <&q6routing>;
154*b97ee269SEmmanuel Vadot		};
155*b97ee269SEmmanuel Vadot
156*b97ee269SEmmanuel Vadot		codec {
157*b97ee269SEmmanuel Vadot			sound-dai = <&wcd9335 1>;
158*b97ee269SEmmanuel Vadot		};
159*b97ee269SEmmanuel Vadot	};
160*b97ee269SEmmanuel Vadot};
161*b97ee269SEmmanuel Vadot
162*b97ee269SEmmanuel Vadot&venus {
163*b97ee269SEmmanuel Vadot	firmware-name = "qcom/msm8996/natrium/venus.mbn";
164*b97ee269SEmmanuel Vadot};
165*b97ee269SEmmanuel Vadot
166*b97ee269SEmmanuel Vadot&rpm_requests {
167*b97ee269SEmmanuel Vadot	pm8994-regulators {
168*b97ee269SEmmanuel Vadot		vreg_l3a_0p875: l3 {
169*b97ee269SEmmanuel Vadot			regulator-name = "vreg_l3a_0p875";
170*b97ee269SEmmanuel Vadot			regulator-min-microvolt = <850000>;
171*b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1300000>;
172*b97ee269SEmmanuel Vadot		};
173*b97ee269SEmmanuel Vadot		vreg_l11a_1p1: l11 {
174*b97ee269SEmmanuel Vadot			regulator-name = "vreg_l11a_1p1";
175*b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1100000>;
176*b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
177*b97ee269SEmmanuel Vadot		};
178*b97ee269SEmmanuel Vadot		vreg_l17a_2p8: l17 {
179*b97ee269SEmmanuel Vadot			regulator-name = "vreg_l17a_2p8";
180*b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
181*b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
182*b97ee269SEmmanuel Vadot		};
183*b97ee269SEmmanuel Vadot		vreg_l18a_2p8: l18 {
184*b97ee269SEmmanuel Vadot			regulator-name = "vreg_l18a_2p8";
185*b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
186*b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
187*b97ee269SEmmanuel Vadot		};
188*b97ee269SEmmanuel Vadot		vreg_l29a_2p8: l29 {
189*b97ee269SEmmanuel Vadot			regulator-name = "vreg_l29a_2p8";
190*b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
191*b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
192*b97ee269SEmmanuel Vadot		};
193*b97ee269SEmmanuel Vadot	};
194*b97ee269SEmmanuel Vadot};
195*b97ee269SEmmanuel Vadot
196*b97ee269SEmmanuel Vadot&pm8994_gpios {
197*b97ee269SEmmanuel Vadot	gpio-line-names =
198*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_1  */
199*b97ee269SEmmanuel Vadot		"VOL_UP_N",		/* GPIO_2  */
200*b97ee269SEmmanuel Vadot		"SPKR_ID",		/* GPIO_3  */
201*b97ee269SEmmanuel Vadot		"PWM_HAPTICS",		/* GPIO_4  */
202*b97ee269SEmmanuel Vadot		"INFARED_DRV",		/* GPIO_5  */
203*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_6  */
204*b97ee269SEmmanuel Vadot		"KEYPAD_LED_EN_A",	/* GPIO_7  */
205*b97ee269SEmmanuel Vadot		"WL_EN",		/* GPIO_8  */
206*b97ee269SEmmanuel Vadot		"3P3_ENABLE",		/* GPIO_9  */
207*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_10 */
208*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_11 */
209*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_12 */
210*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_13 */
211*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_14 */
212*b97ee269SEmmanuel Vadot		"DIVCLK1_CDC",		/* GPIO_15 */
213*b97ee269SEmmanuel Vadot		"DIVCLK2_HAPTICS",	/* GPIO_16 */
214*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_17 */
215*b97ee269SEmmanuel Vadot		"32KHz_CLK_IN",		/* GPIO_18 */
216*b97ee269SEmmanuel Vadot		"BT_EN",		/* GPIO_19 */
217*b97ee269SEmmanuel Vadot		"PMIC_SLB",		/* GPIO_20 */
218*b97ee269SEmmanuel Vadot		"UIM_BATT_ALARM",	/* GPIO_21 */
219*b97ee269SEmmanuel Vadot		"NC";			/* GPIO_22 */
220*b97ee269SEmmanuel Vadot};
221*b97ee269SEmmanuel Vadot
222*b97ee269SEmmanuel Vadot&pm8994_mpps {
223*b97ee269SEmmanuel Vadot	gpio-line-names =
224*b97ee269SEmmanuel Vadot		"NC",			/* MPP_1 */
225*b97ee269SEmmanuel Vadot		"CCI_TIMER1",		/* MPP_2 */
226*b97ee269SEmmanuel Vadot		"PMIC_SLB",		/* MPP_3 */
227*b97ee269SEmmanuel Vadot		"EXT_FET_WLED_PWR_EN_N",/* MPP_4 */
228*b97ee269SEmmanuel Vadot		"NC",			/* MPP_5 */
229*b97ee269SEmmanuel Vadot		"NC",			/* MPP_6 */
230*b97ee269SEmmanuel Vadot		"NC",			/* MPP_7 */
231*b97ee269SEmmanuel Vadot		"NC";			/* MPP_8 */
232*b97ee269SEmmanuel Vadot};
233*b97ee269SEmmanuel Vadot
234*b97ee269SEmmanuel Vadot&pmi8994_gpios {
235*b97ee269SEmmanuel Vadot	gpio-line-names =
236*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_1  */
237*b97ee269SEmmanuel Vadot		"SPKR_PA_EN",		/* GPIO_2  */
238*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_3  */
239*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_4  */
240*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_5  */
241*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_6  */
242*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_7  */
243*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_8  */
244*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_9  */
245*b97ee269SEmmanuel Vadot		"NC";			/* GPIO_10 */
246*b97ee269SEmmanuel Vadot};
247*b97ee269SEmmanuel Vadot
248*b97ee269SEmmanuel Vadot&tlmm {
249*b97ee269SEmmanuel Vadot	gpio-line-names =
250*b97ee269SEmmanuel Vadot		"ESE_SPI_MOSI",		/* GPIO_0   */
251*b97ee269SEmmanuel Vadot		"ESE_SPI_MISO",		/* GPIO_1   */
252*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_2   */
253*b97ee269SEmmanuel Vadot		"ESE_SPI_CLK",		/* GPIO_3   */
254*b97ee269SEmmanuel Vadot		"MSM_UART_TX",		/* GPIO_4   */
255*b97ee269SEmmanuel Vadot		"MSM_UART_RX",		/* GPIO_5   */
256*b97ee269SEmmanuel Vadot		"NFC_I2C_SDA",		/* GPIO_6   */
257*b97ee269SEmmanuel Vadot		"NFC_I2C_SCL",		/* GPIO_7   */
258*b97ee269SEmmanuel Vadot		"LCD0_RESET_N",		/* GPIO_8   */
259*b97ee269SEmmanuel Vadot		"NFC_IRQ",		/* GPIO_9   */
260*b97ee269SEmmanuel Vadot		"LCD_TE",		/* GPIO_10  */
261*b97ee269SEmmanuel Vadot		"LCD_ID_DET1",		/* GPIO_11  */
262*b97ee269SEmmanuel Vadot		"NFC_DISABLE",		/* GPIO_12  */
263*b97ee269SEmmanuel Vadot		"CAM_MCLK0",		/* GPIO_13  */
264*b97ee269SEmmanuel Vadot		"CAM_MCLK1",		/* GPIO_14  */
265*b97ee269SEmmanuel Vadot		"CAM_MCLK2",		/* GPIO_15  */
266*b97ee269SEmmanuel Vadot		"ESE_PWR_REQ",		/* GPIO_16  */
267*b97ee269SEmmanuel Vadot		"CCI_I2C_SDA0",		/* GPIO_17  */
268*b97ee269SEmmanuel Vadot		"CCI_I2C_SCL0",		/* GPIO_18  */
269*b97ee269SEmmanuel Vadot		"CCI_I2C_SDA1",		/* GPIO_19  */
270*b97ee269SEmmanuel Vadot		"CCI_I2C_SCL1",		/* GPIO_20  */
271*b97ee269SEmmanuel Vadot		"NFC_DWL_REQ",		/* GPIO_21  */
272*b97ee269SEmmanuel Vadot		"CCI_TIMER1",		/* GPIO_22  */
273*b97ee269SEmmanuel Vadot		"WEBCAM1_RESET_N",	/* GPIO_23  */
274*b97ee269SEmmanuel Vadot		"ESE_IRQ",		/* GPIO_24  */
275*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_25  */
276*b97ee269SEmmanuel Vadot		"WEBCAM1_STANDBY",	/* GPIO_26  */
277*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_27  */
278*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_28  */
279*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_29  */
280*b97ee269SEmmanuel Vadot		"CAM_VDD_1P2_EN_2",	/* GPIO_30  */
281*b97ee269SEmmanuel Vadot		"CAM_RESET_0",		/* GPIO_31  */
282*b97ee269SEmmanuel Vadot		"CAM_RESET_1",		/* GPIO_32  */
283*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_33  */
284*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_34  */
285*b97ee269SEmmanuel Vadot		"PCI_E0_RST_N",		/* GPIO_35  */
286*b97ee269SEmmanuel Vadot		"PCI_E0_CLKREQ_N",	/* GPIO_36  */
287*b97ee269SEmmanuel Vadot		"PCI_E0_WAKE",		/* GPIO_37  */
288*b97ee269SEmmanuel Vadot		"CHARGER_INT",		/* GPIO_38  */
289*b97ee269SEmmanuel Vadot		"CHARGER_RESET",	/* GPIO_39  */
290*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_40  */
291*b97ee269SEmmanuel Vadot		"QCA_UART_TXD",		/* GPIO_41  */
292*b97ee269SEmmanuel Vadot		"QCA_UART_RXD",		/* GPIO_42  */
293*b97ee269SEmmanuel Vadot		"QCA_UART_CTS",		/* GPIO_43  */
294*b97ee269SEmmanuel Vadot		"QCA_UART_RTS",		/* GPIO_44  */
295*b97ee269SEmmanuel Vadot		"MAWC_UART_TX",		/* GPIO_45  */
296*b97ee269SEmmanuel Vadot		"MAWC_UART_RX",		/* GPIO_46  */
297*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_47  */
298*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_48  */
299*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_49  */
300*b97ee269SEmmanuel Vadot		"FP_SPI_RST",		/* GPIO_50  */
301*b97ee269SEmmanuel Vadot		"TYPEC_I2C_SDA",	/* GPIO_51  */
302*b97ee269SEmmanuel Vadot		"TYPEC_I2C_SCL",	/* GPIO_52  */
303*b97ee269SEmmanuel Vadot		"CODEC_INT2_N",		/* GPIO_53  */
304*b97ee269SEmmanuel Vadot		"CODEC_INT1_N",		/* GPIO_54  */
305*b97ee269SEmmanuel Vadot		"APPS_I2C7_SDA",	/* GPIO_55  */
306*b97ee269SEmmanuel Vadot		"APPS_I2C7_SCL",	/* GPIO_56  */
307*b97ee269SEmmanuel Vadot		"FORCE_USB_BOOT",	/* GPIO_57  */
308*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_58  */
309*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_59  */
310*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_60  */
311*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_61  */
312*b97ee269SEmmanuel Vadot		"ESE_RSTN",		/* GPIO_62  */
313*b97ee269SEmmanuel Vadot		"TYPEC_INT",		/* GPIO_63  */
314*b97ee269SEmmanuel Vadot		"CODEC_RESET_N",	/* GPIO_64  */
315*b97ee269SEmmanuel Vadot		"PCM_CLK",		/* GPIO_65  */
316*b97ee269SEmmanuel Vadot		"PCM_SYNC",		/* GPIO_66  */
317*b97ee269SEmmanuel Vadot		"PCM_DIN",		/* GPIO_67  */
318*b97ee269SEmmanuel Vadot		"PCM_DOUT",		/* GPIO_68  */
319*b97ee269SEmmanuel Vadot		"CDC_44K1_CLK",		/* GPIO_69  */
320*b97ee269SEmmanuel Vadot		"SLIMBUS_CLK",		/* GPIO_70  */
321*b97ee269SEmmanuel Vadot		"SLIMBUS_DATA0",	/* GPIO_71  */
322*b97ee269SEmmanuel Vadot		"SLIMBUS_DATA1",	/* GPIO_72  */
323*b97ee269SEmmanuel Vadot		"LDO_5V_IN_EN",		/* GPIO_73  */
324*b97ee269SEmmanuel Vadot		"TYPEC_EN_N",		/* GPIO_74  */
325*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_75  */
326*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_76  */
327*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_77  */
328*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_78  */
329*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_79  */
330*b97ee269SEmmanuel Vadot		"SENSOR_RESET_N",	/* GPIO_80  */
331*b97ee269SEmmanuel Vadot		"FP_SPI_MOSI",		/* GPIO_81  */
332*b97ee269SEmmanuel Vadot		"FP_SPI_MISO",		/* GPIO_82  */
333*b97ee269SEmmanuel Vadot		"FP_SPI_CS_N",		/* GPIO_83  */
334*b97ee269SEmmanuel Vadot		"FP_SPI_CLK",		/* GPIO_84  */
335*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_85  */
336*b97ee269SEmmanuel Vadot		"CAM_VDD_1P2_EN",	/* GPIO_86  */
337*b97ee269SEmmanuel Vadot		"MSM_TS_I2C_SDA",	/* GPIO_87  */
338*b97ee269SEmmanuel Vadot		"MSM_TS_I2C_SCL",	/* GPIO_88  */
339*b97ee269SEmmanuel Vadot		"TS_RESOUT_N",		/* GPIO_89  */
340*b97ee269SEmmanuel Vadot		"ESE_SPI_CS_N",		/* GPIO_90  */
341*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_91  */
342*b97ee269SEmmanuel Vadot		"CAM2_AVDD_EN",		/* GPIO_92  */
343*b97ee269SEmmanuel Vadot		"CAM2_VCM_EN",		/* GPIO_93  */
344*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_94  */
345*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_95  */
346*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_96  */
347*b97ee269SEmmanuel Vadot		"GRFC_0",		/* GPIO_97  */
348*b97ee269SEmmanuel Vadot		"GRFC_1",		/* GPIO_98  */
349*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_99  */
350*b97ee269SEmmanuel Vadot		"GRFC_3",		/* GPIO_100 */
351*b97ee269SEmmanuel Vadot		"GRFC_4",		/* GPIO_101 */
352*b97ee269SEmmanuel Vadot		"GRFC_5",		/* GPIO_102 */
353*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_103 */
354*b97ee269SEmmanuel Vadot		"GRFC_7",		/* GPIO_104 */
355*b97ee269SEmmanuel Vadot		"UIM2_DATA",		/* GPIO_105 */
356*b97ee269SEmmanuel Vadot		"UIM2_CLK",		/* GPIO_106 */
357*b97ee269SEmmanuel Vadot		"UIM2_RESET",		/* GPIO_107 */
358*b97ee269SEmmanuel Vadot		"UIM2_PRESENT",		/* GPIO_108 */
359*b97ee269SEmmanuel Vadot		"UIM1_DATA",		/* GPIO_109 */
360*b97ee269SEmmanuel Vadot		"UIM1_CLK",		/* GPIO_110 */
361*b97ee269SEmmanuel Vadot		"UIM1_RESET",		/* GPIO_111 */
362*b97ee269SEmmanuel Vadot		"UIM1_PRESENT",		/* GPIO_112 */
363*b97ee269SEmmanuel Vadot		"UIM_BATT_ALARM",	/* GPIO_113 */
364*b97ee269SEmmanuel Vadot		"GRFC_8",		/* GPIO_114 */
365*b97ee269SEmmanuel Vadot		"GRFC_9",		/* GPIO_115 */
366*b97ee269SEmmanuel Vadot		"TX_GTR_THRES",		/* GPIO_116 */
367*b97ee269SEmmanuel Vadot		"ACCEL_INT",		/* GPIO_117 */
368*b97ee269SEmmanuel Vadot		"GYRO_INT",		/* GPIO_118 */
369*b97ee269SEmmanuel Vadot		"COMPASS_INT",		/* GPIO_119 */
370*b97ee269SEmmanuel Vadot		"PROXIMITY_INT_N",	/* GPIO_120 */
371*b97ee269SEmmanuel Vadot		"FP_IRQ",		/* GPIO_121 */
372*b97ee269SEmmanuel Vadot		"P_SENSE",		/* GPIO_122 */
373*b97ee269SEmmanuel Vadot		"HALL_INTR2",		/* GPIO_123 */
374*b97ee269SEmmanuel Vadot		"HALL_INTR1",		/* GPIO_124 */
375*b97ee269SEmmanuel Vadot		"TS_INT_N",		/* GPIO_125 */
376*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_126 */
377*b97ee269SEmmanuel Vadot		"GRFC_11",		/* GPIO_127 */
378*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_128 */
379*b97ee269SEmmanuel Vadot		"EXT_GPS_LNA_EN",	/* GPIO_129 */
380*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_130 */
381*b97ee269SEmmanuel Vadot		"LCD_ID_DET2",		/* GPIO_131 */
382*b97ee269SEmmanuel Vadot		"LCD_TE2",		/* GPIO_132 */
383*b97ee269SEmmanuel Vadot		"GRFC_14",		/* GPIO_133 */
384*b97ee269SEmmanuel Vadot		"GSM_TX2_PHASE_D",	/* GPIO_134 */
385*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_135 */
386*b97ee269SEmmanuel Vadot		"GRFC_15",		/* GPIO_136 */
387*b97ee269SEmmanuel Vadot		"RFFE3_DATA",		/* GPIO_137 */
388*b97ee269SEmmanuel Vadot		"RFFE3_CLK",		/* GPIO_138 */
389*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_139 */
390*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_140 */
391*b97ee269SEmmanuel Vadot		"RFFE5_DATA",		/* GPIO_141 */
392*b97ee269SEmmanuel Vadot		"RFFE5_CLK",		/* GPIO_142 */
393*b97ee269SEmmanuel Vadot		"NC",			/* GPIO_143 */
394*b97ee269SEmmanuel Vadot		"COEX_UART_TX",		/* GPIO_144 */
395*b97ee269SEmmanuel Vadot		"COEX_UART_RX",		/* GPIO_145 */
396*b97ee269SEmmanuel Vadot		"RFFE2_DATA",		/* GPIO_146 */
397*b97ee269SEmmanuel Vadot		"RFFE2_CLK",		/* GPIO_147 */
398*b97ee269SEmmanuel Vadot		"RFFE1_DATA",		/* GPIO_148 */
399*b97ee269SEmmanuel Vadot		"RFFE1_CLK";		/* GPIO_149 */
400*b97ee269SEmmanuel Vadot
401*b97ee269SEmmanuel Vadot	touchscreen_default: touchscreen-default {
402*b97ee269SEmmanuel Vadot		pins = "gpio89", "gpio125";
403*b97ee269SEmmanuel Vadot		function = "gpio";
404*b97ee269SEmmanuel Vadot		drive-strength = <10>;
405*b97ee269SEmmanuel Vadot		bias-pull-up;
406*b97ee269SEmmanuel Vadot	};
407*b97ee269SEmmanuel Vadot
408*b97ee269SEmmanuel Vadot	touchscreen_sleep: touchscreen-sleep {
409*b97ee269SEmmanuel Vadot		pins = "gpio89", "gpio125";
410*b97ee269SEmmanuel Vadot		function = "gpio";
411*b97ee269SEmmanuel Vadot		drive-strength = <2>;
412*b97ee269SEmmanuel Vadot		bias-disable;
413*b97ee269SEmmanuel Vadot	};
414*b97ee269SEmmanuel Vadot};
415