~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sm8250-sony-xperia-edo-pdx203.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 "sm8250-sony-xperia-edo.dtsi"
  9 
 10 / {
 11         model = "Sony Xperia 1 II";
 12         compatible = "sony,pdx203-generic", "qcom,sm8250";
 13         chassis-type = "handset";
 14 };
 15 
 16 /delete-node/ &vreg_l7f_1p8;
 17 
 18 &i2c5 {
 19         clock-frequency = <400000>;
 20         status = "okay";
 21 
 22         pmic@75 {
 23                 compatible = "dlg,slg51000";
 24                 reg = <0x75>;
 25                 dlg,cs-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>;
 26                 vin5-supply = <&vreg_s1f_1p2>;
 27                 vin6-supply = <&vreg_s1f_1p2>;
 28 
 29                 pinctrl-0 = <&cam_pwr_b_cs>;
 30                 pinctrl-names = "default";
 31 
 32                 regulators {
 33                         slg51000_1_ldo1: ldo1 {
 34                                 regulator-name = "slg51000_b_ldo1";
 35                                 regulator-min-microvolt = <2400000>;
 36                                 regulator-max-microvolt = <3300000>;
 37                         };
 38 
 39                         slg51000_1_ldo2: ldo2 {
 40                                 regulator-name = "slg51000_b_ldo2";
 41                                 regulator-min-microvolt = <2400000>;
 42                                 regulator-max-microvolt = <3300000>;
 43                         };
 44 
 45                         slg51000_1_ldo3: ldo3 {
 46                                 regulator-name = "slg51000_b_ldo3";
 47                                 regulator-min-microvolt = <1200000>;
 48                                 regulator-max-microvolt = <3750000>;
 49                         };
 50 
 51                         slg51000_1_ldo4: ldo4 {
 52                                 regulator-name = "slg51000_b_ldo4";
 53                                 regulator-min-microvolt = <1200000>;
 54                                 regulator-max-microvolt = <3750000>;
 55                         };
 56 
 57                         slg51000_1_ldo5: ldo5 {
 58                                 regulator-name = "slg51000_b_ldo5";
 59                                 regulator-min-microvolt = <500000>;
 60                                 regulator-max-microvolt = <1200000>;
 61                         };
 62 
 63                         slg51000_1_ldo6: ldo6 {
 64                                 regulator-name = "slg51000_b_ldo6";
 65                                 regulator-min-microvolt = <500000>;
 66                                 regulator-max-microvolt = <1200000>;
 67                         };
 68 
 69                         slg51000_1_ldo7: ldo7 {
 70                                 regulator-name = "slg51000_b_ldo7";
 71                                 regulator-min-microvolt = <1200000>;
 72                                 regulator-max-microvolt = <3750000>;
 73                         };
 74                 };
 75         };
 76 };
 77 
 78 &i2c15 {
 79         pmic@75 {
 80                 compatible = "dlg,slg51000";
 81                 reg = <0x75>;
 82                 dlg,cs-gpios = <&tlmm 71 GPIO_ACTIVE_HIGH>;
 83                 vin5-supply = <&vreg_l2f_1p3>;
 84                 vin6-supply = <&vreg_l2f_1p3>;
 85 
 86                 pinctrl-0 = <&cam_pwr_a_cs>;
 87                 pinctrl-names = "default";
 88 
 89                 regulators {
 90                         slg51000_0_ldo1: ldo1 {
 91                                 regulator-name = "slg51000_a_ldo1";
 92                                 regulator-min-microvolt = <2400000>;
 93                                 regulator-max-microvolt = <3300000>;
 94                         };
 95 
 96                         slg51000_0_ldo2: ldo2 {
 97                                 regulator-name = "slg51000_a_ldo2";
 98                                 regulator-min-microvolt = <2400000>;
 99                                 regulator-max-microvolt = <3300000>;
100                         };
101 
102                         slg51000_0_ldo3: ldo3 {
103                                 regulator-name = "slg51000_a_ldo3";
104                                 regulator-min-microvolt = <1200000>;
105                                 regulator-max-microvolt = <3750000>;
106                         };
107 
108                         slg51000_0_ldo4: ldo4 {
109                                 regulator-name = "slg51000_a_ldo4";
110                                 regulator-min-microvolt = <1200000>;
111                                 regulator-max-microvolt = <3750000>;
112                         };
113 
114                         slg51000_0_ldo5: ldo5 {
115                                 regulator-name = "slg51000_a_ldo5";
116                                 regulator-min-microvolt = <500000>;
117                                 regulator-max-microvolt = <1200000>;
118                         };
119 
120                         slg51000_0_ldo6: ldo6 {
121                                 regulator-name = "slg51000_a_ldo6";
122                                 regulator-min-microvolt = <500000>;
123                                 regulator-max-microvolt = <1200000>;
124                         };
125 
126                         slg51000_0_ldo7: ldo7 {
127                                 regulator-name = "slg51000_a_ldo7";
128                                 regulator-min-microvolt = <1200000>;
129                                 regulator-max-microvolt = <3750000>;
130                         };
131                 };
132         };
133 };
134 
135 &pm8009_gpios {
136         gpio-line-names = "NC", /* GPIO_1 */
137                           "CAM_PWR_LD_EN",
138                           "WIDEC_PWR_EN",
139                           "NC";
140 };
141 
142 &pm8150_gpios {
143         gpio-line-names = "VOL_DOWN_N", /* GPIO_1 */
144                           "OPTION_2",
145                           "NC",
146                           "PM_SLP_CLK_IN",
147                           "OPTION_1",
148                           "NC",
149                           "NC",
150                           "SP_ARI_PWR_ALARM",
151                           "NC",
152                           "NC"; /* GPIO_10 */
153 };
154 
155 &pm8150b_gpios {
156         gpio-line-names = "SNAPSHOT_N", /* GPIO_1 */
157                           "FOCUS_N",
158                           "NC",
159                           "NC",
160                           "RF_LCD_ID_EN",
161                           "NC",
162                           "NC",
163                           "LCD_ID",
164                           "NC",
165                           "WLC_EN_N", /* GPIO_10 */
166                           "NC",
167                           "RF_ID";
168 };
169 
170 &pm8150l_gpios {
171         gpio-line-names = "NC", /* GPIO_1 */
172                           "PM3003A_EN",
173                           "NC",
174                           "NC",
175                           "NC",
176                           "AUX2_THERM",
177                           "BB_HP_EN",
178                           "FP_LDO_EN",
179                           "PMX_RESET_N",
180                           "AUX3_THERM", /* GPIO_10 */
181                           "DTV_PWR_EN",
182                           "PM3003A_MODE";
183 };
184 
185 &tlmm {
186         gpio-line-names = "AP_CTI_IN", /* GPIO_0 */
187                           "MDM2AP_ERR_FATAL",
188                           "AP_CTI_OUT",
189                           "MDM2AP_STATUS",
190                           "NFC_I2C_SDA",
191                           "NFC_I2C_SCL",
192                           "NFC_EN",
193                           "NFC_CLK_REQ",
194                           "NFC_ESE_PWR_REQ",
195                           "DVDT_WRT_DET_AND",
196                           "SPK_AMP_RESET_N", /* GPIO_10 */
197                           "SPK_AMP_INT_N",
198                           "APPS_I2C_1_SDA",
199                           "APPS_I2C_1_SCL",
200                           "NC",
201                           "TX_GTR_THRES_IN",
202                           "HST_BT_UART_CTS",
203                           "HST_BT_UART_RFR",
204                           "HST_BT_UART_TX",
205                           "HST_BT_UART_RX",
206                           "HST_WLAN_EN", /* GPIO_20 */
207                           "HST_BT_EN",
208                           "RGBC_IR_PWR_EN",
209                           "FP_INT_N",
210                           "NC",
211                           "NC",
212                           "NC",
213                           "NC",
214                           "NFC_ESE_SPI_MISO",
215                           "NFC_ESE_SPI_MOSI",
216                           "NFC_ESE_SPI_SCLK", /* GPIO_30 */
217                           "NFC_ESE_SPI_CS_N",
218                           "WCD_RST_N",
219                           "NC",
220                           "SDM_DEBUG_UART_TX",
221                           "SDM_DEBUG_UART_RX",
222                           "TS_I2C_SDA",
223                           "TS_I2C_SCL",
224                           "TS_INT_N",
225                           "FP_SPI_MISO", /* GPIO_40 */
226                           "FP_SPI_MOSI",
227                           "FP_SPI_SCLK",
228                           "FP_SPI_CS_N",
229                           "APPS_I2C_0_SDA",
230                           "APPS_I2C_0_SCL",
231                           "DISP_ERR_FG",
232                           "UIM2_DETECT_EN",
233                           "NC",
234                           "NC",
235                           "NC", /* GPIO_50 */
236                           "NC",
237                           "MDM_UART_CTS",
238                           "MDM_UART_RFR",
239                           "MDM_UART_TX",
240                           "MDM_UART_RX",
241                           "AP2MDM_STATUS",
242                           "AP2MDM_ERR_FATAL",
243                           "MDM_IPC_HS_UART_TX",
244                           "MDM_IPC_HS_UART_RX",
245                           "NC", /* GPIO_60 */
246                           "NC",
247                           "NC",
248                           "NC",
249                           "NC",
250                           "USB_CC_DIR",
251                           "DISP_VSYNC",
252                           "NC",
253                           "NC",
254                           "CAM_PWR_B_CS",
255                           "NC", /* GPIO_70 */
256                           "CAM_PWR_A_CS",
257                           "SBU_SW_SEL",
258                           "SBU_SW_OE",
259                           "FP_RESET_N",
260                           "FP_RESET_N",
261                           "DISP_RESET_N",
262                           "DEBUG_GPIO0",
263                           "TRAY_DET",
264                           "CAM2_RST_N",
265                           "PCIE0_RST_N",
266                           "PCIE0_CLK_REQ_N", /* GPIO_80 */
267                           "PCIE0_WAKE_N",
268                           "DVDT_ENABLE",
269                           "DVDT_WRT_DET_OR",
270                           "NC",
271                           "PCIE2_RST_N",
272                           "PCIE2_CLK_REQ_N",
273                           "PCIE2_WAKE_N",
274                           "MDM_VFR_IRQ0",
275                           "MDM_VFR_IRQ1",
276                           "SW_SERVICE", /* GPIO_90 */
277                           "CAM_SOF",
278                           "CAM1_RST_N",
279                           "CAM0_RST_N",
280                           "CAM0_MCLK",
281                           "CAM1_MCLK",
282                           "CAM2_MCLK",
283                           "CAM3_MCLK",
284                           "CAM4_MCLK",
285                           "TOF_RST_N",
286                           "NC", /* GPIO_100 */
287                           "CCI0_I2C_SDA",
288                           "CCI0_I2C_SCL",
289                           "CCI1_I2C_SDA",
290                           "CCI1_I2C_SCL_",
291                           "CCI2_I2C_SDA",
292                           "CCI2_I2C_SCL",
293                           "CCI3_I2C_SDA",
294                           "CCI3_I2C_SCL",
295                           "CAM3_RST_N",
296                           "NFC_DWL_REQ", /* GPIO_110 */
297                           "NFC_IRQ",
298                           "XVS",
299                           "NC",
300                           "RF_ID_EXTENSION",
301                           "SPK_AMP_I2C_SDA",
302                           "SPK_AMP_I2C_SCL",
303                           "NC",
304                           "NC",
305                           "WLC_I2C_SDA",
306                           "WLC_I2C_SCL", /* GPIO_120 */
307                           "ACC_COVER_OPEN",
308                           "ALS_PROX_INT_N",
309                           "ACCEL_INT",
310                           "WLAN_SW_CTRL",
311                           "CAMSENSOR_I2C_SDA",
312                           "CAMSENSOR_I2C_SCL",
313                           "UDON_SWITCH_SEL",
314                           "WDOG_DISABLE",
315                           "BAROMETER_INT",
316                           "NC", /* GPIO_130 */
317                           "NC",
318                           "FORCED_USB_BOOT",
319                           "NC",
320                           "NC",
321                           "WLC_INT_N",
322                           "NC",
323                           "NC",
324                           "RGBC_IR_INT",
325                           "NC",
326                           "NC", /* GPIO_140 */
327                           "NC",
328                           "BT_SLIMBUS_CLK",
329                           "BT_SLIMBUS_DATA",
330                           "HW_ID_0",
331                           "HW_ID_1",
332                           "WCD_SWR_TX_CLK",
333                           "WCD_SWR_TX_DATA0",
334                           "WCD_SWR_TX_DATA1",
335                           "WCD_SWR_RX_CLK",
336                           "WCD_SWR_RX_DATA0", /* GPIO_150 */
337                           "WCD_SWR_RX_DATA1",
338                           "SDM_DMIC_CLK1",
339                           "SDM_DMIC_DATA1",
340                           "SDM_DMIC_CLK2",
341                           "SDM_DMIC_DATA2",
342                           "SPK_AMP_I2S_CLK",
343                           "SPK_AMP_I2S_WS",
344                           "SPK_AMP_I2S_ASP_DIN",
345                           "SPK_AMP_I2S_ASP_DOUT",
346                           "COMPASS_I2C_SDA", /* GPIO_160 */
347                           "COMPASS_I2C_SCL",
348                           "NC",
349                           "NC",
350                           "SSC_SPI_1_MISO",
351                           "SSC_SPI_1_MOSI",
352                           "SSC_SPI_1_CLK",
353                           "SSC_SPI_1_CS_N",
354                           "NC",
355                           "NC",
356                           "SSC_SENSOR_I2C_SDA", /* GPIO_170 */
357                           "SSC_SENSOR_I2C_SCL",
358                           "NC",
359                           "NC",
360                           "NC",
361                           "NC",
362                           "HST_BLE_SNS_UART6_TX",
363                           "HST_BLE_SNS_UART6_RX",
364                           "HST_WLAN_UART_TX",
365                           "HST_WLAN_UART_RX";
366 
367         cam_pwr_b_cs: cam-pwr-b-state {
368                 pins = "gpio69";
369                 function = "gpio";
370                 drive-strength = <2>;
371                 bias-disable;
372                 output-low;
373         };
374 
375         cam_pwr_a_cs: cam-pwr-a-state {
376                 pins = "gpio71";
377                 function = "gpio";
378                 drive-strength = <2>;
379                 bias-disable;
380                 output-low;
381         };
382 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php