pinctrl-mtk-mt8135.h 51 KB

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