Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 MediaTek Inc. |
| 3 | * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | */ |
| 14 | |
| 15 | #ifndef __PINCTRL_MTK_MT8135_H |
| 16 | #define __PINCTRL_MTK_MT8135_H |
| 17 | |
| 18 | #include <linux/pinctrl/pinctrl.h> |
Guenter Roeck | d48c532 | 2015-03-11 09:05:20 -0700 | [diff] [blame] | 19 | #include "pinctrl-mtk-common.h" |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 20 | |
| 21 | static const struct mtk_desc_pin mtk_pins_mt8135[] = { |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 22 | MTK_PIN(PINCTRL_PIN(0, "MSDC0_DAT7"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 23 | "D21", "mt8135", |
| 24 | MTK_EINT_FUNCTION(2, 49), |
| 25 | MTK_FUNCTION(0, "GPIO0"), |
| 26 | MTK_FUNCTION(1, "MSDC0_DAT7"), |
| 27 | MTK_FUNCTION(2, "EINT49"), |
| 28 | MTK_FUNCTION(3, "I2SOUT_DAT"), |
| 29 | MTK_FUNCTION(4, "DAC_DAT_OUT"), |
| 30 | MTK_FUNCTION(5, "PCM1_DO"), |
| 31 | MTK_FUNCTION(6, "SPI1_MO"), |
| 32 | MTK_FUNCTION(7, "NALE") |
| 33 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 34 | MTK_PIN(PINCTRL_PIN(1, "MSDC0_DAT6"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 35 | "D22", "mt8135", |
| 36 | MTK_EINT_FUNCTION(2, 48), |
| 37 | MTK_FUNCTION(0, "GPIO1"), |
| 38 | MTK_FUNCTION(1, "MSDC0_DAT6"), |
| 39 | MTK_FUNCTION(2, "EINT48"), |
| 40 | MTK_FUNCTION(3, "I2SIN_WS"), |
| 41 | MTK_FUNCTION(4, "DAC_WS"), |
| 42 | MTK_FUNCTION(5, "PCM1_WS"), |
| 43 | MTK_FUNCTION(6, "SPI1_CSN"), |
| 44 | MTK_FUNCTION(7, "NCLE") |
| 45 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 46 | MTK_PIN(PINCTRL_PIN(2, "MSDC0_DAT5"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 47 | "E22", "mt8135", |
| 48 | MTK_EINT_FUNCTION(2, 47), |
| 49 | MTK_FUNCTION(0, "GPIO2"), |
| 50 | MTK_FUNCTION(1, "MSDC0_DAT5"), |
| 51 | MTK_FUNCTION(2, "EINT47"), |
| 52 | MTK_FUNCTION(3, "I2SIN_CK"), |
| 53 | MTK_FUNCTION(4, "DAC_CK"), |
| 54 | MTK_FUNCTION(5, "PCM1_CK"), |
| 55 | MTK_FUNCTION(6, "SPI1_CLK"), |
| 56 | MTK_FUNCTION(7, "NLD4") |
| 57 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 58 | MTK_PIN(PINCTRL_PIN(3, "MSDC0_DAT4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 59 | "F21", "mt8135", |
| 60 | MTK_EINT_FUNCTION(2, 46), |
| 61 | MTK_FUNCTION(0, "GPIO3"), |
| 62 | MTK_FUNCTION(1, "MSDC0_DAT4"), |
| 63 | MTK_FUNCTION(2, "EINT46"), |
| 64 | MTK_FUNCTION(3, "A_FUNC_CK"), |
| 65 | MTK_FUNCTION(6, "LSCE1B_2X"), |
| 66 | MTK_FUNCTION(7, "NLD5") |
| 67 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 68 | MTK_PIN(PINCTRL_PIN(4, "MSDC0_CMD"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 69 | "F20", "mt8135", |
| 70 | MTK_EINT_FUNCTION(2, 41), |
| 71 | MTK_FUNCTION(0, "GPIO4"), |
| 72 | MTK_FUNCTION(1, "MSDC0_CMD"), |
| 73 | MTK_FUNCTION(2, "EINT41"), |
| 74 | MTK_FUNCTION(3, "A_FUNC_DOUT[0]"), |
| 75 | MTK_FUNCTION(5, "USB_TEST_IO[0]"), |
| 76 | MTK_FUNCTION(6, "LRSTB_2X"), |
| 77 | MTK_FUNCTION(7, "NRNB") |
| 78 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 79 | MTK_PIN(PINCTRL_PIN(5, "MSDC0_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 80 | "G18", "mt8135", |
| 81 | MTK_EINT_FUNCTION(2, 40), |
| 82 | MTK_FUNCTION(0, "GPIO5"), |
| 83 | MTK_FUNCTION(1, "MSDC0_CLK"), |
| 84 | MTK_FUNCTION(2, "EINT40"), |
| 85 | MTK_FUNCTION(3, "A_FUNC_DOUT[1]"), |
| 86 | MTK_FUNCTION(5, "USB_TEST_IO[1]"), |
| 87 | MTK_FUNCTION(6, "LPTE"), |
| 88 | MTK_FUNCTION(7, "NREB") |
| 89 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 90 | MTK_PIN(PINCTRL_PIN(6, "MSDC0_DAT3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 91 | "G21", "mt8135", |
| 92 | MTK_EINT_FUNCTION(2, 45), |
| 93 | MTK_FUNCTION(0, "GPIO6"), |
| 94 | MTK_FUNCTION(1, "MSDC0_DAT3"), |
| 95 | MTK_FUNCTION(2, "EINT45"), |
| 96 | MTK_FUNCTION(3, "A_FUNC_DOUT[2]"), |
| 97 | MTK_FUNCTION(5, "USB_TEST_IO[2]"), |
| 98 | MTK_FUNCTION(6, "LSCE0B_2X"), |
| 99 | MTK_FUNCTION(7, "NLD7") |
| 100 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 101 | MTK_PIN(PINCTRL_PIN(7, "MSDC0_DAT2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 102 | "E21", "mt8135", |
| 103 | MTK_EINT_FUNCTION(2, 44), |
| 104 | MTK_FUNCTION(0, "GPIO7"), |
| 105 | MTK_FUNCTION(1, "MSDC0_DAT2"), |
| 106 | MTK_FUNCTION(2, "EINT44"), |
| 107 | MTK_FUNCTION(3, "A_FUNC_DOUT[3]"), |
| 108 | MTK_FUNCTION(5, "USB_TEST_IO[3]"), |
| 109 | MTK_FUNCTION(6, "LSA0_2X"), |
| 110 | MTK_FUNCTION(7, "NLD14") |
| 111 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 112 | MTK_PIN(PINCTRL_PIN(8, "MSDC0_DAT1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 113 | "E23", "mt8135", |
| 114 | MTK_EINT_FUNCTION(2, 43), |
| 115 | MTK_FUNCTION(0, "GPIO8"), |
| 116 | MTK_FUNCTION(1, "MSDC0_DAT1"), |
| 117 | MTK_FUNCTION(2, "EINT43"), |
| 118 | MTK_FUNCTION(5, "USB_TEST_IO[4]"), |
| 119 | MTK_FUNCTION(6, "LSCK_2X"), |
| 120 | MTK_FUNCTION(7, "NLD11") |
| 121 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 122 | MTK_PIN(PINCTRL_PIN(9, "MSDC0_DAT0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 123 | "F22", "mt8135", |
| 124 | MTK_EINT_FUNCTION(2, 42), |
| 125 | MTK_FUNCTION(0, "GPIO9"), |
| 126 | MTK_FUNCTION(1, "MSDC0_DAT0"), |
| 127 | MTK_FUNCTION(2, "EINT42"), |
| 128 | MTK_FUNCTION(5, "USB_TEST_IO[5]"), |
| 129 | MTK_FUNCTION(6, "LSDA_2X") |
| 130 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 131 | MTK_PIN(PINCTRL_PIN(10, "NCEB0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 132 | "G20", "mt8135", |
| 133 | MTK_EINT_FUNCTION(2, 139), |
| 134 | MTK_FUNCTION(0, "GPIO10"), |
| 135 | MTK_FUNCTION(1, "NCEB0"), |
| 136 | MTK_FUNCTION(2, "EINT139"), |
| 137 | MTK_FUNCTION(7, "TESTA_OUT4") |
| 138 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 139 | MTK_PIN(PINCTRL_PIN(11, "NCEB1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 140 | "L17", "mt8135", |
| 141 | MTK_EINT_FUNCTION(2, 140), |
| 142 | MTK_FUNCTION(0, "GPIO11"), |
| 143 | MTK_FUNCTION(1, "NCEB1"), |
| 144 | MTK_FUNCTION(2, "EINT140"), |
| 145 | MTK_FUNCTION(6, "USB_DRVVBUS"), |
| 146 | MTK_FUNCTION(7, "TESTA_OUT5") |
| 147 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 148 | MTK_PIN(PINCTRL_PIN(12, "NRNB"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 149 | "G19", "mt8135", |
| 150 | MTK_EINT_FUNCTION(2, 141), |
| 151 | MTK_FUNCTION(0, "GPIO12"), |
| 152 | MTK_FUNCTION(1, "NRNB"), |
| 153 | MTK_FUNCTION(2, "EINT141"), |
| 154 | MTK_FUNCTION(3, "A_FUNC_DOUT[4]"), |
| 155 | MTK_FUNCTION(7, "TESTA_OUT6") |
| 156 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 157 | MTK_PIN(PINCTRL_PIN(13, "NCLE"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 158 | "J18", "mt8135", |
| 159 | MTK_EINT_FUNCTION(2, 142), |
| 160 | MTK_FUNCTION(0, "GPIO13"), |
| 161 | MTK_FUNCTION(1, "NCLE"), |
| 162 | MTK_FUNCTION(2, "EINT142"), |
| 163 | MTK_FUNCTION(3, "A_FUNC_DOUT[5]"), |
| 164 | MTK_FUNCTION(4, "CM2PDN_1X"), |
| 165 | MTK_FUNCTION(6, "NALE"), |
| 166 | MTK_FUNCTION(7, "TESTA_OUT7") |
| 167 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 168 | MTK_PIN(PINCTRL_PIN(14, "NALE"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 169 | "J19", "mt8135", |
| 170 | MTK_EINT_FUNCTION(2, 143), |
| 171 | MTK_FUNCTION(0, "GPIO14"), |
| 172 | MTK_FUNCTION(1, "NALE"), |
| 173 | MTK_FUNCTION(2, "EINT143"), |
| 174 | MTK_FUNCTION(3, "A_FUNC_DOUT[6]"), |
| 175 | MTK_FUNCTION(4, "CM2MCLK_1X"), |
| 176 | MTK_FUNCTION(5, "IRDA_RXD"), |
| 177 | MTK_FUNCTION(6, "NCLE"), |
| 178 | MTK_FUNCTION(7, "TESTA_OUT8") |
| 179 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 180 | MTK_PIN(PINCTRL_PIN(15, "NREB"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 181 | "L18", "mt8135", |
| 182 | MTK_EINT_FUNCTION(2, 144), |
| 183 | MTK_FUNCTION(0, "GPIO15"), |
| 184 | MTK_FUNCTION(1, "NREB"), |
| 185 | MTK_FUNCTION(2, "EINT144"), |
| 186 | MTK_FUNCTION(3, "A_FUNC_DOUT[7]"), |
| 187 | MTK_FUNCTION(4, "CM2RST_1X"), |
| 188 | MTK_FUNCTION(5, "IRDA_TXD"), |
| 189 | MTK_FUNCTION(7, "TESTA_OUT9") |
| 190 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 191 | MTK_PIN(PINCTRL_PIN(16, "NWEB"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 192 | "J20", "mt8135", |
| 193 | MTK_EINT_FUNCTION(2, 145), |
| 194 | MTK_FUNCTION(0, "GPIO16"), |
| 195 | MTK_FUNCTION(1, "NWEB"), |
| 196 | MTK_FUNCTION(2, "EINT145"), |
| 197 | MTK_FUNCTION(3, "A_FUNC_DIN[0]"), |
| 198 | MTK_FUNCTION(4, "CM2PCLK_1X"), |
| 199 | MTK_FUNCTION(5, "IRDA_PDN"), |
| 200 | MTK_FUNCTION(7, "TESTA_OUT10") |
| 201 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 202 | MTK_PIN(PINCTRL_PIN(17, "NLD0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 203 | "K21", "mt8135", |
| 204 | MTK_EINT_FUNCTION(2, 146), |
| 205 | MTK_FUNCTION(0, "GPIO17"), |
| 206 | MTK_FUNCTION(1, "NLD0"), |
| 207 | MTK_FUNCTION(2, "EINT146"), |
| 208 | MTK_FUNCTION(3, "A_FUNC_DIN[1]"), |
| 209 | MTK_FUNCTION(4, "CM2DAT_1X[0]"), |
| 210 | MTK_FUNCTION(5, "I2SIN_CK"), |
| 211 | MTK_FUNCTION(6, "DAC_CK"), |
| 212 | MTK_FUNCTION(7, "TESTA_OUT11") |
| 213 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 214 | MTK_PIN(PINCTRL_PIN(18, "NLD1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 215 | "K22", "mt8135", |
| 216 | MTK_EINT_FUNCTION(2, 147), |
| 217 | MTK_FUNCTION(0, "GPIO18"), |
| 218 | MTK_FUNCTION(1, "NLD1"), |
| 219 | MTK_FUNCTION(2, "EINT147"), |
| 220 | MTK_FUNCTION(3, "A_FUNC_DIN[2]"), |
| 221 | MTK_FUNCTION(4, "CM2DAT_1X[1]"), |
| 222 | MTK_FUNCTION(5, "I2SIN_WS"), |
| 223 | MTK_FUNCTION(6, "DAC_WS"), |
| 224 | MTK_FUNCTION(7, "TESTA_OUT12") |
| 225 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 226 | MTK_PIN(PINCTRL_PIN(19, "NLD2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 227 | "J21", "mt8135", |
| 228 | MTK_EINT_FUNCTION(2, 148), |
| 229 | MTK_FUNCTION(0, "GPIO19"), |
| 230 | MTK_FUNCTION(1, "NLD2"), |
| 231 | MTK_FUNCTION(2, "EINT148"), |
| 232 | MTK_FUNCTION(3, "A_FUNC_DIN[3]"), |
| 233 | MTK_FUNCTION(4, "CM2DAT_1X[2]"), |
| 234 | MTK_FUNCTION(5, "I2SOUT_DAT"), |
| 235 | MTK_FUNCTION(6, "DAC_DAT_OUT"), |
| 236 | MTK_FUNCTION(7, "TESTA_OUT13") |
| 237 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 238 | MTK_PIN(PINCTRL_PIN(20, "NLD3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 239 | "J23", "mt8135", |
| 240 | MTK_EINT_FUNCTION(2, 149), |
| 241 | MTK_FUNCTION(0, "GPIO20"), |
| 242 | MTK_FUNCTION(1, "NLD3"), |
| 243 | MTK_FUNCTION(2, "EINT149"), |
| 244 | MTK_FUNCTION(3, "A_FUNC_DIN[4]"), |
| 245 | MTK_FUNCTION(4, "CM2DAT_1X[3]"), |
| 246 | MTK_FUNCTION(7, "TESTA_OUT14") |
| 247 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 248 | MTK_PIN(PINCTRL_PIN(21, "NLD4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 249 | "J22", "mt8135", |
| 250 | MTK_EINT_FUNCTION(2, 150), |
| 251 | MTK_FUNCTION(0, "GPIO21"), |
| 252 | MTK_FUNCTION(1, "NLD4"), |
| 253 | MTK_FUNCTION(2, "EINT150"), |
| 254 | MTK_FUNCTION(3, "A_FUNC_DIN[5]"), |
| 255 | MTK_FUNCTION(4, "CM2DAT_1X[4]"), |
| 256 | MTK_FUNCTION(7, "TESTA_OUT15") |
| 257 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 258 | MTK_PIN(PINCTRL_PIN(22, "NLD5"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 259 | "H21", "mt8135", |
| 260 | MTK_EINT_FUNCTION(2, 151), |
| 261 | MTK_FUNCTION(0, "GPIO22"), |
| 262 | MTK_FUNCTION(1, "NLD5"), |
| 263 | MTK_FUNCTION(2, "EINT151"), |
| 264 | MTK_FUNCTION(3, "A_FUNC_DIN[6]"), |
| 265 | MTK_FUNCTION(4, "CM2DAT_1X[5]"), |
| 266 | MTK_FUNCTION(7, "TESTA_OUT16") |
| 267 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 268 | MTK_PIN(PINCTRL_PIN(23, "NLD6"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 269 | "H22", "mt8135", |
| 270 | MTK_EINT_FUNCTION(2, 152), |
| 271 | MTK_FUNCTION(0, "GPIO23"), |
| 272 | MTK_FUNCTION(1, "NLD6"), |
| 273 | MTK_FUNCTION(2, "EINT152"), |
| 274 | MTK_FUNCTION(3, "A_FUNC_DIN[7]"), |
| 275 | MTK_FUNCTION(4, "CM2DAT_1X[6]"), |
| 276 | MTK_FUNCTION(7, "TESTA_OUT17") |
| 277 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 278 | MTK_PIN(PINCTRL_PIN(24, "NLD7"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 279 | "H20", "mt8135", |
| 280 | MTK_EINT_FUNCTION(2, 153), |
| 281 | MTK_FUNCTION(0, "GPIO24"), |
| 282 | MTK_FUNCTION(1, "NLD7"), |
| 283 | MTK_FUNCTION(2, "EINT153"), |
| 284 | MTK_FUNCTION(3, "A_FUNC_DIN[8]"), |
| 285 | MTK_FUNCTION(4, "CM2DAT_1X[7]"), |
| 286 | MTK_FUNCTION(7, "TESTA_OUT18") |
| 287 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 288 | MTK_PIN(PINCTRL_PIN(25, "NLD8"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 289 | NULL, "mt8135", |
| 290 | MTK_EINT_FUNCTION(2, 154), |
| 291 | MTK_FUNCTION(0, "GPIO25"), |
| 292 | MTK_FUNCTION(1, "NLD8"), |
| 293 | MTK_FUNCTION(2, "EINT154"), |
| 294 | MTK_FUNCTION(4, "CM2DAT_1X[8]") |
| 295 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 296 | MTK_PIN(PINCTRL_PIN(26, "NLD9"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 297 | NULL, "mt8135", |
| 298 | MTK_EINT_FUNCTION(2, 155), |
| 299 | MTK_FUNCTION(0, "GPIO26"), |
| 300 | MTK_FUNCTION(1, "NLD9"), |
| 301 | MTK_FUNCTION(2, "EINT155"), |
| 302 | MTK_FUNCTION(4, "CM2DAT_1X[9]"), |
| 303 | MTK_FUNCTION(5, "PWM1") |
| 304 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 305 | MTK_PIN(PINCTRL_PIN(27, "NLD10"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 306 | NULL, "mt8135", |
| 307 | MTK_EINT_FUNCTION(2, 156), |
| 308 | MTK_FUNCTION(0, "GPIO27"), |
| 309 | MTK_FUNCTION(1, "NLD10"), |
| 310 | MTK_FUNCTION(2, "EINT156"), |
| 311 | MTK_FUNCTION(4, "CM2VSYNC_1X"), |
| 312 | MTK_FUNCTION(5, "PWM2") |
| 313 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 314 | MTK_PIN(PINCTRL_PIN(28, "NLD11"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 315 | NULL, "mt8135", |
| 316 | MTK_EINT_FUNCTION(2, 157), |
| 317 | MTK_FUNCTION(0, "GPIO28"), |
| 318 | MTK_FUNCTION(1, "NLD11"), |
| 319 | MTK_FUNCTION(2, "EINT157"), |
| 320 | MTK_FUNCTION(4, "CM2HSYNC_1X"), |
| 321 | MTK_FUNCTION(5, "PWM3") |
| 322 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 323 | MTK_PIN(PINCTRL_PIN(29, "NLD12"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 324 | NULL, "mt8135", |
| 325 | MTK_EINT_FUNCTION(2, 158), |
| 326 | MTK_FUNCTION(0, "GPIO29"), |
| 327 | MTK_FUNCTION(1, "NLD12"), |
| 328 | MTK_FUNCTION(2, "EINT158"), |
| 329 | MTK_FUNCTION(3, "I2SIN_CK"), |
| 330 | MTK_FUNCTION(4, "DAC_CK"), |
| 331 | MTK_FUNCTION(5, "PCM1_CK") |
| 332 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 333 | MTK_PIN(PINCTRL_PIN(30, "NLD13"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 334 | NULL, "mt8135", |
| 335 | MTK_EINT_FUNCTION(2, 159), |
| 336 | MTK_FUNCTION(0, "GPIO30"), |
| 337 | MTK_FUNCTION(1, "NLD13"), |
| 338 | MTK_FUNCTION(2, "EINT159"), |
| 339 | MTK_FUNCTION(3, "I2SIN_WS"), |
| 340 | MTK_FUNCTION(4, "DAC_WS"), |
| 341 | MTK_FUNCTION(5, "PCM1_WS") |
| 342 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 343 | MTK_PIN(PINCTRL_PIN(31, "NLD14"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 344 | NULL, "mt8135", |
| 345 | MTK_EINT_FUNCTION(2, 160), |
| 346 | MTK_FUNCTION(0, "GPIO31"), |
| 347 | MTK_FUNCTION(1, "NLD14"), |
| 348 | MTK_FUNCTION(2, "EINT160"), |
| 349 | MTK_FUNCTION(3, "I2SOUT_DAT"), |
| 350 | MTK_FUNCTION(4, "DAC_DAT_OUT"), |
| 351 | MTK_FUNCTION(5, "PCM1_DO") |
| 352 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 353 | MTK_PIN(PINCTRL_PIN(32, "NLD15"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 354 | NULL, "mt8135", |
| 355 | MTK_EINT_FUNCTION(2, 161), |
| 356 | MTK_FUNCTION(0, "GPIO32"), |
| 357 | MTK_FUNCTION(1, "NLD15"), |
| 358 | MTK_FUNCTION(2, "EINT161"), |
| 359 | MTK_FUNCTION(3, "DISP_PWM"), |
| 360 | MTK_FUNCTION(4, "PWM4"), |
| 361 | MTK_FUNCTION(5, "PCM1_DI") |
| 362 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 363 | MTK_PIN(PINCTRL_PIN(33, "MSDC0_RSTB"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 364 | "G22", "mt8135", |
| 365 | MTK_EINT_FUNCTION(2, 50), |
| 366 | MTK_FUNCTION(0, "GPIO33"), |
| 367 | MTK_FUNCTION(1, "MSDC0_RSTB"), |
| 368 | MTK_FUNCTION(2, "EINT50"), |
| 369 | MTK_FUNCTION(3, "I2SIN_DAT"), |
| 370 | MTK_FUNCTION(5, "PCM1_DI"), |
| 371 | MTK_FUNCTION(6, "SPI1_MI"), |
| 372 | MTK_FUNCTION(7, "NLD10") |
| 373 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 374 | MTK_PIN(PINCTRL_PIN(34, "IDDIG"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 375 | "N17", "mt8135", |
| 376 | MTK_EINT_FUNCTION(2, 34), |
| 377 | MTK_FUNCTION(0, "GPIO34"), |
| 378 | MTK_FUNCTION(1, "IDDIG"), |
| 379 | MTK_FUNCTION(2, "EINT34") |
| 380 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 381 | MTK_PIN(PINCTRL_PIN(35, "SCL3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 382 | "L19", "mt8135", |
| 383 | MTK_EINT_FUNCTION(2, 96), |
| 384 | MTK_FUNCTION(0, "GPIO35"), |
| 385 | MTK_FUNCTION(1, "SCL3"), |
| 386 | MTK_FUNCTION(2, "EINT96"), |
| 387 | MTK_FUNCTION(3, "CLKM6"), |
| 388 | MTK_FUNCTION(4, "PWM6") |
| 389 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 390 | MTK_PIN(PINCTRL_PIN(36, "SDA3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 391 | "L20", "mt8135", |
| 392 | MTK_EINT_FUNCTION(2, 97), |
| 393 | MTK_FUNCTION(0, "GPIO36"), |
| 394 | MTK_FUNCTION(1, "SDA3"), |
| 395 | MTK_FUNCTION(2, "EINT97") |
| 396 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 397 | MTK_PIN(PINCTRL_PIN(37, "AUD_CLK_MOSI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 398 | "L21", "mt8135", |
| 399 | MTK_EINT_FUNCTION(4, 19), |
| 400 | MTK_FUNCTION(0, "GPIO37"), |
| 401 | MTK_FUNCTION(1, "AUD_CLK"), |
| 402 | MTK_FUNCTION(2, "ADC_CK"), |
| 403 | MTK_FUNCTION(3, " HDMI_SDATA0"), |
| 404 | MTK_FUNCTION(4, "EINT19"), |
| 405 | MTK_FUNCTION(5, "USB_TEST_IO[6]"), |
| 406 | MTK_FUNCTION(7, "TESTA_OUT19") |
| 407 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 408 | MTK_PIN(PINCTRL_PIN(38, "AUD_DAT_MOSI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 409 | "L23", "mt8135", |
| 410 | MTK_EINT_FUNCTION(4, 21), |
| 411 | MTK_FUNCTION(0, "GPIO38"), |
| 412 | MTK_FUNCTION(1, "AUD_DAT_MOSI"), |
| 413 | MTK_FUNCTION(2, "ADC_WS"), |
| 414 | MTK_FUNCTION(3, "AUD_DAT_MISO"), |
| 415 | MTK_FUNCTION(4, "EINT21"), |
| 416 | MTK_FUNCTION(5, "USB_TEST_IO[7]"), |
| 417 | MTK_FUNCTION(7, "TESTA_OUT20") |
| 418 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 419 | MTK_PIN(PINCTRL_PIN(39, "AUD_DAT_MISO"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 420 | "L22", "mt8135", |
| 421 | MTK_EINT_FUNCTION(4, 20), |
| 422 | MTK_FUNCTION(0, "GPIO39"), |
| 423 | MTK_FUNCTION(1, "AUD_DAT_MISO"), |
| 424 | MTK_FUNCTION(2, "ADC_DAT_IN"), |
| 425 | MTK_FUNCTION(3, "AUD_DAT_MOSI"), |
| 426 | MTK_FUNCTION(4, "EINT20"), |
| 427 | MTK_FUNCTION(5, "USB_TEST_IO[8]"), |
| 428 | MTK_FUNCTION(7, "TESTA_OUT21") |
| 429 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 430 | MTK_PIN(PINCTRL_PIN(40, "DAC_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 431 | "P21", "mt8135", |
| 432 | MTK_EINT_FUNCTION(2, 22), |
| 433 | MTK_FUNCTION(0, "GPIO40"), |
| 434 | MTK_FUNCTION(1, "DAC_CK"), |
| 435 | MTK_FUNCTION(2, "EINT22"), |
| 436 | MTK_FUNCTION(3, " HDMI_SDATA1"), |
| 437 | MTK_FUNCTION(5, "USB_TEST_IO[9]"), |
| 438 | MTK_FUNCTION(7, "TESTA_OUT22") |
| 439 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 440 | MTK_PIN(PINCTRL_PIN(41, "DAC_WS"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 441 | "N18", "mt8135", |
| 442 | MTK_EINT_FUNCTION(2, 24), |
| 443 | MTK_FUNCTION(0, "GPIO41"), |
| 444 | MTK_FUNCTION(1, "DAC_WS"), |
| 445 | MTK_FUNCTION(2, "EINT24"), |
| 446 | MTK_FUNCTION(3, " HDMI_SDATA2"), |
| 447 | MTK_FUNCTION(5, "USB_TEST_IO[10]"), |
| 448 | MTK_FUNCTION(7, "TESTA_OUT23") |
| 449 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 450 | MTK_PIN(PINCTRL_PIN(42, "DAC_DAT_OUT"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 451 | "N22", "mt8135", |
| 452 | MTK_EINT_FUNCTION(2, 23), |
| 453 | MTK_FUNCTION(0, "GPIO42"), |
| 454 | MTK_FUNCTION(1, "DAC_DAT_OUT"), |
| 455 | MTK_FUNCTION(2, "EINT23"), |
| 456 | MTK_FUNCTION(3, " HDMI_SDATA3"), |
| 457 | MTK_FUNCTION(5, "USB_TEST_IO[11]"), |
| 458 | MTK_FUNCTION(7, "TESTA_OUT24") |
| 459 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 460 | MTK_PIN(PINCTRL_PIN(43, "PWRAP_SPI0_MO"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 461 | "M22", "mt8135", |
| 462 | MTK_EINT_FUNCTION(2, 29), |
| 463 | MTK_FUNCTION(0, "GPIO43"), |
| 464 | MTK_FUNCTION(1, "PWRAP_SPIDI"), |
| 465 | MTK_FUNCTION(2, "EINT29") |
| 466 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 467 | MTK_PIN(PINCTRL_PIN(44, "PWRAP_SPI0_MI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 468 | "P23", "mt8135", |
| 469 | MTK_EINT_FUNCTION(2, 28), |
| 470 | MTK_FUNCTION(0, "GPIO44"), |
| 471 | MTK_FUNCTION(1, "PWRAP_SPIDO"), |
| 472 | MTK_FUNCTION(2, "EINT28") |
| 473 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 474 | MTK_PIN(PINCTRL_PIN(45, "PWRAP_SPI0_CSN"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 475 | "M21", "mt8135", |
| 476 | MTK_EINT_FUNCTION(2, 27), |
| 477 | MTK_FUNCTION(0, "GPIO45"), |
| 478 | MTK_FUNCTION(1, "PWRAP_SPICS_B_I"), |
| 479 | MTK_FUNCTION(2, "EINT27") |
| 480 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 481 | MTK_PIN(PINCTRL_PIN(46, "PWRAP_SPI0_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 482 | "P22", "mt8135", |
| 483 | MTK_EINT_FUNCTION(2, 26), |
| 484 | MTK_FUNCTION(0, "GPIO46"), |
| 485 | MTK_FUNCTION(1, "PWRAP_SPICK_I"), |
| 486 | MTK_FUNCTION(2, "EINT26") |
| 487 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 488 | MTK_PIN(PINCTRL_PIN(47, "PWRAP_EVENT"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 489 | "M23", "mt8135", |
| 490 | MTK_EINT_FUNCTION(2, 25), |
| 491 | MTK_FUNCTION(0, "GPIO47"), |
| 492 | MTK_FUNCTION(1, "PWRAP_EVENT_IN"), |
| 493 | MTK_FUNCTION(2, "EINT25"), |
| 494 | MTK_FUNCTION(7, "TESTA_OUT2") |
| 495 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 496 | MTK_PIN(PINCTRL_PIN(48, "RTC32K_CK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 497 | "N20", "mt8135", |
| 498 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 499 | MTK_FUNCTION(0, "GPIO48"), |
| 500 | MTK_FUNCTION(1, "RTC32K_CK") |
| 501 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 502 | MTK_PIN(PINCTRL_PIN(49, "WATCHDOG"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 503 | "R22", "mt8135", |
| 504 | MTK_EINT_FUNCTION(2, 36), |
| 505 | MTK_FUNCTION(0, "GPIO49"), |
| 506 | MTK_FUNCTION(1, "WATCHDOG"), |
| 507 | MTK_FUNCTION(2, "EINT36") |
| 508 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 509 | MTK_PIN(PINCTRL_PIN(50, "SRCLKENA"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 510 | "T22", "mt8135", |
| 511 | MTK_EINT_FUNCTION(2, 38), |
| 512 | MTK_FUNCTION(0, "GPIO50"), |
| 513 | MTK_FUNCTION(1, "SRCLKENA"), |
| 514 | MTK_FUNCTION(2, "EINT38") |
| 515 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 516 | MTK_PIN(PINCTRL_PIN(51, "SRCVOLTEN"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 517 | "T23", "mt8135", |
| 518 | MTK_EINT_FUNCTION(2, 37), |
| 519 | MTK_FUNCTION(0, "GPIO51"), |
| 520 | MTK_FUNCTION(1, "SRCVOLTEN"), |
| 521 | MTK_FUNCTION(2, "EINT37") |
| 522 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 523 | MTK_PIN(PINCTRL_PIN(52, "EINT0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 524 | "T21", "mt8135", |
| 525 | MTK_EINT_FUNCTION(1, 0), |
| 526 | MTK_FUNCTION(0, "GPIO52"), |
| 527 | MTK_FUNCTION(1, "EINT0"), |
| 528 | MTK_FUNCTION(2, "PWM1"), |
| 529 | MTK_FUNCTION(3, "CLKM0"), |
| 530 | MTK_FUNCTION(4, " SPDIF_OUT"), |
| 531 | MTK_FUNCTION(5, "USB_TEST_IO[12]"), |
| 532 | MTK_FUNCTION(7, "USB_SCL") |
| 533 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 534 | MTK_PIN(PINCTRL_PIN(53, "URXD2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 535 | "R18", "mt8135", |
| 536 | MTK_EINT_FUNCTION(2, 83), |
| 537 | MTK_FUNCTION(0, "GPIO53"), |
| 538 | MTK_FUNCTION(1, "URXD2"), |
| 539 | MTK_FUNCTION(2, "EINT83"), |
| 540 | MTK_FUNCTION(4, " HDMI_LRCK"), |
| 541 | MTK_FUNCTION(5, "CLKM3"), |
| 542 | MTK_FUNCTION(7, "UTXD2") |
| 543 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 544 | MTK_PIN(PINCTRL_PIN(54, "UTXD2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 545 | "R17", "mt8135", |
| 546 | MTK_EINT_FUNCTION(2, 82), |
| 547 | MTK_FUNCTION(0, "GPIO54"), |
| 548 | MTK_FUNCTION(1, "UTXD2"), |
| 549 | MTK_FUNCTION(2, "EINT82"), |
| 550 | MTK_FUNCTION(4, " HDMI_BCK_OUT"), |
| 551 | MTK_FUNCTION(5, "CLKM2"), |
| 552 | MTK_FUNCTION(7, "URXD2") |
| 553 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 554 | MTK_PIN(PINCTRL_PIN(55, "UCTS2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 555 | "R20", "mt8135", |
| 556 | MTK_EINT_FUNCTION(2, 84), |
| 557 | MTK_FUNCTION(0, "GPIO55"), |
| 558 | MTK_FUNCTION(1, "UCTS2"), |
| 559 | MTK_FUNCTION(2, "EINT84"), |
| 560 | MTK_FUNCTION(5, "PWM1"), |
| 561 | MTK_FUNCTION(7, "URTS2") |
| 562 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 563 | MTK_PIN(PINCTRL_PIN(56, "URTS2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 564 | "R19", "mt8135", |
| 565 | MTK_EINT_FUNCTION(2, 85), |
| 566 | MTK_FUNCTION(0, "GPIO56"), |
| 567 | MTK_FUNCTION(1, "URTS2"), |
| 568 | MTK_FUNCTION(2, "EINT85"), |
| 569 | MTK_FUNCTION(5, "PWM2"), |
| 570 | MTK_FUNCTION(7, "UCTS2") |
| 571 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 572 | MTK_PIN(PINCTRL_PIN(57, "JTCK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 573 | "V17", "mt8135", |
| 574 | MTK_EINT_FUNCTION(2, 188), |
| 575 | MTK_FUNCTION(0, "GPIO57"), |
| 576 | MTK_FUNCTION(1, "JTCK"), |
| 577 | MTK_FUNCTION(2, "EINT188"), |
| 578 | MTK_FUNCTION(3, "DSP1_ICK") |
| 579 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 580 | MTK_PIN(PINCTRL_PIN(58, "JTDO"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 581 | "T16", "mt8135", |
| 582 | MTK_EINT_FUNCTION(2, 190), |
| 583 | MTK_FUNCTION(0, "GPIO58"), |
| 584 | MTK_FUNCTION(1, "JTDO"), |
| 585 | MTK_FUNCTION(2, "EINT190"), |
| 586 | MTK_FUNCTION(3, "DSP2_IMS") |
| 587 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 588 | MTK_PIN(PINCTRL_PIN(59, "JTRST_B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 589 | "T19", "mt8135", |
| 590 | MTK_EINT_FUNCTION(2, 0), |
| 591 | MTK_FUNCTION(0, "GPIO59"), |
| 592 | MTK_FUNCTION(1, "JTRST_B"), |
| 593 | MTK_FUNCTION(2, "EINT0"), |
| 594 | MTK_FUNCTION(3, "DSP2_ICK") |
| 595 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 596 | MTK_PIN(PINCTRL_PIN(60, "JTDI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 597 | "T18", "mt8135", |
| 598 | MTK_EINT_FUNCTION(2, 189), |
| 599 | MTK_FUNCTION(0, "GPIO60"), |
| 600 | MTK_FUNCTION(1, "JTDI"), |
| 601 | MTK_FUNCTION(2, "EINT189"), |
| 602 | MTK_FUNCTION(3, "DSP1_IMS") |
| 603 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 604 | MTK_PIN(PINCTRL_PIN(61, "JRTCK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 605 | "T20", "mt8135", |
| 606 | MTK_EINT_FUNCTION(2, 187), |
| 607 | MTK_FUNCTION(0, "GPIO61"), |
| 608 | MTK_FUNCTION(1, "JRTCK"), |
| 609 | MTK_FUNCTION(2, "EINT187"), |
| 610 | MTK_FUNCTION(3, "DSP1_ID") |
| 611 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 612 | MTK_PIN(PINCTRL_PIN(62, "JTMS"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 613 | "T17", "mt8135", |
| 614 | MTK_EINT_FUNCTION(2, 191), |
| 615 | MTK_FUNCTION(0, "GPIO62"), |
| 616 | MTK_FUNCTION(1, "JTMS"), |
| 617 | MTK_FUNCTION(2, "EINT191"), |
| 618 | MTK_FUNCTION(3, "DSP2_ID") |
| 619 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 620 | MTK_PIN(PINCTRL_PIN(63, "MSDC1_INSI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 621 | "V18", "mt8135", |
| 622 | MTK_EINT_FUNCTION(1, 15), |
| 623 | MTK_FUNCTION(0, "GPIO63"), |
| 624 | MTK_FUNCTION(1, "MSDC1_INSI"), |
| 625 | MTK_FUNCTION(3, "SCL5"), |
| 626 | MTK_FUNCTION(4, "PWM6"), |
| 627 | MTK_FUNCTION(5, "CLKM5"), |
| 628 | MTK_FUNCTION(7, "TESTB_OUT6") |
| 629 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 630 | MTK_PIN(PINCTRL_PIN(64, "MSDC1_SDWPI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 631 | "W18", "mt8135", |
| 632 | MTK_EINT_FUNCTION(2, 58), |
| 633 | MTK_FUNCTION(0, "GPIO64"), |
| 634 | MTK_FUNCTION(1, "MSDC1_SDWPI"), |
| 635 | MTK_FUNCTION(2, "EINT58"), |
| 636 | MTK_FUNCTION(3, "SDA5"), |
| 637 | MTK_FUNCTION(4, "PWM7"), |
| 638 | MTK_FUNCTION(5, "CLKM6"), |
| 639 | MTK_FUNCTION(7, "TESTB_OUT7") |
| 640 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 641 | MTK_PIN(PINCTRL_PIN(65, "MSDC2_INSI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 642 | "U22", "mt8135", |
| 643 | MTK_EINT_FUNCTION(1, 14), |
| 644 | MTK_FUNCTION(0, "GPIO65"), |
| 645 | MTK_FUNCTION(1, "MSDC2_INSI"), |
| 646 | MTK_FUNCTION(5, "USB_TEST_IO[27]"), |
| 647 | MTK_FUNCTION(7, "TESTA_OUT3") |
| 648 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 649 | MTK_PIN(PINCTRL_PIN(66, "MSDC2_SDWPI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 650 | "U21", "mt8135", |
| 651 | MTK_EINT_FUNCTION(2, 66), |
| 652 | MTK_FUNCTION(0, "GPIO66"), |
| 653 | MTK_FUNCTION(1, "MSDC2_SDWPI"), |
| 654 | MTK_FUNCTION(2, "EINT66"), |
| 655 | MTK_FUNCTION(5, "USB_TEST_IO[28]") |
| 656 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 657 | MTK_PIN(PINCTRL_PIN(67, "URXD4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 658 | "V23", "mt8135", |
| 659 | MTK_EINT_FUNCTION(2, 89), |
| 660 | MTK_FUNCTION(0, "GPIO67"), |
| 661 | MTK_FUNCTION(1, "URXD4"), |
| 662 | MTK_FUNCTION(2, "EINT89"), |
| 663 | MTK_FUNCTION(3, "URXD1"), |
| 664 | MTK_FUNCTION(6, "UTXD4"), |
| 665 | MTK_FUNCTION(7, "TESTB_OUT10") |
| 666 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 667 | MTK_PIN(PINCTRL_PIN(68, "UTXD4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 668 | "V22", "mt8135", |
| 669 | MTK_EINT_FUNCTION(2, 88), |
| 670 | MTK_FUNCTION(0, "GPIO68"), |
| 671 | MTK_FUNCTION(1, "UTXD4"), |
| 672 | MTK_FUNCTION(2, "EINT88"), |
| 673 | MTK_FUNCTION(3, "UTXD1"), |
| 674 | MTK_FUNCTION(6, "URXD4"), |
| 675 | MTK_FUNCTION(7, "TESTB_OUT11") |
| 676 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 677 | MTK_PIN(PINCTRL_PIN(69, "URXD1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 678 | "W22", "mt8135", |
| 679 | MTK_EINT_FUNCTION(2, 79), |
| 680 | MTK_FUNCTION(0, "GPIO69"), |
| 681 | MTK_FUNCTION(1, "URXD1"), |
| 682 | MTK_FUNCTION(2, "EINT79"), |
| 683 | MTK_FUNCTION(3, "URXD4"), |
| 684 | MTK_FUNCTION(6, "UTXD1"), |
| 685 | MTK_FUNCTION(7, "TESTB_OUT24") |
| 686 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 687 | MTK_PIN(PINCTRL_PIN(70, "UTXD1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 688 | "V21", "mt8135", |
| 689 | MTK_EINT_FUNCTION(2, 78), |
| 690 | MTK_FUNCTION(0, "GPIO70"), |
| 691 | MTK_FUNCTION(1, "UTXD1"), |
| 692 | MTK_FUNCTION(2, "EINT78"), |
| 693 | MTK_FUNCTION(3, "UTXD4"), |
| 694 | MTK_FUNCTION(6, "URXD1"), |
| 695 | MTK_FUNCTION(7, "TESTB_OUT25") |
| 696 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 697 | MTK_PIN(PINCTRL_PIN(71, "UCTS1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 698 | "V19", "mt8135", |
| 699 | MTK_EINT_FUNCTION(2, 80), |
| 700 | MTK_FUNCTION(0, "GPIO71"), |
| 701 | MTK_FUNCTION(1, "UCTS1"), |
| 702 | MTK_FUNCTION(2, "EINT80"), |
| 703 | MTK_FUNCTION(5, "CLKM0"), |
| 704 | MTK_FUNCTION(6, "URTS1"), |
| 705 | MTK_FUNCTION(7, "TESTB_OUT31") |
| 706 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 707 | MTK_PIN(PINCTRL_PIN(72, "URTS1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 708 | "V20", "mt8135", |
| 709 | MTK_EINT_FUNCTION(2, 81), |
| 710 | MTK_FUNCTION(0, "GPIO72"), |
| 711 | MTK_FUNCTION(1, "URTS1"), |
| 712 | MTK_FUNCTION(2, "EINT81"), |
| 713 | MTK_FUNCTION(5, "CLKM1"), |
| 714 | MTK_FUNCTION(6, "UCTS1"), |
| 715 | MTK_FUNCTION(7, "TESTB_OUT21") |
| 716 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 717 | MTK_PIN(PINCTRL_PIN(73, "PWM1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 718 | "W17", "mt8135", |
| 719 | MTK_EINT_FUNCTION(2, 73), |
| 720 | MTK_FUNCTION(0, "GPIO73"), |
| 721 | MTK_FUNCTION(1, "PWM1"), |
| 722 | MTK_FUNCTION(2, "EINT73"), |
| 723 | MTK_FUNCTION(5, "USB_DRVVBUS"), |
| 724 | MTK_FUNCTION(6, "DISP_PWM"), |
| 725 | MTK_FUNCTION(7, "TESTB_OUT8") |
| 726 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 727 | MTK_PIN(PINCTRL_PIN(74, "PWM2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 728 | "Y17", "mt8135", |
| 729 | MTK_EINT_FUNCTION(2, 74), |
| 730 | MTK_FUNCTION(0, "GPIO74"), |
| 731 | MTK_FUNCTION(1, "PWM2"), |
| 732 | MTK_FUNCTION(2, "EINT74"), |
| 733 | MTK_FUNCTION(3, "DPI33_CK"), |
| 734 | MTK_FUNCTION(4, "PWM5"), |
| 735 | MTK_FUNCTION(5, "URXD2"), |
| 736 | MTK_FUNCTION(6, "DISP_PWM"), |
| 737 | MTK_FUNCTION(7, "TESTB_OUT9") |
| 738 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 739 | MTK_PIN(PINCTRL_PIN(75, "PWM3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 740 | "Y19", "mt8135", |
| 741 | MTK_EINT_FUNCTION(2, 75), |
| 742 | MTK_FUNCTION(0, "GPIO75"), |
| 743 | MTK_FUNCTION(1, "PWM3"), |
| 744 | MTK_FUNCTION(2, "EINT75"), |
| 745 | MTK_FUNCTION(3, "DPI33_D0"), |
| 746 | MTK_FUNCTION(4, "PWM6"), |
| 747 | MTK_FUNCTION(5, "UTXD2"), |
| 748 | MTK_FUNCTION(6, "DISP_PWM"), |
| 749 | MTK_FUNCTION(7, "TESTB_OUT12") |
| 750 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 751 | MTK_PIN(PINCTRL_PIN(76, "PWM4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 752 | "W19", "mt8135", |
| 753 | MTK_EINT_FUNCTION(2, 76), |
| 754 | MTK_FUNCTION(0, "GPIO76"), |
| 755 | MTK_FUNCTION(1, "PWM4"), |
| 756 | MTK_FUNCTION(2, "EINT76"), |
| 757 | MTK_FUNCTION(3, "DPI33_D1"), |
| 758 | MTK_FUNCTION(4, "PWM7"), |
| 759 | MTK_FUNCTION(6, "DISP_PWM"), |
| 760 | MTK_FUNCTION(7, "TESTB_OUT13") |
| 761 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 762 | MTK_PIN(PINCTRL_PIN(77, "MSDC2_DAT2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 763 | "W21", "mt8135", |
| 764 | MTK_EINT_FUNCTION(2, 63), |
| 765 | MTK_FUNCTION(0, "GPIO77"), |
| 766 | MTK_FUNCTION(1, "MSDC2_DAT2"), |
| 767 | MTK_FUNCTION(2, "EINT63"), |
| 768 | MTK_FUNCTION(4, "DSP2_IMS"), |
| 769 | MTK_FUNCTION(6, "DPI33_D6"), |
| 770 | MTK_FUNCTION(7, "TESTA_OUT25") |
| 771 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 772 | MTK_PIN(PINCTRL_PIN(78, "MSDC2_DAT3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 773 | "AA23", "mt8135", |
| 774 | MTK_EINT_FUNCTION(2, 64), |
| 775 | MTK_FUNCTION(0, "GPIO78"), |
| 776 | MTK_FUNCTION(1, "MSDC2_DAT3"), |
| 777 | MTK_FUNCTION(2, "EINT64"), |
| 778 | MTK_FUNCTION(4, "DSP2_ID"), |
| 779 | MTK_FUNCTION(6, "DPI33_D7"), |
| 780 | MTK_FUNCTION(7, "TESTA_OUT26") |
| 781 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 782 | MTK_PIN(PINCTRL_PIN(79, "MSDC2_CMD"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 783 | "Y22", "mt8135", |
| 784 | MTK_EINT_FUNCTION(2, 60), |
| 785 | MTK_FUNCTION(0, "GPIO79"), |
| 786 | MTK_FUNCTION(1, "MSDC2_CMD"), |
| 787 | MTK_FUNCTION(2, "EINT60"), |
| 788 | MTK_FUNCTION(4, "DSP1_IMS"), |
| 789 | MTK_FUNCTION(5, "PCM1_WS"), |
| 790 | MTK_FUNCTION(6, "DPI33_D3"), |
| 791 | MTK_FUNCTION(7, "TESTA_OUT0") |
| 792 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 793 | MTK_PIN(PINCTRL_PIN(80, "MSDC2_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 794 | "AA22", "mt8135", |
| 795 | MTK_EINT_FUNCTION(2, 59), |
| 796 | MTK_FUNCTION(0, "GPIO80"), |
| 797 | MTK_FUNCTION(1, "MSDC2_CLK"), |
| 798 | MTK_FUNCTION(2, "EINT59"), |
| 799 | MTK_FUNCTION(4, "DSP1_ICK"), |
| 800 | MTK_FUNCTION(5, "PCM1_CK"), |
| 801 | MTK_FUNCTION(6, "DPI33_D2"), |
| 802 | MTK_FUNCTION(7, "TESTA_OUT1") |
| 803 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 804 | MTK_PIN(PINCTRL_PIN(81, "MSDC2_DAT1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 805 | "Y21", "mt8135", |
| 806 | MTK_EINT_FUNCTION(2, 62), |
| 807 | MTK_FUNCTION(0, "GPIO81"), |
| 808 | MTK_FUNCTION(1, "MSDC2_DAT1"), |
| 809 | MTK_FUNCTION(2, "EINT62"), |
| 810 | MTK_FUNCTION(4, "DSP2_ICK"), |
| 811 | MTK_FUNCTION(5, "PCM1_DO"), |
| 812 | MTK_FUNCTION(6, "DPI33_D5") |
| 813 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 814 | MTK_PIN(PINCTRL_PIN(82, "MSDC2_DAT0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 815 | "AB22", "mt8135", |
| 816 | MTK_EINT_FUNCTION(2, 61), |
| 817 | MTK_FUNCTION(0, "GPIO82"), |
| 818 | MTK_FUNCTION(1, "MSDC2_DAT0"), |
| 819 | MTK_FUNCTION(2, "EINT61"), |
| 820 | MTK_FUNCTION(4, "DSP1_ID"), |
| 821 | MTK_FUNCTION(5, "PCM1_DI"), |
| 822 | MTK_FUNCTION(6, "DPI33_D4") |
| 823 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 824 | MTK_PIN(PINCTRL_PIN(83, "MSDC1_DAT0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 825 | "AC19", "mt8135", |
| 826 | MTK_EINT_FUNCTION(2, 53), |
| 827 | MTK_FUNCTION(0, "GPIO83"), |
| 828 | MTK_FUNCTION(1, "MSDC1_DAT0"), |
| 829 | MTK_FUNCTION(2, "EINT53"), |
| 830 | MTK_FUNCTION(3, "SCL1"), |
| 831 | MTK_FUNCTION(4, "PWM2"), |
| 832 | MTK_FUNCTION(5, "CLKM1"), |
| 833 | MTK_FUNCTION(7, "TESTB_OUT2") |
| 834 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 835 | MTK_PIN(PINCTRL_PIN(84, "MSDC1_DAT1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 836 | "AA19", "mt8135", |
| 837 | MTK_EINT_FUNCTION(2, 54), |
| 838 | MTK_FUNCTION(0, "GPIO84"), |
| 839 | MTK_FUNCTION(1, "MSDC1_DAT1"), |
| 840 | MTK_FUNCTION(2, "EINT54"), |
| 841 | MTK_FUNCTION(3, "SDA1"), |
| 842 | MTK_FUNCTION(4, "PWM3"), |
| 843 | MTK_FUNCTION(5, "CLKM2"), |
| 844 | MTK_FUNCTION(7, "TESTB_OUT3") |
| 845 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 846 | MTK_PIN(PINCTRL_PIN(85, "MSDC1_CMD"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 847 | "AA20", "mt8135", |
| 848 | MTK_EINT_FUNCTION(2, 52), |
| 849 | MTK_FUNCTION(0, "GPIO85"), |
| 850 | MTK_FUNCTION(1, "MSDC1_CMD"), |
| 851 | MTK_FUNCTION(2, "EINT52"), |
| 852 | MTK_FUNCTION(3, "SDA0"), |
| 853 | MTK_FUNCTION(4, "PWM1"), |
| 854 | MTK_FUNCTION(5, "CLKM0"), |
| 855 | MTK_FUNCTION(7, "TESTB_OUT1") |
| 856 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 857 | MTK_PIN(PINCTRL_PIN(86, "MSDC1_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 858 | "AB19", "mt8135", |
| 859 | MTK_EINT_FUNCTION(2, 51), |
| 860 | MTK_FUNCTION(0, "GPIO86"), |
| 861 | MTK_FUNCTION(1, "MSDC1_CLK"), |
| 862 | MTK_FUNCTION(2, "EINT51"), |
| 863 | MTK_FUNCTION(3, "SCL0"), |
| 864 | MTK_FUNCTION(4, "DISP_PWM"), |
| 865 | MTK_FUNCTION(7, "TESTB_OUT0") |
| 866 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 867 | MTK_PIN(PINCTRL_PIN(87, "MSDC1_DAT2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 868 | "AA21", "mt8135", |
| 869 | MTK_EINT_FUNCTION(2, 55), |
| 870 | MTK_FUNCTION(0, "GPIO87"), |
| 871 | MTK_FUNCTION(1, "MSDC1_DAT2"), |
| 872 | MTK_FUNCTION(2, "EINT55"), |
| 873 | MTK_FUNCTION(3, "SCL4"), |
| 874 | MTK_FUNCTION(4, "PWM4"), |
| 875 | MTK_FUNCTION(5, "CLKM3"), |
| 876 | MTK_FUNCTION(7, "TESTB_OUT4") |
| 877 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 878 | MTK_PIN(PINCTRL_PIN(88, "MSDC1_DAT3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 879 | "AB20", "mt8135", |
| 880 | MTK_EINT_FUNCTION(2, 56), |
| 881 | MTK_FUNCTION(0, "GPIO88"), |
| 882 | MTK_FUNCTION(1, "MSDC1_DAT3"), |
| 883 | MTK_FUNCTION(2, "EINT56"), |
| 884 | MTK_FUNCTION(3, "SDA4"), |
| 885 | MTK_FUNCTION(4, "PWM5"), |
| 886 | MTK_FUNCTION(5, "CLKM4"), |
| 887 | MTK_FUNCTION(7, "TESTB_OUT5") |
| 888 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 889 | MTK_PIN(PINCTRL_PIN(89, "MSDC4_DAT0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 890 | "AB8", "mt8135", |
| 891 | MTK_EINT_FUNCTION(2, 133), |
| 892 | MTK_FUNCTION(0, "GPIO89"), |
| 893 | MTK_FUNCTION(1, "MSDC4_DAT0"), |
| 894 | MTK_FUNCTION(2, "EINT133"), |
| 895 | MTK_FUNCTION(4, "EXT_FRAME_SYNC"), |
| 896 | MTK_FUNCTION(5, "USB_DRVVBUS"), |
| 897 | MTK_FUNCTION(6, "A_FUNC_DIN[9]"), |
| 898 | MTK_FUNCTION(7, "LPTE") |
| 899 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 900 | MTK_PIN(PINCTRL_PIN(90, "MSDC4_DAT1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 901 | "AB7", "mt8135", |
| 902 | MTK_EINT_FUNCTION(2, 134), |
| 903 | MTK_FUNCTION(0, "GPIO90"), |
| 904 | MTK_FUNCTION(1, "MSDC4_DAT1"), |
| 905 | MTK_FUNCTION(2, "EINT134"), |
| 906 | MTK_FUNCTION(6, "A_FUNC_DIN[10]"), |
| 907 | MTK_FUNCTION(7, "LRSTB_1X") |
| 908 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 909 | MTK_PIN(PINCTRL_PIN(91, "MSDC4_DAT5"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 910 | "AA8", "mt8135", |
| 911 | MTK_EINT_FUNCTION(2, 136), |
| 912 | MTK_FUNCTION(0, "GPIO91"), |
| 913 | MTK_FUNCTION(1, "MSDC4_DAT5"), |
| 914 | MTK_FUNCTION(2, "EINT136"), |
| 915 | MTK_FUNCTION(3, "I2SIN_WS"), |
| 916 | MTK_FUNCTION(4, "DAC_WS"), |
| 917 | MTK_FUNCTION(5, "PCM1_WS"), |
| 918 | MTK_FUNCTION(6, "A_FUNC_DIN[11]"), |
| 919 | MTK_FUNCTION(7, "SPI1_CSN") |
| 920 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 921 | MTK_PIN(PINCTRL_PIN(92, "MSDC4_DAT6"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 922 | "AC4", "mt8135", |
| 923 | MTK_EINT_FUNCTION(2, 137), |
| 924 | MTK_FUNCTION(0, "GPIO92"), |
| 925 | MTK_FUNCTION(1, "MSDC4_DAT6"), |
| 926 | MTK_FUNCTION(2, "EINT137"), |
| 927 | MTK_FUNCTION(3, "I2SOUT_DAT"), |
| 928 | MTK_FUNCTION(4, "DAC_DAT_OUT"), |
| 929 | MTK_FUNCTION(5, "PCM1_DO"), |
| 930 | MTK_FUNCTION(6, "A_FUNC_DIN[12]"), |
| 931 | MTK_FUNCTION(7, "SPI1_MO") |
| 932 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 933 | MTK_PIN(PINCTRL_PIN(93, "MSDC4_DAT7"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 934 | "AC6", "mt8135", |
| 935 | MTK_EINT_FUNCTION(2, 138), |
| 936 | MTK_FUNCTION(0, "GPIO93"), |
| 937 | MTK_FUNCTION(1, "MSDC4_DAT7"), |
| 938 | MTK_FUNCTION(2, "EINT138"), |
| 939 | MTK_FUNCTION(3, "I2SIN_DAT"), |
| 940 | MTK_FUNCTION(5, "PCM1_DI"), |
| 941 | MTK_FUNCTION(6, "A_FUNC_DIN[13]"), |
| 942 | MTK_FUNCTION(7, "SPI1_MI") |
| 943 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 944 | MTK_PIN(PINCTRL_PIN(94, "MSDC4_DAT4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 945 | "AA7", "mt8135", |
| 946 | MTK_EINT_FUNCTION(2, 135), |
| 947 | MTK_FUNCTION(0, "GPIO94"), |
| 948 | MTK_FUNCTION(1, "MSDC4_DAT4"), |
| 949 | MTK_FUNCTION(2, "EINT135"), |
| 950 | MTK_FUNCTION(3, "I2SIN_CK"), |
| 951 | MTK_FUNCTION(4, "DAC_CK"), |
| 952 | MTK_FUNCTION(5, "PCM1_CK"), |
| 953 | MTK_FUNCTION(6, "A_FUNC_DIN[14]"), |
| 954 | MTK_FUNCTION(7, "SPI1_CLK") |
| 955 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 956 | MTK_PIN(PINCTRL_PIN(95, "MSDC4_DAT2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 957 | "AB6", "mt8135", |
| 958 | MTK_EINT_FUNCTION(2, 131), |
| 959 | MTK_FUNCTION(0, "GPIO95"), |
| 960 | MTK_FUNCTION(1, "MSDC4_DAT2"), |
| 961 | MTK_FUNCTION(2, "EINT131"), |
| 962 | MTK_FUNCTION(3, "I2SIN_WS"), |
| 963 | MTK_FUNCTION(4, "CM2PDN_2X"), |
| 964 | MTK_FUNCTION(5, "DAC_WS"), |
| 965 | MTK_FUNCTION(6, "PCM1_WS"), |
| 966 | MTK_FUNCTION(7, "LSCE0B_1X") |
| 967 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 968 | MTK_PIN(PINCTRL_PIN(96, "MSDC4_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 969 | "AB5", "mt8135", |
| 970 | MTK_EINT_FUNCTION(2, 129), |
| 971 | MTK_FUNCTION(0, "GPIO96"), |
| 972 | MTK_FUNCTION(1, "MSDC4_CLK"), |
| 973 | MTK_FUNCTION(2, "EINT129"), |
| 974 | MTK_FUNCTION(3, "DPI1_CK_2X"), |
| 975 | MTK_FUNCTION(4, "CM2PCLK_2X"), |
| 976 | MTK_FUNCTION(5, "PWM4"), |
| 977 | MTK_FUNCTION(6, "PCM1_DI"), |
| 978 | MTK_FUNCTION(7, "LSCK_1X") |
| 979 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 980 | MTK_PIN(PINCTRL_PIN(97, "MSDC4_DAT3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 981 | "Y8", "mt8135", |
| 982 | MTK_EINT_FUNCTION(2, 132), |
| 983 | MTK_FUNCTION(0, "GPIO97"), |
| 984 | MTK_FUNCTION(1, "MSDC4_DAT3"), |
| 985 | MTK_FUNCTION(2, "EINT132"), |
| 986 | MTK_FUNCTION(3, "I2SOUT_DAT"), |
| 987 | MTK_FUNCTION(4, "CM2RST_2X"), |
| 988 | MTK_FUNCTION(5, "DAC_DAT_OUT"), |
| 989 | MTK_FUNCTION(6, "PCM1_DO"), |
| 990 | MTK_FUNCTION(7, "LSCE1B_1X") |
| 991 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 992 | MTK_PIN(PINCTRL_PIN(98, "MSDC4_CMD"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 993 | "AC3", "mt8135", |
| 994 | MTK_EINT_FUNCTION(2, 128), |
| 995 | MTK_FUNCTION(0, "GPIO98"), |
| 996 | MTK_FUNCTION(1, "MSDC4_CMD"), |
| 997 | MTK_FUNCTION(2, "EINT128"), |
| 998 | MTK_FUNCTION(3, "DPI1_DE_2X"), |
| 999 | MTK_FUNCTION(5, "PWM3"), |
| 1000 | MTK_FUNCTION(7, "LSDA_1X") |
| 1001 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1002 | MTK_PIN(PINCTRL_PIN(99, "MSDC4_RSTB"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1003 | "AB4", "mt8135", |
| 1004 | MTK_EINT_FUNCTION(2, 130), |
| 1005 | MTK_FUNCTION(0, "GPIO99"), |
| 1006 | MTK_FUNCTION(1, "MSDC4_RSTB"), |
| 1007 | MTK_FUNCTION(2, "EINT130"), |
| 1008 | MTK_FUNCTION(3, "I2SIN_CK"), |
| 1009 | MTK_FUNCTION(4, "CM2MCLK_2X"), |
| 1010 | MTK_FUNCTION(5, "DAC_CK"), |
| 1011 | MTK_FUNCTION(6, "PCM1_CK"), |
| 1012 | MTK_FUNCTION(7, "LSA0_1X") |
| 1013 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1014 | MTK_PIN(PINCTRL_PIN(100, "SDA0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1015 | "W9", "mt8135", |
| 1016 | MTK_EINT_FUNCTION(2, 91), |
| 1017 | MTK_FUNCTION(0, "GPIO100"), |
| 1018 | MTK_FUNCTION(1, "SDA0"), |
| 1019 | MTK_FUNCTION(2, "EINT91"), |
| 1020 | MTK_FUNCTION(3, "CLKM1"), |
| 1021 | MTK_FUNCTION(4, "PWM1"), |
| 1022 | MTK_FUNCTION(7, "A_FUNC_DIN[15]") |
| 1023 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1024 | MTK_PIN(PINCTRL_PIN(101, "SCL0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1025 | "W11", "mt8135", |
| 1026 | MTK_EINT_FUNCTION(2, 90), |
| 1027 | MTK_FUNCTION(0, "GPIO101"), |
| 1028 | MTK_FUNCTION(1, "SCL0"), |
| 1029 | MTK_FUNCTION(2, "EINT90"), |
| 1030 | MTK_FUNCTION(3, "CLKM0"), |
| 1031 | MTK_FUNCTION(4, "DISP_PWM"), |
| 1032 | MTK_FUNCTION(7, "A_FUNC_DIN[16]") |
| 1033 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1034 | MTK_PIN(PINCTRL_PIN(102, "EINT10_AUXIN2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1035 | "AA3", "mt8135", |
| 1036 | MTK_EINT_FUNCTION(1, 10), |
| 1037 | MTK_FUNCTION(0, "GPIO102"), |
| 1038 | MTK_FUNCTION(1, "EINT10"), |
| 1039 | MTK_FUNCTION(5, "USB_TEST_IO[16]"), |
| 1040 | MTK_FUNCTION(6, "TESTB_OUT16"), |
| 1041 | MTK_FUNCTION(7, "A_FUNC_DIN[17]") |
| 1042 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1043 | MTK_PIN(PINCTRL_PIN(103, "EINT11_AUXIN3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1044 | "AB2", "mt8135", |
| 1045 | MTK_EINT_FUNCTION(1, 11), |
| 1046 | MTK_FUNCTION(0, "GPIO103"), |
| 1047 | MTK_FUNCTION(1, "EINT11"), |
| 1048 | MTK_FUNCTION(5, "USB_TEST_IO[17]"), |
| 1049 | MTK_FUNCTION(6, "TESTB_OUT17"), |
| 1050 | MTK_FUNCTION(7, "A_FUNC_DIN[18]") |
| 1051 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1052 | MTK_PIN(PINCTRL_PIN(104, "EINT16_AUXIN4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1053 | "AB3", "mt8135", |
| 1054 | MTK_EINT_FUNCTION(1, 16), |
| 1055 | MTK_FUNCTION(0, "GPIO104"), |
| 1056 | MTK_FUNCTION(1, "EINT16"), |
| 1057 | MTK_FUNCTION(5, "USB_TEST_IO[18]"), |
| 1058 | MTK_FUNCTION(6, "TESTB_OUT18"), |
| 1059 | MTK_FUNCTION(7, "A_FUNC_DIN[19]") |
| 1060 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1061 | MTK_PIN(PINCTRL_PIN(105, "I2S_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1062 | "W6", "mt8135", |
| 1063 | MTK_EINT_FUNCTION(2, 10), |
| 1064 | MTK_FUNCTION(0, "GPIO105"), |
| 1065 | MTK_FUNCTION(1, "I2SIN_CK"), |
| 1066 | MTK_FUNCTION(2, "EINT10"), |
| 1067 | MTK_FUNCTION(3, "DAC_CK"), |
| 1068 | MTK_FUNCTION(4, "PCM1_CK"), |
| 1069 | MTK_FUNCTION(5, "USB_TEST_IO[19]"), |
| 1070 | MTK_FUNCTION(6, "TESTB_OUT19"), |
| 1071 | MTK_FUNCTION(7, "A_FUNC_DIN[20]") |
| 1072 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1073 | MTK_PIN(PINCTRL_PIN(106, "I2S_WS"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1074 | "AA6", "mt8135", |
| 1075 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1076 | MTK_FUNCTION(0, "GPIO106"), |
| 1077 | MTK_FUNCTION(1, "I2SIN_WS"), |
| 1078 | MTK_FUNCTION(3, "DAC_WS"), |
| 1079 | MTK_FUNCTION(4, "PCM1_WS"), |
| 1080 | MTK_FUNCTION(5, "USB_TEST_IO[20]"), |
| 1081 | MTK_FUNCTION(6, "TESTB_OUT20"), |
| 1082 | MTK_FUNCTION(7, "A_FUNC_DIN[21]") |
| 1083 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1084 | MTK_PIN(PINCTRL_PIN(107, "I2S_DATA_IN"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1085 | "AA5", "mt8135", |
| 1086 | MTK_EINT_FUNCTION(2, 11), |
| 1087 | MTK_FUNCTION(0, "GPIO107"), |
| 1088 | MTK_FUNCTION(1, "I2SIN_DAT"), |
| 1089 | MTK_FUNCTION(2, "EINT11"), |
| 1090 | MTK_FUNCTION(4, "PCM1_DI"), |
| 1091 | MTK_FUNCTION(5, "USB_TEST_IO[21]"), |
| 1092 | MTK_FUNCTION(6, "TESTB_OUT22"), |
| 1093 | MTK_FUNCTION(7, "A_FUNC_DIN[22]") |
| 1094 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1095 | MTK_PIN(PINCTRL_PIN(108, "I2S_DATA_OUT"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1096 | "AA4", "mt8135", |
| 1097 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1098 | MTK_FUNCTION(0, "GPIO108"), |
| 1099 | MTK_FUNCTION(1, "I2SOUT_DAT"), |
| 1100 | MTK_FUNCTION(3, "DAC_DAT_OUT"), |
| 1101 | MTK_FUNCTION(4, "PCM1_DO"), |
| 1102 | MTK_FUNCTION(5, "USB_TEST_IO[22]"), |
| 1103 | MTK_FUNCTION(6, "TESTB_OUT23"), |
| 1104 | MTK_FUNCTION(7, "A_FUNC_DIN[23]") |
| 1105 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1106 | MTK_PIN(PINCTRL_PIN(109, "EINT5"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1107 | "W5", "mt8135", |
| 1108 | MTK_EINT_FUNCTION(1, 5), |
| 1109 | MTK_FUNCTION(0, "GPIO109"), |
| 1110 | MTK_FUNCTION(1, "EINT5"), |
| 1111 | MTK_FUNCTION(2, "PWM5"), |
| 1112 | MTK_FUNCTION(3, "CLKM3"), |
| 1113 | MTK_FUNCTION(4, "GPU_JTRSTB"), |
| 1114 | MTK_FUNCTION(5, "USB_TEST_IO[23]"), |
| 1115 | MTK_FUNCTION(6, "TESTB_OUT26"), |
| 1116 | MTK_FUNCTION(7, "A_FUNC_DIN[24]") |
| 1117 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1118 | MTK_PIN(PINCTRL_PIN(110, "EINT6"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1119 | "V5", "mt8135", |
| 1120 | MTK_EINT_FUNCTION(1, 6), |
| 1121 | MTK_FUNCTION(0, "GPIO110"), |
| 1122 | MTK_FUNCTION(1, "EINT6"), |
| 1123 | MTK_FUNCTION(2, "PWM6"), |
| 1124 | MTK_FUNCTION(3, "CLKM4"), |
| 1125 | MTK_FUNCTION(4, "GPU_JTMS"), |
| 1126 | MTK_FUNCTION(5, "USB_TEST_IO[24]"), |
| 1127 | MTK_FUNCTION(6, "TESTB_OUT27"), |
| 1128 | MTK_FUNCTION(7, "A_FUNC_DIN[25]") |
| 1129 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1130 | MTK_PIN(PINCTRL_PIN(111, "EINT7"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1131 | "W3", "mt8135", |
| 1132 | MTK_EINT_FUNCTION(1, 7), |
| 1133 | MTK_FUNCTION(0, "GPIO111"), |
| 1134 | MTK_FUNCTION(1, "EINT7"), |
| 1135 | MTK_FUNCTION(2, "PWM7"), |
| 1136 | MTK_FUNCTION(3, "CLKM5"), |
| 1137 | MTK_FUNCTION(4, "GPU_JTDO"), |
| 1138 | MTK_FUNCTION(5, "USB_TEST_IO[25]"), |
| 1139 | MTK_FUNCTION(6, "TESTB_OUT28"), |
| 1140 | MTK_FUNCTION(7, "A_FUNC_DIN[26]") |
| 1141 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1142 | MTK_PIN(PINCTRL_PIN(112, "EINT8"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1143 | "V6", "mt8135", |
| 1144 | MTK_EINT_FUNCTION(1, 8), |
| 1145 | MTK_FUNCTION(0, "GPIO112"), |
| 1146 | MTK_FUNCTION(1, "EINT8"), |
| 1147 | MTK_FUNCTION(2, "DISP_PWM"), |
| 1148 | MTK_FUNCTION(3, "CLKM6"), |
| 1149 | MTK_FUNCTION(4, "GPU_JTDI"), |
| 1150 | MTK_FUNCTION(5, "USB_TEST_IO[26]"), |
| 1151 | MTK_FUNCTION(6, "TESTB_OUT29"), |
| 1152 | MTK_FUNCTION(7, "EXT_FRAME_SYNC") |
| 1153 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1154 | MTK_PIN(PINCTRL_PIN(113, "EINT9"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1155 | "W8", "mt8135", |
| 1156 | MTK_EINT_FUNCTION(1, 9), |
| 1157 | MTK_FUNCTION(0, "GPIO113"), |
| 1158 | MTK_FUNCTION(1, "EINT9"), |
| 1159 | MTK_FUNCTION(4, "GPU_JTCK"), |
| 1160 | MTK_FUNCTION(5, "USB_DRVVBUS"), |
| 1161 | MTK_FUNCTION(6, "TESTB_OUT30"), |
| 1162 | MTK_FUNCTION(7, "A_FUNC_DIN[27]") |
| 1163 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1164 | MTK_PIN(PINCTRL_PIN(114, "LPCE1B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1165 | "W4", "mt8135", |
| 1166 | MTK_EINT_FUNCTION(2, 127), |
| 1167 | MTK_FUNCTION(0, "GPIO114"), |
| 1168 | MTK_FUNCTION(1, "LPCE1B"), |
| 1169 | MTK_FUNCTION(2, "EINT127"), |
| 1170 | MTK_FUNCTION(5, "PWM2"), |
| 1171 | MTK_FUNCTION(6, "TESTB_OUT14"), |
| 1172 | MTK_FUNCTION(7, "A_FUNC_DIN[28]") |
| 1173 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1174 | MTK_PIN(PINCTRL_PIN(115, "LPCE0B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1175 | "T5", "mt8135", |
| 1176 | MTK_EINT_FUNCTION(2, 126), |
| 1177 | MTK_FUNCTION(0, "GPIO115"), |
| 1178 | MTK_FUNCTION(1, "LPCE0B"), |
| 1179 | MTK_FUNCTION(2, "EINT126"), |
| 1180 | MTK_FUNCTION(5, "PWM1"), |
| 1181 | MTK_FUNCTION(6, "TESTB_OUT15"), |
| 1182 | MTK_FUNCTION(7, "A_FUNC_DIN[29]") |
| 1183 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1184 | MTK_PIN(PINCTRL_PIN(116, "DISP_PWM"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1185 | "V4", "mt8135", |
| 1186 | MTK_EINT_FUNCTION(2, 77), |
| 1187 | MTK_FUNCTION(0, "GPIO116"), |
| 1188 | MTK_FUNCTION(1, "DISP_PWM"), |
| 1189 | MTK_FUNCTION(2, "EINT77"), |
| 1190 | MTK_FUNCTION(3, "LSDI"), |
| 1191 | MTK_FUNCTION(4, "PWM1"), |
| 1192 | MTK_FUNCTION(5, "PWM2"), |
| 1193 | MTK_FUNCTION(7, "PWM3") |
| 1194 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1195 | MTK_PIN(PINCTRL_PIN(117, "EINT1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1196 | "T6", "mt8135", |
| 1197 | MTK_EINT_FUNCTION(1, 1), |
| 1198 | MTK_FUNCTION(0, "GPIO117"), |
| 1199 | MTK_FUNCTION(1, "EINT1"), |
| 1200 | MTK_FUNCTION(2, "PWM2"), |
| 1201 | MTK_FUNCTION(3, "CLKM1"), |
| 1202 | MTK_FUNCTION(5, "USB_TEST_IO[13]"), |
| 1203 | MTK_FUNCTION(7, "USB_SDA") |
| 1204 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1205 | MTK_PIN(PINCTRL_PIN(118, "EINT2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1206 | "T4", "mt8135", |
| 1207 | MTK_EINT_FUNCTION(1, 2), |
| 1208 | MTK_FUNCTION(0, "GPIO118"), |
| 1209 | MTK_FUNCTION(1, "EINT2"), |
| 1210 | MTK_FUNCTION(2, "PWM3"), |
| 1211 | MTK_FUNCTION(3, "CLKM2"), |
| 1212 | MTK_FUNCTION(5, "USB_TEST_IO[14]"), |
| 1213 | MTK_FUNCTION(6, "SRCLKENAI2"), |
| 1214 | MTK_FUNCTION(7, "A_FUNC_DIN[30]") |
| 1215 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1216 | MTK_PIN(PINCTRL_PIN(119, "EINT3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1217 | "R4", "mt8135", |
| 1218 | MTK_EINT_FUNCTION(1, 3), |
| 1219 | MTK_FUNCTION(0, "GPIO119"), |
| 1220 | MTK_FUNCTION(1, "EINT3"), |
| 1221 | MTK_FUNCTION(5, "USB_TEST_IO[15]"), |
| 1222 | MTK_FUNCTION(6, "SRCLKENAI1"), |
| 1223 | MTK_FUNCTION(7, "EXT_26M_CK") |
| 1224 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1225 | MTK_PIN(PINCTRL_PIN(120, "EINT4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1226 | "R5", "mt8135", |
| 1227 | MTK_EINT_FUNCTION(1, 4), |
| 1228 | MTK_FUNCTION(0, "GPIO120"), |
| 1229 | MTK_FUNCTION(1, "EINT4"), |
| 1230 | MTK_FUNCTION(2, "PWM4"), |
| 1231 | MTK_FUNCTION(5, "USB_DRVVBUS"), |
| 1232 | MTK_FUNCTION(7, "A_FUNC_DIN[31]") |
| 1233 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1234 | MTK_PIN(PINCTRL_PIN(121, "DPIDE"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1235 | NULL, "mt8135", |
| 1236 | MTK_EINT_FUNCTION(2, 100), |
| 1237 | MTK_FUNCTION(0, "GPIO121"), |
| 1238 | MTK_FUNCTION(1, "DPI0_DE"), |
| 1239 | MTK_FUNCTION(2, "EINT100"), |
| 1240 | MTK_FUNCTION(3, "I2SOUT_DAT"), |
| 1241 | MTK_FUNCTION(4, "DAC_DAT_OUT"), |
| 1242 | MTK_FUNCTION(5, "PCM1_DO"), |
| 1243 | MTK_FUNCTION(6, "IRDA_TXD") |
| 1244 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1245 | MTK_PIN(PINCTRL_PIN(122, "DPICK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1246 | NULL, "mt8135", |
| 1247 | MTK_EINT_FUNCTION(2, 101), |
| 1248 | MTK_FUNCTION(0, "GPIO122"), |
| 1249 | MTK_FUNCTION(1, "DPI0_CK"), |
| 1250 | MTK_FUNCTION(2, "EINT101"), |
| 1251 | MTK_FUNCTION(3, "I2SIN_DAT"), |
| 1252 | MTK_FUNCTION(5, "PCM1_DI"), |
| 1253 | MTK_FUNCTION(6, "IRDA_PDN") |
| 1254 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1255 | MTK_PIN(PINCTRL_PIN(123, "DPIG4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1256 | NULL, "mt8135", |
| 1257 | MTK_EINT_FUNCTION(2, 114), |
| 1258 | MTK_FUNCTION(0, "GPIO123"), |
| 1259 | MTK_FUNCTION(1, "DPI0_G4"), |
| 1260 | MTK_FUNCTION(2, "EINT114"), |
| 1261 | MTK_FUNCTION(4, "CM2DAT_2X[0]"), |
| 1262 | MTK_FUNCTION(5, "DSP2_ID") |
| 1263 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1264 | MTK_PIN(PINCTRL_PIN(124, "DPIG5"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1265 | NULL, "mt8135", |
| 1266 | MTK_EINT_FUNCTION(2, 115), |
| 1267 | MTK_FUNCTION(0, "GPIO124"), |
| 1268 | MTK_FUNCTION(1, "DPI0_G5"), |
| 1269 | MTK_FUNCTION(2, "EINT115"), |
| 1270 | MTK_FUNCTION(4, "CM2DAT_2X[1]"), |
| 1271 | MTK_FUNCTION(5, "DSP2_ICK") |
| 1272 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1273 | MTK_PIN(PINCTRL_PIN(125, "DPIR3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1274 | NULL, "mt8135", |
| 1275 | MTK_EINT_FUNCTION(2, 121), |
| 1276 | MTK_FUNCTION(0, "GPIO125"), |
| 1277 | MTK_FUNCTION(1, "DPI0_R3"), |
| 1278 | MTK_FUNCTION(2, "EINT121"), |
| 1279 | MTK_FUNCTION(4, "CM2DAT_2X[7]") |
| 1280 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1281 | MTK_PIN(PINCTRL_PIN(126, "DPIG1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1282 | NULL, "mt8135", |
| 1283 | MTK_EINT_FUNCTION(2, 111), |
| 1284 | MTK_FUNCTION(0, "GPIO126"), |
| 1285 | MTK_FUNCTION(1, "DPI0_G1"), |
| 1286 | MTK_FUNCTION(2, "EINT111"), |
| 1287 | MTK_FUNCTION(5, "DSP1_ICK") |
| 1288 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1289 | MTK_PIN(PINCTRL_PIN(127, "DPIVSYNC"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1290 | NULL, "mt8135", |
| 1291 | MTK_EINT_FUNCTION(2, 98), |
| 1292 | MTK_FUNCTION(0, "GPIO127"), |
| 1293 | MTK_FUNCTION(1, "DPI0_VSYNC"), |
| 1294 | MTK_FUNCTION(2, "EINT98"), |
| 1295 | MTK_FUNCTION(3, "I2SIN_CK"), |
| 1296 | MTK_FUNCTION(4, "DAC_CK"), |
| 1297 | MTK_FUNCTION(5, "PCM1_CK") |
| 1298 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1299 | MTK_PIN(PINCTRL_PIN(128, "DPIHSYNC"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1300 | NULL, "mt8135", |
| 1301 | MTK_EINT_FUNCTION(2, 99), |
| 1302 | MTK_FUNCTION(0, "GPIO128"), |
| 1303 | MTK_FUNCTION(1, "DPI0_HSYNC"), |
| 1304 | MTK_FUNCTION(2, "EINT99"), |
| 1305 | MTK_FUNCTION(3, "I2SIN_WS"), |
| 1306 | MTK_FUNCTION(4, "DAC_WS"), |
| 1307 | MTK_FUNCTION(5, "PCM1_WS"), |
| 1308 | MTK_FUNCTION(6, "IRDA_RXD") |
| 1309 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1310 | MTK_PIN(PINCTRL_PIN(129, "DPIB0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1311 | NULL, "mt8135", |
| 1312 | MTK_EINT_FUNCTION(2, 102), |
| 1313 | MTK_FUNCTION(0, "GPIO129"), |
| 1314 | MTK_FUNCTION(1, "DPI0_B0"), |
| 1315 | MTK_FUNCTION(2, "EINT102"), |
| 1316 | MTK_FUNCTION(4, "SCL0"), |
| 1317 | MTK_FUNCTION(5, "DISP_PWM") |
| 1318 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1319 | MTK_PIN(PINCTRL_PIN(130, "DPIB1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1320 | NULL, "mt8135", |
| 1321 | MTK_EINT_FUNCTION(2, 103), |
| 1322 | MTK_FUNCTION(0, "GPIO130"), |
| 1323 | MTK_FUNCTION(1, "DPI0_B1"), |
| 1324 | MTK_FUNCTION(2, "EINT103"), |
| 1325 | MTK_FUNCTION(3, "CLKM0"), |
| 1326 | MTK_FUNCTION(4, "SDA0"), |
| 1327 | MTK_FUNCTION(5, "PWM1") |
| 1328 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1329 | MTK_PIN(PINCTRL_PIN(131, "DPIB2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1330 | NULL, "mt8135", |
| 1331 | MTK_EINT_FUNCTION(2, 104), |
| 1332 | MTK_FUNCTION(0, "GPIO131"), |
| 1333 | MTK_FUNCTION(1, "DPI0_B2"), |
| 1334 | MTK_FUNCTION(2, "EINT104"), |
| 1335 | MTK_FUNCTION(3, "CLKM1"), |
| 1336 | MTK_FUNCTION(4, "SCL1"), |
| 1337 | MTK_FUNCTION(5, "PWM2") |
| 1338 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1339 | MTK_PIN(PINCTRL_PIN(132, "DPIB3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1340 | NULL, "mt8135", |
| 1341 | MTK_EINT_FUNCTION(2, 105), |
| 1342 | MTK_FUNCTION(0, "GPIO132"), |
| 1343 | MTK_FUNCTION(1, "DPI0_B3"), |
| 1344 | MTK_FUNCTION(2, "EINT105"), |
| 1345 | MTK_FUNCTION(3, "CLKM2"), |
| 1346 | MTK_FUNCTION(4, "SDA1"), |
| 1347 | MTK_FUNCTION(5, "PWM3") |
| 1348 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1349 | MTK_PIN(PINCTRL_PIN(133, "DPIB4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1350 | NULL, "mt8135", |
| 1351 | MTK_EINT_FUNCTION(2, 106), |
| 1352 | MTK_FUNCTION(0, "GPIO133"), |
| 1353 | MTK_FUNCTION(1, "DPI0_B4"), |
| 1354 | MTK_FUNCTION(2, "EINT106"), |
| 1355 | MTK_FUNCTION(3, "CLKM3"), |
| 1356 | MTK_FUNCTION(4, "SCL2"), |
| 1357 | MTK_FUNCTION(5, "PWM4") |
| 1358 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1359 | MTK_PIN(PINCTRL_PIN(134, "DPIB5"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1360 | NULL, "mt8135", |
| 1361 | MTK_EINT_FUNCTION(2, 107), |
| 1362 | MTK_FUNCTION(0, "GPIO134"), |
| 1363 | MTK_FUNCTION(1, "DPI0_B5"), |
| 1364 | MTK_FUNCTION(2, "EINT107"), |
| 1365 | MTK_FUNCTION(3, "CLKM4"), |
| 1366 | MTK_FUNCTION(4, "SDA2"), |
| 1367 | MTK_FUNCTION(5, "PWM5") |
| 1368 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1369 | MTK_PIN(PINCTRL_PIN(135, "DPIB6"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1370 | NULL, "mt8135", |
| 1371 | MTK_EINT_FUNCTION(2, 108), |
| 1372 | MTK_FUNCTION(0, "GPIO135"), |
| 1373 | MTK_FUNCTION(1, "DPI0_B6"), |
| 1374 | MTK_FUNCTION(2, "EINT108"), |
| 1375 | MTK_FUNCTION(3, "CLKM5"), |
| 1376 | MTK_FUNCTION(4, "SCL3"), |
| 1377 | MTK_FUNCTION(5, "PWM6") |
| 1378 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1379 | MTK_PIN(PINCTRL_PIN(136, "DPIB7"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1380 | NULL, "mt8135", |
| 1381 | MTK_EINT_FUNCTION(2, 109), |
| 1382 | MTK_FUNCTION(0, "GPIO136"), |
| 1383 | MTK_FUNCTION(1, "DPI0_B7"), |
| 1384 | MTK_FUNCTION(2, "EINT109"), |
| 1385 | MTK_FUNCTION(3, "CLKM6"), |
| 1386 | MTK_FUNCTION(4, "SDA3"), |
| 1387 | MTK_FUNCTION(5, "PWM7") |
| 1388 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1389 | MTK_PIN(PINCTRL_PIN(137, "DPIG0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1390 | NULL, "mt8135", |
| 1391 | MTK_EINT_FUNCTION(2, 110), |
| 1392 | MTK_FUNCTION(0, "GPIO137"), |
| 1393 | MTK_FUNCTION(1, "DPI0_G0"), |
| 1394 | MTK_FUNCTION(2, "EINT110"), |
| 1395 | MTK_FUNCTION(5, "DSP1_ID") |
| 1396 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1397 | MTK_PIN(PINCTRL_PIN(138, "DPIG2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1398 | NULL, "mt8135", |
| 1399 | MTK_EINT_FUNCTION(2, 112), |
| 1400 | MTK_FUNCTION(0, "GPIO138"), |
| 1401 | MTK_FUNCTION(1, "DPI0_G2"), |
| 1402 | MTK_FUNCTION(2, "EINT112"), |
| 1403 | MTK_FUNCTION(5, "DSP1_IMS") |
| 1404 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1405 | MTK_PIN(PINCTRL_PIN(139, "DPIG3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1406 | NULL, "mt8135", |
| 1407 | MTK_EINT_FUNCTION(2, 113), |
| 1408 | MTK_FUNCTION(0, "GPIO139"), |
| 1409 | MTK_FUNCTION(1, "DPI0_G3"), |
| 1410 | MTK_FUNCTION(2, "EINT113"), |
| 1411 | MTK_FUNCTION(5, "DSP2_IMS") |
| 1412 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1413 | MTK_PIN(PINCTRL_PIN(140, "DPIG6"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1414 | NULL, "mt8135", |
| 1415 | MTK_EINT_FUNCTION(2, 116), |
| 1416 | MTK_FUNCTION(0, "GPIO140"), |
| 1417 | MTK_FUNCTION(1, "DPI0_G6"), |
| 1418 | MTK_FUNCTION(2, "EINT116"), |
| 1419 | MTK_FUNCTION(4, "CM2DAT_2X[2]") |
| 1420 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1421 | MTK_PIN(PINCTRL_PIN(141, "DPIG7"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1422 | NULL, "mt8135", |
| 1423 | MTK_EINT_FUNCTION(2, 117), |
| 1424 | MTK_FUNCTION(0, "GPIO141"), |
| 1425 | MTK_FUNCTION(1, "DPI0_G7"), |
| 1426 | MTK_FUNCTION(2, "EINT117"), |
| 1427 | MTK_FUNCTION(4, "CM2DAT_2X[3]") |
| 1428 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1429 | MTK_PIN(PINCTRL_PIN(142, "DPIR0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1430 | NULL, "mt8135", |
| 1431 | MTK_EINT_FUNCTION(2, 118), |
| 1432 | MTK_FUNCTION(0, "GPIO142"), |
| 1433 | MTK_FUNCTION(1, "DPI0_R0"), |
| 1434 | MTK_FUNCTION(2, "EINT118"), |
| 1435 | MTK_FUNCTION(4, "CM2DAT_2X[4]") |
| 1436 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1437 | MTK_PIN(PINCTRL_PIN(143, "DPIR1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1438 | NULL, "mt8135", |
| 1439 | MTK_EINT_FUNCTION(2, 119), |
| 1440 | MTK_FUNCTION(0, "GPIO143"), |
| 1441 | MTK_FUNCTION(1, "DPI0_R1"), |
| 1442 | MTK_FUNCTION(2, "EINT119"), |
| 1443 | MTK_FUNCTION(4, "CM2DAT_2X[5]") |
| 1444 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1445 | MTK_PIN(PINCTRL_PIN(144, "DPIR2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1446 | NULL, "mt8135", |
| 1447 | MTK_EINT_FUNCTION(2, 120), |
| 1448 | MTK_FUNCTION(0, "GPIO144"), |
| 1449 | MTK_FUNCTION(1, "DPI0_R2"), |
| 1450 | MTK_FUNCTION(2, "EINT120"), |
| 1451 | MTK_FUNCTION(4, "CM2DAT_2X[6]") |
| 1452 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1453 | MTK_PIN(PINCTRL_PIN(145, "DPIR4"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1454 | NULL, "mt8135", |
| 1455 | MTK_EINT_FUNCTION(2, 122), |
| 1456 | MTK_FUNCTION(0, "GPIO145"), |
| 1457 | MTK_FUNCTION(1, "DPI0_R4"), |
| 1458 | MTK_FUNCTION(2, "EINT122"), |
| 1459 | MTK_FUNCTION(4, "CM2DAT_2X[8]") |
| 1460 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1461 | MTK_PIN(PINCTRL_PIN(146, "DPIR5"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1462 | NULL, "mt8135", |
| 1463 | MTK_EINT_FUNCTION(2, 123), |
| 1464 | MTK_FUNCTION(0, "GPIO146"), |
| 1465 | MTK_FUNCTION(1, "DPI0_R5"), |
| 1466 | MTK_FUNCTION(2, "EINT123"), |
| 1467 | MTK_FUNCTION(4, "CM2DAT_2X[9]") |
| 1468 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1469 | MTK_PIN(PINCTRL_PIN(147, "DPIR6"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1470 | NULL, "mt8135", |
| 1471 | MTK_EINT_FUNCTION(2, 124), |
| 1472 | MTK_FUNCTION(0, "GPIO147"), |
| 1473 | MTK_FUNCTION(1, "DPI0_R6"), |
| 1474 | MTK_FUNCTION(2, "EINT124"), |
| 1475 | MTK_FUNCTION(4, "CM2VSYNC_2X") |
| 1476 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1477 | MTK_PIN(PINCTRL_PIN(148, "DPIR7"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1478 | NULL, "mt8135", |
| 1479 | MTK_EINT_FUNCTION(2, 125), |
| 1480 | MTK_FUNCTION(0, "GPIO148"), |
| 1481 | MTK_FUNCTION(1, "DPI0_R7"), |
| 1482 | MTK_FUNCTION(2, "EINT125"), |
| 1483 | MTK_FUNCTION(4, "CM2HSYNC_2X") |
| 1484 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1485 | MTK_PIN(PINCTRL_PIN(149, "TDN3/LVDS(TDN3)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1486 | "AA2", "mt8135", |
| 1487 | MTK_EINT_FUNCTION(2, 36), |
| 1488 | MTK_FUNCTION(0, "GPIO149"), |
| 1489 | MTK_FUNCTION(2, "EINT36") |
| 1490 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1491 | MTK_PIN(PINCTRL_PIN(150, "TDP3/LVDS(TDP3)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1492 | "AA1", "mt8135", |
| 1493 | MTK_EINT_FUNCTION(2, 35), |
| 1494 | MTK_FUNCTION(0, "GPIO150"), |
| 1495 | MTK_FUNCTION(2, "EINT35") |
| 1496 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1497 | MTK_PIN(PINCTRL_PIN(151, "TDN2/LVDS(TCN)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1498 | "Y2", "mt8135", |
| 1499 | MTK_EINT_FUNCTION(2, 169), |
| 1500 | MTK_FUNCTION(0, "GPIO151"), |
| 1501 | MTK_FUNCTION(2, "EINT169") |
| 1502 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1503 | MTK_PIN(PINCTRL_PIN(152, "TDP2/LVDS(TCP)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1504 | "Y1", "mt8135", |
| 1505 | MTK_EINT_FUNCTION(2, 168), |
| 1506 | MTK_FUNCTION(0, "GPIO152"), |
| 1507 | MTK_FUNCTION(2, "EINT168") |
| 1508 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1509 | MTK_PIN(PINCTRL_PIN(153, "TCN/LVDS(TDN2)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1510 | "W2", "mt8135", |
| 1511 | MTK_EINT_FUNCTION(2, 163), |
| 1512 | MTK_FUNCTION(0, "GPIO153"), |
| 1513 | MTK_FUNCTION(2, "EINT163") |
| 1514 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1515 | MTK_PIN(PINCTRL_PIN(154, "TCP/LVDS(TDP2)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1516 | "W1", "mt8135", |
| 1517 | MTK_EINT_FUNCTION(2, 162), |
| 1518 | MTK_FUNCTION(0, "GPIO154"), |
| 1519 | MTK_FUNCTION(2, "EINT162") |
| 1520 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1521 | MTK_PIN(PINCTRL_PIN(155, "TDN1/LVDS(TDN1)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1522 | "V3", "mt8135", |
| 1523 | MTK_EINT_FUNCTION(2, 167), |
| 1524 | MTK_FUNCTION(0, "GPIO155"), |
| 1525 | MTK_FUNCTION(2, "EINT167") |
| 1526 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1527 | MTK_PIN(PINCTRL_PIN(156, "TDP1/LVDS(TDP1)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1528 | "V2", "mt8135", |
| 1529 | MTK_EINT_FUNCTION(2, 166), |
| 1530 | MTK_FUNCTION(0, "GPIO156"), |
| 1531 | MTK_FUNCTION(2, "EINT166") |
| 1532 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1533 | MTK_PIN(PINCTRL_PIN(157, "TDN0/LVDS(TDN0)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1534 | "U3", "mt8135", |
| 1535 | MTK_EINT_FUNCTION(2, 165), |
| 1536 | MTK_FUNCTION(0, "GPIO157"), |
| 1537 | MTK_FUNCTION(2, "EINT165") |
| 1538 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1539 | MTK_PIN(PINCTRL_PIN(158, "TDP0/LVDS(TDP0)"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1540 | "U2", "mt8135", |
| 1541 | MTK_EINT_FUNCTION(2, 164), |
| 1542 | MTK_FUNCTION(0, "GPIO158"), |
| 1543 | MTK_FUNCTION(2, "EINT164") |
| 1544 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1545 | MTK_PIN(PINCTRL_PIN(159, "RDN3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1546 | "N5", "mt8135", |
| 1547 | MTK_EINT_FUNCTION(2, 18), |
| 1548 | MTK_FUNCTION(0, "GPIO159"), |
| 1549 | MTK_FUNCTION(2, "EINT18") |
| 1550 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1551 | MTK_PIN(PINCTRL_PIN(160, "RDP3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1552 | "N4", "mt8135", |
| 1553 | MTK_EINT_FUNCTION(2, 30), |
| 1554 | MTK_FUNCTION(0, "GPIO160"), |
| 1555 | MTK_FUNCTION(2, "EINT30") |
| 1556 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1557 | MTK_PIN(PINCTRL_PIN(161, "RDN2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1558 | "T2", "mt8135", |
| 1559 | MTK_EINT_FUNCTION(2, 31), |
| 1560 | MTK_FUNCTION(0, "GPIO161"), |
| 1561 | MTK_FUNCTION(2, "EINT31") |
| 1562 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1563 | MTK_PIN(PINCTRL_PIN(162, "RDP2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1564 | "T3", "mt8135", |
| 1565 | MTK_EINT_FUNCTION(2, 32), |
| 1566 | MTK_FUNCTION(0, "GPIO162"), |
| 1567 | MTK_FUNCTION(2, "EINT32") |
| 1568 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1569 | MTK_PIN(PINCTRL_PIN(163, "RCN"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1570 | "P2", "mt8135", |
| 1571 | MTK_EINT_FUNCTION(2, 33), |
| 1572 | MTK_FUNCTION(0, "GPIO163"), |
| 1573 | MTK_FUNCTION(2, "EINT33") |
| 1574 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1575 | MTK_PIN(PINCTRL_PIN(164, "RCP"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1576 | "P3", "mt8135", |
| 1577 | MTK_EINT_FUNCTION(2, 39), |
| 1578 | MTK_FUNCTION(0, "GPIO164"), |
| 1579 | MTK_FUNCTION(2, "EINT39") |
| 1580 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1581 | MTK_PIN(PINCTRL_PIN(165, "RDN1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1582 | "R3", "mt8135", |
| 1583 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1584 | MTK_FUNCTION(0, "GPIO165") |
| 1585 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1586 | MTK_PIN(PINCTRL_PIN(166, "RDP1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1587 | "R2", "mt8135", |
| 1588 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1589 | MTK_FUNCTION(0, "GPIO166") |
| 1590 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1591 | MTK_PIN(PINCTRL_PIN(167, "RDN0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1592 | "N3", "mt8135", |
| 1593 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1594 | MTK_FUNCTION(0, "GPIO167") |
| 1595 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1596 | MTK_PIN(PINCTRL_PIN(168, "RDP0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1597 | "N2", "mt8135", |
| 1598 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1599 | MTK_FUNCTION(0, "GPIO168") |
| 1600 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1601 | MTK_PIN(PINCTRL_PIN(169, "RDN1_A"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1602 | "M4", "mt8135", |
| 1603 | MTK_EINT_FUNCTION(2, 175), |
| 1604 | MTK_FUNCTION(0, "GPIO169"), |
| 1605 | MTK_FUNCTION(1, "CMDAT6"), |
| 1606 | MTK_FUNCTION(2, "EINT175") |
| 1607 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1608 | MTK_PIN(PINCTRL_PIN(170, "RDP1_A"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1609 | "M3", "mt8135", |
| 1610 | MTK_EINT_FUNCTION(2, 174), |
| 1611 | MTK_FUNCTION(0, "GPIO170"), |
| 1612 | MTK_FUNCTION(1, "CMDAT7"), |
| 1613 | MTK_FUNCTION(2, "EINT174") |
| 1614 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1615 | MTK_PIN(PINCTRL_PIN(171, "RCN_A"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1616 | "L3", "mt8135", |
| 1617 | MTK_EINT_FUNCTION(2, 171), |
| 1618 | MTK_FUNCTION(0, "GPIO171"), |
| 1619 | MTK_FUNCTION(1, "CMDAT8"), |
| 1620 | MTK_FUNCTION(2, "EINT171") |
| 1621 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1622 | MTK_PIN(PINCTRL_PIN(172, "RCP_A"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1623 | "L2", "mt8135", |
| 1624 | MTK_EINT_FUNCTION(2, 170), |
| 1625 | MTK_FUNCTION(0, "GPIO172"), |
| 1626 | MTK_FUNCTION(1, "CMDAT9"), |
| 1627 | MTK_FUNCTION(2, "EINT170") |
| 1628 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1629 | MTK_PIN(PINCTRL_PIN(173, "RDN0_A"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1630 | "M2", "mt8135", |
| 1631 | MTK_EINT_FUNCTION(2, 173), |
| 1632 | MTK_FUNCTION(0, "GPIO173"), |
| 1633 | MTK_FUNCTION(1, "CMHSYNC"), |
| 1634 | MTK_FUNCTION(2, "EINT173") |
| 1635 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1636 | MTK_PIN(PINCTRL_PIN(174, "RDP0_A"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1637 | "M1", "mt8135", |
| 1638 | MTK_EINT_FUNCTION(2, 172), |
| 1639 | MTK_FUNCTION(0, "GPIO174"), |
| 1640 | MTK_FUNCTION(1, "CMVSYNC"), |
| 1641 | MTK_FUNCTION(2, "EINT172") |
| 1642 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1643 | MTK_PIN(PINCTRL_PIN(175, "RDN1_B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1644 | "H2", "mt8135", |
| 1645 | MTK_EINT_FUNCTION(2, 181), |
| 1646 | MTK_FUNCTION(0, "GPIO175"), |
| 1647 | MTK_FUNCTION(1, "CMDAT2"), |
| 1648 | MTK_FUNCTION(2, "EINT181"), |
| 1649 | MTK_FUNCTION(3, "CMCSD2") |
| 1650 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1651 | MTK_PIN(PINCTRL_PIN(176, "RDP1_B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1652 | "H1", "mt8135", |
| 1653 | MTK_EINT_FUNCTION(2, 180), |
| 1654 | MTK_FUNCTION(0, "GPIO176"), |
| 1655 | MTK_FUNCTION(1, "CMDAT3"), |
| 1656 | MTK_FUNCTION(2, "EINT180"), |
| 1657 | MTK_FUNCTION(3, "CMCSD3") |
| 1658 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1659 | MTK_PIN(PINCTRL_PIN(177, "RCN_B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1660 | "K3", "mt8135", |
| 1661 | MTK_EINT_FUNCTION(2, 177), |
| 1662 | MTK_FUNCTION(0, "GPIO177"), |
| 1663 | MTK_FUNCTION(1, "CMDAT4"), |
| 1664 | MTK_FUNCTION(2, "EINT177") |
| 1665 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1666 | MTK_PIN(PINCTRL_PIN(178, "RCP_B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1667 | "K2", "mt8135", |
| 1668 | MTK_EINT_FUNCTION(2, 176), |
| 1669 | MTK_FUNCTION(0, "GPIO178"), |
| 1670 | MTK_FUNCTION(1, "CMDAT5"), |
| 1671 | MTK_FUNCTION(2, "EINT176") |
| 1672 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1673 | MTK_PIN(PINCTRL_PIN(179, "RDN0_B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1674 | "J3", "mt8135", |
| 1675 | MTK_EINT_FUNCTION(2, 179), |
| 1676 | MTK_FUNCTION(0, "GPIO179"), |
| 1677 | MTK_FUNCTION(1, "CMDAT0"), |
| 1678 | MTK_FUNCTION(2, "EINT179"), |
| 1679 | MTK_FUNCTION(3, "CMCSD0") |
| 1680 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1681 | MTK_PIN(PINCTRL_PIN(180, "RDP0_B"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1682 | "J2", "mt8135", |
| 1683 | MTK_EINT_FUNCTION(2, 178), |
| 1684 | MTK_FUNCTION(0, "GPIO180"), |
| 1685 | MTK_FUNCTION(1, "CMDAT1"), |
| 1686 | MTK_FUNCTION(2, "EINT178"), |
| 1687 | MTK_FUNCTION(3, "CMCSD1") |
| 1688 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1689 | MTK_PIN(PINCTRL_PIN(181, "CMPCLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1690 | "K4", "mt8135", |
| 1691 | MTK_EINT_FUNCTION(2, 182), |
| 1692 | MTK_FUNCTION(0, "GPIO181"), |
| 1693 | MTK_FUNCTION(1, "CMPCLK"), |
| 1694 | MTK_FUNCTION(2, "EINT182"), |
| 1695 | MTK_FUNCTION(3, "CMCSK"), |
| 1696 | MTK_FUNCTION(4, "CM2MCLK_4X"), |
| 1697 | MTK_FUNCTION(5, "TS_AUXADC_SEL[3]"), |
| 1698 | MTK_FUNCTION(6, "VENC_TEST_CK"), |
| 1699 | MTK_FUNCTION(7, "TESTA_OUT27") |
| 1700 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1701 | MTK_PIN(PINCTRL_PIN(182, "CMMCLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1702 | "J5", "mt8135", |
| 1703 | MTK_EINT_FUNCTION(2, 183), |
| 1704 | MTK_FUNCTION(0, "GPIO182"), |
| 1705 | MTK_FUNCTION(1, "CMMCLK"), |
| 1706 | MTK_FUNCTION(2, "EINT183"), |
| 1707 | MTK_FUNCTION(5, "TS_AUXADC_SEL[2]"), |
| 1708 | MTK_FUNCTION(7, "TESTA_OUT28") |
| 1709 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1710 | MTK_PIN(PINCTRL_PIN(183, "CMRST"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1711 | "J6", "mt8135", |
| 1712 | MTK_EINT_FUNCTION(2, 185), |
| 1713 | MTK_FUNCTION(0, "GPIO183"), |
| 1714 | MTK_FUNCTION(1, "CMRST"), |
| 1715 | MTK_FUNCTION(2, "EINT185"), |
| 1716 | MTK_FUNCTION(5, "TS_AUXADC_SEL[1]"), |
| 1717 | MTK_FUNCTION(7, "TESTA_OUT30") |
| 1718 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1719 | MTK_PIN(PINCTRL_PIN(184, "CMPDN"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1720 | "J4", "mt8135", |
| 1721 | MTK_EINT_FUNCTION(2, 184), |
| 1722 | MTK_FUNCTION(0, "GPIO184"), |
| 1723 | MTK_FUNCTION(1, "CMPDN"), |
| 1724 | MTK_FUNCTION(2, "EINT184"), |
| 1725 | MTK_FUNCTION(5, "TS_AUXADC_SEL[0]"), |
| 1726 | MTK_FUNCTION(7, "TESTA_OUT29") |
| 1727 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1728 | MTK_PIN(PINCTRL_PIN(185, "CMFLASH"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1729 | "G4", "mt8135", |
| 1730 | MTK_EINT_FUNCTION(2, 186), |
| 1731 | MTK_FUNCTION(0, "GPIO185"), |
| 1732 | MTK_FUNCTION(1, "CMFLASH"), |
| 1733 | MTK_FUNCTION(2, "EINT186"), |
| 1734 | MTK_FUNCTION(3, "CM2MCLK_3X"), |
| 1735 | MTK_FUNCTION(6, "MFG_TEST_CK_1"), |
| 1736 | MTK_FUNCTION(7, "TESTA_OUT31") |
| 1737 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1738 | MTK_PIN(PINCTRL_PIN(186, "MRG_I2S_PCM_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1739 | "F5", "mt8135", |
| 1740 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1741 | MTK_FUNCTION(0, "GPIO186"), |
| 1742 | MTK_FUNCTION(1, "MRG_I2S_PCM_CLK"), |
| 1743 | MTK_FUNCTION(3, "I2SIN_CK"), |
| 1744 | MTK_FUNCTION(4, "PCM0_CK"), |
| 1745 | MTK_FUNCTION(5, "DSP2_ICK"), |
| 1746 | MTK_FUNCTION(6, "IMG_TEST_CK"), |
| 1747 | MTK_FUNCTION(7, "USB_SCL") |
| 1748 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1749 | MTK_PIN(PINCTRL_PIN(187, "MRG_I2S_PCM_SYNC"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1750 | "G6", "mt8135", |
| 1751 | MTK_EINT_FUNCTION(2, 16), |
| 1752 | MTK_FUNCTION(0, "GPIO187"), |
| 1753 | MTK_FUNCTION(1, "MRG_I2S_PCM_SYNC"), |
| 1754 | MTK_FUNCTION(2, "EINT16"), |
| 1755 | MTK_FUNCTION(3, "I2SIN_WS"), |
| 1756 | MTK_FUNCTION(4, "PCM0_WS"), |
| 1757 | MTK_FUNCTION(6, "DISP_TEST_CK") |
| 1758 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1759 | MTK_PIN(PINCTRL_PIN(188, "MRG_I2S_PCM_RX"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1760 | "G3", "mt8135", |
| 1761 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1762 | MTK_FUNCTION(0, "GPIO188"), |
| 1763 | MTK_FUNCTION(1, "MRG_I2S_PCM_RX"), |
| 1764 | MTK_FUNCTION(3, "I2SIN_DAT"), |
| 1765 | MTK_FUNCTION(4, "PCM0_DI"), |
| 1766 | MTK_FUNCTION(5, "DSP2_ID"), |
| 1767 | MTK_FUNCTION(6, "MFG_TEST_CK"), |
| 1768 | MTK_FUNCTION(7, "USB_SDA") |
| 1769 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1770 | MTK_PIN(PINCTRL_PIN(189, "MRG_I2S_PCM_TX"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1771 | "G5", "mt8135", |
| 1772 | MTK_EINT_FUNCTION(2, 17), |
| 1773 | MTK_FUNCTION(0, "GPIO189"), |
| 1774 | MTK_FUNCTION(1, "MRG_I2S_PCM_TX"), |
| 1775 | MTK_FUNCTION(2, "EINT17"), |
| 1776 | MTK_FUNCTION(3, "I2SOUT_DAT"), |
| 1777 | MTK_FUNCTION(4, "PCM0_DO"), |
| 1778 | MTK_FUNCTION(6, "VDEC_TEST_CK") |
| 1779 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1780 | MTK_PIN(PINCTRL_PIN(190, "SRCLKENAI"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1781 | "K5", "mt8135", |
| 1782 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1783 | MTK_FUNCTION(0, "GPIO190"), |
| 1784 | MTK_FUNCTION(1, "SRCLKENAI") |
| 1785 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1786 | MTK_PIN(PINCTRL_PIN(191, "URXD3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1787 | "C3", "mt8135", |
| 1788 | MTK_EINT_FUNCTION(2, 87), |
| 1789 | MTK_FUNCTION(0, "GPIO191"), |
| 1790 | MTK_FUNCTION(1, "URXD3"), |
| 1791 | MTK_FUNCTION(2, "EINT87"), |
| 1792 | MTK_FUNCTION(3, "UTXD3"), |
| 1793 | MTK_FUNCTION(5, "TS_AUX_ST"), |
| 1794 | MTK_FUNCTION(6, "PWM4") |
| 1795 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1796 | MTK_PIN(PINCTRL_PIN(192, "UTXD3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1797 | "B2", "mt8135", |
| 1798 | MTK_EINT_FUNCTION(2, 86), |
| 1799 | MTK_FUNCTION(0, "GPIO192"), |
| 1800 | MTK_FUNCTION(1, "UTXD3"), |
| 1801 | MTK_FUNCTION(2, "EINT86"), |
| 1802 | MTK_FUNCTION(3, "URXD3"), |
| 1803 | MTK_FUNCTION(5, "TS_AUX_CS_B"), |
| 1804 | MTK_FUNCTION(6, "PWM3") |
| 1805 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1806 | MTK_PIN(PINCTRL_PIN(193, "SDA2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1807 | "G2", "mt8135", |
| 1808 | MTK_EINT_FUNCTION(2, 95), |
| 1809 | MTK_FUNCTION(0, "GPIO193"), |
| 1810 | MTK_FUNCTION(1, "SDA2"), |
| 1811 | MTK_FUNCTION(2, "EINT95"), |
| 1812 | MTK_FUNCTION(3, "CLKM5"), |
| 1813 | MTK_FUNCTION(4, "PWM5"), |
| 1814 | MTK_FUNCTION(5, "TS_AUX_PWDB") |
| 1815 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1816 | MTK_PIN(PINCTRL_PIN(194, "SCL2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1817 | "F4", "mt8135", |
| 1818 | MTK_EINT_FUNCTION(2, 94), |
| 1819 | MTK_FUNCTION(0, "GPIO194"), |
| 1820 | MTK_FUNCTION(1, "SCL2"), |
| 1821 | MTK_FUNCTION(2, "EINT94"), |
| 1822 | MTK_FUNCTION(3, "CLKM4"), |
| 1823 | MTK_FUNCTION(4, "PWM4"), |
| 1824 | MTK_FUNCTION(5, "TS_AUXADC_TEST_CK") |
| 1825 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1826 | MTK_PIN(PINCTRL_PIN(195, "SDA1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1827 | "F2", "mt8135", |
| 1828 | MTK_EINT_FUNCTION(2, 93), |
| 1829 | MTK_FUNCTION(0, "GPIO195"), |
| 1830 | MTK_FUNCTION(1, "SDA1"), |
| 1831 | MTK_FUNCTION(2, "EINT93"), |
| 1832 | MTK_FUNCTION(3, "CLKM3"), |
| 1833 | MTK_FUNCTION(4, "PWM3"), |
| 1834 | MTK_FUNCTION(5, "TS_AUX_SCLK_PWDB") |
| 1835 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1836 | MTK_PIN(PINCTRL_PIN(196, "SCL1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1837 | "F3", "mt8135", |
| 1838 | MTK_EINT_FUNCTION(2, 92), |
| 1839 | MTK_FUNCTION(0, "GPIO196"), |
| 1840 | MTK_FUNCTION(1, "SCL1"), |
| 1841 | MTK_FUNCTION(2, "EINT92"), |
| 1842 | MTK_FUNCTION(3, "CLKM2"), |
| 1843 | MTK_FUNCTION(4, "PWM2"), |
| 1844 | MTK_FUNCTION(5, "TS_AUX_DIN") |
| 1845 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1846 | MTK_PIN(PINCTRL_PIN(197, "MSDC3_DAT2"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1847 | "E1", "mt8135", |
| 1848 | MTK_EINT_FUNCTION(2, 71), |
| 1849 | MTK_FUNCTION(0, "GPIO197"), |
| 1850 | MTK_FUNCTION(1, "MSDC3_DAT2"), |
| 1851 | MTK_FUNCTION(2, "EINT71"), |
| 1852 | MTK_FUNCTION(3, "SCL6"), |
| 1853 | MTK_FUNCTION(4, "PWM5"), |
| 1854 | MTK_FUNCTION(5, "CLKM4"), |
| 1855 | MTK_FUNCTION(6, "MFG_TEST_CK_2") |
| 1856 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1857 | MTK_PIN(PINCTRL_PIN(198, "MSDC3_DAT3"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1858 | "C2", "mt8135", |
| 1859 | MTK_EINT_FUNCTION(2, 72), |
| 1860 | MTK_FUNCTION(0, "GPIO198"), |
| 1861 | MTK_FUNCTION(1, "MSDC3_DAT3"), |
| 1862 | MTK_FUNCTION(2, "EINT72"), |
| 1863 | MTK_FUNCTION(3, "SDA6"), |
| 1864 | MTK_FUNCTION(4, "PWM6"), |
| 1865 | MTK_FUNCTION(5, "CLKM5"), |
| 1866 | MTK_FUNCTION(6, "MFG_TEST_CK_3") |
| 1867 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1868 | MTK_PIN(PINCTRL_PIN(199, "MSDC3_CMD"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1869 | "D2", "mt8135", |
| 1870 | MTK_EINT_FUNCTION(2, 68), |
| 1871 | MTK_FUNCTION(0, "GPIO199"), |
| 1872 | MTK_FUNCTION(1, "MSDC3_CMD"), |
| 1873 | MTK_FUNCTION(2, "EINT68"), |
| 1874 | MTK_FUNCTION(3, "SDA2"), |
| 1875 | MTK_FUNCTION(4, "PWM2"), |
| 1876 | MTK_FUNCTION(5, "CLKM1"), |
| 1877 | MTK_FUNCTION(6, "MFG_TEST_CK_4") |
| 1878 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1879 | MTK_PIN(PINCTRL_PIN(200, "MSDC3_CLK"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1880 | "E2", "mt8135", |
| 1881 | MTK_EINT_FUNCTION(2, 67), |
| 1882 | MTK_FUNCTION(0, "GPIO200"), |
| 1883 | MTK_FUNCTION(1, "MSDC3_CLK"), |
| 1884 | MTK_FUNCTION(2, "EINT67"), |
| 1885 | MTK_FUNCTION(3, "SCL2"), |
| 1886 | MTK_FUNCTION(4, "PWM1"), |
| 1887 | MTK_FUNCTION(5, "CLKM0") |
| 1888 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1889 | MTK_PIN(PINCTRL_PIN(201, "MSDC3_DAT1"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1890 | "D3", "mt8135", |
| 1891 | MTK_EINT_FUNCTION(2, 70), |
| 1892 | MTK_FUNCTION(0, "GPIO201"), |
| 1893 | MTK_FUNCTION(1, "MSDC3_DAT1"), |
| 1894 | MTK_FUNCTION(2, "EINT70"), |
| 1895 | MTK_FUNCTION(3, "SDA3"), |
| 1896 | MTK_FUNCTION(4, "PWM4"), |
| 1897 | MTK_FUNCTION(5, "CLKM3") |
| 1898 | ), |
Zhiyong Tao | e6c462d | 2018-03-22 10:58:43 +0800 | [diff] [blame] | 1899 | MTK_PIN(PINCTRL_PIN(202, "MSDC3_DAT0"), |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 1900 | "E3", "mt8135", |
| 1901 | MTK_EINT_FUNCTION(2, 69), |
| 1902 | MTK_FUNCTION(0, "GPIO202"), |
| 1903 | MTK_FUNCTION(1, "MSDC3_DAT0"), |
| 1904 | MTK_FUNCTION(2, "EINT69"), |
| 1905 | MTK_FUNCTION(3, "SCL3"), |
| 1906 | MTK_FUNCTION(4, "PWM3"), |
| 1907 | MTK_FUNCTION(5, "CLKM2") |
| 1908 | ), |
| 1909 | }; |
| 1910 | |
| 1911 | #endif /* __PINCTRL_MTK_MT8135_H */ |