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_gpio 10 GPIO_ACTIVE_HIGH>; 24 pinctrl-names = "default"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&four_k_disp_dcdc !! 25 pinctrl-0 = <&disp_dvdd_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 &pmi8998_gpio { 41 gpio-line-names = "EAR_EN", /* GPIO_1 !! 41 disp_dvdd_en: disp-dvdd-en-active { 42 "NC", << 43 "SLB", << 44 "OPTION_1_PM8005"; << 45 }; << 46 << 47 &pmi8998_gpios { << 48 gpio-line-names = "MAIN_CAM_PWR_IO_EN" << 49 "NC", << 50 "NC", << 51 "TYPEC_UUSB_SEL", << 52 "VIB_LDO_EN", << 53 "NC", << 54 "DISPLAY_TYPE_SEL", << 55 "USB_SWITCH_SEL", << 56 "NC", << 57 "4K_DISP_DCDC_EN", / << 58 "NC", << 59 "DIV_CLK3", << 60 "SPMI_I2C_SEL", << 61 "NC"; << 62 << 63 four_k_disp_dcdc_en: 4k-disp-dcdc-en-s << 64 pins = "gpio10"; 42 pins = "gpio10"; 65 function = "normal"; 43 function = "normal"; 66 bias-disable; 44 bias-disable; 67 drive-push-pull; 45 drive-push-pull; 68 output-high; 46 output-high; 69 power-source = <0>; 47 power-source = <0>; 70 qcom,drive-strength = <1>; 48 qcom,drive-strength = <1>; 71 }; 49 }; 72 }; << 73 << 74 &tlmm { << 75 gpio-line-names = "", /* GPIO_0 */ << 76 "", << 77 "", << 78 "", << 79 "DEBUG_UART_TX", << 80 "DEBUG_UART_RX", << 81 "CAMSENSOR_I2C_SDA", << 82 "CAMSENSOR_I2C_SCL", << 83 "NC", << 84 "NC", << 85 "MDP_VSYNC_P", /* GP << 86 "RGBC_IR_INT", << 87 "NFC_VEN", << 88 "CAM_MCLK0", << 89 "CAM_MCLK1", << 90 "NC", << 91 "NC", << 92 "CCI_I2C_SDA0", << 93 "CCI_I2C_SCL0", << 94 "CCI_I2C_SDA1", << 95 "CCI_I2C_SCL1", /* G << 96 "MAIN_CAM_PWR_EN", << 97 "TOF_INT_N", << 98 "NC", << 99 "NC", << 100 "CHAT_CAM_PWR_EN", << 101 "NC", << 102 "TOF_RESET_N", << 103 "CAM2_RSTN", << 104 "NC", << 105 "CAM1_RSTN", /* GPIO << 106 "NC", << 107 "NC", << 108 "NC", << 109 "NC", << 110 "NC", << 111 "NC", << 112 "NC", << 113 "CC_DIR", << 114 "UIM2_DETECT_EN", << 115 "FP_RESET_N", /* GPI << 116 "NC", << 117 "NC", << 118 "NC", << 119 "NC", << 120 "BT_HCI_UART_TXD", << 121 "BT_HCI_UART_RXD", << 122 "BT_HCI_UART_CTS_N", << 123 "BT_HCI_UART_RFR_N", << 124 "NC", << 125 "NC", /* GPIO_50 */ << 126 "NC", << 127 "NC", << 128 "CODEC_INT2_N", << 129 "CODEC_INT1_N", << 130 "APPS_I2C_SDA", << 131 "APPS_I2C_SCL", << 132 "FORCED_USB_BOOT", << 133 "NC", << 134 "NC", << 135 "NC", /* GPIO_60 */ << 136 "NC", << 137 "NC", << 138 "TRAY2_DET_DS", << 139 "CODEC_RST_N", << 140 "WSA_L_EN", << 141 "WSA_R_EN", << 142 "NC", << 143 "NC", << 144 "NC", << 145 "LPASS_SLIMBUS_CLK", << 146 "LPASS_SLIMBUS_DATA0 << 147 "LPASS_SLIMBUS_DATA1 << 148 "BT_FM_SLIMBUS_DATA" << 149 "BT_FM_SLIMBUS_CLK", << 150 "NC", << 151 "RF_LCD_ID_EN", << 152 "NC", << 153 "NC", << 154 "NC", << 155 "NC", /* GPIO_80 */ << 156 "SW_SERVICE", << 157 "TX_GTR_THRES_IN", << 158 "HW_ID0", << 159 "HW_ID1", << 160 "NC", << 161 "NC", << 162 "TS_I2C_SDA", << 163 "TS_I2C_SCL", << 164 "TS_RESET_N", << 165 "NC", /* GPIO_90 */ << 166 "NC", << 167 "NFC_IRQ", << 168 "NFC_DWLD_EN", << 169 "DISP_RESET_N", << 170 "TRAY2_DET", << 171 "CAM_SOF", << 172 "RFFE6_CLK", << 173 "RFFE6_DATA", << 174 "DEBUG_GPIO0", << 175 "DEBUG_GPIO1", /* GP << 176 "GRFC4", << 177 "NC", << 178 "NC", << 179 "RSVD", << 180 "UIM2_DATA", << 181 "UIM2_CLK", << 182 "UIM2_RESET", << 183 "UIM2_PRESENT", << 184 "UIM1_DATA", << 185 "UIM1_CLK", /* GPIO_ << 186 "UIM1_RST", << 187 "UIM1_PRESENT", << 188 "UIM_BATT_ALARM", << 189 "RSVD", << 190 "NC", << 191 "NC", << 192 "ACCEL_INT", << 193 "GYRO_INT", << 194 "COMPASS_INT", << 195 "ALS_PROX_INT_N", /* << 196 "FP_INT_N", << 197 "NC", << 198 "BAROMETER_INT", << 199 "ACC_COVER_OPEN", << 200 "TS_INT_N", << 201 "NC", << 202 "NC", << 203 "USB_DETECT_EN", << 204 "NC", << 205 "QLINK_REQUEST", /* << 206 "QLINK_ENABLE", << 207 "NC", << 208 "TS_VDDIO_EN", << 209 "WMSS_RESET_N", << 210 "PA_INDICATOR_OR", << 211 "NC", << 212 "RFFE3_DATA", << 213 "RFFE3_CLK", << 214 "RFFE4_DATA", << 215 "RFFE4_CLK", /* GPIO << 216 "RFFE5_DATA", << 217 "RFFE5_CLK", << 218 "GNSS_EN", << 219 "MSS_LTE_COXM_TXD", << 220 "MSS_LTE_COXM_RXD", << 221 "RFFE2_DATA", << 222 "RFFE2_CLK", << 223 "RFFE1_DATA", << 224 "RFFE1_CLK"; << 225 }; 50 }; 226 51 227 &vreg_l22a_2p85 { 52 &vreg_l22a_2p85 { 228 regulator-min-microvolt = <2704000>; 53 regulator-min-microvolt = <2704000>; 229 regulator-max-microvolt = <2704000>; 54 regulator-max-microvolt = <2704000>; 230 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.