pinctrl-mtk-mt2701.h 56 KB

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