pinctrl-mtk-mt8135.h 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114
  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 */