1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) 2019 MediaTek Inc. 4 * Author: Andy Teng <andy.teng@mediatek.com> 5 * 6 */ 7 8 #ifndef __MT6779_PINFUNC_H 9 #define __MT6779_PINFUNC_H 10 11 #include <dt-bindings/pinctrl/mt65xx.h> 12 13 #define PINMUX_GPIO0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) 14 #define PINMUX_GPIO0__FUNC_SPI6_MI (MTK_PIN_NO(0) | 1) 15 #define PINMUX_GPIO0__FUNC_I2S5_LRCK (MTK_PIN_NO(0) | 2) 16 #define PINMUX_GPIO0__FUNC_TDM_LRCK_2ND (MTK_PIN_NO(0) | 3) 17 #define PINMUX_GPIO0__FUNC_PCM1_SYNC (MTK_PIN_NO(0) | 4) 18 #define PINMUX_GPIO0__FUNC_SCL_6306 (MTK_PIN_NO(0) | 5) 19 #define PINMUX_GPIO0__FUNC_TP_GPIO0_AO (MTK_PIN_NO(0) | 6) 20 #define PINMUX_GPIO0__FUNC_PTA_RXD (MTK_PIN_NO(0) | 7) 21 22 #define PINMUX_GPIO1__FUNC_GPIO1 (MTK_PIN_NO(1) | 0) 23 #define PINMUX_GPIO1__FUNC_SPI6_CSB (MTK_PIN_NO(1) | 1) 24 #define PINMUX_GPIO1__FUNC_I2S5_DO (MTK_PIN_NO(1) | 2) 25 #define PINMUX_GPIO1__FUNC_TDM_DATA0_2ND (MTK_PIN_NO(1) | 3) 26 #define PINMUX_GPIO1__FUNC_PCM1_DO0 (MTK_PIN_NO(1) | 4) 27 #define PINMUX_GPIO1__FUNC_SDA_6306 (MTK_PIN_NO(1) | 5) 28 #define PINMUX_GPIO1__FUNC_TP_GPIO1_AO (MTK_PIN_NO(1) | 6) 29 #define PINMUX_GPIO1__FUNC_PTA_TXD (MTK_PIN_NO(1) | 7) 30 31 #define PINMUX_GPIO2__FUNC_GPIO2 (MTK_PIN_NO(2) | 0) 32 #define PINMUX_GPIO2__FUNC_SPI6_MO (MTK_PIN_NO(2) | 1) 33 #define PINMUX_GPIO2__FUNC_I2S5_BCK (MTK_PIN_NO(2) | 2) 34 #define PINMUX_GPIO2__FUNC_TDM_BCK_2ND (MTK_PIN_NO(2) | 3) 35 #define PINMUX_GPIO2__FUNC_PCM1_CLK (MTK_PIN_NO(2) | 4) 36 #define PINMUX_GPIO2__FUNC_MD_INT1_C2K_UIM0_HOT_PLUG (MTK_PIN_NO(2) | 5) 37 #define PINMUX_GPIO2__FUNC_TP_GPIO2_AO (MTK_PIN_NO(2) | 6) 38 39 #define PINMUX_GPIO3__FUNC_GPIO3 (MTK_PIN_NO(3) | 0) 40 #define PINMUX_GPIO3__FUNC_SPI6_CLK (MTK_PIN_NO(3) | 1) 41 #define PINMUX_GPIO3__FUNC_I2S5_MCK (MTK_PIN_NO(3) | 2) 42 #define PINMUX_GPIO3__FUNC_TDM_MCK_2ND (MTK_PIN_NO(3) | 3) 43 #define PINMUX_GPIO3__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(3) | 4) 44 #define PINMUX_GPIO3__FUNC_MD_INT2_C2K_UIM1_HOT_PLUG (MTK_PIN_NO(3) | 5) 45 #define PINMUX_GPIO3__FUNC_TP_GPIO3_AO (MTK_PIN_NO(3) | 6) 46 47 #define PINMUX_GPIO4__FUNC_GPIO4 (MTK_PIN_NO(4) | 0) 48 #define PINMUX_GPIO4__FUNC_SPI7_MI (MTK_PIN_NO(4) | 1) 49 #define PINMUX_GPIO4__FUNC_I2S0_MCK (MTK_PIN_NO(4) | 2) 50 #define PINMUX_GPIO4__FUNC_TDM_DATA1_2ND (MTK_PIN_NO(4) | 3) 51 #define PINMUX_GPIO4__FUNC_PCM1_DO1 (MTK_PIN_NO(4) | 4) 52 #define PINMUX_GPIO4__FUNC_DMIC1_CLK (MTK_PIN_NO(4) | 5) 53 #define PINMUX_GPIO4__FUNC_TP_GPIO4_AO (MTK_PIN_NO(4) | 6) 54 #define PINMUX_GPIO4__FUNC_SCL8 (MTK_PIN_NO(4) | 7) 55 56 #define PINMUX_GPIO5__FUNC_GPIO5 (MTK_PIN_NO(5) | 0) 57 #define PINMUX_GPIO5__FUNC_SPI7_CSB (MTK_PIN_NO(5) | 1) 58 #define PINMUX_GPIO5__FUNC_I2S0_BCK (MTK_PIN_NO(5) | 2) 59 #define PINMUX_GPIO5__FUNC_TDM_DATA2_2ND (MTK_PIN_NO(5) | 3) 60 #define PINMUX_GPIO5__FUNC_PCM1_DO2 (MTK_PIN_NO(5) | 4) 61 #define PINMUX_GPIO5__FUNC_DMIC1_DAT (MTK_PIN_NO(5) | 5) 62 #define PINMUX_GPIO5__FUNC_TP_GPIO5_AO (MTK_PIN_NO(5) | 6) 63 #define PINMUX_GPIO5__FUNC_SDA8 (MTK_PIN_NO(5) | 7) 64 65 #define PINMUX_GPIO6__FUNC_GPIO6 (MTK_PIN_NO(6) | 0) 66 #define PINMUX_GPIO6__FUNC_SPI7_MO (MTK_PIN_NO(6) | 1) 67 #define PINMUX_GPIO6__FUNC_I2S0_LRCK (MTK_PIN_NO(6) | 2) 68 #define PINMUX_GPIO6__FUNC_TDM_DATA3_2ND (MTK_PIN_NO(6) | 3) 69 #define PINMUX_GPIO6__FUNC_PCM1_DI (MTK_PIN_NO(6) | 4) 70 #define PINMUX_GPIO6__FUNC_DMIC_CLK (MTK_PIN_NO(6) | 5) 71 #define PINMUX_GPIO6__FUNC_TP_GPIO6_AO (MTK_PIN_NO(6) | 6) 72 #define PINMUX_GPIO6__FUNC_SCL9 (MTK_PIN_NO(6) | 7) 73 74 #define PINMUX_GPIO7__FUNC_GPIO7 (MTK_PIN_NO(7) | 0) 75 #define PINMUX_GPIO7__FUNC_SPI7_CLK (MTK_PIN_NO(7) | 1) 76 #define PINMUX_GPIO7__FUNC_I2S0_DI (MTK_PIN_NO(7) | 2) 77 #define PINMUX_GPIO7__FUNC_SRCLKENAI1 (MTK_PIN_NO(7) | 3) 78 #define PINMUX_GPIO7__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(7) | 4) 79 #define PINMUX_GPIO7__FUNC_DMIC_DAT (MTK_PIN_NO(7) | 5) 80 #define PINMUX_GPIO7__FUNC_TP_GPIO7_AO (MTK_PIN_NO(7) | 6) 81 #define PINMUX_GPIO7__FUNC_SDA9 (MTK_PIN_NO(7) | 7) 82 83 #define PINMUX_GPIO8__FUNC_GPIO8 (MTK_PIN_NO(8) | 0) 84 #define PINMUX_GPIO8__FUNC_PWM_0 (MTK_PIN_NO(8) | 1) 85 #define PINMUX_GPIO8__FUNC_I2S2_DI2 (MTK_PIN_NO(8) | 2) 86 #define PINMUX_GPIO8__FUNC_SRCLKENAI0 (MTK_PIN_NO(8) | 3) 87 #define PINMUX_GPIO8__FUNC_URXD1 (MTK_PIN_NO(8) | 4) 88 #define PINMUX_GPIO8__FUNC_I2S0_MCK (MTK_PIN_NO(8) | 5) 89 #define PINMUX_GPIO8__FUNC_CONN_MCU_DBGACK_N (MTK_PIN_NO(8) | 6) 90 #define PINMUX_GPIO8__FUNC_IDDIG (MTK_PIN_NO(8) | 7) 91 92 #define PINMUX_GPIO9__FUNC_GPIO9 (MTK_PIN_NO(9) | 0) 93 #define PINMUX_GPIO9__FUNC_PWM_3 (MTK_PIN_NO(9) | 1) 94 #define PINMUX_GPIO9__FUNC_MD_INT0 (MTK_PIN_NO(9) | 2) 95 #define PINMUX_GPIO9__FUNC_SRCLKENAI1 (MTK_PIN_NO(9) | 3) 96 #define PINMUX_GPIO9__FUNC_UTXD1 (MTK_PIN_NO(9) | 4) 97 #define PINMUX_GPIO9__FUNC_I2S0_BCK (MTK_PIN_NO(9) | 5) 98 #define PINMUX_GPIO9__FUNC_CONN_MCU_TRST_B (MTK_PIN_NO(9) | 6) 99 #define PINMUX_GPIO9__FUNC_USB_DRVVBUS (MTK_PIN_NO(9) | 7) 100 101 #define PINMUX_GPIO10__FUNC_GPIO10 (MTK_PIN_NO(10) | 0) 102 #define PINMUX_GPIO10__FUNC_MSDC1_CLK_A (MTK_PIN_NO(10) | 1) 103 #define PINMUX_GPIO10__FUNC_TP_URXD1_AO (MTK_PIN_NO(10) | 2) 104 #define PINMUX_GPIO10__FUNC_I2S1_LRCK (MTK_PIN_NO(10) | 3) 105 #define PINMUX_GPIO10__FUNC_UCTS0 (MTK_PIN_NO(10) | 4) 106 #define PINMUX_GPIO10__FUNC_DMIC1_CLK (MTK_PIN_NO(10) | 5) 107 #define PINMUX_GPIO10__FUNC_KPCOL2 (MTK_PIN_NO(10) | 6) 108 #define PINMUX_GPIO10__FUNC_SCL8 (MTK_PIN_NO(10) | 7) 109 110 #define PINMUX_GPIO11__FUNC_GPIO11 (MTK_PIN_NO(11) | 0) 111 #define PINMUX_GPIO11__FUNC_MSDC1_CMD_A (MTK_PIN_NO(11) | 1) 112 #define PINMUX_GPIO11__FUNC_TP_UTXD1_AO (MTK_PIN_NO(11) | 2) 113 #define PINMUX_GPIO11__FUNC_I2S1_DO (MTK_PIN_NO(11) | 3) 114 #define PINMUX_GPIO11__FUNC_URTS0 (MTK_PIN_NO(11) | 4) 115 #define PINMUX_GPIO11__FUNC_DMIC1_DAT (MTK_PIN_NO(11) | 5) 116 #define PINMUX_GPIO11__FUNC_KPROW2 (MTK_PIN_NO(11) | 6) 117 #define PINMUX_GPIO11__FUNC_SDA8 (MTK_PIN_NO(11) | 7) 118 119 #define PINMUX_GPIO12__FUNC_GPIO12 (MTK_PIN_NO(12) | 0) 120 #define PINMUX_GPIO12__FUNC_MSDC1_DAT3_A (MTK_PIN_NO(12) | 1) 121 #define PINMUX_GPIO12__FUNC_TP_URXD2_AO (MTK_PIN_NO(12) | 2) 122 #define PINMUX_GPIO12__FUNC_I2S1_MCK (MTK_PIN_NO(12) | 3) 123 #define PINMUX_GPIO12__FUNC_UCTS1 (MTK_PIN_NO(12) | 4) 124 #define PINMUX_GPIO12__FUNC_DMIC_CLK (MTK_PIN_NO(12) | 5) 125 #define PINMUX_GPIO12__FUNC_ANT_SEL9 (MTK_PIN_NO(12) | 6) 126 #define PINMUX_GPIO12__FUNC_SCL9 (MTK_PIN_NO(12) | 7) 127 128 #define PINMUX_GPIO13__FUNC_GPIO13 (MTK_PIN_NO(13) | 0) 129 #define PINMUX_GPIO13__FUNC_MSDC1_DAT0_A (MTK_PIN_NO(13) | 1) 130 #define PINMUX_GPIO13__FUNC_TP_UTXD2_AO (MTK_PIN_NO(13) | 2) 131 #define PINMUX_GPIO13__FUNC_I2S1_BCK (MTK_PIN_NO(13) | 3) 132 #define PINMUX_GPIO13__FUNC_URTS1 (MTK_PIN_NO(13) | 4) 133 #define PINMUX_GPIO13__FUNC_DMIC_DAT (MTK_PIN_NO(13) | 5) 134 #define PINMUX_GPIO13__FUNC_ANT_SEL10 (MTK_PIN_NO(13) | 6) 135 #define PINMUX_GPIO13__FUNC_SDA9 (MTK_PIN_NO(13) | 7) 136 137 #define PINMUX_GPIO14__FUNC_GPIO14 (MTK_PIN_NO(14) | 0) 138 #define PINMUX_GPIO14__FUNC_MSDC1_DAT2_A (MTK_PIN_NO(14) | 1) 139 #define PINMUX_GPIO14__FUNC_PWM_3 (MTK_PIN_NO(14) | 2) 140 #define PINMUX_GPIO14__FUNC_IDDIG (MTK_PIN_NO(14) | 3) 141 #define PINMUX_GPIO14__FUNC_MD_INT0 (MTK_PIN_NO(14) | 4) 142 #define PINMUX_GPIO14__FUNC_PTA_RXD (MTK_PIN_NO(14) | 5) 143 #define PINMUX_GPIO14__FUNC_ANT_SEL11 (MTK_PIN_NO(14) | 6) 144 145 #define PINMUX_GPIO15__FUNC_GPIO15 (MTK_PIN_NO(15) | 0) 146 #define PINMUX_GPIO15__FUNC_MSDC1_DAT1_A (MTK_PIN_NO(15) | 1) 147 #define PINMUX_GPIO15__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(15) | 2) 148 #define PINMUX_GPIO15__FUNC_USB_DRVVBUS (MTK_PIN_NO(15) | 3) 149 #define PINMUX_GPIO15__FUNC_MD_INT1_C2K_UIM0_HOT_PLUG (MTK_PIN_NO(15) | 4) 150 #define PINMUX_GPIO15__FUNC_PTA_TXD (MTK_PIN_NO(15) | 5) 151 #define PINMUX_GPIO15__FUNC_ANT_SEL12 (MTK_PIN_NO(15) | 6) 152 153 #define PINMUX_GPIO16__FUNC_GPIO16 (MTK_PIN_NO(16) | 0) 154 #define PINMUX_GPIO16__FUNC_SRCLKENAI0 (MTK_PIN_NO(16) | 1) 155 #define PINMUX_GPIO16__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(16) | 2) 156 #define PINMUX_GPIO16__FUNC_MFG_EJTAG_TRSTN (MTK_PIN_NO(16) | 3) 157 #define PINMUX_GPIO16__FUNC_MD_INT2_C2K_UIM1_HOT_PLUG (MTK_PIN_NO(16) | 4) 158 #define PINMUX_GPIO16__FUNC_CONN_TCXOENA_REQ (MTK_PIN_NO(16) | 5) 159 #define PINMUX_GPIO16__FUNC_PWM_2 (MTK_PIN_NO(16) | 6) 160 #define PINMUX_GPIO16__FUNC_JTRSTN_SEL1 (MTK_PIN_NO(16) | 7) 161 162 #define PINMUX_GPIO17__FUNC_GPIO17 (MTK_PIN_NO(17) | 0) 163 #define PINMUX_GPIO17__FUNC_SPI0_A_MI (MTK_PIN_NO(17) | 1) 164 #define PINMUX_GPIO17__FUNC_SCP_SPI0_MI (MTK_PIN_NO(17) | 2) 165 #define PINMUX_GPIO17__FUNC_MFG_EJTAG_TDO (MTK_PIN_NO(17) | 3) 166 #define PINMUX_GPIO17__FUNC_DPI_HSYNC (MTK_PIN_NO(17) | 4) 167 #define PINMUX_GPIO17__FUNC_MFG_DFD_JTAG_TDO (MTK_PIN_NO(17) | 5) 168 #define PINMUX_GPIO17__FUNC_DFD_TDO (MTK_PIN_NO(17) | 6) 169 #define PINMUX_GPIO17__FUNC_JTDO_SEL1 (MTK_PIN_NO(17) | 7) 170 171 #define PINMUX_GPIO18__FUNC_GPIO18 (MTK_PIN_NO(18) | 0) 172 #define PINMUX_GPIO18__FUNC_SPI0_A_MO (MTK_PIN_NO(18) | 1) 173 #define PINMUX_GPIO18__FUNC_SCP_SPI0_MO (MTK_PIN_NO(18) | 2) 174 #define PINMUX_GPIO18__FUNC_MFG_EJTAG_TDI (MTK_PIN_NO(18) | 3) 175 #define PINMUX_GPIO18__FUNC_DPI_VSYNC (MTK_PIN_NO(18) | 4) 176 #define PINMUX_GPIO18__FUNC_MFG_DFD_JTAG_TDI (MTK_PIN_NO(18) | 5) 177 #define PINMUX_GPIO18__FUNC_DFD_TDI (MTK_PIN_NO(18) | 6) 178 #define PINMUX_GPIO18__FUNC_JTDI_SEL1 (MTK_PIN_NO(18) | 7) 179 180 #define PINMUX_GPIO19__FUNC_GPIO19 (MTK_PIN_NO(19) | 0) 181 #define PINMUX_GPIO19__FUNC_SPI0_A_CSB (MTK_PIN_NO(19) | 1) 182 #define PINMUX_GPIO19__FUNC_SCP_SPI0_CS (MTK_PIN_NO(19) | 2) 183 #define PINMUX_GPIO19__FUNC_MFG_EJTAG_TMS (MTK_PIN_NO(19) | 3) 184 #define PINMUX_GPIO19__FUNC_DPI_DE (MTK_PIN_NO(19) | 4) 185 #define PINMUX_GPIO19__FUNC_MFG_DFD_JTAG_TMS (MTK_PIN_NO(19) | 5) 186 #define PINMUX_GPIO19__FUNC_DFD_TMS (MTK_PIN_NO(19) | 6) 187 #define PINMUX_GPIO19__FUNC_JTMS_SEL1 (MTK_PIN_NO(19) | 7) 188 189 #define PINMUX_GPIO20__FUNC_GPIO20 (MTK_PIN_NO(20) | 0) 190 #define PINMUX_GPIO20__FUNC_SPI0_A_CLK (MTK_PIN_NO(20) | 1) 191 #define PINMUX_GPIO20__FUNC_SCP_SPI0_CK (MTK_PIN_NO(20) | 2) 192 #define PINMUX_GPIO20__FUNC_MFG_EJTAG_TCK (MTK_PIN_NO(20) | 3) 193 #define PINMUX_GPIO20__FUNC_DPI_CK (MTK_PIN_NO(20) | 4) 194 #define PINMUX_GPIO20__FUNC_MFG_DFD_JTAG_TCK (MTK_PIN_NO(20) | 5) 195 #define PINMUX_GPIO20__FUNC_DFD_TCK_XI (MTK_PIN_NO(20) | 6) 196 #define PINMUX_GPIO20__FUNC_JTCK_SEL1 (MTK_PIN_NO(20) | 7) 197 198 #define PINMUX_GPIO21__FUNC_GPIO21 (MTK_PIN_NO(21) | 0) 199 #define PINMUX_GPIO21__FUNC_PWM_0 (MTK_PIN_NO(21) | 1) 200 #define PINMUX_GPIO21__FUNC_CMFLASH0 (MTK_PIN_NO(21) | 2) 201 #define PINMUX_GPIO21__FUNC_CMVREF2 (MTK_PIN_NO(21) | 3) 202 #define PINMUX_GPIO21__FUNC_CLKM0 (MTK_PIN_NO(21) | 4) 203 #define PINMUX_GPIO21__FUNC_ANT_SEL9 (MTK_PIN_NO(21) | 5) 204 #define PINMUX_GPIO21__FUNC_CONN_TCXOENA_REQ (MTK_PIN_NO(21) | 6) 205 #define PINMUX_GPIO21__FUNC_DBG_MON_A27 (MTK_PIN_NO(21) | 7) 206 207 #define PINMUX_GPIO22__FUNC_GPIO22 (MTK_PIN_NO(22) | 0) 208 #define PINMUX_GPIO22__FUNC_PWM_1 (MTK_PIN_NO(22) | 1) 209 #define PINMUX_GPIO22__FUNC_CMFLASH1 (MTK_PIN_NO(22) | 2) 210 #define PINMUX_GPIO22__FUNC_CMVREF3 (MTK_PIN_NO(22) | 3) 211 #define PINMUX_GPIO22__FUNC_CLKM1 (MTK_PIN_NO(22) | 4) 212 #define PINMUX_GPIO22__FUNC_ANT_SEL10 (MTK_PIN_NO(22) | 5) 213 #define PINMUX_GPIO22__FUNC_DBG_MON_A28 (MTK_PIN_NO(22) | 7) 214 215 #define PINMUX_GPIO23__FUNC_GPIO23 (MTK_PIN_NO(23) | 0) 216 #define PINMUX_GPIO23__FUNC_PWM_2 (MTK_PIN_NO(23) | 1) 217 #define PINMUX_GPIO23__FUNC_CMFLASH2 (MTK_PIN_NO(23) | 2) 218 #define PINMUX_GPIO23__FUNC_CMVREF0 (MTK_PIN_NO(23) | 3) 219 #define PINMUX_GPIO23__FUNC_CLKM2 (MTK_PIN_NO(23) | 4) 220 #define PINMUX_GPIO23__FUNC_ANT_SEL11 (MTK_PIN_NO(23) | 5) 221 #define PINMUX_GPIO23__FUNC_DBG_MON_A29 (MTK_PIN_NO(23) | 7) 222 223 #define PINMUX_GPIO24__FUNC_GPIO24 (MTK_PIN_NO(24) | 0) 224 #define PINMUX_GPIO24__FUNC_PWM_0 (MTK_PIN_NO(24) | 1) 225 #define PINMUX_GPIO24__FUNC_CMFLASH3 (MTK_PIN_NO(24) | 2) 226 #define PINMUX_GPIO24__FUNC_CMVREF1 (MTK_PIN_NO(24) | 3) 227 #define PINMUX_GPIO24__FUNC_CLKM3 (MTK_PIN_NO(24) | 4) 228 #define PINMUX_GPIO24__FUNC_ANT_SEL12 (MTK_PIN_NO(24) | 5) 229 #define PINMUX_GPIO24__FUNC_DBG_MON_A30 (MTK_PIN_NO(24) | 7) 230 231 #define PINMUX_GPIO25__FUNC_GPIO25 (MTK_PIN_NO(25) | 0) 232 #define PINMUX_GPIO25__FUNC_SRCLKENAI0 (MTK_PIN_NO(25) | 1) 233 #define PINMUX_GPIO25__FUNC_UCTS0 (MTK_PIN_NO(25) | 2) 234 #define PINMUX_GPIO25__FUNC_SCL8 (MTK_PIN_NO(25) | 3) 235 #define PINMUX_GPIO25__FUNC_CMVREF4 (MTK_PIN_NO(25) | 4) 236 #define PINMUX_GPIO25__FUNC_I2S0_LRCK (MTK_PIN_NO(25) | 5) 237 #define PINMUX_GPIO25__FUNC_CONN_TCXOENA_REQ (MTK_PIN_NO(25) | 6) 238 #define PINMUX_GPIO25__FUNC_DBG_MON_A31 (MTK_PIN_NO(25) | 7) 239 240 #define PINMUX_GPIO26__FUNC_GPIO26 (MTK_PIN_NO(26) | 0) 241 #define PINMUX_GPIO26__FUNC_PWM_0 (MTK_PIN_NO(26) | 1) 242 #define PINMUX_GPIO26__FUNC_URTS0 (MTK_PIN_NO(26) | 2) 243 #define PINMUX_GPIO26__FUNC_SDA8 (MTK_PIN_NO(26) | 3) 244 #define PINMUX_GPIO26__FUNC_CLKM0 (MTK_PIN_NO(26) | 4) 245 #define PINMUX_GPIO26__FUNC_I2S0_DI (MTK_PIN_NO(26) | 5) 246 #define PINMUX_GPIO26__FUNC_AGPS_SYNC (MTK_PIN_NO(26) | 6) 247 #define PINMUX_GPIO26__FUNC_DBG_MON_A32 (MTK_PIN_NO(26) | 7) 248 249 #define PINMUX_GPIO27__FUNC_GPIO27 (MTK_PIN_NO(27) | 0) 250 #define PINMUX_GPIO27__FUNC_AP_GOOD (MTK_PIN_NO(27) | 1) 251 252 #define PINMUX_GPIO28__FUNC_GPIO28 (MTK_PIN_NO(28) | 0) 253 #define PINMUX_GPIO28__FUNC_SCL5 (MTK_PIN_NO(28) | 1) 254 255 #define PINMUX_GPIO29__FUNC_GPIO29 (MTK_PIN_NO(29) | 0) 256 #define PINMUX_GPIO29__FUNC_SDA5 (MTK_PIN_NO(29) | 1) 257 258 #define PINMUX_GPIO30__FUNC_GPIO30 (MTK_PIN_NO(30) | 0) 259 #define PINMUX_GPIO30__FUNC_I2S1_MCK (MTK_PIN_NO(30) | 1) 260 #define PINMUX_GPIO30__FUNC_I2S3_MCK (MTK_PIN_NO(30) | 2) 261 #define PINMUX_GPIO30__FUNC_I2S2_MCK (MTK_PIN_NO(30) | 3) 262 #define PINMUX_GPIO30__FUNC_DPI_D0 (MTK_PIN_NO(30) | 4) 263 #define PINMUX_GPIO30__FUNC_SPI4_MI (MTK_PIN_NO(30) | 5) 264 #define PINMUX_GPIO30__FUNC_CONN_MCU_DBGI_N (MTK_PIN_NO(30) | 6) 265 266 #define PINMUX_GPIO31__FUNC_GPIO31 (MTK_PIN_NO(31) | 0) 267 #define PINMUX_GPIO31__FUNC_I2S1_BCK (MTK_PIN_NO(31) | 1) 268 #define PINMUX_GPIO31__FUNC_I2S3_BCK (MTK_PIN_NO(31) | 2) 269 #define PINMUX_GPIO31__FUNC_I2S2_BCK (MTK_PIN_NO(31) | 3) 270 #define PINMUX_GPIO31__FUNC_DPI_D1 (MTK_PIN_NO(31) | 4) 271 #define PINMUX_GPIO31__FUNC_SPI4_CSB (MTK_PIN_NO(31) | 5) 272 #define PINMUX_GPIO31__FUNC_CONN_MCU_TDO (MTK_PIN_NO(31) | 6) 273 274 #define PINMUX_GPIO32__FUNC_GPIO32 (MTK_PIN_NO(32) | 0) 275 #define PINMUX_GPIO32__FUNC_I2S1_LRCK (MTK_PIN_NO(32) | 1) 276 #define PINMUX_GPIO32__FUNC_I2S3_LRCK (MTK_PIN_NO(32) | 2) 277 #define PINMUX_GPIO32__FUNC_I2S2_LRCK (MTK_PIN_NO(32) | 3) 278 #define PINMUX_GPIO32__FUNC_DPI_D2 (MTK_PIN_NO(32) | 4) 279 #define PINMUX_GPIO32__FUNC_SPI4_MO (MTK_PIN_NO(32) | 5) 280 #define PINMUX_GPIO32__FUNC_CONN_MCU_TDI (MTK_PIN_NO(32) | 6) 281 282 #define PINMUX_GPIO33__FUNC_GPIO33 (MTK_PIN_NO(33) | 0) 283 #define PINMUX_GPIO33__FUNC_I2S2_DI (MTK_PIN_NO(33) | 1) 284 #define PINMUX_GPIO33__FUNC_I2S0_DI (MTK_PIN_NO(33) | 2) 285 #define PINMUX_GPIO33__FUNC_I2S5_DO (MTK_PIN_NO(33) | 3) 286 #define PINMUX_GPIO33__FUNC_DPI_D3 (MTK_PIN_NO(33) | 4) 287 #define PINMUX_GPIO33__FUNC_SPI4_CLK (MTK_PIN_NO(33) | 5) 288 #define PINMUX_GPIO33__FUNC_CONN_MCU_TMS (MTK_PIN_NO(33) | 6) 289 290 #define PINMUX_GPIO34__FUNC_GPIO34 (MTK_PIN_NO(34) | 0) 291 #define PINMUX_GPIO34__FUNC_I2S1_DO (MTK_PIN_NO(34) | 1) 292 #define PINMUX_GPIO34__FUNC_I2S3_DO (MTK_PIN_NO(34) | 2) 293 #define PINMUX_GPIO34__FUNC_I2S2_DI2 (MTK_PIN_NO(34) | 3) 294 #define PINMUX_GPIO34__FUNC_DPI_D4 (MTK_PIN_NO(34) | 4) 295 #define PINMUX_GPIO34__FUNC_AGPS_SYNC (MTK_PIN_NO(34) | 5) 296 #define PINMUX_GPIO34__FUNC_CONN_MCU_TCK (MTK_PIN_NO(34) | 6) 297 298 #define PINMUX_GPIO35__FUNC_GPIO35 (MTK_PIN_NO(35) | 0) 299 #define PINMUX_GPIO35__FUNC_TDM_LRCK (MTK_PIN_NO(35) | 1) 300 #define PINMUX_GPIO35__FUNC_I2S1_LRCK (MTK_PIN_NO(35) | 2) 301 #define PINMUX_GPIO35__FUNC_I2S5_LRCK (MTK_PIN_NO(35) | 3) 302 #define PINMUX_GPIO35__FUNC_DPI_D5 (MTK_PIN_NO(35) | 4) 303 #define PINMUX_GPIO35__FUNC_SPI5_A_MO (MTK_PIN_NO(35) | 5) 304 #define PINMUX_GPIO35__FUNC_IO_JTAG_TDI (MTK_PIN_NO(35) | 6) 305 #define PINMUX_GPIO35__FUNC_PWM_2 (MTK_PIN_NO(35) | 7) 306 307 #define PINMUX_GPIO36__FUNC_GPIO36 (MTK_PIN_NO(36) | 0) 308 #define PINMUX_GPIO36__FUNC_TDM_BCK (MTK_PIN_NO(36) | 1) 309 #define PINMUX_GPIO36__FUNC_I2S1_BCK (MTK_PIN_NO(36) | 2) 310 #define PINMUX_GPIO36__FUNC_I2S5_BCK (MTK_PIN_NO(36) | 3) 311 #define PINMUX_GPIO36__FUNC_DPI_D6 (MTK_PIN_NO(36) | 4) 312 #define PINMUX_GPIO36__FUNC_SPI5_A_CSB (MTK_PIN_NO(36) | 5) 313 #define PINMUX_GPIO36__FUNC_IO_JTAG_TRSTN (MTK_PIN_NO(36) | 6) 314 #define PINMUX_GPIO36__FUNC_SRCLKENAI1 (MTK_PIN_NO(36) | 7) 315 316 #define PINMUX_GPIO37__FUNC_GPIO37 (MTK_PIN_NO(37) | 0) 317 #define PINMUX_GPIO37__FUNC_TDM_MCK (MTK_PIN_NO(37) | 1) 318 #define PINMUX_GPIO37__FUNC_I2S1_MCK (MTK_PIN_NO(37) | 2) 319 #define PINMUX_GPIO37__FUNC_I2S5_MCK (MTK_PIN_NO(37) | 3) 320 #define PINMUX_GPIO37__FUNC_DPI_D7 (MTK_PIN_NO(37) | 4) 321 #define PINMUX_GPIO37__FUNC_SPI5_A_MI (MTK_PIN_NO(37) | 5) 322 #define PINMUX_GPIO37__FUNC_IO_JTAG_TCK (MTK_PIN_NO(37) | 6) 323 #define PINMUX_GPIO37__FUNC_SRCLKENAI0 (MTK_PIN_NO(37) | 7) 324 325 #define PINMUX_GPIO38__FUNC_GPIO38 (MTK_PIN_NO(38) | 0) 326 #define PINMUX_GPIO38__FUNC_TDM_DATA0 (MTK_PIN_NO(38) | 1) 327 #define PINMUX_GPIO38__FUNC_I2S2_DI (MTK_PIN_NO(38) | 2) 328 #define PINMUX_GPIO38__FUNC_I2S5_DO (MTK_PIN_NO(38) | 3) 329 #define PINMUX_GPIO38__FUNC_DPI_D8 (MTK_PIN_NO(38) | 4) 330 #define PINMUX_GPIO38__FUNC_SPI5_A_CLK (MTK_PIN_NO(38) | 5) 331 #define PINMUX_GPIO38__FUNC_IO_JTAG_TDO (MTK_PIN_NO(38) | 6) 332 #define PINMUX_GPIO38__FUNC_CONN_TCXOENA_REQ (MTK_PIN_NO(38) | 7) 333 334 #define PINMUX_GPIO39__FUNC_GPIO39 (MTK_PIN_NO(39) | 0) 335 #define PINMUX_GPIO39__FUNC_TDM_DATA1 (MTK_PIN_NO(39) | 1) 336 #define PINMUX_GPIO39__FUNC_I2S1_DO (MTK_PIN_NO(39) | 2) 337 #define PINMUX_GPIO39__FUNC_I2S2_DI2 (MTK_PIN_NO(39) | 3) 338 #define PINMUX_GPIO39__FUNC_DPI_D9 (MTK_PIN_NO(39) | 4) 339 #define PINMUX_GPIO39__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(39) | 5) 340 #define PINMUX_GPIO39__FUNC_IO_JTAG_TMS (MTK_PIN_NO(39) | 6) 341 #define PINMUX_GPIO39__FUNC_IDDIG (MTK_PIN_NO(39) | 7) 342 343 #define PINMUX_GPIO40__FUNC_GPIO40 (MTK_PIN_NO(40) | 0) 344 #define PINMUX_GPIO40__FUNC_TDM_DATA2 (MTK_PIN_NO(40) | 1) 345 #define PINMUX_GPIO40__FUNC_SCL9 (MTK_PIN_NO(40) | 2) 346 #define PINMUX_GPIO40__FUNC_PWM_3 (MTK_PIN_NO(40) | 3) 347 #define PINMUX_GPIO40__FUNC_DPI_D10 (MTK_PIN_NO(40) | 4) 348 #define PINMUX_GPIO40__FUNC_SRCLKENAI0 (MTK_PIN_NO(40) | 5) 349 #define PINMUX_GPIO40__FUNC_DAP_MD32_SWD (MTK_PIN_NO(40) | 6) 350 #define PINMUX_GPIO40__FUNC_USB_DRVVBUS (MTK_PIN_NO(40) | 7) 351 352 #define PINMUX_GPIO41__FUNC_GPIO41 (MTK_PIN_NO(41) | 0) 353 #define PINMUX_GPIO41__FUNC_TDM_DATA3 (MTK_PIN_NO(41) | 1) 354 #define PINMUX_GPIO41__FUNC_SDA9 (MTK_PIN_NO(41) | 2) 355 #define PINMUX_GPIO41__FUNC_PWM_1 (MTK_PIN_NO(41) | 3) 356 #define PINMUX_GPIO41__FUNC_DPI_D11 (MTK_PIN_NO(41) | 4) 357 #define PINMUX_GPIO41__FUNC_CLKM1 (MTK_PIN_NO(41) | 5) 358 #define PINMUX_GPIO41__FUNC_DAP_MD32_SWCK (MTK_PIN_NO(41) | 6) 359 360 #define PINMUX_GPIO42__FUNC_GPIO42 (MTK_PIN_NO(42) | 0) 361 #define PINMUX_GPIO42__FUNC_DISP_PWM (MTK_PIN_NO(42) | 1) 362 363 #define PINMUX_GPIO43__FUNC_GPIO43 (MTK_PIN_NO(43) | 0) 364 #define PINMUX_GPIO43__FUNC_DSI_TE (MTK_PIN_NO(43) | 1) 365 366 #define PINMUX_GPIO44__FUNC_GPIO44 (MTK_PIN_NO(44) | 0) 367 #define PINMUX_GPIO44__FUNC_LCM_RST (MTK_PIN_NO(44) | 1) 368 369 #define PINMUX_GPIO45__FUNC_GPIO45 (MTK_PIN_NO(45) | 0) 370 #define PINMUX_GPIO45__FUNC_SCL6 (MTK_PIN_NO(45) | 1) 371 #define PINMUX_GPIO45__FUNC_SCP_SCL0 (MTK_PIN_NO(45) | 2) 372 #define PINMUX_GPIO45__FUNC_SCP_SCL1 (MTK_PIN_NO(45) | 3) 373 #define PINMUX_GPIO45__FUNC_SCL_6306 (MTK_PIN_NO(45) | 4) 374 375 #define PINMUX_GPIO46__FUNC_GPIO46 (MTK_PIN_NO(46) | 0) 376 #define PINMUX_GPIO46__FUNC_SDA6 (MTK_PIN_NO(46) | 1) 377 #define PINMUX_GPIO46__FUNC_SCP_SDA0 (MTK_PIN_NO(46) | 2) 378 #define PINMUX_GPIO46__FUNC_SCP_SDA1 (MTK_PIN_NO(46) | 3) 379 #define PINMUX_GPIO46__FUNC_SDA_6306 (MTK_PIN_NO(46) | 4) 380 381 #define PINMUX_GPIO47__FUNC_GPIO47 (MTK_PIN_NO(47) | 0) 382 #define PINMUX_GPIO47__FUNC_SPI1_A_MI (MTK_PIN_NO(47) | 1) 383 #define PINMUX_GPIO47__FUNC_SCP_SPI1_A_MI (MTK_PIN_NO(47) | 2) 384 #define PINMUX_GPIO47__FUNC_KPCOL2 (MTK_PIN_NO(47) | 3) 385 #define PINMUX_GPIO47__FUNC_MD_URXD0 (MTK_PIN_NO(47) | 4) 386 #define PINMUX_GPIO47__FUNC_CONN_UART0_RXD (MTK_PIN_NO(47) | 5) 387 #define PINMUX_GPIO47__FUNC_SSPM_URXD_AO (MTK_PIN_NO(47) | 6) 388 #define PINMUX_GPIO47__FUNC_DBG_MON_B32 (MTK_PIN_NO(47) | 7) 389 390 #define PINMUX_GPIO48__FUNC_GPIO48 (MTK_PIN_NO(48) | 0) 391 #define PINMUX_GPIO48__FUNC_SPI1_A_CSB (MTK_PIN_NO(48) | 1) 392 #define PINMUX_GPIO48__FUNC_SCP_SPI1_A_CS (MTK_PIN_NO(48) | 2) 393 #define PINMUX_GPIO48__FUNC_KPROW2 (MTK_PIN_NO(48) | 3) 394 #define PINMUX_GPIO48__FUNC_MD_UTXD0 (MTK_PIN_NO(48) | 4) 395 #define PINMUX_GPIO48__FUNC_CONN_UART0_TXD (MTK_PIN_NO(48) | 5) 396 #define PINMUX_GPIO48__FUNC_SSPM_UTXD_AO (MTK_PIN_NO(48) | 6) 397 #define PINMUX_GPIO48__FUNC_DBG_MON_B31 (MTK_PIN_NO(48) | 7) 398 399 #define PINMUX_GPIO49__FUNC_GPIO49 (MTK_PIN_NO(49) | 0) 400 #define PINMUX_GPIO49__FUNC_SPI1_A_MO (MTK_PIN_NO(49) | 1) 401 #define PINMUX_GPIO49__FUNC_SCP_SPI1_A_MO (MTK_PIN_NO(49) | 2) 402 #define PINMUX_GPIO49__FUNC_UCTS0 (MTK_PIN_NO(49) | 3) 403 #define PINMUX_GPIO49__FUNC_MD_URXD1 (MTK_PIN_NO(49) | 4) 404 #define PINMUX_GPIO49__FUNC_PWM_1 (MTK_PIN_NO(49) | 5) 405 #define PINMUX_GPIO49__FUNC_TP_URXD2_AO (MTK_PIN_NO(49) | 6) 406 #define PINMUX_GPIO49__FUNC_DBG_MON_B30 (MTK_PIN_NO(49) | 7) 407 408 #define PINMUX_GPIO50__FUNC_GPIO50 (MTK_PIN_NO(50) | 0) 409 #define PINMUX_GPIO50__FUNC_SPI1_A_CLK (MTK_PIN_NO(50) | 1) 410 #define PINMUX_GPIO50__FUNC_SCP_SPI1_A_CK (MTK_PIN_NO(50) | 2) 411 #define PINMUX_GPIO50__FUNC_URTS0 (MTK_PIN_NO(50) | 3) 412 #define PINMUX_GPIO50__FUNC_MD_UTXD1 (MTK_PIN_NO(50) | 4) 413 #define PINMUX_GPIO50__FUNC_WIFI_TXD (MTK_PIN_NO(50) | 5) 414 #define PINMUX_GPIO50__FUNC_TP_UTXD2_AO (MTK_PIN_NO(50) | 6) 415 #define PINMUX_GPIO50__FUNC_DBG_MON_B29 (MTK_PIN_NO(50) | 7) 416 417 #define PINMUX_GPIO51__FUNC_GPIO51 (MTK_PIN_NO(51) | 0) 418 #define PINMUX_GPIO51__FUNC_SCL0 (MTK_PIN_NO(51) | 1) 419 420 #define PINMUX_GPIO52__FUNC_GPIO52 (MTK_PIN_NO(52) | 0) 421 #define PINMUX_GPIO52__FUNC_SDA0 (MTK_PIN_NO(52) | 1) 422 423 #define PINMUX_GPIO53__FUNC_GPIO53 (MTK_PIN_NO(53) | 0) 424 #define PINMUX_GPIO53__FUNC_URXD0 (MTK_PIN_NO(53) | 1) 425 #define PINMUX_GPIO53__FUNC_UTXD0 (MTK_PIN_NO(53) | 2) 426 #define PINMUX_GPIO53__FUNC_MD_URXD0 (MTK_PIN_NO(53) | 3) 427 #define PINMUX_GPIO53__FUNC_MD_URXD1 (MTK_PIN_NO(53) | 4) 428 #define PINMUX_GPIO53__FUNC_SSPM_URXD_AO (MTK_PIN_NO(53) | 5) 429 #define PINMUX_GPIO53__FUNC_CONN_UART0_RXD (MTK_PIN_NO(53) | 7) 430 431 #define PINMUX_GPIO54__FUNC_GPIO54 (MTK_PIN_NO(54) | 0) 432 #define PINMUX_GPIO54__FUNC_UTXD0 (MTK_PIN_NO(54) | 1) 433 #define PINMUX_GPIO54__FUNC_URXD0 (MTK_PIN_NO(54) | 2) 434 #define PINMUX_GPIO54__FUNC_MD_UTXD0 (MTK_PIN_NO(54) | 3) 435 #define PINMUX_GPIO54__FUNC_MD_UTXD1 (MTK_PIN_NO(54) | 4) 436 #define PINMUX_GPIO54__FUNC_SSPM_UTXD_AO (MTK_PIN_NO(54) | 5) 437 #define PINMUX_GPIO54__FUNC_WIFI_TXD (MTK_PIN_NO(54) | 6) 438 #define PINMUX_GPIO54__FUNC_CONN_UART0_TXD (MTK_PIN_NO(54) | 7) 439 440 #define PINMUX_GPIO55__FUNC_GPIO55 (MTK_PIN_NO(55) | 0) 441 #define PINMUX_GPIO55__FUNC_SCL3 (MTK_PIN_NO(55) | 1) 442 #define PINMUX_GPIO55__FUNC_SCP_SCL0 (MTK_PIN_NO(55) | 2) 443 #define PINMUX_GPIO55__FUNC_SCP_SCL1 (MTK_PIN_NO(55) | 3) 444 #define PINMUX_GPIO55__FUNC_SCL_6306 (MTK_PIN_NO(55) | 4) 445 446 #define PINMUX_GPIO56__FUNC_GPIO56 (MTK_PIN_NO(56) | 0) 447 #define PINMUX_GPIO56__FUNC_SDA3 (MTK_PIN_NO(56) | 1) 448 #define PINMUX_GPIO56__FUNC_SCP_SDA0 (MTK_PIN_NO(56) | 2) 449 #define PINMUX_GPIO56__FUNC_SCP_SDA1 (MTK_PIN_NO(56) | 3) 450 #define PINMUX_GPIO56__FUNC_SDA_6306 (MTK_PIN_NO(56) | 4) 451 452 #define PINMUX_GPIO57__FUNC_GPIO57 (MTK_PIN_NO(57) | 0) 453 #define PINMUX_GPIO57__FUNC_KPROW1 (MTK_PIN_NO(57) | 1) 454 #define PINMUX_GPIO57__FUNC_PWM_1 (MTK_PIN_NO(57) | 2) 455 #define PINMUX_GPIO57__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(57) | 3) 456 #define PINMUX_GPIO57__FUNC_CLKM1 (MTK_PIN_NO(57) | 4) 457 #define PINMUX_GPIO57__FUNC_IDDIG (MTK_PIN_NO(57) | 5) 458 #define PINMUX_GPIO57__FUNC_CONN_TCXOENA_REQ (MTK_PIN_NO(57) | 6) 459 #define PINMUX_GPIO57__FUNC_MBISTREADEN_TRIGGER (MTK_PIN_NO(57) | 7) 460 461 #define PINMUX_GPIO58__FUNC_GPIO58 (MTK_PIN_NO(58) | 0) 462 #define PINMUX_GPIO58__FUNC_KPROW0 (MTK_PIN_NO(58) | 1) 463 #define PINMUX_GPIO58__FUNC_DBG_MON_B28 (MTK_PIN_NO(58) | 7) 464 465 #define PINMUX_GPIO59__FUNC_GPIO59 (MTK_PIN_NO(59) | 0) 466 #define PINMUX_GPIO59__FUNC_KPCOL0 (MTK_PIN_NO(59) | 1) 467 #define PINMUX_GPIO59__FUNC_DBG_MON_B27 (MTK_PIN_NO(59) | 7) 468 469 #define PINMUX_GPIO60__FUNC_GPIO60 (MTK_PIN_NO(60) | 0) 470 #define PINMUX_GPIO60__FUNC_KPCOL1 (MTK_PIN_NO(60) | 1) 471 #define PINMUX_GPIO60__FUNC_PWM_2 (MTK_PIN_NO(60) | 2) 472 #define PINMUX_GPIO60__FUNC_UCTS1 (MTK_PIN_NO(60) | 3) 473 #define PINMUX_GPIO60__FUNC_CLKM2 (MTK_PIN_NO(60) | 4) 474 #define PINMUX_GPIO60__FUNC_USB_DRVVBUS (MTK_PIN_NO(60) | 5) 475 #define PINMUX_GPIO60__FUNC_MBISTWRITEEN_TRIGGER (MTK_PIN_NO(60) | 7) 476 477 #define PINMUX_GPIO61__FUNC_GPIO61 (MTK_PIN_NO(61) | 0) 478 #define PINMUX_GPIO61__FUNC_SCL1 (MTK_PIN_NO(61) | 1) 479 #define PINMUX_GPIO61__FUNC_SCP_SCL0 (MTK_PIN_NO(61) | 2) 480 #define PINMUX_GPIO61__FUNC_SCP_SCL1 (MTK_PIN_NO(61) | 3) 481 482 #define PINMUX_GPIO62__FUNC_GPIO62 (MTK_PIN_NO(62) | 0) 483 #define PINMUX_GPIO62__FUNC_SDA1 (MTK_PIN_NO(62) | 1) 484 #define PINMUX_GPIO62__FUNC_SCP_SDA0 (MTK_PIN_NO(62) | 2) 485 #define PINMUX_GPIO62__FUNC_SCP_SDA1 (MTK_PIN_NO(62) | 3) 486 487 #define PINMUX_GPIO63__FUNC_GPIO63 (MTK_PIN_NO(63) | 0) 488 #define PINMUX_GPIO63__FUNC_SPI2_MI (MTK_PIN_NO(63) | 1) 489 #define PINMUX_GPIO63__FUNC_SCP_SPI2_MI (MTK_PIN_NO(63) | 2) 490 #define PINMUX_GPIO63__FUNC_KPCOL2 (MTK_PIN_NO(63) | 3) 491 #define PINMUX_GPIO63__FUNC_MRG_DI (MTK_PIN_NO(63) | 4) 492 #define PINMUX_GPIO63__FUNC_MD_URXD0 (MTK_PIN_NO(63) | 5) 493 #define PINMUX_GPIO63__FUNC_CONN_UART0_RXD (MTK_PIN_NO(63) | 6) 494 #define PINMUX_GPIO63__FUNC_DBG_MON_B26 (MTK_PIN_NO(63) | 7) 495 496 #define PINMUX_GPIO64__FUNC_GPIO64 (MTK_PIN_NO(64) | 0) 497 #define PINMUX_GPIO64__FUNC_SPI2_CSB (MTK_PIN_NO(64) | 1) 498 #define PINMUX_GPIO64__FUNC_SCP_SPI2_CS (MTK_PIN_NO(64) | 2) 499 #define PINMUX_GPIO64__FUNC_KPROW2 (MTK_PIN_NO(64) | 3) 500 #define PINMUX_GPIO64__FUNC_MRG_SYNC (MTK_PIN_NO(64) | 4) 501 #define PINMUX_GPIO64__FUNC_MD_UTXD0 (MTK_PIN_NO(64) | 5) 502 #define PINMUX_GPIO64__FUNC_CONN_UART0_TXD (MTK_PIN_NO(64) | 6) 503 #define PINMUX_GPIO64__FUNC_DBG_MON_B25 (MTK_PIN_NO(64) | 7) 504 505 #define PINMUX_GPIO65__FUNC_GPIO65 (MTK_PIN_NO(65) | 0) 506 #define PINMUX_GPIO65__FUNC_SPI2_MO (MTK_PIN_NO(65) | 1) 507 #define PINMUX_GPIO65__FUNC_SCP_SPI2_MO (MTK_PIN_NO(65) | 2) 508 #define PINMUX_GPIO65__FUNC_SCP_SDA1 (MTK_PIN_NO(65) | 3) 509 #define PINMUX_GPIO65__FUNC_MRG_DO (MTK_PIN_NO(65) | 4) 510 #define PINMUX_GPIO65__FUNC_MD_URXD1 (MTK_PIN_NO(65) | 5) 511 #define PINMUX_GPIO65__FUNC_PWM_3 (MTK_PIN_NO(65) | 6) 512 513 #define PINMUX_GPIO66__FUNC_GPIO66 (MTK_PIN_NO(66) | 0) 514 #define PINMUX_GPIO66__FUNC_SPI2_CLK (MTK_PIN_NO(66) | 1) 515 #define PINMUX_GPIO66__FUNC_SCP_SPI2_CK (MTK_PIN_NO(66) | 2) 516 #define PINMUX_GPIO66__FUNC_SCP_SCL1 (MTK_PIN_NO(66) | 3) 517 #define PINMUX_GPIO66__FUNC_MRG_CLK (MTK_PIN_NO(66) | 4) 518 #define PINMUX_GPIO66__FUNC_MD_UTXD1 (MTK_PIN_NO(66) | 5) 519 #define PINMUX_GPIO66__FUNC_WIFI_TXD (MTK_PIN_NO(66) | 6) 520 521 #define PINMUX_GPIO67__FUNC_GPIO67 (MTK_PIN_NO(67) | 0) 522 #define PINMUX_GPIO67__FUNC_I2S3_LRCK (MTK_PIN_NO(67) | 1) 523 #define PINMUX_GPIO67__FUNC_I2S1_LRCK (MTK_PIN_NO(67) | 2) 524 #define PINMUX_GPIO67__FUNC_URXD1 (MTK_PIN_NO(67) | 3) 525 #define PINMUX_GPIO67__FUNC_PCM0_SYNC (MTK_PIN_NO(67) | 4) 526 #define PINMUX_GPIO67__FUNC_I2S5_LRCK (MTK_PIN_NO(67) | 5) 527 #define PINMUX_GPIO67__FUNC_ANT_SEL9 (MTK_PIN_NO(67) | 6) 528 #define PINMUX_GPIO67__FUNC_DBG_MON_B10 (MTK_PIN_NO(67) | 7) 529 530 #define PINMUX_GPIO68__FUNC_GPIO68 (MTK_PIN_NO(68) | 0) 531 #define PINMUX_GPIO68__FUNC_I2S3_DO (MTK_PIN_NO(68) | 1) 532 #define PINMUX_GPIO68__FUNC_I2S1_DO (MTK_PIN_NO(68) | 2) 533 #define PINMUX_GPIO68__FUNC_UTXD1 (MTK_PIN_NO(68) | 3) 534 #define PINMUX_GPIO68__FUNC_PCM0_DO (MTK_PIN_NO(68) | 4) 535 #define PINMUX_GPIO68__FUNC_I2S5_DO (MTK_PIN_NO(68) | 5) 536 #define PINMUX_GPIO68__FUNC_ANT_SEL10 (MTK_PIN_NO(68) | 6) 537 #define PINMUX_GPIO68__FUNC_DBG_MON_B9 (MTK_PIN_NO(68) | 7) 538 539 #define PINMUX_GPIO69__FUNC_GPIO69 (MTK_PIN_NO(69) | 0) 540 #define PINMUX_GPIO69__FUNC_I2S3_MCK (MTK_PIN_NO(69) | 1) 541 #define PINMUX_GPIO69__FUNC_I2S1_MCK (MTK_PIN_NO(69) | 2) 542 #define PINMUX_GPIO69__FUNC_URTS1 (MTK_PIN_NO(69) | 3) 543 #define PINMUX_GPIO69__FUNC_AGPS_SYNC (MTK_PIN_NO(69) | 4) 544 #define PINMUX_GPIO69__FUNC_I2S5_MCK (MTK_PIN_NO(69) | 5) 545 #define PINMUX_GPIO69__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(69) | 6) 546 #define PINMUX_GPIO69__FUNC_DBG_MON_B8 (MTK_PIN_NO(69) | 7) 547 548 #define PINMUX_GPIO70__FUNC_GPIO70 (MTK_PIN_NO(70) | 0) 549 #define PINMUX_GPIO70__FUNC_I2S0_DI (MTK_PIN_NO(70) | 1) 550 #define PINMUX_GPIO70__FUNC_I2S2_DI (MTK_PIN_NO(70) | 2) 551 #define PINMUX_GPIO70__FUNC_KPCOL2 (MTK_PIN_NO(70) | 3) 552 #define PINMUX_GPIO70__FUNC_PCM0_DI (MTK_PIN_NO(70) | 4) 553 #define PINMUX_GPIO70__FUNC_I2S2_DI2 (MTK_PIN_NO(70) | 5) 554 #define PINMUX_GPIO70__FUNC_ANT_SEL11 (MTK_PIN_NO(70) | 6) 555 #define PINMUX_GPIO70__FUNC_DBG_MON_B7 (MTK_PIN_NO(70) | 7) 556 557 #define PINMUX_GPIO71__FUNC_GPIO71 (MTK_PIN_NO(71) | 0) 558 #define PINMUX_GPIO71__FUNC_I2S3_BCK (MTK_PIN_NO(71) | 1) 559 #define PINMUX_GPIO71__FUNC_I2S1_BCK (MTK_PIN_NO(71) | 2) 560 #define PINMUX_GPIO71__FUNC_KPROW2 (MTK_PIN_NO(71) | 3) 561 #define PINMUX_GPIO71__FUNC_PCM0_CLK (MTK_PIN_NO(71) | 4) 562 #define PINMUX_GPIO71__FUNC_I2S5_BCK (MTK_PIN_NO(71) | 5) 563 #define PINMUX_GPIO71__FUNC_ANT_SEL12 (MTK_PIN_NO(71) | 6) 564 #define PINMUX_GPIO71__FUNC_DBG_MON_B6 (MTK_PIN_NO(71) | 7) 565 566 #define PINMUX_GPIO72__FUNC_GPIO72 (MTK_PIN_NO(72) | 0) 567 #define PINMUX_GPIO72__FUNC_BPI_BUS19_OLAT0 (MTK_PIN_NO(72) | 1) 568 #define PINMUX_GPIO72__FUNC_CONN_BPI_BUS19_OLAT0 (MTK_PIN_NO(72) | 2) 569 570 #define PINMUX_GPIO73__FUNC_GPIO73 (MTK_PIN_NO(73) | 0) 571 #define PINMUX_GPIO73__FUNC_BPI_BUS18_PA_VM1 (MTK_PIN_NO(73) | 1) 572 #define PINMUX_GPIO73__FUNC_CONN_MIPI5_SCLK (MTK_PIN_NO(73) | 2) 573 #define PINMUX_GPIO73__FUNC_MIPI5_SCLK (MTK_PIN_NO(73) | 3) 574 575 #define PINMUX_GPIO74__FUNC_GPIO74 (MTK_PIN_NO(74) | 0) 576 #define PINMUX_GPIO74__FUNC_BPI_BUS17_PA_VM0 (MTK_PIN_NO(74) | 1) 577 #define PINMUX_GPIO74__FUNC_CONN_MIPI5_SDATA (MTK_PIN_NO(74) | 2) 578 #define PINMUX_GPIO74__FUNC_MIPI5_SDATA (MTK_PIN_NO(74) | 3) 579 580 #define PINMUX_GPIO75__FUNC_GPIO75 (MTK_PIN_NO(75) | 0) 581 #define PINMUX_GPIO75__FUNC_BPI_BUS20_OLAT1 (MTK_PIN_NO(75) | 1) 582 #define PINMUX_GPIO75__FUNC_CONN_BPI_BUS20_OLAT1 (MTK_PIN_NO(75) | 2) 583 #define PINMUX_GPIO75__FUNC_RFIC0_BSI_D2 (MTK_PIN_NO(75) | 3) 584 585 #define PINMUX_GPIO76__FUNC_GPIO76 (MTK_PIN_NO(76) | 0) 586 #define PINMUX_GPIO76__FUNC_RFIC0_BSI_D1 (MTK_PIN_NO(76) | 1) 587 588 #define PINMUX_GPIO77__FUNC_GPIO77 (MTK_PIN_NO(77) | 0) 589 #define PINMUX_GPIO77__FUNC_RFIC0_BSI_D0 (MTK_PIN_NO(77) | 1) 590 591 #define PINMUX_GPIO78__FUNC_GPIO78 (MTK_PIN_NO(78) | 0) 592 #define PINMUX_GPIO78__FUNC_BPI_BUS7 (MTK_PIN_NO(78) | 1) 593 #define PINMUX_GPIO78__FUNC_DBG_MON_B24 (MTK_PIN_NO(78) | 7) 594 595 #define PINMUX_GPIO79__FUNC_GPIO79 (MTK_PIN_NO(79) | 0) 596 #define PINMUX_GPIO79__FUNC_BPI_BUS6 (MTK_PIN_NO(79) | 1) 597 #define PINMUX_GPIO79__FUNC_DBG_MON_B23 (MTK_PIN_NO(79) | 7) 598 599 #define PINMUX_GPIO80__FUNC_GPIO80 (MTK_PIN_NO(80) | 0) 600 #define PINMUX_GPIO80__FUNC_BPI_BUS8 (MTK_PIN_NO(80) | 1) 601 #define PINMUX_GPIO80__FUNC_DBG_MON_B22 (MTK_PIN_NO(80) | 7) 602 603 #define PINMUX_GPIO81__FUNC_GPIO81 (MTK_PIN_NO(81) | 0) 604 #define PINMUX_GPIO81__FUNC_BPI_BUS9 (MTK_PIN_NO(81) | 1) 605 #define PINMUX_GPIO81__FUNC_DBG_MON_B21 (MTK_PIN_NO(81) | 7) 606 607 #define PINMUX_GPIO82__FUNC_GPIO82 (MTK_PIN_NO(82) | 0) 608 #define PINMUX_GPIO82__FUNC_BPI_BUS10 (MTK_PIN_NO(82) | 1) 609 #define PINMUX_GPIO82__FUNC_DBG_MON_B20 (MTK_PIN_NO(82) | 7) 610 611 #define PINMUX_GPIO83__FUNC_GPIO83 (MTK_PIN_NO(83) | 0) 612 #define PINMUX_GPIO83__FUNC_BPI_BUS11 (MTK_PIN_NO(83) | 1) 613 #define PINMUX_GPIO83__FUNC_DBG_MON_B19 (MTK_PIN_NO(83) | 7) 614 615 #define PINMUX_GPIO84__FUNC_GPIO84 (MTK_PIN_NO(84) | 0) 616 #define PINMUX_GPIO84__FUNC_BPI_BUS12 (MTK_PIN_NO(84) | 1) 617 #define PINMUX_GPIO84__FUNC_CONN_BPI_BUS12 (MTK_PIN_NO(84) | 2) 618 619 #define PINMUX_GPIO85__FUNC_GPIO85 (MTK_PIN_NO(85) | 0) 620 #define PINMUX_GPIO85__FUNC_BPI_BUS13 (MTK_PIN_NO(85) | 1) 621 #define PINMUX_GPIO85__FUNC_CONN_BPI_BUS13 (MTK_PIN_NO(85) | 2) 622 623 #define PINMUX_GPIO86__FUNC_GPIO86 (MTK_PIN_NO(86) | 0) 624 #define PINMUX_GPIO86__FUNC_BPI_BUS14 (MTK_PIN_NO(86) | 1) 625 #define PINMUX_GPIO86__FUNC_CONN_BPI_BUS14 (MTK_PIN_NO(86) | 2) 626 627 #define PINMUX_GPIO87__FUNC_GPIO87 (MTK_PIN_NO(87) | 0) 628 #define PINMUX_GPIO87__FUNC_BPI_BUS15 (MTK_PIN_NO(87) | 1) 629 #define PINMUX_GPIO87__FUNC_CONN_BPI_BUS15 (MTK_PIN_NO(87) | 2) 630 631 #define PINMUX_GPIO88__FUNC_GPIO88 (MTK_PIN_NO(88) | 0) 632 #define PINMUX_GPIO88__FUNC_BPI_BUS16 (MTK_PIN_NO(88) | 1) 633 #define PINMUX_GPIO88__FUNC_CONN_BPI_BUS16 (MTK_PIN_NO(88) | 2) 634 635 #define PINMUX_GPIO89__FUNC_GPIO89 (MTK_PIN_NO(89) | 0) 636 #define PINMUX_GPIO89__FUNC_BPI_BUS5 (MTK_PIN_NO(89) | 1) 637 #define PINMUX_GPIO89__FUNC_DBG_MON_B18 (MTK_PIN_NO(89) | 7) 638 639 #define PINMUX_GPIO90__FUNC_GPIO90 (MTK_PIN_NO(90) | 0) 640 #define PINMUX_GPIO90__FUNC_BPI_BUS4 (MTK_PIN_NO(90) | 1) 641 #define PINMUX_GPIO90__FUNC_DBG_MON_B17 (MTK_PIN_NO(90) | 7) 642 643 #define PINMUX_GPIO91__FUNC_GPIO91 (MTK_PIN_NO(91) | 0) 644 #define PINMUX_GPIO91__FUNC_BPI_BUS3 (MTK_PIN_NO(91) | 1) 645 646 #define PINMUX_GPIO92__FUNC_GPIO92 (MTK_PIN_NO(92) | 0) 647 #define PINMUX_GPIO92__FUNC_BPI_BUS2 (MTK_PIN_NO(92) | 1) 648 #define PINMUX_GPIO92__FUNC_DBG_MON_B16 (MTK_PIN_NO(92) | 7) 649 650 #define PINMUX_GPIO93__FUNC_GPIO93 (MTK_PIN_NO(93) | 0) 651 #define PINMUX_GPIO93__FUNC_BPI_BUS1 (MTK_PIN_NO(93) | 1) 652 653 #define PINMUX_GPIO94__FUNC_GPIO94 (MTK_PIN_NO(94) | 0) 654 #define PINMUX_GPIO94__FUNC_BPI_BUS0 (MTK_PIN_NO(94) | 1) 655 #define PINMUX_GPIO94__FUNC_DBG_MON_B15 (MTK_PIN_NO(94) | 7) 656 657 #define PINMUX_GPIO95__FUNC_GPIO95 (MTK_PIN_NO(95) | 0) 658 #define PINMUX_GPIO95__FUNC_MIPI0_SDATA (MTK_PIN_NO(95) | 1) 659 660 #define PINMUX_GPIO96__FUNC_GPIO96 (MTK_PIN_NO(96) | 0) 661 #define PINMUX_GPIO96__FUNC_MIPI0_SCLK (MTK_PIN_NO(96) | 1) 662 663 #define PINMUX_GPIO97__FUNC_GPIO97 (MTK_PIN_NO(97) | 0) 664 #define PINMUX_GPIO97__FUNC_MIPI1_SDATA (MTK_PIN_NO(97) | 1) 665 666 #define PINMUX_GPIO98__FUNC_GPIO98 (MTK_PIN_NO(98) | 0) 667 #define PINMUX_GPIO98__FUNC_MIPI1_SCLK (MTK_PIN_NO(98) | 1) 668 669 #define PINMUX_GPIO99__FUNC_GPIO99 (MTK_PIN_NO(99) | 0) 670 #define PINMUX_GPIO99__FUNC_MIPI2_SCLK (MTK_PIN_NO(99) | 1) 671 #define PINMUX_GPIO99__FUNC_DBG_MON_B14 (MTK_PIN_NO(99) | 7) 672 673 #define PINMUX_GPIO100__FUNC_GPIO100 (MTK_PIN_NO(100) | 0) 674 #define PINMUX_GPIO100__FUNC_MIPI2_SDATA (MTK_PIN_NO(100) | 1) 675 #define PINMUX_GPIO100__FUNC_DBG_MON_B13 (MTK_PIN_NO(100) | 7) 676 677 #define PINMUX_GPIO101__FUNC_GPIO101 (MTK_PIN_NO(101) | 0) 678 #define PINMUX_GPIO101__FUNC_MIPI3_SCLK (MTK_PIN_NO(101) | 1) 679 #define PINMUX_GPIO101__FUNC_DBG_MON_B12 (MTK_PIN_NO(101) | 7) 680 681 #define PINMUX_GPIO102__FUNC_GPIO102 (MTK_PIN_NO(102) | 0) 682 #define PINMUX_GPIO102__FUNC_MIPI3_SDATA (MTK_PIN_NO(102) | 1) 683 #define PINMUX_GPIO102__FUNC_DBG_MON_B11 (MTK_PIN_NO(102) | 7) 684 685 #define PINMUX_GPIO103__FUNC_GPIO103 (MTK_PIN_NO(103) | 0) 686 #define PINMUX_GPIO103__FUNC_MIPI4_SCLK (MTK_PIN_NO(103) | 1) 687 #define PINMUX_GPIO103__FUNC_CONN_MIPI4_SCLK (MTK_PIN_NO(103) | 2) 688 689 #define PINMUX_GPIO104__FUNC_GPIO104 (MTK_PIN_NO(104) | 0) 690 #define PINMUX_GPIO104__FUNC_MIPI4_SDATA (MTK_PIN_NO(104) | 1) 691 #define PINMUX_GPIO104__FUNC_CONN_MIPI4_SDATA (MTK_PIN_NO(104) | 2) 692 693 #define PINMUX_GPIO105__FUNC_GPIO105 (MTK_PIN_NO(105) | 0) 694 #define PINMUX_GPIO105__FUNC_BPI_BUS22_OLAT3 (MTK_PIN_NO(105) | 1) 695 #define PINMUX_GPIO105__FUNC_CONN_BPI_BUS22_OLAT3 (MTK_PIN_NO(105) | 2) 696 697 #define PINMUX_GPIO106__FUNC_GPIO106 (MTK_PIN_NO(106) | 0) 698 #define PINMUX_GPIO106__FUNC_BPI_BUS21_OLAT2 (MTK_PIN_NO(106) | 1) 699 #define PINMUX_GPIO106__FUNC_CONN_BPI_BUS21_OLAT2 (MTK_PIN_NO(106) | 2) 700 701 #define PINMUX_GPIO107__FUNC_GPIO107 (MTK_PIN_NO(107) | 0) 702 #define PINMUX_GPIO107__FUNC_BPI_BUS24_ANT1 (MTK_PIN_NO(107) | 1) 703 #define PINMUX_GPIO107__FUNC_CONN_BPI_BUS24_ANT1 (MTK_PIN_NO(107) | 2) 704 705 #define PINMUX_GPIO108__FUNC_GPIO108 (MTK_PIN_NO(108) | 0) 706 #define PINMUX_GPIO108__FUNC_BPI_BUS25_ANT2 (MTK_PIN_NO(108) | 1) 707 #define PINMUX_GPIO108__FUNC_CONN_BPI_BUS25_ANT2 (MTK_PIN_NO(108) | 2) 708 709 #define PINMUX_GPIO109__FUNC_GPIO109 (MTK_PIN_NO(109) | 0) 710 #define PINMUX_GPIO109__FUNC_BPI_BUS23_ANT0 (MTK_PIN_NO(109) | 1) 711 #define PINMUX_GPIO109__FUNC_CONN_BPI_BUS23_ANT0 (MTK_PIN_NO(109) | 2) 712 713 #define PINMUX_GPIO110__FUNC_GPIO110 (MTK_PIN_NO(110) | 0) 714 #define PINMUX_GPIO110__FUNC_SCL4 (MTK_PIN_NO(110) | 1) 715 716 #define PINMUX_GPIO111__FUNC_GPIO111 (MTK_PIN_NO(111) | 0) 717 #define PINMUX_GPIO111__FUNC_SDA4 (MTK_PIN_NO(111) | 1) 718 719 #define PINMUX_GPIO112__FUNC_GPIO112 (MTK_PIN_NO(112) | 0) 720 #define PINMUX_GPIO112__FUNC_SCL2 (MTK_PIN_NO(112) | 1) 721 722 #define PINMUX_GPIO113__FUNC_GPIO113 (MTK_PIN_NO(113) | 0) 723 #define PINMUX_GPIO113__FUNC_SDA2 (MTK_PIN_NO(113) | 1) 724 725 #define PINMUX_GPIO114__FUNC_GPIO114 (MTK_PIN_NO(114) | 0) 726 #define PINMUX_GPIO114__FUNC_CLKM0 (MTK_PIN_NO(114) | 1) 727 #define PINMUX_GPIO114__FUNC_SPI3_MI (MTK_PIN_NO(114) | 2) 728 #define PINMUX_GPIO114__FUNC_DBG_MON_B5 (MTK_PIN_NO(114) | 7) 729 730 #define PINMUX_GPIO115__FUNC_GPIO115 (MTK_PIN_NO(115) | 0) 731 #define PINMUX_GPIO115__FUNC_CLKM1 (MTK_PIN_NO(115) | 1) 732 #define PINMUX_GPIO115__FUNC_SPI3_CSB (MTK_PIN_NO(115) | 2) 733 #define PINMUX_GPIO115__FUNC_DBG_MON_B4 (MTK_PIN_NO(115) | 7) 734 735 #define PINMUX_GPIO116__FUNC_GPIO116 (MTK_PIN_NO(116) | 0) 736 #define PINMUX_GPIO116__FUNC_CMMCLK0 (MTK_PIN_NO(116) | 1) 737 #define PINMUX_GPIO116__FUNC_DBG_MON_B3 (MTK_PIN_NO(116) | 7) 738 739 #define PINMUX_GPIO117__FUNC_GPIO117 (MTK_PIN_NO(117) | 0) 740 #define PINMUX_GPIO117__FUNC_CMMCLK1 (MTK_PIN_NO(117) | 1) 741 #define PINMUX_GPIO117__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(117) | 2) 742 #define PINMUX_GPIO117__FUNC_DBG_MON_B2 (MTK_PIN_NO(117) | 7) 743 744 #define PINMUX_GPIO118__FUNC_GPIO118 (MTK_PIN_NO(118) | 0) 745 #define PINMUX_GPIO118__FUNC_CLKM2 (MTK_PIN_NO(118) | 1) 746 #define PINMUX_GPIO118__FUNC_SPI3_MO (MTK_PIN_NO(118) | 2) 747 #define PINMUX_GPIO118__FUNC_DBG_MON_B1 (MTK_PIN_NO(118) | 7) 748 749 #define PINMUX_GPIO119__FUNC_GPIO119 (MTK_PIN_NO(119) | 0) 750 #define PINMUX_GPIO119__FUNC_CLKM3 (MTK_PIN_NO(119) | 1) 751 #define PINMUX_GPIO119__FUNC_SPI3_CLK (MTK_PIN_NO(119) | 2) 752 #define PINMUX_GPIO119__FUNC_DBG_MON_B0 (MTK_PIN_NO(119) | 7) 753 754 #define PINMUX_GPIO120__FUNC_GPIO120 (MTK_PIN_NO(120) | 0) 755 #define PINMUX_GPIO120__FUNC_CMMCLK2 (MTK_PIN_NO(120) | 1) 756 #define PINMUX_GPIO120__FUNC_CLKM2 (MTK_PIN_NO(120) | 2) 757 #define PINMUX_GPIO120__FUNC_ANT_SEL12 (MTK_PIN_NO(120) | 6) 758 #define PINMUX_GPIO120__FUNC_TP_UCTS2_AO (MTK_PIN_NO(120) | 7) 759 760 #define PINMUX_GPIO121__FUNC_GPIO121 (MTK_PIN_NO(121) | 0) 761 #define PINMUX_GPIO121__FUNC_CMMCLK3 (MTK_PIN_NO(121) | 1) 762 #define PINMUX_GPIO121__FUNC_CLKM3 (MTK_PIN_NO(121) | 2) 763 #define PINMUX_GPIO121__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(121) | 3) 764 #define PINMUX_GPIO121__FUNC_ANT_SEL11 (MTK_PIN_NO(121) | 6) 765 #define PINMUX_GPIO121__FUNC_TP_URTS2_AO (MTK_PIN_NO(121) | 7) 766 767 #define PINMUX_GPIO122__FUNC_GPIO122 (MTK_PIN_NO(122) | 0) 768 #define PINMUX_GPIO122__FUNC_CMVREF1 (MTK_PIN_NO(122) | 1) 769 #define PINMUX_GPIO122__FUNC_PCM0_SYNC (MTK_PIN_NO(122) | 2) 770 #define PINMUX_GPIO122__FUNC_SRCLKENAI1 (MTK_PIN_NO(122) | 3) 771 #define PINMUX_GPIO122__FUNC_AGPS_SYNC (MTK_PIN_NO(122) | 4) 772 #define PINMUX_GPIO122__FUNC_PWM_1 (MTK_PIN_NO(122) | 5) 773 #define PINMUX_GPIO122__FUNC_ANT_SEL9 (MTK_PIN_NO(122) | 6) 774 #define PINMUX_GPIO122__FUNC_TP_UCTS1_AO (MTK_PIN_NO(122) | 7) 775 776 #define PINMUX_GPIO123__FUNC_GPIO123 (MTK_PIN_NO(123) | 0) 777 #define PINMUX_GPIO123__FUNC_PCM0_DI (MTK_PIN_NO(123) | 2) 778 #define PINMUX_GPIO123__FUNC_ADSP_JTAG_TRSTN (MTK_PIN_NO(123) | 3) 779 #define PINMUX_GPIO123__FUNC_VPU_UDI_NTRST (MTK_PIN_NO(123) | 4) 780 #define PINMUX_GPIO123__FUNC_SPM_JTAG_TRSTN (MTK_PIN_NO(123) | 5) 781 #define PINMUX_GPIO123__FUNC_SSPM_JTAG_TRSTN (MTK_PIN_NO(123) | 6) 782 783 #define PINMUX_GPIO124__FUNC_GPIO124 (MTK_PIN_NO(124) | 0) 784 #define PINMUX_GPIO124__FUNC_CMVREF2 (MTK_PIN_NO(124) | 1) 785 #define PINMUX_GPIO124__FUNC_PCM0_CLK (MTK_PIN_NO(124) | 2) 786 #define PINMUX_GPIO124__FUNC_MD_INT0 (MTK_PIN_NO(124) | 3) 787 #define PINMUX_GPIO124__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(124) | 4) 788 #define PINMUX_GPIO124__FUNC_PWM_2 (MTK_PIN_NO(124) | 5) 789 #define PINMUX_GPIO124__FUNC_ANT_SEL10 (MTK_PIN_NO(124) | 6) 790 #define PINMUX_GPIO124__FUNC_TP_URTS1_AO (MTK_PIN_NO(124) | 7) 791 792 #define PINMUX_GPIO125__FUNC_GPIO125 (MTK_PIN_NO(125) | 0) 793 #define PINMUX_GPIO125__FUNC_CMVREF3 (MTK_PIN_NO(125) | 1) 794 #define PINMUX_GPIO125__FUNC_PCM0_DO (MTK_PIN_NO(125) | 2) 795 #define PINMUX_GPIO125__FUNC_ADSP_JTAG_TMS (MTK_PIN_NO(125) | 3) 796 #define PINMUX_GPIO125__FUNC_VPU_UDI_TMS (MTK_PIN_NO(125) | 4) 797 #define PINMUX_GPIO125__FUNC_SPM_JTAG_TMS (MTK_PIN_NO(125) | 5) 798 #define PINMUX_GPIO125__FUNC_SSPM_JTAG_TMS (MTK_PIN_NO(125) | 6) 799 800 #define PINMUX_GPIO126__FUNC_GPIO126 (MTK_PIN_NO(126) | 0) 801 #define PINMUX_GPIO126__FUNC_CMVREF4 (MTK_PIN_NO(126) | 1) 802 #define PINMUX_GPIO126__FUNC_CMFLASH0 (MTK_PIN_NO(126) | 2) 803 #define PINMUX_GPIO126__FUNC_CONN_MCU_AICE_TMSC (MTK_PIN_NO(126) | 6) 804 805 #define PINMUX_GPIO127__FUNC_GPIO127 (MTK_PIN_NO(127) | 0) 806 #define PINMUX_GPIO127__FUNC_CMVREF0 (MTK_PIN_NO(127) | 1) 807 #define PINMUX_GPIO127__FUNC_CMFLASH1 (MTK_PIN_NO(127) | 2) 808 #define PINMUX_GPIO127__FUNC_CONN_MCU_AICE_TCKC (MTK_PIN_NO(127) | 6) 809 810 #define PINMUX_GPIO128__FUNC_GPIO128 (MTK_PIN_NO(128) | 0) 811 #define PINMUX_GPIO128__FUNC_MD1_SIM1_SIO (MTK_PIN_NO(128) | 1) 812 #define PINMUX_GPIO128__FUNC_MD1_SIM2_SIO (MTK_PIN_NO(128) | 2) 813 #define PINMUX_GPIO128__FUNC_CCU_JTAG_TRST (MTK_PIN_NO(128) | 3) 814 #define PINMUX_GPIO128__FUNC_CONN_DSP_JINTP (MTK_PIN_NO(128) | 4) 815 #define PINMUX_GPIO128__FUNC_SCP_JTAG_TRSTN (MTK_PIN_NO(128) | 5) 816 #define PINMUX_GPIO128__FUNC_LVTS_FOUT (MTK_PIN_NO(128) | 6) 817 #define PINMUX_GPIO128__FUNC_DBG_MON_A3 (MTK_PIN_NO(128) | 7) 818 819 #define PINMUX_GPIO129__FUNC_GPIO129 (MTK_PIN_NO(129) | 0) 820 #define PINMUX_GPIO129__FUNC_MD1_SIM1_SRST (MTK_PIN_NO(129) | 1) 821 #define PINMUX_GPIO129__FUNC_MD1_SIM2_SRST (MTK_PIN_NO(129) | 2) 822 #define PINMUX_GPIO129__FUNC_CCU_JTAG_TCK (MTK_PIN_NO(129) | 3) 823 #define PINMUX_GPIO129__FUNC_CONN_DSP_JCK (MTK_PIN_NO(129) | 4) 824 #define PINMUX_GPIO129__FUNC_SCP_JTAG_TCK (MTK_PIN_NO(129) | 5) 825 #define PINMUX_GPIO129__FUNC_LVTS_SDO (MTK_PIN_NO(129) | 6) 826 #define PINMUX_GPIO129__FUNC_DBG_MON_A4 (MTK_PIN_NO(129) | 7) 827 828 #define PINMUX_GPIO130__FUNC_GPIO130 (MTK_PIN_NO(130) | 0) 829 #define PINMUX_GPIO130__FUNC_MD1_SIM1_SCLK (MTK_PIN_NO(130) | 1) 830 #define PINMUX_GPIO130__FUNC_MD1_SIM2_SCLK (MTK_PIN_NO(130) | 2) 831 #define PINMUX_GPIO130__FUNC_LVTS_26M (MTK_PIN_NO(130) | 6) 832 #define PINMUX_GPIO130__FUNC_DBG_MON_A5 (MTK_PIN_NO(130) | 7) 833 834 #define PINMUX_GPIO131__FUNC_GPIO131 (MTK_PIN_NO(131) | 0) 835 #define PINMUX_GPIO131__FUNC_MD1_SIM2_SCLK (MTK_PIN_NO(131) | 1) 836 #define PINMUX_GPIO131__FUNC_MD1_SIM1_SCLK (MTK_PIN_NO(131) | 2) 837 #define PINMUX_GPIO131__FUNC_CCU_JTAG_TDI (MTK_PIN_NO(131) | 3) 838 #define PINMUX_GPIO131__FUNC_CONN_DSP_JDI (MTK_PIN_NO(131) | 4) 839 #define PINMUX_GPIO131__FUNC_SCP_JTAG_TDI (MTK_PIN_NO(131) | 5) 840 #define PINMUX_GPIO131__FUNC_LVTS_SCK (MTK_PIN_NO(131) | 6) 841 #define PINMUX_GPIO131__FUNC_DBG_MON_A0 (MTK_PIN_NO(131) | 7) 842 843 #define PINMUX_GPIO132__FUNC_GPIO132 (MTK_PIN_NO(132) | 0) 844 #define PINMUX_GPIO132__FUNC_MD1_SIM2_SRST (MTK_PIN_NO(132) | 1) 845 #define PINMUX_GPIO132__FUNC_MD1_SIM1_SRST (MTK_PIN_NO(132) | 2) 846 #define PINMUX_GPIO132__FUNC_CCU_JTAG_TMS (MTK_PIN_NO(132) | 3) 847 #define PINMUX_GPIO132__FUNC_CONN_DSP_JMS (MTK_PIN_NO(132) | 4) 848 #define PINMUX_GPIO132__FUNC_SCP_JTAG_TMS (MTK_PIN_NO(132) | 5) 849 #define PINMUX_GPIO132__FUNC_LVTS_SDI (MTK_PIN_NO(132) | 6) 850 #define PINMUX_GPIO132__FUNC_DBG_MON_A1 (MTK_PIN_NO(132) | 7) 851 852 #define PINMUX_GPIO133__FUNC_GPIO133 (MTK_PIN_NO(133) | 0) 853 #define PINMUX_GPIO133__FUNC_MD1_SIM2_SIO (MTK_PIN_NO(133) | 1) 854 #define PINMUX_GPIO133__FUNC_MD1_SIM1_SIO (MTK_PIN_NO(133) | 2) 855 #define PINMUX_GPIO133__FUNC_CCU_JTAG_TDO (MTK_PIN_NO(133) | 3) 856 #define PINMUX_GPIO133__FUNC_CONN_DSP_JDO (MTK_PIN_NO(133) | 4) 857 #define PINMUX_GPIO133__FUNC_SCP_JTAG_TDO (MTK_PIN_NO(133) | 5) 858 #define PINMUX_GPIO133__FUNC_LVTS_SCF (MTK_PIN_NO(133) | 6) 859 #define PINMUX_GPIO133__FUNC_DBG_MON_A2 (MTK_PIN_NO(133) | 7) 860 861 #define PINMUX_GPIO134__FUNC_GPIO134 (MTK_PIN_NO(134) | 0) 862 #define PINMUX_GPIO134__FUNC_MSDC1_CLK (MTK_PIN_NO(134) | 1) 863 #define PINMUX_GPIO134__FUNC_PCM1_CLK (MTK_PIN_NO(134) | 2) 864 #define PINMUX_GPIO134__FUNC_SPI5_B_MI (MTK_PIN_NO(134) | 3) 865 #define PINMUX_GPIO134__FUNC_UDI_TCK (MTK_PIN_NO(134) | 4) 866 #define PINMUX_GPIO134__FUNC_CONN_DSP_JCK (MTK_PIN_NO(134) | 5) 867 #define PINMUX_GPIO134__FUNC_IPU_JTAG_TCK (MTK_PIN_NO(134) | 6) 868 #define PINMUX_GPIO134__FUNC_JTCK_SEL3 (MTK_PIN_NO(134) | 7) 869 870 #define PINMUX_GPIO135__FUNC_GPIO135 (MTK_PIN_NO(135) | 0) 871 #define PINMUX_GPIO135__FUNC_MSDC1_CMD (MTK_PIN_NO(135) | 1) 872 #define PINMUX_GPIO135__FUNC_PCM1_SYNC (MTK_PIN_NO(135) | 2) 873 #define PINMUX_GPIO135__FUNC_SPI5_B_CSB (MTK_PIN_NO(135) | 3) 874 #define PINMUX_GPIO135__FUNC_UDI_TMS (MTK_PIN_NO(135) | 4) 875 #define PINMUX_GPIO135__FUNC_CONN_DSP_JMS (MTK_PIN_NO(135) | 5) 876 #define PINMUX_GPIO135__FUNC_IPU_JTAG_TMS (MTK_PIN_NO(135) | 6) 877 #define PINMUX_GPIO135__FUNC_JTMS_SEL3 (MTK_PIN_NO(135) | 7) 878 879 #define PINMUX_GPIO136__FUNC_GPIO136 (MTK_PIN_NO(136) | 0) 880 #define PINMUX_GPIO136__FUNC_MSDC1_DAT3 (MTK_PIN_NO(136) | 1) 881 #define PINMUX_GPIO136__FUNC_PCM1_DI (MTK_PIN_NO(136) | 2) 882 #define PINMUX_GPIO136__FUNC_SPI5_B_MO (MTK_PIN_NO(136) | 3) 883 #define PINMUX_GPIO136__FUNC_CONN_TCXOENA_REQ (MTK_PIN_NO(136) | 4) 884 #define PINMUX_GPIO136__FUNC_CONN_DSP_JINTP (MTK_PIN_NO(136) | 5) 885 #define PINMUX_GPIO136__FUNC_CONN_MCU_AICE_TMSC (MTK_PIN_NO(136) | 6) 886 887 #define PINMUX_GPIO137__FUNC_GPIO137 (MTK_PIN_NO(137) | 0) 888 #define PINMUX_GPIO137__FUNC_MSDC1_DAT0 (MTK_PIN_NO(137) | 1) 889 #define PINMUX_GPIO137__FUNC_PCM1_DO0 (MTK_PIN_NO(137) | 2) 890 #define PINMUX_GPIO137__FUNC_SPI5_B_CLK (MTK_PIN_NO(137) | 3) 891 #define PINMUX_GPIO137__FUNC_UDI_TDI (MTK_PIN_NO(137) | 4) 892 #define PINMUX_GPIO137__FUNC_CONN_DSP_JDI (MTK_PIN_NO(137) | 5) 893 #define PINMUX_GPIO137__FUNC_IPU_JTAG_TDI (MTK_PIN_NO(137) | 6) 894 #define PINMUX_GPIO137__FUNC_JTDI_SEL3 (MTK_PIN_NO(137) | 7) 895 896 #define PINMUX_GPIO138__FUNC_GPIO138 (MTK_PIN_NO(138) | 0) 897 #define PINMUX_GPIO138__FUNC_MSDC1_DAT2 (MTK_PIN_NO(138) | 1) 898 #define PINMUX_GPIO138__FUNC_PCM1_DO2 (MTK_PIN_NO(138) | 2) 899 #define PINMUX_GPIO138__FUNC_ANT_SEL11 (MTK_PIN_NO(138) | 3) 900 #define PINMUX_GPIO138__FUNC_UDI_NTRST (MTK_PIN_NO(138) | 4) 901 #define PINMUX_GPIO138__FUNC_CONN_MCU_AICE_TCKC (MTK_PIN_NO(138) | 5) 902 #define PINMUX_GPIO138__FUNC_IPU_JTAG_TRST (MTK_PIN_NO(138) | 6) 903 #define PINMUX_GPIO138__FUNC_JTRSTN_SEL3 (MTK_PIN_NO(138) | 7) 904 905 #define PINMUX_GPIO139__FUNC_GPIO139 (MTK_PIN_NO(139) | 0) 906 #define PINMUX_GPIO139__FUNC_MSDC1_DAT1 (MTK_PIN_NO(139) | 1) 907 #define PINMUX_GPIO139__FUNC_PCM1_DO1 (MTK_PIN_NO(139) | 2) 908 #define PINMUX_GPIO139__FUNC_ANT_SEL12 (MTK_PIN_NO(139) | 3) 909 #define PINMUX_GPIO139__FUNC_UDI_TDO (MTK_PIN_NO(139) | 4) 910 #define PINMUX_GPIO139__FUNC_CONN_DSP_JDO (MTK_PIN_NO(139) | 5) 911 #define PINMUX_GPIO139__FUNC_IPU_JTAG_TDO (MTK_PIN_NO(139) | 6) 912 #define PINMUX_GPIO139__FUNC_JTDO_SEL3 (MTK_PIN_NO(139) | 7) 913 914 #define PINMUX_GPIO140__FUNC_GPIO140 (MTK_PIN_NO(140) | 0) 915 #define PINMUX_GPIO140__FUNC_MD_INT1_C2K_UIM0_HOT_PLUG (MTK_PIN_NO(140) | 1) 916 #define PINMUX_GPIO140__FUNC_MD_INT2_C2K_UIM1_HOT_PLUG (MTK_PIN_NO(140) | 2) 917 #define PINMUX_GPIO140__FUNC_ADSP_URXD0 (MTK_PIN_NO(140) | 3) 918 #define PINMUX_GPIO140__FUNC_SCL_6306 (MTK_PIN_NO(140) | 4) 919 #define PINMUX_GPIO140__FUNC_PTA_RXD (MTK_PIN_NO(140) | 5) 920 #define PINMUX_GPIO140__FUNC_SSPM_URXD_AO (MTK_PIN_NO(140) | 6) 921 922 #define PINMUX_GPIO141__FUNC_GPIO141 (MTK_PIN_NO(141) | 0) 923 #define PINMUX_GPIO141__FUNC_MD_INT2_C2K_UIM1_HOT_PLUG (MTK_PIN_NO(141) | 1) 924 #define PINMUX_GPIO141__FUNC_MD_INT1_C2K_UIM0_HOT_PLUG (MTK_PIN_NO(141) | 2) 925 #define PINMUX_GPIO141__FUNC_ADSP_UTXD0 (MTK_PIN_NO(141) | 3) 926 #define PINMUX_GPIO141__FUNC_SDA_6306 (MTK_PIN_NO(141) | 4) 927 #define PINMUX_GPIO141__FUNC_PTA_TXD (MTK_PIN_NO(141) | 5) 928 #define PINMUX_GPIO141__FUNC_SSPM_UTXD_AO (MTK_PIN_NO(141) | 6) 929 930 #define PINMUX_GPIO142__FUNC_GPIO142 (MTK_PIN_NO(142) | 0) 931 #define PINMUX_GPIO142__FUNC_SCP_VREQ_VAO (MTK_PIN_NO(142) | 1) 932 #define PINMUX_GPIO142__FUNC_DVFSRC_EXT_REQ (MTK_PIN_NO(142) | 2) 933 934 #define PINMUX_GPIO143__FUNC_GPIO143 (MTK_PIN_NO(143) | 0) 935 #define PINMUX_GPIO143__FUNC_AUD_DAT_MOSI2 (MTK_PIN_NO(143) | 1) 936 #define PINMUX_GPIO143__FUNC_DBG_MON_A9 (MTK_PIN_NO(143) | 7) 937 938 #define PINMUX_GPIO144__FUNC_GPIO144 (MTK_PIN_NO(144) | 0) 939 #define PINMUX_GPIO144__FUNC_AUD_NLE_MOSI1 (MTK_PIN_NO(144) | 1) 940 #define PINMUX_GPIO144__FUNC_AUD_CLK_MISO (MTK_PIN_NO(144) | 2) 941 #define PINMUX_GPIO144__FUNC_I2S2_MCK (MTK_PIN_NO(144) | 3) 942 #define PINMUX_GPIO144__FUNC_UDI_TCK (MTK_PIN_NO(144) | 5) 943 #define PINMUX_GPIO144__FUNC_UFS_UNIPRO_SDA (MTK_PIN_NO(144) | 6) 944 #define PINMUX_GPIO144__FUNC_DBG_MON_A10 (MTK_PIN_NO(144) | 7) 945 946 #define PINMUX_GPIO145__FUNC_GPIO145 (MTK_PIN_NO(145) | 0) 947 #define PINMUX_GPIO145__FUNC_AUD_NLE_MOSI0 (MTK_PIN_NO(145) | 1) 948 #define PINMUX_GPIO145__FUNC_AUD_SYNC_MISO (MTK_PIN_NO(145) | 2) 949 #define PINMUX_GPIO145__FUNC_I2S2_BCK (MTK_PIN_NO(145) | 3) 950 #define PINMUX_GPIO145__FUNC_UDI_TMS (MTK_PIN_NO(145) | 5) 951 #define PINMUX_GPIO145__FUNC_DBG_MON_A11 (MTK_PIN_NO(145) | 7) 952 953 #define PINMUX_GPIO146__FUNC_GPIO146 (MTK_PIN_NO(146) | 0) 954 #define PINMUX_GPIO146__FUNC_AUD_DAT_MISO2 (MTK_PIN_NO(146) | 1) 955 #define PINMUX_GPIO146__FUNC_I2S2_DI2 (MTK_PIN_NO(146) | 3) 956 #define PINMUX_GPIO146__FUNC_UDI_TDO (MTK_PIN_NO(146) | 5) 957 #define PINMUX_GPIO146__FUNC_DBG_MON_A14 (MTK_PIN_NO(146) | 7) 958 959 #define PINMUX_GPIO147__FUNC_GPIO147 (MTK_PIN_NO(147) | 0) 960 #define PINMUX_GPIO147__FUNC_ANT_SEL0 (MTK_PIN_NO(147) | 1) 961 #define PINMUX_GPIO147__FUNC_PWM_3 (MTK_PIN_NO(147) | 2) 962 963 #define PINMUX_GPIO148__FUNC_GPIO148 (MTK_PIN_NO(148) | 0) 964 #define PINMUX_GPIO148__FUNC_ANT_SEL1 (MTK_PIN_NO(148) | 1) 965 #define PINMUX_GPIO148__FUNC_SPI0_B_MI (MTK_PIN_NO(148) | 2) 966 #define PINMUX_GPIO148__FUNC_SSPM_URXD_AO (MTK_PIN_NO(148) | 3) 967 #define PINMUX_GPIO148__FUNC_TP_UCTS2_AO (MTK_PIN_NO(148) | 5) 968 #define PINMUX_GPIO148__FUNC_CLKM0 (MTK_PIN_NO(148) | 6) 969 970 #define PINMUX_GPIO149__FUNC_GPIO149 (MTK_PIN_NO(149) | 0) 971 #define PINMUX_GPIO149__FUNC_ANT_SEL2 (MTK_PIN_NO(149) | 1) 972 #define PINMUX_GPIO149__FUNC_SPI0_B_CSB (MTK_PIN_NO(149) | 2) 973 #define PINMUX_GPIO149__FUNC_SSPM_UTXD_AO (MTK_PIN_NO(149) | 3) 974 #define PINMUX_GPIO149__FUNC_TP_URTS2_AO (MTK_PIN_NO(149) | 5) 975 #define PINMUX_GPIO149__FUNC_CONN_TCXOENA_REQ (MTK_PIN_NO(149) | 6) 976 977 #define PINMUX_GPIO150__FUNC_GPIO150 (MTK_PIN_NO(150) | 0) 978 #define PINMUX_GPIO150__FUNC_ANT_SEL3 (MTK_PIN_NO(150) | 1) 979 #define PINMUX_GPIO150__FUNC_SPI0_B_MO (MTK_PIN_NO(150) | 2) 980 #define PINMUX_GPIO150__FUNC_UCTS1 (MTK_PIN_NO(150) | 3) 981 #define PINMUX_GPIO150__FUNC_TP_UCTS1_AO (MTK_PIN_NO(150) | 5) 982 #define PINMUX_GPIO150__FUNC_IDDIG (MTK_PIN_NO(150) | 6) 983 #define PINMUX_GPIO150__FUNC_SCL9 (MTK_PIN_NO(150) | 7) 984 985 #define PINMUX_GPIO151__FUNC_GPIO151 (MTK_PIN_NO(151) | 0) 986 #define PINMUX_GPIO151__FUNC_ANT_SEL4 (MTK_PIN_NO(151) | 1) 987 #define PINMUX_GPIO151__FUNC_SPI0_B_CLK (MTK_PIN_NO(151) | 2) 988 #define PINMUX_GPIO151__FUNC_URTS1 (MTK_PIN_NO(151) | 3) 989 #define PINMUX_GPIO151__FUNC_TP_URTS1_AO (MTK_PIN_NO(151) | 5) 990 #define PINMUX_GPIO151__FUNC_USB_DRVVBUS (MTK_PIN_NO(151) | 6) 991 #define PINMUX_GPIO151__FUNC_SDA9 (MTK_PIN_NO(151) | 7) 992 993 #define PINMUX_GPIO152__FUNC_GPIO152 (MTK_PIN_NO(152) | 0) 994 #define PINMUX_GPIO152__FUNC_ANT_SEL5 (MTK_PIN_NO(152) | 1) 995 #define PINMUX_GPIO152__FUNC_SPI1_B_MI (MTK_PIN_NO(152) | 2) 996 #define PINMUX_GPIO152__FUNC_CLKM3 (MTK_PIN_NO(152) | 3) 997 #define PINMUX_GPIO152__FUNC_TP_URXD1_AO (MTK_PIN_NO(152) | 5) 998 #define PINMUX_GPIO152__FUNC_SCP_SPI1_B_MI (MTK_PIN_NO(152) | 6) 999 #define PINMUX_GPIO152__FUNC_SCL8 (MTK_PIN_NO(152) | 7) 1000 1001 #define PINMUX_GPIO153__FUNC_GPIO153 (MTK_PIN_NO(153) | 0) 1002 #define PINMUX_GPIO153__FUNC_ANT_SEL6 (MTK_PIN_NO(153) | 1) 1003 #define PINMUX_GPIO153__FUNC_SPI1_B_CSB (MTK_PIN_NO(153) | 2) 1004 #define PINMUX_GPIO153__FUNC_SRCLKENAI0 (MTK_PIN_NO(153) | 3) 1005 #define PINMUX_GPIO153__FUNC_PWM_0 (MTK_PIN_NO(153) | 4) 1006 #define PINMUX_GPIO153__FUNC_TP_UTXD1_AO (MTK_PIN_NO(153) | 5) 1007 #define PINMUX_GPIO153__FUNC_SCP_SPI1_B_CS (MTK_PIN_NO(153) | 6) 1008 #define PINMUX_GPIO153__FUNC_SDA8 (MTK_PIN_NO(153) | 7) 1009 1010 #define PINMUX_GPIO154__FUNC_GPIO154 (MTK_PIN_NO(154) | 0) 1011 #define PINMUX_GPIO154__FUNC_ANT_SEL7 (MTK_PIN_NO(154) | 1) 1012 #define PINMUX_GPIO154__FUNC_SPI1_B_MO (MTK_PIN_NO(154) | 2) 1013 #define PINMUX_GPIO154__FUNC_SRCLKENAI1 (MTK_PIN_NO(154) | 3) 1014 #define PINMUX_GPIO154__FUNC_TP_URXD2_AO (MTK_PIN_NO(154) | 5) 1015 #define PINMUX_GPIO154__FUNC_SCP_SPI1_B_MO (MTK_PIN_NO(154) | 6) 1016 1017 #define PINMUX_GPIO155__FUNC_GPIO155 (MTK_PIN_NO(155) | 0) 1018 #define PINMUX_GPIO155__FUNC_ANT_SEL8 (MTK_PIN_NO(155) | 1) 1019 #define PINMUX_GPIO155__FUNC_SPI1_B_CLK (MTK_PIN_NO(155) | 2) 1020 #define PINMUX_GPIO155__FUNC_MD_INT0 (MTK_PIN_NO(155) | 3) 1021 #define PINMUX_GPIO155__FUNC_TP_UTXD2_AO (MTK_PIN_NO(155) | 5) 1022 #define PINMUX_GPIO155__FUNC_SCP_SPI1_B_CK (MTK_PIN_NO(155) | 6) 1023 #define PINMUX_GPIO155__FUNC_DBG_MON_A15 (MTK_PIN_NO(155) | 7) 1024 1025 #define PINMUX_GPIO156__FUNC_GPIO156 (MTK_PIN_NO(156) | 0) 1026 #define PINMUX_GPIO156__FUNC_CONN_TOP_CLK (MTK_PIN_NO(156) | 1) 1027 #define PINMUX_GPIO156__FUNC_AUXIF_CLK0 (MTK_PIN_NO(156) | 2) 1028 #define PINMUX_GPIO156__FUNC_DBG_MON_A16 (MTK_PIN_NO(156) | 7) 1029 1030 #define PINMUX_GPIO157__FUNC_GPIO157 (MTK_PIN_NO(157) | 0) 1031 #define PINMUX_GPIO157__FUNC_CONN_TOP_DATA (MTK_PIN_NO(157) | 1) 1032 #define PINMUX_GPIO157__FUNC_AUXIF_ST0 (MTK_PIN_NO(157) | 2) 1033 #define PINMUX_GPIO157__FUNC_DBG_MON_A17 (MTK_PIN_NO(157) | 7) 1034 1035 #define PINMUX_GPIO158__FUNC_GPIO158 (MTK_PIN_NO(158) | 0) 1036 #define PINMUX_GPIO158__FUNC_CONN_HRST_B (MTK_PIN_NO(158) | 1) 1037 #define PINMUX_GPIO158__FUNC_DBG_MON_A18 (MTK_PIN_NO(158) | 7) 1038 1039 #define PINMUX_GPIO159__FUNC_GPIO159 (MTK_PIN_NO(159) | 0) 1040 #define PINMUX_GPIO159__FUNC_CONN_WB_PTA (MTK_PIN_NO(159) | 1) 1041 #define PINMUX_GPIO159__FUNC_DBG_MON_A19 (MTK_PIN_NO(159) | 7) 1042 1043 #define PINMUX_GPIO160__FUNC_GPIO160 (MTK_PIN_NO(160) | 0) 1044 #define PINMUX_GPIO160__FUNC_CONN_BT_CLK (MTK_PIN_NO(160) | 1) 1045 #define PINMUX_GPIO160__FUNC_AUXIF_CLK1 (MTK_PIN_NO(160) | 2) 1046 #define PINMUX_GPIO160__FUNC_DBG_MON_A20 (MTK_PIN_NO(160) | 7) 1047 1048 #define PINMUX_GPIO161__FUNC_GPIO161 (MTK_PIN_NO(161) | 0) 1049 #define PINMUX_GPIO161__FUNC_CONN_BT_DATA (MTK_PIN_NO(161) | 1) 1050 #define PINMUX_GPIO161__FUNC_AUXIF_ST1 (MTK_PIN_NO(161) | 2) 1051 #define PINMUX_GPIO161__FUNC_DBG_MON_A21 (MTK_PIN_NO(161) | 7) 1052 1053 #define PINMUX_GPIO162__FUNC_GPIO162 (MTK_PIN_NO(162) | 0) 1054 #define PINMUX_GPIO162__FUNC_CONN_WF_CTRL0 (MTK_PIN_NO(162) | 1) 1055 #define PINMUX_GPIO162__FUNC_DBG_MON_A22 (MTK_PIN_NO(162) | 7) 1056 1057 #define PINMUX_GPIO163__FUNC_GPIO163 (MTK_PIN_NO(163) | 0) 1058 #define PINMUX_GPIO163__FUNC_CONN_WF_CTRL1 (MTK_PIN_NO(163) | 1) 1059 #define PINMUX_GPIO163__FUNC_UFS_MPHY_SCL (MTK_PIN_NO(163) | 2) 1060 #define PINMUX_GPIO163__FUNC_DBG_MON_A23 (MTK_PIN_NO(163) | 7) 1061 1062 #define PINMUX_GPIO164__FUNC_GPIO164 (MTK_PIN_NO(164) | 0) 1063 #define PINMUX_GPIO164__FUNC_CONN_WF_CTRL2 (MTK_PIN_NO(164) | 1) 1064 #define PINMUX_GPIO164__FUNC_UFS_MPHY_SDA (MTK_PIN_NO(164) | 2) 1065 #define PINMUX_GPIO164__FUNC_DBG_MON_A24 (MTK_PIN_NO(164) | 7) 1066 1067 #define PINMUX_GPIO165__FUNC_GPIO165 (MTK_PIN_NO(165) | 0) 1068 #define PINMUX_GPIO165__FUNC_CONN_WF_CTRL3 (MTK_PIN_NO(165) | 1) 1069 #define PINMUX_GPIO165__FUNC_UFS_UNIPRO_SDA (MTK_PIN_NO(165) | 2) 1070 #define PINMUX_GPIO165__FUNC_DBG_MON_A25 (MTK_PIN_NO(165) | 7) 1071 1072 #define PINMUX_GPIO166__FUNC_GPIO166 (MTK_PIN_NO(166) | 0) 1073 #define PINMUX_GPIO166__FUNC_CONN_WF_CTRL4 (MTK_PIN_NO(166) | 1) 1074 #define PINMUX_GPIO166__FUNC_UFS_UNIPRO_SCL (MTK_PIN_NO(166) | 2) 1075 #define PINMUX_GPIO166__FUNC_DBG_MON_A26 (MTK_PIN_NO(166) | 7) 1076 1077 #define PINMUX_GPIO167__FUNC_GPIO167 (MTK_PIN_NO(167) | 0) 1078 #define PINMUX_GPIO167__FUNC_MSDC0_CMD (MTK_PIN_NO(167) | 1) 1079 1080 #define PINMUX_GPIO168__FUNC_GPIO168 (MTK_PIN_NO(168) | 0) 1081 #define PINMUX_GPIO168__FUNC_MSDC0_DAT0 (MTK_PIN_NO(168) | 1) 1082 1083 #define PINMUX_GPIO169__FUNC_GPIO169 (MTK_PIN_NO(169) | 0) 1084 #define PINMUX_GPIO169__FUNC_MSDC0_DAT2 (MTK_PIN_NO(169) | 1) 1085 1086 #define PINMUX_GPIO170__FUNC_GPIO170 (MTK_PIN_NO(170) | 0) 1087 #define PINMUX_GPIO170__FUNC_MSDC0_DAT4 (MTK_PIN_NO(170) | 1) 1088 1089 #define PINMUX_GPIO171__FUNC_GPIO171 (MTK_PIN_NO(171) | 0) 1090 #define PINMUX_GPIO171__FUNC_MSDC0_DAT6 (MTK_PIN_NO(171) | 1) 1091 1092 #define PINMUX_GPIO172__FUNC_GPIO172 (MTK_PIN_NO(172) | 0) 1093 #define PINMUX_GPIO172__FUNC_MSDC0_DAT1 (MTK_PIN_NO(172) | 1) 1094 1095 #define PINMUX_GPIO173__FUNC_GPIO173 (MTK_PIN_NO(173) | 0) 1096 #define PINMUX_GPIO173__FUNC_MSDC0_DAT5 (MTK_PIN_NO(173) | 1) 1097 1098 #define PINMUX_GPIO174__FUNC_GPIO174 (MTK_PIN_NO(174) | 0) 1099 #define PINMUX_GPIO174__FUNC_MSDC0_DAT7 (MTK_PIN_NO(174) | 1) 1100 1101 #define PINMUX_GPIO175__FUNC_GPIO175 (MTK_PIN_NO(175) | 0) 1102 #define PINMUX_GPIO175__FUNC_MSDC0_DSL (MTK_PIN_NO(175) | 1) 1103 #define PINMUX_GPIO175__FUNC_ANT_SEL9 (MTK_PIN_NO(175) | 2) 1104 1105 #define PINMUX_GPIO176__FUNC_GPIO176 (MTK_PIN_NO(176) | 0) 1106 #define PINMUX_GPIO176__FUNC_MSDC0_CLK (MTK_PIN_NO(176) | 1) 1107 #define PINMUX_GPIO176__FUNC_ANT_SEL10 (MTK_PIN_NO(176) | 2) 1108 1109 #define PINMUX_GPIO177__FUNC_GPIO177 (MTK_PIN_NO(177) | 0) 1110 #define PINMUX_GPIO177__FUNC_MSDC0_DAT3 (MTK_PIN_NO(177) | 1) 1111 1112 #define PINMUX_GPIO178__FUNC_GPIO178 (MTK_PIN_NO(178) | 0) 1113 #define PINMUX_GPIO178__FUNC_MSDC0_RSTB (MTK_PIN_NO(178) | 1) 1114 1115 #define PINMUX_GPIO179__FUNC_GPIO179 (MTK_PIN_NO(179) | 0) 1116 #define PINMUX_GPIO179__FUNC_RFIC0_BSI_EN (MTK_PIN_NO(179) | 1) 1117 1118 #define PINMUX_GPIO180__FUNC_GPIO180 (MTK_PIN_NO(180) | 0) 1119 #define PINMUX_GPIO180__FUNC_RFIC0_BSI_CK (MTK_PIN_NO(180) | 1) 1120 1121 #define PINMUX_GPIO181__FUNC_GPIO181 (MTK_PIN_NO(181) | 0) 1122 #define PINMUX_GPIO181__FUNC_SRCLKENA0 (MTK_PIN_NO(181) | 1) 1123 1124 #define PINMUX_GPIO182__FUNC_GPIO182 (MTK_PIN_NO(182) | 0) 1125 #define PINMUX_GPIO182__FUNC_SRCLKENA1 (MTK_PIN_NO(182) | 1) 1126 1127 #define PINMUX_GPIO183__FUNC_GPIO183 (MTK_PIN_NO(183) | 0) 1128 #define PINMUX_GPIO183__FUNC_WATCHDOG (MTK_PIN_NO(183) | 1) 1129 1130 #define PINMUX_GPIO184__FUNC_GPIO184 (MTK_PIN_NO(184) | 0) 1131 #define PINMUX_GPIO184__FUNC_PWRAP_SPI0_MI (MTK_PIN_NO(184) | 1) 1132 #define PINMUX_GPIO184__FUNC_PWRAP_SPI0_MO (MTK_PIN_NO(184) | 2) 1133 1134 #define PINMUX_GPIO185__FUNC_GPIO185 (MTK_PIN_NO(185) | 0) 1135 #define PINMUX_GPIO185__FUNC_PWRAP_SPI0_CSN (MTK_PIN_NO(185) | 1) 1136 1137 #define PINMUX_GPIO186__FUNC_GPIO186 (MTK_PIN_NO(186) | 0) 1138 #define PINMUX_GPIO186__FUNC_PWRAP_SPI0_MO (MTK_PIN_NO(186) | 1) 1139 #define PINMUX_GPIO186__FUNC_PWRAP_SPI0_MI (MTK_PIN_NO(186) | 2) 1140 1141 #define PINMUX_GPIO187__FUNC_GPIO187 (MTK_PIN_NO(187) | 0) 1142 #define PINMUX_GPIO187__FUNC_PWRAP_SPI0_CK (MTK_PIN_NO(187) | 1) 1143 1144 #define PINMUX_GPIO188__FUNC_GPIO188 (MTK_PIN_NO(188) | 0) 1145 #define PINMUX_GPIO188__FUNC_RTC32K_CK (MTK_PIN_NO(188) | 1) 1146 1147 #define PINMUX_GPIO189__FUNC_GPIO189 (MTK_PIN_NO(189) | 0) 1148 #define PINMUX_GPIO189__FUNC_AUD_CLK_MOSI (MTK_PIN_NO(189) | 1) 1149 #define PINMUX_GPIO189__FUNC_I2S1_MCK (MTK_PIN_NO(189) | 3) 1150 #define PINMUX_GPIO189__FUNC_UFS_UNIPRO_SCL (MTK_PIN_NO(189) | 6) 1151 1152 #define PINMUX_GPIO190__FUNC_GPIO190 (MTK_PIN_NO(190) | 0) 1153 #define PINMUX_GPIO190__FUNC_AUD_SYNC_MOSI (MTK_PIN_NO(190) | 1) 1154 #define PINMUX_GPIO190__FUNC_I2S1_BCK (MTK_PIN_NO(190) | 3) 1155 #define PINMUX_GPIO190__FUNC_DBG_MON_A6 (MTK_PIN_NO(190) | 7) 1156 1157 #define PINMUX_GPIO191__FUNC_GPIO191 (MTK_PIN_NO(191) | 0) 1158 #define PINMUX_GPIO191__FUNC_AUD_DAT_MOSI0 (MTK_PIN_NO(191) | 1) 1159 #define PINMUX_GPIO191__FUNC_I2S1_LRCK (MTK_PIN_NO(191) | 3) 1160 #define PINMUX_GPIO191__FUNC_DBG_MON_A7 (MTK_PIN_NO(191) | 7) 1161 1162 #define PINMUX_GPIO192__FUNC_GPIO192 (MTK_PIN_NO(192) | 0) 1163 #define PINMUX_GPIO192__FUNC_AUD_DAT_MOSI1 (MTK_PIN_NO(192) | 1) 1164 #define PINMUX_GPIO192__FUNC_I2S1_DO (MTK_PIN_NO(192) | 3) 1165 #define PINMUX_GPIO192__FUNC_UFS_MPHY_SDA (MTK_PIN_NO(192) | 6) 1166 #define PINMUX_GPIO192__FUNC_DBG_MON_A8 (MTK_PIN_NO(192) | 7) 1167 1168 #define PINMUX_GPIO193__FUNC_GPIO193 (MTK_PIN_NO(193) | 0) 1169 #define PINMUX_GPIO193__FUNC_AUD_DAT_MISO0 (MTK_PIN_NO(193) | 1) 1170 #define PINMUX_GPIO193__FUNC_VOW_DAT_MISO (MTK_PIN_NO(193) | 2) 1171 #define PINMUX_GPIO193__FUNC_I2S2_LRCK (MTK_PIN_NO(193) | 3) 1172 #define PINMUX_GPIO193__FUNC_UDI_TDI (MTK_PIN_NO(193) | 5) 1173 #define PINMUX_GPIO193__FUNC_DBG_MON_A12 (MTK_PIN_NO(193) | 7) 1174 1175 #define PINMUX_GPIO194__FUNC_GPIO194 (MTK_PIN_NO(194) | 0) 1176 #define PINMUX_GPIO194__FUNC_AUD_DAT_MISO1 (MTK_PIN_NO(194) | 1) 1177 #define PINMUX_GPIO194__FUNC_VOW_CLK_MISO (MTK_PIN_NO(194) | 2) 1178 #define PINMUX_GPIO194__FUNC_I2S2_DI (MTK_PIN_NO(194) | 3) 1179 #define PINMUX_GPIO194__FUNC_UDI_NTRST (MTK_PIN_NO(194) | 5) 1180 #define PINMUX_GPIO194__FUNC_UFS_MPHY_SCL (MTK_PIN_NO(194) | 6) 1181 #define PINMUX_GPIO194__FUNC_DBG_MON_A13 (MTK_PIN_NO(194) | 7) 1182 1183 #define PINMUX_GPIO195__FUNC_GPIO195 (MTK_PIN_NO(195) | 0) 1184 #define PINMUX_GPIO195__FUNC_ADSP_JTAG_TCK (MTK_PIN_NO(195) | 3) 1185 #define PINMUX_GPIO195__FUNC_VPU_UDI_TCK (MTK_PIN_NO(195) | 4) 1186 #define PINMUX_GPIO195__FUNC_SPM_JTAG_TCK (MTK_PIN_NO(195) | 5) 1187 #define PINMUX_GPIO195__FUNC_SSPM_JTAG_TCK (MTK_PIN_NO(195) | 6) 1188 1189 #define PINMUX_GPIO196__FUNC_GPIO196 (MTK_PIN_NO(196) | 0) 1190 #define PINMUX_GPIO196__FUNC_CMMCLK4 (MTK_PIN_NO(196) | 1) 1191 #define PINMUX_GPIO196__FUNC_ADSP_JTAG_TDI (MTK_PIN_NO(196) | 3) 1192 #define PINMUX_GPIO196__FUNC_VPU_UDI_TDI (MTK_PIN_NO(196) | 4) 1193 #define PINMUX_GPIO196__FUNC_SPM_JTAG_TDI (MTK_PIN_NO(196) | 5) 1194 #define PINMUX_GPIO196__FUNC_SSPM_JTAG_TDI (MTK_PIN_NO(196) | 6) 1195 1196 #define PINMUX_GPIO197__FUNC_GPIO197 (MTK_PIN_NO(197) | 0) 1197 #define PINMUX_GPIO197__FUNC_ADSP_JTAG_TDO (MTK_PIN_NO(197) | 3) 1198 #define PINMUX_GPIO197__FUNC_VPU_UDI_TDO (MTK_PIN_NO(197) | 4) 1199 #define PINMUX_GPIO197__FUNC_SPM_JTAG_TDO (MTK_PIN_NO(197) | 5) 1200 #define PINMUX_GPIO197__FUNC_SSPM_JTAG_TDO (MTK_PIN_NO(197) | 6) 1201 1202 #define PINMUX_GPIO198__FUNC_GPIO198 (MTK_PIN_NO(198) | 0) 1203 #define PINMUX_GPIO198__FUNC_SCL7 (MTK_PIN_NO(198) | 1) 1204 1205 #define PINMUX_GPIO199__FUNC_GPIO199 (MTK_PIN_NO(199) | 0) 1206 #define PINMUX_GPIO199__FUNC_SDA7 (MTK_PIN_NO(199) | 1) 1207 1208 #define PINMUX_GPIO200__FUNC_GPIO200 (MTK_PIN_NO(200) | 0) 1209 #define PINMUX_GPIO200__FUNC_URXD1 (MTK_PIN_NO(200) | 1) 1210 #define PINMUX_GPIO200__FUNC_ADSP_URXD0 (MTK_PIN_NO(200) | 2) 1211 #define PINMUX_GPIO200__FUNC_TP_URXD1_AO (MTK_PIN_NO(200) | 3) 1212 #define PINMUX_GPIO200__FUNC_SSPM_URXD_AO (MTK_PIN_NO(200) | 4) 1213 #define PINMUX_GPIO200__FUNC_TP_URXD2_AO (MTK_PIN_NO(200) | 5) 1214 #define PINMUX_GPIO200__FUNC_MBISTREADEN_TRIGGER (MTK_PIN_NO(200) | 6) 1215 1216 #define PINMUX_GPIO201__FUNC_GPIO201 (MTK_PIN_NO(201) | 0) 1217 #define PINMUX_GPIO201__FUNC_UTXD1 (MTK_PIN_NO(201) | 1) 1218 #define PINMUX_GPIO201__FUNC_ADSP_UTXD0 (MTK_PIN_NO(201) | 2) 1219 #define PINMUX_GPIO201__FUNC_TP_UTXD1_AO (MTK_PIN_NO(201) | 3) 1220 #define PINMUX_GPIO201__FUNC_SSPM_UTXD_AO (MTK_PIN_NO(201) | 4) 1221 #define PINMUX_GPIO201__FUNC_TP_UTXD2_AO (MTK_PIN_NO(201) | 5) 1222 #define PINMUX_GPIO201__FUNC_MBISTWRITEEN_TRIGGER (MTK_PIN_NO(201) | 6) 1223 1224 #define PINMUX_GPIO202__FUNC_GPIO202 (MTK_PIN_NO(202) | 0) 1225 #define PINMUX_GPIO202__FUNC_PWM_3 (MTK_PIN_NO(202) | 1) 1226 #define PINMUX_GPIO202__FUNC_CLKM3 (MTK_PIN_NO(202) | 2) 1227 1228 #define PINMUX_GPIO203__FUNC_GPIO203 (MTK_PIN_NO(203) | 0) 1229 1230 #define PINMUX_GPIO204__FUNC_GPIO204 (MTK_PIN_NO(204) | 0) 1231 1232 #define PINMUX_GPIO205__FUNC_GPIO205 (MTK_PIN_NO(205) | 0) 1233 1234 #define PINMUX_GPIO206__FUNC_GPIO206 (MTK_PIN_NO(206) | 0) 1235 1236 #define PINMUX_GPIO207__FUNC_GPIO207 (MTK_PIN_NO(207) | 0) 1237 1238 #define PINMUX_GPIO208__FUNC_GPIO208 (MTK_PIN_NO(208) | 0) 1239 1240 #define PINMUX_GPIO209__FUNC_GPIO209 (MTK_PIN_NO(209) | 0) 1241 1242 #endif /* __MT6779-PINFUNC_H */ 1243