rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2018 MediaTek Inc. |
| 4 | * Author: Zhiyong Tao <zhiyong.tao@mediatek.com> |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __PINCTRL_MTK_MT8183_H |
| 9 | #define __PINCTRL_MTK_MT8183_H |
| 10 | |
| 11 | #include <linux/pinctrl/pinctrl.h> |
| 12 | #include "pinctrl-mtk-common.h" |
| 13 | |
| 14 | static struct mtk_desc_pin mtk_pins_mt8183[] = { |
| 15 | MTK_PIN( |
| 16 | PINCTRL_PIN(0, "GPIO0"), |
| 17 | NULL, "mt8183", |
| 18 | MTK_EINT_FUNCTION(0, 0), |
| 19 | MTK_FUNCTION(0, "GPIO0"), |
| 20 | MTK_FUNCTION(1, "MRG_SYNC"), |
| 21 | MTK_FUNCTION(2, "PCM0_SYNC"), |
| 22 | MTK_FUNCTION(3, "TP_GPIO0_AO"), |
| 23 | MTK_FUNCTION(4, "SRCLKENAI0"), |
| 24 | MTK_FUNCTION(5, "SCP_SPI2_CS"), |
| 25 | MTK_FUNCTION(6, "I2S3_MCK"), |
| 26 | MTK_FUNCTION(7, "SPI2_CSB") |
| 27 | ), |
| 28 | MTK_PIN( |
| 29 | PINCTRL_PIN(1, "GPIO1"), |
| 30 | NULL, "mt8183", |
| 31 | MTK_EINT_FUNCTION(0, 1), |
| 32 | MTK_FUNCTION(0, "GPIO1"), |
| 33 | MTK_FUNCTION(1, "MRG_CLK"), |
| 34 | MTK_FUNCTION(2, "PCM0_CLK"), |
| 35 | MTK_FUNCTION(3, "TP_GPIO1_AO"), |
| 36 | MTK_FUNCTION(4, "CLKM3"), |
| 37 | MTK_FUNCTION(5, "SCP_SPI2_MO"), |
| 38 | MTK_FUNCTION(6, "I2S3_BCK"), |
| 39 | MTK_FUNCTION(7, "SPI2_MO") |
| 40 | ), |
| 41 | MTK_PIN( |
| 42 | PINCTRL_PIN(2, "GPIO2"), |
| 43 | NULL, "mt8183", |
| 44 | MTK_EINT_FUNCTION(0, 2), |
| 45 | MTK_FUNCTION(0, "GPIO2"), |
| 46 | MTK_FUNCTION(1, "MRG_DO"), |
| 47 | MTK_FUNCTION(2, "PCM0_DO"), |
| 48 | MTK_FUNCTION(3, "TP_GPIO2_AO"), |
| 49 | MTK_FUNCTION(4, "SCL6"), |
| 50 | MTK_FUNCTION(5, "SCP_SPI2_CK"), |
| 51 | MTK_FUNCTION(6, "I2S3_LRCK"), |
| 52 | MTK_FUNCTION(7, "SPI2_CLK") |
| 53 | ), |
| 54 | MTK_PIN( |
| 55 | PINCTRL_PIN(3, "GPIO3"), |
| 56 | NULL, "mt8183", |
| 57 | MTK_EINT_FUNCTION(0, 3), |
| 58 | MTK_FUNCTION(0, "GPIO3"), |
| 59 | MTK_FUNCTION(1, "MRG_DI"), |
| 60 | MTK_FUNCTION(2, "PCM0_DI"), |
| 61 | MTK_FUNCTION(3, "TP_GPIO3_AO"), |
| 62 | MTK_FUNCTION(4, "SDA6"), |
| 63 | MTK_FUNCTION(5, "TDM_MCK"), |
| 64 | MTK_FUNCTION(6, "I2S3_DO"), |
| 65 | MTK_FUNCTION(7, "SCP_VREQ_VAO") |
| 66 | ), |
| 67 | MTK_PIN( |
| 68 | PINCTRL_PIN(4, "GPIO4"), |
| 69 | NULL, "mt8183", |
| 70 | MTK_EINT_FUNCTION(0, 4), |
| 71 | MTK_FUNCTION(0, "GPIO4"), |
| 72 | MTK_FUNCTION(1, "PWM_B"), |
| 73 | MTK_FUNCTION(2, "I2S0_MCK"), |
| 74 | MTK_FUNCTION(3, "SSPM_UTXD_AO"), |
| 75 | MTK_FUNCTION(4, "MD_URXD1"), |
| 76 | MTK_FUNCTION(5, "TDM_BCK"), |
| 77 | MTK_FUNCTION(6, "TP_GPIO4_AO"), |
| 78 | MTK_FUNCTION(7, "DAP_MD32_SWD") |
| 79 | ), |
| 80 | MTK_PIN( |
| 81 | PINCTRL_PIN(5, "GPIO5"), |
| 82 | NULL, "mt8183", |
| 83 | MTK_EINT_FUNCTION(0, 5), |
| 84 | MTK_FUNCTION(0, "GPIO5"), |
| 85 | MTK_FUNCTION(1, "PWM_C"), |
| 86 | MTK_FUNCTION(2, "I2S0_BCK"), |
| 87 | MTK_FUNCTION(3, "SSPM_URXD_AO"), |
| 88 | MTK_FUNCTION(4, "MD_UTXD1"), |
| 89 | MTK_FUNCTION(5, "TDM_LRCK"), |
| 90 | MTK_FUNCTION(6, "TP_GPIO5_AO"), |
| 91 | MTK_FUNCTION(7, "DAP_MD32_SWCK") |
| 92 | ), |
| 93 | MTK_PIN( |
| 94 | PINCTRL_PIN(6, "GPIO6"), |
| 95 | NULL, "mt8183", |
| 96 | MTK_EINT_FUNCTION(0, 6), |
| 97 | MTK_FUNCTION(0, "GPIO6"), |
| 98 | MTK_FUNCTION(1, "PWM_A"), |
| 99 | MTK_FUNCTION(2, "I2S0_LRCK"), |
| 100 | MTK_FUNCTION(3, "IDDIG"), |
| 101 | MTK_FUNCTION(4, "MD_URXD0"), |
| 102 | MTK_FUNCTION(5, "TDM_DATA0"), |
| 103 | MTK_FUNCTION(6, "TP_GPIO6_AO"), |
| 104 | MTK_FUNCTION(7, "CMFLASH") |
| 105 | ), |
| 106 | MTK_PIN( |
| 107 | PINCTRL_PIN(7, "GPIO7"), |
| 108 | NULL, "mt8183", |
| 109 | MTK_EINT_FUNCTION(0, 7), |
| 110 | MTK_FUNCTION(0, "GPIO7"), |
| 111 | MTK_FUNCTION(1, "SPI1_B_MI"), |
| 112 | MTK_FUNCTION(2, "I2S0_DI"), |
| 113 | MTK_FUNCTION(3, "USB_DRVVBUS"), |
| 114 | MTK_FUNCTION(4, "MD_UTXD0"), |
| 115 | MTK_FUNCTION(5, "TDM_DATA1"), |
| 116 | MTK_FUNCTION(6, "TP_GPIO7_AO"), |
| 117 | MTK_FUNCTION(7, "DVFSRC_EXT_REQ") |
| 118 | ), |
| 119 | MTK_PIN( |
| 120 | PINCTRL_PIN(8, "GPIO8"), |
| 121 | NULL, "mt8183", |
| 122 | MTK_EINT_FUNCTION(0, 8), |
| 123 | MTK_FUNCTION(0, "GPIO8"), |
| 124 | MTK_FUNCTION(1, "SPI1_B_CSB"), |
| 125 | MTK_FUNCTION(2, "ANT_SEL3"), |
| 126 | MTK_FUNCTION(3, "SCL7"), |
| 127 | MTK_FUNCTION(4, "CONN_MCU_TRST_B"), |
| 128 | MTK_FUNCTION(5, "TDM_DATA2"), |
| 129 | MTK_FUNCTION(6, "MD_INT0"), |
| 130 | MTK_FUNCTION(7, "JTRSTN_SEL1") |
| 131 | ), |
| 132 | MTK_PIN( |
| 133 | PINCTRL_PIN(9, "GPIO9"), |
| 134 | NULL, "mt8183", |
| 135 | MTK_EINT_FUNCTION(0, 9), |
| 136 | MTK_FUNCTION(0, "GPIO9"), |
| 137 | MTK_FUNCTION(1, "SPI1_B_MO"), |
| 138 | MTK_FUNCTION(2, "ANT_SEL4"), |
| 139 | MTK_FUNCTION(3, "CMMCLK2"), |
| 140 | MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"), |
| 141 | MTK_FUNCTION(5, "SSPM_JTAG_TRSTN"), |
| 142 | MTK_FUNCTION(6, "IO_JTAG_TRSTN"), |
| 143 | MTK_FUNCTION(7, "DBG_MON_B10") |
| 144 | ), |
| 145 | MTK_PIN( |
| 146 | PINCTRL_PIN(10, "GPIO10"), |
| 147 | NULL, "mt8183", |
| 148 | MTK_EINT_FUNCTION(0, 10), |
| 149 | MTK_FUNCTION(0, "GPIO10"), |
| 150 | MTK_FUNCTION(1, "SPI1_B_CLK"), |
| 151 | MTK_FUNCTION(2, "ANT_SEL5"), |
| 152 | MTK_FUNCTION(3, "CMMCLK3"), |
| 153 | MTK_FUNCTION(4, "CONN_MCU_DBGI_N"), |
| 154 | MTK_FUNCTION(5, "TDM_DATA3"), |
| 155 | MTK_FUNCTION(6, "EXT_FRAME_SYNC"), |
| 156 | MTK_FUNCTION(7, "DBG_MON_B11") |
| 157 | ), |
| 158 | MTK_PIN( |
| 159 | PINCTRL_PIN(11, "GPIO11"), |
| 160 | NULL, "mt8183", |
| 161 | MTK_EINT_FUNCTION(0, 11), |
| 162 | MTK_FUNCTION(0, "GPIO11"), |
| 163 | MTK_FUNCTION(1, "TP_URXD1_AO"), |
| 164 | MTK_FUNCTION(2, "IDDIG"), |
| 165 | MTK_FUNCTION(3, "SCL6"), |
| 166 | MTK_FUNCTION(4, "UCTS1"), |
| 167 | MTK_FUNCTION(5, "UCTS0"), |
| 168 | MTK_FUNCTION(6, "SRCLKENAI1"), |
| 169 | MTK_FUNCTION(7, "I2S5_MCK") |
| 170 | ), |
| 171 | MTK_PIN( |
| 172 | PINCTRL_PIN(12, "GPIO12"), |
| 173 | NULL, "mt8183", |
| 174 | MTK_EINT_FUNCTION(0, 12), |
| 175 | MTK_FUNCTION(0, "GPIO12"), |
| 176 | MTK_FUNCTION(1, "TP_UTXD1_AO"), |
| 177 | MTK_FUNCTION(2, "USB_DRVVBUS"), |
| 178 | MTK_FUNCTION(3, "SDA6"), |
| 179 | MTK_FUNCTION(4, "URTS1"), |
| 180 | MTK_FUNCTION(5, "URTS0"), |
| 181 | MTK_FUNCTION(6, "I2S2_DI2"), |
| 182 | MTK_FUNCTION(7, "I2S5_BCK") |
| 183 | ), |
| 184 | MTK_PIN( |
| 185 | PINCTRL_PIN(13, "GPIO13"), |
| 186 | NULL, "mt8183", |
| 187 | MTK_EINT_FUNCTION(0, 13), |
| 188 | MTK_FUNCTION(0, "GPIO13"), |
| 189 | MTK_FUNCTION(1, "DBPI_D0"), |
| 190 | MTK_FUNCTION(2, "SPI5_MI"), |
| 191 | MTK_FUNCTION(3, "PCM0_SYNC"), |
| 192 | MTK_FUNCTION(4, "MD_URXD0"), |
| 193 | MTK_FUNCTION(5, "ANT_SEL3"), |
| 194 | MTK_FUNCTION(6, "I2S0_MCK"), |
| 195 | MTK_FUNCTION(7, "DBG_MON_B15") |
| 196 | ), |
| 197 | MTK_PIN( |
| 198 | PINCTRL_PIN(14, "GPIO14"), |
| 199 | NULL, "mt8183", |
| 200 | MTK_EINT_FUNCTION(0, 14), |
| 201 | MTK_FUNCTION(0, "GPIO14"), |
| 202 | MTK_FUNCTION(1, "DBPI_D1"), |
| 203 | MTK_FUNCTION(2, "SPI5_CSB"), |
| 204 | MTK_FUNCTION(3, "PCM0_CLK"), |
| 205 | MTK_FUNCTION(4, "MD_UTXD0"), |
| 206 | MTK_FUNCTION(5, "ANT_SEL4"), |
| 207 | MTK_FUNCTION(6, "I2S0_BCK"), |
| 208 | MTK_FUNCTION(7, "DBG_MON_B16") |
| 209 | ), |
| 210 | MTK_PIN( |
| 211 | PINCTRL_PIN(15, "GPIO15"), |
| 212 | NULL, "mt8183", |
| 213 | MTK_EINT_FUNCTION(0, 15), |
| 214 | MTK_FUNCTION(0, "GPIO15"), |
| 215 | MTK_FUNCTION(1, "DBPI_D2"), |
| 216 | MTK_FUNCTION(2, "SPI5_MO"), |
| 217 | MTK_FUNCTION(3, "PCM0_DO"), |
| 218 | MTK_FUNCTION(4, "MD_URXD1"), |
| 219 | MTK_FUNCTION(5, "ANT_SEL5"), |
| 220 | MTK_FUNCTION(6, "I2S0_LRCK"), |
| 221 | MTK_FUNCTION(7, "DBG_MON_B17") |
| 222 | ), |
| 223 | MTK_PIN( |
| 224 | PINCTRL_PIN(16, "GPIO16"), |
| 225 | NULL, "mt8183", |
| 226 | MTK_EINT_FUNCTION(0, 16), |
| 227 | MTK_FUNCTION(0, "GPIO16"), |
| 228 | MTK_FUNCTION(1, "DBPI_D3"), |
| 229 | MTK_FUNCTION(2, "SPI5_CLK"), |
| 230 | MTK_FUNCTION(3, "PCM0_DI"), |
| 231 | MTK_FUNCTION(4, "MD_UTXD1"), |
| 232 | MTK_FUNCTION(5, "ANT_SEL6"), |
| 233 | MTK_FUNCTION(6, "I2S0_DI"), |
| 234 | MTK_FUNCTION(7, "DBG_MON_B23") |
| 235 | ), |
| 236 | MTK_PIN( |
| 237 | PINCTRL_PIN(17, "GPIO17"), |
| 238 | NULL, "mt8183", |
| 239 | MTK_EINT_FUNCTION(0, 17), |
| 240 | MTK_FUNCTION(0, "GPIO17"), |
| 241 | MTK_FUNCTION(1, "DBPI_D4"), |
| 242 | MTK_FUNCTION(2, "SPI4_MI"), |
| 243 | MTK_FUNCTION(3, "CONN_MCU_TRST_B"), |
| 244 | MTK_FUNCTION(4, "MD_INT0"), |
| 245 | MTK_FUNCTION(5, "ANT_SEL7"), |
| 246 | MTK_FUNCTION(6, "I2S3_MCK"), |
| 247 | MTK_FUNCTION(7, "DBG_MON_A1") |
| 248 | ), |
| 249 | MTK_PIN( |
| 250 | PINCTRL_PIN(18, "GPIO18"), |
| 251 | NULL, "mt8183", |
| 252 | MTK_EINT_FUNCTION(0, 18), |
| 253 | MTK_FUNCTION(0, "GPIO18"), |
| 254 | MTK_FUNCTION(1, "DBPI_D5"), |
| 255 | MTK_FUNCTION(2, "SPI4_CSB"), |
| 256 | MTK_FUNCTION(3, "CONN_MCU_DBGI_N"), |
| 257 | MTK_FUNCTION(4, "MD_INT0"), |
| 258 | MTK_FUNCTION(5, "SCP_VREQ_VAO"), |
| 259 | MTK_FUNCTION(6, "I2S3_BCK"), |
| 260 | MTK_FUNCTION(7, "DBG_MON_A2") |
| 261 | ), |
| 262 | MTK_PIN( |
| 263 | PINCTRL_PIN(19, "GPIO19"), |
| 264 | NULL, "mt8183", |
| 265 | MTK_EINT_FUNCTION(0, 19), |
| 266 | MTK_FUNCTION(0, "GPIO19"), |
| 267 | MTK_FUNCTION(1, "DBPI_D6"), |
| 268 | MTK_FUNCTION(2, "SPI4_MO"), |
| 269 | MTK_FUNCTION(3, "CONN_MCU_TDO"), |
| 270 | MTK_FUNCTION(4, "MD_INT2_C2K_UIM1_HOT_PLUG"), |
| 271 | MTK_FUNCTION(5, "URXD1"), |
| 272 | MTK_FUNCTION(6, "I2S3_LRCK"), |
| 273 | MTK_FUNCTION(7, "DBG_MON_A3") |
| 274 | ), |
| 275 | MTK_PIN( |
| 276 | PINCTRL_PIN(20, "GPIO20"), |
| 277 | NULL, "mt8183", |
| 278 | MTK_EINT_FUNCTION(0, 20), |
| 279 | MTK_FUNCTION(0, "GPIO20"), |
| 280 | MTK_FUNCTION(1, "DBPI_D7"), |
| 281 | MTK_FUNCTION(2, "SPI4_CLK"), |
| 282 | MTK_FUNCTION(3, "CONN_MCU_DBGACK_N"), |
| 283 | MTK_FUNCTION(4, "MD_INT1_C2K_UIM0_HOT_PLUG"), |
| 284 | MTK_FUNCTION(5, "UTXD1"), |
| 285 | MTK_FUNCTION(6, "I2S3_DO"), |
| 286 | MTK_FUNCTION(7, "DBG_MON_A19") |
| 287 | ), |
| 288 | MTK_PIN( |
| 289 | PINCTRL_PIN(21, "GPIO21"), |
| 290 | NULL, "mt8183", |
| 291 | MTK_EINT_FUNCTION(0, 21), |
| 292 | MTK_FUNCTION(0, "GPIO21"), |
| 293 | MTK_FUNCTION(1, "DBPI_D8"), |
| 294 | MTK_FUNCTION(2, "SPI3_MI"), |
| 295 | MTK_FUNCTION(3, "CONN_MCU_TMS"), |
| 296 | MTK_FUNCTION(4, "DAP_MD32_SWD"), |
| 297 | MTK_FUNCTION(5, "CONN_MCU_AICE_TMSC"), |
| 298 | MTK_FUNCTION(6, "I2S2_MCK"), |
| 299 | MTK_FUNCTION(7, "DBG_MON_B5") |
| 300 | ), |
| 301 | MTK_PIN( |
| 302 | PINCTRL_PIN(22, "GPIO22"), |
| 303 | NULL, "mt8183", |
| 304 | MTK_EINT_FUNCTION(0, 22), |
| 305 | MTK_FUNCTION(0, "GPIO22"), |
| 306 | MTK_FUNCTION(1, "DBPI_D9"), |
| 307 | MTK_FUNCTION(2, "SPI3_CSB"), |
| 308 | MTK_FUNCTION(3, "CONN_MCU_TCK"), |
| 309 | MTK_FUNCTION(4, "DAP_MD32_SWCK"), |
| 310 | MTK_FUNCTION(5, "CONN_MCU_AICE_TCKC"), |
| 311 | MTK_FUNCTION(6, "I2S2_BCK"), |
| 312 | MTK_FUNCTION(7, "DBG_MON_B6") |
| 313 | ), |
| 314 | MTK_PIN( |
| 315 | PINCTRL_PIN(23, "GPIO23"), |
| 316 | NULL, "mt8183", |
| 317 | MTK_EINT_FUNCTION(0, 23), |
| 318 | MTK_FUNCTION(0, "GPIO23"), |
| 319 | MTK_FUNCTION(1, "DBPI_D10"), |
| 320 | MTK_FUNCTION(2, "SPI3_MO"), |
| 321 | MTK_FUNCTION(3, "CONN_MCU_TDI"), |
| 322 | MTK_FUNCTION(4, "UCTS1"), |
| 323 | MTK_FUNCTION(5, "EXT_FRAME_SYNC"), |
| 324 | MTK_FUNCTION(6, "I2S2_LRCK"), |
| 325 | MTK_FUNCTION(7, "DBG_MON_B7") |
| 326 | ), |
| 327 | MTK_PIN( |
| 328 | PINCTRL_PIN(24, "GPIO24"), |
| 329 | NULL, "mt8183", |
| 330 | MTK_EINT_FUNCTION(0, 24), |
| 331 | MTK_FUNCTION(0, "GPIO24"), |
| 332 | MTK_FUNCTION(1, "DBPI_D11"), |
| 333 | MTK_FUNCTION(2, "SPI3_CLK"), |
| 334 | MTK_FUNCTION(3, "SRCLKENAI0"), |
| 335 | MTK_FUNCTION(4, "URTS1"), |
| 336 | MTK_FUNCTION(5, "IO_JTAG_TCK"), |
| 337 | MTK_FUNCTION(6, "I2S2_DI"), |
| 338 | MTK_FUNCTION(7, "DBG_MON_B31") |
| 339 | ), |
| 340 | MTK_PIN( |
| 341 | PINCTRL_PIN(25, "GPIO25"), |
| 342 | NULL, "mt8183", |
| 343 | MTK_EINT_FUNCTION(0, 25), |
| 344 | MTK_FUNCTION(0, "GPIO25"), |
| 345 | MTK_FUNCTION(1, "DBPI_HSYNC"), |
| 346 | MTK_FUNCTION(2, "ANT_SEL0"), |
| 347 | MTK_FUNCTION(3, "SCL6"), |
| 348 | MTK_FUNCTION(4, "KPCOL2"), |
| 349 | MTK_FUNCTION(5, "IO_JTAG_TMS"), |
| 350 | MTK_FUNCTION(6, "I2S1_MCK"), |
| 351 | MTK_FUNCTION(7, "DBG_MON_B0") |
| 352 | ), |
| 353 | MTK_PIN( |
| 354 | PINCTRL_PIN(26, "GPIO26"), |
| 355 | NULL, "mt8183", |
| 356 | MTK_EINT_FUNCTION(0, 26), |
| 357 | MTK_FUNCTION(0, "GPIO26"), |
| 358 | MTK_FUNCTION(1, "DBPI_VSYNC"), |
| 359 | MTK_FUNCTION(2, "ANT_SEL1"), |
| 360 | MTK_FUNCTION(3, "SDA6"), |
| 361 | MTK_FUNCTION(4, "KPROW2"), |
| 362 | MTK_FUNCTION(5, "IO_JTAG_TDI"), |
| 363 | MTK_FUNCTION(6, "I2S1_BCK"), |
| 364 | MTK_FUNCTION(7, "DBG_MON_B1") |
| 365 | ), |
| 366 | MTK_PIN( |
| 367 | PINCTRL_PIN(27, "GPIO27"), |
| 368 | NULL, "mt8183", |
| 369 | MTK_EINT_FUNCTION(0, 27), |
| 370 | MTK_FUNCTION(0, "GPIO27"), |
| 371 | MTK_FUNCTION(1, "DBPI_DE"), |
| 372 | MTK_FUNCTION(2, "ANT_SEL2"), |
| 373 | MTK_FUNCTION(3, "SCL7"), |
| 374 | MTK_FUNCTION(4, "DMIC_CLK"), |
| 375 | MTK_FUNCTION(5, "IO_JTAG_TDO"), |
| 376 | MTK_FUNCTION(6, "I2S1_LRCK"), |
| 377 | MTK_FUNCTION(7, "DBG_MON_B9") |
| 378 | ), |
| 379 | MTK_PIN( |
| 380 | PINCTRL_PIN(28, "GPIO28"), |
| 381 | NULL, "mt8183", |
| 382 | MTK_EINT_FUNCTION(0, 28), |
| 383 | MTK_FUNCTION(0, "GPIO28"), |
| 384 | MTK_FUNCTION(1, "DBPI_CK"), |
| 385 | MTK_FUNCTION(2, "DVFSRC_EXT_REQ"), |
| 386 | MTK_FUNCTION(3, "SDA7"), |
| 387 | MTK_FUNCTION(4, "DMIC_DAT"), |
| 388 | MTK_FUNCTION(5, "IO_JTAG_TRSTN"), |
| 389 | MTK_FUNCTION(6, "I2S1_DO"), |
| 390 | MTK_FUNCTION(7, "DBG_MON_B32") |
| 391 | ), |
| 392 | MTK_PIN( |
| 393 | PINCTRL_PIN(29, "GPIO29"), |
| 394 | NULL, "mt8183", |
| 395 | MTK_EINT_FUNCTION(0, 29), |
| 396 | MTK_FUNCTION(0, "GPIO29"), |
| 397 | MTK_FUNCTION(1, "MSDC1_CLK"), |
| 398 | MTK_FUNCTION(2, "IO_JTAG_TCK"), |
| 399 | MTK_FUNCTION(3, "UDI_TCK"), |
| 400 | MTK_FUNCTION(4, "CONN_DSP_JCK"), |
| 401 | MTK_FUNCTION(5, "SSPM_JTAG_TCK"), |
| 402 | MTK_FUNCTION(6, "PCM1_CLK"), |
| 403 | MTK_FUNCTION(7, "DBG_MON_A6") |
| 404 | ), |
| 405 | MTK_PIN( |
| 406 | PINCTRL_PIN(30, "GPIO30"), |
| 407 | NULL, "mt8183", |
| 408 | MTK_EINT_FUNCTION(0, 30), |
| 409 | MTK_FUNCTION(0, "GPIO30"), |
| 410 | MTK_FUNCTION(1, "MSDC1_DAT3"), |
| 411 | MTK_FUNCTION(2, "DAP_MD32_SWD"), |
| 412 | MTK_FUNCTION(3, "CONN_MCU_AICE_TMSC"), |
| 413 | MTK_FUNCTION(4, "CONN_DSP_JINTP"), |
| 414 | MTK_FUNCTION(5, "SSPM_JTAG_TRSTN"), |
| 415 | MTK_FUNCTION(6, "PCM1_DI"), |
| 416 | MTK_FUNCTION(7, "DBG_MON_A7") |
| 417 | ), |
| 418 | MTK_PIN( |
| 419 | PINCTRL_PIN(31, "GPIO31"), |
| 420 | NULL, "mt8183", |
| 421 | MTK_EINT_FUNCTION(0, 31), |
| 422 | MTK_FUNCTION(0, "GPIO31"), |
| 423 | MTK_FUNCTION(1, "MSDC1_CMD"), |
| 424 | MTK_FUNCTION(2, "IO_JTAG_TMS"), |
| 425 | MTK_FUNCTION(3, "UDI_TMS"), |
| 426 | MTK_FUNCTION(4, "CONN_DSP_JMS"), |
| 427 | MTK_FUNCTION(5, "SSPM_JTAG_TMS"), |
| 428 | MTK_FUNCTION(6, "PCM1_SYNC"), |
| 429 | MTK_FUNCTION(7, "DBG_MON_A8") |
| 430 | ), |
| 431 | MTK_PIN( |
| 432 | PINCTRL_PIN(32, "GPIO32"), |
| 433 | NULL, "mt8183", |
| 434 | MTK_EINT_FUNCTION(0, 32), |
| 435 | MTK_FUNCTION(0, "GPIO32"), |
| 436 | MTK_FUNCTION(1, "MSDC1_DAT0"), |
| 437 | MTK_FUNCTION(2, "IO_JTAG_TDI"), |
| 438 | MTK_FUNCTION(3, "UDI_TDI"), |
| 439 | MTK_FUNCTION(4, "CONN_DSP_JDI"), |
| 440 | MTK_FUNCTION(5, "SSPM_JTAG_TDI"), |
| 441 | MTK_FUNCTION(6, "PCM1_DO0"), |
| 442 | MTK_FUNCTION(7, "DBG_MON_A9") |
| 443 | ), |
| 444 | MTK_PIN( |
| 445 | PINCTRL_PIN(33, "GPIO33"), |
| 446 | NULL, "mt8183", |
| 447 | MTK_EINT_FUNCTION(0, 33), |
| 448 | MTK_FUNCTION(0, "GPIO33"), |
| 449 | MTK_FUNCTION(1, "MSDC1_DAT2"), |
| 450 | MTK_FUNCTION(2, "IO_JTAG_TRSTN"), |
| 451 | MTK_FUNCTION(3, "UDI_NTRST"), |
| 452 | MTK_FUNCTION(4, "DAP_MD32_SWCK"), |
| 453 | MTK_FUNCTION(5, "CONN_MCU_AICE_TCKC"), |
| 454 | MTK_FUNCTION(6, "PCM1_DO2"), |
| 455 | MTK_FUNCTION(7, "DBG_MON_A10") |
| 456 | ), |
| 457 | MTK_PIN( |
| 458 | PINCTRL_PIN(34, "GPIO34"), |
| 459 | NULL, "mt8183", |
| 460 | MTK_EINT_FUNCTION(0, 34), |
| 461 | MTK_FUNCTION(0, "GPIO34"), |
| 462 | MTK_FUNCTION(1, "MSDC1_DAT1"), |
| 463 | MTK_FUNCTION(2, "IO_JTAG_TDO"), |
| 464 | MTK_FUNCTION(3, "UDI_TDO"), |
| 465 | MTK_FUNCTION(4, "CONN_DSP_JDO"), |
| 466 | MTK_FUNCTION(5, "SSPM_JTAG_TDO"), |
| 467 | MTK_FUNCTION(6, "PCM1_DO1"), |
| 468 | MTK_FUNCTION(7, "DBG_MON_A11") |
| 469 | ), |
| 470 | MTK_PIN( |
| 471 | PINCTRL_PIN(35, "GPIO35"), |
| 472 | NULL, "mt8183", |
| 473 | MTK_EINT_FUNCTION(0, 35), |
| 474 | MTK_FUNCTION(0, "GPIO35"), |
| 475 | MTK_FUNCTION(1, "MD1_SIM2_SIO"), |
| 476 | MTK_FUNCTION(2, "CCU_JTAG_TDO"), |
| 477 | MTK_FUNCTION(3, "MD1_SIM1_SIO"), |
| 478 | MTK_FUNCTION(5, "SCP_JTAG_TDO"), |
| 479 | MTK_FUNCTION(6, "CONN_DSP_JMS"), |
| 480 | MTK_FUNCTION(7, "DBG_MON_A28") |
| 481 | ), |
| 482 | MTK_PIN( |
| 483 | PINCTRL_PIN(36, "GPIO36"), |
| 484 | NULL, "mt8183", |
| 485 | MTK_EINT_FUNCTION(0, 36), |
| 486 | MTK_FUNCTION(0, "GPIO36"), |
| 487 | MTK_FUNCTION(1, "MD1_SIM2_SRST"), |
| 488 | MTK_FUNCTION(2, "CCU_JTAG_TMS"), |
| 489 | MTK_FUNCTION(3, "MD1_SIM1_SRST"), |
| 490 | MTK_FUNCTION(4, "CONN_MCU_AICE_TMSC"), |
| 491 | MTK_FUNCTION(5, "SCP_JTAG_TMS"), |
| 492 | MTK_FUNCTION(6, "CONN_DSP_JINTP"), |
| 493 | MTK_FUNCTION(7, "DBG_MON_A29") |
| 494 | ), |
| 495 | MTK_PIN( |
| 496 | PINCTRL_PIN(37, "GPIO37"), |
| 497 | NULL, "mt8183", |
| 498 | MTK_EINT_FUNCTION(0, 37), |
| 499 | MTK_FUNCTION(0, "GPIO37"), |
| 500 | MTK_FUNCTION(1, "MD1_SIM2_SCLK"), |
| 501 | MTK_FUNCTION(2, "CCU_JTAG_TDI"), |
| 502 | MTK_FUNCTION(3, "MD1_SIM1_SCLK"), |
| 503 | MTK_FUNCTION(5, "SCP_JTAG_TDI"), |
| 504 | MTK_FUNCTION(6, "CONN_DSP_JDO"), |
| 505 | MTK_FUNCTION(7, "DBG_MON_A30") |
| 506 | ), |
| 507 | MTK_PIN( |
| 508 | PINCTRL_PIN(38, "GPIO38"), |
| 509 | NULL, "mt8183", |
| 510 | MTK_EINT_FUNCTION(0, 38), |
| 511 | MTK_FUNCTION(0, "GPIO38"), |
| 512 | MTK_FUNCTION(1, "MD1_SIM1_SCLK"), |
| 513 | MTK_FUNCTION(3, "MD1_SIM2_SCLK"), |
| 514 | MTK_FUNCTION(4, "CONN_MCU_AICE_TCKC"), |
| 515 | MTK_FUNCTION(7, "DBG_MON_A20") |
| 516 | ), |
| 517 | MTK_PIN( |
| 518 | PINCTRL_PIN(39, "GPIO39"), |
| 519 | NULL, "mt8183", |
| 520 | MTK_EINT_FUNCTION(0, 39), |
| 521 | MTK_FUNCTION(0, "GPIO39"), |
| 522 | MTK_FUNCTION(1, "MD1_SIM1_SRST"), |
| 523 | MTK_FUNCTION(2, "CCU_JTAG_TCK"), |
| 524 | MTK_FUNCTION(3, "MD1_SIM2_SRST"), |
| 525 | MTK_FUNCTION(5, "SCP_JTAG_TCK"), |
| 526 | MTK_FUNCTION(6, "CONN_DSP_JCK"), |
| 527 | MTK_FUNCTION(7, "DBG_MON_A31") |
| 528 | ), |
| 529 | MTK_PIN( |
| 530 | PINCTRL_PIN(40, "GPIO40"), |
| 531 | NULL, "mt8183", |
| 532 | MTK_EINT_FUNCTION(0, 40), |
| 533 | MTK_FUNCTION(0, "GPIO40"), |
| 534 | MTK_FUNCTION(1, "MD1_SIM1_SIO"), |
| 535 | MTK_FUNCTION(2, "CCU_JTAG_TRST"), |
| 536 | MTK_FUNCTION(3, "MD1_SIM2_SIO"), |
| 537 | MTK_FUNCTION(5, "SCP_JTAG_TRSTN"), |
| 538 | MTK_FUNCTION(6, "CONN_DSP_JDI"), |
| 539 | MTK_FUNCTION(7, "DBG_MON_A32") |
| 540 | ), |
| 541 | MTK_PIN( |
| 542 | PINCTRL_PIN(41, "GPIO41"), |
| 543 | NULL, "mt8183", |
| 544 | MTK_EINT_FUNCTION(0, 41), |
| 545 | MTK_FUNCTION(0, "GPIO41"), |
| 546 | MTK_FUNCTION(1, "IDDIG"), |
| 547 | MTK_FUNCTION(2, "URXD1"), |
| 548 | MTK_FUNCTION(3, "UCTS0"), |
| 549 | MTK_FUNCTION(4, "SSPM_UTXD_AO"), |
| 550 | MTK_FUNCTION(5, "EXT_FRAME_SYNC"), |
| 551 | MTK_FUNCTION(6, "DMIC_CLK") |
| 552 | ), |
| 553 | MTK_PIN( |
| 554 | PINCTRL_PIN(42, "GPIO42"), |
| 555 | NULL, "mt8183", |
| 556 | MTK_EINT_FUNCTION(0, 42), |
| 557 | MTK_FUNCTION(0, "GPIO42"), |
| 558 | MTK_FUNCTION(1, "USB_DRVVBUS"), |
| 559 | MTK_FUNCTION(2, "UTXD1"), |
| 560 | MTK_FUNCTION(3, "URTS0"), |
| 561 | MTK_FUNCTION(4, "SSPM_URXD_AO"), |
| 562 | MTK_FUNCTION(5, "EXT_FRAME_SYNC"), |
| 563 | MTK_FUNCTION(6, "DMIC_DAT") |
| 564 | ), |
| 565 | MTK_PIN( |
| 566 | PINCTRL_PIN(43, "GPIO43"), |
| 567 | NULL, "mt8183", |
| 568 | MTK_EINT_FUNCTION(0, 43), |
| 569 | MTK_FUNCTION(0, "GPIO43"), |
| 570 | MTK_FUNCTION(1, "DISP_PWM") |
| 571 | ), |
| 572 | MTK_PIN( |
| 573 | PINCTRL_PIN(44, "GPIO44"), |
| 574 | NULL, "mt8183", |
| 575 | MTK_EINT_FUNCTION(0, 44), |
| 576 | MTK_FUNCTION(0, "GPIO44"), |
| 577 | MTK_FUNCTION(1, "DSI_TE") |
| 578 | ), |
| 579 | MTK_PIN( |
| 580 | PINCTRL_PIN(45, "GPIO45"), |
| 581 | NULL, "mt8183", |
| 582 | MTK_EINT_FUNCTION(0, 45), |
| 583 | MTK_FUNCTION(0, "GPIO45"), |
| 584 | MTK_FUNCTION(1, "LCM_RST") |
| 585 | ), |
| 586 | MTK_PIN( |
| 587 | PINCTRL_PIN(46, "GPIO46"), |
| 588 | NULL, "mt8183", |
| 589 | MTK_EINT_FUNCTION(0, 46), |
| 590 | MTK_FUNCTION(0, "GPIO46"), |
| 591 | MTK_FUNCTION(1, "MD_INT2_C2K_UIM1_HOT_PLUG"), |
| 592 | MTK_FUNCTION(2, "URXD1"), |
| 593 | MTK_FUNCTION(3, "UCTS1"), |
| 594 | MTK_FUNCTION(4, "CCU_UTXD_AO"), |
| 595 | MTK_FUNCTION(5, "TP_UCTS1_AO"), |
| 596 | MTK_FUNCTION(6, "IDDIG"), |
| 597 | MTK_FUNCTION(7, "I2S5_LRCK") |
| 598 | ), |
| 599 | MTK_PIN( |
| 600 | PINCTRL_PIN(47, "GPIO47"), |
| 601 | NULL, "mt8183", |
| 602 | MTK_EINT_FUNCTION(0, 47), |
| 603 | MTK_FUNCTION(0, "GPIO47"), |
| 604 | MTK_FUNCTION(1, "MD_INT1_C2K_UIM0_HOT_PLUG"), |
| 605 | MTK_FUNCTION(2, "UTXD1"), |
| 606 | MTK_FUNCTION(3, "URTS1"), |
| 607 | MTK_FUNCTION(4, "CCU_URXD_AO"), |
| 608 | MTK_FUNCTION(5, "TP_URTS1_AO"), |
| 609 | MTK_FUNCTION(6, "USB_DRVVBUS"), |
| 610 | MTK_FUNCTION(7, "I2S5_DO") |
| 611 | ), |
| 612 | MTK_PIN( |
| 613 | PINCTRL_PIN(48, "GPIO48"), |
| 614 | NULL, "mt8183", |
| 615 | MTK_EINT_FUNCTION(0, 48), |
| 616 | MTK_FUNCTION(0, "GPIO48"), |
| 617 | MTK_FUNCTION(1, "SCL5") |
| 618 | ), |
| 619 | MTK_PIN( |
| 620 | PINCTRL_PIN(49, "GPIO49"), |
| 621 | NULL, "mt8183", |
| 622 | MTK_EINT_FUNCTION(0, 49), |
| 623 | MTK_FUNCTION(0, "GPIO49"), |
| 624 | MTK_FUNCTION(1, "SDA5") |
| 625 | ), |
| 626 | MTK_PIN( |
| 627 | PINCTRL_PIN(50, "GPIO50"), |
| 628 | NULL, "mt8183", |
| 629 | MTK_EINT_FUNCTION(0, 50), |
| 630 | MTK_FUNCTION(0, "GPIO50"), |
| 631 | MTK_FUNCTION(1, "SCL3") |
| 632 | ), |
| 633 | MTK_PIN( |
| 634 | PINCTRL_PIN(51, "GPIO51"), |
| 635 | NULL, "mt8183", |
| 636 | MTK_EINT_FUNCTION(0, 51), |
| 637 | MTK_FUNCTION(0, "GPIO51"), |
| 638 | MTK_FUNCTION(1, "SDA3") |
| 639 | ), |
| 640 | MTK_PIN( |
| 641 | PINCTRL_PIN(52, "GPIO52"), |
| 642 | NULL, "mt8183", |
| 643 | MTK_EINT_FUNCTION(0, 52), |
| 644 | MTK_FUNCTION(0, "GPIO52"), |
| 645 | MTK_FUNCTION(1, "BPI_ANT2") |
| 646 | ), |
| 647 | MTK_PIN( |
| 648 | PINCTRL_PIN(53, "GPIO53"), |
| 649 | NULL, "mt8183", |
| 650 | MTK_EINT_FUNCTION(0, 53), |
| 651 | MTK_FUNCTION(0, "GPIO53"), |
| 652 | MTK_FUNCTION(1, "BPI_ANT0") |
| 653 | ), |
| 654 | MTK_PIN( |
| 655 | PINCTRL_PIN(54, "GPIO54"), |
| 656 | NULL, "mt8183", |
| 657 | MTK_EINT_FUNCTION(0, 54), |
| 658 | MTK_FUNCTION(0, "GPIO54"), |
| 659 | MTK_FUNCTION(1, "BPI_OLAT1") |
| 660 | ), |
| 661 | MTK_PIN( |
| 662 | PINCTRL_PIN(55, "GPIO55"), |
| 663 | NULL, "mt8183", |
| 664 | MTK_EINT_FUNCTION(0, 55), |
| 665 | MTK_FUNCTION(0, "GPIO55"), |
| 666 | MTK_FUNCTION(1, "BPI_BUS8") |
| 667 | ), |
| 668 | MTK_PIN( |
| 669 | PINCTRL_PIN(56, "GPIO56"), |
| 670 | NULL, "mt8183", |
| 671 | MTK_EINT_FUNCTION(0, 56), |
| 672 | MTK_FUNCTION(0, "GPIO56"), |
| 673 | MTK_FUNCTION(1, "BPI_BUS9"), |
| 674 | MTK_FUNCTION(2, "SCL_6306") |
| 675 | ), |
| 676 | MTK_PIN( |
| 677 | PINCTRL_PIN(57, "GPIO57"), |
| 678 | NULL, "mt8183", |
| 679 | MTK_EINT_FUNCTION(0, 57), |
| 680 | MTK_FUNCTION(0, "GPIO57"), |
| 681 | MTK_FUNCTION(1, "BPI_BUS10"), |
| 682 | MTK_FUNCTION(2, "SDA_6306") |
| 683 | ), |
| 684 | MTK_PIN( |
| 685 | PINCTRL_PIN(58, "GPIO58"), |
| 686 | NULL, "mt8183", |
| 687 | MTK_EINT_FUNCTION(0, 58), |
| 688 | MTK_FUNCTION(0, "GPIO58"), |
| 689 | MTK_FUNCTION(1, "RFIC0_BSI_D2"), |
| 690 | MTK_FUNCTION(2, "SPM_BSI_D2"), |
| 691 | MTK_FUNCTION(3, "PWM_B") |
| 692 | ), |
| 693 | MTK_PIN( |
| 694 | PINCTRL_PIN(59, "GPIO59"), |
| 695 | NULL, "mt8183", |
| 696 | MTK_EINT_FUNCTION(0, 59), |
| 697 | MTK_FUNCTION(0, "GPIO59"), |
| 698 | MTK_FUNCTION(1, "RFIC0_BSI_D1"), |
| 699 | MTK_FUNCTION(2, "SPM_BSI_D1") |
| 700 | ), |
| 701 | MTK_PIN( |
| 702 | PINCTRL_PIN(60, "GPIO60"), |
| 703 | NULL, "mt8183", |
| 704 | MTK_EINT_FUNCTION(0, 60), |
| 705 | MTK_FUNCTION(0, "GPIO60"), |
| 706 | MTK_FUNCTION(1, "RFIC0_BSI_D0"), |
| 707 | MTK_FUNCTION(2, "SPM_BSI_D0") |
| 708 | ), |
| 709 | MTK_PIN( |
| 710 | PINCTRL_PIN(61, "GPIO61"), |
| 711 | NULL, "mt8183", |
| 712 | MTK_EINT_FUNCTION(0, 61), |
| 713 | MTK_FUNCTION(0, "GPIO61"), |
| 714 | MTK_FUNCTION(1, "MIPI1_SDATA") |
| 715 | ), |
| 716 | MTK_PIN( |
| 717 | PINCTRL_PIN(62, "GPIO62"), |
| 718 | NULL, "mt8183", |
| 719 | MTK_EINT_FUNCTION(0, 62), |
| 720 | MTK_FUNCTION(0, "GPIO62"), |
| 721 | MTK_FUNCTION(1, "MIPI1_SCLK") |
| 722 | ), |
| 723 | MTK_PIN( |
| 724 | PINCTRL_PIN(63, "GPIO63"), |
| 725 | NULL, "mt8183", |
| 726 | MTK_EINT_FUNCTION(0, 63), |
| 727 | MTK_FUNCTION(0, "GPIO63"), |
| 728 | MTK_FUNCTION(1, "MIPI0_SDATA") |
| 729 | ), |
| 730 | MTK_PIN( |
| 731 | PINCTRL_PIN(64, "GPIO64"), |
| 732 | NULL, "mt8183", |
| 733 | MTK_EINT_FUNCTION(0, 64), |
| 734 | MTK_FUNCTION(0, "GPIO64"), |
| 735 | MTK_FUNCTION(1, "MIPI0_SCLK") |
| 736 | ), |
| 737 | MTK_PIN( |
| 738 | PINCTRL_PIN(65, "GPIO65"), |
| 739 | NULL, "mt8183", |
| 740 | MTK_EINT_FUNCTION(0, 65), |
| 741 | MTK_FUNCTION(0, "GPIO65"), |
| 742 | MTK_FUNCTION(1, "MIPI3_SDATA"), |
| 743 | MTK_FUNCTION(2, "BPI_OLAT2") |
| 744 | ), |
| 745 | MTK_PIN( |
| 746 | PINCTRL_PIN(66, "GPIO66"), |
| 747 | NULL, "mt8183", |
| 748 | MTK_EINT_FUNCTION(0, 66), |
| 749 | MTK_FUNCTION(0, "GPIO66"), |
| 750 | MTK_FUNCTION(1, "MIPI3_SCLK"), |
| 751 | MTK_FUNCTION(2, "BPI_OLAT3") |
| 752 | ), |
| 753 | MTK_PIN( |
| 754 | PINCTRL_PIN(67, "GPIO67"), |
| 755 | NULL, "mt8183", |
| 756 | MTK_EINT_FUNCTION(0, 67), |
| 757 | MTK_FUNCTION(0, "GPIO67"), |
| 758 | MTK_FUNCTION(1, "MIPI2_SDATA") |
| 759 | ), |
| 760 | MTK_PIN( |
| 761 | PINCTRL_PIN(68, "GPIO68"), |
| 762 | NULL, "mt8183", |
| 763 | MTK_EINT_FUNCTION(0, 68), |
| 764 | MTK_FUNCTION(0, "GPIO68"), |
| 765 | MTK_FUNCTION(1, "MIPI2_SCLK") |
| 766 | ), |
| 767 | MTK_PIN( |
| 768 | PINCTRL_PIN(69, "GPIO69"), |
| 769 | NULL, "mt8183", |
| 770 | MTK_EINT_FUNCTION(0, 69), |
| 771 | MTK_FUNCTION(0, "GPIO69"), |
| 772 | MTK_FUNCTION(1, "BPI_BUS7") |
| 773 | ), |
| 774 | MTK_PIN( |
| 775 | PINCTRL_PIN(70, "GPIO70"), |
| 776 | NULL, "mt8183", |
| 777 | MTK_EINT_FUNCTION(0, 70), |
| 778 | MTK_FUNCTION(0, "GPIO70"), |
| 779 | MTK_FUNCTION(1, "BPI_BUS6") |
| 780 | ), |
| 781 | MTK_PIN( |
| 782 | PINCTRL_PIN(71, "GPIO71"), |
| 783 | NULL, "mt8183", |
| 784 | MTK_EINT_FUNCTION(0, 71), |
| 785 | MTK_FUNCTION(0, "GPIO71"), |
| 786 | MTK_FUNCTION(1, "BPI_BUS5") |
| 787 | ), |
| 788 | MTK_PIN( |
| 789 | PINCTRL_PIN(72, "GPIO72"), |
| 790 | NULL, "mt8183", |
| 791 | MTK_EINT_FUNCTION(0, 72), |
| 792 | MTK_FUNCTION(0, "GPIO72"), |
| 793 | MTK_FUNCTION(1, "BPI_BUS4") |
| 794 | ), |
| 795 | MTK_PIN( |
| 796 | PINCTRL_PIN(73, "GPIO73"), |
| 797 | NULL, "mt8183", |
| 798 | MTK_EINT_FUNCTION(0, 73), |
| 799 | MTK_FUNCTION(0, "GPIO73"), |
| 800 | MTK_FUNCTION(1, "BPI_BUS3") |
| 801 | ), |
| 802 | MTK_PIN( |
| 803 | PINCTRL_PIN(74, "GPIO74"), |
| 804 | NULL, "mt8183", |
| 805 | MTK_EINT_FUNCTION(0, 74), |
| 806 | MTK_FUNCTION(0, "GPIO74"), |
| 807 | MTK_FUNCTION(1, "BPI_BUS2") |
| 808 | ), |
| 809 | MTK_PIN( |
| 810 | PINCTRL_PIN(75, "GPIO75"), |
| 811 | NULL, "mt8183", |
| 812 | MTK_EINT_FUNCTION(0, 75), |
| 813 | MTK_FUNCTION(0, "GPIO75"), |
| 814 | MTK_FUNCTION(1, "BPI_BUS1") |
| 815 | ), |
| 816 | MTK_PIN( |
| 817 | PINCTRL_PIN(76, "GPIO76"), |
| 818 | NULL, "mt8183", |
| 819 | MTK_EINT_FUNCTION(0, 76), |
| 820 | MTK_FUNCTION(0, "GPIO76"), |
| 821 | MTK_FUNCTION(1, "BPI_BUS0") |
| 822 | ), |
| 823 | MTK_PIN( |
| 824 | PINCTRL_PIN(77, "GPIO77"), |
| 825 | NULL, "mt8183", |
| 826 | MTK_EINT_FUNCTION(0, 77), |
| 827 | MTK_FUNCTION(0, "GPIO77"), |
| 828 | MTK_FUNCTION(1, "BPI_ANT1") |
| 829 | ), |
| 830 | MTK_PIN( |
| 831 | PINCTRL_PIN(78, "GPIO78"), |
| 832 | NULL, "mt8183", |
| 833 | MTK_EINT_FUNCTION(0, 78), |
| 834 | MTK_FUNCTION(0, "GPIO78"), |
| 835 | MTK_FUNCTION(1, "BPI_OLAT0") |
| 836 | ), |
| 837 | MTK_PIN( |
| 838 | PINCTRL_PIN(79, "GPIO79"), |
| 839 | NULL, "mt8183", |
| 840 | MTK_EINT_FUNCTION(0, 79), |
| 841 | MTK_FUNCTION(0, "GPIO79"), |
| 842 | MTK_FUNCTION(1, "BPI_PA_VM1"), |
| 843 | MTK_FUNCTION(2, "MIPI4_SDATA") |
| 844 | ), |
| 845 | MTK_PIN( |
| 846 | PINCTRL_PIN(80, "GPIO80"), |
| 847 | NULL, "mt8183", |
| 848 | MTK_EINT_FUNCTION(0, 80), |
| 849 | MTK_FUNCTION(0, "GPIO80"), |
| 850 | MTK_FUNCTION(1, "BPI_PA_VM0"), |
| 851 | MTK_FUNCTION(2, "MIPI4_SCLK") |
| 852 | ), |
| 853 | MTK_PIN( |
| 854 | PINCTRL_PIN(81, "GPIO81"), |
| 855 | NULL, "mt8183", |
| 856 | MTK_EINT_FUNCTION(0, 81), |
| 857 | MTK_FUNCTION(0, "GPIO81"), |
| 858 | MTK_FUNCTION(1, "SDA1") |
| 859 | ), |
| 860 | MTK_PIN( |
| 861 | PINCTRL_PIN(82, "GPIO82"), |
| 862 | NULL, "mt8183", |
| 863 | MTK_EINT_FUNCTION(0, 82), |
| 864 | MTK_FUNCTION(0, "GPIO82"), |
| 865 | MTK_FUNCTION(1, "SDA0") |
| 866 | ), |
| 867 | MTK_PIN( |
| 868 | PINCTRL_PIN(83, "GPIO83"), |
| 869 | NULL, "mt8183", |
| 870 | MTK_EINT_FUNCTION(0, 83), |
| 871 | MTK_FUNCTION(0, "GPIO83"), |
| 872 | MTK_FUNCTION(1, "SCL0") |
| 873 | ), |
| 874 | MTK_PIN( |
| 875 | PINCTRL_PIN(84, "GPIO84"), |
| 876 | NULL, "mt8183", |
| 877 | MTK_EINT_FUNCTION(0, 84), |
| 878 | MTK_FUNCTION(0, "GPIO84"), |
| 879 | MTK_FUNCTION(1, "SCL1") |
| 880 | ), |
| 881 | MTK_PIN( |
| 882 | PINCTRL_PIN(85, "GPIO85"), |
| 883 | NULL, "mt8183", |
| 884 | MTK_EINT_FUNCTION(0, 85), |
| 885 | MTK_FUNCTION(0, "GPIO85"), |
| 886 | MTK_FUNCTION(1, "SPI0_MI"), |
| 887 | MTK_FUNCTION(2, "SCP_SPI0_MI"), |
| 888 | MTK_FUNCTION(3, "CLKM3"), |
| 889 | MTK_FUNCTION(4, "I2S1_BCK"), |
| 890 | MTK_FUNCTION(5, "MFG_DFD_JTAG_TDO"), |
| 891 | MTK_FUNCTION(6, "DFD_TDO"), |
| 892 | MTK_FUNCTION(7, "JTDO_SEL1") |
| 893 | ), |
| 894 | MTK_PIN( |
| 895 | PINCTRL_PIN(86, "GPIO86"), |
| 896 | NULL, "mt8183", |
| 897 | MTK_EINT_FUNCTION(0, 86), |
| 898 | MTK_FUNCTION(0, "GPIO86"), |
| 899 | MTK_FUNCTION(1, "SPI0_CSB"), |
| 900 | MTK_FUNCTION(2, "SCP_SPI0_CS"), |
| 901 | MTK_FUNCTION(3, "CLKM0"), |
| 902 | MTK_FUNCTION(4, "I2S1_LRCK"), |
| 903 | MTK_FUNCTION(5, "MFG_DFD_JTAG_TMS"), |
| 904 | MTK_FUNCTION(6, "DFD_TMS"), |
| 905 | MTK_FUNCTION(7, "JTMS_SEL1") |
| 906 | ), |
| 907 | MTK_PIN( |
| 908 | PINCTRL_PIN(87, "GPIO87"), |
| 909 | NULL, "mt8183", |
| 910 | MTK_EINT_FUNCTION(0, 87), |
| 911 | MTK_FUNCTION(0, "GPIO87"), |
| 912 | MTK_FUNCTION(1, "SPI0_MO"), |
| 913 | MTK_FUNCTION(2, "SCP_SPI0_MO"), |
| 914 | MTK_FUNCTION(3, "SDA1"), |
| 915 | MTK_FUNCTION(4, "I2S1_DO"), |
| 916 | MTK_FUNCTION(5, "MFG_DFD_JTAG_TDI"), |
| 917 | MTK_FUNCTION(6, "DFD_TDI"), |
| 918 | MTK_FUNCTION(7, "JTDI_SEL1") |
| 919 | ), |
| 920 | MTK_PIN( |
| 921 | PINCTRL_PIN(88, "GPIO88"), |
| 922 | NULL, "mt8183", |
| 923 | MTK_EINT_FUNCTION(0, 88), |
| 924 | MTK_FUNCTION(0, "GPIO88"), |
| 925 | MTK_FUNCTION(1, "SPI0_CLK"), |
| 926 | MTK_FUNCTION(2, "SCP_SPI0_CK"), |
| 927 | MTK_FUNCTION(3, "SCL1"), |
| 928 | MTK_FUNCTION(4, "I2S1_MCK"), |
| 929 | MTK_FUNCTION(5, "MFG_DFD_JTAG_TCK"), |
| 930 | MTK_FUNCTION(6, "DFD_TCK_XI"), |
| 931 | MTK_FUNCTION(7, "JTCK_SEL1") |
| 932 | ), |
| 933 | MTK_PIN( |
| 934 | PINCTRL_PIN(89, "GPIO89"), |
| 935 | NULL, "mt8183", |
| 936 | MTK_EINT_FUNCTION(0, 89), |
| 937 | MTK_FUNCTION(0, "GPIO89"), |
| 938 | MTK_FUNCTION(1, "SRCLKENAI0"), |
| 939 | MTK_FUNCTION(2, "PWM_C"), |
| 940 | MTK_FUNCTION(3, "I2S5_BCK"), |
| 941 | MTK_FUNCTION(4, "ANT_SEL6"), |
| 942 | MTK_FUNCTION(5, "SDA8"), |
| 943 | MTK_FUNCTION(6, "CMVREF0"), |
| 944 | MTK_FUNCTION(7, "DBG_MON_A21") |
| 945 | ), |
| 946 | MTK_PIN( |
| 947 | PINCTRL_PIN(90, "GPIO90"), |
| 948 | NULL, "mt8183", |
| 949 | MTK_EINT_FUNCTION(0, 90), |
| 950 | MTK_FUNCTION(0, "GPIO90"), |
| 951 | MTK_FUNCTION(1, "PWM_A"), |
| 952 | MTK_FUNCTION(2, "CMMCLK2"), |
| 953 | MTK_FUNCTION(3, "I2S5_LRCK"), |
| 954 | MTK_FUNCTION(4, "SCP_VREQ_VAO"), |
| 955 | MTK_FUNCTION(5, "SCL8"), |
| 956 | MTK_FUNCTION(6, "PTA_RXD"), |
| 957 | MTK_FUNCTION(7, "DBG_MON_A22") |
| 958 | ), |
| 959 | MTK_PIN( |
| 960 | PINCTRL_PIN(91, "GPIO91"), |
| 961 | NULL, "mt8183", |
| 962 | MTK_EINT_FUNCTION(0, 91), |
| 963 | MTK_FUNCTION(0, "GPIO91"), |
| 964 | MTK_FUNCTION(1, "KPROW1"), |
| 965 | MTK_FUNCTION(2, "PWM_B"), |
| 966 | MTK_FUNCTION(3, "I2S5_DO"), |
| 967 | MTK_FUNCTION(4, "ANT_SEL7"), |
| 968 | MTK_FUNCTION(5, "CMMCLK3"), |
| 969 | MTK_FUNCTION(6, "PTA_TXD") |
| 970 | ), |
| 971 | MTK_PIN( |
| 972 | PINCTRL_PIN(92, "GPIO92"), |
| 973 | NULL, "mt8183", |
| 974 | MTK_EINT_FUNCTION(0, 92), |
| 975 | MTK_FUNCTION(0, "GPIO92"), |
| 976 | MTK_FUNCTION(1, "KPROW0") |
| 977 | ), |
| 978 | MTK_PIN( |
| 979 | PINCTRL_PIN(93, "GPIO93"), |
| 980 | NULL, "mt8183", |
| 981 | MTK_EINT_FUNCTION(0, 93), |
| 982 | MTK_FUNCTION(0, "GPIO93"), |
| 983 | MTK_FUNCTION(1, "KPCOL0"), |
| 984 | MTK_FUNCTION(7, "DBG_MON_B27") |
| 985 | ), |
| 986 | MTK_PIN( |
| 987 | PINCTRL_PIN(94, "GPIO94"), |
| 988 | NULL, "mt8183", |
| 989 | MTK_EINT_FUNCTION(0, 94), |
| 990 | MTK_FUNCTION(0, "GPIO94"), |
| 991 | MTK_FUNCTION(1, "KPCOL1"), |
| 992 | MTK_FUNCTION(2, "I2S2_DI2"), |
| 993 | MTK_FUNCTION(3, "I2S5_MCK"), |
| 994 | MTK_FUNCTION(4, "CMMCLK2"), |
| 995 | MTK_FUNCTION(5, "SCP_SPI2_MI"), |
| 996 | MTK_FUNCTION(6, "SRCLKENAI1"), |
| 997 | MTK_FUNCTION(7, "SPI2_MI") |
| 998 | ), |
| 999 | MTK_PIN( |
| 1000 | PINCTRL_PIN(95, "GPIO95"), |
| 1001 | NULL, "mt8183", |
| 1002 | MTK_EINT_FUNCTION(0, 95), |
| 1003 | MTK_FUNCTION(0, "GPIO95"), |
| 1004 | MTK_FUNCTION(1, "URXD0"), |
| 1005 | MTK_FUNCTION(2, "UTXD0"), |
| 1006 | MTK_FUNCTION(3, "MD_URXD0"), |
| 1007 | MTK_FUNCTION(4, "MD_URXD1"), |
| 1008 | MTK_FUNCTION(5, "SSPM_URXD_AO"), |
| 1009 | MTK_FUNCTION(6, "CCU_URXD_AO") |
| 1010 | ), |
| 1011 | MTK_PIN( |
| 1012 | PINCTRL_PIN(96, "GPIO96"), |
| 1013 | NULL, "mt8183", |
| 1014 | MTK_EINT_FUNCTION(0, 96), |
| 1015 | MTK_FUNCTION(0, "GPIO96"), |
| 1016 | MTK_FUNCTION(1, "UTXD0"), |
| 1017 | MTK_FUNCTION(2, "URXD0"), |
| 1018 | MTK_FUNCTION(3, "MD_UTXD0"), |
| 1019 | MTK_FUNCTION(4, "MD_UTXD1"), |
| 1020 | MTK_FUNCTION(5, "SSPM_UTXD_AO"), |
| 1021 | MTK_FUNCTION(6, "CCU_UTXD_AO"), |
| 1022 | MTK_FUNCTION(7, "DBG_MON_B2") |
| 1023 | ), |
| 1024 | MTK_PIN( |
| 1025 | PINCTRL_PIN(97, "GPIO97"), |
| 1026 | NULL, "mt8183", |
| 1027 | MTK_EINT_FUNCTION(0, 97), |
| 1028 | MTK_FUNCTION(0, "GPIO97"), |
| 1029 | MTK_FUNCTION(1, "UCTS0"), |
| 1030 | MTK_FUNCTION(2, "I2S2_MCK"), |
| 1031 | MTK_FUNCTION(3, "IDDIG"), |
| 1032 | MTK_FUNCTION(4, "CONN_MCU_TDO"), |
| 1033 | MTK_FUNCTION(5, "SSPM_JTAG_TDO"), |
| 1034 | MTK_FUNCTION(6, "IO_JTAG_TDO"), |
| 1035 | MTK_FUNCTION(7, "DBG_MON_B3") |
| 1036 | ), |
| 1037 | MTK_PIN( |
| 1038 | PINCTRL_PIN(98, "GPIO98"), |
| 1039 | NULL, "mt8183", |
| 1040 | MTK_EINT_FUNCTION(0, 98), |
| 1041 | MTK_FUNCTION(0, "GPIO98"), |
| 1042 | MTK_FUNCTION(1, "URTS0"), |
| 1043 | MTK_FUNCTION(2, "I2S2_BCK"), |
| 1044 | MTK_FUNCTION(3, "USB_DRVVBUS"), |
| 1045 | MTK_FUNCTION(4, "CONN_MCU_TMS"), |
| 1046 | MTK_FUNCTION(5, "SSPM_JTAG_TMS"), |
| 1047 | MTK_FUNCTION(6, "IO_JTAG_TMS"), |
| 1048 | MTK_FUNCTION(7, "DBG_MON_B4") |
| 1049 | ), |
| 1050 | MTK_PIN( |
| 1051 | PINCTRL_PIN(99, "GPIO99"), |
| 1052 | NULL, "mt8183", |
| 1053 | MTK_EINT_FUNCTION(0, 99), |
| 1054 | MTK_FUNCTION(0, "GPIO99"), |
| 1055 | MTK_FUNCTION(1, "CMMCLK0"), |
| 1056 | MTK_FUNCTION(4, "CONN_MCU_AICE_TMSC"), |
| 1057 | MTK_FUNCTION(7, "DBG_MON_B28") |
| 1058 | ), |
| 1059 | MTK_PIN( |
| 1060 | PINCTRL_PIN(100, "GPIO100"), |
| 1061 | NULL, "mt8183", |
| 1062 | MTK_EINT_FUNCTION(0, 100), |
| 1063 | MTK_FUNCTION(0, "GPIO100"), |
| 1064 | MTK_FUNCTION(1, "CMMCLK1"), |
| 1065 | MTK_FUNCTION(2, "PWM_C"), |
| 1066 | MTK_FUNCTION(3, "MD_INT1_C2K_UIM0_HOT_PLUG"), |
| 1067 | MTK_FUNCTION(4, "CONN_MCU_AICE_TCKC"), |
| 1068 | MTK_FUNCTION(7, "DBG_MON_B29") |
| 1069 | ), |
| 1070 | MTK_PIN( |
| 1071 | PINCTRL_PIN(101, "GPIO101"), |
| 1072 | NULL, "mt8183", |
| 1073 | MTK_EINT_FUNCTION(0, 101), |
| 1074 | MTK_FUNCTION(0, "GPIO101"), |
| 1075 | MTK_FUNCTION(1, "CLKM2"), |
| 1076 | MTK_FUNCTION(2, "I2S2_LRCK"), |
| 1077 | MTK_FUNCTION(3, "CMVREF1"), |
| 1078 | MTK_FUNCTION(4, "CONN_MCU_TCK"), |
| 1079 | MTK_FUNCTION(5, "SSPM_JTAG_TCK"), |
| 1080 | MTK_FUNCTION(6, "IO_JTAG_TCK") |
| 1081 | ), |
| 1082 | MTK_PIN( |
| 1083 | PINCTRL_PIN(102, "GPIO102"), |
| 1084 | NULL, "mt8183", |
| 1085 | MTK_EINT_FUNCTION(0, 102), |
| 1086 | MTK_FUNCTION(0, "GPIO102"), |
| 1087 | MTK_FUNCTION(1, "CLKM1"), |
| 1088 | MTK_FUNCTION(2, "I2S2_DI"), |
| 1089 | MTK_FUNCTION(3, "DVFSRC_EXT_REQ"), |
| 1090 | MTK_FUNCTION(4, "CONN_MCU_TDI"), |
| 1091 | MTK_FUNCTION(5, "SSPM_JTAG_TDI"), |
| 1092 | MTK_FUNCTION(6, "IO_JTAG_TDI"), |
| 1093 | MTK_FUNCTION(7, "DBG_MON_B8") |
| 1094 | ), |
| 1095 | MTK_PIN( |
| 1096 | PINCTRL_PIN(103, "GPIO103"), |
| 1097 | NULL, "mt8183", |
| 1098 | MTK_EINT_FUNCTION(0, 103), |
| 1099 | MTK_FUNCTION(0, "GPIO103"), |
| 1100 | MTK_FUNCTION(1, "SCL2") |
| 1101 | ), |
| 1102 | MTK_PIN( |
| 1103 | PINCTRL_PIN(104, "GPIO104"), |
| 1104 | NULL, "mt8183", |
| 1105 | MTK_EINT_FUNCTION(0, 104), |
| 1106 | MTK_FUNCTION(0, "GPIO104"), |
| 1107 | MTK_FUNCTION(1, "SDA2") |
| 1108 | ), |
| 1109 | MTK_PIN( |
| 1110 | PINCTRL_PIN(105, "GPIO105"), |
| 1111 | NULL, "mt8183", |
| 1112 | MTK_EINT_FUNCTION(0, 105), |
| 1113 | MTK_FUNCTION(0, "GPIO105"), |
| 1114 | MTK_FUNCTION(1, "SCL4") |
| 1115 | ), |
| 1116 | MTK_PIN( |
| 1117 | PINCTRL_PIN(106, "GPIO106"), |
| 1118 | NULL, "mt8183", |
| 1119 | MTK_EINT_FUNCTION(0, 106), |
| 1120 | MTK_FUNCTION(0, "GPIO106"), |
| 1121 | MTK_FUNCTION(1, "SDA4") |
| 1122 | ), |
| 1123 | MTK_PIN( |
| 1124 | PINCTRL_PIN(107, "GPIO107"), |
| 1125 | NULL, "mt8183", |
| 1126 | MTK_EINT_FUNCTION(0, 107), |
| 1127 | MTK_FUNCTION(0, "GPIO107"), |
| 1128 | MTK_FUNCTION(1, "DMIC_CLK"), |
| 1129 | MTK_FUNCTION(2, "ANT_SEL0"), |
| 1130 | MTK_FUNCTION(3, "CLKM0"), |
| 1131 | MTK_FUNCTION(4, "SDA7"), |
| 1132 | MTK_FUNCTION(5, "EXT_FRAME_SYNC"), |
| 1133 | MTK_FUNCTION(6, "PWM_A"), |
| 1134 | MTK_FUNCTION(7, "DBG_MON_B12") |
| 1135 | ), |
| 1136 | MTK_PIN( |
| 1137 | PINCTRL_PIN(108, "GPIO108"), |
| 1138 | NULL, "mt8183", |
| 1139 | MTK_EINT_FUNCTION(0, 108), |
| 1140 | MTK_FUNCTION(0, "GPIO108"), |
| 1141 | MTK_FUNCTION(1, "CMMCLK2"), |
| 1142 | MTK_FUNCTION(2, "ANT_SEL1"), |
| 1143 | MTK_FUNCTION(3, "CLKM1"), |
| 1144 | MTK_FUNCTION(4, "SCL8"), |
| 1145 | MTK_FUNCTION(5, "DAP_MD32_SWD"), |
| 1146 | MTK_FUNCTION(6, "PWM_B"), |
| 1147 | MTK_FUNCTION(7, "DBG_MON_B13") |
| 1148 | ), |
| 1149 | MTK_PIN( |
| 1150 | PINCTRL_PIN(109, "GPIO109"), |
| 1151 | NULL, "mt8183", |
| 1152 | MTK_EINT_FUNCTION(0, 109), |
| 1153 | MTK_FUNCTION(0, "GPIO109"), |
| 1154 | MTK_FUNCTION(1, "DMIC_DAT"), |
| 1155 | MTK_FUNCTION(2, "ANT_SEL2"), |
| 1156 | MTK_FUNCTION(3, "CLKM2"), |
| 1157 | MTK_FUNCTION(4, "SDA8"), |
| 1158 | MTK_FUNCTION(5, "DAP_MD32_SWCK"), |
| 1159 | MTK_FUNCTION(6, "PWM_C"), |
| 1160 | MTK_FUNCTION(7, "DBG_MON_B14") |
| 1161 | ), |
| 1162 | MTK_PIN( |
| 1163 | PINCTRL_PIN(110, "GPIO110"), |
| 1164 | NULL, "mt8183", |
| 1165 | MTK_EINT_FUNCTION(0, 110), |
| 1166 | MTK_FUNCTION(0, "GPIO110"), |
| 1167 | MTK_FUNCTION(1, "SCL7"), |
| 1168 | MTK_FUNCTION(2, "ANT_SEL0"), |
| 1169 | MTK_FUNCTION(3, "TP_URXD1_AO"), |
| 1170 | MTK_FUNCTION(4, "USB_DRVVBUS"), |
| 1171 | MTK_FUNCTION(5, "SRCLKENAI1"), |
| 1172 | MTK_FUNCTION(6, "KPCOL2"), |
| 1173 | MTK_FUNCTION(7, "URXD1") |
| 1174 | ), |
| 1175 | MTK_PIN( |
| 1176 | PINCTRL_PIN(111, "GPIO111"), |
| 1177 | NULL, "mt8183", |
| 1178 | MTK_EINT_FUNCTION(0, 111), |
| 1179 | MTK_FUNCTION(0, "GPIO111"), |
| 1180 | MTK_FUNCTION(1, "CMMCLK3"), |
| 1181 | MTK_FUNCTION(2, "ANT_SEL1"), |
| 1182 | MTK_FUNCTION(3, "SRCLKENAI0"), |
| 1183 | MTK_FUNCTION(4, "SCP_VREQ_VAO"), |
| 1184 | MTK_FUNCTION(5, "MD_INT2_C2K_UIM1_HOT_PLUG"), |
| 1185 | MTK_FUNCTION(7, "DVFSRC_EXT_REQ") |
| 1186 | ), |
| 1187 | MTK_PIN( |
| 1188 | PINCTRL_PIN(112, "GPIO112"), |
| 1189 | NULL, "mt8183", |
| 1190 | MTK_EINT_FUNCTION(0, 112), |
| 1191 | MTK_FUNCTION(0, "GPIO112"), |
| 1192 | MTK_FUNCTION(1, "SDA7"), |
| 1193 | MTK_FUNCTION(2, "ANT_SEL2"), |
| 1194 | MTK_FUNCTION(3, "TP_UTXD1_AO"), |
| 1195 | MTK_FUNCTION(4, "IDDIG"), |
| 1196 | MTK_FUNCTION(5, "AGPS_SYNC"), |
| 1197 | MTK_FUNCTION(6, "KPROW2"), |
| 1198 | MTK_FUNCTION(7, "UTXD1") |
| 1199 | ), |
| 1200 | MTK_PIN( |
| 1201 | PINCTRL_PIN(113, "GPIO113"), |
| 1202 | NULL, "mt8183", |
| 1203 | MTK_EINT_FUNCTION(0, 113), |
| 1204 | MTK_FUNCTION(0, "GPIO113"), |
| 1205 | MTK_FUNCTION(1, "CONN_TOP_CLK"), |
| 1206 | MTK_FUNCTION(3, "SCL6"), |
| 1207 | MTK_FUNCTION(4, "AUXIF_CLK0"), |
| 1208 | MTK_FUNCTION(6, "TP_UCTS1_AO") |
| 1209 | ), |
| 1210 | MTK_PIN( |
| 1211 | PINCTRL_PIN(114, "GPIO114"), |
| 1212 | NULL, "mt8183", |
| 1213 | MTK_EINT_FUNCTION(0, 114), |
| 1214 | MTK_FUNCTION(0, "GPIO114"), |
| 1215 | MTK_FUNCTION(1, "CONN_TOP_DATA"), |
| 1216 | MTK_FUNCTION(3, "SDA6"), |
| 1217 | MTK_FUNCTION(4, "AUXIF_ST0"), |
| 1218 | MTK_FUNCTION(6, "TP_URTS1_AO") |
| 1219 | ), |
| 1220 | MTK_PIN( |
| 1221 | PINCTRL_PIN(115, "GPIO115"), |
| 1222 | NULL, "mt8183", |
| 1223 | MTK_EINT_FUNCTION(0, 115), |
| 1224 | MTK_FUNCTION(0, "GPIO115"), |
| 1225 | MTK_FUNCTION(1, "CONN_BT_CLK"), |
| 1226 | MTK_FUNCTION(2, "UTXD1"), |
| 1227 | MTK_FUNCTION(3, "PTA_TXD"), |
| 1228 | MTK_FUNCTION(4, "AUXIF_CLK1"), |
| 1229 | MTK_FUNCTION(5, "DAP_MD32_SWD"), |
| 1230 | MTK_FUNCTION(6, "TP_UTXD1_AO") |
| 1231 | ), |
| 1232 | MTK_PIN( |
| 1233 | PINCTRL_PIN(116, "GPIO116"), |
| 1234 | NULL, "mt8183", |
| 1235 | MTK_EINT_FUNCTION(0, 116), |
| 1236 | MTK_FUNCTION(0, "GPIO116"), |
| 1237 | MTK_FUNCTION(1, "CONN_BT_DATA"), |
| 1238 | MTK_FUNCTION(2, "IPU_JTAG_TRST"), |
| 1239 | MTK_FUNCTION(4, "AUXIF_ST1"), |
| 1240 | MTK_FUNCTION(5, "DAP_MD32_SWCK"), |
| 1241 | MTK_FUNCTION(6, "TP_URXD2_AO"), |
| 1242 | MTK_FUNCTION(7, "DBG_MON_A0") |
| 1243 | ), |
| 1244 | MTK_PIN( |
| 1245 | PINCTRL_PIN(117, "GPIO117"), |
| 1246 | NULL, "mt8183", |
| 1247 | MTK_EINT_FUNCTION(0, 117), |
| 1248 | MTK_FUNCTION(0, "GPIO117"), |
| 1249 | MTK_FUNCTION(1, "CONN_WF_HB0"), |
| 1250 | MTK_FUNCTION(2, "IPU_JTAG_TDO"), |
| 1251 | MTK_FUNCTION(6, "TP_UTXD2_AO"), |
| 1252 | MTK_FUNCTION(7, "DBG_MON_A4") |
| 1253 | ), |
| 1254 | MTK_PIN( |
| 1255 | PINCTRL_PIN(118, "GPIO118"), |
| 1256 | NULL, "mt8183", |
| 1257 | MTK_EINT_FUNCTION(0, 118), |
| 1258 | MTK_FUNCTION(0, "GPIO118"), |
| 1259 | MTK_FUNCTION(1, "CONN_WF_HB1"), |
| 1260 | MTK_FUNCTION(2, "IPU_JTAG_TDI"), |
| 1261 | MTK_FUNCTION(5, "SSPM_URXD_AO"), |
| 1262 | MTK_FUNCTION(6, "TP_UCTS2_AO"), |
| 1263 | MTK_FUNCTION(7, "DBG_MON_A5") |
| 1264 | ), |
| 1265 | MTK_PIN( |
| 1266 | PINCTRL_PIN(119, "GPIO119"), |
| 1267 | NULL, "mt8183", |
| 1268 | MTK_EINT_FUNCTION(0, 119), |
| 1269 | MTK_FUNCTION(0, "GPIO119"), |
| 1270 | MTK_FUNCTION(1, "CONN_WF_HB2"), |
| 1271 | MTK_FUNCTION(2, "IPU_JTAG_TCK"), |
| 1272 | MTK_FUNCTION(5, "SSPM_UTXD_AO"), |
| 1273 | MTK_FUNCTION(6, "TP_URTS2_AO") |
| 1274 | ), |
| 1275 | MTK_PIN( |
| 1276 | PINCTRL_PIN(120, "GPIO120"), |
| 1277 | NULL, "mt8183", |
| 1278 | MTK_EINT_FUNCTION(0, 120), |
| 1279 | MTK_FUNCTION(0, "GPIO120"), |
| 1280 | MTK_FUNCTION(1, "CONN_WB_PTA"), |
| 1281 | MTK_FUNCTION(2, "IPU_JTAG_TMS"), |
| 1282 | MTK_FUNCTION(5, "CCU_URXD_AO") |
| 1283 | ), |
| 1284 | MTK_PIN( |
| 1285 | PINCTRL_PIN(121, "GPIO121"), |
| 1286 | NULL, "mt8183", |
| 1287 | MTK_EINT_FUNCTION(0, 121), |
| 1288 | MTK_FUNCTION(0, "GPIO121"), |
| 1289 | MTK_FUNCTION(1, "CONN_HRST_B"), |
| 1290 | MTK_FUNCTION(2, "URXD1"), |
| 1291 | MTK_FUNCTION(3, "PTA_RXD"), |
| 1292 | MTK_FUNCTION(5, "CCU_UTXD_AO"), |
| 1293 | MTK_FUNCTION(6, "TP_URXD1_AO") |
| 1294 | ), |
| 1295 | MTK_PIN( |
| 1296 | PINCTRL_PIN(122, "GPIO122"), |
| 1297 | NULL, "mt8183", |
| 1298 | MTK_EINT_FUNCTION(0, 122), |
| 1299 | MTK_FUNCTION(0, "GPIO122"), |
| 1300 | MTK_FUNCTION(1, "MSDC0_CMD"), |
| 1301 | MTK_FUNCTION(2, "SSPM_URXD2_AO"), |
| 1302 | MTK_FUNCTION(3, "ANT_SEL1"), |
| 1303 | MTK_FUNCTION(7, "DBG_MON_A12") |
| 1304 | ), |
| 1305 | MTK_PIN( |
| 1306 | PINCTRL_PIN(123, "GPIO123"), |
| 1307 | NULL, "mt8183", |
| 1308 | MTK_EINT_FUNCTION(0, 123), |
| 1309 | MTK_FUNCTION(0, "GPIO123"), |
| 1310 | MTK_FUNCTION(1, "MSDC0_DAT0"), |
| 1311 | MTK_FUNCTION(3, "ANT_SEL0"), |
| 1312 | MTK_FUNCTION(7, "DBG_MON_A13") |
| 1313 | ), |
| 1314 | MTK_PIN( |
| 1315 | PINCTRL_PIN(124, "GPIO124"), |
| 1316 | NULL, "mt8183", |
| 1317 | MTK_EINT_FUNCTION(0, 124), |
| 1318 | MTK_FUNCTION(0, "GPIO124"), |
| 1319 | MTK_FUNCTION(1, "MSDC0_CLK"), |
| 1320 | MTK_FUNCTION(7, "DBG_MON_A14") |
| 1321 | ), |
| 1322 | MTK_PIN( |
| 1323 | PINCTRL_PIN(125, "GPIO125"), |
| 1324 | NULL, "mt8183", |
| 1325 | MTK_EINT_FUNCTION(0, 125), |
| 1326 | MTK_FUNCTION(0, "GPIO125"), |
| 1327 | MTK_FUNCTION(1, "MSDC0_DAT2"), |
| 1328 | MTK_FUNCTION(3, "MRG_CLK"), |
| 1329 | MTK_FUNCTION(7, "DBG_MON_A15") |
| 1330 | ), |
| 1331 | MTK_PIN( |
| 1332 | PINCTRL_PIN(126, "GPIO126"), |
| 1333 | NULL, "mt8183", |
| 1334 | MTK_EINT_FUNCTION(0, 126), |
| 1335 | MTK_FUNCTION(0, "GPIO126"), |
| 1336 | MTK_FUNCTION(1, "MSDC0_DAT4"), |
| 1337 | MTK_FUNCTION(3, "ANT_SEL5"), |
| 1338 | MTK_FUNCTION(6, "UFS_MPHY_SCL"), |
| 1339 | MTK_FUNCTION(7, "DBG_MON_A16") |
| 1340 | ), |
| 1341 | MTK_PIN( |
| 1342 | PINCTRL_PIN(127, "GPIO127"), |
| 1343 | NULL, "mt8183", |
| 1344 | MTK_EINT_FUNCTION(0, 127), |
| 1345 | MTK_FUNCTION(0, "GPIO127"), |
| 1346 | MTK_FUNCTION(1, "MSDC0_DAT6"), |
| 1347 | MTK_FUNCTION(3, "ANT_SEL4"), |
| 1348 | MTK_FUNCTION(6, "UFS_MPHY_SDA"), |
| 1349 | MTK_FUNCTION(7, "DBG_MON_A17") |
| 1350 | ), |
| 1351 | MTK_PIN( |
| 1352 | PINCTRL_PIN(128, "GPIO128"), |
| 1353 | NULL, "mt8183", |
| 1354 | MTK_EINT_FUNCTION(0, 128), |
| 1355 | MTK_FUNCTION(0, "GPIO128"), |
| 1356 | MTK_FUNCTION(1, "MSDC0_DAT1"), |
| 1357 | MTK_FUNCTION(3, "ANT_SEL2"), |
| 1358 | MTK_FUNCTION(6, "UFS_UNIPRO_SDA"), |
| 1359 | MTK_FUNCTION(7, "DBG_MON_A18") |
| 1360 | ), |
| 1361 | MTK_PIN( |
| 1362 | PINCTRL_PIN(129, "GPIO129"), |
| 1363 | NULL, "mt8183", |
| 1364 | MTK_EINT_FUNCTION(0, 129), |
| 1365 | MTK_FUNCTION(0, "GPIO129"), |
| 1366 | MTK_FUNCTION(1, "MSDC0_DAT5"), |
| 1367 | MTK_FUNCTION(3, "ANT_SEL3"), |
| 1368 | MTK_FUNCTION(6, "UFS_UNIPRO_SCL"), |
| 1369 | MTK_FUNCTION(7, "DBG_MON_A23") |
| 1370 | ), |
| 1371 | MTK_PIN( |
| 1372 | PINCTRL_PIN(130, "GPIO130"), |
| 1373 | NULL, "mt8183", |
| 1374 | MTK_EINT_FUNCTION(0, 130), |
| 1375 | MTK_FUNCTION(0, "GPIO130"), |
| 1376 | MTK_FUNCTION(1, "MSDC0_DAT7"), |
| 1377 | MTK_FUNCTION(3, "MRG_DO"), |
| 1378 | MTK_FUNCTION(7, "DBG_MON_A24") |
| 1379 | ), |
| 1380 | MTK_PIN( |
| 1381 | PINCTRL_PIN(131, "GPIO131"), |
| 1382 | NULL, "mt8183", |
| 1383 | MTK_EINT_FUNCTION(0, 131), |
| 1384 | MTK_FUNCTION(0, "GPIO131"), |
| 1385 | MTK_FUNCTION(1, "MSDC0_DSL"), |
| 1386 | MTK_FUNCTION(3, "MRG_SYNC"), |
| 1387 | MTK_FUNCTION(7, "DBG_MON_A25") |
| 1388 | ), |
| 1389 | MTK_PIN( |
| 1390 | PINCTRL_PIN(132, "GPIO132"), |
| 1391 | NULL, "mt8183", |
| 1392 | MTK_EINT_FUNCTION(0, 132), |
| 1393 | MTK_FUNCTION(0, "GPIO132"), |
| 1394 | MTK_FUNCTION(1, "MSDC0_DAT3"), |
| 1395 | MTK_FUNCTION(3, "MRG_DI"), |
| 1396 | MTK_FUNCTION(7, "DBG_MON_A26") |
| 1397 | ), |
| 1398 | MTK_PIN( |
| 1399 | PINCTRL_PIN(133, "GPIO133"), |
| 1400 | NULL, "mt8183", |
| 1401 | MTK_EINT_FUNCTION(0, 133), |
| 1402 | MTK_FUNCTION(0, "GPIO133"), |
| 1403 | MTK_FUNCTION(1, "MSDC0_RSTB"), |
| 1404 | MTK_FUNCTION(3, "AGPS_SYNC"), |
| 1405 | MTK_FUNCTION(7, "DBG_MON_A27") |
| 1406 | ), |
| 1407 | MTK_PIN( |
| 1408 | PINCTRL_PIN(134, "GPIO134"), |
| 1409 | NULL, "mt8183", |
| 1410 | MTK_EINT_FUNCTION(0, 134), |
| 1411 | MTK_FUNCTION(0, "GPIO134"), |
| 1412 | MTK_FUNCTION(1, "RTC32K_CK") |
| 1413 | ), |
| 1414 | MTK_PIN( |
| 1415 | PINCTRL_PIN(135, "GPIO135"), |
| 1416 | NULL, "mt8183", |
| 1417 | MTK_EINT_FUNCTION(0, 135), |
| 1418 | MTK_FUNCTION(0, "GPIO135"), |
| 1419 | MTK_FUNCTION(1, "WATCHDOG") |
| 1420 | ), |
| 1421 | MTK_PIN( |
| 1422 | PINCTRL_PIN(136, "GPIO136"), |
| 1423 | NULL, "mt8183", |
| 1424 | MTK_EINT_FUNCTION(0, 136), |
| 1425 | MTK_FUNCTION(0, "GPIO136"), |
| 1426 | MTK_FUNCTION(1, "AUD_CLK_MOSI"), |
| 1427 | MTK_FUNCTION(2, "AUD_CLK_MISO"), |
| 1428 | MTK_FUNCTION(3, "I2S1_MCK"), |
| 1429 | MTK_FUNCTION(6, "UFS_UNIPRO_SCL") |
| 1430 | ), |
| 1431 | MTK_PIN( |
| 1432 | PINCTRL_PIN(137, "GPIO137"), |
| 1433 | NULL, "mt8183", |
| 1434 | MTK_EINT_FUNCTION(0, 137), |
| 1435 | MTK_FUNCTION(0, "GPIO137"), |
| 1436 | MTK_FUNCTION(1, "AUD_SYNC_MOSI"), |
| 1437 | MTK_FUNCTION(2, "AUD_SYNC_MISO"), |
| 1438 | MTK_FUNCTION(3, "I2S1_BCK") |
| 1439 | ), |
| 1440 | MTK_PIN( |
| 1441 | PINCTRL_PIN(138, "GPIO138"), |
| 1442 | NULL, "mt8183", |
| 1443 | MTK_EINT_FUNCTION(0, 138), |
| 1444 | MTK_FUNCTION(0, "GPIO138"), |
| 1445 | MTK_FUNCTION(1, "AUD_DAT_MOSI0"), |
| 1446 | MTK_FUNCTION(2, "AUD_DAT_MISO0"), |
| 1447 | MTK_FUNCTION(3, "I2S1_LRCK"), |
| 1448 | MTK_FUNCTION(7, "DBG_MON_B24") |
| 1449 | ), |
| 1450 | MTK_PIN( |
| 1451 | PINCTRL_PIN(139, "GPIO139"), |
| 1452 | NULL, "mt8183", |
| 1453 | MTK_EINT_FUNCTION(0, 139), |
| 1454 | MTK_FUNCTION(0, "GPIO139"), |
| 1455 | MTK_FUNCTION(1, "AUD_DAT_MOSI1"), |
| 1456 | MTK_FUNCTION(2, "AUD_DAT_MISO1"), |
| 1457 | MTK_FUNCTION(3, "I2S1_DO"), |
| 1458 | MTK_FUNCTION(6, "UFS_MPHY_SDA") |
| 1459 | ), |
| 1460 | MTK_PIN( |
| 1461 | PINCTRL_PIN(140, "GPIO140"), |
| 1462 | NULL, "mt8183", |
| 1463 | MTK_EINT_FUNCTION(0, 140), |
| 1464 | MTK_FUNCTION(0, "GPIO140"), |
| 1465 | MTK_FUNCTION(1, "AUD_CLK_MISO"), |
| 1466 | MTK_FUNCTION(2, "AUD_CLK_MOSI"), |
| 1467 | MTK_FUNCTION(3, "I2S0_MCK"), |
| 1468 | MTK_FUNCTION(6, "UFS_UNIPRO_SDA") |
| 1469 | ), |
| 1470 | MTK_PIN( |
| 1471 | PINCTRL_PIN(141, "GPIO141"), |
| 1472 | NULL, "mt8183", |
| 1473 | MTK_EINT_FUNCTION(0, 141), |
| 1474 | MTK_FUNCTION(0, "GPIO141"), |
| 1475 | MTK_FUNCTION(1, "AUD_SYNC_MISO"), |
| 1476 | MTK_FUNCTION(2, "AUD_SYNC_MOSI"), |
| 1477 | MTK_FUNCTION(3, "I2S0_BCK") |
| 1478 | ), |
| 1479 | MTK_PIN( |
| 1480 | PINCTRL_PIN(142, "GPIO142"), |
| 1481 | NULL, "mt8183", |
| 1482 | MTK_EINT_FUNCTION(0, 142), |
| 1483 | MTK_FUNCTION(0, "GPIO142"), |
| 1484 | MTK_FUNCTION(1, "AUD_DAT_MISO0"), |
| 1485 | MTK_FUNCTION(2, "AUD_DAT_MOSI0"), |
| 1486 | MTK_FUNCTION(3, "I2S0_LRCK"), |
| 1487 | MTK_FUNCTION(4, "VOW_DAT_MISO"), |
| 1488 | MTK_FUNCTION(7, "DBG_MON_B25") |
| 1489 | ), |
| 1490 | MTK_PIN( |
| 1491 | PINCTRL_PIN(143, "GPIO143"), |
| 1492 | NULL, "mt8183", |
| 1493 | MTK_EINT_FUNCTION(0, 143), |
| 1494 | MTK_FUNCTION(0, "GPIO143"), |
| 1495 | MTK_FUNCTION(1, "AUD_DAT_MISO1"), |
| 1496 | MTK_FUNCTION(2, "AUD_DAT_MOSI1"), |
| 1497 | MTK_FUNCTION(3, "I2S0_DI"), |
| 1498 | MTK_FUNCTION(4, "VOW_CLK_MISO"), |
| 1499 | MTK_FUNCTION(6, "UFS_MPHY_SCL"), |
| 1500 | MTK_FUNCTION(7, "DBG_MON_B26") |
| 1501 | ), |
| 1502 | MTK_PIN( |
| 1503 | PINCTRL_PIN(144, "GPIO144"), |
| 1504 | NULL, "mt8183", |
| 1505 | MTK_EINT_FUNCTION(0, 144), |
| 1506 | MTK_FUNCTION(0, "GPIO144"), |
| 1507 | MTK_FUNCTION(1, "PWRAP_SPI0_MI"), |
| 1508 | MTK_FUNCTION(2, "PWRAP_SPI0_MO") |
| 1509 | ), |
| 1510 | MTK_PIN( |
| 1511 | PINCTRL_PIN(145, "GPIO145"), |
| 1512 | NULL, "mt8183", |
| 1513 | MTK_EINT_FUNCTION(0, 145), |
| 1514 | MTK_FUNCTION(0, "GPIO145"), |
| 1515 | MTK_FUNCTION(1, "PWRAP_SPI0_CSN") |
| 1516 | ), |
| 1517 | MTK_PIN( |
| 1518 | PINCTRL_PIN(146, "GPIO146"), |
| 1519 | NULL, "mt8183", |
| 1520 | MTK_EINT_FUNCTION(0, 146), |
| 1521 | MTK_FUNCTION(0, "GPIO146"), |
| 1522 | MTK_FUNCTION(1, "PWRAP_SPI0_MO"), |
| 1523 | MTK_FUNCTION(2, "PWRAP_SPI0_MI") |
| 1524 | ), |
| 1525 | MTK_PIN( |
| 1526 | PINCTRL_PIN(147, "GPIO147"), |
| 1527 | NULL, "mt8183", |
| 1528 | MTK_EINT_FUNCTION(0, 147), |
| 1529 | MTK_FUNCTION(0, "GPIO147"), |
| 1530 | MTK_FUNCTION(1, "PWRAP_SPI0_CK") |
| 1531 | ), |
| 1532 | MTK_PIN( |
| 1533 | PINCTRL_PIN(148, "GPIO148"), |
| 1534 | NULL, "mt8183", |
| 1535 | MTK_EINT_FUNCTION(0, 148), |
| 1536 | MTK_FUNCTION(0, "GPIO148"), |
| 1537 | MTK_FUNCTION(1, "SRCLKENA0") |
| 1538 | ), |
| 1539 | MTK_PIN( |
| 1540 | PINCTRL_PIN(149, "GPIO149"), |
| 1541 | NULL, "mt8183", |
| 1542 | MTK_EINT_FUNCTION(0, 149), |
| 1543 | MTK_FUNCTION(0, "GPIO149"), |
| 1544 | MTK_FUNCTION(1, "SRCLKENA1") |
| 1545 | ), |
| 1546 | MTK_PIN( |
| 1547 | PINCTRL_PIN(150, "GPIO150"), |
| 1548 | NULL, "mt8183", |
| 1549 | MTK_EINT_FUNCTION(0, 150), |
| 1550 | MTK_FUNCTION(0, "GPIO150"), |
| 1551 | MTK_FUNCTION(1, "PWM_A"), |
| 1552 | MTK_FUNCTION(2, "CMFLASH"), |
| 1553 | MTK_FUNCTION(3, "CLKM0"), |
| 1554 | MTK_FUNCTION(7, "DBG_MON_B30") |
| 1555 | ), |
| 1556 | MTK_PIN( |
| 1557 | PINCTRL_PIN(151, "GPIO151"), |
| 1558 | NULL, "mt8183", |
| 1559 | MTK_EINT_FUNCTION(0, 151), |
| 1560 | MTK_FUNCTION(0, "GPIO151"), |
| 1561 | MTK_FUNCTION(1, "PWM_B"), |
| 1562 | MTK_FUNCTION(2, "CMVREF0"), |
| 1563 | MTK_FUNCTION(3, "CLKM1"), |
| 1564 | MTK_FUNCTION(7, "DBG_MON_B20") |
| 1565 | ), |
| 1566 | MTK_PIN( |
| 1567 | PINCTRL_PIN(152, "GPIO152"), |
| 1568 | NULL, "mt8183", |
| 1569 | MTK_EINT_FUNCTION(0, 152), |
| 1570 | MTK_FUNCTION(0, "GPIO152"), |
| 1571 | MTK_FUNCTION(1, "PWM_C"), |
| 1572 | MTK_FUNCTION(2, "CMFLASH"), |
| 1573 | MTK_FUNCTION(3, "CLKM2"), |
| 1574 | MTK_FUNCTION(7, "DBG_MON_B21") |
| 1575 | ), |
| 1576 | MTK_PIN( |
| 1577 | PINCTRL_PIN(153, "GPIO153"), |
| 1578 | NULL, "mt8183", |
| 1579 | MTK_EINT_FUNCTION(0, 153), |
| 1580 | MTK_FUNCTION(0, "GPIO153"), |
| 1581 | MTK_FUNCTION(1, "PWM_A"), |
| 1582 | MTK_FUNCTION(2, "CMVREF0"), |
| 1583 | MTK_FUNCTION(3, "CLKM3"), |
| 1584 | MTK_FUNCTION(7, "DBG_MON_B22") |
| 1585 | ), |
| 1586 | MTK_PIN( |
| 1587 | PINCTRL_PIN(154, "GPIO154"), |
| 1588 | NULL, "mt8183", |
| 1589 | MTK_EINT_FUNCTION(0, 154), |
| 1590 | MTK_FUNCTION(0, "GPIO154"), |
| 1591 | MTK_FUNCTION(1, "SCP_VREQ_VAO"), |
| 1592 | MTK_FUNCTION(2, "DVFSRC_EXT_REQ"), |
| 1593 | MTK_FUNCTION(7, "DBG_MON_B18") |
| 1594 | ), |
| 1595 | MTK_PIN( |
| 1596 | PINCTRL_PIN(155, "GPIO155"), |
| 1597 | NULL, "mt8183", |
| 1598 | MTK_EINT_FUNCTION(0, 155), |
| 1599 | MTK_FUNCTION(0, "GPIO155"), |
| 1600 | MTK_FUNCTION(1, "ANT_SEL0"), |
| 1601 | MTK_FUNCTION(2, "DVFSRC_EXT_REQ"), |
| 1602 | MTK_FUNCTION(3, "CMVREF1"), |
| 1603 | MTK_FUNCTION(7, "SCP_JTAG_TDI") |
| 1604 | ), |
| 1605 | MTK_PIN( |
| 1606 | PINCTRL_PIN(156, "GPIO156"), |
| 1607 | NULL, "mt8183", |
| 1608 | MTK_EINT_FUNCTION(0, 156), |
| 1609 | MTK_FUNCTION(0, "GPIO156"), |
| 1610 | MTK_FUNCTION(1, "ANT_SEL1"), |
| 1611 | MTK_FUNCTION(2, "SRCLKENAI0"), |
| 1612 | MTK_FUNCTION(3, "SCL6"), |
| 1613 | MTK_FUNCTION(4, "KPCOL2"), |
| 1614 | MTK_FUNCTION(5, "IDDIG"), |
| 1615 | MTK_FUNCTION(7, "SCP_JTAG_TCK") |
| 1616 | ), |
| 1617 | MTK_PIN( |
| 1618 | PINCTRL_PIN(157, "GPIO157"), |
| 1619 | NULL, "mt8183", |
| 1620 | MTK_EINT_FUNCTION(0, 157), |
| 1621 | MTK_FUNCTION(0, "GPIO157"), |
| 1622 | MTK_FUNCTION(1, "ANT_SEL2"), |
| 1623 | MTK_FUNCTION(2, "SRCLKENAI1"), |
| 1624 | MTK_FUNCTION(3, "SDA6"), |
| 1625 | MTK_FUNCTION(4, "KPROW2"), |
| 1626 | MTK_FUNCTION(5, "USB_DRVVBUS"), |
| 1627 | MTK_FUNCTION(7, "SCP_JTAG_TRSTN") |
| 1628 | ), |
| 1629 | MTK_PIN( |
| 1630 | PINCTRL_PIN(158, "GPIO158"), |
| 1631 | NULL, "mt8183", |
| 1632 | MTK_EINT_FUNCTION(0, 158), |
| 1633 | MTK_FUNCTION(0, "GPIO158"), |
| 1634 | MTK_FUNCTION(1, "ANT_SEL3") |
| 1635 | ), |
| 1636 | MTK_PIN( |
| 1637 | PINCTRL_PIN(159, "GPIO159"), |
| 1638 | NULL, "mt8183", |
| 1639 | MTK_EINT_FUNCTION(0, 159), |
| 1640 | MTK_FUNCTION(0, "GPIO159"), |
| 1641 | MTK_FUNCTION(1, "ANT_SEL4") |
| 1642 | ), |
| 1643 | MTK_PIN( |
| 1644 | PINCTRL_PIN(160, "GPIO160"), |
| 1645 | NULL, "mt8183", |
| 1646 | MTK_EINT_FUNCTION(0, 160), |
| 1647 | MTK_FUNCTION(0, "GPIO160"), |
| 1648 | MTK_FUNCTION(1, "ANT_SEL5") |
| 1649 | ), |
| 1650 | MTK_PIN( |
| 1651 | PINCTRL_PIN(161, "GPIO161"), |
| 1652 | NULL, "mt8183", |
| 1653 | MTK_EINT_FUNCTION(0, 161), |
| 1654 | MTK_FUNCTION(0, "GPIO161"), |
| 1655 | MTK_FUNCTION(1, "SPI1_A_MI"), |
| 1656 | MTK_FUNCTION(2, "SCP_SPI1_MI"), |
| 1657 | MTK_FUNCTION(3, "IDDIG"), |
| 1658 | MTK_FUNCTION(4, "ANT_SEL6"), |
| 1659 | MTK_FUNCTION(5, "KPCOL2"), |
| 1660 | MTK_FUNCTION(6, "PTA_RXD"), |
| 1661 | MTK_FUNCTION(7, "DBG_MON_B19") |
| 1662 | ), |
| 1663 | MTK_PIN( |
| 1664 | PINCTRL_PIN(162, "GPIO162"), |
| 1665 | NULL, "mt8183", |
| 1666 | MTK_EINT_FUNCTION(0, 162), |
| 1667 | MTK_FUNCTION(0, "GPIO162"), |
| 1668 | MTK_FUNCTION(1, "SPI1_A_CSB"), |
| 1669 | MTK_FUNCTION(2, "SCP_SPI1_CS"), |
| 1670 | MTK_FUNCTION(3, "USB_DRVVBUS"), |
| 1671 | MTK_FUNCTION(4, "ANT_SEL5"), |
| 1672 | MTK_FUNCTION(5, "KPROW2"), |
| 1673 | MTK_FUNCTION(6, "PTA_TXD") |
| 1674 | ), |
| 1675 | MTK_PIN( |
| 1676 | PINCTRL_PIN(163, "GPIO163"), |
| 1677 | NULL, "mt8183", |
| 1678 | MTK_EINT_FUNCTION(0, 163), |
| 1679 | MTK_FUNCTION(0, "GPIO163"), |
| 1680 | MTK_FUNCTION(1, "SPI1_A_MO"), |
| 1681 | MTK_FUNCTION(2, "SCP_SPI1_MO"), |
| 1682 | MTK_FUNCTION(3, "SDA1"), |
| 1683 | MTK_FUNCTION(4, "ANT_SEL4"), |
| 1684 | MTK_FUNCTION(5, "CMMCLK2"), |
| 1685 | MTK_FUNCTION(6, "DMIC_CLK") |
| 1686 | ), |
| 1687 | MTK_PIN( |
| 1688 | PINCTRL_PIN(164, "GPIO164"), |
| 1689 | NULL, "mt8183", |
| 1690 | MTK_EINT_FUNCTION(0, 164), |
| 1691 | MTK_FUNCTION(0, "GPIO164"), |
| 1692 | MTK_FUNCTION(1, "SPI1_A_CLK"), |
| 1693 | MTK_FUNCTION(2, "SCP_SPI1_CK"), |
| 1694 | MTK_FUNCTION(3, "SCL1"), |
| 1695 | MTK_FUNCTION(4, "ANT_SEL3"), |
| 1696 | MTK_FUNCTION(5, "CMMCLK3"), |
| 1697 | MTK_FUNCTION(6, "DMIC_DAT") |
| 1698 | ), |
| 1699 | MTK_PIN( |
| 1700 | PINCTRL_PIN(165, "GPIO165"), |
| 1701 | NULL, "mt8183", |
| 1702 | MTK_EINT_FUNCTION(0, 165), |
| 1703 | MTK_FUNCTION(0, "GPIO165"), |
| 1704 | MTK_FUNCTION(1, "PWM_B"), |
| 1705 | MTK_FUNCTION(2, "CMMCLK2"), |
| 1706 | MTK_FUNCTION(3, "SCP_VREQ_VAO"), |
| 1707 | MTK_FUNCTION(6, "TDM_MCK_2ND"), |
| 1708 | MTK_FUNCTION(7, "SCP_JTAG_TDO") |
| 1709 | ), |
| 1710 | MTK_PIN( |
| 1711 | PINCTRL_PIN(166, "GPIO166"), |
| 1712 | NULL, "mt8183", |
| 1713 | MTK_EINT_FUNCTION(0, 166), |
| 1714 | MTK_FUNCTION(0, "GPIO166"), |
| 1715 | MTK_FUNCTION(1, "ANT_SEL6") |
| 1716 | ), |
| 1717 | MTK_PIN( |
| 1718 | PINCTRL_PIN(167, "GPIO167"), |
| 1719 | NULL, "mt8183", |
| 1720 | MTK_EINT_FUNCTION(0, 167), |
| 1721 | MTK_FUNCTION(0, "GPIO167"), |
| 1722 | MTK_FUNCTION(1, "RFIC0_BSI_EN"), |
| 1723 | MTK_FUNCTION(2, "SPM_BSI_EN") |
| 1724 | ), |
| 1725 | MTK_PIN( |
| 1726 | PINCTRL_PIN(168, "GPIO168"), |
| 1727 | NULL, "mt8183", |
| 1728 | MTK_EINT_FUNCTION(0, 168), |
| 1729 | MTK_FUNCTION(0, "GPIO168"), |
| 1730 | MTK_FUNCTION(1, "RFIC0_BSI_CK"), |
| 1731 | MTK_FUNCTION(2, "SPM_BSI_CK") |
| 1732 | ), |
| 1733 | MTK_PIN( |
| 1734 | PINCTRL_PIN(169, "GPIO169"), |
| 1735 | NULL, "mt8183", |
| 1736 | MTK_EINT_FUNCTION(0, 169), |
| 1737 | MTK_FUNCTION(0, "GPIO169"), |
| 1738 | MTK_FUNCTION(1, "PWM_C"), |
| 1739 | MTK_FUNCTION(2, "CMMCLK3"), |
| 1740 | MTK_FUNCTION(3, "CMVREF1"), |
| 1741 | MTK_FUNCTION(4, "ANT_SEL7"), |
| 1742 | MTK_FUNCTION(5, "AGPS_SYNC"), |
| 1743 | MTK_FUNCTION(6, "TDM_BCK_2ND"), |
| 1744 | MTK_FUNCTION(7, "SCP_JTAG_TMS") |
| 1745 | ), |
| 1746 | MTK_PIN( |
| 1747 | PINCTRL_PIN(170, "GPIO170"), |
| 1748 | NULL, "mt8183", |
| 1749 | MTK_EINT_FUNCTION(0, 170), |
| 1750 | MTK_FUNCTION(0, "GPIO170"), |
| 1751 | MTK_FUNCTION(1, "I2S1_BCK"), |
| 1752 | MTK_FUNCTION(2, "I2S3_BCK"), |
| 1753 | MTK_FUNCTION(3, "SCL7"), |
| 1754 | MTK_FUNCTION(4, "I2S5_BCK"), |
| 1755 | MTK_FUNCTION(5, "EXT_FRAME_SYNC"), |
| 1756 | MTK_FUNCTION(6, "TDM_LRCK_2ND"), |
| 1757 | MTK_FUNCTION(7, "ANT_SEL3") |
| 1758 | ), |
| 1759 | MTK_PIN( |
| 1760 | PINCTRL_PIN(171, "GPIO171"), |
| 1761 | NULL, "mt8183", |
| 1762 | MTK_EINT_FUNCTION(0, 184), |
| 1763 | MTK_FUNCTION(0, "GPIO171"), |
| 1764 | MTK_FUNCTION(1, "I2S1_LRCK"), |
| 1765 | MTK_FUNCTION(2, "I2S3_LRCK"), |
| 1766 | MTK_FUNCTION(3, "SDA7"), |
| 1767 | MTK_FUNCTION(4, "I2S5_LRCK"), |
| 1768 | MTK_FUNCTION(5, "URXD1"), |
| 1769 | MTK_FUNCTION(6, "TDM_DATA0_2ND"), |
| 1770 | MTK_FUNCTION(7, "ANT_SEL4") |
| 1771 | ), |
| 1772 | MTK_PIN( |
| 1773 | PINCTRL_PIN(172, "GPIO172"), |
| 1774 | NULL, "mt8183", |
| 1775 | MTK_EINT_FUNCTION(0, 185), |
| 1776 | MTK_FUNCTION(0, "GPIO172"), |
| 1777 | MTK_FUNCTION(1, "I2S1_DO"), |
| 1778 | MTK_FUNCTION(2, "I2S3_DO"), |
| 1779 | MTK_FUNCTION(3, "SCL8"), |
| 1780 | MTK_FUNCTION(4, "I2S5_DO"), |
| 1781 | MTK_FUNCTION(5, "UTXD1"), |
| 1782 | MTK_FUNCTION(6, "TDM_DATA1_2ND"), |
| 1783 | MTK_FUNCTION(7, "ANT_SEL5") |
| 1784 | ), |
| 1785 | MTK_PIN( |
| 1786 | PINCTRL_PIN(173, "GPIO173"), |
| 1787 | NULL, "mt8183", |
| 1788 | MTK_EINT_FUNCTION(0, 186), |
| 1789 | MTK_FUNCTION(0, "GPIO173"), |
| 1790 | MTK_FUNCTION(1, "I2S1_MCK"), |
| 1791 | MTK_FUNCTION(2, "I2S3_MCK"), |
| 1792 | MTK_FUNCTION(3, "SDA8"), |
| 1793 | MTK_FUNCTION(4, "I2S5_MCK"), |
| 1794 | MTK_FUNCTION(5, "UCTS0"), |
| 1795 | MTK_FUNCTION(6, "TDM_DATA2_2ND"), |
| 1796 | MTK_FUNCTION(7, "ANT_SEL6") |
| 1797 | ), |
| 1798 | MTK_PIN( |
| 1799 | PINCTRL_PIN(174, "GPIO174"), |
| 1800 | NULL, "mt8183", |
| 1801 | MTK_EINT_FUNCTION(0, 187), |
| 1802 | MTK_FUNCTION(0, "GPIO174"), |
| 1803 | MTK_FUNCTION(1, "I2S2_DI"), |
| 1804 | MTK_FUNCTION(2, "I2S0_DI"), |
| 1805 | MTK_FUNCTION(3, "DVFSRC_EXT_REQ"), |
| 1806 | MTK_FUNCTION(4, "I2S2_DI2"), |
| 1807 | MTK_FUNCTION(5, "URTS0"), |
| 1808 | MTK_FUNCTION(6, "TDM_DATA3_2ND"), |
| 1809 | MTK_FUNCTION(7, "ANT_SEL7") |
| 1810 | ), |
| 1811 | MTK_PIN( |
| 1812 | PINCTRL_PIN(175, "GPIO175"), |
| 1813 | NULL, "mt8183", |
| 1814 | MTK_EINT_FUNCTION(0, 188), |
| 1815 | MTK_FUNCTION(0, "GPIO175"), |
| 1816 | MTK_FUNCTION(1, "ANT_SEL7") |
| 1817 | ), |
| 1818 | MTK_PIN( |
| 1819 | PINCTRL_PIN(176, "GPIO176"), |
| 1820 | NULL, "mt8183", |
| 1821 | MTK_EINT_FUNCTION(0, 189), |
| 1822 | MTK_FUNCTION(0, "GPIO176") |
| 1823 | ), |
| 1824 | MTK_PIN( |
| 1825 | PINCTRL_PIN(177, "GPIO177"), |
| 1826 | NULL, "mt8183", |
| 1827 | MTK_EINT_FUNCTION(0, 190), |
| 1828 | MTK_FUNCTION(0, "GPIO177") |
| 1829 | ), |
| 1830 | MTK_PIN( |
| 1831 | PINCTRL_PIN(178, "GPIO178"), |
| 1832 | NULL, "mt8183", |
| 1833 | MTK_EINT_FUNCTION(0, 191), |
| 1834 | MTK_FUNCTION(0, "GPIO178") |
| 1835 | ), |
| 1836 | MTK_PIN( |
| 1837 | PINCTRL_PIN(179, "GPIO179"), |
| 1838 | NULL, "mt8183", |
| 1839 | MTK_EINT_FUNCTION(0, 192), |
| 1840 | MTK_FUNCTION(0, "GPIO179") |
| 1841 | ), |
| 1842 | MTK_PIN( |
| 1843 | PINCTRL_PIN(180, "GPIO180"), |
| 1844 | NULL, "mt8183", |
| 1845 | MTK_EINT_FUNCTION(0, 171), |
| 1846 | MTK_FUNCTION(0, "GPIO180") |
| 1847 | ), |
| 1848 | MTK_PIN( |
| 1849 | PINCTRL_PIN(181, "GPIO181"), |
| 1850 | NULL, "mt8183", |
| 1851 | MTK_EINT_FUNCTION(0, 172), |
| 1852 | MTK_FUNCTION(0, "GPIO181") |
| 1853 | ), |
| 1854 | MTK_PIN( |
| 1855 | PINCTRL_PIN(182, "GPIO182"), |
| 1856 | NULL, "mt8183", |
| 1857 | MTK_EINT_FUNCTION(0, 173), |
| 1858 | MTK_FUNCTION(0, "GPIO182") |
| 1859 | ), |
| 1860 | MTK_PIN( |
| 1861 | PINCTRL_PIN(183, "GPIO183"), |
| 1862 | NULL, "mt8183", |
| 1863 | MTK_EINT_FUNCTION(0, 174), |
| 1864 | MTK_FUNCTION(0, "GPIO183") |
| 1865 | ), |
| 1866 | MTK_PIN( |
| 1867 | PINCTRL_PIN(184, "GPIO184"), |
| 1868 | NULL, "mt8183", |
| 1869 | MTK_EINT_FUNCTION(0, 175), |
| 1870 | MTK_FUNCTION(0, "GPIO184") |
| 1871 | ), |
| 1872 | MTK_PIN( |
| 1873 | PINCTRL_PIN(185, "GPIO185"), |
| 1874 | NULL, "mt8183", |
| 1875 | MTK_EINT_FUNCTION(0, 177), |
| 1876 | MTK_FUNCTION(0, "GPIO185") |
| 1877 | ), |
| 1878 | MTK_PIN( |
| 1879 | PINCTRL_PIN(186, "GPIO186"), |
| 1880 | NULL, "mt8183", |
| 1881 | MTK_EINT_FUNCTION(0, 178), |
| 1882 | MTK_FUNCTION(0, "GPIO186") |
| 1883 | ), |
| 1884 | MTK_PIN( |
| 1885 | PINCTRL_PIN(187, "GPIO187"), |
| 1886 | NULL, "mt8183", |
| 1887 | MTK_EINT_FUNCTION(0, 179), |
| 1888 | MTK_FUNCTION(0, "GPIO187") |
| 1889 | ), |
| 1890 | MTK_PIN( |
| 1891 | PINCTRL_PIN(188, "GPIO188"), |
| 1892 | NULL, "mt8183", |
| 1893 | MTK_EINT_FUNCTION(0, 180), |
| 1894 | MTK_FUNCTION(0, "GPIO188") |
| 1895 | ), |
| 1896 | MTK_PIN( |
| 1897 | PINCTRL_PIN(189, "GPIO189"), |
| 1898 | NULL, "mt8183", |
| 1899 | MTK_EINT_FUNCTION(0, 181), |
| 1900 | MTK_FUNCTION(0, "GPIO189") |
| 1901 | ), |
| 1902 | MTK_PIN( |
| 1903 | PINCTRL_PIN(190, "GPIO190"), |
| 1904 | NULL, "mt8183", |
| 1905 | MTK_EINT_FUNCTION(0, 182), |
| 1906 | MTK_FUNCTION(0, "GPIO190") |
| 1907 | ), |
| 1908 | MTK_PIN( |
| 1909 | PINCTRL_PIN(191, "GPIO191"), |
| 1910 | NULL, "mt8183", |
| 1911 | MTK_EINT_FUNCTION(0, 183), |
| 1912 | MTK_FUNCTION(0, "GPIO191") |
| 1913 | ), |
| 1914 | }; |
| 1915 | |
| 1916 | |
| 1917 | #endif /* __PINCTRL-MTK-MT8183_H */ |