1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2021, Konrad Dybcio <konrad.dy 3 * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org> 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "sdm845-sony-xperia-tama.dtsi" 8 #include "sdm845-sony-xperia-tama.dtsi" 9 9 10 /* XZ3 uses an Atmel touchscreen instead. */ << 11 /delete-node/ &touchscreen; << 12 << 13 / { 10 / { 14 model = "Sony Xperia XZ3"; 11 model = "Sony Xperia XZ3"; 15 compatible = "sony,akatsuki-row", "qco 12 compatible = "sony,akatsuki-row", "qcom,sdm845"; 16 << 17 /* Fixed DCDC for the OLED panel */ << 18 ts_vddio_supply: ts-vddio-regulator { << 19 compatible = "regulator-fixed" << 20 regulator-name = "ts_vddio"; << 21 << 22 regulator-min-microvolt = <184 << 23 regulator-max-microvolt = <184 << 24 << 25 gpio = <&tlmm 133 GPIO_ACTIVE_ << 26 enable-active-high; << 27 regulator-boot-on; << 28 }; << 29 }; << 30 << 31 &ibb { << 32 status = "disabled"; << 33 }; << 34 << 35 &lab { << 36 status = "disabled"; << 37 }; << 38 << 39 &panel { << 40 /* Akatsuki uses an OLED panel. */ << 41 /delete-property/ backlight; << 42 /delete-property/ vsp-supply; << 43 /delete-property/ vsn-supply; << 44 /delete-property/ touch-reset-gpios; << 45 }; << 46 << 47 &pmi8998_gpios { << 48 gpio-line-names = "NC", /* GPIO_1 */ << 49 "NC", << 50 "NC", << 51 "", << 52 "NC", << 53 "NC", << 54 "", << 55 "WLC_EN_N", << 56 "NC", << 57 "NC", /* GPIO_10 */ << 58 "NC", << 59 "CAM_IO_EN", << 60 "", << 61 "NC"; << 62 }; << 63 << 64 &pmi8998_wled { << 65 status = "disabled"; << 66 }; << 67 << 68 &tlmm { << 69 gpio-line-names = "NC", /* GPIO_0 */ << 70 "NC", << 71 "NC", << 72 "NC", << 73 "DEBUG_UART_TX", << 74 "DEBUG_UART_RX", << 75 "DISP_RESET_N", << 76 "SAMD_RSTEN_N", << 77 "CHAT_CAM_PWR_EN", << 78 "CAM2_RSTN", << 79 "MDP_VSYNC_P", /* GP << 80 "RGBC_IR_INT", << 81 "NFC_VEN", << 82 "CAM_MCLK0", << 83 "CAM_MCLK1", << 84 "NC", << 85 "MASTER_RST_N", << 86 "CCI_I2C_SDA0", << 87 "CCI_I2C_SCL0", << 88 "CCI_I2C_SDA1", << 89 "CCI_I2C_SCL1", /* G << 90 "CAM_SOF", << 91 "TOF_INT", << 92 "TOF_RESET_N", << 93 "NC", << 94 "NC", << 95 "NC", << 96 "MAIN_CAM_PWR_EN", << 97 "DVDT_ENABLE", << 98 "DVDT_WRT_DET_AND", << 99 "DVDT_WRT_DET_OR", / << 100 "WLC_INT_N", << 101 "NC", << 102 "CAMSENSOR_I2C_SDA", << 103 "CAMSENSOR_I2C_SCL", << 104 "NC", << 105 "NC", << 106 "NC", << 107 "CC_DIR", << 108 "NC", << 109 "FP_RESET_N", /* GPI << 110 "NC", << 111 "NC", << 112 "NC", << 113 "DISP_ERR_FG", << 114 "BT_HCI_UART_CTS_N", << 115 "BT_HCI_UART_RFR_N", << 116 "BT_HCI_UART_TXD", << 117 "BT_HCI_UART_TRXD", << 118 "USB_AUDIO_EN1", << 119 "SW_SERVICE", /* GPI << 120 "US_EURO_SEL", << 121 "SAMD_BOOTL_PIN", << 122 "CODEC_INT2_N", << 123 "CODEC_INT1_N", << 124 "APPS_I2C_SDA", << 125 "APPS_I2C_SCL", << 126 "FORCED_USB_BOOT", << 127 "SDM_SWD_CLK", << 128 "SDM_SWD_DAT", << 129 "SAMD_RST", /* GPIO_ << 130 "USB_PD_EN", << 131 "NFC_DWLD_EN", << 132 "NFC_IRQ", << 133 "CODEC_RST_N", << 134 "CODEC_SPI_MISO", << 135 "CODEC_SPI_MOSI", << 136 "CODEC_SPI_CLK", << 137 "CODEC_SPI_CS_N", << 138 "NC", << 139 "CODEC_SLIMBUS_CLK", << 140 "CODEC_SLIMBUS_DATA0 << 141 "CODEC_SLIMBUS_DATA1 << 142 "BT_FM_SLIMBUS_DATA" << 143 "BT_FM_SLIMBUS_CLK", << 144 "HW_ID_0", << 145 "HW_ID_1", << 146 "TX_GTR_THRES_IN", << 147 "MODE_SEL2", << 148 "NC", << 149 "CAM1_RSTN", /* GPIO << 150 "", << 151 "", << 152 "", << 153 "", << 154 "TS_I2C_SDA", << 155 "TS_I2C_SCL", << 156 "NC", << 157 "NC", << 158 "NC", << 159 "NC", /* GPIO_90 */ << 160 "NC", << 161 "NC", << 162 "NC", << 163 "NC", << 164 "NC", << 165 "NC", << 166 "RFFE6_CLK", << 167 "RFFE6_DATA", << 168 "TS_RESET_N", << 169 "", /* GPIO_100 */ << 170 "GRFC4", << 171 "DEBUG_GPIO0", << 172 "DEBUG_GPIO1", << 173 "RF_LCD_ID_EN", << 174 "UIM2_DATA", << 175 "UIM2_CLK", << 176 "UIM2_RESET", << 177 "UIM2_PRESENT", << 178 "UIM1_DATA", << 179 "UIM1_CLK", /* GPIO_ << 180 "UIM1_RESET", << 181 "UIM1_PRESENT", << 182 "NC", << 183 "NC", << 184 "NC", << 185 "NFC_ESE_PWR_REQ", << 186 "ACCEL_INT", << 187 "GYRO_INT", << 188 "COMPASS_INT", << 189 "ALS_PROX_INT_N", /* << 190 "FP_INT", << 191 "RF_ID_EXTENTION", << 192 "BAROMETER_INT", << 193 "ACC_COVER_OPEN", << 194 "TS_INT_N", << 195 "TRAY_DET", << 196 "GRFC3", << 197 "NC", << 198 "UIM2_DETECT_EN", << 199 "QLINK_REQUEST", /* << 200 "QLINK_ENABLE", << 201 "GRFC2", << 202 "TS_VDDIO_EN", << 203 "WMSS_RESET_N", << 204 "PA_INDICATOR_OR", << 205 "GRFC1", << 206 "RFFE3_DATA", << 207 "RFFE3_CLK", << 208 "RFFE4_DATA", << 209 "RFFE4_CLK", /* GPIO << 210 "RFFE5_DATA", << 211 "RFFE5_CLK", << 212 "GNSS_EN", << 213 "MSS_LTE_COXM_TXD", << 214 "MSS_LTE_COXM_RXD", << 215 "RFFE2_DATA", << 216 "RFFE2_CLK", << 217 "RFFE1_DATA", << 218 "RFFE1_CLK"; << 219 << 220 ts_vddio_en: ts-vddio-en-state { << 221 pins = "gpio133"; << 222 function = "gpio"; << 223 drive-strength = <2>; << 224 bias-disable; << 225 output-high; << 226 }; << 227 }; 13 }; 228 14 >> 15 /* For the future: WLED + LAB/IBB/OLEDB are not used on Akatsuki */ 229 &vreg_l14a_1p8 { 16 &vreg_l14a_1p8 { 230 regulator-min-microvolt = <1840000>; 17 regulator-min-microvolt = <1840000>; 231 regulator-max-microvolt = <1840000>; 18 regulator-max-microvolt = <1840000>; 232 }; 19 }; 233 20 234 &vreg_l22a_2p8 { 21 &vreg_l22a_2p8 { 235 /* Note: Round-down from 2700000 to be 22 /* Note: Round-down from 2700000 to be a multiple of PLDO step-size 8000 */ 236 regulator-min-microvolt = <2696000>; 23 regulator-min-microvolt = <2696000>; 237 regulator-max-microvolt = <2696000>; 24 regulator-max-microvolt = <2696000>; 238 }; 25 }; 239 26 240 &vreg_l28a_2p8 { 27 &vreg_l28a_2p8 { 241 regulator-min-microvolt = <3000000>; 28 regulator-min-microvolt = <3000000>; 242 regulator-max-microvolt = <3000000>; 29 regulator-max-microvolt = <3000000>; 243 }; 30 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.