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