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 "sdm845-sony-xperia-tama.dtsi" 9 10/ { 11 model = "Sony Xperia XZ2"; 12 compatible = "sony,akari-row", "qcom,sdm845"; 13}; 14 15&panel { 16 compatible = "sony,td4353-jdi-tama"; 17}; 18 19&pmi8998_gpios { 20 gpio-line-names = "NC", /* GPIO_1 */ 21 "NC", 22 "NC", 23 "", 24 "NC", 25 "NC", 26 "", 27 "WLC_EN_N", 28 "NC", 29 "NC", /* GPIO_10 */ 30 "RSVD(WLC_EN_N)", 31 "CAM_IO_EN", 32 "", 33 "NC"; 34}; 35 36&tlmm { 37 gpio-line-names = "NC", /* GPIO_0 */ 38 "NC", 39 "NC", 40 "NC", 41 "DEBUG_UART_TX", 42 "DEBUG_UART_RX", 43 "DISP_RESET_N", 44 "NC", 45 "CHAT_CAM_PWR_EN", 46 "CAM2_RSTN", 47 "MDP_VSYNC_P", /* GPIO_10 */ 48 "RGBC_IR_INT", 49 "NFC_VEN", 50 "CAM_MCLK0", 51 "CAM_MCLK1", 52 "NC", 53 "NC", 54 "CCI_I2C_SDA0", 55 "CCI_I2C_SCL0", 56 "CCI_I2C_SDA1", 57 "CCI_I2C_SCL1", /* GPIO_20 */ 58 "CAM_SOF", 59 "TOF_INT", 60 "TOF_RESET_N", 61 "NC", 62 "NC", 63 "NC", 64 "MAIN_CAM_PWR_EN", 65 "DVDT_ENABLE", 66 "DVDT_WRT_DET_AND", 67 "DVDT_WRT_DET_OR", /* GPIO_30 */ 68 "WLC_INT_N", 69 "NC", 70 "CAMSENSOR_I2C_SDA", 71 "CAMSENSOR_I2C_SCL", 72 "NC", 73 "NC", 74 "NC", 75 "CC_DIR", 76 "NC", 77 "FP_RESET_N", /* GPIO_40 */ 78 "NC", 79 "NC", 80 "NC", 81 "NC", 82 "BT_HCI_UART_CTS_N", 83 "BT_HCI_UART_RFR_N", 84 "BT_HCI_UART_TXD", 85 "BT_HCI_UART_TRXD", 86 "USB_AUDIO_EN1", 87 "SW_SERVICE", /* GPIO_50 */ 88 "US_EURO_SEL", 89 "NC", 90 "CODEC_INT2_N", 91 "CODEC_INT1_N", 92 "APPS_I2C_SDA", 93 "APPS_I2C_SCL", 94 "FORCED_USB_BOOT", 95 "NC", 96 "NC", 97 "NC", /* GPIO_60 */ 98 "USB_PD_EN", 99 "NFC_DWLD_EN", 100 "NFC_IRQ", 101 "CODEC_RST_N", 102 "CODEC_SPI_MISO", 103 "CODEC_SPI_MOSI", 104 "CODEC_SPI_CLK", 105 "CODEC_SPI_CS_N", 106 "NC", 107 "CODEC_SLIMBUS_CLK", /* GPIO_70 */ 108 "CODEC_SLIMBUS_DATA0", 109 "CODEC_SLIMBUS_DATA1", 110 "BT_FM_SLIMBUS_DATA", 111 "BT_FM_SLIMBUS_CLK", 112 "HW_ID_0", 113 "HW_ID_1", 114 "TX_GTR_THRES_IN", 115 "NC", 116 "NC", 117 "CAM1_RSTN", /* GPIO_80 */ 118 "", 119 "", 120 "", 121 "", 122 "TS_I2C_SDA", 123 "TS_I2C_SCL", 124 "NC", 125 "NC", 126 "NC", 127 "NC", /* GPIO_90 */ 128 "NC", 129 "NC", 130 "NC", 131 "NC", 132 "NC", 133 "NC", 134 "RFFE6_CLK", 135 "RFFE6_DATA", 136 "TS_RESET_N", 137 "", /* GPIO_100 */ 138 "GRFC4", 139 "DEBUG_GPIO0", 140 "DEBUG_GPIO1", 141 "RF_LCD_ID_EN", 142 "UIM2_DATA", 143 "UIM2_CLK", 144 "UIM2_RESET", 145 "UIM2_PRESENT", 146 "UIM1_DATA", 147 "UIM1_CLK", /* GPIO_110 */ 148 "UIM1_RESET", 149 "UIM1_PRESENT", 150 "NC", 151 "NC", 152 "NC", 153 "NC", 154 "ACCEL_INT", 155 "GYRO_INT", 156 "COMPASS_INT", 157 "ALS_PROX_INT_N", /* GPIO_120 */ 158 "FP_INT", 159 "RF_ID_EXTENTION", 160 "BAROMETER_INT", 161 "ACC_COVER_OPEN", 162 "TS_INT_N", 163 "TRAY_DET", 164 "GRFC3", 165 "NC", 166 "UIM2_DETECT_EN", 167 "QLINK_REQUEST", /* GPIO_130 */ 168 "QLINK_ENABLE", 169 "GRFC2", 170 "NC", 171 "WMSS_RESET_N", 172 "PA_INDICATOR_OR", 173 "GRFC1", 174 "RFFE3_DATA", 175 "RFFE3_CLK", 176 "RFFE4_DATA", 177 "RFFE4_CLK", /* GPIO_140 */ 178 "RFFE5_DATA", 179 "RFFE5_CLK", 180 "GNSS_EN", 181 "MSS_LTE_COXM_TXD", 182 "MSS_LTE_COXM_RXD", 183 "RFFE2_DATA", 184 "RFFE2_CLK", 185 "RFFE1_DATA", 186 "RFFE1_CLK"; 187}; 188