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