xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sm8350-sony-xperia-sagami-pdx215.dts (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
4 */
5
6/dts-v1/;
7
8#include "sm8350-sony-xperia-sagami.dtsi"
9
10/ {
11	model = "Sony Xperia 1 III";
12	compatible = "sony,pdx215-generic", "qcom,sm8350";
13};
14
15&tlmm {
16	gpio-line-names = "APPS_I2C_0_SDA", /* GPIO_0 */
17			  "APPS_I2C_0_SCL",
18			  "UWIDEC_PWR_EN",
19			  "HAP_RST_N",
20			  "WLC_I2C_SDA",
21			  "WLC_I2C_SCL",
22			  "PM8008_1_RESET_N",
23			  "WLC_INT_N",
24			  "OIS_TELE_I2C_SDA",
25			  "OIS_TELE_I2C_SCL",
26			  "PM8350_OPTION", /* GPIO_10 */
27			  "NC",
28			  "APPS_I2C_1_SDA",
29			  "APPS_I2C_1_SCL",
30			  "NC",
31			  "NC",
32			  "CAM1_RESET_N",
33			  "LEO_CAM0_RESET_N",
34			  "DEBUG_UART_TX",
35			  "DEBUG_UART_RX",
36			  "TS_I2C_SDA", /* GPIO_20 */
37			  "TS_I2C_SCL",
38			  "TS_RESET_N",
39			  "TS_INT_N",
40			  "DISP_RESET_N",
41			  "SW_SERVICE",
42			  "DISP_ERR_FG",
43			  "TX_GTR_THRES_IN",
44			  "NC",
45			  "NC",
46			  "NC", /* GPIO_30 */
47			  "NC",
48			  "NC",
49			  "NC",
50			  "NC",
51			  "NC",
52			  "SPK_AMP_INT_N",
53			  "SPK_AMP_RESET_N",
54			  "FP_INT_N",
55			  "FP_RESET_N",
56			  "NC", /* GPIO_40 */
57			  "NC",
58			  "DEBUG_GPIO0",
59			  "FORCE_USB_BOOT",
60			  "FP_SPI_MISO",
61			  "FP_SPI_MOSI",
62			  "FP_SPI_CLK",
63			  "FP_SPI_CS_N",
64			  "SPK_AMP_I2C_SDA",
65			  "SPK_AMP_I2C_SCL",
66			  "NC", /* GPIO_50 */
67			  "HAP_INT_N",
68			  "CAMSENSOR_I2C_SDA",
69			  "CAMSENSOR_I2C_SCL",
70			  "SBU_SW_OE",
71			  "SBU_SW_SEL",
72			  "NFC_ESE_SPI_MISO",
73			  "NFC_ESE_SPI_MOSI",
74			  "NFC_ESE_SPI_CLK",
75			  "NFC_ESE_SPI_CS",
76			  "NFC_I2C_SDA", /* GPIO_60 */
77			  "NFC_I2C_SCL",
78			  "NFC_EN",
79			  "NFC_CLK_REQ",
80			  "HST_WLAN_EN",
81			  "HST_BT_EN",
82			  "HW_ID_0",
83			  "HW_ID_1",
84			  "HST_BT_UART_CTS",
85			  "HST_BT_UART_RFR",
86			  "HST_BT_UART_TX", /* GPIO_70 */
87			  "HST_BT_UART_RX",
88			  "HAP_I2C_SDA",
89			  "HAP_I2C_SCL",
90			  "RF_LCD_ID_EN",
91			  "RF_ID_EXTENSION",
92			  "NC",
93			  "NC",
94			  "NC",
95			  "NC",
96			  "HALL_INT_N", /* GPIO_80 */
97			  "USB_CC_DIR",
98			  "DISP_VSYNC",
99			  "NC",
100			  "NC",
101			  "CAM_SOF_TELE",
102			  "NFC_DWL_REQ",
103			  "NFC_IRQ",
104			  "WCD_RST_N",
105			  "ALS_PROX_INT_N",
106			  "NC", /* GPIO_90 */
107			  "NC",
108			  "TRAY_DET",
109			  "UDON_SWITCH_SEL",
110			  "PCIE0_RESET_N",
111			  "PCIE0_CLK_REQ_N",
112			  "PCIE0_WAKE_N",
113			  "CAM_SOF",
114			  "RF_ID_EXTENSION_2",
115			  "RGBC_IR_INT",
116			  "CAM_MCLK0", /* GPIO_100 */
117			  "CAM_MCLK1",
118			  "CAM_MCLK2",
119			  "CAM_MCLK3",
120			  "CAM_MCLK4",
121			  "NC",
122			  "CAM2_RESET_N",
123			  "CCI_I2C0_SDA",
124			  "CCI_I2C0_SCL",
125			  "CCI_I2C1_SDA",
126			  "CCI_I2C1_SCL", /* GPIO_110 */
127			  "CCI_I2C2_SDA",
128			  "CCI_I2C2_SCL",
129			  "CCI_I2C3_SDA",
130			  "CCI_I2C3_SCL",
131			  "NC",
132			  "PM8008_1_IRQ",
133			  "CAM3_RESET_N",
134			  "IMU1_INT",
135			  "EXT_VD0_XVS",
136			  "NC", /* GPIO_120 */
137			  "NC",
138			  "NC",
139			  "NC",
140			  "NC",
141			  "HAP_I2S_CLK",
142			  "HAP_I2S_DOUT",
143			  "HAP_TRG1",
144			  "HAP_I2S_SYNC",
145			  "HST_BT_WLAN_SLIMBUS_CLK",
146			  "HST_BT_WLAN_SLIMBUS_DAT0", /* GPIO_130 */
147			  "NC",
148			  "UIM2_DETECT_EN",
149			  "UIM2_DATA",
150			  "UIM2_CLK",
151			  "UIM2_RESET",
152			  "UIM2_PRESENT",
153			  "UIM1_DATA",
154			  "UIM1_CLK",
155			  "UIM1_RESET",
156			  "TRAY_DET", /* GPIO_140 */
157			  "SM_RFFE0_CLK",
158			  "SM_RFFE0_DATA",
159			  "SM_RFFE1_CLK",
160			  "SM_RFFE1_DATA",
161			  "SM_MSS_GRFC4",
162			  "SM_MSS_GRFC5",
163			  "SM_MSS_GRFC6",
164			  "SM_MSS_GRFC7",
165			  "SM_RFFE4_CLK",
166			  "SM_RFFE4_DATA", /* GPIO_150 */
167			  "WLAN_COEX_UART1_RX",
168			  "WLAN_COEX_UART1_TX",
169			  "HST_SW_CTRL",
170			  "DISP_VDDR_EN",
171			  "NC",
172			  "NC",
173			  "PA_INDICATOR_OR",
174			  "TOF_RST_N",
175			  "QLINK0_REQ",
176			  "QLINK0_EN", /* GPIO_160 */
177			  "QLINK0_WMSS_RESET_N",
178			  "QLINK1_REQ",
179			  "QLINK1_EN",
180			  "QLINK1_WMSS_RESET_N",
181			  "PM8008_2_IRQ",
182			  "TELEC_PWR_EN",
183			  "PM8008_2_RESET_N",
184			  "WCD_SWR_TX_CLK",
185			  "WCD_SWR_TX_DATA0",
186			  "WCD_SWR_TX_DATA1", /* GPIO_170 */
187			  "WCD_SWR_RX_CLK",
188			  "WCD_SWR_RX_DATA0",
189			  "WCD_SWR_RX_DATA1",
190			  "SM_DMIC1_CLK",
191			  "SM_DMIC1_DATA",
192			  "SM_DMIC2_CLK",
193			  "SM_DMIC2_DATA",
194			  "SPK_AMP_I2S_CLK",
195			  "SPK_AMP_I2S_WS",
196			  "SPK_AMP_I2S_ASP_DIN", /* GPIO_180 */
197			  "SPK_AMP_I2S_ASP_DOUT",
198			  "WCD_SWR_TX_DATA2",
199			  "NC",
200			  "NC",
201			  "NC",
202			  "NC",
203			  "IMU_SPI_MISO",
204			  "IMU_SPI_MOSI",
205			  "IMU_SPI_CLK",
206			  "IMU_SPI_CS_N", /* GPIO_190 */
207			  "MAG_I2C_SDA",
208			  "MAG_I2C_SCL",
209			  "SENSOR_I2C_SDA",
210			  "SENSOR_I2C_SCL",
211			  "NC",
212			  "NC",
213			  "NC",
214			  "NC",
215			  "HST_BLE_UART_TX",
216			  "HST_BLE_UART_RX", /* GPIO_200 */
217			  "HST_WLAN_UART_TX",
218			  "HST_WLAN_UART_RX";
219};
220