1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2021, AngeloGioacchino Del Re 3 * Copyright (c) 2021, AngeloGioacchino Del Regno 4 * <angelogioacchino.delreg 4 * <angelogioacchino.delregno@somainline.org> 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "msm8998-sony-xperia-yoshino.dtsi" 9 #include "msm8998-sony-xperia-yoshino.dtsi" 10 10 11 / { 11 / { 12 model = "Sony Xperia XZ Premium"; 12 model = "Sony Xperia XZ Premium"; 13 compatible = "sony,xperia-maple", "qco 13 compatible = "sony,xperia-maple", "qcom,msm8998"; 14 chassis-type = "handset"; 14 chassis-type = "handset"; 15 15 16 disp_dvdd_vreg: disp-dvdd-vreg { 16 disp_dvdd_vreg: disp-dvdd-vreg { 17 compatible = "regulator-fixed" 17 compatible = "regulator-fixed"; 18 regulator-name = "disp_dvdd_en 18 regulator-name = "disp_dvdd_en"; 19 regulator-min-microvolt = <135 19 regulator-min-microvolt = <1350000>; 20 regulator-max-microvolt = <135 20 regulator-max-microvolt = <1350000>; 21 startup-delay-us = <0>; 21 startup-delay-us = <0>; 22 enable-active-high; 22 enable-active-high; 23 gpio = <&pmi8998_gpios 10 GPIO 23 gpio = <&pmi8998_gpios 10 GPIO_ACTIVE_HIGH>; 24 pinctrl-names = "default"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&four_k_disp_dcdc 25 pinctrl-0 = <&four_k_disp_dcdc_en>; 26 }; 26 }; 27 }; 27 }; 28 28 29 &ibb { 29 &ibb { 30 regulator-min-microvolt = <5600000>; 30 regulator-min-microvolt = <5600000>; 31 regulator-max-microvolt = <5600000>; 31 regulator-max-microvolt = <5600000>; 32 }; 32 }; 33 33 34 &lab { 34 &lab { 35 regulator-min-microvolt = <5800000>; 35 regulator-min-microvolt = <5800000>; 36 regulator-max-microvolt = <5800000>; 36 regulator-max-microvolt = <5800000>; 37 qcom,soft-start-us = <200>; 37 qcom,soft-start-us = <200>; 38 }; 38 }; 39 39 40 &pm8005_gpios { 40 &pm8005_gpios { 41 gpio-line-names = "EAR_EN", /* GPIO_1 41 gpio-line-names = "EAR_EN", /* GPIO_1 */ 42 "NC", 42 "NC", 43 "SLB", 43 "SLB", 44 "OPTION_1_PM8005"; 44 "OPTION_1_PM8005"; 45 }; 45 }; 46 46 47 &pmi8998_gpios { 47 &pmi8998_gpios { 48 gpio-line-names = "MAIN_CAM_PWR_IO_EN" 48 gpio-line-names = "MAIN_CAM_PWR_IO_EN", /* GPIO_1 */ 49 "NC", 49 "NC", 50 "NC", 50 "NC", 51 "TYPEC_UUSB_SEL", 51 "TYPEC_UUSB_SEL", 52 "VIB_LDO_EN", 52 "VIB_LDO_EN", 53 "NC", 53 "NC", 54 "DISPLAY_TYPE_SEL", 54 "DISPLAY_TYPE_SEL", 55 "USB_SWITCH_SEL", 55 "USB_SWITCH_SEL", 56 "NC", 56 "NC", 57 "4K_DISP_DCDC_EN", / 57 "4K_DISP_DCDC_EN", /* GPIO_10 */ 58 "NC", 58 "NC", 59 "DIV_CLK3", 59 "DIV_CLK3", 60 "SPMI_I2C_SEL", 60 "SPMI_I2C_SEL", 61 "NC"; 61 "NC"; 62 62 63 four_k_disp_dcdc_en: 4k-disp-dcdc-en-s 63 four_k_disp_dcdc_en: 4k-disp-dcdc-en-state { 64 pins = "gpio10"; 64 pins = "gpio10"; 65 function = "normal"; 65 function = "normal"; 66 bias-disable; 66 bias-disable; 67 drive-push-pull; 67 drive-push-pull; 68 output-high; 68 output-high; 69 power-source = <0>; 69 power-source = <0>; 70 qcom,drive-strength = <1>; 70 qcom,drive-strength = <1>; 71 }; 71 }; 72 }; 72 }; 73 73 74 &tlmm { 74 &tlmm { 75 gpio-line-names = "", /* GPIO_0 */ 75 gpio-line-names = "", /* GPIO_0 */ 76 "", 76 "", 77 "", 77 "", 78 "", 78 "", 79 "DEBUG_UART_TX", 79 "DEBUG_UART_TX", 80 "DEBUG_UART_RX", 80 "DEBUG_UART_RX", 81 "CAMSENSOR_I2C_SDA", 81 "CAMSENSOR_I2C_SDA", 82 "CAMSENSOR_I2C_SCL", 82 "CAMSENSOR_I2C_SCL", 83 "NC", 83 "NC", 84 "NC", 84 "NC", 85 "MDP_VSYNC_P", /* GP 85 "MDP_VSYNC_P", /* GPIO_10 */ 86 "RGBC_IR_INT", 86 "RGBC_IR_INT", 87 "NFC_VEN", 87 "NFC_VEN", 88 "CAM_MCLK0", 88 "CAM_MCLK0", 89 "CAM_MCLK1", 89 "CAM_MCLK1", 90 "NC", 90 "NC", 91 "NC", 91 "NC", 92 "CCI_I2C_SDA0", 92 "CCI_I2C_SDA0", 93 "CCI_I2C_SCL0", 93 "CCI_I2C_SCL0", 94 "CCI_I2C_SDA1", 94 "CCI_I2C_SDA1", 95 "CCI_I2C_SCL1", /* G 95 "CCI_I2C_SCL1", /* GPIO_20 */ 96 "MAIN_CAM_PWR_EN", 96 "MAIN_CAM_PWR_EN", 97 "TOF_INT_N", 97 "TOF_INT_N", 98 "NC", 98 "NC", 99 "NC", 99 "NC", 100 "CHAT_CAM_PWR_EN", 100 "CHAT_CAM_PWR_EN", 101 "NC", 101 "NC", 102 "TOF_RESET_N", 102 "TOF_RESET_N", 103 "CAM2_RSTN", 103 "CAM2_RSTN", 104 "NC", 104 "NC", 105 "CAM1_RSTN", /* GPIO 105 "CAM1_RSTN", /* GPIO_30 */ 106 "NC", 106 "NC", 107 "NC", 107 "NC", 108 "NC", 108 "NC", 109 "NC", 109 "NC", 110 "NC", 110 "NC", 111 "NC", 111 "NC", 112 "NC", 112 "NC", 113 "CC_DIR", 113 "CC_DIR", 114 "UIM2_DETECT_EN", 114 "UIM2_DETECT_EN", 115 "FP_RESET_N", /* GPI 115 "FP_RESET_N", /* GPIO_40 */ 116 "NC", 116 "NC", 117 "NC", 117 "NC", 118 "NC", 118 "NC", 119 "NC", 119 "NC", 120 "BT_HCI_UART_TXD", 120 "BT_HCI_UART_TXD", 121 "BT_HCI_UART_RXD", 121 "BT_HCI_UART_RXD", 122 "BT_HCI_UART_CTS_N", 122 "BT_HCI_UART_CTS_N", 123 "BT_HCI_UART_RFR_N", 123 "BT_HCI_UART_RFR_N", 124 "NC", 124 "NC", 125 "NC", /* GPIO_50 */ 125 "NC", /* GPIO_50 */ 126 "NC", 126 "NC", 127 "NC", 127 "NC", 128 "CODEC_INT2_N", 128 "CODEC_INT2_N", 129 "CODEC_INT1_N", 129 "CODEC_INT1_N", 130 "APPS_I2C_SDA", 130 "APPS_I2C_SDA", 131 "APPS_I2C_SCL", 131 "APPS_I2C_SCL", 132 "FORCED_USB_BOOT", 132 "FORCED_USB_BOOT", 133 "NC", 133 "NC", 134 "NC", 134 "NC", 135 "NC", /* GPIO_60 */ 135 "NC", /* GPIO_60 */ 136 "NC", 136 "NC", 137 "NC", 137 "NC", 138 "TRAY2_DET_DS", 138 "TRAY2_DET_DS", 139 "CODEC_RST_N", 139 "CODEC_RST_N", 140 "WSA_L_EN", 140 "WSA_L_EN", 141 "WSA_R_EN", 141 "WSA_R_EN", 142 "NC", 142 "NC", 143 "NC", 143 "NC", 144 "NC", 144 "NC", 145 "LPASS_SLIMBUS_CLK", 145 "LPASS_SLIMBUS_CLK", /* GPIO_70 */ 146 "LPASS_SLIMBUS_DATA0 146 "LPASS_SLIMBUS_DATA0", 147 "LPASS_SLIMBUS_DATA1 147 "LPASS_SLIMBUS_DATA1", 148 "BT_FM_SLIMBUS_DATA" 148 "BT_FM_SLIMBUS_DATA", 149 "BT_FM_SLIMBUS_CLK", 149 "BT_FM_SLIMBUS_CLK", 150 "NC", 150 "NC", 151 "RF_LCD_ID_EN", 151 "RF_LCD_ID_EN", 152 "NC", 152 "NC", 153 "NC", 153 "NC", 154 "NC", 154 "NC", 155 "NC", /* GPIO_80 */ 155 "NC", /* GPIO_80 */ 156 "SW_SERVICE", 156 "SW_SERVICE", 157 "TX_GTR_THRES_IN", 157 "TX_GTR_THRES_IN", 158 "HW_ID0", 158 "HW_ID0", 159 "HW_ID1", 159 "HW_ID1", 160 "NC", 160 "NC", 161 "NC", 161 "NC", 162 "TS_I2C_SDA", 162 "TS_I2C_SDA", 163 "TS_I2C_SCL", 163 "TS_I2C_SCL", 164 "TS_RESET_N", 164 "TS_RESET_N", 165 "NC", /* GPIO_90 */ 165 "NC", /* GPIO_90 */ 166 "NC", 166 "NC", 167 "NFC_IRQ", 167 "NFC_IRQ", 168 "NFC_DWLD_EN", 168 "NFC_DWLD_EN", 169 "DISP_RESET_N", 169 "DISP_RESET_N", 170 "TRAY2_DET", 170 "TRAY2_DET", 171 "CAM_SOF", 171 "CAM_SOF", 172 "RFFE6_CLK", 172 "RFFE6_CLK", 173 "RFFE6_DATA", 173 "RFFE6_DATA", 174 "DEBUG_GPIO0", 174 "DEBUG_GPIO0", 175 "DEBUG_GPIO1", /* GP 175 "DEBUG_GPIO1", /* GPIO_100 */ 176 "GRFC4", 176 "GRFC4", 177 "NC", 177 "NC", 178 "NC", 178 "NC", 179 "RSVD", 179 "RSVD", 180 "UIM2_DATA", 180 "UIM2_DATA", 181 "UIM2_CLK", 181 "UIM2_CLK", 182 "UIM2_RESET", 182 "UIM2_RESET", 183 "UIM2_PRESENT", 183 "UIM2_PRESENT", 184 "UIM1_DATA", 184 "UIM1_DATA", 185 "UIM1_CLK", /* GPIO_ 185 "UIM1_CLK", /* GPIO_110 */ 186 "UIM1_RST", 186 "UIM1_RST", 187 "UIM1_PRESENT", 187 "UIM1_PRESENT", 188 "UIM_BATT_ALARM", 188 "UIM_BATT_ALARM", 189 "RSVD", 189 "RSVD", 190 "NC", 190 "NC", 191 "NC", 191 "NC", 192 "ACCEL_INT", 192 "ACCEL_INT", 193 "GYRO_INT", 193 "GYRO_INT", 194 "COMPASS_INT", 194 "COMPASS_INT", 195 "ALS_PROX_INT_N", /* 195 "ALS_PROX_INT_N", /* GPIO_120 */ 196 "FP_INT_N", 196 "FP_INT_N", 197 "NC", 197 "NC", 198 "BAROMETER_INT", 198 "BAROMETER_INT", 199 "ACC_COVER_OPEN", 199 "ACC_COVER_OPEN", 200 "TS_INT_N", 200 "TS_INT_N", 201 "NC", 201 "NC", 202 "NC", 202 "NC", 203 "USB_DETECT_EN", 203 "USB_DETECT_EN", 204 "NC", 204 "NC", 205 "QLINK_REQUEST", /* 205 "QLINK_REQUEST", /* GPIO_130 */ 206 "QLINK_ENABLE", 206 "QLINK_ENABLE", 207 "NC", 207 "NC", 208 "TS_VDDIO_EN", 208 "TS_VDDIO_EN", 209 "WMSS_RESET_N", 209 "WMSS_RESET_N", 210 "PA_INDICATOR_OR", 210 "PA_INDICATOR_OR", 211 "NC", 211 "NC", 212 "RFFE3_DATA", 212 "RFFE3_DATA", 213 "RFFE3_CLK", 213 "RFFE3_CLK", 214 "RFFE4_DATA", 214 "RFFE4_DATA", 215 "RFFE4_CLK", /* GPIO 215 "RFFE4_CLK", /* GPIO_140 */ 216 "RFFE5_DATA", 216 "RFFE5_DATA", 217 "RFFE5_CLK", 217 "RFFE5_CLK", 218 "GNSS_EN", 218 "GNSS_EN", 219 "MSS_LTE_COXM_TXD", 219 "MSS_LTE_COXM_TXD", 220 "MSS_LTE_COXM_RXD", 220 "MSS_LTE_COXM_RXD", 221 "RFFE2_DATA", 221 "RFFE2_DATA", 222 "RFFE2_CLK", 222 "RFFE2_CLK", 223 "RFFE1_DATA", 223 "RFFE1_DATA", 224 "RFFE1_CLK"; 224 "RFFE1_CLK"; 225 }; 225 }; 226 226 227 &vreg_l22a_2p85 { 227 &vreg_l22a_2p85 { 228 regulator-min-microvolt = <2704000>; 228 regulator-min-microvolt = <2704000>; 229 regulator-max-microvolt = <2704000>; 229 regulator-max-microvolt = <2704000>; 230 }; 230 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.