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 "sm8350-sony-xperia-sagami.dtsi" 8 #include "sm8350-sony-xperia-sagami.dtsi" 9 9 10 / { 10 / { 11 model = "Sony Xperia 1 III"; 11 model = "Sony Xperia 1 III"; 12 compatible = "sony,pdx215-generic", "q 12 compatible = "sony,pdx215-generic", "qcom,sm8350"; 13 }; 13 }; 14 14 15 &i2c13 { 15 &i2c13 { 16 pmic@75 { 16 pmic@75 { 17 compatible = "dlg,slg51000"; 17 compatible = "dlg,slg51000"; 18 reg = <0x75>; 18 reg = <0x75>; 19 dlg,cs-gpios = <&pm8350b_gpios 19 dlg,cs-gpios = <&pm8350b_gpios 1 GPIO_ACTIVE_HIGH>; 20 20 21 pinctrl-names = "default"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&cam_pwr_a_cs>; 22 pinctrl-0 = <&cam_pwr_a_cs>; 23 23 24 regulators { 24 regulators { 25 slg51000_a_ldo1: ldo1 25 slg51000_a_ldo1: ldo1 { 26 regulator-name 26 regulator-name = "slg51000_a_ldo1"; 27 regulator-min- 27 regulator-min-microvolt = <2400000>; 28 regulator-max- 28 regulator-max-microvolt = <3300000>; 29 }; 29 }; 30 30 31 slg51000_a_ldo2: ldo2 31 slg51000_a_ldo2: ldo2 { 32 regulator-name 32 regulator-name = "slg51000_a_ldo2"; 33 regulator-min- 33 regulator-min-microvolt = <2400000>; 34 regulator-max- 34 regulator-max-microvolt = <3300000>; 35 }; 35 }; 36 36 37 slg51000_a_ldo3: ldo3 37 slg51000_a_ldo3: ldo3 { 38 regulator-name 38 regulator-name = "slg51000_a_ldo3"; 39 regulator-min- 39 regulator-min-microvolt = <1200000>; 40 regulator-max- 40 regulator-max-microvolt = <3750000>; 41 }; 41 }; 42 42 43 slg51000_a_ldo4: ldo4 43 slg51000_a_ldo4: ldo4 { 44 regulator-name 44 regulator-name = "slg51000_a_ldo4"; 45 regulator-min- 45 regulator-min-microvolt = <1200000>; 46 regulator-max- 46 regulator-max-microvolt = <3750000>; 47 }; 47 }; 48 48 49 slg51000_a_ldo5: ldo5 49 slg51000_a_ldo5: ldo5 { 50 regulator-name 50 regulator-name = "slg51000_a_ldo5"; 51 regulator-min- 51 regulator-min-microvolt = <500000>; 52 regulator-max- 52 regulator-max-microvolt = <1200000>; 53 }; 53 }; 54 54 55 slg51000_a_ldo6: ldo6 55 slg51000_a_ldo6: ldo6 { 56 regulator-name 56 regulator-name = "slg51000_a_ldo6"; 57 regulator-min- 57 regulator-min-microvolt = <500000>; 58 regulator-max- 58 regulator-max-microvolt = <1200000>; 59 }; 59 }; 60 60 61 slg51000_a_ldo7: ldo7 61 slg51000_a_ldo7: ldo7 { 62 regulator-name 62 regulator-name = "slg51000_a_ldo7"; 63 regulator-min- 63 regulator-min-microvolt = <1200000>; 64 regulator-max- 64 regulator-max-microvolt = <3750000>; 65 }; 65 }; 66 }; 66 }; 67 }; 67 }; 68 }; 68 }; 69 69 70 &pm8350b_gpios { 70 &pm8350b_gpios { 71 gpio-line-names = "CAM_PWR_A_CS", /* G 71 gpio-line-names = "CAM_PWR_A_CS", /* GPIO_1 */ 72 "NC", 72 "NC", 73 "NC", 73 "NC", 74 "NC", 74 "NC", 75 "SNAPSHOT_N", 75 "SNAPSHOT_N", 76 "CAM_PWR_LD_EN", 76 "CAM_PWR_LD_EN", 77 "NC", 77 "NC", 78 "FOCUS_N"; 78 "FOCUS_N"; 79 79 80 cam_pwr_a_cs: cam-pwr-a-cs-state { 80 cam_pwr_a_cs: cam-pwr-a-cs-state { 81 pins = "gpio1"; 81 pins = "gpio1"; 82 function = "normal"; 82 function = "normal"; 83 qcom,drive-strength = <PMIC_GP 83 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 84 power-source = <1>; 84 power-source = <1>; 85 drive-push-pull; 85 drive-push-pull; 86 output-high; 86 output-high; 87 }; 87 }; 88 }; 88 }; 89 89 90 &pm8350c_gpios { 90 &pm8350c_gpios { 91 gpio-line-names = "FL_STROBE_TRIG_WIDE 91 gpio-line-names = "FL_STROBE_TRIG_WIDE", /* GPIO_1 */ 92 "FL_STROBE_TRIG_TELE 92 "FL_STROBE_TRIG_TELE", 93 "NC", 93 "NC", 94 "WLC_TXPWR_EN", 94 "WLC_TXPWR_EN", 95 "NC", 95 "NC", 96 "RGBC_IR_PWR_EN", 96 "RGBC_IR_PWR_EN", 97 "NC", 97 "NC", 98 "NC", 98 "NC", 99 "WIDEC_PWR_EN"; 99 "WIDEC_PWR_EN"; 100 }; 100 }; 101 101 102 &tlmm { 102 &tlmm { 103 gpio-line-names = "APPS_I2C_0_SDA", /* 103 gpio-line-names = "APPS_I2C_0_SDA", /* GPIO_0 */ 104 "APPS_I2C_0_SCL", 104 "APPS_I2C_0_SCL", 105 "UWIDEC_PWR_EN", 105 "UWIDEC_PWR_EN", 106 "HAP_RST_N", 106 "HAP_RST_N", 107 "WLC_I2C_SDA", 107 "WLC_I2C_SDA", 108 "WLC_I2C_SCL", 108 "WLC_I2C_SCL", 109 "PM8008_1_RESET_N", 109 "PM8008_1_RESET_N", 110 "WLC_INT_N", 110 "WLC_INT_N", 111 "OIS_TELE_I2C_SDA", 111 "OIS_TELE_I2C_SDA", 112 "OIS_TELE_I2C_SCL", 112 "OIS_TELE_I2C_SCL", 113 "PM8350_OPTION", /* 113 "PM8350_OPTION", /* GPIO_10 */ 114 "NC", 114 "NC", 115 "APPS_I2C_1_SDA", 115 "APPS_I2C_1_SDA", 116 "APPS_I2C_1_SCL", 116 "APPS_I2C_1_SCL", 117 "NC", 117 "NC", 118 "NC", 118 "NC", 119 "CAM1_RESET_N", 119 "CAM1_RESET_N", 120 "LEO_CAM0_RESET_N", 120 "LEO_CAM0_RESET_N", 121 "DEBUG_UART_TX", 121 "DEBUG_UART_TX", 122 "DEBUG_UART_RX", 122 "DEBUG_UART_RX", 123 "TS_I2C_SDA", /* GPI 123 "TS_I2C_SDA", /* GPIO_20 */ 124 "TS_I2C_SCL", 124 "TS_I2C_SCL", 125 "TS_RESET_N", 125 "TS_RESET_N", 126 "TS_INT_N", 126 "TS_INT_N", 127 "DISP_RESET_N", 127 "DISP_RESET_N", 128 "SW_SERVICE", 128 "SW_SERVICE", 129 "DISP_ERR_FG", 129 "DISP_ERR_FG", 130 "TX_GTR_THRES_IN", 130 "TX_GTR_THRES_IN", 131 "NC", 131 "NC", 132 "NC", 132 "NC", 133 "NC", /* GPIO_30 */ 133 "NC", /* GPIO_30 */ 134 "NC", 134 "NC", 135 "NC", 135 "NC", 136 "NC", 136 "NC", 137 "NC", 137 "NC", 138 "NC", 138 "NC", 139 "SPK_AMP_INT_N", 139 "SPK_AMP_INT_N", 140 "SPK_AMP_RESET_N", 140 "SPK_AMP_RESET_N", 141 "FP_INT_N", 141 "FP_INT_N", 142 "FP_RESET_N", 142 "FP_RESET_N", 143 "NC", /* GPIO_40 */ 143 "NC", /* GPIO_40 */ 144 "NC", 144 "NC", 145 "DEBUG_GPIO0", 145 "DEBUG_GPIO0", 146 "FORCE_USB_BOOT", 146 "FORCE_USB_BOOT", 147 "FP_SPI_MISO", 147 "FP_SPI_MISO", 148 "FP_SPI_MOSI", 148 "FP_SPI_MOSI", 149 "FP_SPI_CLK", 149 "FP_SPI_CLK", 150 "FP_SPI_CS_N", 150 "FP_SPI_CS_N", 151 "SPK_AMP_I2C_SDA", 151 "SPK_AMP_I2C_SDA", 152 "SPK_AMP_I2C_SCL", 152 "SPK_AMP_I2C_SCL", 153 "NC", /* GPIO_50 */ 153 "NC", /* GPIO_50 */ 154 "HAP_INT_N", 154 "HAP_INT_N", 155 "CAMSENSOR_I2C_SDA", 155 "CAMSENSOR_I2C_SDA", 156 "CAMSENSOR_I2C_SCL", 156 "CAMSENSOR_I2C_SCL", 157 "SBU_SW_OE", 157 "SBU_SW_OE", 158 "SBU_SW_SEL", 158 "SBU_SW_SEL", 159 "NFC_ESE_SPI_MISO", 159 "NFC_ESE_SPI_MISO", 160 "NFC_ESE_SPI_MOSI", 160 "NFC_ESE_SPI_MOSI", 161 "NFC_ESE_SPI_CLK", 161 "NFC_ESE_SPI_CLK", 162 "NFC_ESE_SPI_CS", 162 "NFC_ESE_SPI_CS", 163 "NFC_I2C_SDA", /* GP 163 "NFC_I2C_SDA", /* GPIO_60 */ 164 "NFC_I2C_SCL", 164 "NFC_I2C_SCL", 165 "NFC_EN", 165 "NFC_EN", 166 "NFC_CLK_REQ", 166 "NFC_CLK_REQ", 167 "HST_WLAN_EN", 167 "HST_WLAN_EN", 168 "HST_BT_EN", 168 "HST_BT_EN", 169 "HW_ID_0", 169 "HW_ID_0", 170 "HW_ID_1", 170 "HW_ID_1", 171 "HST_BT_UART_CTS", 171 "HST_BT_UART_CTS", 172 "HST_BT_UART_RFR", 172 "HST_BT_UART_RFR", 173 "HST_BT_UART_TX", /* 173 "HST_BT_UART_TX", /* GPIO_70 */ 174 "HST_BT_UART_RX", 174 "HST_BT_UART_RX", 175 "HAP_I2C_SDA", 175 "HAP_I2C_SDA", 176 "HAP_I2C_SCL", 176 "HAP_I2C_SCL", 177 "RF_LCD_ID_EN", 177 "RF_LCD_ID_EN", 178 "RF_ID_EXTENSION", 178 "RF_ID_EXTENSION", 179 "NC", 179 "NC", 180 "NC", 180 "NC", 181 "NC", 181 "NC", 182 "NC", 182 "NC", 183 "HALL_INT_N", /* GPI 183 "HALL_INT_N", /* GPIO_80 */ 184 "USB_CC_DIR", 184 "USB_CC_DIR", 185 "DISP_VSYNC", 185 "DISP_VSYNC", 186 "NC", 186 "NC", 187 "NC", 187 "NC", 188 "CAM_SOF_TELE", 188 "CAM_SOF_TELE", 189 "NFC_DWL_REQ", 189 "NFC_DWL_REQ", 190 "NFC_IRQ", 190 "NFC_IRQ", 191 "WCD_RST_N", 191 "WCD_RST_N", 192 "ALS_PROX_INT_N", 192 "ALS_PROX_INT_N", 193 "NC", /* GPIO_90 */ 193 "NC", /* GPIO_90 */ 194 "NC", 194 "NC", 195 "TRAY_DET", 195 "TRAY_DET", 196 "UDON_SWITCH_SEL", 196 "UDON_SWITCH_SEL", 197 "PCIE0_RESET_N", 197 "PCIE0_RESET_N", 198 "PCIE0_CLK_REQ_N", 198 "PCIE0_CLK_REQ_N", 199 "PCIE0_WAKE_N", 199 "PCIE0_WAKE_N", 200 "CAM_SOF", 200 "CAM_SOF", 201 "RF_ID_EXTENSION_2", 201 "RF_ID_EXTENSION_2", 202 "RGBC_IR_INT", 202 "RGBC_IR_INT", 203 "CAM_MCLK0", /* GPIO 203 "CAM_MCLK0", /* GPIO_100 */ 204 "CAM_MCLK1", 204 "CAM_MCLK1", 205 "CAM_MCLK2", 205 "CAM_MCLK2", 206 "CAM_MCLK3", 206 "CAM_MCLK3", 207 "CAM_MCLK4", 207 "CAM_MCLK4", 208 "NC", 208 "NC", 209 "CAM2_RESET_N", 209 "CAM2_RESET_N", 210 "CCI_I2C0_SDA", 210 "CCI_I2C0_SDA", 211 "CCI_I2C0_SCL", 211 "CCI_I2C0_SCL", 212 "CCI_I2C1_SDA", 212 "CCI_I2C1_SDA", 213 "CCI_I2C1_SCL", /* G 213 "CCI_I2C1_SCL", /* GPIO_110 */ 214 "CCI_I2C2_SDA", 214 "CCI_I2C2_SDA", 215 "CCI_I2C2_SCL", 215 "CCI_I2C2_SCL", 216 "CCI_I2C3_SDA", 216 "CCI_I2C3_SDA", 217 "CCI_I2C3_SCL", 217 "CCI_I2C3_SCL", 218 "NC", 218 "NC", 219 "PM8008_1_IRQ", 219 "PM8008_1_IRQ", 220 "CAM3_RESET_N", 220 "CAM3_RESET_N", 221 "IMU1_INT", 221 "IMU1_INT", 222 "EXT_VD0_XVS", 222 "EXT_VD0_XVS", 223 "NC", /* GPIO_120 */ 223 "NC", /* GPIO_120 */ 224 "NC", 224 "NC", 225 "NC", 225 "NC", 226 "NC", 226 "NC", 227 "NC", 227 "NC", 228 "HAP_I2S_CLK", 228 "HAP_I2S_CLK", 229 "HAP_I2S_DOUT", 229 "HAP_I2S_DOUT", 230 "HAP_TRG1", 230 "HAP_TRG1", 231 "HAP_I2S_SYNC", 231 "HAP_I2S_SYNC", 232 "HST_BT_WLAN_SLIMBUS 232 "HST_BT_WLAN_SLIMBUS_CLK", 233 "HST_BT_WLAN_SLIMBUS 233 "HST_BT_WLAN_SLIMBUS_DAT0", /* GPIO_130 */ 234 "NC", 234 "NC", 235 "UIM2_DETECT_EN", 235 "UIM2_DETECT_EN", 236 "UIM2_DATA", 236 "UIM2_DATA", 237 "UIM2_CLK", 237 "UIM2_CLK", 238 "UIM2_RESET", 238 "UIM2_RESET", 239 "UIM2_PRESENT", 239 "UIM2_PRESENT", 240 "UIM1_DATA", 240 "UIM1_DATA", 241 "UIM1_CLK", 241 "UIM1_CLK", 242 "UIM1_RESET", 242 "UIM1_RESET", 243 "TRAY_DET", /* GPIO_ 243 "TRAY_DET", /* GPIO_140 */ 244 "SM_RFFE0_CLK", 244 "SM_RFFE0_CLK", 245 "SM_RFFE0_DATA", 245 "SM_RFFE0_DATA", 246 "SM_RFFE1_CLK", 246 "SM_RFFE1_CLK", 247 "SM_RFFE1_DATA", 247 "SM_RFFE1_DATA", 248 "SM_MSS_GRFC4", 248 "SM_MSS_GRFC4", 249 "SM_MSS_GRFC5", 249 "SM_MSS_GRFC5", 250 "SM_MSS_GRFC6", 250 "SM_MSS_GRFC6", 251 "SM_MSS_GRFC7", 251 "SM_MSS_GRFC7", 252 "SM_RFFE4_CLK", 252 "SM_RFFE4_CLK", 253 "SM_RFFE4_DATA", /* 253 "SM_RFFE4_DATA", /* GPIO_150 */ 254 "WLAN_COEX_UART1_RX" 254 "WLAN_COEX_UART1_RX", 255 "WLAN_COEX_UART1_TX" 255 "WLAN_COEX_UART1_TX", 256 "HST_SW_CTRL", 256 "HST_SW_CTRL", 257 "DISP_VDDR_EN", 257 "DISP_VDDR_EN", 258 "NC", 258 "NC", 259 "NC", 259 "NC", 260 "PA_INDICATOR_OR", 260 "PA_INDICATOR_OR", 261 "TOF_RST_N", 261 "TOF_RST_N", 262 "QLINK0_REQ", 262 "QLINK0_REQ", 263 "QLINK0_EN", /* GPIO 263 "QLINK0_EN", /* GPIO_160 */ 264 "QLINK0_WMSS_RESET_N 264 "QLINK0_WMSS_RESET_N", 265 "QLINK1_REQ", 265 "QLINK1_REQ", 266 "QLINK1_EN", 266 "QLINK1_EN", 267 "QLINK1_WMSS_RESET_N 267 "QLINK1_WMSS_RESET_N", 268 "PM8008_2_IRQ", 268 "PM8008_2_IRQ", 269 "TELEC_PWR_EN", 269 "TELEC_PWR_EN", 270 "PM8008_2_RESET_N", 270 "PM8008_2_RESET_N", 271 "WCD_SWR_TX_CLK", 271 "WCD_SWR_TX_CLK", 272 "WCD_SWR_TX_DATA0", 272 "WCD_SWR_TX_DATA0", 273 "WCD_SWR_TX_DATA1", 273 "WCD_SWR_TX_DATA1", /* GPIO_170 */ 274 "WCD_SWR_RX_CLK", 274 "WCD_SWR_RX_CLK", 275 "WCD_SWR_RX_DATA0", 275 "WCD_SWR_RX_DATA0", 276 "WCD_SWR_RX_DATA1", 276 "WCD_SWR_RX_DATA1", 277 "SM_DMIC1_CLK", 277 "SM_DMIC1_CLK", 278 "SM_DMIC1_DATA", 278 "SM_DMIC1_DATA", 279 "SM_DMIC2_CLK", 279 "SM_DMIC2_CLK", 280 "SM_DMIC2_DATA", 280 "SM_DMIC2_DATA", 281 "SPK_AMP_I2S_CLK", 281 "SPK_AMP_I2S_CLK", 282 "SPK_AMP_I2S_WS", 282 "SPK_AMP_I2S_WS", 283 "SPK_AMP_I2S_ASP_DIN 283 "SPK_AMP_I2S_ASP_DIN", /* GPIO_180 */ 284 "SPK_AMP_I2S_ASP_DOU 284 "SPK_AMP_I2S_ASP_DOUT", 285 "WCD_SWR_TX_DATA2", 285 "WCD_SWR_TX_DATA2", 286 "NC", 286 "NC", 287 "NC", 287 "NC", 288 "NC", 288 "NC", 289 "NC", 289 "NC", 290 "IMU_SPI_MISO", 290 "IMU_SPI_MISO", 291 "IMU_SPI_MOSI", 291 "IMU_SPI_MOSI", 292 "IMU_SPI_CLK", 292 "IMU_SPI_CLK", 293 "IMU_SPI_CS_N", /* G 293 "IMU_SPI_CS_N", /* GPIO_190 */ 294 "MAG_I2C_SDA", 294 "MAG_I2C_SDA", 295 "MAG_I2C_SCL", 295 "MAG_I2C_SCL", 296 "SENSOR_I2C_SDA", 296 "SENSOR_I2C_SDA", 297 "SENSOR_I2C_SCL", 297 "SENSOR_I2C_SCL", 298 "NC", 298 "NC", 299 "NC", 299 "NC", 300 "NC", 300 "NC", 301 "NC", 301 "NC", 302 "HST_BLE_UART_TX", 302 "HST_BLE_UART_TX", 303 "HST_BLE_UART_RX", / 303 "HST_BLE_UART_RX", /* GPIO_200 */ 304 "HST_WLAN_UART_TX", 304 "HST_WLAN_UART_TX", 305 "HST_WLAN_UART_RX"; 305 "HST_WLAN_UART_RX"; 306 }; 306 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.