root/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Copyright (c) 2015 MediaTek Inc.
   4  * Author: Biao Huang <biao.huang@mediatek.com>
   5  */
   6 
   7 #ifndef __PINCTRL_MTK_MT2701_H
   8 #define __PINCTRL_MTK_MT2701_H
   9 
  10 #include <linux/pinctrl/pinctrl.h>
  11 #include "pinctrl-mtk-common.h"
  12 
  13 static const struct mtk_desc_pin mtk_pins_mt2701[] = {
  14         MTK_PIN(PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
  15                 NULL, "mt2701",
  16                 MTK_EINT_FUNCTION(0, 148),
  17                 MTK_FUNCTION(0, "GPIO0"),
  18                 MTK_FUNCTION(1, "PWRAP_SPIDO"),
  19                 MTK_FUNCTION(2, "PWRAP_SPIDI")
  20         ),
  21         MTK_PIN(PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
  22                 NULL, "mt2701",
  23                 MTK_EINT_FUNCTION(0, 149),
  24                 MTK_FUNCTION(0, "GPIO1"),
  25                 MTK_FUNCTION(1, "PWRAP_SPIDI"),
  26                 MTK_FUNCTION(2, "PWRAP_SPIDO")
  27         ),
  28         MTK_PIN(PINCTRL_PIN(2, "PWRAP_INT"),
  29                 NULL, "mt2701",
  30                 MTK_EINT_FUNCTION(0, 150),
  31                 MTK_FUNCTION(0, "GPIO2"),
  32                 MTK_FUNCTION(1, "PWRAP_INT")
  33         ),
  34         MTK_PIN(PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
  35                 NULL, "mt2701",
  36                 MTK_EINT_FUNCTION(0, 151),
  37                 MTK_FUNCTION(0, "GPIO3"),
  38                 MTK_FUNCTION(1, "PWRAP_SPICK_I")
  39         ),
  40         MTK_PIN(PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
  41                 NULL, "mt2701",
  42                 MTK_EINT_FUNCTION(0, 152),
  43                 MTK_FUNCTION(0, "GPIO4"),
  44                 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
  45         ),
  46         MTK_PIN(PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
  47                 NULL, "mt2701",
  48                 MTK_EINT_FUNCTION(0, 153),
  49                 MTK_FUNCTION(0, "GPIO5"),
  50                 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
  51                 MTK_FUNCTION(5, "ANT_SEL1")
  52         ),
  53         MTK_PIN(PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
  54                 NULL, "mt2701",
  55                 MTK_EINT_FUNCTION(0, 154),
  56                 MTK_FUNCTION(0, "GPIO6"),
  57                 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
  58                 MTK_FUNCTION(5, "ANT_SEL0"),
  59                 MTK_FUNCTION(7, "DBG_MON_A[0]")
  60         ),
  61         MTK_PIN(PINCTRL_PIN(7, "SPI1_CSN"),
  62                 NULL, "mt2701",
  63                 MTK_EINT_FUNCTION(0, 155),
  64                 MTK_FUNCTION(0, "GPIO7"),
  65                 MTK_FUNCTION(1, "SPI1_CS"),
  66                 MTK_FUNCTION(4, "KCOL0"),
  67                 MTK_FUNCTION(7, "DBG_MON_B[12]")
  68         ),
  69         MTK_PIN(PINCTRL_PIN(8, "SPI1_MI"),
  70                 NULL, "mt2701",
  71                 MTK_EINT_FUNCTION(0, 156),
  72                 MTK_FUNCTION(0, "GPIO8"),
  73                 MTK_FUNCTION(1, "SPI1_MI"),
  74                 MTK_FUNCTION(2, "SPI1_MO"),
  75                 MTK_FUNCTION(4, "KCOL1"),
  76                 MTK_FUNCTION(7, "DBG_MON_B[13]")
  77         ),
  78         MTK_PIN(PINCTRL_PIN(9, "SPI1_MO"),
  79                 NULL, "mt2701",
  80                 MTK_EINT_FUNCTION(0, 157),
  81                 MTK_FUNCTION(0, "GPIO9"),
  82                 MTK_FUNCTION(1, "SPI1_MO"),
  83                 MTK_FUNCTION(2, "SPI1_MI"),
  84                 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
  85                 MTK_FUNCTION(4, "KCOL2"),
  86                 MTK_FUNCTION(7, "DBG_MON_B[14]")
  87         ),
  88         MTK_PIN(PINCTRL_PIN(10, "RTC32K_CK"),
  89                 NULL, "mt2701",
  90                 MTK_EINT_FUNCTION(0, 158),
  91                 MTK_FUNCTION(0, "GPIO10"),
  92                 MTK_FUNCTION(1, "RTC32K_CK")
  93         ),
  94         MTK_PIN(PINCTRL_PIN(11, "WATCHDOG"),
  95                 NULL, "mt2701",
  96                 MTK_EINT_FUNCTION(0, 159),
  97                 MTK_FUNCTION(0, "GPIO11"),
  98                 MTK_FUNCTION(1, "WATCHDOG")
  99         ),
 100         MTK_PIN(PINCTRL_PIN(12, "SRCLKENA"),
 101                 NULL, "mt2701",
 102                 MTK_EINT_FUNCTION(0, 160),
 103                 MTK_FUNCTION(0, "GPIO12"),
 104                 MTK_FUNCTION(1, "SRCLKENA")
 105         ),
 106         MTK_PIN(PINCTRL_PIN(13, "SRCLKENAI"),
 107                 NULL, "mt2701",
 108                 MTK_EINT_FUNCTION(0, 161),
 109                 MTK_FUNCTION(0, "GPIO13"),
 110                 MTK_FUNCTION(1, "SRCLKENAI")
 111         ),
 112         MTK_PIN(PINCTRL_PIN(14, "URXD2"),
 113                 NULL, "mt2701",
 114                 MTK_EINT_FUNCTION(0, 162),
 115                 MTK_FUNCTION(0, "GPIO14"),
 116                 MTK_FUNCTION(1, "URXD2"),
 117                 MTK_FUNCTION(2, "UTXD2"),
 118                 MTK_FUNCTION(5, "SRCCLKENAI2"),
 119                 MTK_FUNCTION(7, "DBG_MON_B[30]")
 120         ),
 121         MTK_PIN(PINCTRL_PIN(15, "UTXD2"),
 122                 NULL, "mt2701",
 123                 MTK_EINT_FUNCTION(0, 163),
 124                 MTK_FUNCTION(0, "GPIO15"),
 125                 MTK_FUNCTION(1, "UTXD2"),
 126                 MTK_FUNCTION(2, "URXD2"),
 127                 MTK_FUNCTION(7, "DBG_MON_B[31]")
 128         ),
 129         MTK_PIN(PINCTRL_PIN(16, "I2S5_DATA_IN"),
 130                 NULL, "mt2701",
 131                 MTK_EINT_FUNCTION(0, 164),
 132                 MTK_FUNCTION(0, "GPIO16"),
 133                 MTK_FUNCTION(1, "I2S5_DATA_IN"),
 134                 MTK_FUNCTION(3, "PCM_RX"),
 135                 MTK_FUNCTION(4, "ANT_SEL4")
 136         ),
 137         MTK_PIN(PINCTRL_PIN(17, "I2S5_BCK"),
 138                 NULL, "mt2701",
 139                 MTK_EINT_FUNCTION(0, 165),
 140                 MTK_FUNCTION(0, "GPIO17"),
 141                 MTK_FUNCTION(1, "I2S5_BCK"),
 142                 MTK_FUNCTION(3, "PCM_CLK0"),
 143                 MTK_FUNCTION(4, "ANT_SEL2")
 144         ),
 145         MTK_PIN(PINCTRL_PIN(18, "PCM_CLK"),
 146                 NULL, "mt2701",
 147                 MTK_EINT_FUNCTION(0, 166),
 148                 MTK_FUNCTION(0, "GPIO18"),
 149                 MTK_FUNCTION(1, "PCM_CLK0"),
 150                 MTK_FUNCTION(2, "MRG_CLK"),
 151                 MTK_FUNCTION(4, "MM_TEST_CK"),
 152                 MTK_FUNCTION(5, "CONN_DSP_JCK"),
 153                 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
 154                 MTK_FUNCTION(7, "DBG_MON_A[3]")
 155         ),
 156         MTK_PIN(PINCTRL_PIN(19, "PCM_SYNC"),
 157                 NULL, "mt2701",
 158                 MTK_EINT_FUNCTION(0, 167),
 159                 MTK_FUNCTION(0, "GPIO19"),
 160                 MTK_FUNCTION(1, "PCM_SYNC"),
 161                 MTK_FUNCTION(2, "MRG_SYNC"),
 162                 MTK_FUNCTION(5, "CONN_DSP_JINTP"),
 163                 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
 164                 MTK_FUNCTION(7, "DBG_MON_A[5]")
 165         ),
 166         MTK_PIN(PINCTRL_PIN(20, "PCM_RX"),
 167                 NULL, "mt2701",
 168                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 169                 MTK_FUNCTION(0, "GPIO20"),
 170                 MTK_FUNCTION(1, "PCM_RX"),
 171                 MTK_FUNCTION(2, "MRG_RX"),
 172                 MTK_FUNCTION(3, "MRG_TX"),
 173                 MTK_FUNCTION(4, "PCM_TX"),
 174                 MTK_FUNCTION(5, "CONN_DSP_JDI"),
 175                 MTK_FUNCTION(6, "WCN_PCM_RX"),
 176                 MTK_FUNCTION(7, "DBG_MON_A[4]")
 177         ),
 178         MTK_PIN(PINCTRL_PIN(21, "PCM_TX"),
 179                 NULL, "mt2701",
 180                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 181                 MTK_FUNCTION(0, "GPIO21"),
 182                 MTK_FUNCTION(1, "PCM_TX"),
 183                 MTK_FUNCTION(2, "MRG_TX"),
 184                 MTK_FUNCTION(3, "MRG_RX"),
 185                 MTK_FUNCTION(4, "PCM_RX"),
 186                 MTK_FUNCTION(5, "CONN_DSP_JMS"),
 187                 MTK_FUNCTION(6, "WCN_PCM_TX"),
 188                 MTK_FUNCTION(7, "DBG_MON_A[2]")
 189         ),
 190         MTK_PIN(PINCTRL_PIN(22, "EINT0"),
 191                 NULL, "mt2701",
 192                 MTK_EINT_FUNCTION(0, 0),
 193                 MTK_FUNCTION(0, "GPIO22"),
 194                 MTK_FUNCTION(1, "UCTS0"),
 195                 /* MT7623 take function 2 as PCIE0_PERST_N */
 196                 MTK_FUNCTION(2, "PCIE0_PERST_N"),
 197                 MTK_FUNCTION(3, "KCOL3"),
 198                 MTK_FUNCTION(4, "CONN_DSP_JDO"),
 199                 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
 200                 MTK_FUNCTION(7, "DBG_MON_A[30]"),
 201                 MTK_FUNCTION(10, "PCIE0_PERST_N")
 202         ),
 203         MTK_PIN(PINCTRL_PIN(23, "EINT1"),
 204                 NULL, "mt2701",
 205                 MTK_EINT_FUNCTION(0, 1),
 206                 MTK_FUNCTION(0, "GPIO23"),
 207                 MTK_FUNCTION(1, "URTS0"),
 208                 /* MT7623 take function 2 as PCIE1_PERST_N */
 209                 MTK_FUNCTION(2, "PCIE1_PERST_N"),
 210                 MTK_FUNCTION(3, "KCOL2"),
 211                 MTK_FUNCTION(4, "CONN_MCU_TDO"),
 212                 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
 213                 MTK_FUNCTION(7, "DBG_MON_A[29]"),
 214                 MTK_FUNCTION(10, "PCIE1_PERST_N")
 215         ),
 216         MTK_PIN(PINCTRL_PIN(24, "EINT2"),
 217                 NULL, "mt2701",
 218                 MTK_EINT_FUNCTION(0, 2),
 219                 MTK_FUNCTION(0, "GPIO24"),
 220                 MTK_FUNCTION(1, "UCTS1"),
 221                 /* MT7623 take function 2 as PCIE2_PERST_N */
 222                 MTK_FUNCTION(2, "PCIE2_PERST_N"),
 223                 MTK_FUNCTION(3, "KCOL1"),
 224                 MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"),
 225                 MTK_FUNCTION(7, "DBG_MON_A[28]"),
 226                 MTK_FUNCTION(10, "PCIE2_PERST_N")
 227         ),
 228         MTK_PIN(PINCTRL_PIN(25, "EINT3"),
 229                 NULL, "mt2701",
 230                 MTK_EINT_FUNCTION(0, 3),
 231                 MTK_FUNCTION(0, "GPIO25"),
 232                 MTK_FUNCTION(1, "URTS1"),
 233                 MTK_FUNCTION(3, "KCOL0"),
 234                 MTK_FUNCTION(4, "CONN_MCU_DBGI_N"),
 235                 MTK_FUNCTION(7, "DBG_MON_A[27]")
 236         ),
 237         MTK_PIN(PINCTRL_PIN(26, "EINT4"),
 238                 NULL, "mt2701",
 239                 MTK_EINT_FUNCTION(0, 4),
 240                 MTK_FUNCTION(0, "GPIO26"),
 241                 MTK_FUNCTION(1, "UCTS3"),
 242                 MTK_FUNCTION(2, "DRV_VBUS_P1"),
 243                 MTK_FUNCTION(3, "KROW3"),
 244                 MTK_FUNCTION(4, "CONN_MCU_TCK0"),
 245                 MTK_FUNCTION(5, "CONN_MCU_AICE_JCKC"),
 246                 MTK_FUNCTION(6, "PCIE2_WAKE_N"),
 247                 MTK_FUNCTION(7, "DBG_MON_A[26]")
 248         ),
 249         MTK_PIN(PINCTRL_PIN(27, "EINT5"),
 250                 NULL, "mt2701",
 251                 MTK_EINT_FUNCTION(0, 5),
 252                 MTK_FUNCTION(0, "GPIO27"),
 253                 MTK_FUNCTION(1, "URTS3"),
 254                 MTK_FUNCTION(2, "IDDIG_P1"),
 255                 MTK_FUNCTION(3, "KROW2"),
 256                 MTK_FUNCTION(4, "CONN_MCU_TDI"),
 257                 MTK_FUNCTION(6, "PCIE1_WAKE_N"),
 258                 MTK_FUNCTION(7, "DBG_MON_A[25]")
 259         ),
 260         MTK_PIN(PINCTRL_PIN(28, "EINT6"),
 261                 NULL, "mt2701",
 262                 MTK_EINT_FUNCTION(0, 6),
 263                 MTK_FUNCTION(0, "GPIO28"),
 264                 MTK_FUNCTION(1, "DRV_VBUS"),
 265                 MTK_FUNCTION(3, "KROW1"),
 266                 MTK_FUNCTION(4, "CONN_MCU_TRST_B"),
 267                 MTK_FUNCTION(6, "PCIE0_WAKE_N"),
 268                 MTK_FUNCTION(7, "DBG_MON_A[24]")
 269         ),
 270         MTK_PIN(PINCTRL_PIN(29, "EINT7"),
 271                 NULL, "mt2701",
 272                 MTK_EINT_FUNCTION(0, 7),
 273                 MTK_FUNCTION(0, "GPIO29"),
 274                 MTK_FUNCTION(1, "IDDIG"),
 275                 MTK_FUNCTION(2, "MSDC1_WP"),
 276                 MTK_FUNCTION(3, "KROW0"),
 277                 MTK_FUNCTION(4, "CONN_MCU_TMS"),
 278                 MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"),
 279                 /* MT7623 take function 6 as PCIE2_PERST_N */
 280                 MTK_FUNCTION(6, "PCIE2_PERST_N"),
 281                 MTK_FUNCTION(7, "DBG_MON_A[23]"),
 282                 MTK_FUNCTION(14, "PCIE2_PERST_N")
 283         ),
 284         MTK_PIN(PINCTRL_PIN(30, "I2S5_LRCK"),
 285                 NULL, "mt2701",
 286                 MTK_EINT_FUNCTION(0, 12),
 287                 MTK_FUNCTION(0, "GPIO30"),
 288                 MTK_FUNCTION(1, "I2S5_LRCK"),
 289                 MTK_FUNCTION(3, "PCM_SYNC"),
 290                 MTK_FUNCTION(4, "ANT_SEL1")
 291         ),
 292         MTK_PIN(PINCTRL_PIN(31, "I2S5_MCLK"),
 293                 NULL, "mt2701",
 294                 MTK_EINT_FUNCTION(0, 13),
 295                 MTK_FUNCTION(0, "GPIO31"),
 296                 MTK_FUNCTION(1, "I2S5_MCLK"),
 297                 MTK_FUNCTION(4, "ANT_SEL0")
 298         ),
 299         MTK_PIN(PINCTRL_PIN(32, "I2S5_DATA"),
 300                 NULL, "mt2701",
 301                 MTK_EINT_FUNCTION(0, 14),
 302                 MTK_FUNCTION(0, "GPIO32"),
 303                 MTK_FUNCTION(1, "I2S5_DATA"),
 304                 MTK_FUNCTION(2, "I2S5_DATA_BYPS"),
 305                 MTK_FUNCTION(3, "PCM_TX"),
 306                 MTK_FUNCTION(4, "ANT_SEL3")
 307         ),
 308         MTK_PIN(PINCTRL_PIN(33, "I2S1_DATA"),
 309                 NULL, "mt2701",
 310                 MTK_EINT_FUNCTION(0, 15),
 311                 MTK_FUNCTION(0, "GPIO33"),
 312                 MTK_FUNCTION(1, "I2S1_DATA"),
 313                 MTK_FUNCTION(2, "I2S1_DATA_BYPS"),
 314                 MTK_FUNCTION(3, "PCM_TX"),
 315                 MTK_FUNCTION(4, "IMG_TEST_CK"),
 316                 MTK_FUNCTION(5, "G1_RXD0"),
 317                 MTK_FUNCTION(6, "WCN_PCM_TX"),
 318                 MTK_FUNCTION(7, "DBG_MON_B[8]")
 319         ),
 320         MTK_PIN(PINCTRL_PIN(34, "I2S1_DATA_IN"),
 321                 NULL, "mt2701",
 322                 MTK_EINT_FUNCTION(0, 16),
 323                 MTK_FUNCTION(0, "GPIO34"),
 324                 MTK_FUNCTION(1, "I2S1_DATA_IN"),
 325                 MTK_FUNCTION(3, "PCM_RX"),
 326                 MTK_FUNCTION(4, "VDEC_TEST_CK"),
 327                 MTK_FUNCTION(5, "G1_RXD1"),
 328                 MTK_FUNCTION(6, "WCN_PCM_RX"),
 329                 MTK_FUNCTION(7, "DBG_MON_B[7]")
 330         ),
 331         MTK_PIN(PINCTRL_PIN(35, "I2S1_BCK"),
 332                 NULL, "mt2701",
 333                 MTK_EINT_FUNCTION(0, 17),
 334                 MTK_FUNCTION(0, "GPIO35"),
 335                 MTK_FUNCTION(1, "I2S1_BCK"),
 336                 MTK_FUNCTION(3, "PCM_CLK0"),
 337                 MTK_FUNCTION(5, "G1_RXD2"),
 338                 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
 339                 MTK_FUNCTION(7, "DBG_MON_B[9]")
 340         ),
 341         MTK_PIN(PINCTRL_PIN(36, "I2S1_LRCK"),
 342                 NULL, "mt2701",
 343                 MTK_EINT_FUNCTION(0, 18),
 344                 MTK_FUNCTION(0, "GPIO36"),
 345                 MTK_FUNCTION(1, "I2S1_LRCK"),
 346                 MTK_FUNCTION(3, "PCM_SYNC"),
 347                 MTK_FUNCTION(5, "G1_RXD3"),
 348                 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
 349                 MTK_FUNCTION(7, "DBG_MON_B[10]")
 350         ),
 351         MTK_PIN(PINCTRL_PIN(37, "I2S1_MCLK"),
 352                 NULL, "mt2701",
 353                 MTK_EINT_FUNCTION(0, 19),
 354                 MTK_FUNCTION(0, "GPIO37"),
 355                 MTK_FUNCTION(1, "I2S1_MCLK"),
 356                 MTK_FUNCTION(5, "G1_RXDV"),
 357                 MTK_FUNCTION(7, "DBG_MON_B[11]")
 358         ),
 359         MTK_PIN(PINCTRL_PIN(38, "I2S2_DATA"),
 360                 NULL, "mt2701",
 361                 MTK_EINT_FUNCTION(0, 20),
 362                 MTK_FUNCTION(0, "GPIO38"),
 363                 MTK_FUNCTION(2, "I2S2_DATA_BYPS"),
 364                 MTK_FUNCTION(3, "PCM_TX"),
 365                 MTK_FUNCTION(4, "DMIC_DAT0")
 366         ),
 367         MTK_PIN(PINCTRL_PIN(39, "JTMS"),
 368                 NULL, "mt2701",
 369                 MTK_EINT_FUNCTION(0, 21),
 370                 MTK_FUNCTION(0, "GPIO39"),
 371                 MTK_FUNCTION(1, "JTMS"),
 372                 MTK_FUNCTION(2, "CONN_MCU_TMS"),
 373                 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"),
 374                 MTK_FUNCTION(4, "DFD_TMS_XI")
 375         ),
 376         MTK_PIN(PINCTRL_PIN(40, "JTCK"),
 377                 NULL, "mt2701",
 378                 MTK_EINT_FUNCTION(0, 22),
 379                 MTK_FUNCTION(0, "GPIO40"),
 380                 MTK_FUNCTION(1, "JTCK"),
 381                 MTK_FUNCTION(2, "CONN_MCU_TCK1"),
 382                 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"),
 383                 MTK_FUNCTION(4, "DFD_TCK_XI")
 384         ),
 385         MTK_PIN(PINCTRL_PIN(41, "JTDI"),
 386                 NULL, "mt2701",
 387                 MTK_EINT_FUNCTION(0, 23),
 388                 MTK_FUNCTION(0, "GPIO41"),
 389                 MTK_FUNCTION(1, "JTDI"),
 390                 MTK_FUNCTION(2, "CONN_MCU_TDI"),
 391                 MTK_FUNCTION(4, "DFD_TDI_XI")
 392         ),
 393         MTK_PIN(PINCTRL_PIN(42, "JTDO"),
 394                 NULL, "mt2701",
 395                 MTK_EINT_FUNCTION(0, 24),
 396                 MTK_FUNCTION(0, "GPIO42"),
 397                 MTK_FUNCTION(1, "JTDO"),
 398                 MTK_FUNCTION(2, "CONN_MCU_TDO"),
 399                 MTK_FUNCTION(4, "DFD_TDO")
 400         ),
 401         MTK_PIN(PINCTRL_PIN(43, "NCLE"),
 402                 NULL, "mt2701",
 403                 MTK_EINT_FUNCTION(0, 25),
 404                 MTK_FUNCTION(0, "GPIO43"),
 405                 MTK_FUNCTION(1, "NCLE"),
 406                 MTK_FUNCTION(2, "EXT_XCS2")
 407         ),
 408         MTK_PIN(PINCTRL_PIN(44, "NCEB1"),
 409                 NULL, "mt2701",
 410                 MTK_EINT_FUNCTION(0, 26),
 411                 MTK_FUNCTION(0, "GPIO44"),
 412                 MTK_FUNCTION(1, "NCEB1"),
 413                 MTK_FUNCTION(2, "IDDIG")
 414         ),
 415         MTK_PIN(PINCTRL_PIN(45, "NCEB0"),
 416                 NULL, "mt2701",
 417                 MTK_EINT_FUNCTION(0, 27),
 418                 MTK_FUNCTION(0, "GPIO45"),
 419                 MTK_FUNCTION(1, "NCEB0"),
 420                 MTK_FUNCTION(2, "DRV_VBUS")
 421         ),
 422         MTK_PIN(PINCTRL_PIN(46, "IR"),
 423                 NULL, "mt2701",
 424                 MTK_EINT_FUNCTION(0, 28),
 425                 MTK_FUNCTION(0, "GPIO46"),
 426                 MTK_FUNCTION(1, "IR")
 427         ),
 428         MTK_PIN(PINCTRL_PIN(47, "NREB"),
 429                 NULL, "mt2701",
 430                 MTK_EINT_FUNCTION(0, 29),
 431                 MTK_FUNCTION(0, "GPIO47"),
 432                 MTK_FUNCTION(1, "NREB"),
 433                 MTK_FUNCTION(2, "IDDIG_P1")
 434         ),
 435         MTK_PIN(PINCTRL_PIN(48, "NRNB"),
 436                 NULL, "mt2701",
 437                 MTK_EINT_FUNCTION(0, 30),
 438                 MTK_FUNCTION(0, "GPIO48"),
 439                 MTK_FUNCTION(1, "NRNB"),
 440                 MTK_FUNCTION(2, "DRV_VBUS_P1")
 441         ),
 442         MTK_PIN(PINCTRL_PIN(49, "I2S0_DATA"),
 443                 NULL, "mt2701",
 444                 MTK_EINT_FUNCTION(0, 31),
 445                 MTK_FUNCTION(0, "GPIO49"),
 446                 MTK_FUNCTION(1, "I2S0_DATA"),
 447                 MTK_FUNCTION(2, "I2S0_DATA_BYPS"),
 448                 MTK_FUNCTION(3, "PCM_TX"),
 449                 MTK_FUNCTION(6, "WCN_I2S_DO"),
 450                 MTK_FUNCTION(7, "DBG_MON_B[3]")
 451         ),
 452         MTK_PIN(PINCTRL_PIN(50, "I2S2_BCK"),
 453                 NULL, "mt2701",
 454                 MTK_EINT_FUNCTION(0, 32),
 455                 MTK_FUNCTION(0, "GPIO50"),
 456                 MTK_FUNCTION(1, "I2S2_BCK"),
 457                 MTK_FUNCTION(3, "PCM_CLK0"),
 458                 MTK_FUNCTION(4, "DMIC_SCK1")
 459         ),
 460         MTK_PIN(PINCTRL_PIN(51, "I2S2_DATA_IN"),
 461                 NULL, "mt2701",
 462                 MTK_EINT_FUNCTION(0, 33),
 463                 MTK_FUNCTION(0, "GPIO51"),
 464                 MTK_FUNCTION(1, "I2S2_DATA_IN"),
 465                 MTK_FUNCTION(3, "PCM_RX"),
 466                 MTK_FUNCTION(4, "DMIC_SCK0")
 467         ),
 468         MTK_PIN(PINCTRL_PIN(52, "I2S2_LRCK"),
 469                 NULL, "mt2701",
 470                 MTK_EINT_FUNCTION(0, 34),
 471                 MTK_FUNCTION(0, "GPIO52"),
 472                 MTK_FUNCTION(1, "I2S2_LRCK"),
 473                 MTK_FUNCTION(3, "PCM_SYNC"),
 474                 MTK_FUNCTION(4, "DMIC_DAT1")
 475         ),
 476         MTK_PIN(PINCTRL_PIN(53, "SPI0_CSN"),
 477                 NULL, "mt2701",
 478                 MTK_EINT_FUNCTION(0, 35),
 479                 MTK_FUNCTION(0, "GPIO53"),
 480                 MTK_FUNCTION(1, "SPI0_CS"),
 481                 MTK_FUNCTION(3, "SPDIF"),
 482                 MTK_FUNCTION(4, "ADC_CK"),
 483                 MTK_FUNCTION(5, "PWM1"),
 484                 MTK_FUNCTION(7, "DBG_MON_A[7]")
 485         ),
 486         MTK_PIN(PINCTRL_PIN(54, "SPI0_CK"),
 487                 NULL, "mt2701",
 488                 MTK_EINT_FUNCTION(0, 36),
 489                 MTK_FUNCTION(0, "GPIO54"),
 490                 MTK_FUNCTION(1, "SPI0_CK"),
 491                 MTK_FUNCTION(3, "SPDIF_IN1"),
 492                 MTK_FUNCTION(4, "ADC_DAT_IN"),
 493                 MTK_FUNCTION(7, "DBG_MON_A[10]")
 494         ),
 495         MTK_PIN(PINCTRL_PIN(55, "SPI0_MI"),
 496                 NULL, "mt2701",
 497                 MTK_EINT_FUNCTION(0, 37),
 498                 MTK_FUNCTION(0, "GPIO55"),
 499                 MTK_FUNCTION(1, "SPI0_MI"),
 500                 MTK_FUNCTION(2, "SPI0_MO"),
 501                 MTK_FUNCTION(3, "MSDC1_WP"),
 502                 MTK_FUNCTION(4, "ADC_WS"),
 503                 MTK_FUNCTION(5, "PWM2"),
 504                 MTK_FUNCTION(7, "DBG_MON_A[8]")
 505         ),
 506         MTK_PIN(PINCTRL_PIN(56, "SPI0_MO"),
 507                 NULL, "mt2701",
 508                 MTK_EINT_FUNCTION(0, 38),
 509                 MTK_FUNCTION(0, "GPIO56"),
 510                 MTK_FUNCTION(1, "SPI0_MO"),
 511                 MTK_FUNCTION(2, "SPI0_MI"),
 512                 MTK_FUNCTION(3, "SPDIF_IN0"),
 513                 MTK_FUNCTION(7, "DBG_MON_A[9]")
 514         ),
 515         MTK_PIN(PINCTRL_PIN(57, "SDA1"),
 516                 NULL, "mt2701",
 517                 MTK_EINT_FUNCTION(0, 39),
 518                 MTK_FUNCTION(0, "GPIO57"),
 519                 MTK_FUNCTION(1, "SDA1")
 520         ),
 521         MTK_PIN(PINCTRL_PIN(58, "SCL1"),
 522                 NULL, "mt2701",
 523                 MTK_EINT_FUNCTION(0, 40),
 524                 MTK_FUNCTION(0, "GPIO58"),
 525                 MTK_FUNCTION(1, "SCL1")
 526         ),
 527         MTK_PIN(PINCTRL_PIN(59, "RAMBUF_I_CLK"),
 528                 NULL, "mt2701",
 529                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 530                 MTK_FUNCTION(0, "GPIO59"),
 531                 MTK_FUNCTION(1, "RAMBUF_I_CLK")
 532         ),
 533         MTK_PIN(PINCTRL_PIN(60, "WB_RSTB"),
 534                 NULL, "mt2701",
 535                 MTK_EINT_FUNCTION(0, 41),
 536                 MTK_FUNCTION(0, "GPIO60"),
 537                 MTK_FUNCTION(1, "WB_RSTB"),
 538                 MTK_FUNCTION(7, "DBG_MON_A[11]")
 539         ),
 540         MTK_PIN(PINCTRL_PIN(61, "F2W_DATA"),
 541                 NULL, "mt2701",
 542                 MTK_EINT_FUNCTION(0, 42),
 543                 MTK_FUNCTION(0, "GPIO61"),
 544                 MTK_FUNCTION(1, "F2W_DATA"),
 545                 MTK_FUNCTION(7, "DBG_MON_A[16]")
 546         ),
 547         MTK_PIN(PINCTRL_PIN(62, "F2W_CLK"),
 548                 NULL, "mt2701",
 549                 MTK_EINT_FUNCTION(0, 43),
 550                 MTK_FUNCTION(0, "GPIO62"),
 551                 MTK_FUNCTION(1, "F2W_CK"),
 552                 MTK_FUNCTION(7, "DBG_MON_A[15]")
 553         ),
 554         MTK_PIN(PINCTRL_PIN(63, "WB_SCLK"),
 555                 NULL, "mt2701",
 556                 MTK_EINT_FUNCTION(0, 44),
 557                 MTK_FUNCTION(0, "GPIO63"),
 558                 MTK_FUNCTION(1, "WB_SCLK"),
 559                 MTK_FUNCTION(7, "DBG_MON_A[13]")
 560         ),
 561         MTK_PIN(PINCTRL_PIN(64, "WB_SDATA"),
 562                 NULL, "mt2701",
 563                 MTK_EINT_FUNCTION(0, 45),
 564                 MTK_FUNCTION(0, "GPIO64"),
 565                 MTK_FUNCTION(1, "WB_SDATA"),
 566                 MTK_FUNCTION(7, "DBG_MON_A[12]")
 567         ),
 568         MTK_PIN(PINCTRL_PIN(65, "WB_SEN"),
 569                 NULL, "mt2701",
 570                 MTK_EINT_FUNCTION(0, 46),
 571                 MTK_FUNCTION(0, "GPIO65"),
 572                 MTK_FUNCTION(1, "WB_SEN"),
 573                 MTK_FUNCTION(7, "DBG_MON_A[14]")
 574         ),
 575         MTK_PIN(PINCTRL_PIN(66, "WB_CRTL0"),
 576                 NULL, "mt2701",
 577                 MTK_EINT_FUNCTION(0, 47),
 578                 MTK_FUNCTION(0, "GPIO66"),
 579                 MTK_FUNCTION(1, "WB_CRTL0"),
 580                 MTK_FUNCTION(5, "DFD_NTRST_XI"),
 581                 MTK_FUNCTION(7, "DBG_MON_A[17]")
 582         ),
 583         MTK_PIN(PINCTRL_PIN(67, "WB_CRTL1"),
 584                 NULL, "mt2701",
 585                 MTK_EINT_FUNCTION(0, 48),
 586                 MTK_FUNCTION(0, "GPIO67"),
 587                 MTK_FUNCTION(1, "WB_CRTL1"),
 588                 MTK_FUNCTION(5, "DFD_TMS_XI"),
 589                 MTK_FUNCTION(7, "DBG_MON_A[18]")
 590         ),
 591         MTK_PIN(PINCTRL_PIN(68, "WB_CRTL2"),
 592                 NULL, "mt2701",
 593                 MTK_EINT_FUNCTION(0, 49),
 594                 MTK_FUNCTION(0, "GPIO68"),
 595                 MTK_FUNCTION(1, "WB_CRTL2"),
 596                 MTK_FUNCTION(5, "DFD_TCK_XI"),
 597                 MTK_FUNCTION(7, "DBG_MON_A[19]")
 598         ),
 599         MTK_PIN(PINCTRL_PIN(69, "WB_CRTL3"),
 600                 NULL, "mt2701",
 601                 MTK_EINT_FUNCTION(0, 50),
 602                 MTK_FUNCTION(0, "GPIO69"),
 603                 MTK_FUNCTION(1, "WB_CRTL3"),
 604                 MTK_FUNCTION(5, "DFD_TDI_XI"),
 605                 MTK_FUNCTION(7, "DBG_MON_A[20]")
 606         ),
 607         MTK_PIN(PINCTRL_PIN(70, "WB_CRTL4"),
 608                 NULL, "mt2701",
 609                 MTK_EINT_FUNCTION(0, 51),
 610                 MTK_FUNCTION(0, "GPIO70"),
 611                 MTK_FUNCTION(1, "WB_CRTL4"),
 612                 MTK_FUNCTION(5, "DFD_TDO"),
 613                 MTK_FUNCTION(7, "DBG_MON_A[21]")
 614         ),
 615         MTK_PIN(PINCTRL_PIN(71, "WB_CRTL5"),
 616                 NULL, "mt2701",
 617                 MTK_EINT_FUNCTION(0, 52),
 618                 MTK_FUNCTION(0, "GPIO71"),
 619                 MTK_FUNCTION(1, "WB_CRTL5"),
 620                 MTK_FUNCTION(7, "DBG_MON_A[22]")
 621         ),
 622         MTK_PIN(PINCTRL_PIN(72, "I2S0_DATA_IN"),
 623                 NULL, "mt2701",
 624                 MTK_EINT_FUNCTION(0, 53),
 625                 MTK_FUNCTION(0, "GPIO72"),
 626                 MTK_FUNCTION(1, "I2S0_DATA_IN"),
 627                 MTK_FUNCTION(3, "PCM_RX"),
 628                 MTK_FUNCTION(4, "PWM0"),
 629                 MTK_FUNCTION(5, "DISP_PWM"),
 630                 MTK_FUNCTION(6, "WCN_I2S_DI"),
 631                 MTK_FUNCTION(7, "DBG_MON_B[2]")
 632         ),
 633         MTK_PIN(PINCTRL_PIN(73, "I2S0_LRCK"),
 634                 NULL, "mt2701",
 635                 MTK_EINT_FUNCTION(0, 54),
 636                 MTK_FUNCTION(0, "GPIO73"),
 637                 MTK_FUNCTION(1, "I2S0_LRCK"),
 638                 MTK_FUNCTION(3, "PCM_SYNC"),
 639                 MTK_FUNCTION(6, "WCN_I2S_LRCK"),
 640                 MTK_FUNCTION(7, "DBG_MON_B[5]")
 641         ),
 642         MTK_PIN(PINCTRL_PIN(74, "I2S0_BCK"),
 643                 NULL, "mt2701",
 644                 MTK_EINT_FUNCTION(0, 55),
 645                 MTK_FUNCTION(0, "GPIO74"),
 646                 MTK_FUNCTION(1, "I2S0_BCK"),
 647                 MTK_FUNCTION(3, "PCM_CLK0"),
 648                 MTK_FUNCTION(6, "WCN_I2S_BCK"),
 649                 MTK_FUNCTION(7, "DBG_MON_B[4]")
 650         ),
 651         MTK_PIN(PINCTRL_PIN(75, "SDA0"),
 652                 NULL, "mt2701",
 653                 MTK_EINT_FUNCTION(0, 56),
 654                 MTK_FUNCTION(0, "GPIO75"),
 655                 MTK_FUNCTION(1, "SDA0")
 656         ),
 657         MTK_PIN(PINCTRL_PIN(76, "SCL0"),
 658                 NULL, "mt2701",
 659                 MTK_EINT_FUNCTION(0, 57),
 660                 MTK_FUNCTION(0, "GPIO76"),
 661                 MTK_FUNCTION(1, "SCL0")
 662         ),
 663         MTK_PIN(PINCTRL_PIN(77, "SDA2"),
 664                 NULL, "mt2701",
 665                 MTK_EINT_FUNCTION(0, 58),
 666                 MTK_FUNCTION(0, "GPIO77"),
 667                 MTK_FUNCTION(1, "SDA2")
 668         ),
 669         MTK_PIN(PINCTRL_PIN(78, "SCL2"),
 670                 NULL, "mt2701",
 671                 MTK_EINT_FUNCTION(0, 59),
 672                 MTK_FUNCTION(0, "GPIO78"),
 673                 MTK_FUNCTION(1, "SCL2")
 674         ),
 675         MTK_PIN(PINCTRL_PIN(79, "URXD0"),
 676                 NULL, "mt2701",
 677                 MTK_EINT_FUNCTION(0, 60),
 678                 MTK_FUNCTION(0, "GPIO79"),
 679                 MTK_FUNCTION(1, "URXD0"),
 680                 MTK_FUNCTION(2, "UTXD0")
 681         ),
 682         MTK_PIN(PINCTRL_PIN(80, "UTXD0"),
 683                 NULL, "mt2701",
 684                 MTK_EINT_FUNCTION(0, 61),
 685                 MTK_FUNCTION(0, "GPIO80"),
 686                 MTK_FUNCTION(1, "UTXD0"),
 687                 MTK_FUNCTION(2, "URXD0")
 688         ),
 689         MTK_PIN(PINCTRL_PIN(81, "URXD1"),
 690                 NULL, "mt2701",
 691                 MTK_EINT_FUNCTION(0, 62),
 692                 MTK_FUNCTION(0, "GPIO81"),
 693                 MTK_FUNCTION(1, "URXD1"),
 694                 MTK_FUNCTION(2, "UTXD1")
 695         ),
 696         MTK_PIN(PINCTRL_PIN(82, "UTXD1"),
 697                 NULL, "mt2701",
 698                 MTK_EINT_FUNCTION(0, 63),
 699                 MTK_FUNCTION(0, "GPIO82"),
 700                 MTK_FUNCTION(1, "UTXD1"),
 701                 MTK_FUNCTION(2, "URXD1")
 702         ),
 703         MTK_PIN(PINCTRL_PIN(83, "LCM_RST"),
 704                 NULL, "mt2701",
 705                 MTK_EINT_FUNCTION(0, 64),
 706                 MTK_FUNCTION(0, "GPIO83"),
 707                 MTK_FUNCTION(1, "LCM_RST"),
 708                 MTK_FUNCTION(2, "VDAC_CK_XI"),
 709                 MTK_FUNCTION(7, "DBG_MON_B[1]")
 710         ),
 711         MTK_PIN(PINCTRL_PIN(84, "DSI_TE"),
 712                 NULL, "mt2701",
 713                 MTK_EINT_FUNCTION(0, 65),
 714                 MTK_FUNCTION(0, "GPIO84"),
 715                 MTK_FUNCTION(1, "DSI_TE"),
 716                 MTK_FUNCTION(7, "DBG_MON_B[0]")
 717         ),
 718         MTK_PIN(PINCTRL_PIN(85, "MSDC2_CMD"),
 719                 NULL, "mt2701",
 720                 MTK_EINT_FUNCTION(0, 66),
 721                 MTK_FUNCTION(0, "GPIO85"),
 722                 MTK_FUNCTION(1, "MSDC2_CMD"),
 723                 MTK_FUNCTION(2, "ANT_SEL0"),
 724                 MTK_FUNCTION(3, "SDA1"),
 725                 MTK_FUNCTION(6, "I2SOUT_BCK")
 726         ),
 727         MTK_PIN(PINCTRL_PIN(86, "MSDC2_CLK"),
 728                 NULL, "mt2701",
 729                 MTK_EINT_FUNCTION(0, 67),
 730                 MTK_FUNCTION(0, "GPIO86"),
 731                 MTK_FUNCTION(1, "MSDC2_CLK"),
 732                 MTK_FUNCTION(2, "ANT_SEL1"),
 733                 MTK_FUNCTION(3, "SCL1"),
 734                 MTK_FUNCTION(6, "I2SOUT_LRCK")
 735         ),
 736         MTK_PIN(PINCTRL_PIN(87, "MSDC2_DAT0"),
 737                 NULL, "mt2701",
 738                 MTK_EINT_FUNCTION(0, 68),
 739                 MTK_FUNCTION(0, "GPIO87"),
 740                 MTK_FUNCTION(1, "MSDC2_DAT0"),
 741                 MTK_FUNCTION(2, "ANT_SEL2"),
 742                 MTK_FUNCTION(5, "UTXD0"),
 743                 MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
 744         ),
 745         MTK_PIN(PINCTRL_PIN(88, "MSDC2_DAT1"),
 746                 NULL, "mt2701",
 747                 MTK_EINT_FUNCTION(0, 71),
 748                 MTK_FUNCTION(0, "GPIO88"),
 749                 MTK_FUNCTION(1, "MSDC2_DAT1"),
 750                 MTK_FUNCTION(2, "ANT_SEL3"),
 751                 MTK_FUNCTION(3, "PWM0"),
 752                 MTK_FUNCTION(5, "URXD0"),
 753                 MTK_FUNCTION(6, "PWM1")
 754         ),
 755         MTK_PIN(PINCTRL_PIN(89, "MSDC2_DAT2"),
 756                 NULL, "mt2701",
 757                 MTK_EINT_FUNCTION(0, 72),
 758                 MTK_FUNCTION(0, "GPIO89"),
 759                 MTK_FUNCTION(1, "MSDC2_DAT2"),
 760                 MTK_FUNCTION(2, "ANT_SEL4"),
 761                 MTK_FUNCTION(3, "SDA2"),
 762                 MTK_FUNCTION(5, "UTXD1"),
 763                 MTK_FUNCTION(6, "PWM2")
 764         ),
 765         MTK_PIN(PINCTRL_PIN(90, "MSDC2_DAT3"),
 766                 NULL, "mt2701",
 767                 MTK_EINT_FUNCTION(0, 73),
 768                 MTK_FUNCTION(0, "GPIO90"),
 769                 MTK_FUNCTION(1, "MSDC2_DAT3"),
 770                 MTK_FUNCTION(2, "ANT_SEL5"),
 771                 MTK_FUNCTION(3, "SCL2"),
 772                 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
 773                 MTK_FUNCTION(5, "URXD1"),
 774                 MTK_FUNCTION(6, "PWM3")
 775         ),
 776         MTK_PIN(PINCTRL_PIN(91, "TDN3"),
 777                 NULL, "mt2701",
 778                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 779                 MTK_FUNCTION(0, "GPI91"),
 780                 MTK_FUNCTION(1, "TDN3")
 781         ),
 782         MTK_PIN(PINCTRL_PIN(92, "TDP3"),
 783                 NULL, "mt2701",
 784                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 785                 MTK_FUNCTION(0, "GPI92"),
 786                 MTK_FUNCTION(1, "TDP3")
 787         ),
 788         MTK_PIN(PINCTRL_PIN(93, "TDN2"),
 789                 NULL, "mt2701",
 790                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 791                 MTK_FUNCTION(0, "GPI93"),
 792                 MTK_FUNCTION(1, "TDN2")
 793         ),
 794         MTK_PIN(PINCTRL_PIN(94, "TDP2"),
 795                 NULL, "mt2701",
 796                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 797                 MTK_FUNCTION(0, "GPI94"),
 798                 MTK_FUNCTION(1, "TDP2")
 799         ),
 800         MTK_PIN(PINCTRL_PIN(95, "TCN"),
 801                 NULL, "mt2701",
 802                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 803                 MTK_FUNCTION(0, "GPI95"),
 804                 MTK_FUNCTION(1, "TCN")
 805         ),
 806         MTK_PIN(PINCTRL_PIN(96, "TCP"),
 807                 NULL, "mt2701",
 808                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 809                 MTK_FUNCTION(0, "GPI96"),
 810                 MTK_FUNCTION(1, "TCP")
 811         ),
 812         MTK_PIN(PINCTRL_PIN(97, "TDN1"),
 813                 NULL, "mt2701",
 814                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 815                 MTK_FUNCTION(0, "GPI97"),
 816                 MTK_FUNCTION(1, "TDN1")
 817         ),
 818         MTK_PIN(PINCTRL_PIN(98, "TDP1"),
 819                 NULL, "mt2701",
 820                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 821                 MTK_FUNCTION(0, "GPI98"),
 822                 MTK_FUNCTION(1, "TDP1")
 823         ),
 824         MTK_PIN(PINCTRL_PIN(99, "TDN0"),
 825                 NULL, "mt2701",
 826                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 827                 MTK_FUNCTION(0, "GPI99"),
 828                 MTK_FUNCTION(1, "TDN0")
 829         ),
 830         MTK_PIN(PINCTRL_PIN(100, "TDP0"),
 831                 NULL, "mt2701",
 832                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
 833                 MTK_FUNCTION(0, "GPI100"),
 834                 MTK_FUNCTION(1, "TDP0")
 835         ),
 836         MTK_PIN(PINCTRL_PIN(101, "SPI2_CSN"),
 837                 NULL, "mt2701",
 838                 MTK_EINT_FUNCTION(0, 74),
 839                 MTK_FUNCTION(0, "GPIO101"),
 840                 MTK_FUNCTION(1, "SPI2_CS"),
 841                 MTK_FUNCTION(3, "SCL3"),
 842                 MTK_FUNCTION(4, "KROW0")
 843         ),
 844         MTK_PIN(PINCTRL_PIN(102, "SPI2_MI"),
 845                 NULL, "mt2701",
 846                 MTK_EINT_FUNCTION(0, 75),
 847                 MTK_FUNCTION(0, "GPIO102"),
 848                 MTK_FUNCTION(1, "SPI2_MI"),
 849                 MTK_FUNCTION(2, "SPI2_MO"),
 850                 MTK_FUNCTION(3, "SDA3"),
 851                 MTK_FUNCTION(4, "KROW1")
 852         ),
 853         MTK_PIN(PINCTRL_PIN(103, "SPI2_MO"),
 854                 NULL, "mt2701",
 855                 MTK_EINT_FUNCTION(0, 76),
 856                 MTK_FUNCTION(0, "GPIO103"),
 857                 MTK_FUNCTION(1, "SPI2_MO"),
 858                 MTK_FUNCTION(2, "SPI2_MI"),
 859                 MTK_FUNCTION(3, "SCL3"),
 860                 MTK_FUNCTION(4, "KROW2")
 861         ),
 862         MTK_PIN(PINCTRL_PIN(104, "SPI2_CLK"),
 863                 NULL, "mt2701",
 864                 MTK_EINT_FUNCTION(0, 77),
 865                 MTK_FUNCTION(0, "GPIO104"),
 866                 MTK_FUNCTION(1, "SPI2_CK"),
 867                 MTK_FUNCTION(3, "SDA3"),
 868                 MTK_FUNCTION(4, "KROW3")
 869         ),
 870         MTK_PIN(PINCTRL_PIN(105, "MSDC1_CMD"),
 871                 NULL, "mt2701",
 872                 MTK_EINT_FUNCTION(0, 78),
 873                 MTK_FUNCTION(0, "GPIO105"),
 874                 MTK_FUNCTION(1, "MSDC1_CMD"),
 875                 MTK_FUNCTION(2, "ANT_SEL0"),
 876                 MTK_FUNCTION(3, "SDA1"),
 877                 MTK_FUNCTION(6, "I2SOUT_BCK"),
 878                 MTK_FUNCTION(7, "DBG_MON_B[27]")
 879         ),
 880         MTK_PIN(PINCTRL_PIN(106, "MSDC1_CLK"),
 881                 NULL, "mt2701",
 882                 MTK_EINT_FUNCTION(0, 79),
 883                 MTK_FUNCTION(0, "GPIO106"),
 884                 MTK_FUNCTION(1, "MSDC1_CLK"),
 885                 MTK_FUNCTION(2, "ANT_SEL1"),
 886                 MTK_FUNCTION(3, "SCL1"),
 887                 MTK_FUNCTION(6, "I2SOUT_LRCK"),
 888                 MTK_FUNCTION(7, "DBG_MON_B[28]")
 889         ),
 890         MTK_PIN(PINCTRL_PIN(107, "MSDC1_DAT0"),
 891                 NULL, "mt2701",
 892                 MTK_EINT_FUNCTION(0, 80),
 893                 MTK_FUNCTION(0, "GPIO107"),
 894                 MTK_FUNCTION(1, "MSDC1_DAT0"),
 895                 MTK_FUNCTION(2, "ANT_SEL2"),
 896                 MTK_FUNCTION(5, "UTXD0"),
 897                 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
 898                 MTK_FUNCTION(7, "DBG_MON_B[26]")
 899         ),
 900         MTK_PIN(PINCTRL_PIN(108, "MSDC1_DAT1"),
 901                 NULL, "mt2701",
 902                 MTK_EINT_FUNCTION(0, 81),
 903                 MTK_FUNCTION(0, "GPIO108"),
 904                 MTK_FUNCTION(1, "MSDC1_DAT1"),
 905                 MTK_FUNCTION(2, "ANT_SEL3"),
 906                 MTK_FUNCTION(3, "PWM0"),
 907                 MTK_FUNCTION(5, "URXD0"),
 908                 MTK_FUNCTION(6, "PWM1"),
 909                 MTK_FUNCTION(7, "DBG_MON_B[25]")
 910         ),
 911         MTK_PIN(PINCTRL_PIN(109, "MSDC1_DAT2"),
 912                 NULL, "mt2701",
 913                 MTK_EINT_FUNCTION(0, 82),
 914                 MTK_FUNCTION(0, "GPIO109"),
 915                 MTK_FUNCTION(1, "MSDC1_DAT2"),
 916                 MTK_FUNCTION(2, "ANT_SEL4"),
 917                 MTK_FUNCTION(3, "SDA2"),
 918                 MTK_FUNCTION(5, "UTXD1"),
 919                 MTK_FUNCTION(6, "PWM2"),
 920                 MTK_FUNCTION(7, "DBG_MON_B[24]")
 921         ),
 922         MTK_PIN(PINCTRL_PIN(110, "MSDC1_DAT3"),
 923                 NULL, "mt2701",
 924                 MTK_EINT_FUNCTION(0, 83),
 925                 MTK_FUNCTION(0, "GPIO110"),
 926                 MTK_FUNCTION(1, "MSDC1_DAT3"),
 927                 MTK_FUNCTION(2, "ANT_SEL5"),
 928                 MTK_FUNCTION(3, "SCL2"),
 929                 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
 930                 MTK_FUNCTION(5, "URXD1"),
 931                 MTK_FUNCTION(6, "PWM3"),
 932                 MTK_FUNCTION(7, "DBG_MON_B[23]")
 933         ),
 934         MTK_PIN(PINCTRL_PIN(111, "MSDC0_DAT7"),
 935                 NULL, "mt2701",
 936                 MTK_EINT_FUNCTION(0, 84),
 937                 MTK_FUNCTION(0, "GPIO111"),
 938                 MTK_FUNCTION(1, "MSDC0_DAT7"),
 939                 MTK_FUNCTION(4, "NLD7")
 940         ),
 941         MTK_PIN(PINCTRL_PIN(112, "MSDC0_DAT6"),
 942                 NULL, "mt2701",
 943                 MTK_EINT_FUNCTION(0, 85),
 944                 MTK_FUNCTION(0, "GPIO112"),
 945                 MTK_FUNCTION(1, "MSDC0_DAT6"),
 946                 MTK_FUNCTION(4, "NLD6")
 947         ),
 948         MTK_PIN(PINCTRL_PIN(113, "MSDC0_DAT5"),
 949                 NULL, "mt2701",
 950                 MTK_EINT_FUNCTION(0, 86),
 951                 MTK_FUNCTION(0, "GPIO113"),
 952                 MTK_FUNCTION(1, "MSDC0_DAT5"),
 953                 MTK_FUNCTION(4, "NLD5")
 954         ),
 955         MTK_PIN(PINCTRL_PIN(114, "MSDC0_DAT4"),
 956                 NULL, "mt2701",
 957                 MTK_EINT_FUNCTION(0, 87),
 958                 MTK_FUNCTION(0, "GPIO114"),
 959                 MTK_FUNCTION(1, "MSDC0_DAT4"),
 960                 MTK_FUNCTION(4, "NLD4")
 961         ),
 962         MTK_PIN(PINCTRL_PIN(115, "MSDC0_RSTB"),
 963                 NULL, "mt2701",
 964                 MTK_EINT_FUNCTION(0, 88),
 965                 MTK_FUNCTION(0, "GPIO115"),
 966                 MTK_FUNCTION(1, "MSDC0_RSTB"),
 967                 MTK_FUNCTION(4, "NLD8")
 968         ),
 969         MTK_PIN(PINCTRL_PIN(116, "MSDC0_CMD"),
 970                 NULL, "mt2701",
 971                 MTK_EINT_FUNCTION(0, 89),
 972                 MTK_FUNCTION(0, "GPIO116"),
 973                 MTK_FUNCTION(1, "MSDC0_CMD"),
 974                 MTK_FUNCTION(4, "NALE")
 975         ),
 976         MTK_PIN(PINCTRL_PIN(117, "MSDC0_CLK"),
 977                 NULL, "mt2701",
 978                 MTK_EINT_FUNCTION(0, 90),
 979                 MTK_FUNCTION(0, "GPIO117"),
 980                 MTK_FUNCTION(1, "MSDC0_CLK"),
 981                 MTK_FUNCTION(4, "NWEB")
 982         ),
 983         MTK_PIN(PINCTRL_PIN(118, "MSDC0_DAT3"),
 984                 NULL, "mt2701",
 985                 MTK_EINT_FUNCTION(0, 91),
 986                 MTK_FUNCTION(0, "GPIO118"),
 987                 MTK_FUNCTION(1, "MSDC0_DAT3"),
 988                 MTK_FUNCTION(4, "NLD3")
 989         ),
 990         MTK_PIN(PINCTRL_PIN(119, "MSDC0_DAT2"),
 991                 NULL, "mt2701",
 992                 MTK_EINT_FUNCTION(0, 92),
 993                 MTK_FUNCTION(0, "GPIO119"),
 994                 MTK_FUNCTION(1, "MSDC0_DAT2"),
 995                 MTK_FUNCTION(4, "NLD2")
 996         ),
 997         MTK_PIN(PINCTRL_PIN(120, "MSDC0_DAT1"),
 998                 NULL, "mt2701",
 999                 MTK_EINT_FUNCTION(0, 93),
1000                 MTK_FUNCTION(0, "GPIO120"),
1001                 MTK_FUNCTION(1, "MSDC0_DAT1"),
1002                 MTK_FUNCTION(4, "NLD1")
1003         ),
1004         MTK_PIN(PINCTRL_PIN(121, "MSDC0_DAT0"),
1005                 NULL, "mt2701",
1006                 MTK_EINT_FUNCTION(0, 94),
1007                 MTK_FUNCTION(0, "GPIO121"),
1008                 MTK_FUNCTION(1, "MSDC0_DAT0"),
1009                 MTK_FUNCTION(4, "NLD0"),
1010                 MTK_FUNCTION(5, "WATCHDOG")
1011         ),
1012         MTK_PIN(PINCTRL_PIN(122, "CEC"),
1013                 NULL, "mt2701",
1014                 MTK_EINT_FUNCTION(0, 95),
1015                 MTK_FUNCTION(0, "GPIO122"),
1016                 MTK_FUNCTION(1, "CEC"),
1017                 MTK_FUNCTION(4, "SDA2"),
1018                 MTK_FUNCTION(5, "URXD0")
1019         ),
1020         MTK_PIN(PINCTRL_PIN(123, "HTPLG"),
1021                 NULL, "mt2701",
1022                 MTK_EINT_FUNCTION(0, 96),
1023                 MTK_FUNCTION(0, "GPIO123"),
1024                 MTK_FUNCTION(1, "HTPLG"),
1025                 MTK_FUNCTION(4, "SCL2"),
1026                 MTK_FUNCTION(5, "UTXD0")
1027         ),
1028         MTK_PIN(PINCTRL_PIN(124, "HDMISCK"),
1029                 NULL, "mt2701",
1030                 MTK_EINT_FUNCTION(0, 97),
1031                 MTK_FUNCTION(0, "GPIO124"),
1032                 MTK_FUNCTION(1, "HDMISCK"),
1033                 MTK_FUNCTION(4, "SDA1"),
1034                 MTK_FUNCTION(5, "PWM3")
1035         ),
1036         MTK_PIN(PINCTRL_PIN(125, "HDMISD"),
1037                 NULL, "mt2701",
1038                 MTK_EINT_FUNCTION(0, 98),
1039                 MTK_FUNCTION(0, "GPIO125"),
1040                 MTK_FUNCTION(1, "HDMISD"),
1041                 MTK_FUNCTION(4, "SCL1"),
1042                 MTK_FUNCTION(5, "PWM4")
1043         ),
1044         MTK_PIN(PINCTRL_PIN(126, "I2S0_MCLK"),
1045                 NULL, "mt2701",
1046                 MTK_EINT_FUNCTION(0, 99),
1047                 MTK_FUNCTION(0, "GPIO126"),
1048                 MTK_FUNCTION(1, "I2S0_MCLK"),
1049                 MTK_FUNCTION(6, "WCN_I2S_MCLK"),
1050                 MTK_FUNCTION(7, "DBG_MON_B[6]")
1051         ),
1052         MTK_PIN(PINCTRL_PIN(127, "RAMBUF_IDATA0"),
1053                 NULL, "mt2701",
1054                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1055                 MTK_FUNCTION(0, "GPIO127"),
1056                 MTK_FUNCTION(1, "RAMBUF_IDATA0")
1057         ),
1058         MTK_PIN(PINCTRL_PIN(128, "RAMBUF_IDATA1"),
1059                 NULL, "mt2701",
1060                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1061                 MTK_FUNCTION(0, "GPIO128"),
1062                 MTK_FUNCTION(1, "RAMBUF_IDATA1")
1063         ),
1064         MTK_PIN(PINCTRL_PIN(129, "RAMBUF_IDATA2"),
1065                 NULL, "mt2701",
1066                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1067                 MTK_FUNCTION(0, "GPIO129"),
1068                 MTK_FUNCTION(1, "RAMBUF_IDATA2")
1069         ),
1070         MTK_PIN(PINCTRL_PIN(130, "RAMBUF_IDATA3"),
1071                 NULL, "mt2701",
1072                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1073                 MTK_FUNCTION(0, "GPIO130"),
1074                 MTK_FUNCTION(1, "RAMBUF_IDATA3")
1075         ),
1076         MTK_PIN(PINCTRL_PIN(131, "RAMBUF_IDATA4"),
1077                 NULL, "mt2701",
1078                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1079                 MTK_FUNCTION(0, "GPIO131"),
1080                 MTK_FUNCTION(1, "RAMBUF_IDATA4")
1081         ),
1082         MTK_PIN(PINCTRL_PIN(132, "RAMBUF_IDATA5"),
1083                 NULL, "mt2701",
1084                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1085                 MTK_FUNCTION(0, "GPIO132"),
1086                 MTK_FUNCTION(1, "RAMBUF_IDATA5")
1087         ),
1088         MTK_PIN(PINCTRL_PIN(133, "RAMBUF_IDATA6"),
1089                 NULL, "mt2701",
1090                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1091                 MTK_FUNCTION(0, "GPIO133"),
1092                 MTK_FUNCTION(1, "RAMBUF_IDATA6")
1093         ),
1094         MTK_PIN(PINCTRL_PIN(134, "RAMBUF_IDATA7"),
1095                 NULL, "mt2701",
1096                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1097                 MTK_FUNCTION(0, "GPIO134"),
1098                 MTK_FUNCTION(1, "RAMBUF_IDATA7")
1099         ),
1100         MTK_PIN(PINCTRL_PIN(135, "RAMBUF_IDATA8"),
1101                 NULL, "mt2701",
1102                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1103                 MTK_FUNCTION(0, "GPIO135"),
1104                 MTK_FUNCTION(1, "RAMBUF_IDATA8")
1105         ),
1106         MTK_PIN(PINCTRL_PIN(136, "RAMBUF_IDATA9"),
1107                 NULL, "mt2701",
1108                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1109                 MTK_FUNCTION(0, "GPIO136"),
1110                 MTK_FUNCTION(1, "RAMBUF_IDATA9")
1111         ),
1112         MTK_PIN(PINCTRL_PIN(137, "RAMBUF_IDATA10"),
1113                 NULL, "mt2701",
1114                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1115                 MTK_FUNCTION(0, "GPIO137"),
1116                 MTK_FUNCTION(1, "RAMBUF_IDATA10")
1117         ),
1118         MTK_PIN(PINCTRL_PIN(138, "RAMBUF_IDATA11"),
1119                 NULL, "mt2701",
1120                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1121                 MTK_FUNCTION(0, "GPIO138"),
1122                 MTK_FUNCTION(1, "RAMBUF_IDATA11")
1123         ),
1124         MTK_PIN(PINCTRL_PIN(139, "RAMBUF_IDATA12"),
1125                 NULL, "mt2701",
1126                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1127                 MTK_FUNCTION(0, "GPIO139"),
1128                 MTK_FUNCTION(1, "RAMBUF_IDATA12")
1129         ),
1130         MTK_PIN(PINCTRL_PIN(140, "RAMBUF_IDATA13"),
1131                 NULL, "mt2701",
1132                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1133                 MTK_FUNCTION(0, "GPIO140"),
1134                 MTK_FUNCTION(1, "RAMBUF_IDATA13")
1135         ),
1136         MTK_PIN(PINCTRL_PIN(141, "RAMBUF_IDATA14"),
1137                 NULL, "mt2701",
1138                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1139                 MTK_FUNCTION(0, "GPIO141"),
1140                 MTK_FUNCTION(1, "RAMBUF_IDATA14")
1141         ),
1142         MTK_PIN(PINCTRL_PIN(142, "RAMBUF_IDATA15"),
1143                 NULL, "mt2701",
1144                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1145                 MTK_FUNCTION(0, "GPIO142"),
1146                 MTK_FUNCTION(1, "RAMBUF_IDATA15")
1147         ),
1148         MTK_PIN(PINCTRL_PIN(143, "RAMBUF_ODATA0"),
1149                 NULL, "mt2701",
1150                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1151                 MTK_FUNCTION(0, "GPIO143"),
1152                 MTK_FUNCTION(1, "RAMBUF_ODATA0")
1153         ),
1154         MTK_PIN(PINCTRL_PIN(144, "RAMBUF_ODATA1"),
1155                 NULL, "mt2701",
1156                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1157                 MTK_FUNCTION(0, "GPIO144"),
1158                 MTK_FUNCTION(1, "RAMBUF_ODATA1")
1159         ),
1160         MTK_PIN(PINCTRL_PIN(145, "RAMBUF_ODATA2"),
1161                 NULL, "mt2701",
1162                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1163                 MTK_FUNCTION(0, "GPIO145"),
1164                 MTK_FUNCTION(1, "RAMBUF_ODATA2")
1165         ),
1166         MTK_PIN(PINCTRL_PIN(146, "RAMBUF_ODATA3"),
1167                 NULL, "mt2701",
1168                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1169                 MTK_FUNCTION(0, "GPIO146"),
1170                 MTK_FUNCTION(1, "RAMBUF_ODATA3")
1171         ),
1172         MTK_PIN(PINCTRL_PIN(147, "RAMBUF_ODATA4"),
1173                 NULL, "mt2701",
1174                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1175                 MTK_FUNCTION(0, "GPIO147"),
1176                 MTK_FUNCTION(1, "RAMBUF_ODATA4")
1177         ),
1178         MTK_PIN(PINCTRL_PIN(148, "RAMBUF_ODATA5"),
1179                 NULL, "mt2701",
1180                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1181                 MTK_FUNCTION(0, "GPIO148"),
1182                 MTK_FUNCTION(1, "RAMBUF_ODATA5")
1183         ),
1184         MTK_PIN(PINCTRL_PIN(149, "RAMBUF_ODATA6"),
1185                 NULL, "mt2701",
1186                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1187                 MTK_FUNCTION(0, "GPIO149"),
1188                 MTK_FUNCTION(1, "RAMBUF_ODATA6")
1189         ),
1190         MTK_PIN(PINCTRL_PIN(150, "RAMBUF_ODATA7"),
1191                 NULL, "mt2701",
1192                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1193                 MTK_FUNCTION(0, "GPIO150"),
1194                 MTK_FUNCTION(1, "RAMBUF_ODATA7")
1195         ),
1196         MTK_PIN(PINCTRL_PIN(151, "RAMBUF_ODATA8"),
1197                 NULL, "mt2701",
1198                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1199                 MTK_FUNCTION(0, "GPIO151"),
1200                 MTK_FUNCTION(1, "RAMBUF_ODATA8")
1201         ),
1202         MTK_PIN(PINCTRL_PIN(152, "RAMBUF_ODATA9"),
1203                 NULL, "mt2701",
1204                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1205                 MTK_FUNCTION(0, "GPIO152"),
1206                 MTK_FUNCTION(1, "RAMBUF_ODATA9")
1207         ),
1208         MTK_PIN(PINCTRL_PIN(153, "RAMBUF_ODATA10"),
1209                 NULL, "mt2701",
1210                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1211                 MTK_FUNCTION(0, "GPIO153"),
1212                 MTK_FUNCTION(1, "RAMBUF_ODATA10")
1213         ),
1214         MTK_PIN(PINCTRL_PIN(154, "RAMBUF_ODATA11"),
1215                 NULL, "mt2701",
1216                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1217                 MTK_FUNCTION(0, "GPIO154"),
1218                 MTK_FUNCTION(1, "RAMBUF_ODATA11")
1219         ),
1220         MTK_PIN(PINCTRL_PIN(155, "RAMBUF_ODATA12"),
1221                 NULL, "mt2701",
1222                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1223                 MTK_FUNCTION(0, "GPIO155"),
1224                 MTK_FUNCTION(1, "RAMBUF_ODATA12")
1225         ),
1226         MTK_PIN(PINCTRL_PIN(156, "RAMBUF_ODATA13"),
1227                 NULL, "mt2701",
1228                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1229                 MTK_FUNCTION(0, "GPIO156"),
1230                 MTK_FUNCTION(1, "RAMBUF_ODATA13")
1231         ),
1232         MTK_PIN(PINCTRL_PIN(157, "RAMBUF_ODATA14"),
1233                 NULL, "mt2701",
1234                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1235                 MTK_FUNCTION(0, "GPIO157"),
1236                 MTK_FUNCTION(1, "RAMBUF_ODATA14")
1237         ),
1238         MTK_PIN(PINCTRL_PIN(158, "RAMBUF_ODATA15"),
1239                 NULL, "mt2701",
1240                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1241                 MTK_FUNCTION(0, "GPIO158"),
1242                 MTK_FUNCTION(1, "RAMBUF_ODATA15")
1243         ),
1244         MTK_PIN(PINCTRL_PIN(159, "RAMBUF_BE0"),
1245                 NULL, "mt2701",
1246                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1247                 MTK_FUNCTION(0, "GPIO159"),
1248                 MTK_FUNCTION(1, "RAMBUF_BE0")
1249         ),
1250         MTK_PIN(PINCTRL_PIN(160, "RAMBUF_BE1"),
1251                 NULL, "mt2701",
1252                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1253                 MTK_FUNCTION(0, "GPIO160"),
1254                 MTK_FUNCTION(1, "RAMBUF_BE1")
1255         ),
1256         MTK_PIN(PINCTRL_PIN(161, "AP2PT_INT"),
1257                 NULL, "mt2701",
1258                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1259                 MTK_FUNCTION(0, "GPIO161"),
1260                 MTK_FUNCTION(1, "AP2PT_INT")
1261         ),
1262         MTK_PIN(PINCTRL_PIN(162, "AP2PT_INT_CLR"),
1263                 NULL, "mt2701",
1264                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1265                 MTK_FUNCTION(0, "GPIO162"),
1266                 MTK_FUNCTION(1, "AP2PT_INT_CLR")
1267         ),
1268         MTK_PIN(PINCTRL_PIN(163, "PT2AP_INT"),
1269                 NULL, "mt2701",
1270                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1271                 MTK_FUNCTION(0, "GPIO163"),
1272                 MTK_FUNCTION(1, "PT2AP_INT")
1273         ),
1274         MTK_PIN(PINCTRL_PIN(164, "PT2AP_INT_CLR"),
1275                 NULL, "mt2701",
1276                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1277                 MTK_FUNCTION(0, "GPIO164"),
1278                 MTK_FUNCTION(1, "PT2AP_INT_CLR")
1279         ),
1280         MTK_PIN(PINCTRL_PIN(165, "AP2UP_INT"),
1281                 NULL, "mt2701",
1282                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1283                 MTK_FUNCTION(0, "GPIO165"),
1284                 MTK_FUNCTION(1, "AP2UP_INT")
1285         ),
1286         MTK_PIN(PINCTRL_PIN(166, "AP2UP_INT_CLR"),
1287                 NULL, "mt2701",
1288                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1289                 MTK_FUNCTION(0, "GPIO166"),
1290                 MTK_FUNCTION(1, "AP2UP_INT_CLR")
1291         ),
1292         MTK_PIN(PINCTRL_PIN(167, "UP2AP_INT"),
1293                 NULL, "mt2701",
1294                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1295                 MTK_FUNCTION(0, "GPIO167"),
1296                 MTK_FUNCTION(1, "UP2AP_INT")
1297         ),
1298         MTK_PIN(PINCTRL_PIN(168, "UP2AP_INT_CLR"),
1299                 NULL, "mt2701",
1300                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1301                 MTK_FUNCTION(0, "GPIO168"),
1302                 MTK_FUNCTION(1, "UP2AP_INT_CLR")
1303         ),
1304         MTK_PIN(PINCTRL_PIN(169, "RAMBUF_ADDR0"),
1305                 NULL, "mt2701",
1306                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1307                 MTK_FUNCTION(0, "GPIO169"),
1308                 MTK_FUNCTION(1, "RAMBUF_ADDR0")
1309         ),
1310         MTK_PIN(PINCTRL_PIN(170, "RAMBUF_ADDR1"),
1311                 NULL, "mt2701",
1312                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1313                 MTK_FUNCTION(0, "GPIO170"),
1314                 MTK_FUNCTION(1, "RAMBUF_ADDR1")
1315         ),
1316         MTK_PIN(PINCTRL_PIN(171, "RAMBUF_ADDR2"),
1317                 NULL, "mt2701",
1318                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1319                 MTK_FUNCTION(0, "GPIO171"),
1320                 MTK_FUNCTION(1, "RAMBUF_ADDR2")
1321         ),
1322         MTK_PIN(PINCTRL_PIN(172, "RAMBUF_ADDR3"),
1323                 NULL, "mt2701",
1324                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1325                 MTK_FUNCTION(0, "GPIO172"),
1326                 MTK_FUNCTION(1, "RAMBUF_ADDR3")
1327         ),
1328         MTK_PIN(PINCTRL_PIN(173, "RAMBUF_ADDR4"),
1329                 NULL, "mt2701",
1330                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1331                 MTK_FUNCTION(0, "GPIO173"),
1332                 MTK_FUNCTION(1, "RAMBUF_ADDR4")
1333         ),
1334         MTK_PIN(PINCTRL_PIN(174, "RAMBUF_ADDR5"),
1335                 NULL, "mt2701",
1336                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1337                 MTK_FUNCTION(0, "GPIO174"),
1338                 MTK_FUNCTION(1, "RAMBUF_ADDR5")
1339         ),
1340         MTK_PIN(PINCTRL_PIN(175, "RAMBUF_ADDR6"),
1341                 NULL, "mt2701",
1342                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1343                 MTK_FUNCTION(0, "GPIO175"),
1344                 MTK_FUNCTION(1, "RAMBUF_ADDR6")
1345         ),
1346         MTK_PIN(PINCTRL_PIN(176, "RAMBUF_ADDR7"),
1347                 NULL, "mt2701",
1348                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1349                 MTK_FUNCTION(0, "GPIO176"),
1350                 MTK_FUNCTION(1, "RAMBUF_ADDR7")
1351         ),
1352         MTK_PIN(PINCTRL_PIN(177, "RAMBUF_ADDR8"),
1353                 NULL, "mt2701",
1354                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1355                 MTK_FUNCTION(0, "GPIO177"),
1356                 MTK_FUNCTION(1, "RAMBUF_ADDR8")
1357         ),
1358         MTK_PIN(PINCTRL_PIN(178, "RAMBUF_ADDR9"),
1359                 NULL, "mt2701",
1360                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1361                 MTK_FUNCTION(0, "GPIO178"),
1362                 MTK_FUNCTION(1, "RAMBUF_ADDR9")
1363         ),
1364         MTK_PIN(PINCTRL_PIN(179, "RAMBUF_ADDR10"),
1365                 NULL, "mt2701",
1366                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1367                 MTK_FUNCTION(0, "GPIO179"),
1368                 MTK_FUNCTION(1, "RAMBUF_ADDR10")
1369         ),
1370         MTK_PIN(PINCTRL_PIN(180, "RAMBUF_RW"),
1371                 NULL, "mt2701",
1372                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1373                 MTK_FUNCTION(0, "GPIO180"),
1374                 MTK_FUNCTION(1, "RAMBUF_RW")
1375         ),
1376         MTK_PIN(PINCTRL_PIN(181, "RAMBUF_LAST"),
1377                 NULL, "mt2701",
1378                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1379                 MTK_FUNCTION(0, "GPIO181"),
1380                 MTK_FUNCTION(1, "RAMBUF_LAST")
1381         ),
1382         MTK_PIN(PINCTRL_PIN(182, "RAMBUF_HP"),
1383                 NULL, "mt2701",
1384                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1385                 MTK_FUNCTION(0, "GPIO182"),
1386                 MTK_FUNCTION(1, "RAMBUF_HP")
1387         ),
1388         MTK_PIN(PINCTRL_PIN(183, "RAMBUF_REQ"),
1389                 NULL, "mt2701",
1390                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1391                 MTK_FUNCTION(0, "GPIO183"),
1392                 MTK_FUNCTION(1, "RAMBUF_REQ")
1393         ),
1394         MTK_PIN(PINCTRL_PIN(184, "RAMBUF_ALE"),
1395                 NULL, "mt2701",
1396                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1397                 MTK_FUNCTION(0, "GPIO184"),
1398                 MTK_FUNCTION(1, "RAMBUF_ALE")
1399         ),
1400         MTK_PIN(PINCTRL_PIN(185, "RAMBUF_DLE"),
1401                 NULL, "mt2701",
1402                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1403                 MTK_FUNCTION(0, "GPIO185"),
1404                 MTK_FUNCTION(1, "RAMBUF_DLE")
1405         ),
1406         MTK_PIN(PINCTRL_PIN(186, "RAMBUF_WDLE"),
1407                 NULL, "mt2701",
1408                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1409                 MTK_FUNCTION(0, "GPIO186"),
1410                 MTK_FUNCTION(1, "RAMBUF_WDLE")
1411         ),
1412         MTK_PIN(PINCTRL_PIN(187, "RAMBUF_O_CLK"),
1413                 NULL, "mt2701",
1414                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1415                 MTK_FUNCTION(0, "GPIO187"),
1416                 MTK_FUNCTION(1, "RAMBUF_O_CLK")
1417         ),
1418         MTK_PIN(PINCTRL_PIN(188, "I2S2_MCLK"),
1419                 NULL, "mt2701",
1420                 MTK_EINT_FUNCTION(0, 100),
1421                 MTK_FUNCTION(0, "GPIO188"),
1422                 MTK_FUNCTION(1, "I2S2_MCLK")
1423         ),
1424         MTK_PIN(PINCTRL_PIN(189, "I2S3_DATA"),
1425                 NULL, "mt2701",
1426                 MTK_EINT_FUNCTION(0, 101),
1427                 MTK_FUNCTION(0, "GPIO189"),
1428                 MTK_FUNCTION(2, "I2S3_DATA_BYPS"),
1429                 MTK_FUNCTION(3, "PCM_TX")
1430         ),
1431         MTK_PIN(PINCTRL_PIN(190, "I2S3_DATA_IN"),
1432                 NULL, "mt2701",
1433                 MTK_EINT_FUNCTION(0, 102),
1434                 MTK_FUNCTION(0, "GPIO190"),
1435                 MTK_FUNCTION(1, "I2S3_DATA_IN"),
1436                 MTK_FUNCTION(3, "PCM_RX")
1437         ),
1438         MTK_PIN(PINCTRL_PIN(191, "I2S3_BCK"),
1439                 NULL, "mt2701",
1440                 MTK_EINT_FUNCTION(0, 103),
1441                 MTK_FUNCTION(0, "GPIO191"),
1442                 MTK_FUNCTION(1, "I2S3_BCK"),
1443                 MTK_FUNCTION(3, "PCM_CLK0")
1444         ),
1445         MTK_PIN(PINCTRL_PIN(192, "I2S3_LRCK"),
1446                 NULL, "mt2701",
1447                 MTK_EINT_FUNCTION(0, 104),
1448                 MTK_FUNCTION(0, "GPIO192"),
1449                 MTK_FUNCTION(1, "I2S3_LRCK"),
1450                 MTK_FUNCTION(3, "PCM_SYNC")
1451         ),
1452         MTK_PIN(PINCTRL_PIN(193, "I2S3_MCLK"),
1453                 NULL, "mt2701",
1454                 MTK_EINT_FUNCTION(0, 105),
1455                 MTK_FUNCTION(0, "GPIO193"),
1456                 MTK_FUNCTION(1, "I2S3_MCLK")
1457         ),
1458         MTK_PIN(PINCTRL_PIN(194, "I2S4_DATA"),
1459                 NULL, "mt2701",
1460                 MTK_EINT_FUNCTION(0, 106),
1461                 MTK_FUNCTION(0, "GPIO194"),
1462                 MTK_FUNCTION(1, "I2S4_DATA"),
1463                 MTK_FUNCTION(2, "I2S4_DATA_BYPS"),
1464                 MTK_FUNCTION(3, "PCM_TX")
1465         ),
1466         MTK_PIN(PINCTRL_PIN(195, "I2S4_DATA_IN"),
1467                 NULL, "mt2701",
1468                 MTK_EINT_FUNCTION(0, 107),
1469                 MTK_FUNCTION(0, "GPIO195"),
1470                 MTK_FUNCTION(1, "I2S4_DATA_IN"),
1471                 MTK_FUNCTION(3, "PCM_RX")
1472         ),
1473         MTK_PIN(PINCTRL_PIN(196, "I2S4_BCK"),
1474                 NULL, "mt2701",
1475                 MTK_EINT_FUNCTION(0, 108),
1476                 MTK_FUNCTION(0, "GPIO196"),
1477                 MTK_FUNCTION(1, "I2S4_BCK"),
1478                 MTK_FUNCTION(3, "PCM_CLK0")
1479         ),
1480         MTK_PIN(PINCTRL_PIN(197, "I2S4_LRCK"),
1481                 NULL, "mt2701",
1482                 MTK_EINT_FUNCTION(0, 109),
1483                 MTK_FUNCTION(0, "GPIO197"),
1484                 MTK_FUNCTION(1, "I2S4_LRCK"),
1485                 MTK_FUNCTION(3, "PCM_SYNC")
1486         ),
1487         MTK_PIN(PINCTRL_PIN(198, "I2S4_MCLK"),
1488                 NULL, "mt2701",
1489                 MTK_EINT_FUNCTION(0, 110),
1490                 MTK_FUNCTION(0, "GPIO198"),
1491                 MTK_FUNCTION(1, "I2S4_MCLK")
1492         ),
1493         MTK_PIN(PINCTRL_PIN(199, "SPI1_CLK"),
1494                 NULL, "mt2701",
1495                 MTK_EINT_FUNCTION(0, 111),
1496                 MTK_FUNCTION(0, "GPIO199"),
1497                 MTK_FUNCTION(1, "SPI1_CK"),
1498                 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1499                 MTK_FUNCTION(4, "KCOL3"),
1500                 MTK_FUNCTION(7, "DBG_MON_B[15]")
1501         ),
1502         MTK_PIN(PINCTRL_PIN(200, "SPDIF_OUT"),
1503                 NULL, "mt2701",
1504                 MTK_EINT_FUNCTION(0, 112),
1505                 MTK_FUNCTION(0, "GPIO200"),
1506                 MTK_FUNCTION(1, "SPDIF_OUT"),
1507                 MTK_FUNCTION(5, "G1_TXD3"),
1508                 MTK_FUNCTION(6, "URXD2"),
1509                 MTK_FUNCTION(7, "DBG_MON_B[16]")
1510         ),
1511         MTK_PIN(PINCTRL_PIN(201, "SPDIF_IN0"),
1512                 NULL, "mt2701",
1513                 MTK_EINT_FUNCTION(0, 113),
1514                 MTK_FUNCTION(0, "GPIO201"),
1515                 MTK_FUNCTION(1, "SPDIF_IN0"),
1516                 MTK_FUNCTION(5, "G1_TXEN"),
1517                 MTK_FUNCTION(6, "UTXD2"),
1518                 MTK_FUNCTION(7, "DBG_MON_B[17]")
1519         ),
1520         MTK_PIN(PINCTRL_PIN(202, "SPDIF_IN1"),
1521                 NULL, "mt2701",
1522                 MTK_EINT_FUNCTION(0, 114),
1523                 MTK_FUNCTION(0, "GPIO202"),
1524                 MTK_FUNCTION(1, "SPDIF_IN1")
1525         ),
1526         MTK_PIN(PINCTRL_PIN(203, "PWM0"),
1527                 NULL, "mt2701",
1528                 MTK_EINT_FUNCTION(0, 115),
1529                 MTK_FUNCTION(0, "GPIO203"),
1530                 MTK_FUNCTION(1, "PWM0"),
1531                 MTK_FUNCTION(2, "DISP_PWM"),
1532                 MTK_FUNCTION(5, "G1_TXD2"),
1533                 MTK_FUNCTION(7, "DBG_MON_B[18]"),
1534                 MTK_FUNCTION(9, "I2S2_DATA")
1535         ),
1536         MTK_PIN(PINCTRL_PIN(204, "PWM1"),
1537                 NULL, "mt2701",
1538                 MTK_EINT_FUNCTION(0, 116),
1539                 MTK_FUNCTION(0, "GPIO204"),
1540                 MTK_FUNCTION(1, "PWM1"),
1541                 MTK_FUNCTION(2, "CLKM3"),
1542                 MTK_FUNCTION(5, "G1_TXD1"),
1543                 MTK_FUNCTION(7, "DBG_MON_B[19]"),
1544                 MTK_FUNCTION(9, "I2S3_DATA")
1545         ),
1546         MTK_PIN(PINCTRL_PIN(205, "PWM2"),
1547                 NULL, "mt2701",
1548                 MTK_EINT_FUNCTION(0, 117),
1549                 MTK_FUNCTION(0, "GPIO205"),
1550                 MTK_FUNCTION(1, "PWM2"),
1551                 MTK_FUNCTION(2, "CLKM2"),
1552                 MTK_FUNCTION(5, "G1_TXD0"),
1553                 MTK_FUNCTION(7, "DBG_MON_B[20]")
1554         ),
1555         MTK_PIN(PINCTRL_PIN(206, "PWM3"),
1556                 NULL, "mt2701",
1557                 MTK_EINT_FUNCTION(0, 118),
1558                 MTK_FUNCTION(0, "GPIO206"),
1559                 MTK_FUNCTION(1, "PWM3"),
1560                 MTK_FUNCTION(2, "CLKM1"),
1561                 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1562                 MTK_FUNCTION(5, "G1_TXC"),
1563                 MTK_FUNCTION(7, "DBG_MON_B[21]")
1564         ),
1565         MTK_PIN(PINCTRL_PIN(207, "PWM4"),
1566                 NULL, "mt2701",
1567                 MTK_EINT_FUNCTION(0, 119),
1568                 MTK_FUNCTION(0, "GPIO207"),
1569                 MTK_FUNCTION(1, "PWM4"),
1570                 MTK_FUNCTION(2, "CLKM0"),
1571                 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1572                 MTK_FUNCTION(5, "G1_RXC"),
1573                 MTK_FUNCTION(7, "DBG_MON_B[22]")
1574         ),
1575         MTK_PIN(PINCTRL_PIN(208, "AUD_EXT_CK1"),
1576                 NULL, "mt2701",
1577                 MTK_EINT_FUNCTION(0, 120),
1578                 MTK_FUNCTION(0, "GPIO208"),
1579                 MTK_FUNCTION(1, "AUD_EXT_CK1"),
1580                 MTK_FUNCTION(2, "PWM0"),
1581                 /* MT7623 take function 3 as PCIE0_PERST_N */
1582                 MTK_FUNCTION(3, "PCIE0_PERST_N"),
1583                 MTK_FUNCTION(4, "ANT_SEL5"),
1584                 MTK_FUNCTION(5, "DISP_PWM"),
1585                 MTK_FUNCTION(7, "DBG_MON_A[31]"),
1586                 MTK_FUNCTION(11, "PCIE0_PERST_N")
1587         ),
1588         MTK_PIN(PINCTRL_PIN(209, "AUD_EXT_CK2"),
1589                 NULL, "mt2701",
1590                 MTK_EINT_FUNCTION(0, 121),
1591                 MTK_FUNCTION(0, "GPIO209"),
1592                 MTK_FUNCTION(1, "AUD_EXT_CK2"),
1593                 MTK_FUNCTION(2, "MSDC1_WP"),
1594                 /* MT7623 take function 3 as PCIE1_PERST_N */
1595                 MTK_FUNCTION(3, "PCIE1_PERST_N"),
1596                 MTK_FUNCTION(5, "PWM1"),
1597                 MTK_FUNCTION(7, "DBG_MON_A[32]"),
1598                 MTK_FUNCTION(11, "PCIE1_PERST_N")
1599         ),
1600         MTK_PIN(PINCTRL_PIN(210, "AUD_CLOCK"),
1601                 NULL, "mt2701",
1602                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1603                 MTK_FUNCTION(0, "GPIO210"),
1604                 MTK_FUNCTION(1, "AUD_CLOCK")
1605         ),
1606         MTK_PIN(PINCTRL_PIN(211, "DVP_RESET"),
1607                 NULL, "mt2701",
1608                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1609                 MTK_FUNCTION(0, "GPIO211"),
1610                 MTK_FUNCTION(1, "DVP_RESET")
1611         ),
1612         MTK_PIN(PINCTRL_PIN(212, "DVP_CLOCK"),
1613                 NULL, "mt2701",
1614                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1615                 MTK_FUNCTION(0, "GPIO212"),
1616                 MTK_FUNCTION(1, "DVP_CLOCK")
1617         ),
1618         MTK_PIN(PINCTRL_PIN(213, "DVP_CS"),
1619                 NULL, "mt2701",
1620                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1621                 MTK_FUNCTION(0, "GPIO213"),
1622                 MTK_FUNCTION(1, "DVP_CS")
1623         ),
1624         MTK_PIN(PINCTRL_PIN(214, "DVP_CK"),
1625                 NULL, "mt2701",
1626                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1627                 MTK_FUNCTION(0, "GPIO214"),
1628                 MTK_FUNCTION(1, "DVP_CK")
1629         ),
1630         MTK_PIN(PINCTRL_PIN(215, "DVP_DI"),
1631                 NULL, "mt2701",
1632                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1633                 MTK_FUNCTION(0, "GPIO215"),
1634                 MTK_FUNCTION(1, "DVP_DI")
1635         ),
1636         MTK_PIN(PINCTRL_PIN(216, "DVP_DO"),
1637                 NULL, "mt2701",
1638                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1639                 MTK_FUNCTION(0, "GPIO216"),
1640                 MTK_FUNCTION(1, "DVP_DO")
1641         ),
1642         MTK_PIN(PINCTRL_PIN(217, "AP_CS"),
1643                 NULL, "mt2701",
1644                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1645                 MTK_FUNCTION(0, "GPIO217"),
1646                 MTK_FUNCTION(1, "AP_CS")
1647         ),
1648         MTK_PIN(PINCTRL_PIN(218, "AP_CK"),
1649                 NULL, "mt2701",
1650                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1651                 MTK_FUNCTION(0, "GPIO218"),
1652                 MTK_FUNCTION(1, "AP_CK")
1653         ),
1654         MTK_PIN(PINCTRL_PIN(219, "AP_DI"),
1655                 NULL, "mt2701",
1656                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1657                 MTK_FUNCTION(0, "GPIO219"),
1658                 MTK_FUNCTION(1, "AP_DI")
1659         ),
1660         MTK_PIN(PINCTRL_PIN(220, "AP_DO"),
1661                 NULL, "mt2701",
1662                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1663                 MTK_FUNCTION(0, "GPIO220"),
1664                 MTK_FUNCTION(1, "AP_DO")
1665         ),
1666         MTK_PIN(PINCTRL_PIN(221, "DVD_BCLK"),
1667                 NULL, "mt2701",
1668                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1669                 MTK_FUNCTION(0, "GPIO221"),
1670                 MTK_FUNCTION(1, "DVD_BCLK")
1671         ),
1672         MTK_PIN(PINCTRL_PIN(222, "T8032_CLK"),
1673                 NULL, "mt2701",
1674                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1675                 MTK_FUNCTION(0, "GPIO222"),
1676                 MTK_FUNCTION(1, "T8032_CLK")
1677         ),
1678         MTK_PIN(PINCTRL_PIN(223, "AP_BCLK"),
1679                 NULL, "mt2701",
1680                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1681                 MTK_FUNCTION(0, "GPIO223"),
1682                 MTK_FUNCTION(1, "AP_BCLK")
1683         ),
1684         MTK_PIN(PINCTRL_PIN(224, "HOST_CS"),
1685                 NULL, "mt2701",
1686                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1687                 MTK_FUNCTION(0, "GPIO224"),
1688                 MTK_FUNCTION(1, "HOST_CS")
1689         ),
1690         MTK_PIN(PINCTRL_PIN(225, "HOST_CK"),
1691                 NULL, "mt2701",
1692                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1693                 MTK_FUNCTION(0, "GPIO225"),
1694                 MTK_FUNCTION(1, "HOST_CK")
1695         ),
1696         MTK_PIN(PINCTRL_PIN(226, "HOST_DO0"),
1697                 NULL, "mt2701",
1698                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1699                 MTK_FUNCTION(0, "GPIO226"),
1700                 MTK_FUNCTION(1, "HOST_DO0")
1701         ),
1702         MTK_PIN(PINCTRL_PIN(227, "HOST_DO1"),
1703                 NULL, "mt2701",
1704                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1705                 MTK_FUNCTION(0, "GPIO227"),
1706                 MTK_FUNCTION(1, "HOST_DO1")
1707         ),
1708         MTK_PIN(PINCTRL_PIN(228, "SLV_CS"),
1709                 NULL, "mt2701",
1710                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1711                 MTK_FUNCTION(0, "GPIO228"),
1712                 MTK_FUNCTION(1, "SLV_CS")
1713         ),
1714         MTK_PIN(PINCTRL_PIN(229, "SLV_CK"),
1715                 NULL, "mt2701",
1716                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1717                 MTK_FUNCTION(0, "GPIO229"),
1718                 MTK_FUNCTION(1, "SLV_CK")
1719         ),
1720         MTK_PIN(PINCTRL_PIN(230, "SLV_DI0"),
1721                 NULL, "mt2701",
1722                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1723                 MTK_FUNCTION(0, "GPIO230"),
1724                 MTK_FUNCTION(1, "SLV_DI0")
1725         ),
1726         MTK_PIN(PINCTRL_PIN(231, "SLV_DI1"),
1727                 NULL, "mt2701",
1728                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1729                 MTK_FUNCTION(0, "GPIO231"),
1730                 MTK_FUNCTION(1, "SLV_DI1")
1731         ),
1732         MTK_PIN(PINCTRL_PIN(232, "AP2DSP_INT"),
1733                 NULL, "mt2701",
1734                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1735                 MTK_FUNCTION(0, "GPIO232"),
1736                 MTK_FUNCTION(1, "AP2DSP_INT")
1737         ),
1738         MTK_PIN(PINCTRL_PIN(233, "AP2DSP_INT_CLR"),
1739                 NULL, "mt2701",
1740                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1741                 MTK_FUNCTION(0, "GPIO233"),
1742                 MTK_FUNCTION(1, "AP2DSP_INT_CLR")
1743         ),
1744         MTK_PIN(PINCTRL_PIN(234, "DSP2AP_INT"),
1745                 NULL, "mt2701",
1746                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1747                 MTK_FUNCTION(0, "GPIO234"),
1748                 MTK_FUNCTION(1, "DSP2AP_INT")
1749         ),
1750         MTK_PIN(PINCTRL_PIN(235, "DSP2AP_INT_CLR"),
1751                 NULL, "mt2701",
1752                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1753                 MTK_FUNCTION(0, "GPIO235"),
1754                 MTK_FUNCTION(1, "DSP2AP_INT_CLR")
1755         ),
1756         MTK_PIN(PINCTRL_PIN(236, "EXT_SDIO3"),
1757                 NULL, "mt2701",
1758                 MTK_EINT_FUNCTION(0, 122),
1759                 MTK_FUNCTION(0, "GPIO236"),
1760                 MTK_FUNCTION(1, "EXT_SDIO3"),
1761                 MTK_FUNCTION(2, "IDDIG"),
1762                 MTK_FUNCTION(7, "DBG_MON_A[1]")
1763         ),
1764         MTK_PIN(PINCTRL_PIN(237, "EXT_SDIO2"),
1765                 NULL, "mt2701",
1766                 MTK_EINT_FUNCTION(0, 123),
1767                 MTK_FUNCTION(0, "GPIO237"),
1768                 MTK_FUNCTION(1, "EXT_SDIO2"),
1769                 MTK_FUNCTION(2, "DRV_VBUS")
1770         ),
1771         MTK_PIN(PINCTRL_PIN(238, "EXT_SDIO1"),
1772                 NULL, "mt2701",
1773                 MTK_EINT_FUNCTION(0, 124),
1774                 MTK_FUNCTION(0, "GPIO238"),
1775                 MTK_FUNCTION(1, "EXT_SDIO1"),
1776                 MTK_FUNCTION(2, "IDDIG_P1")
1777         ),
1778         MTK_PIN(PINCTRL_PIN(239, "EXT_SDIO0"),
1779                 NULL, "mt2701",
1780                 MTK_EINT_FUNCTION(0, 125),
1781                 MTK_FUNCTION(0, "GPIO239"),
1782                 MTK_FUNCTION(1, "EXT_SDIO0"),
1783                 MTK_FUNCTION(2, "DRV_VBUS_P1")
1784         ),
1785         MTK_PIN(PINCTRL_PIN(240, "EXT_XCS"),
1786                 NULL, "mt2701",
1787                 MTK_EINT_FUNCTION(0, 126),
1788                 MTK_FUNCTION(0, "GPIO240"),
1789                 MTK_FUNCTION(1, "EXT_XCS")
1790         ),
1791         MTK_PIN(PINCTRL_PIN(241, "EXT_SCK"),
1792                 NULL, "mt2701",
1793                 MTK_EINT_FUNCTION(0, 127),
1794                 MTK_FUNCTION(0, "GPIO241"),
1795                 MTK_FUNCTION(1, "EXT_SCK")
1796         ),
1797         MTK_PIN(PINCTRL_PIN(242, "URTS2"),
1798                 NULL, "mt2701",
1799                 MTK_EINT_FUNCTION(0, 128),
1800                 MTK_FUNCTION(0, "GPIO242"),
1801                 MTK_FUNCTION(1, "URTS2"),
1802                 MTK_FUNCTION(2, "UTXD3"),
1803                 MTK_FUNCTION(3, "URXD3"),
1804                 MTK_FUNCTION(4, "SCL1"),
1805                 MTK_FUNCTION(7, "DBG_MON_B[32]")
1806         ),
1807         MTK_PIN(PINCTRL_PIN(243, "UCTS2"),
1808                 NULL, "mt2701",
1809                 MTK_EINT_FUNCTION(0, 129),
1810                 MTK_FUNCTION(0, "GPIO243"),
1811                 MTK_FUNCTION(1, "UCTS2"),
1812                 MTK_FUNCTION(2, "URXD3"),
1813                 MTK_FUNCTION(3, "UTXD3"),
1814                 MTK_FUNCTION(4, "SDA1"),
1815                 MTK_FUNCTION(7, "DBG_MON_A[6]")
1816         ),
1817         MTK_PIN(PINCTRL_PIN(244, "HDMI_SDA_RX"),
1818                 NULL, "mt2701",
1819                 MTK_EINT_FUNCTION(0, 130),
1820                 MTK_FUNCTION(0, "GPIO244"),
1821                 MTK_FUNCTION(1, "HDMI_SDA_RX")
1822         ),
1823         MTK_PIN(PINCTRL_PIN(245, "HDMI_SCL_RX"),
1824                 NULL, "mt2701",
1825                 MTK_EINT_FUNCTION(0, 131),
1826                 MTK_FUNCTION(0, "GPIO245"),
1827                 MTK_FUNCTION(1, "HDMI_SCL_RX")
1828         ),
1829         MTK_PIN(PINCTRL_PIN(246, "MHL_SENCE"),
1830                 NULL, "mt2701",
1831                 MTK_EINT_FUNCTION(0, 132),
1832                 MTK_FUNCTION(0, "GPIO246")
1833         ),
1834         MTK_PIN(PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"),
1835                 NULL, "mt2701",
1836                 MTK_EINT_FUNCTION(0, 69),
1837                 MTK_FUNCTION(0, "GPIO247"),
1838                 MTK_FUNCTION(1, "HDMI_HPD_RX")
1839         ),
1840         MTK_PIN(PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"),
1841                 NULL, "mt2701",
1842                 MTK_EINT_FUNCTION(0, 133),
1843                 MTK_FUNCTION(0, "GPIO248"),
1844                 MTK_FUNCTION(1, "HDMI_TESTOUTP_RX")
1845         ),
1846         MTK_PIN(PINCTRL_PIN(249, "MSDC0E_RSTB"),
1847                 NULL, "mt2701",
1848                 MTK_EINT_FUNCTION(0, 134),
1849                 MTK_FUNCTION(0, "GPIO249"),
1850                 MTK_FUNCTION(1, "MSDC0E_RSTB")
1851         ),
1852         MTK_PIN(PINCTRL_PIN(250, "MSDC0E_DAT7"),
1853                 NULL, "mt2701",
1854                 MTK_EINT_FUNCTION(0, 135),
1855                 MTK_FUNCTION(0, "GPIO250"),
1856                 MTK_FUNCTION(1, "MSDC3_DAT7"),
1857                 MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
1858         ),
1859         MTK_PIN(PINCTRL_PIN(251, "MSDC0E_DAT6"),
1860                 NULL, "mt2701",
1861                 MTK_EINT_FUNCTION(0, 136),
1862                 MTK_FUNCTION(0, "GPIO251"),
1863                 MTK_FUNCTION(1, "MSDC3_DAT6"),
1864                 MTK_FUNCTION(6, "PCIE0_WAKE_N")
1865         ),
1866         MTK_PIN(PINCTRL_PIN(252, "MSDC0E_DAT5"),
1867                 NULL, "mt2701",
1868                 MTK_EINT_FUNCTION(0, 137),
1869                 MTK_FUNCTION(0, "GPIO252"),
1870                 MTK_FUNCTION(1, "MSDC3_DAT5"),
1871                 MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
1872         ),
1873         MTK_PIN(PINCTRL_PIN(253, "MSDC0E_DAT4"),
1874                 NULL, "mt2701",
1875                 MTK_EINT_FUNCTION(0, 138),
1876                 MTK_FUNCTION(0, "GPIO253"),
1877                 MTK_FUNCTION(1, "MSDC3_DAT4"),
1878                 MTK_FUNCTION(6, "PCIE1_WAKE_N")
1879         ),
1880         MTK_PIN(PINCTRL_PIN(254, "MSDC0E_DAT3"),
1881                 NULL, "mt2701",
1882                 MTK_EINT_FUNCTION(0, 139),
1883                 MTK_FUNCTION(0, "GPIO254"),
1884                 MTK_FUNCTION(1, "MSDC3_DAT3"),
1885                 MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
1886         ),
1887         MTK_PIN(PINCTRL_PIN(255, "MSDC0E_DAT2"),
1888                 NULL, "mt2701",
1889                 MTK_EINT_FUNCTION(0, 140),
1890                 MTK_FUNCTION(0, "GPIO255"),
1891                 MTK_FUNCTION(1, "MSDC3_DAT2"),
1892                 MTK_FUNCTION(6, "PCIE2_WAKE_N")
1893         ),
1894         MTK_PIN(PINCTRL_PIN(256, "MSDC0E_DAT1"),
1895                 NULL, "mt2701",
1896                 MTK_EINT_FUNCTION(0, 141),
1897                 MTK_FUNCTION(0, "GPIO256"),
1898                 MTK_FUNCTION(1, "MSDC3_DAT1")
1899         ),
1900         MTK_PIN(PINCTRL_PIN(257, "MSDC0E_DAT0"),
1901                 NULL, "mt2701",
1902                 MTK_EINT_FUNCTION(0, 142),
1903                 MTK_FUNCTION(0, "GPIO257"),
1904                 MTK_FUNCTION(1, "MSDC3_DAT0")
1905         ),
1906         MTK_PIN(PINCTRL_PIN(258, "MSDC0E_CMD"),
1907                 NULL, "mt2701",
1908                 MTK_EINT_FUNCTION(0, 143),
1909                 MTK_FUNCTION(0, "GPIO258"),
1910                 MTK_FUNCTION(1, "MSDC3_CMD")
1911         ),
1912         MTK_PIN(PINCTRL_PIN(259, "MSDC0E_CLK"),
1913                 NULL, "mt2701",
1914                 MTK_EINT_FUNCTION(0, 144),
1915                 MTK_FUNCTION(0, "GPIO259"),
1916                 MTK_FUNCTION(1, "MSDC3_CLK")
1917         ),
1918         MTK_PIN(PINCTRL_PIN(260, "MSDC0E_DSL"),
1919                 NULL, "mt2701",
1920                 MTK_EINT_FUNCTION(0, 145),
1921                 MTK_FUNCTION(0, "GPIO260"),
1922                 MTK_FUNCTION(1, "MSDC3_DSL")
1923         ),
1924         MTK_PIN(PINCTRL_PIN(261, "MSDC1_INS"),
1925                 NULL, "mt2701",
1926                 MTK_EINT_FUNCTION(0, 146),
1927                 MTK_FUNCTION(0, "GPIO261"),
1928                 MTK_FUNCTION(1, "MSDC1_INS"),
1929                 MTK_FUNCTION(7, "DBG_MON_B[29]")
1930         ),
1931         MTK_PIN(PINCTRL_PIN(262, "G2_TXEN"),
1932                 NULL, "mt2701",
1933                 MTK_EINT_FUNCTION(0, 8),
1934                 MTK_FUNCTION(0, "GPIO262"),
1935                 MTK_FUNCTION(1, "G2_TXEN")
1936         ),
1937         MTK_PIN(PINCTRL_PIN(263, "G2_TXD3"),
1938                 NULL, "mt2701",
1939                 MTK_EINT_FUNCTION(0, 9),
1940                 MTK_FUNCTION(0, "GPIO263"),
1941                 MTK_FUNCTION(1, "G2_TXD3"),
1942                 MTK_FUNCTION(6, "ANT_SEL5")
1943         ),
1944         MTK_PIN(PINCTRL_PIN(264, "G2_TXD2"),
1945                 NULL, "mt2701",
1946                 MTK_EINT_FUNCTION(0, 10),
1947                 MTK_FUNCTION(0, "GPIO264"),
1948                 MTK_FUNCTION(1, "G2_TXD2"),
1949                 MTK_FUNCTION(6, "ANT_SEL4")
1950         ),
1951         MTK_PIN(PINCTRL_PIN(265, "G2_TXD1"),
1952                 NULL, "mt2701",
1953                 MTK_EINT_FUNCTION(0, 11),
1954                 MTK_FUNCTION(0, "GPIO265"),
1955                 MTK_FUNCTION(1, "G2_TXD1"),
1956                 MTK_FUNCTION(6, "ANT_SEL3")
1957         ),
1958         MTK_PIN(PINCTRL_PIN(266, "G2_TXD0"),
1959                 NULL, "mt2701",
1960                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1961                 MTK_FUNCTION(0, "GPIO266"),
1962                 MTK_FUNCTION(1, "G2_TXD0"),
1963                 MTK_FUNCTION(6, "ANT_SEL2")
1964         ),
1965         MTK_PIN(PINCTRL_PIN(267, "G2_TXC"),
1966                 NULL, "mt2701",
1967                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1968                 MTK_FUNCTION(0, "GPIO267"),
1969                 MTK_FUNCTION(1, "G2_TXC")
1970         ),
1971         MTK_PIN(PINCTRL_PIN(268, "G2_RXC"),
1972                 NULL, "mt2701",
1973                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1974                 MTK_FUNCTION(0, "GPIO268"),
1975                 MTK_FUNCTION(1, "G2_RXC")
1976         ),
1977         MTK_PIN(PINCTRL_PIN(269, "G2_RXD0"),
1978                 NULL, "mt2701",
1979                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1980                 MTK_FUNCTION(0, "GPIO269"),
1981                 MTK_FUNCTION(1, "G2_RXD0")
1982         ),
1983         MTK_PIN(PINCTRL_PIN(270, "G2_RXD1"),
1984                 NULL, "mt2701",
1985                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1986                 MTK_FUNCTION(0, "GPIO270"),
1987                 MTK_FUNCTION(1, "G2_RXD1")
1988         ),
1989         MTK_PIN(PINCTRL_PIN(271, "G2_RXD2"),
1990                 NULL, "mt2701",
1991                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1992                 MTK_FUNCTION(0, "GPIO271"),
1993                 MTK_FUNCTION(1, "G2_RXD2")
1994         ),
1995         MTK_PIN(PINCTRL_PIN(272, "G2_RXD3"),
1996                 NULL, "mt2701",
1997                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1998                 MTK_FUNCTION(0, "GPIO272"),
1999                 MTK_FUNCTION(1, "G2_RXD3")
2000         ),
2001         MTK_PIN(PINCTRL_PIN(273, "ESW_INT"),
2002                 NULL, "mt2701",
2003                 MTK_EINT_FUNCTION(0, 168),
2004                 MTK_FUNCTION(0, "GPIO273"),
2005                 MTK_FUNCTION(1, "ESW_INT")
2006         ),
2007         MTK_PIN(PINCTRL_PIN(274, "G2_RXDV"),
2008                 NULL, "mt2701",
2009                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2010                 MTK_FUNCTION(0, "GPIO274"),
2011                 MTK_FUNCTION(1, "G2_RXDV")
2012         ),
2013         MTK_PIN(PINCTRL_PIN(275, "MDC"),
2014                 NULL, "mt2701",
2015                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2016                 MTK_FUNCTION(0, "GPIO275"),
2017                 MTK_FUNCTION(1, "MDC"),
2018                 MTK_FUNCTION(6, "ANT_SEL0")
2019         ),
2020         MTK_PIN(PINCTRL_PIN(276, "MDIO"),
2021                 NULL, "mt2701",
2022                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2023                 MTK_FUNCTION(0, "GPIO276"),
2024                 MTK_FUNCTION(1, "MDIO"),
2025                 MTK_FUNCTION(6, "ANT_SEL1")
2026         ),
2027         MTK_PIN(PINCTRL_PIN(277, "ESW_RST"),
2028                 NULL, "mt2701",
2029                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2030                 MTK_FUNCTION(0, "GPIO277"),
2031                 MTK_FUNCTION(1, "ESW_RST")
2032         ),
2033         MTK_PIN(PINCTRL_PIN(278, "JTAG_RESET"),
2034                 NULL, "mt2701",
2035                 MTK_EINT_FUNCTION(0, 147),
2036                 MTK_FUNCTION(0, "GPIO278"),
2037                 MTK_FUNCTION(1, "JTAG_RESET")
2038         ),
2039         MTK_PIN(PINCTRL_PIN(279, "USB3_RES_BOND"),
2040                 NULL, "mt2701",
2041                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2042                 MTK_FUNCTION(0, "GPIO279"),
2043                 MTK_FUNCTION(1, "USB3_RES_BOND")
2044         ),
2045 };
2046 
2047 #endif /* __PINCTRL_MTK_MT2701_H */

/* [<][>][^][v][top][bottom][index][help] */