12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324 |
- /*
- * Copyright (c) 2015 MediaTek Inc.
- * Author: Biao Huang <biao.huang@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
- #ifndef __PINCTRL_MTK_MT2701_H
- #define __PINCTRL_MTK_MT2701_H
- #include <linux/pinctrl/pinctrl.h>
- #include "pinctrl-mtk-common.h"
- static const struct mtk_desc_pin mtk_pins_mt2701[] = {
- MTK_PIN(
- PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 148),
- MTK_FUNCTION(0, "GPIO0"),
- MTK_FUNCTION(1, "PWRAP_SPIDO"),
- MTK_FUNCTION(2, "PWRAP_SPIDI")
- ),
- MTK_PIN(
- PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 149),
- MTK_FUNCTION(0, "GPIO1"),
- MTK_FUNCTION(1, "PWRAP_SPIDI"),
- MTK_FUNCTION(2, "PWRAP_SPIDO")
- ),
- MTK_PIN(
- PINCTRL_PIN(2, "PWRAP_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 150),
- MTK_FUNCTION(0, "GPIO2"),
- MTK_FUNCTION(1, "PWRAP_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 151),
- MTK_FUNCTION(0, "GPIO3"),
- MTK_FUNCTION(1, "PWRAP_SPICK_I")
- ),
- MTK_PIN(
- PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 152),
- MTK_FUNCTION(0, "GPIO4"),
- MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
- ),
- MTK_PIN(
- PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 153),
- MTK_FUNCTION(0, "GPIO5"),
- MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
- MTK_FUNCTION(5, "ANT_SEL1")
- ),
- MTK_PIN(
- PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 154),
- MTK_FUNCTION(0, "GPIO6"),
- MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
- MTK_FUNCTION(5, "ANT_SEL0"),
- MTK_FUNCTION(7, "DBG_MON_A[0]")
- ),
- MTK_PIN(
- PINCTRL_PIN(7, "SPI1_CSN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 155),
- MTK_FUNCTION(0, "GPIO7"),
- MTK_FUNCTION(1, "SPI1_CS"),
- MTK_FUNCTION(4, "KCOL0"),
- MTK_FUNCTION(7, "DBG_MON_B[12]")
- ),
- MTK_PIN(
- PINCTRL_PIN(8, "SPI1_MI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 156),
- MTK_FUNCTION(0, "GPIO8"),
- MTK_FUNCTION(1, "SPI1_MI"),
- MTK_FUNCTION(2, "SPI1_MO"),
- MTK_FUNCTION(4, "KCOL1"),
- MTK_FUNCTION(7, "DBG_MON_B[13]")
- ),
- MTK_PIN(
- PINCTRL_PIN(9, "SPI1_MO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 157),
- MTK_FUNCTION(0, "GPIO9"),
- MTK_FUNCTION(1, "SPI1_MO"),
- MTK_FUNCTION(2, "SPI1_MI"),
- MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(4, "KCOL2"),
- MTK_FUNCTION(7, "DBG_MON_B[14]")
- ),
- MTK_PIN(
- PINCTRL_PIN(10, "RTC32K_CK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 158),
- MTK_FUNCTION(0, "GPIO10"),
- MTK_FUNCTION(1, "RTC32K_CK")
- ),
- MTK_PIN(
- PINCTRL_PIN(11, "WATCHDOG"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 159),
- MTK_FUNCTION(0, "GPIO11"),
- MTK_FUNCTION(1, "WATCHDOG")
- ),
- MTK_PIN(
- PINCTRL_PIN(12, "SRCLKENA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 160),
- MTK_FUNCTION(0, "GPIO12"),
- MTK_FUNCTION(1, "SRCLKENA")
- ),
- MTK_PIN(
- PINCTRL_PIN(13, "SRCLKENAI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 161),
- MTK_FUNCTION(0, "GPIO13"),
- MTK_FUNCTION(1, "SRCLKENAI")
- ),
- MTK_PIN(
- PINCTRL_PIN(14, "URXD2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 162),
- MTK_FUNCTION(0, "GPIO14"),
- MTK_FUNCTION(1, "URXD2"),
- MTK_FUNCTION(2, "UTXD2"),
- MTK_FUNCTION(5, "SRCCLKENAI2"),
- MTK_FUNCTION(7, "DBG_MON_B[30]")
- ),
- MTK_PIN(
- PINCTRL_PIN(15, "UTXD2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 163),
- MTK_FUNCTION(0, "GPIO15"),
- MTK_FUNCTION(1, "UTXD2"),
- MTK_FUNCTION(2, "URXD2"),
- MTK_FUNCTION(7, "DBG_MON_B[31]")
- ),
- MTK_PIN(
- PINCTRL_PIN(16, "I2S5_DATA_IN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 164),
- MTK_FUNCTION(0, "GPIO16"),
- MTK_FUNCTION(1, "I2S5_DATA_IN"),
- MTK_FUNCTION(3, "PCM_RX"),
- MTK_FUNCTION(4, "ANT_SEL4")
- ),
- MTK_PIN(
- PINCTRL_PIN(17, "I2S5_BCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 165),
- MTK_FUNCTION(0, "GPIO17"),
- MTK_FUNCTION(1, "I2S5_BCK"),
- MTK_FUNCTION(3, "PCM_CLK0"),
- MTK_FUNCTION(4, "ANT_SEL2")
- ),
- MTK_PIN(
- PINCTRL_PIN(18, "PCM_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 166),
- MTK_FUNCTION(0, "GPIO18"),
- MTK_FUNCTION(1, "PCM_CLK0"),
- MTK_FUNCTION(2, "MRG_CLK"),
- MTK_FUNCTION(4, "MM_TEST_CK"),
- MTK_FUNCTION(5, "CONN_DSP_JCK"),
- MTK_FUNCTION(6, "WCN_PCM_CLKO"),
- MTK_FUNCTION(7, "DBG_MON_A[3]")
- ),
- MTK_PIN(
- PINCTRL_PIN(19, "PCM_SYNC"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 167),
- MTK_FUNCTION(0, "GPIO19"),
- MTK_FUNCTION(1, "PCM_SYNC"),
- MTK_FUNCTION(2, "MRG_SYNC"),
- MTK_FUNCTION(5, "CONN_DSP_JINTP"),
- MTK_FUNCTION(6, "WCN_PCM_SYNC"),
- MTK_FUNCTION(7, "DBG_MON_A[5]")
- ),
- MTK_PIN(
- PINCTRL_PIN(20, "PCM_RX"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO20"),
- MTK_FUNCTION(1, "PCM_RX"),
- MTK_FUNCTION(2, "MRG_RX"),
- MTK_FUNCTION(3, "MRG_TX"),
- MTK_FUNCTION(4, "PCM_TX"),
- MTK_FUNCTION(5, "CONN_DSP_JDI"),
- MTK_FUNCTION(6, "WCN_PCM_RX"),
- MTK_FUNCTION(7, "DBG_MON_A[4]")
- ),
- MTK_PIN(
- PINCTRL_PIN(21, "PCM_TX"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO21"),
- MTK_FUNCTION(1, "PCM_TX"),
- MTK_FUNCTION(2, "MRG_TX"),
- MTK_FUNCTION(3, "MRG_RX"),
- MTK_FUNCTION(4, "PCM_RX"),
- MTK_FUNCTION(5, "CONN_DSP_JMS"),
- MTK_FUNCTION(6, "WCN_PCM_TX"),
- MTK_FUNCTION(7, "DBG_MON_A[2]")
- ),
- MTK_PIN(
- PINCTRL_PIN(22, "EINT0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 0),
- MTK_FUNCTION(0, "GPIO22"),
- MTK_FUNCTION(1, "UCTS0"),
- MTK_FUNCTION(3, "KCOL3"),
- MTK_FUNCTION(4, "CONN_DSP_JDO"),
- MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(7, "DBG_MON_A[30]"),
- MTK_FUNCTION(10, "PCIE0_PERST_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(23, "EINT1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 1),
- MTK_FUNCTION(0, "GPIO23"),
- MTK_FUNCTION(1, "URTS0"),
- MTK_FUNCTION(3, "KCOL2"),
- MTK_FUNCTION(4, "CONN_MCU_TDO"),
- MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(7, "DBG_MON_A[29]"),
- MTK_FUNCTION(10, "PCIE1_PERST_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(24, "EINT2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 2),
- MTK_FUNCTION(0, "GPIO24"),
- MTK_FUNCTION(1, "UCTS1"),
- MTK_FUNCTION(3, "KCOL1"),
- MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"),
- MTK_FUNCTION(7, "DBG_MON_A[28]"),
- MTK_FUNCTION(10, "PCIE2_PERST_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(25, "EINT3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 3),
- MTK_FUNCTION(0, "GPIO25"),
- MTK_FUNCTION(1, "URTS1"),
- MTK_FUNCTION(3, "KCOL0"),
- MTK_FUNCTION(4, "CONN_MCU_DBGI_N"),
- MTK_FUNCTION(7, "DBG_MON_A[27]")
- ),
- MTK_PIN(
- PINCTRL_PIN(26, "EINT4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 4),
- MTK_FUNCTION(0, "GPIO26"),
- MTK_FUNCTION(1, "UCTS3"),
- MTK_FUNCTION(2, "DRV_VBUS_P1"),
- MTK_FUNCTION(3, "KROW3"),
- MTK_FUNCTION(4, "CONN_MCU_TCK0"),
- MTK_FUNCTION(5, "CONN_MCU_AICE_JCKC"),
- MTK_FUNCTION(6, "PCIE2_WAKE_N"),
- MTK_FUNCTION(7, "DBG_MON_A[26]")
- ),
- MTK_PIN(
- PINCTRL_PIN(27, "EINT5"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 5),
- MTK_FUNCTION(0, "GPIO27"),
- MTK_FUNCTION(1, "URTS3"),
- MTK_FUNCTION(2, "IDDIG_P1"),
- MTK_FUNCTION(3, "KROW2"),
- MTK_FUNCTION(4, "CONN_MCU_TDI"),
- MTK_FUNCTION(6, "PCIE1_WAKE_N"),
- MTK_FUNCTION(7, "DBG_MON_A[25]")
- ),
- MTK_PIN(
- PINCTRL_PIN(28, "EINT6"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 6),
- MTK_FUNCTION(0, "GPIO28"),
- MTK_FUNCTION(1, "DRV_VBUS"),
- MTK_FUNCTION(3, "KROW1"),
- MTK_FUNCTION(4, "CONN_MCU_TRST_B"),
- MTK_FUNCTION(6, "PCIE0_WAKE_N"),
- MTK_FUNCTION(7, "DBG_MON_A[24]")
- ),
- MTK_PIN(
- PINCTRL_PIN(29, "EINT7"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 7),
- MTK_FUNCTION(0, "GPIO29"),
- MTK_FUNCTION(1, "IDDIG"),
- MTK_FUNCTION(2, "MSDC1_WP"),
- MTK_FUNCTION(3, "KROW0"),
- MTK_FUNCTION(4, "CONN_MCU_TMS"),
- MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"),
- MTK_FUNCTION(7, "DBG_MON_A[23]"),
- MTK_FUNCTION(14, "PCIE2_PERST_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(30, "I2S5_LRCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 12),
- MTK_FUNCTION(0, "GPIO30"),
- MTK_FUNCTION(1, "I2S5_LRCK"),
- MTK_FUNCTION(3, "PCM_SYNC"),
- MTK_FUNCTION(4, "ANT_SEL1")
- ),
- MTK_PIN(
- PINCTRL_PIN(31, "I2S5_MCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 13),
- MTK_FUNCTION(0, "GPIO31"),
- MTK_FUNCTION(1, "I2S5_MCLK"),
- MTK_FUNCTION(4, "ANT_SEL0")
- ),
- MTK_PIN(
- PINCTRL_PIN(32, "I2S5_DATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 14),
- MTK_FUNCTION(0, "GPIO32"),
- MTK_FUNCTION(1, "I2S5_DATA"),
- MTK_FUNCTION(2, "I2S5_DATA_BYPS"),
- MTK_FUNCTION(3, "PCM_TX"),
- MTK_FUNCTION(4, "ANT_SEL3")
- ),
- MTK_PIN(
- PINCTRL_PIN(33, "I2S1_DATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 15),
- MTK_FUNCTION(0, "GPIO33"),
- MTK_FUNCTION(1, "I2S1_DATA"),
- MTK_FUNCTION(2, "I2S1_DATA_BYPS"),
- MTK_FUNCTION(3, "PCM_TX"),
- MTK_FUNCTION(4, "IMG_TEST_CK"),
- MTK_FUNCTION(5, "G1_RXD0"),
- MTK_FUNCTION(6, "WCN_PCM_TX"),
- MTK_FUNCTION(7, "DBG_MON_B[8]")
- ),
- MTK_PIN(
- PINCTRL_PIN(34, "I2S1_DATA_IN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 16),
- MTK_FUNCTION(0, "GPIO34"),
- MTK_FUNCTION(1, "I2S1_DATA_IN"),
- MTK_FUNCTION(3, "PCM_RX"),
- MTK_FUNCTION(4, "VDEC_TEST_CK"),
- MTK_FUNCTION(5, "G1_RXD1"),
- MTK_FUNCTION(6, "WCN_PCM_RX"),
- MTK_FUNCTION(7, "DBG_MON_B[7]")
- ),
- MTK_PIN(
- PINCTRL_PIN(35, "I2S1_BCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 17),
- MTK_FUNCTION(0, "GPIO35"),
- MTK_FUNCTION(1, "I2S1_BCK"),
- MTK_FUNCTION(3, "PCM_CLK0"),
- MTK_FUNCTION(5, "G1_RXD2"),
- MTK_FUNCTION(6, "WCN_PCM_CLKO"),
- MTK_FUNCTION(7, "DBG_MON_B[9]")
- ),
- MTK_PIN(
- PINCTRL_PIN(36, "I2S1_LRCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 18),
- MTK_FUNCTION(0, "GPIO36"),
- MTK_FUNCTION(1, "I2S1_LRCK"),
- MTK_FUNCTION(3, "PCM_SYNC"),
- MTK_FUNCTION(5, "G1_RXD3"),
- MTK_FUNCTION(6, "WCN_PCM_SYNC"),
- MTK_FUNCTION(7, "DBG_MON_B[10]")
- ),
- MTK_PIN(
- PINCTRL_PIN(37, "I2S1_MCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 19),
- MTK_FUNCTION(0, "GPIO37"),
- MTK_FUNCTION(1, "I2S1_MCLK"),
- MTK_FUNCTION(5, "G1_RXDV"),
- MTK_FUNCTION(7, "DBG_MON_B[11]")
- ),
- MTK_PIN(
- PINCTRL_PIN(38, "I2S2_DATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 20),
- MTK_FUNCTION(0, "GPIO38"),
- MTK_FUNCTION(2, "I2S2_DATA_BYPS"),
- MTK_FUNCTION(3, "PCM_TX"),
- MTK_FUNCTION(4, "DMIC_DAT0")
- ),
- MTK_PIN(
- PINCTRL_PIN(39, "JTMS"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 21),
- MTK_FUNCTION(0, "GPIO39"),
- MTK_FUNCTION(1, "JTMS"),
- MTK_FUNCTION(2, "CONN_MCU_TMS"),
- MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"),
- MTK_FUNCTION(4, "DFD_TMS_XI")
- ),
- MTK_PIN(
- PINCTRL_PIN(40, "JTCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 22),
- MTK_FUNCTION(0, "GPIO40"),
- MTK_FUNCTION(1, "JTCK"),
- MTK_FUNCTION(2, "CONN_MCU_TCK1"),
- MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"),
- MTK_FUNCTION(4, "DFD_TCK_XI")
- ),
- MTK_PIN(
- PINCTRL_PIN(41, "JTDI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 23),
- MTK_FUNCTION(0, "GPIO41"),
- MTK_FUNCTION(1, "JTDI"),
- MTK_FUNCTION(2, "CONN_MCU_TDI"),
- MTK_FUNCTION(4, "DFD_TDI_XI")
- ),
- MTK_PIN(
- PINCTRL_PIN(42, "JTDO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 24),
- MTK_FUNCTION(0, "GPIO42"),
- MTK_FUNCTION(1, "JTDO"),
- MTK_FUNCTION(2, "CONN_MCU_TDO"),
- MTK_FUNCTION(4, "DFD_TDO")
- ),
- MTK_PIN(
- PINCTRL_PIN(43, "NCLE"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 25),
- MTK_FUNCTION(0, "GPIO43"),
- MTK_FUNCTION(1, "NCLE"),
- MTK_FUNCTION(2, "EXT_XCS2")
- ),
- MTK_PIN(
- PINCTRL_PIN(44, "NCEB1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 26),
- MTK_FUNCTION(0, "GPIO44"),
- MTK_FUNCTION(1, "NCEB1"),
- MTK_FUNCTION(2, "IDDIG")
- ),
- MTK_PIN(
- PINCTRL_PIN(45, "NCEB0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 27),
- MTK_FUNCTION(0, "GPIO45"),
- MTK_FUNCTION(1, "NCEB0"),
- MTK_FUNCTION(2, "DRV_VBUS")
- ),
- MTK_PIN(
- PINCTRL_PIN(46, "IR"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 28),
- MTK_FUNCTION(0, "GPIO46"),
- MTK_FUNCTION(1, "IR")
- ),
- MTK_PIN(
- PINCTRL_PIN(47, "NREB"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 29),
- MTK_FUNCTION(0, "GPIO47"),
- MTK_FUNCTION(1, "NREB"),
- MTK_FUNCTION(2, "IDDIG_P1")
- ),
- MTK_PIN(
- PINCTRL_PIN(48, "NRNB"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 30),
- MTK_FUNCTION(0, "GPIO48"),
- MTK_FUNCTION(1, "NRNB"),
- MTK_FUNCTION(2, "DRV_VBUS_P1")
- ),
- MTK_PIN(
- PINCTRL_PIN(49, "I2S0_DATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 31),
- MTK_FUNCTION(0, "GPIO49"),
- MTK_FUNCTION(1, "I2S0_DATA"),
- MTK_FUNCTION(2, "I2S0_DATA_BYPS"),
- MTK_FUNCTION(3, "PCM_TX"),
- MTK_FUNCTION(6, "WCN_I2S_DO"),
- MTK_FUNCTION(7, "DBG_MON_B[3]")
- ),
- MTK_PIN(
- PINCTRL_PIN(50, "I2S2_BCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 32),
- MTK_FUNCTION(0, "GPIO50"),
- MTK_FUNCTION(1, "I2S2_BCK"),
- MTK_FUNCTION(3, "PCM_CLK0"),
- MTK_FUNCTION(4, "DMIC_SCK1")
- ),
- MTK_PIN(
- PINCTRL_PIN(51, "I2S2_DATA_IN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 33),
- MTK_FUNCTION(0, "GPIO51"),
- MTK_FUNCTION(1, "I2S2_DATA_IN"),
- MTK_FUNCTION(3, "PCM_RX"),
- MTK_FUNCTION(4, "DMIC_SCK0")
- ),
- MTK_PIN(
- PINCTRL_PIN(52, "I2S2_LRCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 34),
- MTK_FUNCTION(0, "GPIO52"),
- MTK_FUNCTION(1, "I2S2_LRCK"),
- MTK_FUNCTION(3, "PCM_SYNC"),
- MTK_FUNCTION(4, "DMIC_DAT1")
- ),
- MTK_PIN(
- PINCTRL_PIN(53, "SPI0_CSN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 35),
- MTK_FUNCTION(0, "GPIO53"),
- MTK_FUNCTION(1, "SPI0_CS"),
- MTK_FUNCTION(3, "SPDIF"),
- MTK_FUNCTION(4, "ADC_CK"),
- MTK_FUNCTION(5, "PWM1"),
- MTK_FUNCTION(7, "DBG_MON_A[7]")
- ),
- MTK_PIN(
- PINCTRL_PIN(54, "SPI0_CK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 36),
- MTK_FUNCTION(0, "GPIO54"),
- MTK_FUNCTION(1, "SPI0_CK"),
- MTK_FUNCTION(3, "SPDIF_IN1"),
- MTK_FUNCTION(4, "ADC_DAT_IN"),
- MTK_FUNCTION(7, "DBG_MON_A[10]")
- ),
- MTK_PIN(
- PINCTRL_PIN(55, "SPI0_MI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 37),
- MTK_FUNCTION(0, "GPIO55"),
- MTK_FUNCTION(1, "SPI0_MI"),
- MTK_FUNCTION(2, "SPI0_MO"),
- MTK_FUNCTION(3, "MSDC1_WP"),
- MTK_FUNCTION(4, "ADC_WS"),
- MTK_FUNCTION(5, "PWM2"),
- MTK_FUNCTION(7, "DBG_MON_A[8]")
- ),
- MTK_PIN(
- PINCTRL_PIN(56, "SPI0_MO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 38),
- MTK_FUNCTION(0, "GPIO56"),
- MTK_FUNCTION(1, "SPI0_MO"),
- MTK_FUNCTION(2, "SPI0_MI"),
- MTK_FUNCTION(3, "SPDIF_IN0"),
- MTK_FUNCTION(7, "DBG_MON_A[9]")
- ),
- MTK_PIN(
- PINCTRL_PIN(57, "SDA1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 39),
- MTK_FUNCTION(0, "GPIO57"),
- MTK_FUNCTION(1, "SDA1")
- ),
- MTK_PIN(
- PINCTRL_PIN(58, "SCL1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 40),
- MTK_FUNCTION(0, "GPIO58"),
- MTK_FUNCTION(1, "SCL1")
- ),
- MTK_PIN(
- PINCTRL_PIN(59, "RAMBUF_I_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO59"),
- MTK_FUNCTION(1, "RAMBUF_I_CLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(60, "WB_RSTB"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 41),
- MTK_FUNCTION(0, "GPIO60"),
- MTK_FUNCTION(1, "WB_RSTB"),
- MTK_FUNCTION(7, "DBG_MON_A[11]")
- ),
- MTK_PIN(
- PINCTRL_PIN(61, "F2W_DATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 42),
- MTK_FUNCTION(0, "GPIO61"),
- MTK_FUNCTION(1, "F2W_DATA"),
- MTK_FUNCTION(7, "DBG_MON_A[16]")
- ),
- MTK_PIN(
- PINCTRL_PIN(62, "F2W_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 43),
- MTK_FUNCTION(0, "GPIO62"),
- MTK_FUNCTION(1, "F2W_CK"),
- MTK_FUNCTION(7, "DBG_MON_A[15]")
- ),
- MTK_PIN(
- PINCTRL_PIN(63, "WB_SCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 44),
- MTK_FUNCTION(0, "GPIO63"),
- MTK_FUNCTION(1, "WB_SCLK"),
- MTK_FUNCTION(7, "DBG_MON_A[13]")
- ),
- MTK_PIN(
- PINCTRL_PIN(64, "WB_SDATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 45),
- MTK_FUNCTION(0, "GPIO64"),
- MTK_FUNCTION(1, "WB_SDATA"),
- MTK_FUNCTION(7, "DBG_MON_A[12]")
- ),
- MTK_PIN(
- PINCTRL_PIN(65, "WB_SEN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 46),
- MTK_FUNCTION(0, "GPIO65"),
- MTK_FUNCTION(1, "WB_SEN"),
- MTK_FUNCTION(7, "DBG_MON_A[14]")
- ),
- MTK_PIN(
- PINCTRL_PIN(66, "WB_CRTL0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 47),
- MTK_FUNCTION(0, "GPIO66"),
- MTK_FUNCTION(1, "WB_CRTL0"),
- MTK_FUNCTION(5, "DFD_NTRST_XI"),
- MTK_FUNCTION(7, "DBG_MON_A[17]")
- ),
- MTK_PIN(
- PINCTRL_PIN(67, "WB_CRTL1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 48),
- MTK_FUNCTION(0, "GPIO67"),
- MTK_FUNCTION(1, "WB_CRTL1"),
- MTK_FUNCTION(5, "DFD_TMS_XI"),
- MTK_FUNCTION(7, "DBG_MON_A[18]")
- ),
- MTK_PIN(
- PINCTRL_PIN(68, "WB_CRTL2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 49),
- MTK_FUNCTION(0, "GPIO68"),
- MTK_FUNCTION(1, "WB_CRTL2"),
- MTK_FUNCTION(5, "DFD_TCK_XI"),
- MTK_FUNCTION(7, "DBG_MON_A[19]")
- ),
- MTK_PIN(
- PINCTRL_PIN(69, "WB_CRTL3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 50),
- MTK_FUNCTION(0, "GPIO69"),
- MTK_FUNCTION(1, "WB_CRTL3"),
- MTK_FUNCTION(5, "DFD_TDI_XI"),
- MTK_FUNCTION(7, "DBG_MON_A[20]")
- ),
- MTK_PIN(
- PINCTRL_PIN(70, "WB_CRTL4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 51),
- MTK_FUNCTION(0, "GPIO70"),
- MTK_FUNCTION(1, "WB_CRTL4"),
- MTK_FUNCTION(5, "DFD_TDO"),
- MTK_FUNCTION(7, "DBG_MON_A[21]")
- ),
- MTK_PIN(
- PINCTRL_PIN(71, "WB_CRTL5"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 52),
- MTK_FUNCTION(0, "GPIO71"),
- MTK_FUNCTION(1, "WB_CRTL5"),
- MTK_FUNCTION(7, "DBG_MON_A[22]")
- ),
- MTK_PIN(
- PINCTRL_PIN(72, "I2S0_DATA_IN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 53),
- MTK_FUNCTION(0, "GPIO72"),
- MTK_FUNCTION(1, "I2S0_DATA_IN"),
- MTK_FUNCTION(3, "PCM_RX"),
- MTK_FUNCTION(4, "PWM0"),
- MTK_FUNCTION(5, "DISP_PWM"),
- MTK_FUNCTION(6, "WCN_I2S_DI"),
- MTK_FUNCTION(7, "DBG_MON_B[2]")
- ),
- MTK_PIN(
- PINCTRL_PIN(73, "I2S0_LRCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 54),
- MTK_FUNCTION(0, "GPIO73"),
- MTK_FUNCTION(1, "I2S0_LRCK"),
- MTK_FUNCTION(3, "PCM_SYNC"),
- MTK_FUNCTION(6, "WCN_I2S_LRCK"),
- MTK_FUNCTION(7, "DBG_MON_B[5]")
- ),
- MTK_PIN(
- PINCTRL_PIN(74, "I2S0_BCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 55),
- MTK_FUNCTION(0, "GPIO74"),
- MTK_FUNCTION(1, "I2S0_BCK"),
- MTK_FUNCTION(3, "PCM_CLK0"),
- MTK_FUNCTION(6, "WCN_I2S_BCK"),
- MTK_FUNCTION(7, "DBG_MON_B[4]")
- ),
- MTK_PIN(
- PINCTRL_PIN(75, "SDA0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 56),
- MTK_FUNCTION(0, "GPIO75"),
- MTK_FUNCTION(1, "SDA0")
- ),
- MTK_PIN(
- PINCTRL_PIN(76, "SCL0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 57),
- MTK_FUNCTION(0, "GPIO76"),
- MTK_FUNCTION(1, "SCL0")
- ),
- MTK_PIN(
- PINCTRL_PIN(77, "SDA2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 58),
- MTK_FUNCTION(0, "GPIO77"),
- MTK_FUNCTION(1, "SDA2")
- ),
- MTK_PIN(
- PINCTRL_PIN(78, "SCL2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 59),
- MTK_FUNCTION(0, "GPIO78"),
- MTK_FUNCTION(1, "SCL2")
- ),
- MTK_PIN(
- PINCTRL_PIN(79, "URXD0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 60),
- MTK_FUNCTION(0, "GPIO79"),
- MTK_FUNCTION(1, "URXD0"),
- MTK_FUNCTION(2, "UTXD0")
- ),
- MTK_PIN(
- PINCTRL_PIN(80, "UTXD0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 61),
- MTK_FUNCTION(0, "GPIO80"),
- MTK_FUNCTION(1, "UTXD0"),
- MTK_FUNCTION(2, "URXD0")
- ),
- MTK_PIN(
- PINCTRL_PIN(81, "URXD1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 62),
- MTK_FUNCTION(0, "GPIO81"),
- MTK_FUNCTION(1, "URXD1"),
- MTK_FUNCTION(2, "UTXD1")
- ),
- MTK_PIN(
- PINCTRL_PIN(82, "UTXD1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 63),
- MTK_FUNCTION(0, "GPIO82"),
- MTK_FUNCTION(1, "UTXD1"),
- MTK_FUNCTION(2, "URXD1")
- ),
- MTK_PIN(
- PINCTRL_PIN(83, "LCM_RST"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 64),
- MTK_FUNCTION(0, "GPIO83"),
- MTK_FUNCTION(1, "LCM_RST"),
- MTK_FUNCTION(2, "VDAC_CK_XI"),
- MTK_FUNCTION(7, "DBG_MON_B[1]")
- ),
- MTK_PIN(
- PINCTRL_PIN(84, "DSI_TE"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 65),
- MTK_FUNCTION(0, "GPIO84"),
- MTK_FUNCTION(1, "DSI_TE"),
- MTK_FUNCTION(7, "DBG_MON_B[0]")
- ),
- MTK_PIN(
- PINCTRL_PIN(85, "MSDC2_CMD"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 66),
- MTK_FUNCTION(0, "GPIO85"),
- MTK_FUNCTION(1, "MSDC2_CMD"),
- MTK_FUNCTION(2, "ANT_SEL0"),
- MTK_FUNCTION(3, "SDA1"),
- MTK_FUNCTION(6, "I2SOUT_BCK")
- ),
- MTK_PIN(
- PINCTRL_PIN(86, "MSDC2_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 67),
- MTK_FUNCTION(0, "GPIO86"),
- MTK_FUNCTION(1, "MSDC2_CLK"),
- MTK_FUNCTION(2, "ANT_SEL1"),
- MTK_FUNCTION(3, "SCL1"),
- MTK_FUNCTION(6, "I2SOUT_LRCK")
- ),
- MTK_PIN(
- PINCTRL_PIN(87, "MSDC2_DAT0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 68),
- MTK_FUNCTION(0, "GPIO87"),
- MTK_FUNCTION(1, "MSDC2_DAT0"),
- MTK_FUNCTION(2, "ANT_SEL2"),
- MTK_FUNCTION(5, "UTXD0"),
- MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
- ),
- MTK_PIN(
- PINCTRL_PIN(88, "MSDC2_DAT1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 71),
- MTK_FUNCTION(0, "GPIO88"),
- MTK_FUNCTION(1, "MSDC2_DAT1"),
- MTK_FUNCTION(2, "ANT_SEL3"),
- MTK_FUNCTION(3, "PWM0"),
- MTK_FUNCTION(5, "URXD0"),
- MTK_FUNCTION(6, "PWM1")
- ),
- MTK_PIN(
- PINCTRL_PIN(89, "MSDC2_DAT2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 72),
- MTK_FUNCTION(0, "GPIO89"),
- MTK_FUNCTION(1, "MSDC2_DAT2"),
- MTK_FUNCTION(2, "ANT_SEL4"),
- MTK_FUNCTION(3, "SDA2"),
- MTK_FUNCTION(5, "UTXD1"),
- MTK_FUNCTION(6, "PWM2")
- ),
- MTK_PIN(
- PINCTRL_PIN(90, "MSDC2_DAT3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 73),
- MTK_FUNCTION(0, "GPIO90"),
- MTK_FUNCTION(1, "MSDC2_DAT3"),
- MTK_FUNCTION(2, "ANT_SEL5"),
- MTK_FUNCTION(3, "SCL2"),
- MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(5, "URXD1"),
- MTK_FUNCTION(6, "PWM3")
- ),
- MTK_PIN(
- PINCTRL_PIN(91, "TDN3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI91"),
- MTK_FUNCTION(1, "TDN3")
- ),
- MTK_PIN(
- PINCTRL_PIN(92, "TDP3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI92"),
- MTK_FUNCTION(1, "TDP3")
- ),
- MTK_PIN(
- PINCTRL_PIN(93, "TDN2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI93"),
- MTK_FUNCTION(1, "TDN2")
- ),
- MTK_PIN(
- PINCTRL_PIN(94, "TDP2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI94"),
- MTK_FUNCTION(1, "TDP2")
- ),
- MTK_PIN(
- PINCTRL_PIN(95, "TCN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI95"),
- MTK_FUNCTION(1, "TCN")
- ),
- MTK_PIN(
- PINCTRL_PIN(96, "TCP"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI96"),
- MTK_FUNCTION(1, "TCP")
- ),
- MTK_PIN(
- PINCTRL_PIN(97, "TDN1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI97"),
- MTK_FUNCTION(1, "TDN1")
- ),
- MTK_PIN(
- PINCTRL_PIN(98, "TDP1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI98"),
- MTK_FUNCTION(1, "TDP1")
- ),
- MTK_PIN(
- PINCTRL_PIN(99, "TDN0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI99"),
- MTK_FUNCTION(1, "TDN0")
- ),
- MTK_PIN(
- PINCTRL_PIN(100, "TDP0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPI100"),
- MTK_FUNCTION(1, "TDP0")
- ),
- MTK_PIN(
- PINCTRL_PIN(101, "SPI2_CSN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 74),
- MTK_FUNCTION(0, "GPIO101"),
- MTK_FUNCTION(1, "SPI2_CS"),
- MTK_FUNCTION(3, "SCL3"),
- MTK_FUNCTION(4, "KROW0")
- ),
- MTK_PIN(
- PINCTRL_PIN(102, "SPI2_MI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 75),
- MTK_FUNCTION(0, "GPIO102"),
- MTK_FUNCTION(1, "SPI2_MI"),
- MTK_FUNCTION(2, "SPI2_MO"),
- MTK_FUNCTION(3, "SDA3"),
- MTK_FUNCTION(4, "KROW1")
- ),
- MTK_PIN(
- PINCTRL_PIN(103, "SPI2_MO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 76),
- MTK_FUNCTION(0, "GPIO103"),
- MTK_FUNCTION(1, "SPI2_MO"),
- MTK_FUNCTION(2, "SPI2_MI"),
- MTK_FUNCTION(3, "SCL3"),
- MTK_FUNCTION(4, "KROW2")
- ),
- MTK_PIN(
- PINCTRL_PIN(104, "SPI2_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 77),
- MTK_FUNCTION(0, "GPIO104"),
- MTK_FUNCTION(1, "SPI2_CK"),
- MTK_FUNCTION(3, "SDA3"),
- MTK_FUNCTION(4, "KROW3")
- ),
- MTK_PIN(
- PINCTRL_PIN(105, "MSDC1_CMD"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 78),
- MTK_FUNCTION(0, "GPIO105"),
- MTK_FUNCTION(1, "MSDC1_CMD"),
- MTK_FUNCTION(2, "ANT_SEL0"),
- MTK_FUNCTION(3, "SDA1"),
- MTK_FUNCTION(6, "I2SOUT_BCK"),
- MTK_FUNCTION(7, "DBG_MON_B[27]")
- ),
- MTK_PIN(
- PINCTRL_PIN(106, "MSDC1_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 79),
- MTK_FUNCTION(0, "GPIO106"),
- MTK_FUNCTION(1, "MSDC1_CLK"),
- MTK_FUNCTION(2, "ANT_SEL1"),
- MTK_FUNCTION(3, "SCL1"),
- MTK_FUNCTION(6, "I2SOUT_LRCK"),
- MTK_FUNCTION(7, "DBG_MON_B[28]")
- ),
- MTK_PIN(
- PINCTRL_PIN(107, "MSDC1_DAT0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 80),
- MTK_FUNCTION(0, "GPIO107"),
- MTK_FUNCTION(1, "MSDC1_DAT0"),
- MTK_FUNCTION(2, "ANT_SEL2"),
- MTK_FUNCTION(5, "UTXD0"),
- MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
- MTK_FUNCTION(7, "DBG_MON_B[26]")
- ),
- MTK_PIN(
- PINCTRL_PIN(108, "MSDC1_DAT1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 81),
- MTK_FUNCTION(0, "GPIO108"),
- MTK_FUNCTION(1, "MSDC1_DAT1"),
- MTK_FUNCTION(2, "ANT_SEL3"),
- MTK_FUNCTION(3, "PWM0"),
- MTK_FUNCTION(5, "URXD0"),
- MTK_FUNCTION(6, "PWM1"),
- MTK_FUNCTION(7, "DBG_MON_B[25]")
- ),
- MTK_PIN(
- PINCTRL_PIN(109, "MSDC1_DAT2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 82),
- MTK_FUNCTION(0, "GPIO109"),
- MTK_FUNCTION(1, "MSDC1_DAT2"),
- MTK_FUNCTION(2, "ANT_SEL4"),
- MTK_FUNCTION(3, "SDA2"),
- MTK_FUNCTION(5, "UTXD1"),
- MTK_FUNCTION(6, "PWM2"),
- MTK_FUNCTION(7, "DBG_MON_B[24]")
- ),
- MTK_PIN(
- PINCTRL_PIN(110, "MSDC1_DAT3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 83),
- MTK_FUNCTION(0, "GPIO110"),
- MTK_FUNCTION(1, "MSDC1_DAT3"),
- MTK_FUNCTION(2, "ANT_SEL5"),
- MTK_FUNCTION(3, "SCL2"),
- MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(5, "URXD1"),
- MTK_FUNCTION(6, "PWM3"),
- MTK_FUNCTION(7, "DBG_MON_B[23]")
- ),
- MTK_PIN(
- PINCTRL_PIN(111, "MSDC0_DAT7"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 84),
- MTK_FUNCTION(0, "GPIO111"),
- MTK_FUNCTION(1, "MSDC0_DAT7"),
- MTK_FUNCTION(4, "NLD7")
- ),
- MTK_PIN(
- PINCTRL_PIN(112, "MSDC0_DAT6"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 85),
- MTK_FUNCTION(0, "GPIO112"),
- MTK_FUNCTION(1, "MSDC0_DAT6"),
- MTK_FUNCTION(4, "NLD6")
- ),
- MTK_PIN(
- PINCTRL_PIN(113, "MSDC0_DAT5"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 86),
- MTK_FUNCTION(0, "GPIO113"),
- MTK_FUNCTION(1, "MSDC0_DAT5"),
- MTK_FUNCTION(4, "NLD5")
- ),
- MTK_PIN(
- PINCTRL_PIN(114, "MSDC0_DAT4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 87),
- MTK_FUNCTION(0, "GPIO114"),
- MTK_FUNCTION(1, "MSDC0_DAT4"),
- MTK_FUNCTION(4, "NLD4")
- ),
- MTK_PIN(
- PINCTRL_PIN(115, "MSDC0_RSTB"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 88),
- MTK_FUNCTION(0, "GPIO115"),
- MTK_FUNCTION(1, "MSDC0_RSTB"),
- MTK_FUNCTION(4, "NLD8")
- ),
- MTK_PIN(
- PINCTRL_PIN(116, "MSDC0_CMD"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 89),
- MTK_FUNCTION(0, "GPIO116"),
- MTK_FUNCTION(1, "MSDC0_CMD"),
- MTK_FUNCTION(4, "NALE")
- ),
- MTK_PIN(
- PINCTRL_PIN(117, "MSDC0_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 90),
- MTK_FUNCTION(0, "GPIO117"),
- MTK_FUNCTION(1, "MSDC0_CLK"),
- MTK_FUNCTION(4, "NWEB")
- ),
- MTK_PIN(
- PINCTRL_PIN(118, "MSDC0_DAT3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 91),
- MTK_FUNCTION(0, "GPIO118"),
- MTK_FUNCTION(1, "MSDC0_DAT3"),
- MTK_FUNCTION(4, "NLD3")
- ),
- MTK_PIN(
- PINCTRL_PIN(119, "MSDC0_DAT2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 92),
- MTK_FUNCTION(0, "GPIO119"),
- MTK_FUNCTION(1, "MSDC0_DAT2"),
- MTK_FUNCTION(4, "NLD2")
- ),
- MTK_PIN(
- PINCTRL_PIN(120, "MSDC0_DAT1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 93),
- MTK_FUNCTION(0, "GPIO120"),
- MTK_FUNCTION(1, "MSDC0_DAT1"),
- MTK_FUNCTION(4, "NLD1")
- ),
- MTK_PIN(
- PINCTRL_PIN(121, "MSDC0_DAT0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 94),
- MTK_FUNCTION(0, "GPIO121"),
- MTK_FUNCTION(1, "MSDC0_DAT0"),
- MTK_FUNCTION(4, "NLD0"),
- MTK_FUNCTION(5, "WATCHDOG")
- ),
- MTK_PIN(
- PINCTRL_PIN(122, "CEC"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 95),
- MTK_FUNCTION(0, "GPIO122"),
- MTK_FUNCTION(1, "CEC"),
- MTK_FUNCTION(4, "SDA2"),
- MTK_FUNCTION(5, "URXD0")
- ),
- MTK_PIN(
- PINCTRL_PIN(123, "HTPLG"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 96),
- MTK_FUNCTION(0, "GPIO123"),
- MTK_FUNCTION(1, "HTPLG"),
- MTK_FUNCTION(4, "SCL2"),
- MTK_FUNCTION(5, "UTXD0")
- ),
- MTK_PIN(
- PINCTRL_PIN(124, "HDMISCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 97),
- MTK_FUNCTION(0, "GPIO124"),
- MTK_FUNCTION(1, "HDMISCK"),
- MTK_FUNCTION(4, "SDA1"),
- MTK_FUNCTION(5, "PWM3")
- ),
- MTK_PIN(
- PINCTRL_PIN(125, "HDMISD"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 98),
- MTK_FUNCTION(0, "GPIO125"),
- MTK_FUNCTION(1, "HDMISD"),
- MTK_FUNCTION(4, "SCL1"),
- MTK_FUNCTION(5, "PWM4")
- ),
- MTK_PIN(
- PINCTRL_PIN(126, "I2S0_MCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 99),
- MTK_FUNCTION(0, "GPIO126"),
- MTK_FUNCTION(1, "I2S0_MCLK"),
- MTK_FUNCTION(6, "WCN_I2S_MCLK"),
- MTK_FUNCTION(7, "DBG_MON_B[6]")
- ),
- MTK_PIN(
- PINCTRL_PIN(127, "RAMBUF_IDATA0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO127"),
- MTK_FUNCTION(1, "RAMBUF_IDATA0")
- ),
- MTK_PIN(
- PINCTRL_PIN(128, "RAMBUF_IDATA1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO128"),
- MTK_FUNCTION(1, "RAMBUF_IDATA1")
- ),
- MTK_PIN(
- PINCTRL_PIN(129, "RAMBUF_IDATA2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO129"),
- MTK_FUNCTION(1, "RAMBUF_IDATA2")
- ),
- MTK_PIN(
- PINCTRL_PIN(130, "RAMBUF_IDATA3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO130"),
- MTK_FUNCTION(1, "RAMBUF_IDATA3")
- ),
- MTK_PIN(
- PINCTRL_PIN(131, "RAMBUF_IDATA4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO131"),
- MTK_FUNCTION(1, "RAMBUF_IDATA4")
- ),
- MTK_PIN(
- PINCTRL_PIN(132, "RAMBUF_IDATA5"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO132"),
- MTK_FUNCTION(1, "RAMBUF_IDATA5")
- ),
- MTK_PIN(
- PINCTRL_PIN(133, "RAMBUF_IDATA6"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO133"),
- MTK_FUNCTION(1, "RAMBUF_IDATA6")
- ),
- MTK_PIN(
- PINCTRL_PIN(134, "RAMBUF_IDATA7"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO134"),
- MTK_FUNCTION(1, "RAMBUF_IDATA7")
- ),
- MTK_PIN(
- PINCTRL_PIN(135, "RAMBUF_IDATA8"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO135"),
- MTK_FUNCTION(1, "RAMBUF_IDATA8")
- ),
- MTK_PIN(
- PINCTRL_PIN(136, "RAMBUF_IDATA9"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO136"),
- MTK_FUNCTION(1, "RAMBUF_IDATA9")
- ),
- MTK_PIN(
- PINCTRL_PIN(137, "RAMBUF_IDATA10"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO137"),
- MTK_FUNCTION(1, "RAMBUF_IDATA10")
- ),
- MTK_PIN(
- PINCTRL_PIN(138, "RAMBUF_IDATA11"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO138"),
- MTK_FUNCTION(1, "RAMBUF_IDATA11")
- ),
- MTK_PIN(
- PINCTRL_PIN(139, "RAMBUF_IDATA12"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO139"),
- MTK_FUNCTION(1, "RAMBUF_IDATA12")
- ),
- MTK_PIN(
- PINCTRL_PIN(140, "RAMBUF_IDATA13"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO140"),
- MTK_FUNCTION(1, "RAMBUF_IDATA13")
- ),
- MTK_PIN(
- PINCTRL_PIN(141, "RAMBUF_IDATA14"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO141"),
- MTK_FUNCTION(1, "RAMBUF_IDATA14")
- ),
- MTK_PIN(
- PINCTRL_PIN(142, "RAMBUF_IDATA15"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO142"),
- MTK_FUNCTION(1, "RAMBUF_IDATA15")
- ),
- MTK_PIN(
- PINCTRL_PIN(143, "RAMBUF_ODATA0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO143"),
- MTK_FUNCTION(1, "RAMBUF_ODATA0")
- ),
- MTK_PIN(
- PINCTRL_PIN(144, "RAMBUF_ODATA1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO144"),
- MTK_FUNCTION(1, "RAMBUF_ODATA1")
- ),
- MTK_PIN(
- PINCTRL_PIN(145, "RAMBUF_ODATA2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO145"),
- MTK_FUNCTION(1, "RAMBUF_ODATA2")
- ),
- MTK_PIN(
- PINCTRL_PIN(146, "RAMBUF_ODATA3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO146"),
- MTK_FUNCTION(1, "RAMBUF_ODATA3")
- ),
- MTK_PIN(
- PINCTRL_PIN(147, "RAMBUF_ODATA4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO147"),
- MTK_FUNCTION(1, "RAMBUF_ODATA4")
- ),
- MTK_PIN(
- PINCTRL_PIN(148, "RAMBUF_ODATA5"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO148"),
- MTK_FUNCTION(1, "RAMBUF_ODATA5")
- ),
- MTK_PIN(
- PINCTRL_PIN(149, "RAMBUF_ODATA6"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO149"),
- MTK_FUNCTION(1, "RAMBUF_ODATA6")
- ),
- MTK_PIN(
- PINCTRL_PIN(150, "RAMBUF_ODATA7"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO150"),
- MTK_FUNCTION(1, "RAMBUF_ODATA7")
- ),
- MTK_PIN(
- PINCTRL_PIN(151, "RAMBUF_ODATA8"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO151"),
- MTK_FUNCTION(1, "RAMBUF_ODATA8")
- ),
- MTK_PIN(
- PINCTRL_PIN(152, "RAMBUF_ODATA9"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO152"),
- MTK_FUNCTION(1, "RAMBUF_ODATA9")
- ),
- MTK_PIN(
- PINCTRL_PIN(153, "RAMBUF_ODATA10"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO153"),
- MTK_FUNCTION(1, "RAMBUF_ODATA10")
- ),
- MTK_PIN(
- PINCTRL_PIN(154, "RAMBUF_ODATA11"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO154"),
- MTK_FUNCTION(1, "RAMBUF_ODATA11")
- ),
- MTK_PIN(
- PINCTRL_PIN(155, "RAMBUF_ODATA12"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO155"),
- MTK_FUNCTION(1, "RAMBUF_ODATA12")
- ),
- MTK_PIN(
- PINCTRL_PIN(156, "RAMBUF_ODATA13"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO156"),
- MTK_FUNCTION(1, "RAMBUF_ODATA13")
- ),
- MTK_PIN(
- PINCTRL_PIN(157, "RAMBUF_ODATA14"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO157"),
- MTK_FUNCTION(1, "RAMBUF_ODATA14")
- ),
- MTK_PIN(
- PINCTRL_PIN(158, "RAMBUF_ODATA15"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO158"),
- MTK_FUNCTION(1, "RAMBUF_ODATA15")
- ),
- MTK_PIN(
- PINCTRL_PIN(159, "RAMBUF_BE0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO159"),
- MTK_FUNCTION(1, "RAMBUF_BE0")
- ),
- MTK_PIN(
- PINCTRL_PIN(160, "RAMBUF_BE1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO160"),
- MTK_FUNCTION(1, "RAMBUF_BE1")
- ),
- MTK_PIN(
- PINCTRL_PIN(161, "AP2PT_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO161"),
- MTK_FUNCTION(1, "AP2PT_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(162, "AP2PT_INT_CLR"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO162"),
- MTK_FUNCTION(1, "AP2PT_INT_CLR")
- ),
- MTK_PIN(
- PINCTRL_PIN(163, "PT2AP_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO163"),
- MTK_FUNCTION(1, "PT2AP_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(164, "PT2AP_INT_CLR"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO164"),
- MTK_FUNCTION(1, "PT2AP_INT_CLR")
- ),
- MTK_PIN(
- PINCTRL_PIN(165, "AP2UP_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO165"),
- MTK_FUNCTION(1, "AP2UP_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(166, "AP2UP_INT_CLR"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO166"),
- MTK_FUNCTION(1, "AP2UP_INT_CLR")
- ),
- MTK_PIN(
- PINCTRL_PIN(167, "UP2AP_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO167"),
- MTK_FUNCTION(1, "UP2AP_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(168, "UP2AP_INT_CLR"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO168"),
- MTK_FUNCTION(1, "UP2AP_INT_CLR")
- ),
- MTK_PIN(
- PINCTRL_PIN(169, "RAMBUF_ADDR0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO169"),
- MTK_FUNCTION(1, "RAMBUF_ADDR0")
- ),
- MTK_PIN(
- PINCTRL_PIN(170, "RAMBUF_ADDR1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO170"),
- MTK_FUNCTION(1, "RAMBUF_ADDR1")
- ),
- MTK_PIN(
- PINCTRL_PIN(171, "RAMBUF_ADDR2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO171"),
- MTK_FUNCTION(1, "RAMBUF_ADDR2")
- ),
- MTK_PIN(
- PINCTRL_PIN(172, "RAMBUF_ADDR3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO172"),
- MTK_FUNCTION(1, "RAMBUF_ADDR3")
- ),
- MTK_PIN(
- PINCTRL_PIN(173, "RAMBUF_ADDR4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO173"),
- MTK_FUNCTION(1, "RAMBUF_ADDR4")
- ),
- MTK_PIN(
- PINCTRL_PIN(174, "RAMBUF_ADDR5"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO174"),
- MTK_FUNCTION(1, "RAMBUF_ADDR5")
- ),
- MTK_PIN(
- PINCTRL_PIN(175, "RAMBUF_ADDR6"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO175"),
- MTK_FUNCTION(1, "RAMBUF_ADDR6")
- ),
- MTK_PIN(
- PINCTRL_PIN(176, "RAMBUF_ADDR7"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO176"),
- MTK_FUNCTION(1, "RAMBUF_ADDR7")
- ),
- MTK_PIN(
- PINCTRL_PIN(177, "RAMBUF_ADDR8"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO177"),
- MTK_FUNCTION(1, "RAMBUF_ADDR8")
- ),
- MTK_PIN(
- PINCTRL_PIN(178, "RAMBUF_ADDR9"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO178"),
- MTK_FUNCTION(1, "RAMBUF_ADDR9")
- ),
- MTK_PIN(
- PINCTRL_PIN(179, "RAMBUF_ADDR10"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO179"),
- MTK_FUNCTION(1, "RAMBUF_ADDR10")
- ),
- MTK_PIN(
- PINCTRL_PIN(180, "RAMBUF_RW"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO180"),
- MTK_FUNCTION(1, "RAMBUF_RW")
- ),
- MTK_PIN(
- PINCTRL_PIN(181, "RAMBUF_LAST"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO181"),
- MTK_FUNCTION(1, "RAMBUF_LAST")
- ),
- MTK_PIN(
- PINCTRL_PIN(182, "RAMBUF_HP"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO182"),
- MTK_FUNCTION(1, "RAMBUF_HP")
- ),
- MTK_PIN(
- PINCTRL_PIN(183, "RAMBUF_REQ"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO183"),
- MTK_FUNCTION(1, "RAMBUF_REQ")
- ),
- MTK_PIN(
- PINCTRL_PIN(184, "RAMBUF_ALE"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO184"),
- MTK_FUNCTION(1, "RAMBUF_ALE")
- ),
- MTK_PIN(
- PINCTRL_PIN(185, "RAMBUF_DLE"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO185"),
- MTK_FUNCTION(1, "RAMBUF_DLE")
- ),
- MTK_PIN(
- PINCTRL_PIN(186, "RAMBUF_WDLE"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO186"),
- MTK_FUNCTION(1, "RAMBUF_WDLE")
- ),
- MTK_PIN(
- PINCTRL_PIN(187, "RAMBUF_O_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO187"),
- MTK_FUNCTION(1, "RAMBUF_O_CLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(188, "I2S2_MCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 100),
- MTK_FUNCTION(0, "GPIO188"),
- MTK_FUNCTION(1, "I2S2_MCLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(189, "I2S3_DATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 101),
- MTK_FUNCTION(0, "GPIO189"),
- MTK_FUNCTION(2, "I2S3_DATA_BYPS"),
- MTK_FUNCTION(3, "PCM_TX")
- ),
- MTK_PIN(
- PINCTRL_PIN(190, "I2S3_DATA_IN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 102),
- MTK_FUNCTION(0, "GPIO190"),
- MTK_FUNCTION(1, "I2S3_DATA_IN"),
- MTK_FUNCTION(3, "PCM_RX")
- ),
- MTK_PIN(
- PINCTRL_PIN(191, "I2S3_BCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 103),
- MTK_FUNCTION(0, "GPIO191"),
- MTK_FUNCTION(1, "I2S3_BCK"),
- MTK_FUNCTION(3, "PCM_CLK0")
- ),
- MTK_PIN(
- PINCTRL_PIN(192, "I2S3_LRCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 104),
- MTK_FUNCTION(0, "GPIO192"),
- MTK_FUNCTION(1, "I2S3_LRCK"),
- MTK_FUNCTION(3, "PCM_SYNC")
- ),
- MTK_PIN(
- PINCTRL_PIN(193, "I2S3_MCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 105),
- MTK_FUNCTION(0, "GPIO193"),
- MTK_FUNCTION(1, "I2S3_MCLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(194, "I2S4_DATA"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 106),
- MTK_FUNCTION(0, "GPIO194"),
- MTK_FUNCTION(1, "I2S4_DATA"),
- MTK_FUNCTION(2, "I2S4_DATA_BYPS"),
- MTK_FUNCTION(3, "PCM_TX")
- ),
- MTK_PIN(
- PINCTRL_PIN(195, "I2S4_DATA_IN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 107),
- MTK_FUNCTION(0, "GPIO195"),
- MTK_FUNCTION(1, "I2S4_DATA_IN"),
- MTK_FUNCTION(3, "PCM_RX")
- ),
- MTK_PIN(
- PINCTRL_PIN(196, "I2S4_BCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 108),
- MTK_FUNCTION(0, "GPIO196"),
- MTK_FUNCTION(1, "I2S4_BCK"),
- MTK_FUNCTION(3, "PCM_CLK0")
- ),
- MTK_PIN(
- PINCTRL_PIN(197, "I2S4_LRCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 109),
- MTK_FUNCTION(0, "GPIO197"),
- MTK_FUNCTION(1, "I2S4_LRCK"),
- MTK_FUNCTION(3, "PCM_SYNC")
- ),
- MTK_PIN(
- PINCTRL_PIN(198, "I2S4_MCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 110),
- MTK_FUNCTION(0, "GPIO198"),
- MTK_FUNCTION(1, "I2S4_MCLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(199, "SPI1_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 111),
- MTK_FUNCTION(0, "GPIO199"),
- MTK_FUNCTION(1, "SPI1_CK"),
- MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(4, "KCOL3"),
- MTK_FUNCTION(7, "DBG_MON_B[15]")
- ),
- MTK_PIN(
- PINCTRL_PIN(200, "SPDIF_OUT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 112),
- MTK_FUNCTION(0, "GPIO200"),
- MTK_FUNCTION(1, "SPDIF_OUT"),
- MTK_FUNCTION(5, "G1_TXD3"),
- MTK_FUNCTION(6, "URXD2"),
- MTK_FUNCTION(7, "DBG_MON_B[16]")
- ),
- MTK_PIN(
- PINCTRL_PIN(201, "SPDIF_IN0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 113),
- MTK_FUNCTION(0, "GPIO201"),
- MTK_FUNCTION(1, "SPDIF_IN0"),
- MTK_FUNCTION(5, "G1_TXEN"),
- MTK_FUNCTION(6, "UTXD2"),
- MTK_FUNCTION(7, "DBG_MON_B[17]")
- ),
- MTK_PIN(
- PINCTRL_PIN(202, "SPDIF_IN1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 114),
- MTK_FUNCTION(0, "GPIO202"),
- MTK_FUNCTION(1, "SPDIF_IN1")
- ),
- MTK_PIN(
- PINCTRL_PIN(203, "PWM0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 115),
- MTK_FUNCTION(0, "GPIO203"),
- MTK_FUNCTION(1, "PWM0"),
- MTK_FUNCTION(2, "DISP_PWM"),
- MTK_FUNCTION(5, "G1_TXD2"),
- MTK_FUNCTION(7, "DBG_MON_B[18]"),
- MTK_FUNCTION(9, "I2S2_DATA")
- ),
- MTK_PIN(
- PINCTRL_PIN(204, "PWM1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 116),
- MTK_FUNCTION(0, "GPIO204"),
- MTK_FUNCTION(1, "PWM1"),
- MTK_FUNCTION(2, "CLKM3"),
- MTK_FUNCTION(5, "G1_TXD1"),
- MTK_FUNCTION(7, "DBG_MON_B[19]"),
- MTK_FUNCTION(9, "I2S3_DATA")
- ),
- MTK_PIN(
- PINCTRL_PIN(205, "PWM2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 117),
- MTK_FUNCTION(0, "GPIO205"),
- MTK_FUNCTION(1, "PWM2"),
- MTK_FUNCTION(2, "CLKM2"),
- MTK_FUNCTION(5, "G1_TXD0"),
- MTK_FUNCTION(7, "DBG_MON_B[20]")
- ),
- MTK_PIN(
- PINCTRL_PIN(206, "PWM3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 118),
- MTK_FUNCTION(0, "GPIO206"),
- MTK_FUNCTION(1, "PWM3"),
- MTK_FUNCTION(2, "CLKM1"),
- MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(5, "G1_TXC"),
- MTK_FUNCTION(7, "DBG_MON_B[21]")
- ),
- MTK_PIN(
- PINCTRL_PIN(207, "PWM4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 119),
- MTK_FUNCTION(0, "GPIO207"),
- MTK_FUNCTION(1, "PWM4"),
- MTK_FUNCTION(2, "CLKM0"),
- MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
- MTK_FUNCTION(5, "G1_RXC"),
- MTK_FUNCTION(7, "DBG_MON_B[22]")
- ),
- MTK_PIN(
- PINCTRL_PIN(208, "AUD_EXT_CK1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 120),
- MTK_FUNCTION(0, "GPIO208"),
- MTK_FUNCTION(1, "AUD_EXT_CK1"),
- MTK_FUNCTION(2, "PWM0"),
- MTK_FUNCTION(4, "ANT_SEL5"),
- MTK_FUNCTION(5, "DISP_PWM"),
- MTK_FUNCTION(7, "DBG_MON_A[31]"),
- MTK_FUNCTION(11, "PCIE0_PERST_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(209, "AUD_EXT_CK2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 121),
- MTK_FUNCTION(0, "GPIO209"),
- MTK_FUNCTION(1, "AUD_EXT_CK2"),
- MTK_FUNCTION(2, "MSDC1_WP"),
- MTK_FUNCTION(5, "PWM1"),
- MTK_FUNCTION(7, "DBG_MON_A[32]"),
- MTK_FUNCTION(11, "PCIE1_PERST_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(210, "AUD_CLOCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO210"),
- MTK_FUNCTION(1, "AUD_CLOCK")
- ),
- MTK_PIN(
- PINCTRL_PIN(211, "DVP_RESET"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO211"),
- MTK_FUNCTION(1, "DVP_RESET")
- ),
- MTK_PIN(
- PINCTRL_PIN(212, "DVP_CLOCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO212"),
- MTK_FUNCTION(1, "DVP_CLOCK")
- ),
- MTK_PIN(
- PINCTRL_PIN(213, "DVP_CS"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO213"),
- MTK_FUNCTION(1, "DVP_CS")
- ),
- MTK_PIN(
- PINCTRL_PIN(214, "DVP_CK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO214"),
- MTK_FUNCTION(1, "DVP_CK")
- ),
- MTK_PIN(
- PINCTRL_PIN(215, "DVP_DI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO215"),
- MTK_FUNCTION(1, "DVP_DI")
- ),
- MTK_PIN(
- PINCTRL_PIN(216, "DVP_DO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO216"),
- MTK_FUNCTION(1, "DVP_DO")
- ),
- MTK_PIN(
- PINCTRL_PIN(217, "AP_CS"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO217"),
- MTK_FUNCTION(1, "AP_CS")
- ),
- MTK_PIN(
- PINCTRL_PIN(218, "AP_CK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO218"),
- MTK_FUNCTION(1, "AP_CK")
- ),
- MTK_PIN(
- PINCTRL_PIN(219, "AP_DI"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO219"),
- MTK_FUNCTION(1, "AP_DI")
- ),
- MTK_PIN(
- PINCTRL_PIN(220, "AP_DO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO220"),
- MTK_FUNCTION(1, "AP_DO")
- ),
- MTK_PIN(
- PINCTRL_PIN(221, "DVD_BCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO221"),
- MTK_FUNCTION(1, "DVD_BCLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(222, "T8032_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO222"),
- MTK_FUNCTION(1, "T8032_CLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(223, "AP_BCLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO223"),
- MTK_FUNCTION(1, "AP_BCLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(224, "HOST_CS"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO224"),
- MTK_FUNCTION(1, "HOST_CS")
- ),
- MTK_PIN(
- PINCTRL_PIN(225, "HOST_CK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO225"),
- MTK_FUNCTION(1, "HOST_CK")
- ),
- MTK_PIN(
- PINCTRL_PIN(226, "HOST_DO0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO226"),
- MTK_FUNCTION(1, "HOST_DO0")
- ),
- MTK_PIN(
- PINCTRL_PIN(227, "HOST_DO1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO227"),
- MTK_FUNCTION(1, "HOST_DO1")
- ),
- MTK_PIN(
- PINCTRL_PIN(228, "SLV_CS"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO228"),
- MTK_FUNCTION(1, "SLV_CS")
- ),
- MTK_PIN(
- PINCTRL_PIN(229, "SLV_CK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO229"),
- MTK_FUNCTION(1, "SLV_CK")
- ),
- MTK_PIN(
- PINCTRL_PIN(230, "SLV_DI0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO230"),
- MTK_FUNCTION(1, "SLV_DI0")
- ),
- MTK_PIN(
- PINCTRL_PIN(231, "SLV_DI1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO231"),
- MTK_FUNCTION(1, "SLV_DI1")
- ),
- MTK_PIN(
- PINCTRL_PIN(232, "AP2DSP_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO232"),
- MTK_FUNCTION(1, "AP2DSP_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(233, "AP2DSP_INT_CLR"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO233"),
- MTK_FUNCTION(1, "AP2DSP_INT_CLR")
- ),
- MTK_PIN(
- PINCTRL_PIN(234, "DSP2AP_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO234"),
- MTK_FUNCTION(1, "DSP2AP_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(235, "DSP2AP_INT_CLR"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO235"),
- MTK_FUNCTION(1, "DSP2AP_INT_CLR")
- ),
- MTK_PIN(
- PINCTRL_PIN(236, "EXT_SDIO3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 122),
- MTK_FUNCTION(0, "GPIO236"),
- MTK_FUNCTION(1, "EXT_SDIO3"),
- MTK_FUNCTION(2, "IDDIG"),
- MTK_FUNCTION(7, "DBG_MON_A[1]")
- ),
- MTK_PIN(
- PINCTRL_PIN(237, "EXT_SDIO2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 123),
- MTK_FUNCTION(0, "GPIO237"),
- MTK_FUNCTION(1, "EXT_SDIO2"),
- MTK_FUNCTION(2, "DRV_VBUS")
- ),
- MTK_PIN(
- PINCTRL_PIN(238, "EXT_SDIO1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 124),
- MTK_FUNCTION(0, "GPIO238"),
- MTK_FUNCTION(1, "EXT_SDIO1"),
- MTK_FUNCTION(2, "IDDIG_P1")
- ),
- MTK_PIN(
- PINCTRL_PIN(239, "EXT_SDIO0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 125),
- MTK_FUNCTION(0, "GPIO239"),
- MTK_FUNCTION(1, "EXT_SDIO0"),
- MTK_FUNCTION(2, "DRV_VBUS_P1")
- ),
- MTK_PIN(
- PINCTRL_PIN(240, "EXT_XCS"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 126),
- MTK_FUNCTION(0, "GPIO240"),
- MTK_FUNCTION(1, "EXT_XCS")
- ),
- MTK_PIN(
- PINCTRL_PIN(241, "EXT_SCK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 127),
- MTK_FUNCTION(0, "GPIO241"),
- MTK_FUNCTION(1, "EXT_SCK")
- ),
- MTK_PIN(
- PINCTRL_PIN(242, "URTS2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 128),
- MTK_FUNCTION(0, "GPIO242"),
- MTK_FUNCTION(1, "URTS2"),
- MTK_FUNCTION(2, "UTXD3"),
- MTK_FUNCTION(3, "URXD3"),
- MTK_FUNCTION(4, "SCL1"),
- MTK_FUNCTION(7, "DBG_MON_B[32]")
- ),
- MTK_PIN(
- PINCTRL_PIN(243, "UCTS2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 129),
- MTK_FUNCTION(0, "GPIO243"),
- MTK_FUNCTION(1, "UCTS2"),
- MTK_FUNCTION(2, "URXD3"),
- MTK_FUNCTION(3, "UTXD3"),
- MTK_FUNCTION(4, "SDA1"),
- MTK_FUNCTION(7, "DBG_MON_A[6]")
- ),
- MTK_PIN(
- PINCTRL_PIN(244, "HDMI_SDA_RX"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 130),
- MTK_FUNCTION(0, "GPIO244"),
- MTK_FUNCTION(1, "HDMI_SDA_RX")
- ),
- MTK_PIN(
- PINCTRL_PIN(245, "HDMI_SCL_RX"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 131),
- MTK_FUNCTION(0, "GPIO245"),
- MTK_FUNCTION(1, "HDMI_SCL_RX")
- ),
- MTK_PIN(
- PINCTRL_PIN(246, "MHL_SENCE"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 132),
- MTK_FUNCTION(0, "GPIO246")
- ),
- MTK_PIN(
- PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 69),
- MTK_FUNCTION(0, "GPIO247"),
- MTK_FUNCTION(1, "HDMI_HPD_RX")
- ),
- MTK_PIN(
- PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 133),
- MTK_FUNCTION(0, "GPIO248"),
- MTK_FUNCTION(1, "HDMI_TESTOUTP_RX")
- ),
- MTK_PIN(
- PINCTRL_PIN(249, "MSDC0E_RSTB"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 134),
- MTK_FUNCTION(0, "GPIO249"),
- MTK_FUNCTION(1, "MSDC0E_RSTB")
- ),
- MTK_PIN(
- PINCTRL_PIN(250, "MSDC0E_DAT7"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 135),
- MTK_FUNCTION(0, "GPIO250"),
- MTK_FUNCTION(1, "MSDC3_DAT7"),
- MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(251, "MSDC0E_DAT6"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 136),
- MTK_FUNCTION(0, "GPIO251"),
- MTK_FUNCTION(1, "MSDC3_DAT6"),
- MTK_FUNCTION(6, "PCIE0_WAKE_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(252, "MSDC0E_DAT5"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 137),
- MTK_FUNCTION(0, "GPIO252"),
- MTK_FUNCTION(1, "MSDC3_DAT5"),
- MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(253, "MSDC0E_DAT4"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 138),
- MTK_FUNCTION(0, "GPIO253"),
- MTK_FUNCTION(1, "MSDC3_DAT4"),
- MTK_FUNCTION(6, "PCIE1_WAKE_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(254, "MSDC0E_DAT3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 139),
- MTK_FUNCTION(0, "GPIO254"),
- MTK_FUNCTION(1, "MSDC3_DAT3"),
- MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(255, "MSDC0E_DAT2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 140),
- MTK_FUNCTION(0, "GPIO255"),
- MTK_FUNCTION(1, "MSDC3_DAT2"),
- MTK_FUNCTION(6, "PCIE2_WAKE_N")
- ),
- MTK_PIN(
- PINCTRL_PIN(256, "MSDC0E_DAT1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 141),
- MTK_FUNCTION(0, "GPIO256"),
- MTK_FUNCTION(1, "MSDC3_DAT1")
- ),
- MTK_PIN(
- PINCTRL_PIN(257, "MSDC0E_DAT0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 142),
- MTK_FUNCTION(0, "GPIO257"),
- MTK_FUNCTION(1, "MSDC3_DAT0")
- ),
- MTK_PIN(
- PINCTRL_PIN(258, "MSDC0E_CMD"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 143),
- MTK_FUNCTION(0, "GPIO258"),
- MTK_FUNCTION(1, "MSDC3_CMD")
- ),
- MTK_PIN(
- PINCTRL_PIN(259, "MSDC0E_CLK"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 144),
- MTK_FUNCTION(0, "GPIO259"),
- MTK_FUNCTION(1, "MSDC3_CLK")
- ),
- MTK_PIN(
- PINCTRL_PIN(260, "MSDC0E_DSL"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 145),
- MTK_FUNCTION(0, "GPIO260"),
- MTK_FUNCTION(1, "MSDC3_DSL")
- ),
- MTK_PIN(
- PINCTRL_PIN(261, "MSDC1_INS"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 146),
- MTK_FUNCTION(0, "GPIO261"),
- MTK_FUNCTION(1, "MSDC1_INS"),
- MTK_FUNCTION(7, "DBG_MON_B[29]")
- ),
- MTK_PIN(
- PINCTRL_PIN(262, "G2_TXEN"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 8),
- MTK_FUNCTION(0, "GPIO262"),
- MTK_FUNCTION(1, "G2_TXEN")
- ),
- MTK_PIN(
- PINCTRL_PIN(263, "G2_TXD3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 9),
- MTK_FUNCTION(0, "GPIO263"),
- MTK_FUNCTION(1, "G2_TXD3"),
- MTK_FUNCTION(6, "ANT_SEL5")
- ),
- MTK_PIN(
- PINCTRL_PIN(264, "G2_TXD2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 10),
- MTK_FUNCTION(0, "GPIO264"),
- MTK_FUNCTION(1, "G2_TXD2"),
- MTK_FUNCTION(6, "ANT_SEL4")
- ),
- MTK_PIN(
- PINCTRL_PIN(265, "G2_TXD1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 11),
- MTK_FUNCTION(0, "GPIO265"),
- MTK_FUNCTION(1, "G2_TXD1"),
- MTK_FUNCTION(6, "ANT_SEL3")
- ),
- MTK_PIN(
- PINCTRL_PIN(266, "G2_TXD0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO266"),
- MTK_FUNCTION(1, "G2_TXD0"),
- MTK_FUNCTION(6, "ANT_SEL2")
- ),
- MTK_PIN(
- PINCTRL_PIN(267, "G2_TXC"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO267"),
- MTK_FUNCTION(1, "G2_TXC")
- ),
- MTK_PIN(
- PINCTRL_PIN(268, "G2_RXC"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO268"),
- MTK_FUNCTION(1, "G2_RXC")
- ),
- MTK_PIN(
- PINCTRL_PIN(269, "G2_RXD0"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO269"),
- MTK_FUNCTION(1, "G2_RXD0")
- ),
- MTK_PIN(
- PINCTRL_PIN(270, "G2_RXD1"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO270"),
- MTK_FUNCTION(1, "G2_RXD1")
- ),
- MTK_PIN(
- PINCTRL_PIN(271, "G2_RXD2"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO271"),
- MTK_FUNCTION(1, "G2_RXD2")
- ),
- MTK_PIN(
- PINCTRL_PIN(272, "G2_RXD3"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO272"),
- MTK_FUNCTION(1, "G2_RXD3")
- ),
- MTK_PIN(
- PINCTRL_PIN(273, "ESW_INT"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 168),
- MTK_FUNCTION(0, "GPIO273"),
- MTK_FUNCTION(1, "ESW_INT")
- ),
- MTK_PIN(
- PINCTRL_PIN(274, "G2_RXDV"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO274"),
- MTK_FUNCTION(1, "G2_RXDV")
- ),
- MTK_PIN(
- PINCTRL_PIN(275, "MDC"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO275"),
- MTK_FUNCTION(1, "MDC"),
- MTK_FUNCTION(6, "ANT_SEL0")
- ),
- MTK_PIN(
- PINCTRL_PIN(276, "MDIO"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO276"),
- MTK_FUNCTION(1, "MDIO"),
- MTK_FUNCTION(6, "ANT_SEL1")
- ),
- MTK_PIN(
- PINCTRL_PIN(277, "ESW_RST"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO277"),
- MTK_FUNCTION(1, "ESW_RST")
- ),
- MTK_PIN(
- PINCTRL_PIN(278, "JTAG_RESET"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(0, 147),
- MTK_FUNCTION(0, "GPIO278"),
- MTK_FUNCTION(1, "JTAG_RESET")
- ),
- MTK_PIN(
- PINCTRL_PIN(279, "USB3_RES_BOND"),
- NULL, "mt2701",
- MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
- MTK_FUNCTION(0, "GPIO279"),
- MTK_FUNCTION(1, "USB3_RES_BOND")
- ),
- };
- #endif /* __PINCTRL_MTK_MT2701_H */
|