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