pfc-r8a7794.c 169 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207
  1. /*
  2. * r8a7794 processor support - PFC hardware block.
  3. *
  4. * Copyright (C) 2014-2015 Renesas Electronics Corporation
  5. * Copyright (C) 2015 Renesas Solutions Corp.
  6. * Copyright (C) 2015-2016 Cogent Embedded, Inc., <source@cogentembedded.com>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2
  10. * as published by the Free Software Foundation.
  11. */
  12. #include <linux/kernel.h>
  13. #include "core.h"
  14. #include "sh_pfc.h"
  15. #define CPU_ALL_PORT(fn, sfx) \
  16. PORT_GP_32(0, fn, sfx), \
  17. PORT_GP_26(1, fn, sfx), \
  18. PORT_GP_32(2, fn, sfx), \
  19. PORT_GP_32(3, fn, sfx), \
  20. PORT_GP_32(4, fn, sfx), \
  21. PORT_GP_28(5, fn, sfx), \
  22. PORT_GP_CFG_24(6, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \
  23. PORT_GP_1(6, 24, fn, sfx), \
  24. PORT_GP_1(6, 25, fn, sfx)
  25. enum {
  26. PINMUX_RESERVED = 0,
  27. PINMUX_DATA_BEGIN,
  28. GP_ALL(DATA),
  29. PINMUX_DATA_END,
  30. PINMUX_FUNCTION_BEGIN,
  31. GP_ALL(FN),
  32. /* GPSR0 */
  33. FN_IP0_23_22, FN_IP0_24, FN_IP0_25, FN_IP0_27_26, FN_IP0_29_28,
  34. FN_IP0_31_30, FN_IP1_1_0, FN_IP1_3_2, FN_IP1_5_4, FN_IP1_7_6,
  35. FN_IP1_10_8, FN_IP1_12_11, FN_IP1_14_13, FN_IP1_17_15, FN_IP1_19_18,
  36. FN_IP1_21_20, FN_IP1_23_22, FN_IP1_24, FN_A2, FN_IP1_26, FN_IP1_27,
  37. FN_IP1_29_28, FN_IP1_31_30, FN_IP2_1_0, FN_IP2_3_2, FN_IP2_5_4,
  38. FN_IP2_7_6, FN_IP2_9_8, FN_IP2_11_10, FN_IP2_13_12, FN_IP2_15_14,
  39. FN_IP2_17_16,
  40. /* GPSR1 */
  41. FN_IP2_20_18, FN_IP2_23_21, FN_IP2_26_24, FN_IP2_29_27, FN_IP2_31_30,
  42. FN_IP3_1_0, FN_IP3_3_2, FN_IP3_5_4, FN_IP3_7_6, FN_IP3_9_8, FN_IP3_10,
  43. FN_IP3_11, FN_IP3_12, FN_IP3_14_13, FN_IP3_17_15, FN_IP3_20_18,
  44. FN_IP3_23_21, FN_IP3_26_24, FN_IP3_29_27, FN_IP3_30, FN_IP3_31,
  45. FN_WE0_N, FN_WE1_N, FN_IP4_1_0 , FN_IP7_31, FN_DACK0,
  46. /* GPSR2 */
  47. FN_IP4_4_2, FN_IP4_7_5, FN_IP4_9_8, FN_IP4_11_10, FN_IP4_13_12,
  48. FN_IP4_15_14, FN_IP4_17_16, FN_IP4_19_18, FN_IP4_22_20, FN_IP4_25_23,
  49. FN_IP4_27_26, FN_IP4_29_28, FN_IP4_31_30, FN_IP5_1_0, FN_IP5_3_2,
  50. FN_IP5_5_4, FN_IP5_8_6, FN_IP5_11_9, FN_IP5_13_12, FN_IP5_15_14,
  51. FN_IP5_17_16, FN_IP5_19_18, FN_IP5_21_20, FN_IP5_23_22, FN_IP5_25_24,
  52. FN_IP5_27_26, FN_IP5_29_28, FN_IP5_31_30, FN_IP6_1_0, FN_IP6_3_2,
  53. FN_IP6_5_4, FN_IP6_7_6,
  54. /* GPSR3 */
  55. FN_IP6_8, FN_IP6_9, FN_IP6_10, FN_IP6_11, FN_IP6_12, FN_IP6_13,
  56. FN_IP6_14, FN_IP6_15, FN_IP6_16, FN_IP6_19_17, FN_IP6_22_20,
  57. FN_IP6_25_23, FN_IP6_28_26, FN_IP6_31_29, FN_IP7_2_0, FN_IP7_5_3,
  58. FN_IP7_8_6, FN_IP7_11_9, FN_IP7_14_12, FN_IP7_17_15, FN_IP7_20_18,
  59. FN_IP7_23_21, FN_IP7_26_24, FN_IP7_29_27, FN_IP8_2_0, FN_IP8_5_3,
  60. FN_IP8_8_6, FN_IP8_11_9, FN_IP8_14_12, FN_IP8_16_15, FN_IP8_19_17,
  61. FN_IP8_22_20,
  62. /* GPSR4 */
  63. FN_IP8_25_23, FN_IP8_28_26, FN_IP8_31_29, FN_IP9_2_0, FN_IP9_5_3,
  64. FN_IP9_8_6, FN_IP9_11_9, FN_IP9_14_12, FN_IP9_16_15, FN_IP9_18_17,
  65. FN_IP9_21_19, FN_IP9_24_22, FN_IP9_27_25, FN_IP9_30_28, FN_IP10_2_0,
  66. FN_IP10_5_3, FN_IP10_8_6, FN_IP10_11_9, FN_IP10_14_12, FN_IP10_17_15,
  67. FN_IP10_20_18, FN_IP10_23_21, FN_IP10_26_24, FN_IP10_29_27,
  68. FN_IP10_31_30, FN_IP11_2_0, FN_IP11_5_3, FN_IP11_7_6, FN_IP11_10_8,
  69. FN_IP11_13_11, FN_IP11_15_14, FN_IP11_17_16,
  70. /* GPSR5 */
  71. FN_IP11_20_18, FN_IP11_23_21, FN_IP11_26_24, FN_IP11_29_27, FN_IP12_2_0,
  72. FN_IP12_5_3, FN_IP12_8_6, FN_IP12_10_9, FN_IP12_12_11, FN_IP12_14_13,
  73. FN_IP12_17_15, FN_IP12_20_18, FN_IP12_23_21, FN_IP12_26_24,
  74. FN_IP12_29_27, FN_IP13_2_0, FN_IP13_5_3, FN_IP13_8_6, FN_IP13_11_9,
  75. FN_IP13_14_12, FN_IP13_17_15, FN_IP13_20_18, FN_IP13_23_21,
  76. FN_IP13_26_24, FN_USB0_PWEN, FN_USB0_OVC, FN_USB1_PWEN, FN_USB1_OVC,
  77. /* GPSR6 */
  78. FN_SD0_CLK, FN_SD0_CMD, FN_SD0_DATA0, FN_SD0_DATA1, FN_SD0_DATA2,
  79. FN_SD0_DATA3, FN_SD0_CD, FN_SD0_WP, FN_SD1_CLK, FN_SD1_CMD,
  80. FN_SD1_DATA0, FN_SD1_DATA1, FN_SD1_DATA2, FN_SD1_DATA3, FN_IP0_0,
  81. FN_IP0_9_8, FN_IP0_10, FN_IP0_11, FN_IP0_12, FN_IP0_13, FN_IP0_14,
  82. FN_IP0_15, FN_IP0_16, FN_IP0_17, FN_IP0_19_18, FN_IP0_21_20,
  83. /* IPSR0 */
  84. FN_SD1_CD, FN_CAN0_RX, FN_SD1_WP, FN_IRQ7, FN_CAN0_TX, FN_MMC_CLK,
  85. FN_SD2_CLK, FN_MMC_CMD, FN_SD2_CMD, FN_MMC_D0, FN_SD2_DATA0, FN_MMC_D1,
  86. FN_SD2_DATA1, FN_MMC_D2, FN_SD2_DATA2, FN_MMC_D3, FN_SD2_DATA3,
  87. FN_MMC_D4, FN_SD2_CD, FN_MMC_D5, FN_SD2_WP, FN_MMC_D6, FN_SCIF0_RXD,
  88. FN_I2C2_SCL_B, FN_CAN1_RX, FN_MMC_D7, FN_SCIF0_TXD, FN_I2C2_SDA_B,
  89. FN_CAN1_TX, FN_D0, FN_SCIFA3_SCK_B, FN_IRQ4, FN_D1, FN_SCIFA3_RXD_B,
  90. FN_D2, FN_SCIFA3_TXD_B, FN_D3, FN_I2C3_SCL_B, FN_SCIF5_RXD_B, FN_D4,
  91. FN_I2C3_SDA_B, FN_SCIF5_TXD_B, FN_D5, FN_SCIF4_RXD_B, FN_I2C0_SCL_D,
  92. /* IPSR1 */
  93. FN_D6, FN_SCIF4_TXD_B, FN_I2C0_SDA_D, FN_D7, FN_IRQ3, FN_TCLK1,
  94. FN_PWM6_B, FN_D8, FN_HSCIF2_HRX, FN_I2C1_SCL_B, FN_D9, FN_HSCIF2_HTX,
  95. FN_I2C1_SDA_B, FN_D10, FN_HSCIF2_HSCK, FN_SCIF1_SCK_C, FN_IRQ6,
  96. FN_PWM5_C, FN_D11, FN_HSCIF2_HCTS_N, FN_SCIF1_RXD_C, FN_I2C1_SCL_D,
  97. FN_D12, FN_HSCIF2_HRTS_N, FN_SCIF1_TXD_C, FN_I2C1_SDA_D, FN_D13,
  98. FN_SCIFA1_SCK, FN_TANS1, FN_PWM2_C, FN_TCLK2_B, FN_D14, FN_SCIFA1_RXD,
  99. FN_IIC0_SCL_B, FN_D15, FN_SCIFA1_TXD, FN_IIC0_SDA_B, FN_A0,
  100. FN_SCIFB1_SCK, FN_PWM3_B, FN_A1, FN_SCIFB1_TXD, FN_A3, FN_SCIFB0_SCK,
  101. FN_A4, FN_SCIFB0_TXD, FN_A5, FN_SCIFB0_RXD, FN_PWM4_B, FN_TPUTO3_C,
  102. FN_A6, FN_SCIFB0_CTS_N, FN_SCIFA4_RXD_B, FN_TPUTO2_C,
  103. /* IPSR2 */
  104. FN_A7, FN_SCIFB0_RTS_N, FN_SCIFA4_TXD_B, FN_A8, FN_MSIOF1_RXD,
  105. FN_SCIFA0_RXD_B, FN_A9, FN_MSIOF1_TXD, FN_SCIFA0_TXD_B, FN_A10,
  106. FN_MSIOF1_SCK, FN_IIC1_SCL_B, FN_A11, FN_MSIOF1_SYNC, FN_IIC1_SDA_B,
  107. FN_A12, FN_MSIOF1_SS1, FN_SCIFA5_RXD_B, FN_A13, FN_MSIOF1_SS2,
  108. FN_SCIFA5_TXD_B, FN_A14, FN_MSIOF2_RXD, FN_HSCIF0_HRX_B, FN_DREQ1_N,
  109. FN_A15, FN_MSIOF2_TXD, FN_HSCIF0_HTX_B, FN_DACK1, FN_A16,
  110. FN_MSIOF2_SCK, FN_HSCIF0_HSCK_B, FN_SPEEDIN, FN_VSP, FN_CAN_CLK_C,
  111. FN_TPUTO2_B, FN_A17, FN_MSIOF2_SYNC, FN_SCIF4_RXD_E, FN_CAN1_RX_B,
  112. FN_AVB_AVTP_CAPTURE_B, FN_A18, FN_MSIOF2_SS1, FN_SCIF4_TXD_E,
  113. FN_CAN1_TX_B, FN_AVB_AVTP_MATCH_B, FN_A19, FN_MSIOF2_SS2, FN_PWM4,
  114. FN_TPUTO2, FN_MOUT0, FN_A20, FN_SPCLK, FN_MOUT1,
  115. /* IPSR3 */
  116. FN_A21, FN_MOSI_IO0, FN_MOUT2, FN_A22, FN_MISO_IO1, FN_MOUT5,
  117. FN_ATADIR1_N, FN_A23, FN_IO2, FN_MOUT6, FN_ATAWR1_N, FN_A24, FN_IO3,
  118. FN_EX_WAIT2, FN_A25, FN_SSL, FN_ATARD1_N, FN_CS0_N, FN_VI1_DATA8,
  119. FN_CS1_N_A26, FN_VI1_DATA9, FN_EX_CS0_N, FN_VI1_DATA10, FN_EX_CS1_N,
  120. FN_TPUTO3_B, FN_SCIFB2_RXD, FN_VI1_DATA11, FN_EX_CS2_N, FN_PWM0,
  121. FN_SCIF4_RXD_C, FN_TS_SDATA_B, FN_RIF0_SYNC, FN_TPUTO3, FN_SCIFB2_TXD,
  122. FN_SDATA_B, FN_EX_CS3_N, FN_SCIFA2_SCK, FN_SCIF4_TXD_C, FN_TS_SCK_B,
  123. FN_RIF0_CLK, FN_BPFCLK, FN_SCIFB2_SCK, FN_MDATA_B, FN_EX_CS4_N,
  124. FN_SCIFA2_RXD, FN_I2C2_SCL_E, FN_TS_SDEN_B, FN_RIF0_D0, FN_FMCLK,
  125. FN_SCIFB2_CTS_N, FN_SCKZ_B, FN_EX_CS5_N, FN_SCIFA2_TXD, FN_I2C2_SDA_E,
  126. FN_TS_SPSYNC_B, FN_RIF0_D1, FN_FMIN, FN_SCIFB2_RTS_N, FN_STM_N_B,
  127. FN_BS_N, FN_DRACK0, FN_PWM1_C, FN_TPUTO0_C, FN_ATACS01_N, FN_MTS_N_B,
  128. FN_RD_N, FN_ATACS11_N, FN_RD_WR_N, FN_ATAG1_N,
  129. /* IPSR4 */
  130. FN_EX_WAIT0, FN_CAN_CLK_B, FN_SCIF_CLK, FN_PWMFSW0, FN_DU0_DR0,
  131. FN_LCDOUT16, FN_SCIF5_RXD_C, FN_I2C2_SCL_D, FN_CC50_STATE0,
  132. FN_DU0_DR1, FN_LCDOUT17, FN_SCIF5_TXD_C, FN_I2C2_SDA_D, FN_CC50_STATE1,
  133. FN_DU0_DR2, FN_LCDOUT18, FN_CC50_STATE2, FN_DU0_DR3, FN_LCDOUT19,
  134. FN_CC50_STATE3, FN_DU0_DR4, FN_LCDOUT20, FN_CC50_STATE4, FN_DU0_DR5,
  135. FN_LCDOUT21, FN_CC50_STATE5, FN_DU0_DR6, FN_LCDOUT22, FN_CC50_STATE6,
  136. FN_DU0_DR7, FN_LCDOUT23, FN_CC50_STATE7, FN_DU0_DG0, FN_LCDOUT8,
  137. FN_SCIFA0_RXD_C, FN_I2C3_SCL_D, FN_CC50_STATE8, FN_DU0_DG1, FN_LCDOUT9,
  138. FN_SCIFA0_TXD_C, FN_I2C3_SDA_D, FN_CC50_STATE9, FN_DU0_DG2, FN_LCDOUT10,
  139. FN_CC50_STATE10, FN_DU0_DG3, FN_LCDOUT11, FN_CC50_STATE11, FN_DU0_DG4,
  140. FN_LCDOUT12, FN_CC50_STATE12,
  141. /* IPSR5 */
  142. FN_DU0_DG5, FN_LCDOUT13, FN_CC50_STATE13, FN_DU0_DG6, FN_LCDOUT14,
  143. FN_CC50_STATE14, FN_DU0_DG7, FN_LCDOUT15, FN_CC50_STATE15, FN_DU0_DB0,
  144. FN_LCDOUT0, FN_SCIFA4_RXD_C, FN_I2C4_SCL_D, FN_CAN0_RX_C,
  145. FN_CC50_STATE16, FN_DU0_DB1, FN_LCDOUT1, FN_SCIFA4_TXD_C, FN_I2C4_SDA_D,
  146. FN_CAN0_TX_C, FN_CC50_STATE17, FN_DU0_DB2, FN_LCDOUT2, FN_CC50_STATE18,
  147. FN_DU0_DB3, FN_LCDOUT3, FN_CC50_STATE19, FN_DU0_DB4, FN_LCDOUT4,
  148. FN_CC50_STATE20, FN_DU0_DB5, FN_LCDOUT5, FN_CC50_STATE21, FN_DU0_DB6,
  149. FN_LCDOUT6, FN_CC50_STATE22, FN_DU0_DB7, FN_LCDOUT7, FN_CC50_STATE23,
  150. FN_DU0_DOTCLKIN, FN_QSTVA_QVS, FN_CC50_STATE24, FN_DU0_DOTCLKOUT0,
  151. FN_QCLK, FN_CC50_STATE25, FN_DU0_DOTCLKOUT1, FN_QSTVB_QVE,
  152. FN_CC50_STATE26, FN_DU0_EXHSYNC_DU0_HSYNC, FN_QSTH_QHS, FN_CC50_STATE27,
  153. /* IPSR6 */
  154. FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, FN_CC50_STATE28,
  155. FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, FN_CC50_STATE29,
  156. FN_DU0_DISP, FN_QPOLA, FN_CC50_STATE30, FN_DU0_CDE, FN_QPOLB,
  157. FN_CC50_STATE31, FN_VI0_CLK, FN_AVB_RX_CLK, FN_VI0_DATA0_VI0_B0,
  158. FN_AVB_RX_DV, FN_VI0_DATA1_VI0_B1, FN_AVB_RXD0, FN_VI0_DATA2_VI0_B2,
  159. FN_AVB_RXD1, FN_VI0_DATA3_VI0_B3, FN_AVB_RXD2, FN_VI0_DATA4_VI0_B4,
  160. FN_AVB_RXD3, FN_VI0_DATA5_VI0_B5, FN_AVB_RXD4, FN_VI0_DATA6_VI0_B6,
  161. FN_AVB_RXD5, FN_VI0_DATA7_VI0_B7, FN_AVB_RXD6, FN_VI0_CLKENB,
  162. FN_I2C3_SCL, FN_SCIFA5_RXD_C, FN_IETX_C, FN_AVB_RXD7, FN_VI0_FIELD,
  163. FN_I2C3_SDA, FN_SCIFA5_TXD_C, FN_IECLK_C, FN_AVB_RX_ER, FN_VI0_HSYNC_N,
  164. FN_SCIF0_RXD_B, FN_I2C0_SCL_C, FN_IERX_C, FN_AVB_COL, FN_VI0_VSYNC_N,
  165. FN_SCIF0_TXD_B, FN_I2C0_SDA_C, FN_AUDIO_CLKOUT_B, FN_AVB_TX_EN,
  166. FN_ETH_MDIO, FN_VI0_G0, FN_MSIOF2_RXD_B, FN_IIC0_SCL_D, FN_AVB_TX_CLK,
  167. FN_ADIDATA, FN_AD_DI,
  168. /* IPSR7 */
  169. FN_ETH_CRS_DV, FN_VI0_G1, FN_MSIOF2_TXD_B, FN_IIC0_SDA_D, FN_AVB_TXD0,
  170. FN_ADICS_SAMP, FN_AD_DO, FN_ETH_RX_ER, FN_VI0_G2, FN_MSIOF2_SCK_B,
  171. FN_CAN0_RX_B, FN_AVB_TXD1, FN_ADICLK, FN_AD_CLK, FN_ETH_RXD0, FN_VI0_G3,
  172. FN_MSIOF2_SYNC_B, FN_CAN0_TX_B, FN_AVB_TXD2, FN_ADICHS0, FN_AD_NCS_N,
  173. FN_ETH_RXD1, FN_VI0_G4, FN_MSIOF2_SS1_B, FN_SCIF4_RXD_D, FN_AVB_TXD3,
  174. FN_ADICHS1, FN_ETH_LINK, FN_VI0_G5, FN_MSIOF2_SS2_B, FN_SCIF4_TXD_D,
  175. FN_AVB_TXD4, FN_ADICHS2, FN_ETH_REFCLK, FN_VI0_G6, FN_SCIF2_SCK_C,
  176. FN_AVB_TXD5, FN_SSI_SCK5_B, FN_ETH_TXD1, FN_VI0_G7, FN_SCIF2_RXD_C,
  177. FN_IIC1_SCL_D, FN_AVB_TXD6, FN_SSI_WS5_B, FN_ETH_TX_EN, FN_VI0_R0,
  178. FN_SCIF2_TXD_C, FN_IIC1_SDA_D, FN_AVB_TXD7, FN_SSI_SDATA5_B,
  179. FN_ETH_MAGIC, FN_VI0_R1, FN_SCIF3_SCK_B, FN_AVB_TX_ER, FN_SSI_SCK6_B,
  180. FN_ETH_TXD0, FN_VI0_R2, FN_SCIF3_RXD_B, FN_I2C4_SCL_E, FN_AVB_GTX_CLK,
  181. FN_SSI_WS6_B, FN_DREQ0_N, FN_SCIFB1_RXD,
  182. /* IPSR8 */
  183. FN_ETH_MDC, FN_VI0_R3, FN_SCIF3_TXD_B, FN_I2C4_SDA_E, FN_AVB_MDC,
  184. FN_SSI_SDATA6_B, FN_HSCIF0_HRX, FN_VI0_R4, FN_I2C1_SCL_C,
  185. FN_AUDIO_CLKA_B, FN_AVB_MDIO, FN_SSI_SCK78_B, FN_HSCIF0_HTX,
  186. FN_VI0_R5, FN_I2C1_SDA_C, FN_AUDIO_CLKB_B, FN_AVB_LINK, FN_SSI_WS78_B,
  187. FN_HSCIF0_HCTS_N, FN_VI0_R6, FN_SCIF0_RXD_D, FN_I2C0_SCL_E,
  188. FN_AVB_MAGIC, FN_SSI_SDATA7_B, FN_HSCIF0_HRTS_N, FN_VI0_R7,
  189. FN_SCIF0_TXD_D, FN_I2C0_SDA_E, FN_AVB_PHY_INT, FN_SSI_SDATA8_B,
  190. FN_HSCIF0_HSCK, FN_SCIF_CLK_B, FN_AVB_CRS, FN_AUDIO_CLKC_B,
  191. FN_I2C0_SCL, FN_SCIF0_RXD_C, FN_PWM5, FN_TCLK1_B, FN_AVB_GTXREFCLK,
  192. FN_CAN1_RX_D, FN_TPUTO0_B, FN_I2C0_SDA, FN_SCIF0_TXD_C, FN_TPUTO0,
  193. FN_CAN_CLK, FN_DVC_MUTE, FN_CAN1_TX_D, FN_I2C1_SCL, FN_SCIF4_RXD,
  194. FN_PWM5_B, FN_DU1_DR0, FN_RIF1_SYNC_B, FN_TS_SDATA_D, FN_TPUTO1_B,
  195. FN_I2C1_SDA, FN_SCIF4_TXD, FN_IRQ5, FN_DU1_DR1, FN_RIF1_CLK_B,
  196. FN_TS_SCK_D, FN_BPFCLK_C, FN_MSIOF0_RXD, FN_SCIF5_RXD, FN_I2C2_SCL_C,
  197. FN_DU1_DR2, FN_RIF1_D0_B, FN_TS_SDEN_D, FN_FMCLK_C, FN_RDS_CLK,
  198. /* IPSR9 */
  199. FN_MSIOF0_TXD, FN_SCIF5_TXD, FN_I2C2_SDA_C, FN_DU1_DR3, FN_RIF1_D1_B,
  200. FN_TS_SPSYNC_D, FN_FMIN_C, FN_RDS_DATA, FN_MSIOF0_SCK, FN_IRQ0,
  201. FN_TS_SDATA, FN_DU1_DR4, FN_RIF1_SYNC, FN_TPUTO1_C, FN_MSIOF0_SYNC,
  202. FN_PWM1, FN_TS_SCK, FN_DU1_DR5, FN_RIF1_CLK, FN_BPFCLK_B, FN_MSIOF0_SS1,
  203. FN_SCIFA0_RXD, FN_TS_SDEN, FN_DU1_DR6, FN_RIF1_D0, FN_FMCLK_B,
  204. FN_RDS_CLK_B, FN_MSIOF0_SS2, FN_SCIFA0_TXD, FN_TS_SPSYNC, FN_DU1_DR7,
  205. FN_RIF1_D1, FN_FMIN_B, FN_RDS_DATA_B, FN_HSCIF1_HRX, FN_I2C4_SCL,
  206. FN_PWM6, FN_DU1_DG0, FN_HSCIF1_HTX, FN_I2C4_SDA, FN_TPUTO1, FN_DU1_DG1,
  207. FN_HSCIF1_HSCK, FN_PWM2, FN_IETX, FN_DU1_DG2, FN_REMOCON_B,
  208. FN_SPEEDIN_B, FN_VSP_B, FN_HSCIF1_HCTS_N, FN_SCIFA4_RXD, FN_IECLK,
  209. FN_DU1_DG3, FN_SSI_SCK1_B, FN_CAN_DEBUG_HW_TRIGGER, FN_CC50_STATE32,
  210. FN_HSCIF1_HRTS_N, FN_SCIFA4_TXD, FN_IERX, FN_DU1_DG4, FN_SSI_WS1_B,
  211. FN_CAN_STEP0, FN_CC50_STATE33, FN_SCIF1_SCK, FN_PWM3, FN_TCLK2,
  212. FN_DU1_DG5, FN_SSI_SDATA1_B, FN_CAN_TXCLK, FN_CC50_STATE34,
  213. /* IPSR10 */
  214. FN_SCIF1_RXD, FN_IIC0_SCL, FN_DU1_DG6, FN_SSI_SCK2_B, FN_CAN_DEBUGOUT0,
  215. FN_CC50_STATE35, FN_SCIF1_TXD, FN_IIC0_SDA, FN_DU1_DG7, FN_SSI_WS2_B,
  216. FN_CAN_DEBUGOUT1, FN_CC50_STATE36, FN_SCIF2_RXD, FN_IIC1_SCL,
  217. FN_DU1_DB0, FN_SSI_SDATA2_B, FN_USB0_EXTLP, FN_CAN_DEBUGOUT2,
  218. FN_CC50_STATE37, FN_SCIF2_TXD, FN_IIC1_SDA, FN_DU1_DB1, FN_SSI_SCK9_B,
  219. FN_USB0_OVC1, FN_CAN_DEBUGOUT3, FN_CC50_STATE38, FN_SCIF2_SCK, FN_IRQ1,
  220. FN_DU1_DB2, FN_SSI_WS9_B, FN_USB0_IDIN, FN_CAN_DEBUGOUT4,
  221. FN_CC50_STATE39, FN_SCIF3_SCK, FN_IRQ2, FN_BPFCLK_D, FN_DU1_DB3,
  222. FN_SSI_SDATA9_B, FN_TANS2, FN_CAN_DEBUGOUT5, FN_CC50_OSCOUT,
  223. FN_SCIF3_RXD, FN_I2C1_SCL_E, FN_FMCLK_D, FN_DU1_DB4, FN_AUDIO_CLKA_C,
  224. FN_SSI_SCK4_B, FN_CAN_DEBUGOUT6, FN_RDS_CLK_C, FN_SCIF3_TXD,
  225. FN_I2C1_SDA_E, FN_FMIN_D, FN_DU1_DB5, FN_AUDIO_CLKB_C, FN_SSI_WS4_B,
  226. FN_CAN_DEBUGOUT7, FN_RDS_DATA_C, FN_I2C2_SCL, FN_SCIFA5_RXD, FN_DU1_DB6,
  227. FN_AUDIO_CLKC_C, FN_SSI_SDATA4_B, FN_CAN_DEBUGOUT8, FN_I2C2_SDA,
  228. FN_SCIFA5_TXD, FN_DU1_DB7, FN_AUDIO_CLKOUT_C, FN_CAN_DEBUGOUT9,
  229. FN_SSI_SCK5, FN_SCIFA3_SCK, FN_DU1_DOTCLKIN, FN_CAN_DEBUGOUT10,
  230. /* IPSR11 */
  231. FN_SSI_WS5, FN_SCIFA3_RXD, FN_I2C3_SCL_C, FN_DU1_DOTCLKOUT0,
  232. FN_CAN_DEBUGOUT11, FN_SSI_SDATA5, FN_SCIFA3_TXD, FN_I2C3_SDA_C,
  233. FN_DU1_DOTCLKOUT1, FN_CAN_DEBUGOUT12, FN_SSI_SCK6, FN_SCIFA1_SCK_B,
  234. FN_DU1_EXHSYNC_DU1_HSYNC, FN_CAN_DEBUGOUT13, FN_SSI_WS6,
  235. FN_SCIFA1_RXD_B, FN_I2C4_SCL_C, FN_DU1_EXVSYNC_DU1_VSYNC,
  236. FN_CAN_DEBUGOUT14, FN_SSI_SDATA6, FN_SCIFA1_TXD_B, FN_I2C4_SDA_C,
  237. FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_CAN_DEBUGOUT15, FN_SSI_SCK78,
  238. FN_SCIFA2_SCK_B, FN_IIC0_SDA_C, FN_DU1_DISP, FN_SSI_WS78,
  239. FN_SCIFA2_RXD_B, FN_IIC0_SCL_C, FN_DU1_CDE, FN_SSI_SDATA7,
  240. FN_SCIFA2_TXD_B, FN_IRQ8, FN_AUDIO_CLKA_D, FN_CAN_CLK_D, FN_PCMOE_N,
  241. FN_SSI_SCK0129, FN_MSIOF1_RXD_B, FN_SCIF5_RXD_D, FN_ADIDATA_B,
  242. FN_AD_DI_B, FN_PCMWE_N, FN_SSI_WS0129, FN_MSIOF1_TXD_B, FN_SCIF5_TXD_D,
  243. FN_ADICS_SAMP_B, FN_AD_DO_B, FN_SSI_SDATA0, FN_MSIOF1_SCK_B, FN_PWM0_B,
  244. FN_ADICLK_B, FN_AD_CLK_B,
  245. /* IPSR12 */
  246. FN_SSI_SCK34, FN_MSIOF1_SYNC_B, FN_SCIFA1_SCK_C, FN_ADICHS0_B,
  247. FN_AD_NCS_N_B, FN_DREQ1_N_B, FN_SSI_WS34, FN_MSIOF1_SS1_B,
  248. FN_SCIFA1_RXD_C, FN_ADICHS1_B, FN_CAN1_RX_C, FN_DACK1_B, FN_SSI_SDATA3,
  249. FN_MSIOF1_SS2_B, FN_SCIFA1_TXD_C, FN_ADICHS2_B, FN_CAN1_TX_C,
  250. FN_DREQ2_N, FN_SSI_SCK4, FN_MLB_CLK, FN_IETX_B, FN_IRD_TX, FN_SSI_WS4,
  251. FN_MLB_SIG, FN_IECLK_B, FN_IRD_RX, FN_SSI_SDATA4, FN_MLB_DAT,
  252. FN_IERX_B, FN_IRD_SCK, FN_SSI_SDATA8, FN_SCIF1_SCK_B,
  253. FN_PWM1_B, FN_IRQ9, FN_REMOCON, FN_DACK2, FN_ETH_MDIO_B, FN_SSI_SCK1,
  254. FN_SCIF1_RXD_B, FN_IIC1_SCL_C, FN_VI1_CLK, FN_CAN0_RX_D,
  255. FN_AVB_AVTP_CAPTURE, FN_ETH_CRS_DV_B, FN_SSI_WS1, FN_SCIF1_TXD_B,
  256. FN_IIC1_SDA_C, FN_VI1_DATA0, FN_CAN0_TX_D, FN_AVB_AVTP_MATCH,
  257. FN_ETH_RX_ER_B, FN_SSI_SDATA1, FN_HSCIF1_HRX_B, FN_SDATA, FN_VI1_DATA1,
  258. FN_ATAWR0_N, FN_ETH_RXD0_B, FN_SSI_SCK2, FN_HSCIF1_HTX_B, FN_VI1_DATA2,
  259. FN_MDATA, FN_ATAG0_N, FN_ETH_RXD1_B,
  260. /* IPSR13 */
  261. FN_SSI_WS2, FN_HSCIF1_HCTS_N_B, FN_SCIFA0_RXD_D, FN_VI1_DATA3, FN_SCKZ,
  262. FN_ATACS00_N, FN_ETH_LINK_B, FN_SSI_SDATA2, FN_HSCIF1_HRTS_N_B,
  263. FN_SCIFA0_TXD_D, FN_VI1_DATA4, FN_STM_N, FN_ATACS10_N, FN_ETH_REFCLK_B,
  264. FN_SSI_SCK9, FN_SCIF2_SCK_B, FN_PWM2_B, FN_VI1_DATA5, FN_MTS_N,
  265. FN_EX_WAIT1, FN_ETH_TXD1_B, FN_SSI_WS9, FN_SCIF2_RXD_B, FN_I2C3_SCL_E,
  266. FN_VI1_DATA6, FN_ATARD0_N, FN_ETH_TX_EN_B, FN_SSI_SDATA9,
  267. FN_SCIF2_TXD_B, FN_I2C3_SDA_E, FN_VI1_DATA7, FN_ATADIR0_N,
  268. FN_ETH_MAGIC_B, FN_AUDIO_CLKA, FN_I2C0_SCL_B, FN_SCIFA4_RXD_D,
  269. FN_VI1_CLKENB, FN_TS_SDATA_C, FN_RIF0_SYNC_B, FN_ETH_TXD0_B,
  270. FN_AUDIO_CLKB, FN_I2C0_SDA_B, FN_SCIFA4_TXD_D, FN_VI1_FIELD,
  271. FN_TS_SCK_C, FN_RIF0_CLK_B, FN_BPFCLK_E, FN_ETH_MDC_B, FN_AUDIO_CLKC,
  272. FN_I2C4_SCL_B, FN_SCIFA5_RXD_D, FN_VI1_HSYNC_N, FN_TS_SDEN_C,
  273. FN_RIF0_D0_B, FN_FMCLK_E, FN_RDS_CLK_D, FN_AUDIO_CLKOUT, FN_I2C4_SDA_B,
  274. FN_SCIFA5_TXD_D, FN_VI1_VSYNC_N, FN_TS_SPSYNC_C, FN_RIF0_D1_B,
  275. FN_FMIN_E, FN_RDS_DATA_D,
  276. /* MOD_SEL */
  277. FN_SEL_ADG_0, FN_SEL_ADG_1, FN_SEL_ADG_2, FN_SEL_ADG_3,
  278. FN_SEL_ADI_0, FN_SEL_ADI_1, FN_SEL_CAN_0, FN_SEL_CAN_1,
  279. FN_SEL_CAN_2, FN_SEL_CAN_3, FN_SEL_DARC_0, FN_SEL_DARC_1,
  280. FN_SEL_DARC_2, FN_SEL_DARC_3, FN_SEL_DARC_4, FN_SEL_DR0_0,
  281. FN_SEL_DR0_1, FN_SEL_DR1_0, FN_SEL_DR1_1, FN_SEL_DR2_0, FN_SEL_DR2_1,
  282. FN_SEL_DR3_0, FN_SEL_DR3_1, FN_SEL_ETH_0, FN_SEL_ETH_1, FN_SEL_FSN_0,
  283. FN_SEL_FSN_1, FN_SEL_I2C00_0, FN_SEL_I2C00_1, FN_SEL_I2C00_2,
  284. FN_SEL_I2C00_3, FN_SEL_I2C00_4, FN_SEL_I2C01_0, FN_SEL_I2C01_1,
  285. FN_SEL_I2C01_2, FN_SEL_I2C01_3, FN_SEL_I2C01_4, FN_SEL_I2C02_0,
  286. FN_SEL_I2C02_1, FN_SEL_I2C02_2, FN_SEL_I2C02_3, FN_SEL_I2C02_4,
  287. FN_SEL_I2C03_0, FN_SEL_I2C03_1, FN_SEL_I2C03_2, FN_SEL_I2C03_3,
  288. FN_SEL_I2C03_4, FN_SEL_I2C04_0, FN_SEL_I2C04_1, FN_SEL_I2C04_2,
  289. FN_SEL_I2C04_3, FN_SEL_I2C04_4, FN_SEL_IIC00_0, FN_SEL_IIC00_1,
  290. FN_SEL_IIC00_2, FN_SEL_IIC00_3, FN_SEL_AVB_0, FN_SEL_AVB_1,
  291. /* MOD_SEL2 */
  292. FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, FN_SEL_IIC01_0,
  293. FN_SEL_IIC01_1, FN_SEL_IIC01_2, FN_SEL_IIC01_3, FN_SEL_LBS_0,
  294. FN_SEL_LBS_1, FN_SEL_MSI1_0, FN_SEL_MSI1_1, FN_SEL_MSI2_0,
  295. FN_SEL_MSI2_1, FN_SEL_RAD_0, FN_SEL_RAD_1, FN_SEL_RCN_0,
  296. FN_SEL_RCN_1, FN_SEL_RSP_0, FN_SEL_RSP_1, FN_SEL_SCIFA0_0,
  297. FN_SEL_SCIFA0_1, FN_SEL_SCIFA0_2, FN_SEL_SCIFA0_3, FN_SEL_SCIFA1_0,
  298. FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
  299. FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1,
  300. FN_SEL_SCIFA4_2, FN_SEL_SCIFA4_3, FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1,
  301. FN_SEL_SCIFA5_2, FN_SEL_SCIFA5_3, FN_SEL_SPDM_0, FN_SEL_SPDM_1,
  302. FN_SEL_TMU_0, FN_SEL_TMU_1, FN_SEL_TSIF0_0, FN_SEL_TSIF0_1,
  303. FN_SEL_TSIF0_2, FN_SEL_TSIF0_3, FN_SEL_CAN0_0, FN_SEL_CAN0_1,
  304. FN_SEL_CAN0_2, FN_SEL_CAN0_3, FN_SEL_CAN1_0, FN_SEL_CAN1_1,
  305. FN_SEL_CAN1_2, FN_SEL_CAN1_3, FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1,
  306. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_RDS_0, FN_SEL_RDS_1,
  307. FN_SEL_RDS_2, FN_SEL_RDS_3,
  308. /* MOD_SEL3 */
  309. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
  310. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF2_0,
  311. FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, FN_SEL_SCIF3_0, FN_SEL_SCIF3_1,
  312. FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
  313. FN_SEL_SCIF4_4, FN_SEL_SCIF5_0, FN_SEL_SCIF5_1, FN_SEL_SCIF5_2,
  314. FN_SEL_SCIF5_3, FN_SEL_SSI1_0, FN_SEL_SSI1_1, FN_SEL_SSI2_0,
  315. FN_SEL_SSI2_1, FN_SEL_SSI4_0, FN_SEL_SSI4_1, FN_SEL_SSI5_0,
  316. FN_SEL_SSI5_1, FN_SEL_SSI6_0, FN_SEL_SSI6_1, FN_SEL_SSI7_0,
  317. FN_SEL_SSI7_1, FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI9_0,
  318. FN_SEL_SSI9_1,
  319. PINMUX_FUNCTION_END,
  320. PINMUX_MARK_BEGIN,
  321. A2_MARK, WE0_N_MARK, WE1_N_MARK, DACK0_MARK,
  322. USB0_PWEN_MARK, USB0_OVC_MARK, USB1_PWEN_MARK, USB1_OVC_MARK,
  323. SD0_CLK_MARK, SD0_CMD_MARK, SD0_DATA0_MARK, SD0_DATA1_MARK,
  324. SD0_DATA2_MARK, SD0_DATA3_MARK, SD0_CD_MARK, SD0_WP_MARK,
  325. SD1_CLK_MARK, SD1_CMD_MARK, SD1_DATA0_MARK, SD1_DATA1_MARK,
  326. SD1_DATA2_MARK, SD1_DATA3_MARK,
  327. /* IPSR0 */
  328. SD1_CD_MARK, CAN0_RX_MARK, SD1_WP_MARK, IRQ7_MARK, CAN0_TX_MARK,
  329. MMC_CLK_MARK, SD2_CLK_MARK, MMC_CMD_MARK, SD2_CMD_MARK, MMC_D0_MARK,
  330. SD2_DATA0_MARK, MMC_D1_MARK, SD2_DATA1_MARK, MMC_D2_MARK,
  331. SD2_DATA2_MARK, MMC_D3_MARK, SD2_DATA3_MARK, MMC_D4_MARK, SD2_CD_MARK,
  332. MMC_D5_MARK, SD2_WP_MARK, MMC_D6_MARK, SCIF0_RXD_MARK, I2C2_SCL_B_MARK,
  333. CAN1_RX_MARK, MMC_D7_MARK, SCIF0_TXD_MARK, I2C2_SDA_B_MARK,
  334. CAN1_TX_MARK, D0_MARK, SCIFA3_SCK_B_MARK, IRQ4_MARK, D1_MARK,
  335. SCIFA3_RXD_B_MARK, D2_MARK, SCIFA3_TXD_B_MARK, D3_MARK, I2C3_SCL_B_MARK,
  336. SCIF5_RXD_B_MARK, D4_MARK, I2C3_SDA_B_MARK, SCIF5_TXD_B_MARK, D5_MARK,
  337. SCIF4_RXD_B_MARK, I2C0_SCL_D_MARK,
  338. /* IPSR1 */
  339. D6_MARK, SCIF4_TXD_B_MARK, I2C0_SDA_D_MARK, D7_MARK, IRQ3_MARK,
  340. TCLK1_MARK, PWM6_B_MARK, D8_MARK, HSCIF2_HRX_MARK, I2C1_SCL_B_MARK,
  341. D9_MARK, HSCIF2_HTX_MARK, I2C1_SDA_B_MARK, D10_MARK,
  342. HSCIF2_HSCK_MARK, SCIF1_SCK_C_MARK, IRQ6_MARK, PWM5_C_MARK,
  343. D11_MARK, HSCIF2_HCTS_N_MARK, SCIF1_RXD_C_MARK, I2C1_SCL_D_MARK,
  344. D12_MARK, HSCIF2_HRTS_N_MARK, SCIF1_TXD_C_MARK, I2C1_SDA_D_MARK,
  345. D13_MARK, SCIFA1_SCK_MARK, TANS1_MARK, PWM2_C_MARK, TCLK2_B_MARK,
  346. D14_MARK, SCIFA1_RXD_MARK, IIC0_SCL_B_MARK, D15_MARK, SCIFA1_TXD_MARK,
  347. IIC0_SDA_B_MARK, A0_MARK, SCIFB1_SCK_MARK, PWM3_B_MARK, A1_MARK,
  348. SCIFB1_TXD_MARK, A3_MARK, SCIFB0_SCK_MARK, A4_MARK, SCIFB0_TXD_MARK,
  349. A5_MARK, SCIFB0_RXD_MARK, PWM4_B_MARK, TPUTO3_C_MARK, A6_MARK,
  350. SCIFB0_CTS_N_MARK, SCIFA4_RXD_B_MARK, TPUTO2_C_MARK,
  351. /* IPSR2 */
  352. A7_MARK, SCIFB0_RTS_N_MARK, SCIFA4_TXD_B_MARK, A8_MARK, MSIOF1_RXD_MARK,
  353. SCIFA0_RXD_B_MARK, A9_MARK, MSIOF1_TXD_MARK, SCIFA0_TXD_B_MARK,
  354. A10_MARK, MSIOF1_SCK_MARK, IIC1_SCL_B_MARK, A11_MARK, MSIOF1_SYNC_MARK,
  355. IIC1_SDA_B_MARK, A12_MARK, MSIOF1_SS1_MARK, SCIFA5_RXD_B_MARK,
  356. A13_MARK, MSIOF1_SS2_MARK, SCIFA5_TXD_B_MARK, A14_MARK, MSIOF2_RXD_MARK,
  357. HSCIF0_HRX_B_MARK, DREQ1_N_MARK, A15_MARK, MSIOF2_TXD_MARK,
  358. HSCIF0_HTX_B_MARK, DACK1_MARK, A16_MARK, MSIOF2_SCK_MARK,
  359. HSCIF0_HSCK_B_MARK, SPEEDIN_MARK, VSP_MARK, CAN_CLK_C_MARK,
  360. TPUTO2_B_MARK, A17_MARK, MSIOF2_SYNC_MARK, SCIF4_RXD_E_MARK,
  361. CAN1_RX_B_MARK, AVB_AVTP_CAPTURE_B_MARK, A18_MARK, MSIOF2_SS1_MARK,
  362. SCIF4_TXD_E_MARK, CAN1_TX_B_MARK, AVB_AVTP_MATCH_B_MARK, A19_MARK,
  363. MSIOF2_SS2_MARK, PWM4_MARK, TPUTO2_MARK, MOUT0_MARK, A20_MARK,
  364. SPCLK_MARK, MOUT1_MARK,
  365. /* IPSR3 */
  366. A21_MARK, MOSI_IO0_MARK, MOUT2_MARK, A22_MARK, MISO_IO1_MARK,
  367. MOUT5_MARK, ATADIR1_N_MARK, A23_MARK, IO2_MARK, MOUT6_MARK,
  368. ATAWR1_N_MARK, A24_MARK, IO3_MARK, EX_WAIT2_MARK, A25_MARK, SSL_MARK,
  369. ATARD1_N_MARK, CS0_N_MARK, VI1_DATA8_MARK, CS1_N_A26_MARK,
  370. VI1_DATA9_MARK, EX_CS0_N_MARK, VI1_DATA10_MARK, EX_CS1_N_MARK,
  371. TPUTO3_B_MARK, SCIFB2_RXD_MARK, VI1_DATA11_MARK, EX_CS2_N_MARK,
  372. PWM0_MARK, SCIF4_RXD_C_MARK, TS_SDATA_B_MARK, RIF0_SYNC_MARK,
  373. TPUTO3_MARK, SCIFB2_TXD_MARK, SDATA_B_MARK, EX_CS3_N_MARK,
  374. SCIFA2_SCK_MARK, SCIF4_TXD_C_MARK, TS_SCK_B_MARK, RIF0_CLK_MARK,
  375. BPFCLK_MARK, SCIFB2_SCK_MARK, MDATA_B_MARK, EX_CS4_N_MARK,
  376. SCIFA2_RXD_MARK, I2C2_SCL_E_MARK, TS_SDEN_B_MARK, RIF0_D0_MARK,
  377. FMCLK_MARK, SCIFB2_CTS_N_MARK, SCKZ_B_MARK, EX_CS5_N_MARK,
  378. SCIFA2_TXD_MARK, I2C2_SDA_E_MARK, TS_SPSYNC_B_MARK, RIF0_D1_MARK,
  379. FMIN_MARK, SCIFB2_RTS_N_MARK, STM_N_B_MARK, BS_N_MARK, DRACK0_MARK,
  380. PWM1_C_MARK, TPUTO0_C_MARK, ATACS01_N_MARK, MTS_N_B_MARK, RD_N_MARK,
  381. ATACS11_N_MARK, RD_WR_N_MARK, ATAG1_N_MARK,
  382. /* IPSR4 */
  383. EX_WAIT0_MARK, CAN_CLK_B_MARK, SCIF_CLK_MARK, PWMFSW0_MARK,
  384. DU0_DR0_MARK, LCDOUT16_MARK, SCIF5_RXD_C_MARK, I2C2_SCL_D_MARK,
  385. CC50_STATE0_MARK, DU0_DR1_MARK, LCDOUT17_MARK, SCIF5_TXD_C_MARK,
  386. I2C2_SDA_D_MARK, CC50_STATE1_MARK, DU0_DR2_MARK, LCDOUT18_MARK,
  387. CC50_STATE2_MARK, DU0_DR3_MARK, LCDOUT19_MARK, CC50_STATE3_MARK,
  388. DU0_DR4_MARK, LCDOUT20_MARK, CC50_STATE4_MARK, DU0_DR5_MARK,
  389. LCDOUT21_MARK, CC50_STATE5_MARK, DU0_DR6_MARK, LCDOUT22_MARK,
  390. CC50_STATE6_MARK, DU0_DR7_MARK, LCDOUT23_MARK, CC50_STATE7_MARK,
  391. DU0_DG0_MARK, LCDOUT8_MARK, SCIFA0_RXD_C_MARK, I2C3_SCL_D_MARK,
  392. CC50_STATE8_MARK, DU0_DG1_MARK, LCDOUT9_MARK, SCIFA0_TXD_C_MARK,
  393. I2C3_SDA_D_MARK, CC50_STATE9_MARK, DU0_DG2_MARK, LCDOUT10_MARK,
  394. CC50_STATE10_MARK, DU0_DG3_MARK, LCDOUT11_MARK, CC50_STATE11_MARK,
  395. DU0_DG4_MARK, LCDOUT12_MARK, CC50_STATE12_MARK,
  396. /* IPSR5 */
  397. DU0_DG5_MARK, LCDOUT13_MARK, CC50_STATE13_MARK, DU0_DG6_MARK,
  398. LCDOUT14_MARK, CC50_STATE14_MARK, DU0_DG7_MARK, LCDOUT15_MARK,
  399. CC50_STATE15_MARK, DU0_DB0_MARK, LCDOUT0_MARK, SCIFA4_RXD_C_MARK,
  400. I2C4_SCL_D_MARK, CAN0_RX_C_MARK, CC50_STATE16_MARK, DU0_DB1_MARK,
  401. LCDOUT1_MARK, SCIFA4_TXD_C_MARK, I2C4_SDA_D_MARK, CAN0_TX_C_MARK,
  402. CC50_STATE17_MARK, DU0_DB2_MARK, LCDOUT2_MARK, CC50_STATE18_MARK,
  403. DU0_DB3_MARK, LCDOUT3_MARK, CC50_STATE19_MARK, DU0_DB4_MARK,
  404. LCDOUT4_MARK, CC50_STATE20_MARK, DU0_DB5_MARK, LCDOUT5_MARK,
  405. CC50_STATE21_MARK, DU0_DB6_MARK, LCDOUT6_MARK, CC50_STATE22_MARK,
  406. DU0_DB7_MARK, LCDOUT7_MARK, CC50_STATE23_MARK, DU0_DOTCLKIN_MARK,
  407. QSTVA_QVS_MARK, CC50_STATE24_MARK, DU0_DOTCLKOUT0_MARK,
  408. QCLK_MARK, CC50_STATE25_MARK, DU0_DOTCLKOUT1_MARK, QSTVB_QVE_MARK,
  409. CC50_STATE26_MARK, DU0_EXHSYNC_DU0_HSYNC_MARK, QSTH_QHS_MARK,
  410. CC50_STATE27_MARK,
  411. /* IPSR6 */
  412. DU0_EXVSYNC_DU0_VSYNC_MARK, QSTB_QHE_MARK, CC50_STATE28_MARK,
  413. DU0_EXODDF_DU0_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK, CC50_STATE29_MARK,
  414. DU0_DISP_MARK, QPOLA_MARK, CC50_STATE30_MARK, DU0_CDE_MARK, QPOLB_MARK,
  415. CC50_STATE31_MARK, VI0_CLK_MARK, AVB_RX_CLK_MARK, VI0_DATA0_VI0_B0_MARK,
  416. AVB_RX_DV_MARK, VI0_DATA1_VI0_B1_MARK, AVB_RXD0_MARK,
  417. VI0_DATA2_VI0_B2_MARK, AVB_RXD1_MARK, VI0_DATA3_VI0_B3_MARK,
  418. AVB_RXD2_MARK, VI0_DATA4_VI0_B4_MARK, AVB_RXD3_MARK,
  419. VI0_DATA5_VI0_B5_MARK, AVB_RXD4_MARK, VI0_DATA6_VI0_B6_MARK,
  420. AVB_RXD5_MARK, VI0_DATA7_VI0_B7_MARK, AVB_RXD6_MARK, VI0_CLKENB_MARK,
  421. I2C3_SCL_MARK, SCIFA5_RXD_C_MARK, IETX_C_MARK, AVB_RXD7_MARK,
  422. VI0_FIELD_MARK, I2C3_SDA_MARK, SCIFA5_TXD_C_MARK, IECLK_C_MARK,
  423. AVB_RX_ER_MARK, VI0_HSYNC_N_MARK, SCIF0_RXD_B_MARK, I2C0_SCL_C_MARK,
  424. IERX_C_MARK, AVB_COL_MARK, VI0_VSYNC_N_MARK, SCIF0_TXD_B_MARK,
  425. I2C0_SDA_C_MARK, AUDIO_CLKOUT_B_MARK, AVB_TX_EN_MARK, ETH_MDIO_MARK,
  426. VI0_G0_MARK, MSIOF2_RXD_B_MARK, IIC0_SCL_D_MARK, AVB_TX_CLK_MARK,
  427. ADIDATA_MARK, AD_DI_MARK,
  428. /* IPSR7 */
  429. ETH_CRS_DV_MARK, VI0_G1_MARK, MSIOF2_TXD_B_MARK, IIC0_SDA_D_MARK,
  430. AVB_TXD0_MARK, ADICS_SAMP_MARK, AD_DO_MARK, ETH_RX_ER_MARK, VI0_G2_MARK,
  431. MSIOF2_SCK_B_MARK, CAN0_RX_B_MARK, AVB_TXD1_MARK, ADICLK_MARK,
  432. AD_CLK_MARK, ETH_RXD0_MARK, VI0_G3_MARK, MSIOF2_SYNC_B_MARK,
  433. CAN0_TX_B_MARK, AVB_TXD2_MARK, ADICHS0_MARK, AD_NCS_N_MARK,
  434. ETH_RXD1_MARK, VI0_G4_MARK, MSIOF2_SS1_B_MARK, SCIF4_RXD_D_MARK,
  435. AVB_TXD3_MARK, ADICHS1_MARK, ETH_LINK_MARK, VI0_G5_MARK,
  436. MSIOF2_SS2_B_MARK, SCIF4_TXD_D_MARK, AVB_TXD4_MARK, ADICHS2_MARK,
  437. ETH_REFCLK_MARK, VI0_G6_MARK, SCIF2_SCK_C_MARK, AVB_TXD5_MARK,
  438. SSI_SCK5_B_MARK, ETH_TXD1_MARK, VI0_G7_MARK, SCIF2_RXD_C_MARK,
  439. IIC1_SCL_D_MARK, AVB_TXD6_MARK, SSI_WS5_B_MARK, ETH_TX_EN_MARK,
  440. VI0_R0_MARK, SCIF2_TXD_C_MARK, IIC1_SDA_D_MARK, AVB_TXD7_MARK,
  441. SSI_SDATA5_B_MARK, ETH_MAGIC_MARK, VI0_R1_MARK, SCIF3_SCK_B_MARK,
  442. AVB_TX_ER_MARK, SSI_SCK6_B_MARK, ETH_TXD0_MARK, VI0_R2_MARK,
  443. SCIF3_RXD_B_MARK, I2C4_SCL_E_MARK, AVB_GTX_CLK_MARK, SSI_WS6_B_MARK,
  444. DREQ0_N_MARK, SCIFB1_RXD_MARK,
  445. /* IPSR8 */
  446. ETH_MDC_MARK, VI0_R3_MARK, SCIF3_TXD_B_MARK, I2C4_SDA_E_MARK,
  447. AVB_MDC_MARK, SSI_SDATA6_B_MARK, HSCIF0_HRX_MARK, VI0_R4_MARK,
  448. I2C1_SCL_C_MARK, AUDIO_CLKA_B_MARK, AVB_MDIO_MARK, SSI_SCK78_B_MARK,
  449. HSCIF0_HTX_MARK, VI0_R5_MARK, I2C1_SDA_C_MARK, AUDIO_CLKB_B_MARK,
  450. AVB_LINK_MARK, SSI_WS78_B_MARK, HSCIF0_HCTS_N_MARK, VI0_R6_MARK,
  451. SCIF0_RXD_D_MARK, I2C0_SCL_E_MARK, AVB_MAGIC_MARK, SSI_SDATA7_B_MARK,
  452. HSCIF0_HRTS_N_MARK, VI0_R7_MARK, SCIF0_TXD_D_MARK, I2C0_SDA_E_MARK,
  453. AVB_PHY_INT_MARK, SSI_SDATA8_B_MARK,
  454. HSCIF0_HSCK_MARK, SCIF_CLK_B_MARK, AVB_CRS_MARK, AUDIO_CLKC_B_MARK,
  455. I2C0_SCL_MARK, SCIF0_RXD_C_MARK, PWM5_MARK, TCLK1_B_MARK,
  456. AVB_GTXREFCLK_MARK, CAN1_RX_D_MARK, TPUTO0_B_MARK, I2C0_SDA_MARK,
  457. SCIF0_TXD_C_MARK, TPUTO0_MARK, CAN_CLK_MARK, DVC_MUTE_MARK,
  458. CAN1_TX_D_MARK, I2C1_SCL_MARK, SCIF4_RXD_MARK, PWM5_B_MARK,
  459. DU1_DR0_MARK, RIF1_SYNC_B_MARK, TS_SDATA_D_MARK, TPUTO1_B_MARK,
  460. I2C1_SDA_MARK, SCIF4_TXD_MARK, IRQ5_MARK, DU1_DR1_MARK, RIF1_CLK_B_MARK,
  461. TS_SCK_D_MARK, BPFCLK_C_MARK, MSIOF0_RXD_MARK, SCIF5_RXD_MARK,
  462. I2C2_SCL_C_MARK, DU1_DR2_MARK, RIF1_D0_B_MARK, TS_SDEN_D_MARK,
  463. FMCLK_C_MARK, RDS_CLK_MARK,
  464. /* IPSR9 */
  465. MSIOF0_TXD_MARK, SCIF5_TXD_MARK, I2C2_SDA_C_MARK, DU1_DR3_MARK,
  466. RIF1_D1_B_MARK, TS_SPSYNC_D_MARK, FMIN_C_MARK, RDS_DATA_MARK,
  467. MSIOF0_SCK_MARK, IRQ0_MARK, TS_SDATA_MARK, DU1_DR4_MARK, RIF1_SYNC_MARK,
  468. TPUTO1_C_MARK, MSIOF0_SYNC_MARK, PWM1_MARK, TS_SCK_MARK, DU1_DR5_MARK,
  469. RIF1_CLK_MARK, BPFCLK_B_MARK, MSIOF0_SS1_MARK, SCIFA0_RXD_MARK,
  470. TS_SDEN_MARK, DU1_DR6_MARK, RIF1_D0_MARK, FMCLK_B_MARK, RDS_CLK_B_MARK,
  471. MSIOF0_SS2_MARK, SCIFA0_TXD_MARK, TS_SPSYNC_MARK, DU1_DR7_MARK,
  472. RIF1_D1_MARK, FMIN_B_MARK, RDS_DATA_B_MARK, HSCIF1_HRX_MARK,
  473. I2C4_SCL_MARK, PWM6_MARK, DU1_DG0_MARK, HSCIF1_HTX_MARK,
  474. I2C4_SDA_MARK, TPUTO1_MARK, DU1_DG1_MARK, HSCIF1_HSCK_MARK,
  475. PWM2_MARK, IETX_MARK, DU1_DG2_MARK, REMOCON_B_MARK, SPEEDIN_B_MARK,
  476. VSP_B_MARK, HSCIF1_HCTS_N_MARK, SCIFA4_RXD_MARK, IECLK_MARK,
  477. DU1_DG3_MARK, SSI_SCK1_B_MARK, CAN_DEBUG_HW_TRIGGER_MARK,
  478. CC50_STATE32_MARK, HSCIF1_HRTS_N_MARK, SCIFA4_TXD_MARK, IERX_MARK,
  479. DU1_DG4_MARK, SSI_WS1_B_MARK, CAN_STEP0_MARK, CC50_STATE33_MARK,
  480. SCIF1_SCK_MARK, PWM3_MARK, TCLK2_MARK, DU1_DG5_MARK, SSI_SDATA1_B_MARK,
  481. CAN_TXCLK_MARK, CC50_STATE34_MARK,
  482. /* IPSR10 */
  483. SCIF1_RXD_MARK, IIC0_SCL_MARK, DU1_DG6_MARK, SSI_SCK2_B_MARK,
  484. CAN_DEBUGOUT0_MARK, CC50_STATE35_MARK, SCIF1_TXD_MARK, IIC0_SDA_MARK,
  485. DU1_DG7_MARK, SSI_WS2_B_MARK, CAN_DEBUGOUT1_MARK, CC50_STATE36_MARK,
  486. SCIF2_RXD_MARK, IIC1_SCL_MARK, DU1_DB0_MARK, SSI_SDATA2_B_MARK,
  487. USB0_EXTLP_MARK, CAN_DEBUGOUT2_MARK, CC50_STATE37_MARK, SCIF2_TXD_MARK,
  488. IIC1_SDA_MARK, DU1_DB1_MARK, SSI_SCK9_B_MARK, USB0_OVC1_MARK,
  489. CAN_DEBUGOUT3_MARK, CC50_STATE38_MARK, SCIF2_SCK_MARK, IRQ1_MARK,
  490. DU1_DB2_MARK, SSI_WS9_B_MARK, USB0_IDIN_MARK, CAN_DEBUGOUT4_MARK,
  491. CC50_STATE39_MARK, SCIF3_SCK_MARK, IRQ2_MARK, BPFCLK_D_MARK,
  492. DU1_DB3_MARK, SSI_SDATA9_B_MARK, TANS2_MARK, CAN_DEBUGOUT5_MARK,
  493. CC50_OSCOUT_MARK, SCIF3_RXD_MARK, I2C1_SCL_E_MARK, FMCLK_D_MARK,
  494. DU1_DB4_MARK, AUDIO_CLKA_C_MARK, SSI_SCK4_B_MARK, CAN_DEBUGOUT6_MARK,
  495. RDS_CLK_C_MARK, SCIF3_TXD_MARK, I2C1_SDA_E_MARK, FMIN_D_MARK,
  496. DU1_DB5_MARK, AUDIO_CLKB_C_MARK, SSI_WS4_B_MARK, CAN_DEBUGOUT7_MARK,
  497. RDS_DATA_C_MARK, I2C2_SCL_MARK, SCIFA5_RXD_MARK, DU1_DB6_MARK,
  498. AUDIO_CLKC_C_MARK, SSI_SDATA4_B_MARK, CAN_DEBUGOUT8_MARK, I2C2_SDA_MARK,
  499. SCIFA5_TXD_MARK, DU1_DB7_MARK, AUDIO_CLKOUT_C_MARK, CAN_DEBUGOUT9_MARK,
  500. SSI_SCK5_MARK, SCIFA3_SCK_MARK, DU1_DOTCLKIN_MARK, CAN_DEBUGOUT10_MARK,
  501. /* IPSR11 */
  502. SSI_WS5_MARK, SCIFA3_RXD_MARK, I2C3_SCL_C_MARK, DU1_DOTCLKOUT0_MARK,
  503. CAN_DEBUGOUT11_MARK, SSI_SDATA5_MARK, SCIFA3_TXD_MARK, I2C3_SDA_C_MARK,
  504. DU1_DOTCLKOUT1_MARK, CAN_DEBUGOUT12_MARK, SSI_SCK6_MARK,
  505. SCIFA1_SCK_B_MARK, DU1_EXHSYNC_DU1_HSYNC_MARK, CAN_DEBUGOUT13_MARK,
  506. SSI_WS6_MARK, SCIFA1_RXD_B_MARK, I2C4_SCL_C_MARK,
  507. DU1_EXVSYNC_DU1_VSYNC_MARK, CAN_DEBUGOUT14_MARK, SSI_SDATA6_MARK,
  508. SCIFA1_TXD_B_MARK, I2C4_SDA_C_MARK, DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK,
  509. CAN_DEBUGOUT15_MARK, SSI_SCK78_MARK, SCIFA2_SCK_B_MARK, IIC0_SDA_C_MARK,
  510. DU1_DISP_MARK, SSI_WS78_MARK, SCIFA2_RXD_B_MARK, IIC0_SCL_C_MARK,
  511. DU1_CDE_MARK, SSI_SDATA7_MARK, SCIFA2_TXD_B_MARK, IRQ8_MARK,
  512. AUDIO_CLKA_D_MARK, CAN_CLK_D_MARK, PCMOE_N_MARK, SSI_SCK0129_MARK,
  513. MSIOF1_RXD_B_MARK, SCIF5_RXD_D_MARK, ADIDATA_B_MARK, AD_DI_B_MARK,
  514. PCMWE_N_MARK, SSI_WS0129_MARK, MSIOF1_TXD_B_MARK, SCIF5_TXD_D_MARK,
  515. ADICS_SAMP_B_MARK, AD_DO_B_MARK, SSI_SDATA0_MARK, MSIOF1_SCK_B_MARK,
  516. PWM0_B_MARK, ADICLK_B_MARK, AD_CLK_B_MARK,
  517. /* IPSR12 */
  518. SSI_SCK34_MARK, MSIOF1_SYNC_B_MARK, SCIFA1_SCK_C_MARK, ADICHS0_B_MARK,
  519. AD_NCS_N_B_MARK, DREQ1_N_B_MARK, SSI_WS34_MARK, MSIOF1_SS1_B_MARK,
  520. SCIFA1_RXD_C_MARK, ADICHS1_B_MARK, CAN1_RX_C_MARK, DACK1_B_MARK,
  521. SSI_SDATA3_MARK, MSIOF1_SS2_B_MARK, SCIFA1_TXD_C_MARK, ADICHS2_B_MARK,
  522. CAN1_TX_C_MARK, DREQ2_N_MARK, SSI_SCK4_MARK, MLB_CLK_MARK, IETX_B_MARK,
  523. IRD_TX_MARK, SSI_WS4_MARK, MLB_SIG_MARK, IECLK_B_MARK, IRD_RX_MARK,
  524. SSI_SDATA4_MARK, MLB_DAT_MARK, IERX_B_MARK, IRD_SCK_MARK,
  525. SSI_SDATA8_MARK, SCIF1_SCK_B_MARK, PWM1_B_MARK, IRQ9_MARK, REMOCON_MARK,
  526. DACK2_MARK, ETH_MDIO_B_MARK, SSI_SCK1_MARK, SCIF1_RXD_B_MARK,
  527. IIC1_SCL_C_MARK, VI1_CLK_MARK, CAN0_RX_D_MARK, AVB_AVTP_CAPTURE_MARK,
  528. ETH_CRS_DV_B_MARK, SSI_WS1_MARK, SCIF1_TXD_B_MARK, IIC1_SDA_C_MARK,
  529. VI1_DATA0_MARK, CAN0_TX_D_MARK, AVB_AVTP_MATCH_MARK, ETH_RX_ER_B_MARK,
  530. SSI_SDATA1_MARK, HSCIF1_HRX_B_MARK, VI1_DATA1_MARK, SDATA_MARK,
  531. ATAWR0_N_MARK, ETH_RXD0_B_MARK, SSI_SCK2_MARK, HSCIF1_HTX_B_MARK,
  532. VI1_DATA2_MARK, MDATA_MARK, ATAG0_N_MARK, ETH_RXD1_B_MARK,
  533. /* IPSR13 */
  534. SSI_WS2_MARK, HSCIF1_HCTS_N_B_MARK, SCIFA0_RXD_D_MARK, VI1_DATA3_MARK,
  535. SCKZ_MARK, ATACS00_N_MARK, ETH_LINK_B_MARK, SSI_SDATA2_MARK,
  536. HSCIF1_HRTS_N_B_MARK, SCIFA0_TXD_D_MARK, VI1_DATA4_MARK, STM_N_MARK,
  537. ATACS10_N_MARK, ETH_REFCLK_B_MARK, SSI_SCK9_MARK, SCIF2_SCK_B_MARK,
  538. PWM2_B_MARK, VI1_DATA5_MARK, MTS_N_MARK, EX_WAIT1_MARK,
  539. ETH_TXD1_B_MARK, SSI_WS9_MARK, SCIF2_RXD_B_MARK, I2C3_SCL_E_MARK,
  540. VI1_DATA6_MARK, ATARD0_N_MARK, ETH_TX_EN_B_MARK, SSI_SDATA9_MARK,
  541. SCIF2_TXD_B_MARK, I2C3_SDA_E_MARK, VI1_DATA7_MARK, ATADIR0_N_MARK,
  542. ETH_MAGIC_B_MARK, AUDIO_CLKA_MARK, I2C0_SCL_B_MARK, SCIFA4_RXD_D_MARK,
  543. VI1_CLKENB_MARK, TS_SDATA_C_MARK, RIF0_SYNC_B_MARK, ETH_TXD0_B_MARK,
  544. AUDIO_CLKB_MARK, I2C0_SDA_B_MARK, SCIFA4_TXD_D_MARK, VI1_FIELD_MARK,
  545. TS_SCK_C_MARK, RIF0_CLK_B_MARK, BPFCLK_E_MARK, ETH_MDC_B_MARK,
  546. AUDIO_CLKC_MARK, I2C4_SCL_B_MARK, SCIFA5_RXD_D_MARK, VI1_HSYNC_N_MARK,
  547. TS_SDEN_C_MARK, RIF0_D0_B_MARK, FMCLK_E_MARK, RDS_CLK_D_MARK,
  548. AUDIO_CLKOUT_MARK, I2C4_SDA_B_MARK, SCIFA5_TXD_D_MARK, VI1_VSYNC_N_MARK,
  549. TS_SPSYNC_C_MARK, RIF0_D1_B_MARK, FMIN_E_MARK, RDS_DATA_D_MARK,
  550. PINMUX_MARK_END,
  551. };
  552. static const u16 pinmux_data[] = {
  553. PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
  554. PINMUX_SINGLE(A2),
  555. PINMUX_SINGLE(WE0_N),
  556. PINMUX_SINGLE(WE1_N),
  557. PINMUX_SINGLE(DACK0),
  558. PINMUX_SINGLE(USB0_PWEN),
  559. PINMUX_SINGLE(USB0_OVC),
  560. PINMUX_SINGLE(USB1_PWEN),
  561. PINMUX_SINGLE(USB1_OVC),
  562. PINMUX_SINGLE(SD0_CLK),
  563. PINMUX_SINGLE(SD0_CMD),
  564. PINMUX_SINGLE(SD0_DATA0),
  565. PINMUX_SINGLE(SD0_DATA1),
  566. PINMUX_SINGLE(SD0_DATA2),
  567. PINMUX_SINGLE(SD0_DATA3),
  568. PINMUX_SINGLE(SD0_CD),
  569. PINMUX_SINGLE(SD0_WP),
  570. PINMUX_SINGLE(SD1_CLK),
  571. PINMUX_SINGLE(SD1_CMD),
  572. PINMUX_SINGLE(SD1_DATA0),
  573. PINMUX_SINGLE(SD1_DATA1),
  574. PINMUX_SINGLE(SD1_DATA2),
  575. PINMUX_SINGLE(SD1_DATA3),
  576. /* IPSR0 */
  577. PINMUX_IPSR_GPSR(IP0_0, SD1_CD),
  578. PINMUX_IPSR_MSEL(IP0_0, CAN0_RX, SEL_CAN0_0),
  579. PINMUX_IPSR_GPSR(IP0_9_8, SD1_WP),
  580. PINMUX_IPSR_GPSR(IP0_9_8, IRQ7),
  581. PINMUX_IPSR_MSEL(IP0_9_8, CAN0_TX, SEL_CAN0_0),
  582. PINMUX_IPSR_GPSR(IP0_10, MMC_CLK),
  583. PINMUX_IPSR_GPSR(IP0_10, SD2_CLK),
  584. PINMUX_IPSR_GPSR(IP0_11, MMC_CMD),
  585. PINMUX_IPSR_GPSR(IP0_11, SD2_CMD),
  586. PINMUX_IPSR_GPSR(IP0_12, MMC_D0),
  587. PINMUX_IPSR_GPSR(IP0_12, SD2_DATA0),
  588. PINMUX_IPSR_GPSR(IP0_13, MMC_D1),
  589. PINMUX_IPSR_GPSR(IP0_13, SD2_DATA1),
  590. PINMUX_IPSR_GPSR(IP0_14, MMC_D2),
  591. PINMUX_IPSR_GPSR(IP0_14, SD2_DATA2),
  592. PINMUX_IPSR_GPSR(IP0_15, MMC_D3),
  593. PINMUX_IPSR_GPSR(IP0_15, SD2_DATA3),
  594. PINMUX_IPSR_GPSR(IP0_16, MMC_D4),
  595. PINMUX_IPSR_GPSR(IP0_16, SD2_CD),
  596. PINMUX_IPSR_GPSR(IP0_17, MMC_D5),
  597. PINMUX_IPSR_GPSR(IP0_17, SD2_WP),
  598. PINMUX_IPSR_GPSR(IP0_19_18, MMC_D6),
  599. PINMUX_IPSR_MSEL(IP0_19_18, SCIF0_RXD, SEL_SCIF0_0),
  600. PINMUX_IPSR_MSEL(IP0_19_18, I2C2_SCL_B, SEL_I2C02_1),
  601. PINMUX_IPSR_MSEL(IP0_19_18, CAN1_RX, SEL_CAN1_0),
  602. PINMUX_IPSR_GPSR(IP0_21_20, MMC_D7),
  603. PINMUX_IPSR_MSEL(IP0_21_20, SCIF0_TXD, SEL_SCIF0_0),
  604. PINMUX_IPSR_MSEL(IP0_21_20, I2C2_SDA_B, SEL_I2C02_1),
  605. PINMUX_IPSR_MSEL(IP0_21_20, CAN1_TX, SEL_CAN1_0),
  606. PINMUX_IPSR_GPSR(IP0_23_22, D0),
  607. PINMUX_IPSR_MSEL(IP0_23_22, SCIFA3_SCK_B, SEL_SCIFA3_1),
  608. PINMUX_IPSR_GPSR(IP0_23_22, IRQ4),
  609. PINMUX_IPSR_GPSR(IP0_24, D1),
  610. PINMUX_IPSR_MSEL(IP0_24, SCIFA3_RXD_B, SEL_SCIFA3_1),
  611. PINMUX_IPSR_GPSR(IP0_25, D2),
  612. PINMUX_IPSR_MSEL(IP0_25, SCIFA3_TXD_B, SEL_SCIFA3_1),
  613. PINMUX_IPSR_GPSR(IP0_27_26, D3),
  614. PINMUX_IPSR_MSEL(IP0_27_26, I2C3_SCL_B, SEL_I2C03_1),
  615. PINMUX_IPSR_MSEL(IP0_27_26, SCIF5_RXD_B, SEL_SCIF5_1),
  616. PINMUX_IPSR_GPSR(IP0_29_28, D4),
  617. PINMUX_IPSR_MSEL(IP0_29_28, I2C3_SDA_B, SEL_I2C03_1),
  618. PINMUX_IPSR_MSEL(IP0_29_28, SCIF5_TXD_B, SEL_SCIF5_1),
  619. PINMUX_IPSR_GPSR(IP0_31_30, D5),
  620. PINMUX_IPSR_MSEL(IP0_31_30, SCIF4_RXD_B, SEL_SCIF4_1),
  621. PINMUX_IPSR_MSEL(IP0_31_30, I2C0_SCL_D, SEL_I2C00_3),
  622. /* IPSR1 */
  623. PINMUX_IPSR_GPSR(IP1_1_0, D6),
  624. PINMUX_IPSR_MSEL(IP1_1_0, SCIF4_TXD_B, SEL_SCIF4_1),
  625. PINMUX_IPSR_MSEL(IP1_1_0, I2C0_SDA_D, SEL_I2C00_3),
  626. PINMUX_IPSR_GPSR(IP1_3_2, D7),
  627. PINMUX_IPSR_GPSR(IP1_3_2, IRQ3),
  628. PINMUX_IPSR_MSEL(IP1_3_2, TCLK1, SEL_TMU_0),
  629. PINMUX_IPSR_GPSR(IP1_3_2, PWM6_B),
  630. PINMUX_IPSR_GPSR(IP1_5_4, D8),
  631. PINMUX_IPSR_GPSR(IP1_5_4, HSCIF2_HRX),
  632. PINMUX_IPSR_MSEL(IP1_5_4, I2C1_SCL_B, SEL_I2C01_1),
  633. PINMUX_IPSR_GPSR(IP1_7_6, D9),
  634. PINMUX_IPSR_GPSR(IP1_7_6, HSCIF2_HTX),
  635. PINMUX_IPSR_MSEL(IP1_7_6, I2C1_SDA_B, SEL_I2C01_1),
  636. PINMUX_IPSR_GPSR(IP1_10_8, D10),
  637. PINMUX_IPSR_GPSR(IP1_10_8, HSCIF2_HSCK),
  638. PINMUX_IPSR_MSEL(IP1_10_8, SCIF1_SCK_C, SEL_SCIF1_2),
  639. PINMUX_IPSR_GPSR(IP1_10_8, IRQ6),
  640. PINMUX_IPSR_GPSR(IP1_10_8, PWM5_C),
  641. PINMUX_IPSR_GPSR(IP1_12_11, D11),
  642. PINMUX_IPSR_GPSR(IP1_12_11, HSCIF2_HCTS_N),
  643. PINMUX_IPSR_MSEL(IP1_12_11, SCIF1_RXD_C, SEL_SCIF1_2),
  644. PINMUX_IPSR_MSEL(IP1_12_11, I2C1_SCL_D, SEL_I2C01_3),
  645. PINMUX_IPSR_GPSR(IP1_14_13, D12),
  646. PINMUX_IPSR_GPSR(IP1_14_13, HSCIF2_HRTS_N),
  647. PINMUX_IPSR_MSEL(IP1_14_13, SCIF1_TXD_C, SEL_SCIF1_2),
  648. PINMUX_IPSR_MSEL(IP1_14_13, I2C1_SDA_D, SEL_I2C01_3),
  649. PINMUX_IPSR_GPSR(IP1_17_15, D13),
  650. PINMUX_IPSR_MSEL(IP1_17_15, SCIFA1_SCK, SEL_SCIFA1_0),
  651. PINMUX_IPSR_GPSR(IP1_17_15, TANS1),
  652. PINMUX_IPSR_GPSR(IP1_17_15, PWM2_C),
  653. PINMUX_IPSR_MSEL(IP1_17_15, TCLK2_B, SEL_TMU_1),
  654. PINMUX_IPSR_GPSR(IP1_19_18, D14),
  655. PINMUX_IPSR_MSEL(IP1_19_18, SCIFA1_RXD, SEL_SCIFA1_0),
  656. PINMUX_IPSR_MSEL(IP1_19_18, IIC0_SCL_B, SEL_IIC00_1),
  657. PINMUX_IPSR_GPSR(IP1_21_20, D15),
  658. PINMUX_IPSR_MSEL(IP1_21_20, SCIFA1_TXD, SEL_SCIFA1_0),
  659. PINMUX_IPSR_MSEL(IP1_21_20, IIC0_SDA_B, SEL_IIC00_1),
  660. PINMUX_IPSR_GPSR(IP1_23_22, A0),
  661. PINMUX_IPSR_GPSR(IP1_23_22, SCIFB1_SCK),
  662. PINMUX_IPSR_GPSR(IP1_23_22, PWM3_B),
  663. PINMUX_IPSR_GPSR(IP1_24, A1),
  664. PINMUX_IPSR_GPSR(IP1_24, SCIFB1_TXD),
  665. PINMUX_IPSR_GPSR(IP1_26, A3),
  666. PINMUX_IPSR_GPSR(IP1_26, SCIFB0_SCK),
  667. PINMUX_IPSR_GPSR(IP1_27, A4),
  668. PINMUX_IPSR_GPSR(IP1_27, SCIFB0_TXD),
  669. PINMUX_IPSR_GPSR(IP1_29_28, A5),
  670. PINMUX_IPSR_GPSR(IP1_29_28, SCIFB0_RXD),
  671. PINMUX_IPSR_GPSR(IP1_29_28, PWM4_B),
  672. PINMUX_IPSR_GPSR(IP1_29_28, TPUTO3_C),
  673. PINMUX_IPSR_GPSR(IP1_31_30, A6),
  674. PINMUX_IPSR_GPSR(IP1_31_30, SCIFB0_CTS_N),
  675. PINMUX_IPSR_MSEL(IP1_31_30, SCIFA4_RXD_B, SEL_SCIFA4_1),
  676. PINMUX_IPSR_GPSR(IP1_31_30, TPUTO2_C),
  677. /* IPSR2 */
  678. PINMUX_IPSR_GPSR(IP2_1_0, A7),
  679. PINMUX_IPSR_GPSR(IP2_1_0, SCIFB0_RTS_N),
  680. PINMUX_IPSR_MSEL(IP2_1_0, SCIFA4_TXD_B, SEL_SCIFA4_1),
  681. PINMUX_IPSR_GPSR(IP2_3_2, A8),
  682. PINMUX_IPSR_MSEL(IP2_3_2, MSIOF1_RXD, SEL_MSI1_0),
  683. PINMUX_IPSR_MSEL(IP2_3_2, SCIFA0_RXD_B, SEL_SCIFA0_1),
  684. PINMUX_IPSR_GPSR(IP2_5_4, A9),
  685. PINMUX_IPSR_MSEL(IP2_5_4, MSIOF1_TXD, SEL_MSI1_0),
  686. PINMUX_IPSR_MSEL(IP2_5_4, SCIFA0_TXD_B, SEL_SCIFA0_1),
  687. PINMUX_IPSR_GPSR(IP2_7_6, A10),
  688. PINMUX_IPSR_MSEL(IP2_7_6, MSIOF1_SCK, SEL_MSI1_0),
  689. PINMUX_IPSR_MSEL(IP2_7_6, IIC1_SCL_B, SEL_IIC01_1),
  690. PINMUX_IPSR_GPSR(IP2_9_8, A11),
  691. PINMUX_IPSR_MSEL(IP2_9_8, MSIOF1_SYNC, SEL_MSI1_0),
  692. PINMUX_IPSR_MSEL(IP2_9_8, IIC1_SDA_B, SEL_IIC01_1),
  693. PINMUX_IPSR_GPSR(IP2_11_10, A12),
  694. PINMUX_IPSR_MSEL(IP2_11_10, MSIOF1_SS1, SEL_MSI1_0),
  695. PINMUX_IPSR_MSEL(IP2_11_10, SCIFA5_RXD_B, SEL_SCIFA5_1),
  696. PINMUX_IPSR_GPSR(IP2_13_12, A13),
  697. PINMUX_IPSR_MSEL(IP2_13_12, MSIOF1_SS2, SEL_MSI1_0),
  698. PINMUX_IPSR_MSEL(IP2_13_12, SCIFA5_TXD_B, SEL_SCIFA5_1),
  699. PINMUX_IPSR_GPSR(IP2_15_14, A14),
  700. PINMUX_IPSR_MSEL(IP2_15_14, MSIOF2_RXD, SEL_MSI2_0),
  701. PINMUX_IPSR_MSEL(IP2_15_14, HSCIF0_HRX_B, SEL_HSCIF0_1),
  702. PINMUX_IPSR_MSEL(IP2_15_14, DREQ1_N, SEL_LBS_0),
  703. PINMUX_IPSR_GPSR(IP2_17_16, A15),
  704. PINMUX_IPSR_MSEL(IP2_17_16, MSIOF2_TXD, SEL_MSI2_0),
  705. PINMUX_IPSR_MSEL(IP2_17_16, HSCIF0_HTX_B, SEL_HSCIF0_1),
  706. PINMUX_IPSR_MSEL(IP2_17_16, DACK1, SEL_LBS_0),
  707. PINMUX_IPSR_GPSR(IP2_20_18, A16),
  708. PINMUX_IPSR_MSEL(IP2_20_18, MSIOF2_SCK, SEL_MSI2_0),
  709. PINMUX_IPSR_MSEL(IP2_20_18, HSCIF0_HSCK_B, SEL_HSCIF0_1),
  710. PINMUX_IPSR_MSEL(IP2_20_18, SPEEDIN, SEL_RSP_0),
  711. PINMUX_IPSR_MSEL(IP2_20_18, VSP, SEL_SPDM_0),
  712. PINMUX_IPSR_MSEL(IP2_20_18, CAN_CLK_C, SEL_CAN_2),
  713. PINMUX_IPSR_GPSR(IP2_20_18, TPUTO2_B),
  714. PINMUX_IPSR_GPSR(IP2_23_21, A17),
  715. PINMUX_IPSR_MSEL(IP2_23_21, MSIOF2_SYNC, SEL_MSI2_0),
  716. PINMUX_IPSR_MSEL(IP2_23_21, SCIF4_RXD_E, SEL_SCIF4_4),
  717. PINMUX_IPSR_MSEL(IP2_23_21, CAN1_RX_B, SEL_CAN1_1),
  718. PINMUX_IPSR_MSEL(IP2_23_21, AVB_AVTP_CAPTURE_B, SEL_AVB_1),
  719. PINMUX_IPSR_GPSR(IP2_26_24, A18),
  720. PINMUX_IPSR_MSEL(IP2_26_24, MSIOF2_SS1, SEL_MSI2_0),
  721. PINMUX_IPSR_MSEL(IP2_26_24, SCIF4_TXD_E, SEL_SCIF4_4),
  722. PINMUX_IPSR_MSEL(IP2_26_24, CAN1_TX_B, SEL_CAN1_1),
  723. PINMUX_IPSR_MSEL(IP2_26_24, AVB_AVTP_MATCH_B, SEL_AVB_1),
  724. PINMUX_IPSR_GPSR(IP2_29_27, A19),
  725. PINMUX_IPSR_MSEL(IP2_29_27, MSIOF2_SS2, SEL_MSI2_0),
  726. PINMUX_IPSR_GPSR(IP2_29_27, PWM4),
  727. PINMUX_IPSR_GPSR(IP2_29_27, TPUTO2),
  728. PINMUX_IPSR_GPSR(IP2_29_27, MOUT0),
  729. PINMUX_IPSR_GPSR(IP2_31_30, A20),
  730. PINMUX_IPSR_GPSR(IP2_31_30, SPCLK),
  731. PINMUX_IPSR_GPSR(IP2_29_27, MOUT1),
  732. /* IPSR3 */
  733. PINMUX_IPSR_GPSR(IP3_1_0, A21),
  734. PINMUX_IPSR_GPSR(IP3_1_0, MOSI_IO0),
  735. PINMUX_IPSR_GPSR(IP3_1_0, MOUT2),
  736. PINMUX_IPSR_GPSR(IP3_3_2, A22),
  737. PINMUX_IPSR_GPSR(IP3_3_2, MISO_IO1),
  738. PINMUX_IPSR_GPSR(IP3_3_2, MOUT5),
  739. PINMUX_IPSR_GPSR(IP3_3_2, ATADIR1_N),
  740. PINMUX_IPSR_GPSR(IP3_5_4, A23),
  741. PINMUX_IPSR_GPSR(IP3_5_4, IO2),
  742. PINMUX_IPSR_GPSR(IP3_5_4, MOUT6),
  743. PINMUX_IPSR_GPSR(IP3_5_4, ATAWR1_N),
  744. PINMUX_IPSR_GPSR(IP3_7_6, A24),
  745. PINMUX_IPSR_GPSR(IP3_7_6, IO3),
  746. PINMUX_IPSR_GPSR(IP3_7_6, EX_WAIT2),
  747. PINMUX_IPSR_GPSR(IP3_9_8, A25),
  748. PINMUX_IPSR_GPSR(IP3_9_8, SSL),
  749. PINMUX_IPSR_GPSR(IP3_9_8, ATARD1_N),
  750. PINMUX_IPSR_GPSR(IP3_10, CS0_N),
  751. PINMUX_IPSR_GPSR(IP3_10, VI1_DATA8),
  752. PINMUX_IPSR_GPSR(IP3_11, CS1_N_A26),
  753. PINMUX_IPSR_GPSR(IP3_11, VI1_DATA9),
  754. PINMUX_IPSR_GPSR(IP3_12, EX_CS0_N),
  755. PINMUX_IPSR_GPSR(IP3_12, VI1_DATA10),
  756. PINMUX_IPSR_GPSR(IP3_14_13, EX_CS1_N),
  757. PINMUX_IPSR_GPSR(IP3_14_13, TPUTO3_B),
  758. PINMUX_IPSR_GPSR(IP3_14_13, SCIFB2_RXD),
  759. PINMUX_IPSR_GPSR(IP3_14_13, VI1_DATA11),
  760. PINMUX_IPSR_GPSR(IP3_17_15, EX_CS2_N),
  761. PINMUX_IPSR_GPSR(IP3_17_15, PWM0),
  762. PINMUX_IPSR_MSEL(IP3_17_15, SCIF4_RXD_C, SEL_SCIF4_2),
  763. PINMUX_IPSR_MSEL(IP3_17_15, TS_SDATA_B, SEL_TSIF0_1),
  764. PINMUX_IPSR_MSEL(IP3_17_15, RIF0_SYNC, SEL_DR0_0),
  765. PINMUX_IPSR_GPSR(IP3_17_15, TPUTO3),
  766. PINMUX_IPSR_GPSR(IP3_17_15, SCIFB2_TXD),
  767. PINMUX_IPSR_MSEL(IP3_17_15, SDATA_B, SEL_FSN_1),
  768. PINMUX_IPSR_GPSR(IP3_20_18, EX_CS3_N),
  769. PINMUX_IPSR_MSEL(IP3_20_18, SCIFA2_SCK, SEL_SCIFA2_0),
  770. PINMUX_IPSR_MSEL(IP3_20_18, SCIF4_TXD_C, SEL_SCIF4_2),
  771. PINMUX_IPSR_MSEL(IP3_20_18, TS_SCK_B, SEL_TSIF0_1),
  772. PINMUX_IPSR_MSEL(IP3_20_18, RIF0_CLK, SEL_DR0_0),
  773. PINMUX_IPSR_MSEL(IP3_20_18, BPFCLK, SEL_DARC_0),
  774. PINMUX_IPSR_GPSR(IP3_20_18, SCIFB2_SCK),
  775. PINMUX_IPSR_MSEL(IP3_20_18, MDATA_B, SEL_FSN_1),
  776. PINMUX_IPSR_GPSR(IP3_23_21, EX_CS4_N),
  777. PINMUX_IPSR_MSEL(IP3_23_21, SCIFA2_RXD, SEL_SCIFA2_0),
  778. PINMUX_IPSR_MSEL(IP3_23_21, I2C2_SCL_E, SEL_I2C02_4),
  779. PINMUX_IPSR_MSEL(IP3_23_21, TS_SDEN_B, SEL_TSIF0_1),
  780. PINMUX_IPSR_MSEL(IP3_23_21, RIF0_D0, SEL_DR0_0),
  781. PINMUX_IPSR_MSEL(IP3_23_21, FMCLK, SEL_DARC_0),
  782. PINMUX_IPSR_GPSR(IP3_23_21, SCIFB2_CTS_N),
  783. PINMUX_IPSR_MSEL(IP3_23_21, SCKZ_B, SEL_FSN_1),
  784. PINMUX_IPSR_GPSR(IP3_26_24, EX_CS5_N),
  785. PINMUX_IPSR_MSEL(IP3_26_24, SCIFA2_TXD, SEL_SCIFA2_0),
  786. PINMUX_IPSR_MSEL(IP3_26_24, I2C2_SDA_E, SEL_I2C02_4),
  787. PINMUX_IPSR_MSEL(IP3_26_24, TS_SPSYNC_B, SEL_TSIF0_1),
  788. PINMUX_IPSR_MSEL(IP3_26_24, RIF0_D1, SEL_DR1_0),
  789. PINMUX_IPSR_MSEL(IP3_26_24, FMIN, SEL_DARC_0),
  790. PINMUX_IPSR_GPSR(IP3_26_24, SCIFB2_RTS_N),
  791. PINMUX_IPSR_MSEL(IP3_26_24, STM_N_B, SEL_FSN_1),
  792. PINMUX_IPSR_GPSR(IP3_29_27, BS_N),
  793. PINMUX_IPSR_GPSR(IP3_29_27, DRACK0),
  794. PINMUX_IPSR_GPSR(IP3_29_27, PWM1_C),
  795. PINMUX_IPSR_GPSR(IP3_29_27, TPUTO0_C),
  796. PINMUX_IPSR_GPSR(IP3_29_27, ATACS01_N),
  797. PINMUX_IPSR_MSEL(IP3_29_27, MTS_N_B, SEL_FSN_1),
  798. PINMUX_IPSR_GPSR(IP3_30, RD_N),
  799. PINMUX_IPSR_GPSR(IP3_30, ATACS11_N),
  800. PINMUX_IPSR_GPSR(IP3_31, RD_WR_N),
  801. PINMUX_IPSR_GPSR(IP3_31, ATAG1_N),
  802. /* IPSR4 */
  803. PINMUX_IPSR_GPSR(IP4_1_0, EX_WAIT0),
  804. PINMUX_IPSR_MSEL(IP4_1_0, CAN_CLK_B, SEL_CAN_1),
  805. PINMUX_IPSR_MSEL(IP4_1_0, SCIF_CLK, SEL_SCIF0_0),
  806. PINMUX_IPSR_GPSR(IP4_1_0, PWMFSW0),
  807. PINMUX_IPSR_GPSR(IP4_4_2, DU0_DR0),
  808. PINMUX_IPSR_GPSR(IP4_4_2, LCDOUT16),
  809. PINMUX_IPSR_MSEL(IP4_4_2, SCIF5_RXD_C, SEL_SCIF5_2),
  810. PINMUX_IPSR_MSEL(IP4_4_2, I2C2_SCL_D, SEL_I2C02_3),
  811. PINMUX_IPSR_GPSR(IP4_4_2, CC50_STATE0),
  812. PINMUX_IPSR_GPSR(IP4_7_5, DU0_DR1),
  813. PINMUX_IPSR_GPSR(IP4_7_5, LCDOUT17),
  814. PINMUX_IPSR_MSEL(IP4_7_5, SCIF5_TXD_C, SEL_SCIF5_2),
  815. PINMUX_IPSR_MSEL(IP4_7_5, I2C2_SDA_D, SEL_I2C02_3),
  816. PINMUX_IPSR_GPSR(IP4_9_8, CC50_STATE1),
  817. PINMUX_IPSR_GPSR(IP4_9_8, DU0_DR2),
  818. PINMUX_IPSR_GPSR(IP4_9_8, LCDOUT18),
  819. PINMUX_IPSR_GPSR(IP4_9_8, CC50_STATE2),
  820. PINMUX_IPSR_GPSR(IP4_11_10, DU0_DR3),
  821. PINMUX_IPSR_GPSR(IP4_11_10, LCDOUT19),
  822. PINMUX_IPSR_GPSR(IP4_11_10, CC50_STATE3),
  823. PINMUX_IPSR_GPSR(IP4_13_12, DU0_DR4),
  824. PINMUX_IPSR_GPSR(IP4_13_12, LCDOUT20),
  825. PINMUX_IPSR_GPSR(IP4_13_12, CC50_STATE4),
  826. PINMUX_IPSR_GPSR(IP4_15_14, DU0_DR5),
  827. PINMUX_IPSR_GPSR(IP4_15_14, LCDOUT21),
  828. PINMUX_IPSR_GPSR(IP4_15_14, CC50_STATE5),
  829. PINMUX_IPSR_GPSR(IP4_17_16, DU0_DR6),
  830. PINMUX_IPSR_GPSR(IP4_17_16, LCDOUT22),
  831. PINMUX_IPSR_GPSR(IP4_17_16, CC50_STATE6),
  832. PINMUX_IPSR_GPSR(IP4_19_18, DU0_DR7),
  833. PINMUX_IPSR_GPSR(IP4_19_18, LCDOUT23),
  834. PINMUX_IPSR_GPSR(IP4_19_18, CC50_STATE7),
  835. PINMUX_IPSR_GPSR(IP4_22_20, DU0_DG0),
  836. PINMUX_IPSR_GPSR(IP4_22_20, LCDOUT8),
  837. PINMUX_IPSR_MSEL(IP4_22_20, SCIFA0_RXD_C, SEL_SCIFA0_2),
  838. PINMUX_IPSR_MSEL(IP4_22_20, I2C3_SCL_D, SEL_I2C03_3),
  839. PINMUX_IPSR_GPSR(IP4_22_20, CC50_STATE8),
  840. PINMUX_IPSR_GPSR(IP4_25_23, DU0_DG1),
  841. PINMUX_IPSR_GPSR(IP4_25_23, LCDOUT9),
  842. PINMUX_IPSR_MSEL(IP4_25_23, SCIFA0_TXD_C, SEL_SCIFA0_2),
  843. PINMUX_IPSR_MSEL(IP4_25_23, I2C3_SDA_D, SEL_I2C03_3),
  844. PINMUX_IPSR_GPSR(IP4_25_23, CC50_STATE9),
  845. PINMUX_IPSR_GPSR(IP4_27_26, DU0_DG2),
  846. PINMUX_IPSR_GPSR(IP4_27_26, LCDOUT10),
  847. PINMUX_IPSR_GPSR(IP4_27_26, CC50_STATE10),
  848. PINMUX_IPSR_GPSR(IP4_29_28, DU0_DG3),
  849. PINMUX_IPSR_GPSR(IP4_29_28, LCDOUT11),
  850. PINMUX_IPSR_GPSR(IP4_29_28, CC50_STATE11),
  851. PINMUX_IPSR_GPSR(IP4_31_30, DU0_DG4),
  852. PINMUX_IPSR_GPSR(IP4_31_30, LCDOUT12),
  853. PINMUX_IPSR_GPSR(IP4_31_30, CC50_STATE12),
  854. /* IPSR5 */
  855. PINMUX_IPSR_GPSR(IP5_1_0, DU0_DG5),
  856. PINMUX_IPSR_GPSR(IP5_1_0, LCDOUT13),
  857. PINMUX_IPSR_GPSR(IP5_1_0, CC50_STATE13),
  858. PINMUX_IPSR_GPSR(IP5_3_2, DU0_DG6),
  859. PINMUX_IPSR_GPSR(IP5_3_2, LCDOUT14),
  860. PINMUX_IPSR_GPSR(IP5_3_2, CC50_STATE14),
  861. PINMUX_IPSR_GPSR(IP5_5_4, DU0_DG7),
  862. PINMUX_IPSR_GPSR(IP5_5_4, LCDOUT15),
  863. PINMUX_IPSR_GPSR(IP5_5_4, CC50_STATE15),
  864. PINMUX_IPSR_GPSR(IP5_8_6, DU0_DB0),
  865. PINMUX_IPSR_GPSR(IP5_8_6, LCDOUT0),
  866. PINMUX_IPSR_MSEL(IP5_8_6, SCIFA4_RXD_C, SEL_SCIFA4_2),
  867. PINMUX_IPSR_MSEL(IP5_8_6, I2C4_SCL_D, SEL_I2C04_3),
  868. PINMUX_IPSR_MSEL(IP7_8_6, CAN0_RX_C, SEL_CAN0_2),
  869. PINMUX_IPSR_GPSR(IP5_8_6, CC50_STATE16),
  870. PINMUX_IPSR_GPSR(IP5_11_9, DU0_DB1),
  871. PINMUX_IPSR_GPSR(IP5_11_9, LCDOUT1),
  872. PINMUX_IPSR_MSEL(IP5_11_9, SCIFA4_TXD_C, SEL_SCIFA4_2),
  873. PINMUX_IPSR_MSEL(IP5_11_9, I2C4_SDA_D, SEL_I2C04_3),
  874. PINMUX_IPSR_MSEL(IP5_11_9, CAN0_TX_C, SEL_CAN0_2),
  875. PINMUX_IPSR_GPSR(IP5_11_9, CC50_STATE17),
  876. PINMUX_IPSR_GPSR(IP5_13_12, DU0_DB2),
  877. PINMUX_IPSR_GPSR(IP5_13_12, LCDOUT2),
  878. PINMUX_IPSR_GPSR(IP5_13_12, CC50_STATE18),
  879. PINMUX_IPSR_GPSR(IP5_15_14, DU0_DB3),
  880. PINMUX_IPSR_GPSR(IP5_15_14, LCDOUT3),
  881. PINMUX_IPSR_GPSR(IP5_15_14, CC50_STATE19),
  882. PINMUX_IPSR_GPSR(IP5_17_16, DU0_DB4),
  883. PINMUX_IPSR_GPSR(IP5_17_16, LCDOUT4),
  884. PINMUX_IPSR_GPSR(IP5_17_16, CC50_STATE20),
  885. PINMUX_IPSR_GPSR(IP5_19_18, DU0_DB5),
  886. PINMUX_IPSR_GPSR(IP5_19_18, LCDOUT5),
  887. PINMUX_IPSR_GPSR(IP5_19_18, CC50_STATE21),
  888. PINMUX_IPSR_GPSR(IP5_21_20, DU0_DB6),
  889. PINMUX_IPSR_GPSR(IP5_21_20, LCDOUT6),
  890. PINMUX_IPSR_GPSR(IP5_21_20, CC50_STATE22),
  891. PINMUX_IPSR_GPSR(IP5_23_22, DU0_DB7),
  892. PINMUX_IPSR_GPSR(IP5_23_22, LCDOUT7),
  893. PINMUX_IPSR_GPSR(IP5_23_22, CC50_STATE23),
  894. PINMUX_IPSR_GPSR(IP5_25_24, DU0_DOTCLKIN),
  895. PINMUX_IPSR_GPSR(IP5_25_24, QSTVA_QVS),
  896. PINMUX_IPSR_GPSR(IP5_25_24, CC50_STATE24),
  897. PINMUX_IPSR_GPSR(IP5_27_26, DU0_DOTCLKOUT0),
  898. PINMUX_IPSR_GPSR(IP5_27_26, QCLK),
  899. PINMUX_IPSR_GPSR(IP5_27_26, CC50_STATE25),
  900. PINMUX_IPSR_GPSR(IP5_29_28, DU0_DOTCLKOUT1),
  901. PINMUX_IPSR_GPSR(IP5_29_28, QSTVB_QVE),
  902. PINMUX_IPSR_GPSR(IP5_29_28, CC50_STATE26),
  903. PINMUX_IPSR_GPSR(IP5_31_30, DU0_EXHSYNC_DU0_HSYNC),
  904. PINMUX_IPSR_GPSR(IP5_31_30, QSTH_QHS),
  905. PINMUX_IPSR_GPSR(IP5_31_30, CC50_STATE27),
  906. /* IPSR6 */
  907. PINMUX_IPSR_GPSR(IP6_1_0, DU0_EXVSYNC_DU0_VSYNC),
  908. PINMUX_IPSR_GPSR(IP6_1_0, QSTB_QHE),
  909. PINMUX_IPSR_GPSR(IP6_1_0, CC50_STATE28),
  910. PINMUX_IPSR_GPSR(IP6_3_2, DU0_EXODDF_DU0_ODDF_DISP_CDE),
  911. PINMUX_IPSR_GPSR(IP6_3_2, QCPV_QDE),
  912. PINMUX_IPSR_GPSR(IP6_3_2, CC50_STATE29),
  913. PINMUX_IPSR_GPSR(IP6_5_4, DU0_DISP),
  914. PINMUX_IPSR_GPSR(IP6_5_4, QPOLA),
  915. PINMUX_IPSR_GPSR(IP6_5_4, CC50_STATE30),
  916. PINMUX_IPSR_GPSR(IP6_7_6, DU0_CDE),
  917. PINMUX_IPSR_GPSR(IP6_7_6, QPOLB),
  918. PINMUX_IPSR_GPSR(IP6_7_6, CC50_STATE31),
  919. PINMUX_IPSR_GPSR(IP6_8, VI0_CLK),
  920. PINMUX_IPSR_GPSR(IP6_8, AVB_RX_CLK),
  921. PINMUX_IPSR_GPSR(IP6_9, VI0_DATA0_VI0_B0),
  922. PINMUX_IPSR_GPSR(IP6_9, AVB_RX_DV),
  923. PINMUX_IPSR_GPSR(IP6_10, VI0_DATA1_VI0_B1),
  924. PINMUX_IPSR_GPSR(IP6_10, AVB_RXD0),
  925. PINMUX_IPSR_GPSR(IP6_11, VI0_DATA2_VI0_B2),
  926. PINMUX_IPSR_GPSR(IP6_11, AVB_RXD1),
  927. PINMUX_IPSR_GPSR(IP6_12, VI0_DATA3_VI0_B3),
  928. PINMUX_IPSR_GPSR(IP6_12, AVB_RXD2),
  929. PINMUX_IPSR_GPSR(IP6_13, VI0_DATA4_VI0_B4),
  930. PINMUX_IPSR_GPSR(IP6_13, AVB_RXD3),
  931. PINMUX_IPSR_GPSR(IP6_14, VI0_DATA5_VI0_B5),
  932. PINMUX_IPSR_GPSR(IP6_14, AVB_RXD4),
  933. PINMUX_IPSR_GPSR(IP6_15, VI0_DATA6_VI0_B6),
  934. PINMUX_IPSR_GPSR(IP6_15, AVB_RXD5),
  935. PINMUX_IPSR_GPSR(IP6_16, VI0_DATA7_VI0_B7),
  936. PINMUX_IPSR_GPSR(IP6_16, AVB_RXD6),
  937. PINMUX_IPSR_GPSR(IP6_19_17, VI0_CLKENB),
  938. PINMUX_IPSR_MSEL(IP6_19_17, I2C3_SCL, SEL_I2C03_0),
  939. PINMUX_IPSR_MSEL(IP6_19_17, SCIFA5_RXD_C, SEL_SCIFA5_2),
  940. PINMUX_IPSR_MSEL(IP6_19_17, IETX_C, SEL_IEB_2),
  941. PINMUX_IPSR_GPSR(IP6_19_17, AVB_RXD7),
  942. PINMUX_IPSR_GPSR(IP6_22_20, VI0_FIELD),
  943. PINMUX_IPSR_MSEL(IP6_22_20, I2C3_SDA, SEL_I2C03_0),
  944. PINMUX_IPSR_MSEL(IP6_22_20, SCIFA5_TXD_C, SEL_SCIFA5_2),
  945. PINMUX_IPSR_MSEL(IP6_22_20, IECLK_C, SEL_IEB_2),
  946. PINMUX_IPSR_GPSR(IP6_22_20, AVB_RX_ER),
  947. PINMUX_IPSR_GPSR(IP6_25_23, VI0_HSYNC_N),
  948. PINMUX_IPSR_MSEL(IP6_25_23, SCIF0_RXD_B, SEL_SCIF0_1),
  949. PINMUX_IPSR_MSEL(IP6_25_23, I2C0_SCL_C, SEL_I2C00_2),
  950. PINMUX_IPSR_MSEL(IP6_25_23, IERX_C, SEL_IEB_2),
  951. PINMUX_IPSR_GPSR(IP6_25_23, AVB_COL),
  952. PINMUX_IPSR_GPSR(IP6_28_26, VI0_VSYNC_N),
  953. PINMUX_IPSR_MSEL(IP6_28_26, SCIF0_TXD_B, SEL_SCIF0_1),
  954. PINMUX_IPSR_MSEL(IP6_28_26, I2C0_SDA_C, SEL_I2C00_2),
  955. PINMUX_IPSR_MSEL(IP6_28_26, AUDIO_CLKOUT_B, SEL_ADG_1),
  956. PINMUX_IPSR_GPSR(IP6_28_26, AVB_TX_EN),
  957. PINMUX_IPSR_MSEL(IP6_31_29, ETH_MDIO, SEL_ETH_0),
  958. PINMUX_IPSR_GPSR(IP6_31_29, VI0_G0),
  959. PINMUX_IPSR_MSEL(IP6_31_29, MSIOF2_RXD_B, SEL_MSI2_1),
  960. PINMUX_IPSR_MSEL(IP6_31_29, IIC0_SCL_D, SEL_IIC00_3),
  961. PINMUX_IPSR_GPSR(IP6_31_29, AVB_TX_CLK),
  962. PINMUX_IPSR_MSEL(IP6_31_29, ADIDATA, SEL_RAD_0),
  963. PINMUX_IPSR_MSEL(IP6_31_29, AD_DI, SEL_ADI_0),
  964. /* IPSR7 */
  965. PINMUX_IPSR_MSEL(IP7_2_0, ETH_CRS_DV, SEL_ETH_0),
  966. PINMUX_IPSR_GPSR(IP7_2_0, VI0_G1),
  967. PINMUX_IPSR_MSEL(IP7_2_0, MSIOF2_TXD_B, SEL_MSI2_1),
  968. PINMUX_IPSR_MSEL(IP7_2_0, IIC0_SDA_D, SEL_IIC00_3),
  969. PINMUX_IPSR_GPSR(IP7_2_0, AVB_TXD0),
  970. PINMUX_IPSR_MSEL(IP7_2_0, ADICS_SAMP, SEL_RAD_0),
  971. PINMUX_IPSR_MSEL(IP7_2_0, AD_DO, SEL_ADI_0),
  972. PINMUX_IPSR_MSEL(IP7_5_3, ETH_RX_ER, SEL_ETH_0),
  973. PINMUX_IPSR_GPSR(IP7_5_3, VI0_G2),
  974. PINMUX_IPSR_MSEL(IP7_5_3, MSIOF2_SCK_B, SEL_MSI2_1),
  975. PINMUX_IPSR_MSEL(IP7_5_3, CAN0_RX_B, SEL_CAN0_1),
  976. PINMUX_IPSR_GPSR(IP7_5_3, AVB_TXD1),
  977. PINMUX_IPSR_MSEL(IP7_5_3, ADICLK, SEL_RAD_0),
  978. PINMUX_IPSR_MSEL(IP7_5_3, AD_CLK, SEL_ADI_0),
  979. PINMUX_IPSR_MSEL(IP7_8_6, ETH_RXD0, SEL_ETH_0),
  980. PINMUX_IPSR_GPSR(IP7_8_6, VI0_G3),
  981. PINMUX_IPSR_MSEL(IP7_8_6, MSIOF2_SYNC_B, SEL_MSI2_1),
  982. PINMUX_IPSR_MSEL(IP7_8_6, CAN0_TX_B, SEL_CAN0_1),
  983. PINMUX_IPSR_GPSR(IP7_8_6, AVB_TXD2),
  984. PINMUX_IPSR_MSEL(IP7_8_6, ADICHS0, SEL_RAD_0),
  985. PINMUX_IPSR_MSEL(IP7_8_6, AD_NCS_N, SEL_ADI_0),
  986. PINMUX_IPSR_MSEL(IP7_11_9, ETH_RXD1, SEL_ETH_0),
  987. PINMUX_IPSR_GPSR(IP7_11_9, VI0_G4),
  988. PINMUX_IPSR_MSEL(IP7_11_9, MSIOF2_SS1_B, SEL_MSI2_1),
  989. PINMUX_IPSR_MSEL(IP7_11_9, SCIF4_RXD_D, SEL_SCIF4_3),
  990. PINMUX_IPSR_GPSR(IP7_11_9, AVB_TXD3),
  991. PINMUX_IPSR_MSEL(IP7_11_9, ADICHS1, SEL_RAD_0),
  992. PINMUX_IPSR_MSEL(IP7_14_12, ETH_LINK, SEL_ETH_0),
  993. PINMUX_IPSR_GPSR(IP7_14_12, VI0_G5),
  994. PINMUX_IPSR_MSEL(IP7_14_12, MSIOF2_SS2_B, SEL_MSI2_1),
  995. PINMUX_IPSR_MSEL(IP7_14_12, SCIF4_TXD_D, SEL_SCIF4_3),
  996. PINMUX_IPSR_GPSR(IP7_14_12, AVB_TXD4),
  997. PINMUX_IPSR_MSEL(IP7_14_12, ADICHS2, SEL_RAD_0),
  998. PINMUX_IPSR_MSEL(IP7_17_15, ETH_REFCLK, SEL_ETH_0),
  999. PINMUX_IPSR_GPSR(IP7_17_15, VI0_G6),
  1000. PINMUX_IPSR_MSEL(IP7_17_15, SCIF2_SCK_C, SEL_SCIF2_2),
  1001. PINMUX_IPSR_GPSR(IP7_17_15, AVB_TXD5),
  1002. PINMUX_IPSR_MSEL(IP7_17_15, SSI_SCK5_B, SEL_SSI5_1),
  1003. PINMUX_IPSR_MSEL(IP7_20_18, ETH_TXD1, SEL_ETH_0),
  1004. PINMUX_IPSR_GPSR(IP7_20_18, VI0_G7),
  1005. PINMUX_IPSR_MSEL(IP7_20_18, SCIF2_RXD_C, SEL_SCIF2_2),
  1006. PINMUX_IPSR_MSEL(IP7_20_18, IIC1_SCL_D, SEL_IIC01_3),
  1007. PINMUX_IPSR_GPSR(IP7_20_18, AVB_TXD6),
  1008. PINMUX_IPSR_MSEL(IP7_20_18, SSI_WS5_B, SEL_SSI5_1),
  1009. PINMUX_IPSR_MSEL(IP7_23_21, ETH_TX_EN, SEL_ETH_0),
  1010. PINMUX_IPSR_GPSR(IP7_23_21, VI0_R0),
  1011. PINMUX_IPSR_MSEL(IP7_23_21, SCIF2_TXD_C, SEL_SCIF2_2),
  1012. PINMUX_IPSR_MSEL(IP7_23_21, IIC1_SDA_D, SEL_IIC01_3),
  1013. PINMUX_IPSR_GPSR(IP7_23_21, AVB_TXD7),
  1014. PINMUX_IPSR_MSEL(IP7_23_21, SSI_SDATA5_B, SEL_SSI5_1),
  1015. PINMUX_IPSR_MSEL(IP7_26_24, ETH_MAGIC, SEL_ETH_0),
  1016. PINMUX_IPSR_GPSR(IP7_26_24, VI0_R1),
  1017. PINMUX_IPSR_MSEL(IP7_26_24, SCIF3_SCK_B, SEL_SCIF3_1),
  1018. PINMUX_IPSR_GPSR(IP7_26_24, AVB_TX_ER),
  1019. PINMUX_IPSR_MSEL(IP7_26_24, SSI_SCK6_B, SEL_SSI6_1),
  1020. PINMUX_IPSR_MSEL(IP7_29_27, ETH_TXD0, SEL_ETH_0),
  1021. PINMUX_IPSR_GPSR(IP7_29_27, VI0_R2),
  1022. PINMUX_IPSR_MSEL(IP7_29_27, SCIF3_RXD_B, SEL_SCIF3_1),
  1023. PINMUX_IPSR_MSEL(IP7_29_27, I2C4_SCL_E, SEL_I2C04_4),
  1024. PINMUX_IPSR_GPSR(IP7_29_27, AVB_GTX_CLK),
  1025. PINMUX_IPSR_MSEL(IP7_29_27, SSI_WS6_B, SEL_SSI6_1),
  1026. PINMUX_IPSR_GPSR(IP7_31, DREQ0_N),
  1027. PINMUX_IPSR_GPSR(IP7_31, SCIFB1_RXD),
  1028. /* IPSR8 */
  1029. PINMUX_IPSR_MSEL(IP8_2_0, ETH_MDC, SEL_ETH_0),
  1030. PINMUX_IPSR_GPSR(IP8_2_0, VI0_R3),
  1031. PINMUX_IPSR_MSEL(IP8_2_0, SCIF3_TXD_B, SEL_SCIF3_1),
  1032. PINMUX_IPSR_MSEL(IP8_2_0, I2C4_SDA_E, SEL_I2C04_4),
  1033. PINMUX_IPSR_GPSR(IP8_2_0, AVB_MDC),
  1034. PINMUX_IPSR_MSEL(IP8_2_0, SSI_SDATA6_B, SEL_SSI6_1),
  1035. PINMUX_IPSR_MSEL(IP8_5_3, HSCIF0_HRX, SEL_HSCIF0_0),
  1036. PINMUX_IPSR_GPSR(IP8_5_3, VI0_R4),
  1037. PINMUX_IPSR_MSEL(IP8_5_3, I2C1_SCL_C, SEL_I2C01_2),
  1038. PINMUX_IPSR_MSEL(IP8_5_3, AUDIO_CLKA_B, SEL_ADG_1),
  1039. PINMUX_IPSR_GPSR(IP8_5_3, AVB_MDIO),
  1040. PINMUX_IPSR_MSEL(IP8_5_3, SSI_SCK78_B, SEL_SSI7_1),
  1041. PINMUX_IPSR_MSEL(IP8_8_6, HSCIF0_HTX, SEL_HSCIF0_0),
  1042. PINMUX_IPSR_GPSR(IP8_8_6, VI0_R5),
  1043. PINMUX_IPSR_MSEL(IP8_8_6, I2C1_SDA_C, SEL_I2C01_2),
  1044. PINMUX_IPSR_MSEL(IP8_8_6, AUDIO_CLKB_B, SEL_ADG_1),
  1045. PINMUX_IPSR_GPSR(IP8_5_3, AVB_LINK),
  1046. PINMUX_IPSR_MSEL(IP8_8_6, SSI_WS78_B, SEL_SSI7_1),
  1047. PINMUX_IPSR_GPSR(IP8_11_9, HSCIF0_HCTS_N),
  1048. PINMUX_IPSR_GPSR(IP8_11_9, VI0_R6),
  1049. PINMUX_IPSR_MSEL(IP8_11_9, SCIF0_RXD_D, SEL_SCIF0_3),
  1050. PINMUX_IPSR_MSEL(IP8_11_9, I2C0_SCL_E, SEL_I2C00_4),
  1051. PINMUX_IPSR_GPSR(IP8_11_9, AVB_MAGIC),
  1052. PINMUX_IPSR_MSEL(IP8_11_9, SSI_SDATA7_B, SEL_SSI7_1),
  1053. PINMUX_IPSR_GPSR(IP8_14_12, HSCIF0_HRTS_N),
  1054. PINMUX_IPSR_GPSR(IP8_14_12, VI0_R7),
  1055. PINMUX_IPSR_MSEL(IP8_14_12, SCIF0_TXD_D, SEL_SCIF0_3),
  1056. PINMUX_IPSR_MSEL(IP8_14_12, I2C0_SDA_E, SEL_I2C00_4),
  1057. PINMUX_IPSR_GPSR(IP8_14_12, AVB_PHY_INT),
  1058. PINMUX_IPSR_MSEL(IP8_14_12, SSI_SDATA8_B, SEL_SSI8_1),
  1059. PINMUX_IPSR_MSEL(IP8_16_15, HSCIF0_HSCK, SEL_HSCIF0_0),
  1060. PINMUX_IPSR_MSEL(IP8_16_15, SCIF_CLK_B, SEL_SCIF0_1),
  1061. PINMUX_IPSR_GPSR(IP8_16_15, AVB_CRS),
  1062. PINMUX_IPSR_MSEL(IP8_16_15, AUDIO_CLKC_B, SEL_ADG_1),
  1063. PINMUX_IPSR_MSEL(IP8_19_17, I2C0_SCL, SEL_I2C00_0),
  1064. PINMUX_IPSR_MSEL(IP8_19_17, SCIF0_RXD_C, SEL_SCIF0_2),
  1065. PINMUX_IPSR_GPSR(IP8_19_17, PWM5),
  1066. PINMUX_IPSR_MSEL(IP8_19_17, TCLK1_B, SEL_TMU_1),
  1067. PINMUX_IPSR_GPSR(IP8_19_17, AVB_GTXREFCLK),
  1068. PINMUX_IPSR_MSEL(IP8_19_17, CAN1_RX_D, SEL_CAN1_3),
  1069. PINMUX_IPSR_GPSR(IP8_19_17, TPUTO0_B),
  1070. PINMUX_IPSR_MSEL(IP8_22_20, I2C0_SDA, SEL_I2C00_0),
  1071. PINMUX_IPSR_MSEL(IP8_22_20, SCIF0_TXD_C, SEL_SCIF0_2),
  1072. PINMUX_IPSR_GPSR(IP8_22_20, TPUTO0),
  1073. PINMUX_IPSR_MSEL(IP8_22_20, CAN_CLK, SEL_CAN_0),
  1074. PINMUX_IPSR_GPSR(IP8_22_20, DVC_MUTE),
  1075. PINMUX_IPSR_MSEL(IP8_22_20, CAN1_TX_D, SEL_CAN1_3),
  1076. PINMUX_IPSR_MSEL(IP8_25_23, I2C1_SCL, SEL_I2C01_0),
  1077. PINMUX_IPSR_MSEL(IP8_25_23, SCIF4_RXD, SEL_SCIF4_0),
  1078. PINMUX_IPSR_GPSR(IP8_25_23, PWM5_B),
  1079. PINMUX_IPSR_GPSR(IP8_25_23, DU1_DR0),
  1080. PINMUX_IPSR_MSEL(IP8_25_23, RIF1_SYNC_B, SEL_DR2_1),
  1081. PINMUX_IPSR_MSEL(IP8_25_23, TS_SDATA_D, SEL_TSIF0_3),
  1082. PINMUX_IPSR_GPSR(IP8_25_23, TPUTO1_B),
  1083. PINMUX_IPSR_MSEL(IP8_28_26, I2C1_SDA, SEL_I2C01_0),
  1084. PINMUX_IPSR_MSEL(IP8_28_26, SCIF4_TXD, SEL_SCIF4_0),
  1085. PINMUX_IPSR_GPSR(IP8_28_26, IRQ5),
  1086. PINMUX_IPSR_GPSR(IP8_28_26, DU1_DR1),
  1087. PINMUX_IPSR_MSEL(IP8_28_26, RIF1_CLK_B, SEL_DR2_1),
  1088. PINMUX_IPSR_MSEL(IP8_28_26, TS_SCK_D, SEL_TSIF0_3),
  1089. PINMUX_IPSR_MSEL(IP8_28_26, BPFCLK_C, SEL_DARC_2),
  1090. PINMUX_IPSR_GPSR(IP8_31_29, MSIOF0_RXD),
  1091. PINMUX_IPSR_MSEL(IP8_31_29, SCIF5_RXD, SEL_SCIF5_0),
  1092. PINMUX_IPSR_MSEL(IP8_31_29, I2C2_SCL_C, SEL_I2C02_2),
  1093. PINMUX_IPSR_GPSR(IP8_31_29, DU1_DR2),
  1094. PINMUX_IPSR_MSEL(IP8_31_29, RIF1_D0_B, SEL_DR2_1),
  1095. PINMUX_IPSR_MSEL(IP8_31_29, TS_SDEN_D, SEL_TSIF0_3),
  1096. PINMUX_IPSR_MSEL(IP8_31_29, FMCLK_C, SEL_DARC_2),
  1097. PINMUX_IPSR_MSEL(IP8_31_29, RDS_CLK, SEL_RDS_0),
  1098. /* IPSR9 */
  1099. PINMUX_IPSR_GPSR(IP9_2_0, MSIOF0_TXD),
  1100. PINMUX_IPSR_MSEL(IP9_2_0, SCIF5_TXD, SEL_SCIF5_0),
  1101. PINMUX_IPSR_MSEL(IP9_2_0, I2C2_SDA_C, SEL_I2C02_2),
  1102. PINMUX_IPSR_GPSR(IP9_2_0, DU1_DR3),
  1103. PINMUX_IPSR_MSEL(IP9_2_0, RIF1_D1_B, SEL_DR3_1),
  1104. PINMUX_IPSR_MSEL(IP9_2_0, TS_SPSYNC_D, SEL_TSIF0_3),
  1105. PINMUX_IPSR_MSEL(IP9_2_0, FMIN_C, SEL_DARC_2),
  1106. PINMUX_IPSR_MSEL(IP9_2_0, RDS_DATA, SEL_RDS_0),
  1107. PINMUX_IPSR_GPSR(IP9_5_3, MSIOF0_SCK),
  1108. PINMUX_IPSR_GPSR(IP9_5_3, IRQ0),
  1109. PINMUX_IPSR_MSEL(IP9_5_3, TS_SDATA, SEL_TSIF0_0),
  1110. PINMUX_IPSR_GPSR(IP9_5_3, DU1_DR4),
  1111. PINMUX_IPSR_MSEL(IP9_5_3, RIF1_SYNC, SEL_DR2_0),
  1112. PINMUX_IPSR_GPSR(IP9_5_3, TPUTO1_C),
  1113. PINMUX_IPSR_GPSR(IP9_8_6, MSIOF0_SYNC),
  1114. PINMUX_IPSR_GPSR(IP9_8_6, PWM1),
  1115. PINMUX_IPSR_MSEL(IP9_8_6, TS_SCK, SEL_TSIF0_0),
  1116. PINMUX_IPSR_GPSR(IP9_8_6, DU1_DR5),
  1117. PINMUX_IPSR_MSEL(IP9_8_6, RIF1_CLK, SEL_DR2_0),
  1118. PINMUX_IPSR_MSEL(IP9_8_6, BPFCLK_B, SEL_DARC_1),
  1119. PINMUX_IPSR_GPSR(IP9_11_9, MSIOF0_SS1),
  1120. PINMUX_IPSR_MSEL(IP9_11_9, SCIFA0_RXD, SEL_SCIFA0_0),
  1121. PINMUX_IPSR_MSEL(IP9_11_9, TS_SDEN, SEL_TSIF0_0),
  1122. PINMUX_IPSR_GPSR(IP9_11_9, DU1_DR6),
  1123. PINMUX_IPSR_MSEL(IP9_11_9, RIF1_D0, SEL_DR2_0),
  1124. PINMUX_IPSR_MSEL(IP9_11_9, FMCLK_B, SEL_DARC_1),
  1125. PINMUX_IPSR_MSEL(IP9_11_9, RDS_CLK_B, SEL_RDS_1),
  1126. PINMUX_IPSR_GPSR(IP9_14_12, MSIOF0_SS2),
  1127. PINMUX_IPSR_MSEL(IP9_14_12, SCIFA0_TXD, SEL_SCIFA0_0),
  1128. PINMUX_IPSR_MSEL(IP9_14_12, TS_SPSYNC, SEL_TSIF0_0),
  1129. PINMUX_IPSR_GPSR(IP9_14_12, DU1_DR7),
  1130. PINMUX_IPSR_MSEL(IP9_14_12, RIF1_D1, SEL_DR3_0),
  1131. PINMUX_IPSR_MSEL(IP9_14_12, FMIN_B, SEL_DARC_1),
  1132. PINMUX_IPSR_MSEL(IP9_14_12, RDS_DATA_B, SEL_RDS_1),
  1133. PINMUX_IPSR_MSEL(IP9_16_15, HSCIF1_HRX, SEL_HSCIF1_0),
  1134. PINMUX_IPSR_MSEL(IP9_16_15, I2C4_SCL, SEL_I2C04_0),
  1135. PINMUX_IPSR_GPSR(IP9_16_15, PWM6),
  1136. PINMUX_IPSR_GPSR(IP9_16_15, DU1_DG0),
  1137. PINMUX_IPSR_MSEL(IP9_18_17, HSCIF1_HTX, SEL_HSCIF1_0),
  1138. PINMUX_IPSR_MSEL(IP9_18_17, I2C4_SDA, SEL_I2C04_0),
  1139. PINMUX_IPSR_GPSR(IP9_18_17, TPUTO1),
  1140. PINMUX_IPSR_GPSR(IP9_18_17, DU1_DG1),
  1141. PINMUX_IPSR_GPSR(IP9_21_19, HSCIF1_HSCK),
  1142. PINMUX_IPSR_GPSR(IP9_21_19, PWM2),
  1143. PINMUX_IPSR_MSEL(IP9_21_19, IETX, SEL_IEB_0),
  1144. PINMUX_IPSR_GPSR(IP9_21_19, DU1_DG2),
  1145. PINMUX_IPSR_MSEL(IP9_21_19, REMOCON_B, SEL_RCN_1),
  1146. PINMUX_IPSR_MSEL(IP9_21_19, SPEEDIN_B, SEL_RSP_1),
  1147. PINMUX_IPSR_MSEL(IP9_21_19, VSP_B, SEL_SPDM_1),
  1148. PINMUX_IPSR_MSEL(IP9_24_22, HSCIF1_HCTS_N, SEL_HSCIF1_0),
  1149. PINMUX_IPSR_MSEL(IP9_24_22, SCIFA4_RXD, SEL_SCIFA4_0),
  1150. PINMUX_IPSR_MSEL(IP9_24_22, IECLK, SEL_IEB_0),
  1151. PINMUX_IPSR_GPSR(IP9_24_22, DU1_DG3),
  1152. PINMUX_IPSR_MSEL(IP9_24_22, SSI_SCK1_B, SEL_SSI1_1),
  1153. PINMUX_IPSR_GPSR(IP9_24_22, CAN_DEBUG_HW_TRIGGER),
  1154. PINMUX_IPSR_GPSR(IP9_24_22, CC50_STATE32),
  1155. PINMUX_IPSR_MSEL(IP9_27_25, HSCIF1_HRTS_N, SEL_HSCIF1_0),
  1156. PINMUX_IPSR_MSEL(IP9_27_25, SCIFA4_TXD, SEL_SCIFA4_0),
  1157. PINMUX_IPSR_MSEL(IP9_27_25, IERX, SEL_IEB_0),
  1158. PINMUX_IPSR_GPSR(IP9_27_25, DU1_DG4),
  1159. PINMUX_IPSR_MSEL(IP9_27_25, SSI_WS1_B, SEL_SSI1_1),
  1160. PINMUX_IPSR_GPSR(IP9_27_25, CAN_STEP0),
  1161. PINMUX_IPSR_GPSR(IP9_27_25, CC50_STATE33),
  1162. PINMUX_IPSR_MSEL(IP9_30_28, SCIF1_SCK, SEL_SCIF1_0),
  1163. PINMUX_IPSR_GPSR(IP9_30_28, PWM3),
  1164. PINMUX_IPSR_MSEL(IP9_30_28, TCLK2, SEL_TMU_0),
  1165. PINMUX_IPSR_GPSR(IP9_30_28, DU1_DG5),
  1166. PINMUX_IPSR_MSEL(IP9_30_28, SSI_SDATA1_B, SEL_SSI1_1),
  1167. PINMUX_IPSR_GPSR(IP9_30_28, CAN_TXCLK),
  1168. PINMUX_IPSR_GPSR(IP9_30_28, CC50_STATE34),
  1169. /* IPSR10 */
  1170. PINMUX_IPSR_MSEL(IP10_2_0, SCIF1_RXD, SEL_SCIF1_0),
  1171. PINMUX_IPSR_MSEL(IP10_2_0, IIC0_SCL, SEL_IIC00_0),
  1172. PINMUX_IPSR_GPSR(IP10_2_0, DU1_DG6),
  1173. PINMUX_IPSR_MSEL(IP10_2_0, SSI_SCK2_B, SEL_SSI2_1),
  1174. PINMUX_IPSR_GPSR(IP10_2_0, CAN_DEBUGOUT0),
  1175. PINMUX_IPSR_GPSR(IP10_2_0, CC50_STATE35),
  1176. PINMUX_IPSR_MSEL(IP10_5_3, SCIF1_TXD, SEL_SCIF1_0),
  1177. PINMUX_IPSR_MSEL(IP10_5_3, IIC0_SDA, SEL_IIC00_0),
  1178. PINMUX_IPSR_GPSR(IP10_5_3, DU1_DG7),
  1179. PINMUX_IPSR_MSEL(IP10_5_3, SSI_WS2_B, SEL_SSI2_1),
  1180. PINMUX_IPSR_GPSR(IP10_5_3, CAN_DEBUGOUT1),
  1181. PINMUX_IPSR_GPSR(IP10_5_3, CC50_STATE36),
  1182. PINMUX_IPSR_MSEL(IP10_8_6, SCIF2_RXD, SEL_SCIF2_0),
  1183. PINMUX_IPSR_MSEL(IP10_8_6, IIC1_SCL, SEL_IIC01_0),
  1184. PINMUX_IPSR_GPSR(IP10_8_6, DU1_DB0),
  1185. PINMUX_IPSR_MSEL(IP10_8_6, SSI_SDATA2_B, SEL_SSI2_1),
  1186. PINMUX_IPSR_GPSR(IP10_8_6, USB0_EXTLP),
  1187. PINMUX_IPSR_GPSR(IP10_8_6, CAN_DEBUGOUT2),
  1188. PINMUX_IPSR_GPSR(IP10_8_6, CC50_STATE37),
  1189. PINMUX_IPSR_MSEL(IP10_11_9, SCIF2_TXD, SEL_SCIF2_0),
  1190. PINMUX_IPSR_MSEL(IP10_11_9, IIC1_SDA, SEL_IIC01_0),
  1191. PINMUX_IPSR_GPSR(IP10_11_9, DU1_DB1),
  1192. PINMUX_IPSR_MSEL(IP10_11_9, SSI_SCK9_B, SEL_SSI9_1),
  1193. PINMUX_IPSR_GPSR(IP10_11_9, USB0_OVC1),
  1194. PINMUX_IPSR_GPSR(IP10_11_9, CAN_DEBUGOUT3),
  1195. PINMUX_IPSR_GPSR(IP10_11_9, CC50_STATE38),
  1196. PINMUX_IPSR_MSEL(IP10_14_12, SCIF2_SCK, SEL_SCIF2_0),
  1197. PINMUX_IPSR_GPSR(IP10_14_12, IRQ1),
  1198. PINMUX_IPSR_GPSR(IP10_14_12, DU1_DB2),
  1199. PINMUX_IPSR_MSEL(IP10_14_12, SSI_WS9_B, SEL_SSI9_1),
  1200. PINMUX_IPSR_GPSR(IP10_14_12, USB0_IDIN),
  1201. PINMUX_IPSR_GPSR(IP10_14_12, CAN_DEBUGOUT4),
  1202. PINMUX_IPSR_GPSR(IP10_14_12, CC50_STATE39),
  1203. PINMUX_IPSR_MSEL(IP10_17_15, SCIF3_SCK, SEL_SCIF3_0),
  1204. PINMUX_IPSR_GPSR(IP10_17_15, IRQ2),
  1205. PINMUX_IPSR_MSEL(IP10_17_15, BPFCLK_D, SEL_DARC_3),
  1206. PINMUX_IPSR_GPSR(IP10_17_15, DU1_DB3),
  1207. PINMUX_IPSR_MSEL(IP10_17_15, SSI_SDATA9_B, SEL_SSI9_1),
  1208. PINMUX_IPSR_GPSR(IP10_17_15, TANS2),
  1209. PINMUX_IPSR_GPSR(IP10_17_15, CAN_DEBUGOUT5),
  1210. PINMUX_IPSR_GPSR(IP10_17_15, CC50_OSCOUT),
  1211. PINMUX_IPSR_MSEL(IP10_20_18, SCIF3_RXD, SEL_SCIF3_0),
  1212. PINMUX_IPSR_MSEL(IP10_20_18, I2C1_SCL_E, SEL_I2C01_4),
  1213. PINMUX_IPSR_MSEL(IP10_20_18, FMCLK_D, SEL_DARC_3),
  1214. PINMUX_IPSR_GPSR(IP10_20_18, DU1_DB4),
  1215. PINMUX_IPSR_MSEL(IP10_20_18, AUDIO_CLKA_C, SEL_ADG_2),
  1216. PINMUX_IPSR_MSEL(IP10_20_18, SSI_SCK4_B, SEL_SSI4_1),
  1217. PINMUX_IPSR_GPSR(IP10_20_18, CAN_DEBUGOUT6),
  1218. PINMUX_IPSR_MSEL(IP10_20_18, RDS_CLK_C, SEL_RDS_2),
  1219. PINMUX_IPSR_MSEL(IP10_23_21, SCIF3_TXD, SEL_SCIF3_0),
  1220. PINMUX_IPSR_MSEL(IP10_23_21, I2C1_SDA_E, SEL_I2C01_4),
  1221. PINMUX_IPSR_MSEL(IP10_23_21, FMIN_D, SEL_DARC_3),
  1222. PINMUX_IPSR_GPSR(IP10_23_21, DU1_DB5),
  1223. PINMUX_IPSR_MSEL(IP10_23_21, AUDIO_CLKB_C, SEL_ADG_2),
  1224. PINMUX_IPSR_MSEL(IP10_23_21, SSI_WS4_B, SEL_SSI4_1),
  1225. PINMUX_IPSR_GPSR(IP10_23_21, CAN_DEBUGOUT7),
  1226. PINMUX_IPSR_MSEL(IP10_23_21, RDS_DATA_C, SEL_RDS_2),
  1227. PINMUX_IPSR_MSEL(IP10_26_24, I2C2_SCL, SEL_I2C02_0),
  1228. PINMUX_IPSR_MSEL(IP10_26_24, SCIFA5_RXD, SEL_SCIFA5_0),
  1229. PINMUX_IPSR_GPSR(IP10_26_24, DU1_DB6),
  1230. PINMUX_IPSR_MSEL(IP10_26_24, AUDIO_CLKC_C, SEL_ADG_2),
  1231. PINMUX_IPSR_MSEL(IP10_26_24, SSI_SDATA4_B, SEL_SSI4_1),
  1232. PINMUX_IPSR_GPSR(IP10_26_24, CAN_DEBUGOUT8),
  1233. PINMUX_IPSR_MSEL(IP10_29_27, I2C2_SDA, SEL_I2C02_0),
  1234. PINMUX_IPSR_MSEL(IP10_29_27, SCIFA5_TXD, SEL_SCIFA5_0),
  1235. PINMUX_IPSR_GPSR(IP10_29_27, DU1_DB7),
  1236. PINMUX_IPSR_MSEL(IP10_29_27, AUDIO_CLKOUT_C, SEL_ADG_2),
  1237. PINMUX_IPSR_GPSR(IP10_29_27, CAN_DEBUGOUT9),
  1238. PINMUX_IPSR_MSEL(IP10_31_30, SSI_SCK5, SEL_SSI5_0),
  1239. PINMUX_IPSR_MSEL(IP10_31_30, SCIFA3_SCK, SEL_SCIFA3_0),
  1240. PINMUX_IPSR_GPSR(IP10_31_30, DU1_DOTCLKIN),
  1241. PINMUX_IPSR_GPSR(IP10_31_30, CAN_DEBUGOUT10),
  1242. /* IPSR11 */
  1243. PINMUX_IPSR_MSEL(IP11_2_0, SSI_WS5, SEL_SSI5_0),
  1244. PINMUX_IPSR_MSEL(IP11_2_0, SCIFA3_RXD, SEL_SCIFA3_0),
  1245. PINMUX_IPSR_MSEL(IP11_2_0, I2C3_SCL_C, SEL_I2C03_2),
  1246. PINMUX_IPSR_GPSR(IP11_2_0, DU1_DOTCLKOUT0),
  1247. PINMUX_IPSR_GPSR(IP11_2_0, CAN_DEBUGOUT11),
  1248. PINMUX_IPSR_MSEL(IP11_5_3, SSI_SDATA5, SEL_SSI5_0),
  1249. PINMUX_IPSR_MSEL(IP11_5_3, SCIFA3_TXD, SEL_SCIFA3_0),
  1250. PINMUX_IPSR_MSEL(IP11_5_3, I2C3_SDA_C, SEL_I2C03_2),
  1251. PINMUX_IPSR_GPSR(IP11_5_3, DU1_DOTCLKOUT1),
  1252. PINMUX_IPSR_GPSR(IP11_5_3, CAN_DEBUGOUT12),
  1253. PINMUX_IPSR_MSEL(IP11_7_6, SSI_SCK6, SEL_SSI6_0),
  1254. PINMUX_IPSR_MSEL(IP11_7_6, SCIFA1_SCK_B, SEL_SCIFA1_1),
  1255. PINMUX_IPSR_GPSR(IP11_7_6, DU1_EXHSYNC_DU1_HSYNC),
  1256. PINMUX_IPSR_GPSR(IP11_7_6, CAN_DEBUGOUT13),
  1257. PINMUX_IPSR_MSEL(IP11_10_8, SSI_WS6, SEL_SSI6_0),
  1258. PINMUX_IPSR_MSEL(IP11_10_8, SCIFA1_RXD_B, SEL_SCIFA1_1),
  1259. PINMUX_IPSR_MSEL(IP11_10_8, I2C4_SCL_C, SEL_I2C04_2),
  1260. PINMUX_IPSR_GPSR(IP11_10_8, DU1_EXVSYNC_DU1_VSYNC),
  1261. PINMUX_IPSR_GPSR(IP11_10_8, CAN_DEBUGOUT14),
  1262. PINMUX_IPSR_MSEL(IP11_13_11, SSI_SDATA6, SEL_SSI6_0),
  1263. PINMUX_IPSR_MSEL(IP11_13_11, SCIFA1_TXD_B, SEL_SCIFA1_1),
  1264. PINMUX_IPSR_MSEL(IP11_13_11, I2C4_SDA_C, SEL_I2C04_2),
  1265. PINMUX_IPSR_GPSR(IP11_13_11, DU1_EXODDF_DU1_ODDF_DISP_CDE),
  1266. PINMUX_IPSR_GPSR(IP11_13_11, CAN_DEBUGOUT15),
  1267. PINMUX_IPSR_MSEL(IP11_15_14, SSI_SCK78, SEL_SSI7_0),
  1268. PINMUX_IPSR_MSEL(IP11_15_14, SCIFA2_SCK_B, SEL_SCIFA2_1),
  1269. PINMUX_IPSR_MSEL(IP11_15_14, IIC0_SDA_C, SEL_IIC00_2),
  1270. PINMUX_IPSR_GPSR(IP11_15_14, DU1_DISP),
  1271. PINMUX_IPSR_MSEL(IP11_17_16, SSI_WS78, SEL_SSI7_0),
  1272. PINMUX_IPSR_MSEL(IP11_17_16, SCIFA2_RXD_B, SEL_SCIFA2_1),
  1273. PINMUX_IPSR_MSEL(IP11_17_16, IIC0_SCL_C, SEL_IIC00_2),
  1274. PINMUX_IPSR_GPSR(IP11_17_16, DU1_CDE),
  1275. PINMUX_IPSR_MSEL(IP11_20_18, SSI_SDATA7, SEL_SSI7_0),
  1276. PINMUX_IPSR_MSEL(IP11_20_18, SCIFA2_TXD_B, SEL_SCIFA2_1),
  1277. PINMUX_IPSR_GPSR(IP11_20_18, IRQ8),
  1278. PINMUX_IPSR_MSEL(IP11_20_18, AUDIO_CLKA_D, SEL_ADG_3),
  1279. PINMUX_IPSR_MSEL(IP11_20_18, CAN_CLK_D, SEL_CAN_3),
  1280. PINMUX_IPSR_GPSR(IP11_20_18, PCMOE_N),
  1281. PINMUX_IPSR_GPSR(IP11_23_21, SSI_SCK0129),
  1282. PINMUX_IPSR_MSEL(IP11_23_21, MSIOF1_RXD_B, SEL_MSI1_1),
  1283. PINMUX_IPSR_MSEL(IP11_23_21, SCIF5_RXD_D, SEL_SCIF5_3),
  1284. PINMUX_IPSR_MSEL(IP11_23_21, ADIDATA_B, SEL_RAD_1),
  1285. PINMUX_IPSR_MSEL(IP11_23_21, AD_DI_B, SEL_ADI_1),
  1286. PINMUX_IPSR_GPSR(IP11_23_21, PCMWE_N),
  1287. PINMUX_IPSR_GPSR(IP11_26_24, SSI_WS0129),
  1288. PINMUX_IPSR_MSEL(IP11_26_24, MSIOF1_TXD_B, SEL_MSI1_1),
  1289. PINMUX_IPSR_MSEL(IP11_26_24, SCIF5_TXD_D, SEL_SCIF5_3),
  1290. PINMUX_IPSR_MSEL(IP11_26_24, ADICS_SAMP_B, SEL_RAD_1),
  1291. PINMUX_IPSR_MSEL(IP11_26_24, AD_DO_B, SEL_ADI_1),
  1292. PINMUX_IPSR_GPSR(IP11_29_27, SSI_SDATA0),
  1293. PINMUX_IPSR_MSEL(IP11_29_27, MSIOF1_SCK_B, SEL_MSI1_1),
  1294. PINMUX_IPSR_GPSR(IP11_29_27, PWM0_B),
  1295. PINMUX_IPSR_MSEL(IP11_29_27, ADICLK_B, SEL_RAD_1),
  1296. PINMUX_IPSR_MSEL(IP11_29_27, AD_CLK_B, SEL_ADI_1),
  1297. /* IPSR12 */
  1298. PINMUX_IPSR_GPSR(IP12_2_0, SSI_SCK34),
  1299. PINMUX_IPSR_MSEL(IP12_2_0, MSIOF1_SYNC_B, SEL_MSI1_1),
  1300. PINMUX_IPSR_MSEL(IP12_2_0, SCIFA1_SCK_C, SEL_SCIFA1_2),
  1301. PINMUX_IPSR_MSEL(IP12_2_0, ADICHS0_B, SEL_RAD_1),
  1302. PINMUX_IPSR_MSEL(IP12_2_0, AD_NCS_N_B, SEL_ADI_1),
  1303. PINMUX_IPSR_MSEL(IP12_2_0, DREQ1_N_B, SEL_LBS_1),
  1304. PINMUX_IPSR_GPSR(IP12_5_3, SSI_WS34),
  1305. PINMUX_IPSR_MSEL(IP12_5_3, MSIOF1_SS1_B, SEL_MSI1_1),
  1306. PINMUX_IPSR_MSEL(IP12_5_3, SCIFA1_RXD_C, SEL_SCIFA1_2),
  1307. PINMUX_IPSR_MSEL(IP12_5_3, ADICHS1_B, SEL_RAD_1),
  1308. PINMUX_IPSR_MSEL(IP12_5_3, CAN1_RX_C, SEL_CAN1_2),
  1309. PINMUX_IPSR_MSEL(IP12_5_3, DACK1_B, SEL_LBS_1),
  1310. PINMUX_IPSR_GPSR(IP12_8_6, SSI_SDATA3),
  1311. PINMUX_IPSR_MSEL(IP12_8_6, MSIOF1_SS2_B, SEL_MSI1_1),
  1312. PINMUX_IPSR_MSEL(IP12_8_6, SCIFA1_TXD_C, SEL_SCIFA1_2),
  1313. PINMUX_IPSR_MSEL(IP12_8_6, ADICHS2_B, SEL_RAD_1),
  1314. PINMUX_IPSR_MSEL(IP12_8_6, CAN1_TX_C, SEL_CAN1_2),
  1315. PINMUX_IPSR_GPSR(IP12_8_6, DREQ2_N),
  1316. PINMUX_IPSR_MSEL(IP12_10_9, SSI_SCK4, SEL_SSI4_0),
  1317. PINMUX_IPSR_GPSR(IP12_10_9, MLB_CLK),
  1318. PINMUX_IPSR_MSEL(IP12_10_9, IETX_B, SEL_IEB_1),
  1319. PINMUX_IPSR_GPSR(IP12_10_9, IRD_TX),
  1320. PINMUX_IPSR_MSEL(IP12_12_11, SSI_WS4, SEL_SSI4_0),
  1321. PINMUX_IPSR_GPSR(IP12_12_11, MLB_SIG),
  1322. PINMUX_IPSR_MSEL(IP12_12_11, IECLK_B, SEL_IEB_1),
  1323. PINMUX_IPSR_GPSR(IP12_12_11, IRD_RX),
  1324. PINMUX_IPSR_MSEL(IP12_14_13, SSI_SDATA4, SEL_SSI4_0),
  1325. PINMUX_IPSR_GPSR(IP12_14_13, MLB_DAT),
  1326. PINMUX_IPSR_MSEL(IP12_14_13, IERX_B, SEL_IEB_1),
  1327. PINMUX_IPSR_GPSR(IP12_14_13, IRD_SCK),
  1328. PINMUX_IPSR_MSEL(IP12_17_15, SSI_SDATA8, SEL_SSI8_0),
  1329. PINMUX_IPSR_MSEL(IP12_17_15, SCIF1_SCK_B, SEL_SCIF1_1),
  1330. PINMUX_IPSR_GPSR(IP12_17_15, PWM1_B),
  1331. PINMUX_IPSR_GPSR(IP12_17_15, IRQ9),
  1332. PINMUX_IPSR_MSEL(IP12_17_15, REMOCON, SEL_RCN_0),
  1333. PINMUX_IPSR_GPSR(IP12_17_15, DACK2),
  1334. PINMUX_IPSR_MSEL(IP12_17_15, ETH_MDIO_B, SEL_ETH_1),
  1335. PINMUX_IPSR_MSEL(IP12_20_18, SSI_SCK1, SEL_SSI1_0),
  1336. PINMUX_IPSR_MSEL(IP12_20_18, SCIF1_RXD_B, SEL_SCIF1_1),
  1337. PINMUX_IPSR_MSEL(IP12_20_18, IIC1_SCL_C, SEL_IIC01_2),
  1338. PINMUX_IPSR_GPSR(IP12_20_18, VI1_CLK),
  1339. PINMUX_IPSR_MSEL(IP12_20_18, CAN0_RX_D, SEL_CAN0_3),
  1340. PINMUX_IPSR_MSEL(IP12_20_18, AVB_AVTP_CAPTURE, SEL_AVB_0),
  1341. PINMUX_IPSR_MSEL(IP12_20_18, ETH_CRS_DV_B, SEL_ETH_1),
  1342. PINMUX_IPSR_MSEL(IP12_23_21, SSI_WS1, SEL_SSI1_0),
  1343. PINMUX_IPSR_MSEL(IP12_23_21, SCIF1_TXD_B, SEL_SCIF1_1),
  1344. PINMUX_IPSR_MSEL(IP12_23_21, IIC1_SDA_C, SEL_IIC01_2),
  1345. PINMUX_IPSR_GPSR(IP12_23_21, VI1_DATA0),
  1346. PINMUX_IPSR_MSEL(IP12_23_21, CAN0_TX_D, SEL_CAN0_3),
  1347. PINMUX_IPSR_MSEL(IP12_23_21, AVB_AVTP_MATCH, SEL_AVB_0),
  1348. PINMUX_IPSR_MSEL(IP12_23_21, ETH_RX_ER_B, SEL_ETH_1),
  1349. PINMUX_IPSR_MSEL(IP12_26_24, SSI_SDATA1, SEL_SSI1_0),
  1350. PINMUX_IPSR_MSEL(IP12_26_24, HSCIF1_HRX_B, SEL_HSCIF1_1),
  1351. PINMUX_IPSR_GPSR(IP12_26_24, VI1_DATA1),
  1352. PINMUX_IPSR_MSEL(IP12_26_24, SDATA, SEL_FSN_0),
  1353. PINMUX_IPSR_GPSR(IP12_26_24, ATAWR0_N),
  1354. PINMUX_IPSR_MSEL(IP12_26_24, ETH_RXD0_B, SEL_ETH_1),
  1355. PINMUX_IPSR_MSEL(IP12_29_27, SSI_SCK2, SEL_SSI2_0),
  1356. PINMUX_IPSR_MSEL(IP12_29_27, HSCIF1_HTX_B, SEL_HSCIF1_1),
  1357. PINMUX_IPSR_GPSR(IP12_29_27, VI1_DATA2),
  1358. PINMUX_IPSR_MSEL(IP12_29_27, MDATA, SEL_FSN_0),
  1359. PINMUX_IPSR_GPSR(IP12_29_27, ATAG0_N),
  1360. PINMUX_IPSR_MSEL(IP12_29_27, ETH_RXD1_B, SEL_ETH_1),
  1361. /* IPSR13 */
  1362. PINMUX_IPSR_MSEL(IP13_2_0, SSI_WS2, SEL_SSI2_0),
  1363. PINMUX_IPSR_MSEL(IP13_2_0, HSCIF1_HCTS_N_B, SEL_HSCIF1_1),
  1364. PINMUX_IPSR_MSEL(IP13_2_0, SCIFA0_RXD_D, SEL_SCIFA0_3),
  1365. PINMUX_IPSR_GPSR(IP13_2_0, VI1_DATA3),
  1366. PINMUX_IPSR_MSEL(IP13_2_0, SCKZ, SEL_FSN_0),
  1367. PINMUX_IPSR_GPSR(IP13_2_0, ATACS00_N),
  1368. PINMUX_IPSR_MSEL(IP13_2_0, ETH_LINK_B, SEL_ETH_1),
  1369. PINMUX_IPSR_MSEL(IP13_5_3, SSI_SDATA2, SEL_SSI2_0),
  1370. PINMUX_IPSR_MSEL(IP13_5_3, HSCIF1_HRTS_N_B, SEL_HSCIF1_1),
  1371. PINMUX_IPSR_MSEL(IP13_5_3, SCIFA0_TXD_D, SEL_SCIFA0_3),
  1372. PINMUX_IPSR_GPSR(IP13_5_3, VI1_DATA4),
  1373. PINMUX_IPSR_MSEL(IP13_5_3, STM_N, SEL_FSN_0),
  1374. PINMUX_IPSR_GPSR(IP13_5_3, ATACS10_N),
  1375. PINMUX_IPSR_MSEL(IP13_5_3, ETH_REFCLK_B, SEL_ETH_1),
  1376. PINMUX_IPSR_MSEL(IP13_8_6, SSI_SCK9, SEL_SSI9_0),
  1377. PINMUX_IPSR_MSEL(IP13_8_6, SCIF2_SCK_B, SEL_SCIF2_1),
  1378. PINMUX_IPSR_GPSR(IP13_8_6, PWM2_B),
  1379. PINMUX_IPSR_GPSR(IP13_8_6, VI1_DATA5),
  1380. PINMUX_IPSR_MSEL(IP13_8_6, MTS_N, SEL_FSN_0),
  1381. PINMUX_IPSR_GPSR(IP13_8_6, EX_WAIT1),
  1382. PINMUX_IPSR_MSEL(IP13_8_6, ETH_TXD1_B, SEL_ETH_1),
  1383. PINMUX_IPSR_MSEL(IP13_11_9, SSI_WS9, SEL_SSI9_0),
  1384. PINMUX_IPSR_MSEL(IP13_11_9, SCIF2_RXD_B, SEL_SCIF2_1),
  1385. PINMUX_IPSR_MSEL(IP13_11_9, I2C3_SCL_E, SEL_I2C03_4),
  1386. PINMUX_IPSR_GPSR(IP13_11_9, VI1_DATA6),
  1387. PINMUX_IPSR_GPSR(IP13_11_9, ATARD0_N),
  1388. PINMUX_IPSR_MSEL(IP13_11_9, ETH_TX_EN_B, SEL_ETH_1),
  1389. PINMUX_IPSR_MSEL(IP13_14_12, SSI_SDATA9, SEL_SSI9_0),
  1390. PINMUX_IPSR_MSEL(IP13_14_12, SCIF2_TXD_B, SEL_SCIF2_1),
  1391. PINMUX_IPSR_MSEL(IP13_14_12, I2C3_SDA_E, SEL_I2C03_4),
  1392. PINMUX_IPSR_GPSR(IP13_14_12, VI1_DATA7),
  1393. PINMUX_IPSR_GPSR(IP13_14_12, ATADIR0_N),
  1394. PINMUX_IPSR_MSEL(IP13_14_12, ETH_MAGIC_B, SEL_ETH_1),
  1395. PINMUX_IPSR_MSEL(IP13_17_15, AUDIO_CLKA, SEL_ADG_0),
  1396. PINMUX_IPSR_MSEL(IP13_17_15, I2C0_SCL_B, SEL_I2C00_1),
  1397. PINMUX_IPSR_MSEL(IP13_17_15, SCIFA4_RXD_D, SEL_SCIFA4_3),
  1398. PINMUX_IPSR_GPSR(IP13_17_15, VI1_CLKENB),
  1399. PINMUX_IPSR_MSEL(IP13_17_15, TS_SDATA_C, SEL_TSIF0_2),
  1400. PINMUX_IPSR_MSEL(IP13_17_15, RIF0_SYNC_B, SEL_DR0_1),
  1401. PINMUX_IPSR_MSEL(IP13_17_15, ETH_TXD0_B, SEL_ETH_1),
  1402. PINMUX_IPSR_MSEL(IP13_20_18, AUDIO_CLKB, SEL_ADG_0),
  1403. PINMUX_IPSR_MSEL(IP13_20_18, I2C0_SDA_B, SEL_I2C00_1),
  1404. PINMUX_IPSR_MSEL(IP13_20_18, SCIFA4_TXD_D, SEL_SCIFA4_3),
  1405. PINMUX_IPSR_GPSR(IP13_20_18, VI1_FIELD),
  1406. PINMUX_IPSR_MSEL(IP13_20_18, TS_SCK_C, SEL_TSIF0_2),
  1407. PINMUX_IPSR_MSEL(IP13_20_18, RIF0_CLK_B, SEL_DR0_1),
  1408. PINMUX_IPSR_MSEL(IP13_20_18, BPFCLK_E, SEL_DARC_4),
  1409. PINMUX_IPSR_MSEL(IP13_20_18, ETH_MDC_B, SEL_ETH_1),
  1410. PINMUX_IPSR_MSEL(IP13_23_21, AUDIO_CLKC, SEL_ADG_0),
  1411. PINMUX_IPSR_MSEL(IP13_23_21, I2C4_SCL_B, SEL_I2C04_1),
  1412. PINMUX_IPSR_MSEL(IP13_23_21, SCIFA5_RXD_D, SEL_SCIFA5_3),
  1413. PINMUX_IPSR_GPSR(IP13_23_21, VI1_HSYNC_N),
  1414. PINMUX_IPSR_MSEL(IP13_23_21, TS_SDEN_C, SEL_TSIF0_2),
  1415. PINMUX_IPSR_MSEL(IP13_23_21, RIF0_D0_B, SEL_DR0_1),
  1416. PINMUX_IPSR_MSEL(IP13_23_21, FMCLK_E, SEL_DARC_4),
  1417. PINMUX_IPSR_MSEL(IP13_23_21, RDS_CLK_D, SEL_RDS_3),
  1418. PINMUX_IPSR_MSEL(IP13_26_24, AUDIO_CLKOUT, SEL_ADG_0),
  1419. PINMUX_IPSR_MSEL(IP13_26_24, I2C4_SDA_B, SEL_I2C04_1),
  1420. PINMUX_IPSR_MSEL(IP13_26_24, SCIFA5_TXD_D, SEL_SCIFA5_3),
  1421. PINMUX_IPSR_GPSR(IP13_26_24, VI1_VSYNC_N),
  1422. PINMUX_IPSR_MSEL(IP13_26_24, TS_SPSYNC_C, SEL_TSIF0_2),
  1423. PINMUX_IPSR_MSEL(IP13_26_24, RIF0_D1_B, SEL_DR1_1),
  1424. PINMUX_IPSR_MSEL(IP13_26_24, FMIN_E, SEL_DARC_4),
  1425. PINMUX_IPSR_MSEL(IP13_26_24, RDS_DATA_D, SEL_RDS_3),
  1426. };
  1427. static const struct sh_pfc_pin pinmux_pins[] = {
  1428. PINMUX_GPIO_GP_ALL(),
  1429. };
  1430. /* - Audio Clock ------------------------------------------------------------ */
  1431. static const unsigned int audio_clka_pins[] = {
  1432. /* CLKA */
  1433. RCAR_GP_PIN(5, 20),
  1434. };
  1435. static const unsigned int audio_clka_mux[] = {
  1436. AUDIO_CLKA_MARK,
  1437. };
  1438. static const unsigned int audio_clka_b_pins[] = {
  1439. /* CLKA */
  1440. RCAR_GP_PIN(3, 25),
  1441. };
  1442. static const unsigned int audio_clka_b_mux[] = {
  1443. AUDIO_CLKA_B_MARK,
  1444. };
  1445. static const unsigned int audio_clka_c_pins[] = {
  1446. /* CLKA */
  1447. RCAR_GP_PIN(4, 20),
  1448. };
  1449. static const unsigned int audio_clka_c_mux[] = {
  1450. AUDIO_CLKA_C_MARK,
  1451. };
  1452. static const unsigned int audio_clka_d_pins[] = {
  1453. /* CLKA */
  1454. RCAR_GP_PIN(5, 0),
  1455. };
  1456. static const unsigned int audio_clka_d_mux[] = {
  1457. AUDIO_CLKA_D_MARK,
  1458. };
  1459. static const unsigned int audio_clkb_pins[] = {
  1460. /* CLKB */
  1461. RCAR_GP_PIN(5, 21),
  1462. };
  1463. static const unsigned int audio_clkb_mux[] = {
  1464. AUDIO_CLKB_MARK,
  1465. };
  1466. static const unsigned int audio_clkb_b_pins[] = {
  1467. /* CLKB */
  1468. RCAR_GP_PIN(3, 26),
  1469. };
  1470. static const unsigned int audio_clkb_b_mux[] = {
  1471. AUDIO_CLKB_B_MARK,
  1472. };
  1473. static const unsigned int audio_clkb_c_pins[] = {
  1474. /* CLKB */
  1475. RCAR_GP_PIN(4, 21),
  1476. };
  1477. static const unsigned int audio_clkb_c_mux[] = {
  1478. AUDIO_CLKB_C_MARK,
  1479. };
  1480. static const unsigned int audio_clkc_pins[] = {
  1481. /* CLKC */
  1482. RCAR_GP_PIN(5, 22),
  1483. };
  1484. static const unsigned int audio_clkc_mux[] = {
  1485. AUDIO_CLKC_MARK,
  1486. };
  1487. static const unsigned int audio_clkc_b_pins[] = {
  1488. /* CLKC */
  1489. RCAR_GP_PIN(3, 29),
  1490. };
  1491. static const unsigned int audio_clkc_b_mux[] = {
  1492. AUDIO_CLKC_B_MARK,
  1493. };
  1494. static const unsigned int audio_clkc_c_pins[] = {
  1495. /* CLKC */
  1496. RCAR_GP_PIN(4, 22),
  1497. };
  1498. static const unsigned int audio_clkc_c_mux[] = {
  1499. AUDIO_CLKC_C_MARK,
  1500. };
  1501. static const unsigned int audio_clkout_pins[] = {
  1502. /* CLKOUT */
  1503. RCAR_GP_PIN(5, 23),
  1504. };
  1505. static const unsigned int audio_clkout_mux[] = {
  1506. AUDIO_CLKOUT_MARK,
  1507. };
  1508. static const unsigned int audio_clkout_b_pins[] = {
  1509. /* CLKOUT */
  1510. RCAR_GP_PIN(3, 12),
  1511. };
  1512. static const unsigned int audio_clkout_b_mux[] = {
  1513. AUDIO_CLKOUT_B_MARK,
  1514. };
  1515. static const unsigned int audio_clkout_c_pins[] = {
  1516. /* CLKOUT */
  1517. RCAR_GP_PIN(4, 23),
  1518. };
  1519. static const unsigned int audio_clkout_c_mux[] = {
  1520. AUDIO_CLKOUT_C_MARK,
  1521. };
  1522. /* - AVB -------------------------------------------------------------------- */
  1523. static const unsigned int avb_link_pins[] = {
  1524. RCAR_GP_PIN(3, 26),
  1525. };
  1526. static const unsigned int avb_link_mux[] = {
  1527. AVB_LINK_MARK,
  1528. };
  1529. static const unsigned int avb_magic_pins[] = {
  1530. RCAR_GP_PIN(3, 27),
  1531. };
  1532. static const unsigned int avb_magic_mux[] = {
  1533. AVB_MAGIC_MARK,
  1534. };
  1535. static const unsigned int avb_phy_int_pins[] = {
  1536. RCAR_GP_PIN(3, 28),
  1537. };
  1538. static const unsigned int avb_phy_int_mux[] = {
  1539. AVB_PHY_INT_MARK,
  1540. };
  1541. static const unsigned int avb_mdio_pins[] = {
  1542. RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 25),
  1543. };
  1544. static const unsigned int avb_mdio_mux[] = {
  1545. AVB_MDC_MARK, AVB_MDIO_MARK,
  1546. };
  1547. static const unsigned int avb_mii_pins[] = {
  1548. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16),
  1549. RCAR_GP_PIN(3, 17),
  1550. RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4),
  1551. RCAR_GP_PIN(3, 5),
  1552. RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1),
  1553. RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 22),
  1554. RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 11),
  1555. };
  1556. static const unsigned int avb_mii_mux[] = {
  1557. AVB_TXD0_MARK, AVB_TXD1_MARK, AVB_TXD2_MARK,
  1558. AVB_TXD3_MARK,
  1559. AVB_RXD0_MARK, AVB_RXD1_MARK, AVB_RXD2_MARK,
  1560. AVB_RXD3_MARK,
  1561. AVB_RX_ER_MARK, AVB_RX_CLK_MARK, AVB_RX_DV_MARK,
  1562. AVB_CRS_MARK, AVB_TX_EN_MARK, AVB_TX_ER_MARK,
  1563. AVB_TX_CLK_MARK, AVB_COL_MARK,
  1564. };
  1565. static const unsigned int avb_gmii_pins[] = {
  1566. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16),
  1567. RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
  1568. RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
  1569. RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4),
  1570. RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7),
  1571. RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
  1572. RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1),
  1573. RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 30),
  1574. RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 13),
  1575. RCAR_GP_PIN(3, 11),
  1576. };
  1577. static const unsigned int avb_gmii_mux[] = {
  1578. AVB_TXD0_MARK, AVB_TXD1_MARK, AVB_TXD2_MARK,
  1579. AVB_TXD3_MARK, AVB_TXD4_MARK, AVB_TXD5_MARK,
  1580. AVB_TXD6_MARK, AVB_TXD7_MARK,
  1581. AVB_RXD0_MARK, AVB_RXD1_MARK, AVB_RXD2_MARK,
  1582. AVB_RXD3_MARK, AVB_RXD4_MARK, AVB_RXD5_MARK,
  1583. AVB_RXD6_MARK, AVB_RXD7_MARK,
  1584. AVB_RX_ER_MARK, AVB_RX_CLK_MARK, AVB_RX_DV_MARK,
  1585. AVB_CRS_MARK, AVB_GTX_CLK_MARK, AVB_GTXREFCLK_MARK,
  1586. AVB_TX_EN_MARK, AVB_TX_ER_MARK, AVB_TX_CLK_MARK,
  1587. AVB_COL_MARK,
  1588. };
  1589. static const unsigned int avb_avtp_capture_pins[] = {
  1590. RCAR_GP_PIN(5, 11),
  1591. };
  1592. static const unsigned int avb_avtp_capture_mux[] = {
  1593. AVB_AVTP_CAPTURE_MARK,
  1594. };
  1595. static const unsigned int avb_avtp_match_pins[] = {
  1596. RCAR_GP_PIN(5, 12),
  1597. };
  1598. static const unsigned int avb_avtp_match_mux[] = {
  1599. AVB_AVTP_MATCH_MARK,
  1600. };
  1601. static const unsigned int avb_avtp_capture_b_pins[] = {
  1602. RCAR_GP_PIN(1, 1),
  1603. };
  1604. static const unsigned int avb_avtp_capture_b_mux[] = {
  1605. AVB_AVTP_CAPTURE_B_MARK,
  1606. };
  1607. static const unsigned int avb_avtp_match_b_pins[] = {
  1608. RCAR_GP_PIN(1, 2),
  1609. };
  1610. static const unsigned int avb_avtp_match_b_mux[] = {
  1611. AVB_AVTP_MATCH_B_MARK,
  1612. };
  1613. /* - DU --------------------------------------------------------------------- */
  1614. static const unsigned int du0_rgb666_pins[] = {
  1615. /* R[7:2], G[7:2], B[7:2] */
  1616. RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 5),
  1617. RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 2),
  1618. RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 13),
  1619. RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10),
  1620. RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 22), RCAR_GP_PIN(2, 21),
  1621. RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 18),
  1622. };
  1623. static const unsigned int du0_rgb666_mux[] = {
  1624. DU0_DR7_MARK, DU0_DR6_MARK, DU0_DR5_MARK, DU0_DR4_MARK,
  1625. DU0_DR3_MARK, DU0_DR2_MARK,
  1626. DU0_DG7_MARK, DU0_DG6_MARK, DU0_DG5_MARK, DU0_DG4_MARK,
  1627. DU0_DG3_MARK, DU0_DG2_MARK,
  1628. DU0_DB7_MARK, DU0_DB6_MARK, DU0_DB5_MARK, DU0_DB4_MARK,
  1629. DU0_DB3_MARK, DU0_DB2_MARK,
  1630. };
  1631. static const unsigned int du0_rgb888_pins[] = {
  1632. /* R[7:0], G[7:0], B[7:0] */
  1633. RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 5),
  1634. RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 2),
  1635. RCAR_GP_PIN(2, 1), RCAR_GP_PIN(2, 0),
  1636. RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 13),
  1637. RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10),
  1638. RCAR_GP_PIN(2, 9), RCAR_GP_PIN(2, 8),
  1639. RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 22), RCAR_GP_PIN(2, 21),
  1640. RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 18),
  1641. RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 16),
  1642. };
  1643. static const unsigned int du0_rgb888_mux[] = {
  1644. DU0_DR7_MARK, DU0_DR6_MARK, DU0_DR5_MARK, DU0_DR4_MARK,
  1645. DU0_DR3_MARK, DU0_DR2_MARK, DU0_DR1_MARK, DU0_DR0_MARK,
  1646. DU0_DG7_MARK, DU0_DG6_MARK, DU0_DG5_MARK, DU0_DG4_MARK,
  1647. DU0_DG3_MARK, DU0_DG2_MARK, DU0_DG1_MARK, DU0_DG0_MARK,
  1648. DU0_DB7_MARK, DU0_DB6_MARK, DU0_DB5_MARK, DU0_DB4_MARK,
  1649. DU0_DB3_MARK, DU0_DB2_MARK, DU0_DB1_MARK, DU0_DB0_MARK,
  1650. };
  1651. static const unsigned int du0_clk0_out_pins[] = {
  1652. /* DOTCLKOUT0 */
  1653. RCAR_GP_PIN(2, 25),
  1654. };
  1655. static const unsigned int du0_clk0_out_mux[] = {
  1656. DU0_DOTCLKOUT0_MARK
  1657. };
  1658. static const unsigned int du0_clk1_out_pins[] = {
  1659. /* DOTCLKOUT1 */
  1660. RCAR_GP_PIN(2, 26),
  1661. };
  1662. static const unsigned int du0_clk1_out_mux[] = {
  1663. DU0_DOTCLKOUT1_MARK
  1664. };
  1665. static const unsigned int du0_clk_in_pins[] = {
  1666. /* CLKIN */
  1667. RCAR_GP_PIN(2, 24),
  1668. };
  1669. static const unsigned int du0_clk_in_mux[] = {
  1670. DU0_DOTCLKIN_MARK
  1671. };
  1672. static const unsigned int du0_sync_pins[] = {
  1673. /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */
  1674. RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 27),
  1675. };
  1676. static const unsigned int du0_sync_mux[] = {
  1677. DU0_EXVSYNC_DU0_VSYNC_MARK, DU0_EXHSYNC_DU0_HSYNC_MARK
  1678. };
  1679. static const unsigned int du0_oddf_pins[] = {
  1680. /* EXODDF/ODDF/DISP/CDE */
  1681. RCAR_GP_PIN(2, 29),
  1682. };
  1683. static const unsigned int du0_oddf_mux[] = {
  1684. DU0_EXODDF_DU0_ODDF_DISP_CDE_MARK,
  1685. };
  1686. static const unsigned int du0_cde_pins[] = {
  1687. /* CDE */
  1688. RCAR_GP_PIN(2, 31),
  1689. };
  1690. static const unsigned int du0_cde_mux[] = {
  1691. DU0_CDE_MARK,
  1692. };
  1693. static const unsigned int du0_disp_pins[] = {
  1694. /* DISP */
  1695. RCAR_GP_PIN(2, 30),
  1696. };
  1697. static const unsigned int du0_disp_mux[] = {
  1698. DU0_DISP_MARK
  1699. };
  1700. static const unsigned int du1_rgb666_pins[] = {
  1701. /* R[7:2], G[7:2], B[7:2] */
  1702. RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 6), RCAR_GP_PIN(4, 5),
  1703. RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2),
  1704. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 13),
  1705. RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 10),
  1706. RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 21),
  1707. RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 18),
  1708. };
  1709. static const unsigned int du1_rgb666_mux[] = {
  1710. DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
  1711. DU1_DR3_MARK, DU1_DR2_MARK,
  1712. DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
  1713. DU1_DG3_MARK, DU1_DG2_MARK,
  1714. DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
  1715. DU1_DB3_MARK, DU1_DB2_MARK,
  1716. };
  1717. static const unsigned int du1_rgb888_pins[] = {
  1718. /* R[7:0], G[7:0], B[7:0] */
  1719. RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 6), RCAR_GP_PIN(4, 5),
  1720. RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2),
  1721. RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 0),
  1722. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 13),
  1723. RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 10),
  1724. RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 8),
  1725. RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 21),
  1726. RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 18),
  1727. RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 16),
  1728. };
  1729. static const unsigned int du1_rgb888_mux[] = {
  1730. DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
  1731. DU1_DR3_MARK, DU1_DR2_MARK, DU1_DR1_MARK, DU1_DR0_MARK,
  1732. DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
  1733. DU1_DG3_MARK, DU1_DG2_MARK, DU1_DG1_MARK, DU1_DG0_MARK,
  1734. DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
  1735. DU1_DB3_MARK, DU1_DB2_MARK, DU1_DB1_MARK, DU1_DB0_MARK,
  1736. };
  1737. static const unsigned int du1_clk0_out_pins[] = {
  1738. /* DOTCLKOUT0 */
  1739. RCAR_GP_PIN(4, 25),
  1740. };
  1741. static const unsigned int du1_clk0_out_mux[] = {
  1742. DU1_DOTCLKOUT0_MARK
  1743. };
  1744. static const unsigned int du1_clk1_out_pins[] = {
  1745. /* DOTCLKOUT1 */
  1746. RCAR_GP_PIN(4, 26),
  1747. };
  1748. static const unsigned int du1_clk1_out_mux[] = {
  1749. DU1_DOTCLKOUT1_MARK
  1750. };
  1751. static const unsigned int du1_clk_in_pins[] = {
  1752. /* DOTCLKIN */
  1753. RCAR_GP_PIN(4, 24),
  1754. };
  1755. static const unsigned int du1_clk_in_mux[] = {
  1756. DU1_DOTCLKIN_MARK
  1757. };
  1758. static const unsigned int du1_sync_pins[] = {
  1759. /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */
  1760. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 27),
  1761. };
  1762. static const unsigned int du1_sync_mux[] = {
  1763. DU1_EXVSYNC_DU1_VSYNC_MARK, DU1_EXHSYNC_DU1_HSYNC_MARK
  1764. };
  1765. static const unsigned int du1_oddf_pins[] = {
  1766. /* EXODDF/ODDF/DISP/CDE */
  1767. RCAR_GP_PIN(4, 29),
  1768. };
  1769. static const unsigned int du1_oddf_mux[] = {
  1770. DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK,
  1771. };
  1772. static const unsigned int du1_cde_pins[] = {
  1773. /* CDE */
  1774. RCAR_GP_PIN(4, 31),
  1775. };
  1776. static const unsigned int du1_cde_mux[] = {
  1777. DU1_CDE_MARK
  1778. };
  1779. static const unsigned int du1_disp_pins[] = {
  1780. /* DISP */
  1781. RCAR_GP_PIN(4, 30),
  1782. };
  1783. static const unsigned int du1_disp_mux[] = {
  1784. DU1_DISP_MARK
  1785. };
  1786. /* - ETH -------------------------------------------------------------------- */
  1787. static const unsigned int eth_link_pins[] = {
  1788. /* LINK */
  1789. RCAR_GP_PIN(3, 18),
  1790. };
  1791. static const unsigned int eth_link_mux[] = {
  1792. ETH_LINK_MARK,
  1793. };
  1794. static const unsigned int eth_magic_pins[] = {
  1795. /* MAGIC */
  1796. RCAR_GP_PIN(3, 22),
  1797. };
  1798. static const unsigned int eth_magic_mux[] = {
  1799. ETH_MAGIC_MARK,
  1800. };
  1801. static const unsigned int eth_mdio_pins[] = {
  1802. /* MDC, MDIO */
  1803. RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 13),
  1804. };
  1805. static const unsigned int eth_mdio_mux[] = {
  1806. ETH_MDC_MARK, ETH_MDIO_MARK,
  1807. };
  1808. static const unsigned int eth_rmii_pins[] = {
  1809. /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
  1810. RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 15),
  1811. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 20),
  1812. RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 19),
  1813. };
  1814. static const unsigned int eth_rmii_mux[] = {
  1815. ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_RX_ER_MARK, ETH_CRS_DV_MARK,
  1816. ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REFCLK_MARK,
  1817. };
  1818. static const unsigned int eth_link_b_pins[] = {
  1819. /* LINK */
  1820. RCAR_GP_PIN(5, 15),
  1821. };
  1822. static const unsigned int eth_link_b_mux[] = {
  1823. ETH_LINK_B_MARK,
  1824. };
  1825. static const unsigned int eth_magic_b_pins[] = {
  1826. /* MAGIC */
  1827. RCAR_GP_PIN(5, 19),
  1828. };
  1829. static const unsigned int eth_magic_b_mux[] = {
  1830. ETH_MAGIC_B_MARK,
  1831. };
  1832. static const unsigned int eth_mdio_b_pins[] = {
  1833. /* MDC, MDIO */
  1834. RCAR_GP_PIN(5, 21), RCAR_GP_PIN(5, 10),
  1835. };
  1836. static const unsigned int eth_mdio_b_mux[] = {
  1837. ETH_MDC_B_MARK, ETH_MDIO_B_MARK,
  1838. };
  1839. static const unsigned int eth_rmii_b_pins[] = {
  1840. /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
  1841. RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 12),
  1842. RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 17),
  1843. RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 16),
  1844. };
  1845. static const unsigned int eth_rmii_b_mux[] = {
  1846. ETH_RXD0_B_MARK, ETH_RXD1_B_MARK, ETH_RX_ER_B_MARK, ETH_CRS_DV_B_MARK,
  1847. ETH_TXD0_B_MARK, ETH_TXD1_B_MARK, ETH_TX_EN_B_MARK, ETH_REFCLK_B_MARK,
  1848. };
  1849. /* - HSCIF0 ----------------------------------------------------------------- */
  1850. static const unsigned int hscif0_data_pins[] = {
  1851. /* RX, TX */
  1852. RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
  1853. };
  1854. static const unsigned int hscif0_data_mux[] = {
  1855. HSCIF0_HRX_MARK, HSCIF0_HTX_MARK,
  1856. };
  1857. static const unsigned int hscif0_clk_pins[] = {
  1858. /* SCK */
  1859. RCAR_GP_PIN(3, 29),
  1860. };
  1861. static const unsigned int hscif0_clk_mux[] = {
  1862. HSCIF0_HSCK_MARK,
  1863. };
  1864. static const unsigned int hscif0_ctrl_pins[] = {
  1865. /* RTS, CTS */
  1866. RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 27),
  1867. };
  1868. static const unsigned int hscif0_ctrl_mux[] = {
  1869. HSCIF0_HRTS_N_MARK, HSCIF0_HCTS_N_MARK,
  1870. };
  1871. static const unsigned int hscif0_data_b_pins[] = {
  1872. /* RX, TX */
  1873. RCAR_GP_PIN(0, 30), RCAR_GP_PIN(0, 31),
  1874. };
  1875. static const unsigned int hscif0_data_b_mux[] = {
  1876. HSCIF0_HRX_B_MARK, HSCIF0_HTX_B_MARK,
  1877. };
  1878. static const unsigned int hscif0_clk_b_pins[] = {
  1879. /* SCK */
  1880. RCAR_GP_PIN(1, 0),
  1881. };
  1882. static const unsigned int hscif0_clk_b_mux[] = {
  1883. HSCIF0_HSCK_B_MARK,
  1884. };
  1885. /* - HSCIF1 ----------------------------------------------------------------- */
  1886. static const unsigned int hscif1_data_pins[] = {
  1887. /* RX, TX */
  1888. RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 9),
  1889. };
  1890. static const unsigned int hscif1_data_mux[] = {
  1891. HSCIF1_HRX_MARK, HSCIF1_HTX_MARK,
  1892. };
  1893. static const unsigned int hscif1_clk_pins[] = {
  1894. /* SCK */
  1895. RCAR_GP_PIN(4, 10),
  1896. };
  1897. static const unsigned int hscif1_clk_mux[] = {
  1898. HSCIF1_HSCK_MARK,
  1899. };
  1900. static const unsigned int hscif1_ctrl_pins[] = {
  1901. /* RTS, CTS */
  1902. RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 11),
  1903. };
  1904. static const unsigned int hscif1_ctrl_mux[] = {
  1905. HSCIF1_HRTS_N_MARK, HSCIF1_HCTS_N_MARK,
  1906. };
  1907. static const unsigned int hscif1_data_b_pins[] = {
  1908. /* RX, TX */
  1909. RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14),
  1910. };
  1911. static const unsigned int hscif1_data_b_mux[] = {
  1912. HSCIF1_HRX_B_MARK, HSCIF1_HTX_B_MARK,
  1913. };
  1914. static const unsigned int hscif1_ctrl_b_pins[] = {
  1915. /* RTS, CTS */
  1916. RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 15),
  1917. };
  1918. static const unsigned int hscif1_ctrl_b_mux[] = {
  1919. HSCIF1_HRTS_N_B_MARK, HSCIF1_HCTS_N_B_MARK,
  1920. };
  1921. /* - HSCIF2 ----------------------------------------------------------------- */
  1922. static const unsigned int hscif2_data_pins[] = {
  1923. /* RX, TX */
  1924. RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9),
  1925. };
  1926. static const unsigned int hscif2_data_mux[] = {
  1927. HSCIF2_HRX_MARK, HSCIF2_HTX_MARK,
  1928. };
  1929. static const unsigned int hscif2_clk_pins[] = {
  1930. /* SCK */
  1931. RCAR_GP_PIN(0, 10),
  1932. };
  1933. static const unsigned int hscif2_clk_mux[] = {
  1934. HSCIF2_HSCK_MARK,
  1935. };
  1936. static const unsigned int hscif2_ctrl_pins[] = {
  1937. /* RTS, CTS */
  1938. RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 11),
  1939. };
  1940. static const unsigned int hscif2_ctrl_mux[] = {
  1941. HSCIF2_HRTS_N_MARK, HSCIF2_HCTS_N_MARK,
  1942. };
  1943. /* - I2C0 ------------------------------------------------------------------- */
  1944. static const unsigned int i2c0_pins[] = {
  1945. /* SCL, SDA */
  1946. RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 31),
  1947. };
  1948. static const unsigned int i2c0_mux[] = {
  1949. I2C0_SCL_MARK, I2C0_SDA_MARK,
  1950. };
  1951. static const unsigned int i2c0_b_pins[] = {
  1952. /* SCL, SDA */
  1953. RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 21),
  1954. };
  1955. static const unsigned int i2c0_b_mux[] = {
  1956. I2C0_SCL_B_MARK, I2C0_SDA_B_MARK,
  1957. };
  1958. static const unsigned int i2c0_c_pins[] = {
  1959. /* SCL, SDA */
  1960. RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12),
  1961. };
  1962. static const unsigned int i2c0_c_mux[] = {
  1963. I2C0_SCL_C_MARK, I2C0_SDA_C_MARK,
  1964. };
  1965. static const unsigned int i2c0_d_pins[] = {
  1966. /* SCL, SDA */
  1967. RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6),
  1968. };
  1969. static const unsigned int i2c0_d_mux[] = {
  1970. I2C0_SCL_D_MARK, I2C0_SDA_D_MARK,
  1971. };
  1972. static const unsigned int i2c0_e_pins[] = {
  1973. /* SCL, SDA */
  1974. RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
  1975. };
  1976. static const unsigned int i2c0_e_mux[] = {
  1977. I2C0_SCL_E_MARK, I2C0_SDA_E_MARK,
  1978. };
  1979. /* - I2C1 ------------------------------------------------------------------- */
  1980. static const unsigned int i2c1_pins[] = {
  1981. /* SCL, SDA */
  1982. RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1),
  1983. };
  1984. static const unsigned int i2c1_mux[] = {
  1985. I2C1_SCL_MARK, I2C1_SDA_MARK,
  1986. };
  1987. static const unsigned int i2c1_b_pins[] = {
  1988. /* SCL, SDA */
  1989. RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9),
  1990. };
  1991. static const unsigned int i2c1_b_mux[] = {
  1992. I2C1_SCL_B_MARK, I2C1_SDA_B_MARK,
  1993. };
  1994. static const unsigned int i2c1_c_pins[] = {
  1995. /* SCL, SDA */
  1996. RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
  1997. };
  1998. static const unsigned int i2c1_c_mux[] = {
  1999. I2C1_SCL_C_MARK, I2C1_SDA_C_MARK,
  2000. };
  2001. static const unsigned int i2c1_d_pins[] = {
  2002. /* SCL, SDA */
  2003. RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 12),
  2004. };
  2005. static const unsigned int i2c1_d_mux[] = {
  2006. I2C1_SCL_D_MARK, I2C1_SDA_D_MARK,
  2007. };
  2008. static const unsigned int i2c1_e_pins[] = {
  2009. /* SCL, SDA */
  2010. RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
  2011. };
  2012. static const unsigned int i2c1_e_mux[] = {
  2013. I2C1_SCL_E_MARK, I2C1_SDA_E_MARK,
  2014. };
  2015. /* - I2C2 ------------------------------------------------------------------- */
  2016. static const unsigned int i2c2_pins[] = {
  2017. /* SCL, SDA */
  2018. RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
  2019. };
  2020. static const unsigned int i2c2_mux[] = {
  2021. I2C2_SCL_MARK, I2C2_SDA_MARK,
  2022. };
  2023. static const unsigned int i2c2_b_pins[] = {
  2024. /* SCL, SDA */
  2025. RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
  2026. };
  2027. static const unsigned int i2c2_b_mux[] = {
  2028. I2C2_SCL_B_MARK, I2C2_SDA_B_MARK,
  2029. };
  2030. static const unsigned int i2c2_c_pins[] = {
  2031. /* SCL, SDA */
  2032. RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3),
  2033. };
  2034. static const unsigned int i2c2_c_mux[] = {
  2035. I2C2_SCL_C_MARK, I2C2_SDA_C_MARK,
  2036. };
  2037. static const unsigned int i2c2_d_pins[] = {
  2038. /* SCL, SDA */
  2039. RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  2040. };
  2041. static const unsigned int i2c2_d_mux[] = {
  2042. I2C2_SCL_D_MARK, I2C2_SDA_D_MARK,
  2043. };
  2044. static const unsigned int i2c2_e_pins[] = {
  2045. /* SCL, SDA */
  2046. RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 17),
  2047. };
  2048. static const unsigned int i2c2_e_mux[] = {
  2049. I2C2_SCL_E_MARK, I2C2_SDA_E_MARK,
  2050. };
  2051. /* - I2C3 ------------------------------------------------------------------- */
  2052. static const unsigned int i2c3_pins[] = {
  2053. /* SCL, SDA */
  2054. RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 10),
  2055. };
  2056. static const unsigned int i2c3_mux[] = {
  2057. I2C3_SCL_MARK, I2C3_SDA_MARK,
  2058. };
  2059. static const unsigned int i2c3_b_pins[] = {
  2060. /* SCL, SDA */
  2061. RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4),
  2062. };
  2063. static const unsigned int i2c3_b_mux[] = {
  2064. I2C3_SCL_B_MARK, I2C3_SDA_B_MARK,
  2065. };
  2066. static const unsigned int i2c3_c_pins[] = {
  2067. /* SCL, SDA */
  2068. RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
  2069. };
  2070. static const unsigned int i2c3_c_mux[] = {
  2071. I2C3_SCL_C_MARK, I2C3_SDA_C_MARK,
  2072. };
  2073. static const unsigned int i2c3_d_pins[] = {
  2074. /* SCL, SDA */
  2075. RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9),
  2076. };
  2077. static const unsigned int i2c3_d_mux[] = {
  2078. I2C3_SCL_D_MARK, I2C3_SDA_D_MARK,
  2079. };
  2080. static const unsigned int i2c3_e_pins[] = {
  2081. /* SCL, SDA */
  2082. RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19),
  2083. };
  2084. static const unsigned int i2c3_e_mux[] = {
  2085. I2C3_SCL_E_MARK, I2C3_SDA_E_MARK,
  2086. };
  2087. /* - I2C4 ------------------------------------------------------------------- */
  2088. static const unsigned int i2c4_pins[] = {
  2089. /* SCL, SDA */
  2090. RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 9),
  2091. };
  2092. static const unsigned int i2c4_mux[] = {
  2093. I2C4_SCL_MARK, I2C4_SDA_MARK,
  2094. };
  2095. static const unsigned int i2c4_b_pins[] = {
  2096. /* SCL, SDA */
  2097. RCAR_GP_PIN(5, 22), RCAR_GP_PIN(5, 23),
  2098. };
  2099. static const unsigned int i2c4_b_mux[] = {
  2100. I2C4_SCL_B_MARK, I2C4_SDA_B_MARK,
  2101. };
  2102. static const unsigned int i2c4_c_pins[] = {
  2103. /* SCL, SDA */
  2104. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
  2105. };
  2106. static const unsigned int i2c4_c_mux[] = {
  2107. I2C4_SCL_C_MARK, I2C4_SDA_C_MARK,
  2108. };
  2109. static const unsigned int i2c4_d_pins[] = {
  2110. /* SCL, SDA */
  2111. RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 17),
  2112. };
  2113. static const unsigned int i2c4_d_mux[] = {
  2114. I2C4_SCL_D_MARK, I2C4_SDA_D_MARK,
  2115. };
  2116. static const unsigned int i2c4_e_pins[] = {
  2117. /* SCL, SDA */
  2118. RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
  2119. };
  2120. static const unsigned int i2c4_e_mux[] = {
  2121. I2C4_SCL_E_MARK, I2C4_SDA_E_MARK,
  2122. };
  2123. /* - INTC ------------------------------------------------------------------- */
  2124. static const unsigned int intc_irq0_pins[] = {
  2125. /* IRQ0 */
  2126. RCAR_GP_PIN(4, 4),
  2127. };
  2128. static const unsigned int intc_irq0_mux[] = {
  2129. IRQ0_MARK,
  2130. };
  2131. static const unsigned int intc_irq1_pins[] = {
  2132. /* IRQ1 */
  2133. RCAR_GP_PIN(4, 18),
  2134. };
  2135. static const unsigned int intc_irq1_mux[] = {
  2136. IRQ1_MARK,
  2137. };
  2138. static const unsigned int intc_irq2_pins[] = {
  2139. /* IRQ2 */
  2140. RCAR_GP_PIN(4, 19),
  2141. };
  2142. static const unsigned int intc_irq2_mux[] = {
  2143. IRQ2_MARK,
  2144. };
  2145. static const unsigned int intc_irq3_pins[] = {
  2146. /* IRQ3 */
  2147. RCAR_GP_PIN(0, 7),
  2148. };
  2149. static const unsigned int intc_irq3_mux[] = {
  2150. IRQ3_MARK,
  2151. };
  2152. static const unsigned int intc_irq4_pins[] = {
  2153. /* IRQ4 */
  2154. RCAR_GP_PIN(0, 0),
  2155. };
  2156. static const unsigned int intc_irq4_mux[] = {
  2157. IRQ4_MARK,
  2158. };
  2159. static const unsigned int intc_irq5_pins[] = {
  2160. /* IRQ5 */
  2161. RCAR_GP_PIN(4, 1),
  2162. };
  2163. static const unsigned int intc_irq5_mux[] = {
  2164. IRQ5_MARK,
  2165. };
  2166. static const unsigned int intc_irq6_pins[] = {
  2167. /* IRQ6 */
  2168. RCAR_GP_PIN(0, 10),
  2169. };
  2170. static const unsigned int intc_irq6_mux[] = {
  2171. IRQ6_MARK,
  2172. };
  2173. static const unsigned int intc_irq7_pins[] = {
  2174. /* IRQ7 */
  2175. RCAR_GP_PIN(6, 15),
  2176. };
  2177. static const unsigned int intc_irq7_mux[] = {
  2178. IRQ7_MARK,
  2179. };
  2180. static const unsigned int intc_irq8_pins[] = {
  2181. /* IRQ8 */
  2182. RCAR_GP_PIN(5, 0),
  2183. };
  2184. static const unsigned int intc_irq8_mux[] = {
  2185. IRQ8_MARK,
  2186. };
  2187. static const unsigned int intc_irq9_pins[] = {
  2188. /* IRQ9 */
  2189. RCAR_GP_PIN(5, 10),
  2190. };
  2191. static const unsigned int intc_irq9_mux[] = {
  2192. IRQ9_MARK,
  2193. };
  2194. /* - MMCIF ------------------------------------------------------------------ */
  2195. static const unsigned int mmc_data1_pins[] = {
  2196. /* D[0] */
  2197. RCAR_GP_PIN(6, 18),
  2198. };
  2199. static const unsigned int mmc_data1_mux[] = {
  2200. MMC_D0_MARK,
  2201. };
  2202. static const unsigned int mmc_data4_pins[] = {
  2203. /* D[0:3] */
  2204. RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
  2205. RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
  2206. };
  2207. static const unsigned int mmc_data4_mux[] = {
  2208. MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
  2209. };
  2210. static const unsigned int mmc_data8_pins[] = {
  2211. /* D[0:7] */
  2212. RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
  2213. RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
  2214. RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
  2215. RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
  2216. };
  2217. static const unsigned int mmc_data8_mux[] = {
  2218. MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
  2219. MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
  2220. };
  2221. static const unsigned int mmc_ctrl_pins[] = {
  2222. /* CLK, CMD */
  2223. RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
  2224. };
  2225. static const unsigned int mmc_ctrl_mux[] = {
  2226. MMC_CLK_MARK, MMC_CMD_MARK,
  2227. };
  2228. /* - MSIOF0 ----------------------------------------------------------------- */
  2229. static const unsigned int msiof0_clk_pins[] = {
  2230. /* SCK */
  2231. RCAR_GP_PIN(4, 4),
  2232. };
  2233. static const unsigned int msiof0_clk_mux[] = {
  2234. MSIOF0_SCK_MARK,
  2235. };
  2236. static const unsigned int msiof0_sync_pins[] = {
  2237. /* SYNC */
  2238. RCAR_GP_PIN(4, 5),
  2239. };
  2240. static const unsigned int msiof0_sync_mux[] = {
  2241. MSIOF0_SYNC_MARK,
  2242. };
  2243. static const unsigned int msiof0_ss1_pins[] = {
  2244. /* SS1 */
  2245. RCAR_GP_PIN(4, 6),
  2246. };
  2247. static const unsigned int msiof0_ss1_mux[] = {
  2248. MSIOF0_SS1_MARK,
  2249. };
  2250. static const unsigned int msiof0_ss2_pins[] = {
  2251. /* SS2 */
  2252. RCAR_GP_PIN(4, 7),
  2253. };
  2254. static const unsigned int msiof0_ss2_mux[] = {
  2255. MSIOF0_SS2_MARK,
  2256. };
  2257. static const unsigned int msiof0_rx_pins[] = {
  2258. /* RXD */
  2259. RCAR_GP_PIN(4, 2),
  2260. };
  2261. static const unsigned int msiof0_rx_mux[] = {
  2262. MSIOF0_RXD_MARK,
  2263. };
  2264. static const unsigned int msiof0_tx_pins[] = {
  2265. /* TXD */
  2266. RCAR_GP_PIN(4, 3),
  2267. };
  2268. static const unsigned int msiof0_tx_mux[] = {
  2269. MSIOF0_TXD_MARK,
  2270. };
  2271. /* - MSIOF1 ----------------------------------------------------------------- */
  2272. static const unsigned int msiof1_clk_pins[] = {
  2273. /* SCK */
  2274. RCAR_GP_PIN(0, 26),
  2275. };
  2276. static const unsigned int msiof1_clk_mux[] = {
  2277. MSIOF1_SCK_MARK,
  2278. };
  2279. static const unsigned int msiof1_sync_pins[] = {
  2280. /* SYNC */
  2281. RCAR_GP_PIN(0, 27),
  2282. };
  2283. static const unsigned int msiof1_sync_mux[] = {
  2284. MSIOF1_SYNC_MARK,
  2285. };
  2286. static const unsigned int msiof1_ss1_pins[] = {
  2287. /* SS1 */
  2288. RCAR_GP_PIN(0, 28),
  2289. };
  2290. static const unsigned int msiof1_ss1_mux[] = {
  2291. MSIOF1_SS1_MARK,
  2292. };
  2293. static const unsigned int msiof1_ss2_pins[] = {
  2294. /* SS2 */
  2295. RCAR_GP_PIN(0, 29),
  2296. };
  2297. static const unsigned int msiof1_ss2_mux[] = {
  2298. MSIOF1_SS2_MARK,
  2299. };
  2300. static const unsigned int msiof1_rx_pins[] = {
  2301. /* RXD */
  2302. RCAR_GP_PIN(0, 24),
  2303. };
  2304. static const unsigned int msiof1_rx_mux[] = {
  2305. MSIOF1_RXD_MARK,
  2306. };
  2307. static const unsigned int msiof1_tx_pins[] = {
  2308. /* TXD */
  2309. RCAR_GP_PIN(0, 25),
  2310. };
  2311. static const unsigned int msiof1_tx_mux[] = {
  2312. MSIOF1_TXD_MARK,
  2313. };
  2314. static const unsigned int msiof1_clk_b_pins[] = {
  2315. /* SCK */
  2316. RCAR_GP_PIN(5, 3),
  2317. };
  2318. static const unsigned int msiof1_clk_b_mux[] = {
  2319. MSIOF1_SCK_B_MARK,
  2320. };
  2321. static const unsigned int msiof1_sync_b_pins[] = {
  2322. /* SYNC */
  2323. RCAR_GP_PIN(5, 4),
  2324. };
  2325. static const unsigned int msiof1_sync_b_mux[] = {
  2326. MSIOF1_SYNC_B_MARK,
  2327. };
  2328. static const unsigned int msiof1_ss1_b_pins[] = {
  2329. /* SS1 */
  2330. RCAR_GP_PIN(5, 5),
  2331. };
  2332. static const unsigned int msiof1_ss1_b_mux[] = {
  2333. MSIOF1_SS1_B_MARK,
  2334. };
  2335. static const unsigned int msiof1_ss2_b_pins[] = {
  2336. /* SS2 */
  2337. RCAR_GP_PIN(5, 6),
  2338. };
  2339. static const unsigned int msiof1_ss2_b_mux[] = {
  2340. MSIOF1_SS2_B_MARK,
  2341. };
  2342. static const unsigned int msiof1_rx_b_pins[] = {
  2343. /* RXD */
  2344. RCAR_GP_PIN(5, 1),
  2345. };
  2346. static const unsigned int msiof1_rx_b_mux[] = {
  2347. MSIOF1_RXD_B_MARK,
  2348. };
  2349. static const unsigned int msiof1_tx_b_pins[] = {
  2350. /* TXD */
  2351. RCAR_GP_PIN(5, 2),
  2352. };
  2353. static const unsigned int msiof1_tx_b_mux[] = {
  2354. MSIOF1_TXD_B_MARK,
  2355. };
  2356. /* - MSIOF2 ----------------------------------------------------------------- */
  2357. static const unsigned int msiof2_clk_pins[] = {
  2358. /* SCK */
  2359. RCAR_GP_PIN(1, 0),
  2360. };
  2361. static const unsigned int msiof2_clk_mux[] = {
  2362. MSIOF2_SCK_MARK,
  2363. };
  2364. static const unsigned int msiof2_sync_pins[] = {
  2365. /* SYNC */
  2366. RCAR_GP_PIN(1, 1),
  2367. };
  2368. static const unsigned int msiof2_sync_mux[] = {
  2369. MSIOF2_SYNC_MARK,
  2370. };
  2371. static const unsigned int msiof2_ss1_pins[] = {
  2372. /* SS1 */
  2373. RCAR_GP_PIN(1, 2),
  2374. };
  2375. static const unsigned int msiof2_ss1_mux[] = {
  2376. MSIOF2_SS1_MARK,
  2377. };
  2378. static const unsigned int msiof2_ss2_pins[] = {
  2379. /* SS2 */
  2380. RCAR_GP_PIN(1, 3),
  2381. };
  2382. static const unsigned int msiof2_ss2_mux[] = {
  2383. MSIOF2_SS2_MARK,
  2384. };
  2385. static const unsigned int msiof2_rx_pins[] = {
  2386. /* RXD */
  2387. RCAR_GP_PIN(0, 30),
  2388. };
  2389. static const unsigned int msiof2_rx_mux[] = {
  2390. MSIOF2_RXD_MARK,
  2391. };
  2392. static const unsigned int msiof2_tx_pins[] = {
  2393. /* TXD */
  2394. RCAR_GP_PIN(0, 31),
  2395. };
  2396. static const unsigned int msiof2_tx_mux[] = {
  2397. MSIOF2_TXD_MARK,
  2398. };
  2399. static const unsigned int msiof2_clk_b_pins[] = {
  2400. /* SCK */
  2401. RCAR_GP_PIN(3, 15),
  2402. };
  2403. static const unsigned int msiof2_clk_b_mux[] = {
  2404. MSIOF2_SCK_B_MARK,
  2405. };
  2406. static const unsigned int msiof2_sync_b_pins[] = {
  2407. /* SYNC */
  2408. RCAR_GP_PIN(3, 16),
  2409. };
  2410. static const unsigned int msiof2_sync_b_mux[] = {
  2411. MSIOF2_SYNC_B_MARK,
  2412. };
  2413. static const unsigned int msiof2_ss1_b_pins[] = {
  2414. /* SS1 */
  2415. RCAR_GP_PIN(3, 17),
  2416. };
  2417. static const unsigned int msiof2_ss1_b_mux[] = {
  2418. MSIOF2_SS1_B_MARK,
  2419. };
  2420. static const unsigned int msiof2_ss2_b_pins[] = {
  2421. /* SS2 */
  2422. RCAR_GP_PIN(3, 18),
  2423. };
  2424. static const unsigned int msiof2_ss2_b_mux[] = {
  2425. MSIOF2_SS2_B_MARK,
  2426. };
  2427. static const unsigned int msiof2_rx_b_pins[] = {
  2428. /* RXD */
  2429. RCAR_GP_PIN(3, 13),
  2430. };
  2431. static const unsigned int msiof2_rx_b_mux[] = {
  2432. MSIOF2_RXD_B_MARK,
  2433. };
  2434. static const unsigned int msiof2_tx_b_pins[] = {
  2435. /* TXD */
  2436. RCAR_GP_PIN(3, 14),
  2437. };
  2438. static const unsigned int msiof2_tx_b_mux[] = {
  2439. MSIOF2_TXD_B_MARK,
  2440. };
  2441. /* - QSPI ------------------------------------------------------------------- */
  2442. static const unsigned int qspi_ctrl_pins[] = {
  2443. /* SPCLK, SSL */
  2444. RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 9),
  2445. };
  2446. static const unsigned int qspi_ctrl_mux[] = {
  2447. SPCLK_MARK, SSL_MARK,
  2448. };
  2449. static const unsigned int qspi_data2_pins[] = {
  2450. /* MOSI_IO0, MISO_IO1 */
  2451. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6),
  2452. };
  2453. static const unsigned int qspi_data2_mux[] = {
  2454. MOSI_IO0_MARK, MISO_IO1_MARK,
  2455. };
  2456. static const unsigned int qspi_data4_pins[] = {
  2457. /* MOSI_IO0, MISO_IO1, IO2, IO3 */
  2458. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7),
  2459. RCAR_GP_PIN(1, 8),
  2460. };
  2461. static const unsigned int qspi_data4_mux[] = {
  2462. MOSI_IO0_MARK, MISO_IO1_MARK, IO2_MARK, IO3_MARK,
  2463. };
  2464. /* - SCIF0 ------------------------------------------------------------------ */
  2465. static const unsigned int scif0_data_pins[] = {
  2466. /* RX, TX */
  2467. RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
  2468. };
  2469. static const unsigned int scif0_data_mux[] = {
  2470. SCIF0_RXD_MARK, SCIF0_TXD_MARK,
  2471. };
  2472. static const unsigned int scif0_data_b_pins[] = {
  2473. /* RX, TX */
  2474. RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12),
  2475. };
  2476. static const unsigned int scif0_data_b_mux[] = {
  2477. SCIF0_RXD_B_MARK, SCIF0_TXD_B_MARK,
  2478. };
  2479. static const unsigned int scif0_data_c_pins[] = {
  2480. /* RX, TX */
  2481. RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 31),
  2482. };
  2483. static const unsigned int scif0_data_c_mux[] = {
  2484. SCIF0_RXD_C_MARK, SCIF0_TXD_C_MARK,
  2485. };
  2486. static const unsigned int scif0_data_d_pins[] = {
  2487. /* RX, TX */
  2488. RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
  2489. };
  2490. static const unsigned int scif0_data_d_mux[] = {
  2491. SCIF0_RXD_D_MARK, SCIF0_TXD_D_MARK,
  2492. };
  2493. /* - SCIF1 ------------------------------------------------------------------ */
  2494. static const unsigned int scif1_data_pins[] = {
  2495. /* RX, TX */
  2496. RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 15),
  2497. };
  2498. static const unsigned int scif1_data_mux[] = {
  2499. SCIF1_RXD_MARK, SCIF1_TXD_MARK,
  2500. };
  2501. static const unsigned int scif1_clk_pins[] = {
  2502. /* SCK */
  2503. RCAR_GP_PIN(4, 13),
  2504. };
  2505. static const unsigned int scif1_clk_mux[] = {
  2506. SCIF1_SCK_MARK,
  2507. };
  2508. static const unsigned int scif1_data_b_pins[] = {
  2509. /* RX, TX */
  2510. RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 12),
  2511. };
  2512. static const unsigned int scif1_data_b_mux[] = {
  2513. SCIF1_RXD_B_MARK, SCIF1_TXD_B_MARK,
  2514. };
  2515. static const unsigned int scif1_clk_b_pins[] = {
  2516. /* SCK */
  2517. RCAR_GP_PIN(5, 10),
  2518. };
  2519. static const unsigned int scif1_clk_b_mux[] = {
  2520. SCIF1_SCK_B_MARK,
  2521. };
  2522. static const unsigned int scif1_data_c_pins[] = {
  2523. /* RX, TX */
  2524. RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 12),
  2525. };
  2526. static const unsigned int scif1_data_c_mux[] = {
  2527. SCIF1_RXD_C_MARK, SCIF1_TXD_C_MARK,
  2528. };
  2529. static const unsigned int scif1_clk_c_pins[] = {
  2530. /* SCK */
  2531. RCAR_GP_PIN(0, 10),
  2532. };
  2533. static const unsigned int scif1_clk_c_mux[] = {
  2534. SCIF1_SCK_C_MARK,
  2535. };
  2536. /* - SCIF2 ------------------------------------------------------------------ */
  2537. static const unsigned int scif2_data_pins[] = {
  2538. /* RX, TX */
  2539. RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17),
  2540. };
  2541. static const unsigned int scif2_data_mux[] = {
  2542. SCIF2_RXD_MARK, SCIF2_TXD_MARK,
  2543. };
  2544. static const unsigned int scif2_clk_pins[] = {
  2545. /* SCK */
  2546. RCAR_GP_PIN(4, 18),
  2547. };
  2548. static const unsigned int scif2_clk_mux[] = {
  2549. SCIF2_SCK_MARK,
  2550. };
  2551. static const unsigned int scif2_data_b_pins[] = {
  2552. /* RX, TX */
  2553. RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19),
  2554. };
  2555. static const unsigned int scif2_data_b_mux[] = {
  2556. SCIF2_RXD_B_MARK, SCIF2_TXD_B_MARK,
  2557. };
  2558. static const unsigned int scif2_clk_b_pins[] = {
  2559. /* SCK */
  2560. RCAR_GP_PIN(5, 17),
  2561. };
  2562. static const unsigned int scif2_clk_b_mux[] = {
  2563. SCIF2_SCK_B_MARK,
  2564. };
  2565. static const unsigned int scif2_data_c_pins[] = {
  2566. /* RX, TX */
  2567. RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
  2568. };
  2569. static const unsigned int scif2_data_c_mux[] = {
  2570. SCIF2_RXD_C_MARK, SCIF2_TXD_C_MARK,
  2571. };
  2572. static const unsigned int scif2_clk_c_pins[] = {
  2573. /* SCK */
  2574. RCAR_GP_PIN(3, 19),
  2575. };
  2576. static const unsigned int scif2_clk_c_mux[] = {
  2577. SCIF2_SCK_C_MARK,
  2578. };
  2579. /* - SCIF3 ------------------------------------------------------------------ */
  2580. static const unsigned int scif3_data_pins[] = {
  2581. /* RX, TX */
  2582. RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
  2583. };
  2584. static const unsigned int scif3_data_mux[] = {
  2585. SCIF3_RXD_MARK, SCIF3_TXD_MARK,
  2586. };
  2587. static const unsigned int scif3_clk_pins[] = {
  2588. /* SCK */
  2589. RCAR_GP_PIN(4, 19),
  2590. };
  2591. static const unsigned int scif3_clk_mux[] = {
  2592. SCIF3_SCK_MARK,
  2593. };
  2594. static const unsigned int scif3_data_b_pins[] = {
  2595. /* RX, TX */
  2596. RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
  2597. };
  2598. static const unsigned int scif3_data_b_mux[] = {
  2599. SCIF3_RXD_B_MARK, SCIF3_TXD_B_MARK,
  2600. };
  2601. static const unsigned int scif3_clk_b_pins[] = {
  2602. /* SCK */
  2603. RCAR_GP_PIN(3, 22),
  2604. };
  2605. static const unsigned int scif3_clk_b_mux[] = {
  2606. SCIF3_SCK_B_MARK,
  2607. };
  2608. /* - SCIF4 ------------------------------------------------------------------ */
  2609. static const unsigned int scif4_data_pins[] = {
  2610. /* RX, TX */
  2611. RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1),
  2612. };
  2613. static const unsigned int scif4_data_mux[] = {
  2614. SCIF4_RXD_MARK, SCIF4_TXD_MARK,
  2615. };
  2616. static const unsigned int scif4_data_b_pins[] = {
  2617. /* RX, TX */
  2618. RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6),
  2619. };
  2620. static const unsigned int scif4_data_b_mux[] = {
  2621. SCIF4_RXD_B_MARK, SCIF4_TXD_B_MARK,
  2622. };
  2623. static const unsigned int scif4_data_c_pins[] = {
  2624. /* RX, TX */
  2625. RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15),
  2626. };
  2627. static const unsigned int scif4_data_c_mux[] = {
  2628. SCIF4_RXD_C_MARK, SCIF4_TXD_C_MARK,
  2629. };
  2630. static const unsigned int scif4_data_d_pins[] = {
  2631. /* RX, TX */
  2632. RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18),
  2633. };
  2634. static const unsigned int scif4_data_d_mux[] = {
  2635. SCIF4_RXD_D_MARK, SCIF4_TXD_D_MARK,
  2636. };
  2637. static const unsigned int scif4_data_e_pins[] = {
  2638. /* RX, TX */
  2639. RCAR_GP_PIN(1, 1), RCAR_GP_PIN(1, 2),
  2640. };
  2641. static const unsigned int scif4_data_e_mux[] = {
  2642. SCIF4_RXD_E_MARK, SCIF4_TXD_E_MARK,
  2643. };
  2644. /* - SCIF5 ------------------------------------------------------------------ */
  2645. static const unsigned int scif5_data_pins[] = {
  2646. /* RX, TX */
  2647. RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3),
  2648. };
  2649. static const unsigned int scif5_data_mux[] = {
  2650. SCIF5_RXD_MARK, SCIF5_TXD_MARK,
  2651. };
  2652. static const unsigned int scif5_data_b_pins[] = {
  2653. /* RX, TX */
  2654. RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4),
  2655. };
  2656. static const unsigned int scif5_data_b_mux[] = {
  2657. SCIF5_RXD_B_MARK, SCIF5_TXD_B_MARK,
  2658. };
  2659. static const unsigned int scif5_data_c_pins[] = {
  2660. /* RX, TX */
  2661. RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 11),
  2662. };
  2663. static const unsigned int scif5_data_c_mux[] = {
  2664. SCIF5_RXD_C_MARK, SCIF5_TXD_C_MARK,
  2665. };
  2666. static const unsigned int scif5_data_d_pins[] = {
  2667. /* RX, TX */
  2668. RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2),
  2669. };
  2670. static const unsigned int scif5_data_d_mux[] = {
  2671. SCIF5_RXD_D_MARK, SCIF5_TXD_D_MARK,
  2672. };
  2673. /* - SCIFA0 ----------------------------------------------------------------- */
  2674. static const unsigned int scifa0_data_pins[] = {
  2675. /* RXD, TXD */
  2676. RCAR_GP_PIN(4, 6), RCAR_GP_PIN(4, 7),
  2677. };
  2678. static const unsigned int scifa0_data_mux[] = {
  2679. SCIFA0_RXD_MARK, SCIFA0_TXD_MARK,
  2680. };
  2681. static const unsigned int scifa0_data_b_pins[] = {
  2682. /* RXD, TXD */
  2683. RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
  2684. };
  2685. static const unsigned int scifa0_data_b_mux[] = {
  2686. SCIFA0_RXD_B_MARK, SCIFA0_TXD_B_MARK
  2687. };
  2688. static const unsigned int scifa0_data_c_pins[] = {
  2689. /* RXD, TXD */
  2690. RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9),
  2691. };
  2692. static const unsigned int scifa0_data_c_mux[] = {
  2693. SCIFA0_RXD_C_MARK, SCIFA0_TXD_C_MARK
  2694. };
  2695. static const unsigned int scifa0_data_d_pins[] = {
  2696. /* RXD, TXD */
  2697. RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
  2698. };
  2699. static const unsigned int scifa0_data_d_mux[] = {
  2700. SCIFA0_RXD_D_MARK, SCIFA0_TXD_D_MARK
  2701. };
  2702. /* - SCIFA1 ----------------------------------------------------------------- */
  2703. static const unsigned int scifa1_data_pins[] = {
  2704. /* RXD, TXD */
  2705. RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
  2706. };
  2707. static const unsigned int scifa1_data_mux[] = {
  2708. SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
  2709. };
  2710. static const unsigned int scifa1_clk_pins[] = {
  2711. /* SCK */
  2712. RCAR_GP_PIN(0, 13),
  2713. };
  2714. static const unsigned int scifa1_clk_mux[] = {
  2715. SCIFA1_SCK_MARK,
  2716. };
  2717. static const unsigned int scifa1_data_b_pins[] = {
  2718. /* RXD, TXD */
  2719. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
  2720. };
  2721. static const unsigned int scifa1_data_b_mux[] = {
  2722. SCIFA1_RXD_B_MARK, SCIFA1_TXD_B_MARK,
  2723. };
  2724. static const unsigned int scifa1_clk_b_pins[] = {
  2725. /* SCK */
  2726. RCAR_GP_PIN(4, 27),
  2727. };
  2728. static const unsigned int scifa1_clk_b_mux[] = {
  2729. SCIFA1_SCK_B_MARK,
  2730. };
  2731. static const unsigned int scifa1_data_c_pins[] = {
  2732. /* RXD, TXD */
  2733. RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
  2734. };
  2735. static const unsigned int scifa1_data_c_mux[] = {
  2736. SCIFA1_RXD_C_MARK, SCIFA1_TXD_C_MARK,
  2737. };
  2738. static const unsigned int scifa1_clk_c_pins[] = {
  2739. /* SCK */
  2740. RCAR_GP_PIN(5, 4),
  2741. };
  2742. static const unsigned int scifa1_clk_c_mux[] = {
  2743. SCIFA1_SCK_C_MARK,
  2744. };
  2745. /* - SCIFA2 ----------------------------------------------------------------- */
  2746. static const unsigned int scifa2_data_pins[] = {
  2747. /* RXD, TXD */
  2748. RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 17),
  2749. };
  2750. static const unsigned int scifa2_data_mux[] = {
  2751. SCIFA2_RXD_MARK, SCIFA2_TXD_MARK,
  2752. };
  2753. static const unsigned int scifa2_clk_pins[] = {
  2754. /* SCK */
  2755. RCAR_GP_PIN(1, 15),
  2756. };
  2757. static const unsigned int scifa2_clk_mux[] = {
  2758. SCIFA2_SCK_MARK,
  2759. };
  2760. static const unsigned int scifa2_data_b_pins[] = {
  2761. /* RXD, TXD */
  2762. RCAR_GP_PIN(4, 31), RCAR_GP_PIN(5, 0),
  2763. };
  2764. static const unsigned int scifa2_data_b_mux[] = {
  2765. SCIFA2_RXD_B_MARK, SCIFA2_TXD_B_MARK,
  2766. };
  2767. static const unsigned int scifa2_clk_b_pins[] = {
  2768. /* SCK */
  2769. RCAR_GP_PIN(4, 30),
  2770. };
  2771. static const unsigned int scifa2_clk_b_mux[] = {
  2772. SCIFA2_SCK_B_MARK,
  2773. };
  2774. /* - SCIFA3 ----------------------------------------------------------------- */
  2775. static const unsigned int scifa3_data_pins[] = {
  2776. /* RXD, TXD */
  2777. RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
  2778. };
  2779. static const unsigned int scifa3_data_mux[] = {
  2780. SCIFA3_RXD_MARK, SCIFA3_TXD_MARK,
  2781. };
  2782. static const unsigned int scifa3_clk_pins[] = {
  2783. /* SCK */
  2784. RCAR_GP_PIN(4, 24),
  2785. };
  2786. static const unsigned int scifa3_clk_mux[] = {
  2787. SCIFA3_SCK_MARK,
  2788. };
  2789. static const unsigned int scifa3_data_b_pins[] = {
  2790. /* RXD, TXD */
  2791. RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 2),
  2792. };
  2793. static const unsigned int scifa3_data_b_mux[] = {
  2794. SCIFA3_RXD_B_MARK, SCIFA3_TXD_B_MARK,
  2795. };
  2796. static const unsigned int scifa3_clk_b_pins[] = {
  2797. /* SCK */
  2798. RCAR_GP_PIN(0, 0),
  2799. };
  2800. static const unsigned int scifa3_clk_b_mux[] = {
  2801. SCIFA3_SCK_B_MARK,
  2802. };
  2803. /* - SCIFA4 ----------------------------------------------------------------- */
  2804. static const unsigned int scifa4_data_pins[] = {
  2805. /* RXD, TXD */
  2806. RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 12),
  2807. };
  2808. static const unsigned int scifa4_data_mux[] = {
  2809. SCIFA4_RXD_MARK, SCIFA4_TXD_MARK,
  2810. };
  2811. static const unsigned int scifa4_data_b_pins[] = {
  2812. /* RXD, TXD */
  2813. RCAR_GP_PIN(0, 22), RCAR_GP_PIN(0, 23),
  2814. };
  2815. static const unsigned int scifa4_data_b_mux[] = {
  2816. SCIFA4_RXD_B_MARK, SCIFA4_TXD_B_MARK,
  2817. };
  2818. static const unsigned int scifa4_data_c_pins[] = {
  2819. /* RXD, TXD */
  2820. RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 17),
  2821. };
  2822. static const unsigned int scifa4_data_c_mux[] = {
  2823. SCIFA4_RXD_C_MARK, SCIFA4_TXD_C_MARK,
  2824. };
  2825. static const unsigned int scifa4_data_d_pins[] = {
  2826. /* RXD, TXD */
  2827. RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 21),
  2828. };
  2829. static const unsigned int scifa4_data_d_mux[] = {
  2830. SCIFA4_RXD_D_MARK, SCIFA4_TXD_D_MARK,
  2831. };
  2832. /* - SCIFA5 ----------------------------------------------------------------- */
  2833. static const unsigned int scifa5_data_pins[] = {
  2834. /* RXD, TXD */
  2835. RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
  2836. };
  2837. static const unsigned int scifa5_data_mux[] = {
  2838. SCIFA5_RXD_MARK, SCIFA5_TXD_MARK,
  2839. };
  2840. static const unsigned int scifa5_data_b_pins[] = {
  2841. /* RXD, TXD */
  2842. RCAR_GP_PIN(0, 28), RCAR_GP_PIN(0, 29),
  2843. };
  2844. static const unsigned int scifa5_data_b_mux[] = {
  2845. SCIFA5_RXD_B_MARK, SCIFA5_TXD_B_MARK,
  2846. };
  2847. static const unsigned int scifa5_data_c_pins[] = {
  2848. /* RXD, TXD */
  2849. RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 10),
  2850. };
  2851. static const unsigned int scifa5_data_c_mux[] = {
  2852. SCIFA5_RXD_C_MARK, SCIFA5_TXD_C_MARK,
  2853. };
  2854. static const unsigned int scifa5_data_d_pins[] = {
  2855. /* RXD, TXD */
  2856. RCAR_GP_PIN(5, 22), RCAR_GP_PIN(5, 23),
  2857. };
  2858. static const unsigned int scifa5_data_d_mux[] = {
  2859. SCIFA5_RXD_D_MARK, SCIFA5_TXD_D_MARK,
  2860. };
  2861. /* - SCIFB0 ----------------------------------------------------------------- */
  2862. static const unsigned int scifb0_data_pins[] = {
  2863. /* RXD, TXD */
  2864. RCAR_GP_PIN(0, 21), RCAR_GP_PIN(0, 20),
  2865. };
  2866. static const unsigned int scifb0_data_mux[] = {
  2867. SCIFB0_RXD_MARK, SCIFB0_TXD_MARK,
  2868. };
  2869. static const unsigned int scifb0_clk_pins[] = {
  2870. /* SCK */
  2871. RCAR_GP_PIN(0, 19),
  2872. };
  2873. static const unsigned int scifb0_clk_mux[] = {
  2874. SCIFB0_SCK_MARK,
  2875. };
  2876. static const unsigned int scifb0_ctrl_pins[] = {
  2877. /* RTS, CTS */
  2878. RCAR_GP_PIN(0, 23), RCAR_GP_PIN(0, 22),
  2879. };
  2880. static const unsigned int scifb0_ctrl_mux[] = {
  2881. SCIFB0_RTS_N_MARK, SCIFB0_CTS_N_MARK,
  2882. };
  2883. /* - SCIFB1 ----------------------------------------------------------------- */
  2884. static const unsigned int scifb1_data_pins[] = {
  2885. /* RXD, TXD */
  2886. RCAR_GP_PIN(1, 24), RCAR_GP_PIN(0, 17),
  2887. };
  2888. static const unsigned int scifb1_data_mux[] = {
  2889. SCIFB1_RXD_MARK, SCIFB1_TXD_MARK,
  2890. };
  2891. static const unsigned int scifb1_clk_pins[] = {
  2892. /* SCK */
  2893. RCAR_GP_PIN(0, 16),
  2894. };
  2895. static const unsigned int scifb1_clk_mux[] = {
  2896. SCIFB1_SCK_MARK,
  2897. };
  2898. /* - SCIFB2 ----------------------------------------------------------------- */
  2899. static const unsigned int scifb2_data_pins[] = {
  2900. /* RXD, TXD */
  2901. RCAR_GP_PIN(1, 13), RCAR_GP_PIN(1, 14),
  2902. };
  2903. static const unsigned int scifb2_data_mux[] = {
  2904. SCIFB2_RXD_MARK, SCIFB2_TXD_MARK,
  2905. };
  2906. static const unsigned int scifb2_clk_pins[] = {
  2907. /* SCK */
  2908. RCAR_GP_PIN(1, 15),
  2909. };
  2910. static const unsigned int scifb2_clk_mux[] = {
  2911. SCIFB2_SCK_MARK,
  2912. };
  2913. static const unsigned int scifb2_ctrl_pins[] = {
  2914. /* RTS, CTS */
  2915. RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 16),
  2916. };
  2917. static const unsigned int scifb2_ctrl_mux[] = {
  2918. SCIFB2_RTS_N_MARK, SCIFB2_CTS_N_MARK,
  2919. };
  2920. /* - SCIF Clock ------------------------------------------------------------- */
  2921. static const unsigned int scif_clk_pins[] = {
  2922. /* SCIF_CLK */
  2923. RCAR_GP_PIN(1, 23),
  2924. };
  2925. static const unsigned int scif_clk_mux[] = {
  2926. SCIF_CLK_MARK,
  2927. };
  2928. static const unsigned int scif_clk_b_pins[] = {
  2929. /* SCIF_CLK */
  2930. RCAR_GP_PIN(3, 29),
  2931. };
  2932. static const unsigned int scif_clk_b_mux[] = {
  2933. SCIF_CLK_B_MARK,
  2934. };
  2935. /* - SDHI0 ------------------------------------------------------------------ */
  2936. static const unsigned int sdhi0_data1_pins[] = {
  2937. /* D0 */
  2938. RCAR_GP_PIN(6, 2),
  2939. };
  2940. static const unsigned int sdhi0_data1_mux[] = {
  2941. SD0_DATA0_MARK,
  2942. };
  2943. static const unsigned int sdhi0_data4_pins[] = {
  2944. /* D[0:3] */
  2945. RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 3),
  2946. RCAR_GP_PIN(6, 4), RCAR_GP_PIN(6, 5),
  2947. };
  2948. static const unsigned int sdhi0_data4_mux[] = {
  2949. SD0_DATA0_MARK, SD0_DATA1_MARK, SD0_DATA2_MARK, SD0_DATA3_MARK,
  2950. };
  2951. static const unsigned int sdhi0_ctrl_pins[] = {
  2952. /* CLK, CMD */
  2953. RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 1),
  2954. };
  2955. static const unsigned int sdhi0_ctrl_mux[] = {
  2956. SD0_CLK_MARK, SD0_CMD_MARK,
  2957. };
  2958. static const unsigned int sdhi0_cd_pins[] = {
  2959. /* CD */
  2960. RCAR_GP_PIN(6, 6),
  2961. };
  2962. static const unsigned int sdhi0_cd_mux[] = {
  2963. SD0_CD_MARK,
  2964. };
  2965. static const unsigned int sdhi0_wp_pins[] = {
  2966. /* WP */
  2967. RCAR_GP_PIN(6, 7),
  2968. };
  2969. static const unsigned int sdhi0_wp_mux[] = {
  2970. SD0_WP_MARK,
  2971. };
  2972. /* - SDHI1 ------------------------------------------------------------------ */
  2973. static const unsigned int sdhi1_data1_pins[] = {
  2974. /* D0 */
  2975. RCAR_GP_PIN(6, 10),
  2976. };
  2977. static const unsigned int sdhi1_data1_mux[] = {
  2978. SD1_DATA0_MARK,
  2979. };
  2980. static const unsigned int sdhi1_data4_pins[] = {
  2981. /* D[0:3] */
  2982. RCAR_GP_PIN(6, 10), RCAR_GP_PIN(6, 11),
  2983. RCAR_GP_PIN(6, 12), RCAR_GP_PIN(6, 13),
  2984. };
  2985. static const unsigned int sdhi1_data4_mux[] = {
  2986. SD1_DATA0_MARK, SD1_DATA1_MARK, SD1_DATA2_MARK, SD1_DATA3_MARK,
  2987. };
  2988. static const unsigned int sdhi1_ctrl_pins[] = {
  2989. /* CLK, CMD */
  2990. RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9),
  2991. };
  2992. static const unsigned int sdhi1_ctrl_mux[] = {
  2993. SD1_CLK_MARK, SD1_CMD_MARK,
  2994. };
  2995. static const unsigned int sdhi1_cd_pins[] = {
  2996. /* CD */
  2997. RCAR_GP_PIN(6, 14),
  2998. };
  2999. static const unsigned int sdhi1_cd_mux[] = {
  3000. SD1_CD_MARK,
  3001. };
  3002. static const unsigned int sdhi1_wp_pins[] = {
  3003. /* WP */
  3004. RCAR_GP_PIN(6, 15),
  3005. };
  3006. static const unsigned int sdhi1_wp_mux[] = {
  3007. SD1_WP_MARK,
  3008. };
  3009. /* - SDHI2 ------------------------------------------------------------------ */
  3010. static const unsigned int sdhi2_data1_pins[] = {
  3011. /* D0 */
  3012. RCAR_GP_PIN(6, 18),
  3013. };
  3014. static const unsigned int sdhi2_data1_mux[] = {
  3015. SD2_DATA0_MARK,
  3016. };
  3017. static const unsigned int sdhi2_data4_pins[] = {
  3018. /* D[0:3] */
  3019. RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
  3020. RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
  3021. };
  3022. static const unsigned int sdhi2_data4_mux[] = {
  3023. SD2_DATA0_MARK, SD2_DATA1_MARK, SD2_DATA2_MARK, SD2_DATA3_MARK,
  3024. };
  3025. static const unsigned int sdhi2_ctrl_pins[] = {
  3026. /* CLK, CMD */
  3027. RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
  3028. };
  3029. static const unsigned int sdhi2_ctrl_mux[] = {
  3030. SD2_CLK_MARK, SD2_CMD_MARK,
  3031. };
  3032. static const unsigned int sdhi2_cd_pins[] = {
  3033. /* CD */
  3034. RCAR_GP_PIN(6, 22),
  3035. };
  3036. static const unsigned int sdhi2_cd_mux[] = {
  3037. SD2_CD_MARK,
  3038. };
  3039. static const unsigned int sdhi2_wp_pins[] = {
  3040. /* WP */
  3041. RCAR_GP_PIN(6, 23),
  3042. };
  3043. static const unsigned int sdhi2_wp_mux[] = {
  3044. SD2_WP_MARK,
  3045. };
  3046. /* - SSI -------------------------------------------------------------------- */
  3047. static const unsigned int ssi0_data_pins[] = {
  3048. /* SDATA0 */
  3049. RCAR_GP_PIN(5, 3),
  3050. };
  3051. static const unsigned int ssi0_data_mux[] = {
  3052. SSI_SDATA0_MARK,
  3053. };
  3054. static const unsigned int ssi0129_ctrl_pins[] = {
  3055. /* SCK0129, WS0129 */
  3056. RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2),
  3057. };
  3058. static const unsigned int ssi0129_ctrl_mux[] = {
  3059. SSI_SCK0129_MARK, SSI_WS0129_MARK,
  3060. };
  3061. static const unsigned int ssi1_data_pins[] = {
  3062. /* SDATA1 */
  3063. RCAR_GP_PIN(5, 13),
  3064. };
  3065. static const unsigned int ssi1_data_mux[] = {
  3066. SSI_SDATA1_MARK,
  3067. };
  3068. static const unsigned int ssi1_ctrl_pins[] = {
  3069. /* SCK1, WS1 */
  3070. RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 12),
  3071. };
  3072. static const unsigned int ssi1_ctrl_mux[] = {
  3073. SSI_SCK1_MARK, SSI_WS1_MARK,
  3074. };
  3075. static const unsigned int ssi1_data_b_pins[] = {
  3076. /* SDATA1 */
  3077. RCAR_GP_PIN(4, 13),
  3078. };
  3079. static const unsigned int ssi1_data_b_mux[] = {
  3080. SSI_SDATA1_B_MARK,
  3081. };
  3082. static const unsigned int ssi1_ctrl_b_pins[] = {
  3083. /* SCK1, WS1 */
  3084. RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
  3085. };
  3086. static const unsigned int ssi1_ctrl_b_mux[] = {
  3087. SSI_SCK1_B_MARK, SSI_WS1_B_MARK,
  3088. };
  3089. static const unsigned int ssi2_data_pins[] = {
  3090. /* SDATA2 */
  3091. RCAR_GP_PIN(5, 16),
  3092. };
  3093. static const unsigned int ssi2_data_mux[] = {
  3094. SSI_SDATA2_MARK,
  3095. };
  3096. static const unsigned int ssi2_ctrl_pins[] = {
  3097. /* SCK2, WS2 */
  3098. RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 15),
  3099. };
  3100. static const unsigned int ssi2_ctrl_mux[] = {
  3101. SSI_SCK2_MARK, SSI_WS2_MARK,
  3102. };
  3103. static const unsigned int ssi2_data_b_pins[] = {
  3104. /* SDATA2 */
  3105. RCAR_GP_PIN(4, 16),
  3106. };
  3107. static const unsigned int ssi2_data_b_mux[] = {
  3108. SSI_SDATA2_B_MARK,
  3109. };
  3110. static const unsigned int ssi2_ctrl_b_pins[] = {
  3111. /* SCK2, WS2 */
  3112. RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 15),
  3113. };
  3114. static const unsigned int ssi2_ctrl_b_mux[] = {
  3115. SSI_SCK2_B_MARK, SSI_WS2_B_MARK,
  3116. };
  3117. static const unsigned int ssi3_data_pins[] = {
  3118. /* SDATA3 */
  3119. RCAR_GP_PIN(5, 6),
  3120. };
  3121. static const unsigned int ssi3_data_mux[] = {
  3122. SSI_SDATA3_MARK
  3123. };
  3124. static const unsigned int ssi34_ctrl_pins[] = {
  3125. /* SCK34, WS34 */
  3126. RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 5),
  3127. };
  3128. static const unsigned int ssi34_ctrl_mux[] = {
  3129. SSI_SCK34_MARK, SSI_WS34_MARK,
  3130. };
  3131. static const unsigned int ssi4_data_pins[] = {
  3132. /* SDATA4 */
  3133. RCAR_GP_PIN(5, 9),
  3134. };
  3135. static const unsigned int ssi4_data_mux[] = {
  3136. SSI_SDATA4_MARK,
  3137. };
  3138. static const unsigned int ssi4_ctrl_pins[] = {
  3139. /* SCK4, WS4 */
  3140. RCAR_GP_PIN(5, 7), RCAR_GP_PIN(5, 8),
  3141. };
  3142. static const unsigned int ssi4_ctrl_mux[] = {
  3143. SSI_SCK4_MARK, SSI_WS4_MARK,
  3144. };
  3145. static const unsigned int ssi4_data_b_pins[] = {
  3146. /* SDATA4 */
  3147. RCAR_GP_PIN(4, 22),
  3148. };
  3149. static const unsigned int ssi4_data_b_mux[] = {
  3150. SSI_SDATA4_B_MARK,
  3151. };
  3152. static const unsigned int ssi4_ctrl_b_pins[] = {
  3153. /* SCK4, WS4 */
  3154. RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
  3155. };
  3156. static const unsigned int ssi4_ctrl_b_mux[] = {
  3157. SSI_SCK4_B_MARK, SSI_WS4_B_MARK,
  3158. };
  3159. static const unsigned int ssi5_data_pins[] = {
  3160. /* SDATA5 */
  3161. RCAR_GP_PIN(4, 26),
  3162. };
  3163. static const unsigned int ssi5_data_mux[] = {
  3164. SSI_SDATA5_MARK,
  3165. };
  3166. static const unsigned int ssi5_ctrl_pins[] = {
  3167. /* SCK5, WS5 */
  3168. RCAR_GP_PIN(4, 24), RCAR_GP_PIN(4, 25),
  3169. };
  3170. static const unsigned int ssi5_ctrl_mux[] = {
  3171. SSI_SCK5_MARK, SSI_WS5_MARK,
  3172. };
  3173. static const unsigned int ssi5_data_b_pins[] = {
  3174. /* SDATA5 */
  3175. RCAR_GP_PIN(3, 21),
  3176. };
  3177. static const unsigned int ssi5_data_b_mux[] = {
  3178. SSI_SDATA5_B_MARK,
  3179. };
  3180. static const unsigned int ssi5_ctrl_b_pins[] = {
  3181. /* SCK5, WS5 */
  3182. RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20),
  3183. };
  3184. static const unsigned int ssi5_ctrl_b_mux[] = {
  3185. SSI_SCK5_B_MARK, SSI_WS5_B_MARK,
  3186. };
  3187. static const unsigned int ssi6_data_pins[] = {
  3188. /* SDATA6 */
  3189. RCAR_GP_PIN(4, 29),
  3190. };
  3191. static const unsigned int ssi6_data_mux[] = {
  3192. SSI_SDATA6_MARK,
  3193. };
  3194. static const unsigned int ssi6_ctrl_pins[] = {
  3195. /* SCK6, WS6 */
  3196. RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
  3197. };
  3198. static const unsigned int ssi6_ctrl_mux[] = {
  3199. SSI_SCK6_MARK, SSI_WS6_MARK,
  3200. };
  3201. static const unsigned int ssi6_data_b_pins[] = {
  3202. /* SDATA6 */
  3203. RCAR_GP_PIN(3, 24),
  3204. };
  3205. static const unsigned int ssi6_data_b_mux[] = {
  3206. SSI_SDATA6_B_MARK,
  3207. };
  3208. static const unsigned int ssi6_ctrl_b_pins[] = {
  3209. /* SCK6, WS6 */
  3210. RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 23),
  3211. };
  3212. static const unsigned int ssi6_ctrl_b_mux[] = {
  3213. SSI_SCK6_B_MARK, SSI_WS6_B_MARK,
  3214. };
  3215. static const unsigned int ssi7_data_pins[] = {
  3216. /* SDATA7 */
  3217. RCAR_GP_PIN(5, 0),
  3218. };
  3219. static const unsigned int ssi7_data_mux[] = {
  3220. SSI_SDATA7_MARK,
  3221. };
  3222. static const unsigned int ssi78_ctrl_pins[] = {
  3223. /* SCK78, WS78 */
  3224. RCAR_GP_PIN(4, 30), RCAR_GP_PIN(4, 31),
  3225. };
  3226. static const unsigned int ssi78_ctrl_mux[] = {
  3227. SSI_SCK78_MARK, SSI_WS78_MARK,
  3228. };
  3229. static const unsigned int ssi7_data_b_pins[] = {
  3230. /* SDATA7 */
  3231. RCAR_GP_PIN(3, 27),
  3232. };
  3233. static const unsigned int ssi7_data_b_mux[] = {
  3234. SSI_SDATA7_B_MARK,
  3235. };
  3236. static const unsigned int ssi78_ctrl_b_pins[] = {
  3237. /* SCK78, WS78 */
  3238. RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
  3239. };
  3240. static const unsigned int ssi78_ctrl_b_mux[] = {
  3241. SSI_SCK78_B_MARK, SSI_WS78_B_MARK,
  3242. };
  3243. static const unsigned int ssi8_data_pins[] = {
  3244. /* SDATA8 */
  3245. RCAR_GP_PIN(5, 10),
  3246. };
  3247. static const unsigned int ssi8_data_mux[] = {
  3248. SSI_SDATA8_MARK,
  3249. };
  3250. static const unsigned int ssi8_data_b_pins[] = {
  3251. /* SDATA8 */
  3252. RCAR_GP_PIN(3, 28),
  3253. };
  3254. static const unsigned int ssi8_data_b_mux[] = {
  3255. SSI_SDATA8_B_MARK,
  3256. };
  3257. static const unsigned int ssi9_data_pins[] = {
  3258. /* SDATA9 */
  3259. RCAR_GP_PIN(5, 19),
  3260. };
  3261. static const unsigned int ssi9_data_mux[] = {
  3262. SSI_SDATA9_MARK,
  3263. };
  3264. static const unsigned int ssi9_ctrl_pins[] = {
  3265. /* SCK9, WS9 */
  3266. RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 18),
  3267. };
  3268. static const unsigned int ssi9_ctrl_mux[] = {
  3269. SSI_SCK9_MARK, SSI_WS9_MARK,
  3270. };
  3271. static const unsigned int ssi9_data_b_pins[] = {
  3272. /* SDATA9 */
  3273. RCAR_GP_PIN(4, 19),
  3274. };
  3275. static const unsigned int ssi9_data_b_mux[] = {
  3276. SSI_SDATA9_B_MARK,
  3277. };
  3278. static const unsigned int ssi9_ctrl_b_pins[] = {
  3279. /* SCK9, WS9 */
  3280. RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
  3281. };
  3282. static const unsigned int ssi9_ctrl_b_mux[] = {
  3283. SSI_SCK9_B_MARK, SSI_WS9_B_MARK,
  3284. };
  3285. /* - USB0 ------------------------------------------------------------------- */
  3286. static const unsigned int usb0_pins[] = {
  3287. RCAR_GP_PIN(5, 24), /* PWEN */
  3288. RCAR_GP_PIN(5, 25), /* OVC */
  3289. };
  3290. static const unsigned int usb0_mux[] = {
  3291. USB0_PWEN_MARK,
  3292. USB0_OVC_MARK,
  3293. };
  3294. /* - USB1 ------------------------------------------------------------------- */
  3295. static const unsigned int usb1_pins[] = {
  3296. RCAR_GP_PIN(5, 26), /* PWEN */
  3297. RCAR_GP_PIN(5, 27), /* OVC */
  3298. };
  3299. static const unsigned int usb1_mux[] = {
  3300. USB1_PWEN_MARK,
  3301. USB1_OVC_MARK,
  3302. };
  3303. /* - VIN0 ------------------------------------------------------------------- */
  3304. static const union vin_data vin0_data_pins = {
  3305. .data24 = {
  3306. /* B */
  3307. RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 2),
  3308. RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4),
  3309. RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 6),
  3310. RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 8),
  3311. /* G */
  3312. RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 14),
  3313. RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16),
  3314. RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18),
  3315. RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20),
  3316. /* R */
  3317. RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 22),
  3318. RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
  3319. RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
  3320. RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
  3321. },
  3322. };
  3323. static const union vin_data vin0_data_mux = {
  3324. .data24 = {
  3325. /* B */
  3326. VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
  3327. VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
  3328. VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
  3329. VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
  3330. /* G */
  3331. VI0_G0_MARK, VI0_G1_MARK,
  3332. VI0_G2_MARK, VI0_G3_MARK,
  3333. VI0_G4_MARK, VI0_G5_MARK,
  3334. VI0_G6_MARK, VI0_G7_MARK,
  3335. /* R */
  3336. VI0_R0_MARK, VI0_R1_MARK,
  3337. VI0_R2_MARK, VI0_R3_MARK,
  3338. VI0_R4_MARK, VI0_R5_MARK,
  3339. VI0_R6_MARK, VI0_R7_MARK,
  3340. },
  3341. };
  3342. static const unsigned int vin0_data18_pins[] = {
  3343. /* B */
  3344. RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4),
  3345. RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 6),
  3346. RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 8),
  3347. /* G */
  3348. RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16),
  3349. RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18),
  3350. RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20),
  3351. /* R */
  3352. RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
  3353. RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
  3354. RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
  3355. };
  3356. static const unsigned int vin0_data18_mux[] = {
  3357. /* B */
  3358. VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
  3359. VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
  3360. VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
  3361. /* G */
  3362. VI0_G2_MARK, VI0_G3_MARK,
  3363. VI0_G4_MARK, VI0_G5_MARK,
  3364. VI0_G6_MARK, VI0_G7_MARK,
  3365. /* R */
  3366. VI0_R2_MARK, VI0_R3_MARK,
  3367. VI0_R4_MARK, VI0_R5_MARK,
  3368. VI0_R6_MARK, VI0_R7_MARK,
  3369. };
  3370. static const unsigned int vin0_sync_pins[] = {
  3371. RCAR_GP_PIN(3, 11), /* HSYNC */
  3372. RCAR_GP_PIN(3, 12), /* VSYNC */
  3373. };
  3374. static const unsigned int vin0_sync_mux[] = {
  3375. VI0_HSYNC_N_MARK,
  3376. VI0_VSYNC_N_MARK,
  3377. };
  3378. static const unsigned int vin0_field_pins[] = {
  3379. RCAR_GP_PIN(3, 10),
  3380. };
  3381. static const unsigned int vin0_field_mux[] = {
  3382. VI0_FIELD_MARK,
  3383. };
  3384. static const unsigned int vin0_clkenb_pins[] = {
  3385. RCAR_GP_PIN(3, 9),
  3386. };
  3387. static const unsigned int vin0_clkenb_mux[] = {
  3388. VI0_CLKENB_MARK,
  3389. };
  3390. static const unsigned int vin0_clk_pins[] = {
  3391. RCAR_GP_PIN(3, 0),
  3392. };
  3393. static const unsigned int vin0_clk_mux[] = {
  3394. VI0_CLK_MARK,
  3395. };
  3396. /* - VIN1 ------------------------------------------------------------------- */
  3397. static const union vin_data vin1_data_pins = {
  3398. .data12 = {
  3399. RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 13),
  3400. RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 15),
  3401. RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 17),
  3402. RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19),
  3403. RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 11),
  3404. RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13),
  3405. },
  3406. };
  3407. static const union vin_data vin1_data_mux = {
  3408. .data12 = {
  3409. VI1_DATA0_MARK, VI1_DATA1_MARK,
  3410. VI1_DATA2_MARK, VI1_DATA3_MARK,
  3411. VI1_DATA4_MARK, VI1_DATA5_MARK,
  3412. VI1_DATA6_MARK, VI1_DATA7_MARK,
  3413. VI1_DATA8_MARK, VI1_DATA9_MARK,
  3414. VI1_DATA10_MARK, VI1_DATA11_MARK,
  3415. },
  3416. };
  3417. static const unsigned int vin1_sync_pins[] = {
  3418. RCAR_GP_PIN(5, 22), /* HSYNC */
  3419. RCAR_GP_PIN(5, 23), /* VSYNC */
  3420. };
  3421. static const unsigned int vin1_sync_mux[] = {
  3422. VI1_HSYNC_N_MARK,
  3423. VI1_VSYNC_N_MARK,
  3424. };
  3425. static const unsigned int vin1_field_pins[] = {
  3426. RCAR_GP_PIN(5, 21),
  3427. };
  3428. static const unsigned int vin1_field_mux[] = {
  3429. VI1_FIELD_MARK,
  3430. };
  3431. static const unsigned int vin1_clkenb_pins[] = {
  3432. RCAR_GP_PIN(5, 20),
  3433. };
  3434. static const unsigned int vin1_clkenb_mux[] = {
  3435. VI1_CLKENB_MARK,
  3436. };
  3437. static const unsigned int vin1_clk_pins[] = {
  3438. RCAR_GP_PIN(5, 11),
  3439. };
  3440. static const unsigned int vin1_clk_mux[] = {
  3441. VI1_CLK_MARK,
  3442. };
  3443. static const struct sh_pfc_pin_group pinmux_groups[] = {
  3444. SH_PFC_PIN_GROUP(audio_clka),
  3445. SH_PFC_PIN_GROUP(audio_clka_b),
  3446. SH_PFC_PIN_GROUP(audio_clka_c),
  3447. SH_PFC_PIN_GROUP(audio_clka_d),
  3448. SH_PFC_PIN_GROUP(audio_clkb),
  3449. SH_PFC_PIN_GROUP(audio_clkb_b),
  3450. SH_PFC_PIN_GROUP(audio_clkb_c),
  3451. SH_PFC_PIN_GROUP(audio_clkc),
  3452. SH_PFC_PIN_GROUP(audio_clkc_b),
  3453. SH_PFC_PIN_GROUP(audio_clkc_c),
  3454. SH_PFC_PIN_GROUP(audio_clkout),
  3455. SH_PFC_PIN_GROUP(audio_clkout_b),
  3456. SH_PFC_PIN_GROUP(audio_clkout_c),
  3457. SH_PFC_PIN_GROUP(avb_link),
  3458. SH_PFC_PIN_GROUP(avb_magic),
  3459. SH_PFC_PIN_GROUP(avb_phy_int),
  3460. SH_PFC_PIN_GROUP(avb_mdio),
  3461. SH_PFC_PIN_GROUP(avb_mii),
  3462. SH_PFC_PIN_GROUP(avb_gmii),
  3463. SH_PFC_PIN_GROUP(avb_avtp_capture),
  3464. SH_PFC_PIN_GROUP(avb_avtp_match),
  3465. SH_PFC_PIN_GROUP(avb_avtp_capture_b),
  3466. SH_PFC_PIN_GROUP(avb_avtp_match_b),
  3467. SH_PFC_PIN_GROUP(du0_rgb666),
  3468. SH_PFC_PIN_GROUP(du0_rgb888),
  3469. SH_PFC_PIN_GROUP(du0_clk0_out),
  3470. SH_PFC_PIN_GROUP(du0_clk1_out),
  3471. SH_PFC_PIN_GROUP(du0_clk_in),
  3472. SH_PFC_PIN_GROUP(du0_sync),
  3473. SH_PFC_PIN_GROUP(du0_oddf),
  3474. SH_PFC_PIN_GROUP(du0_cde),
  3475. SH_PFC_PIN_GROUP(du0_disp),
  3476. SH_PFC_PIN_GROUP(du1_rgb666),
  3477. SH_PFC_PIN_GROUP(du1_rgb888),
  3478. SH_PFC_PIN_GROUP(du1_clk0_out),
  3479. SH_PFC_PIN_GROUP(du1_clk1_out),
  3480. SH_PFC_PIN_GROUP(du1_clk_in),
  3481. SH_PFC_PIN_GROUP(du1_sync),
  3482. SH_PFC_PIN_GROUP(du1_oddf),
  3483. SH_PFC_PIN_GROUP(du1_cde),
  3484. SH_PFC_PIN_GROUP(du1_disp),
  3485. SH_PFC_PIN_GROUP(eth_link),
  3486. SH_PFC_PIN_GROUP(eth_magic),
  3487. SH_PFC_PIN_GROUP(eth_mdio),
  3488. SH_PFC_PIN_GROUP(eth_rmii),
  3489. SH_PFC_PIN_GROUP(eth_link_b),
  3490. SH_PFC_PIN_GROUP(eth_magic_b),
  3491. SH_PFC_PIN_GROUP(eth_mdio_b),
  3492. SH_PFC_PIN_GROUP(eth_rmii_b),
  3493. SH_PFC_PIN_GROUP(hscif0_data),
  3494. SH_PFC_PIN_GROUP(hscif0_clk),
  3495. SH_PFC_PIN_GROUP(hscif0_ctrl),
  3496. SH_PFC_PIN_GROUP(hscif0_data_b),
  3497. SH_PFC_PIN_GROUP(hscif0_clk_b),
  3498. SH_PFC_PIN_GROUP(hscif1_data),
  3499. SH_PFC_PIN_GROUP(hscif1_clk),
  3500. SH_PFC_PIN_GROUP(hscif1_ctrl),
  3501. SH_PFC_PIN_GROUP(hscif1_data_b),
  3502. SH_PFC_PIN_GROUP(hscif1_ctrl_b),
  3503. SH_PFC_PIN_GROUP(hscif2_data),
  3504. SH_PFC_PIN_GROUP(hscif2_clk),
  3505. SH_PFC_PIN_GROUP(hscif2_ctrl),
  3506. SH_PFC_PIN_GROUP(i2c0),
  3507. SH_PFC_PIN_GROUP(i2c0_b),
  3508. SH_PFC_PIN_GROUP(i2c0_c),
  3509. SH_PFC_PIN_GROUP(i2c0_d),
  3510. SH_PFC_PIN_GROUP(i2c0_e),
  3511. SH_PFC_PIN_GROUP(i2c1),
  3512. SH_PFC_PIN_GROUP(i2c1_b),
  3513. SH_PFC_PIN_GROUP(i2c1_c),
  3514. SH_PFC_PIN_GROUP(i2c1_d),
  3515. SH_PFC_PIN_GROUP(i2c1_e),
  3516. SH_PFC_PIN_GROUP(i2c2),
  3517. SH_PFC_PIN_GROUP(i2c2_b),
  3518. SH_PFC_PIN_GROUP(i2c2_c),
  3519. SH_PFC_PIN_GROUP(i2c2_d),
  3520. SH_PFC_PIN_GROUP(i2c2_e),
  3521. SH_PFC_PIN_GROUP(i2c3),
  3522. SH_PFC_PIN_GROUP(i2c3_b),
  3523. SH_PFC_PIN_GROUP(i2c3_c),
  3524. SH_PFC_PIN_GROUP(i2c3_d),
  3525. SH_PFC_PIN_GROUP(i2c3_e),
  3526. SH_PFC_PIN_GROUP(i2c4),
  3527. SH_PFC_PIN_GROUP(i2c4_b),
  3528. SH_PFC_PIN_GROUP(i2c4_c),
  3529. SH_PFC_PIN_GROUP(i2c4_d),
  3530. SH_PFC_PIN_GROUP(i2c4_e),
  3531. SH_PFC_PIN_GROUP(intc_irq0),
  3532. SH_PFC_PIN_GROUP(intc_irq1),
  3533. SH_PFC_PIN_GROUP(intc_irq2),
  3534. SH_PFC_PIN_GROUP(intc_irq3),
  3535. SH_PFC_PIN_GROUP(intc_irq4),
  3536. SH_PFC_PIN_GROUP(intc_irq5),
  3537. SH_PFC_PIN_GROUP(intc_irq6),
  3538. SH_PFC_PIN_GROUP(intc_irq7),
  3539. SH_PFC_PIN_GROUP(intc_irq8),
  3540. SH_PFC_PIN_GROUP(intc_irq9),
  3541. SH_PFC_PIN_GROUP(mmc_data1),
  3542. SH_PFC_PIN_GROUP(mmc_data4),
  3543. SH_PFC_PIN_GROUP(mmc_data8),
  3544. SH_PFC_PIN_GROUP(mmc_ctrl),
  3545. SH_PFC_PIN_GROUP(msiof0_clk),
  3546. SH_PFC_PIN_GROUP(msiof0_sync),
  3547. SH_PFC_PIN_GROUP(msiof0_ss1),
  3548. SH_PFC_PIN_GROUP(msiof0_ss2),
  3549. SH_PFC_PIN_GROUP(msiof0_rx),
  3550. SH_PFC_PIN_GROUP(msiof0_tx),
  3551. SH_PFC_PIN_GROUP(msiof1_clk),
  3552. SH_PFC_PIN_GROUP(msiof1_sync),
  3553. SH_PFC_PIN_GROUP(msiof1_ss1),
  3554. SH_PFC_PIN_GROUP(msiof1_ss2),
  3555. SH_PFC_PIN_GROUP(msiof1_rx),
  3556. SH_PFC_PIN_GROUP(msiof1_tx),
  3557. SH_PFC_PIN_GROUP(msiof1_clk_b),
  3558. SH_PFC_PIN_GROUP(msiof1_sync_b),
  3559. SH_PFC_PIN_GROUP(msiof1_ss1_b),
  3560. SH_PFC_PIN_GROUP(msiof1_ss2_b),
  3561. SH_PFC_PIN_GROUP(msiof1_rx_b),
  3562. SH_PFC_PIN_GROUP(msiof1_tx_b),
  3563. SH_PFC_PIN_GROUP(msiof2_clk),
  3564. SH_PFC_PIN_GROUP(msiof2_sync),
  3565. SH_PFC_PIN_GROUP(msiof2_ss1),
  3566. SH_PFC_PIN_GROUP(msiof2_ss2),
  3567. SH_PFC_PIN_GROUP(msiof2_rx),
  3568. SH_PFC_PIN_GROUP(msiof2_tx),
  3569. SH_PFC_PIN_GROUP(msiof2_clk_b),
  3570. SH_PFC_PIN_GROUP(msiof2_sync_b),
  3571. SH_PFC_PIN_GROUP(msiof2_ss1_b),
  3572. SH_PFC_PIN_GROUP(msiof2_ss2_b),
  3573. SH_PFC_PIN_GROUP(msiof2_rx_b),
  3574. SH_PFC_PIN_GROUP(msiof2_tx_b),
  3575. SH_PFC_PIN_GROUP(qspi_ctrl),
  3576. SH_PFC_PIN_GROUP(qspi_data2),
  3577. SH_PFC_PIN_GROUP(qspi_data4),
  3578. SH_PFC_PIN_GROUP(scif0_data),
  3579. SH_PFC_PIN_GROUP(scif0_data_b),
  3580. SH_PFC_PIN_GROUP(scif0_data_c),
  3581. SH_PFC_PIN_GROUP(scif0_data_d),
  3582. SH_PFC_PIN_GROUP(scif1_data),
  3583. SH_PFC_PIN_GROUP(scif1_clk),
  3584. SH_PFC_PIN_GROUP(scif1_data_b),
  3585. SH_PFC_PIN_GROUP(scif1_clk_b),
  3586. SH_PFC_PIN_GROUP(scif1_data_c),
  3587. SH_PFC_PIN_GROUP(scif1_clk_c),
  3588. SH_PFC_PIN_GROUP(scif2_data),
  3589. SH_PFC_PIN_GROUP(scif2_clk),
  3590. SH_PFC_PIN_GROUP(scif2_data_b),
  3591. SH_PFC_PIN_GROUP(scif2_clk_b),
  3592. SH_PFC_PIN_GROUP(scif2_data_c),
  3593. SH_PFC_PIN_GROUP(scif2_clk_c),
  3594. SH_PFC_PIN_GROUP(scif3_data),
  3595. SH_PFC_PIN_GROUP(scif3_clk),
  3596. SH_PFC_PIN_GROUP(scif3_data_b),
  3597. SH_PFC_PIN_GROUP(scif3_clk_b),
  3598. SH_PFC_PIN_GROUP(scif4_data),
  3599. SH_PFC_PIN_GROUP(scif4_data_b),
  3600. SH_PFC_PIN_GROUP(scif4_data_c),
  3601. SH_PFC_PIN_GROUP(scif4_data_d),
  3602. SH_PFC_PIN_GROUP(scif4_data_e),
  3603. SH_PFC_PIN_GROUP(scif5_data),
  3604. SH_PFC_PIN_GROUP(scif5_data_b),
  3605. SH_PFC_PIN_GROUP(scif5_data_c),
  3606. SH_PFC_PIN_GROUP(scif5_data_d),
  3607. SH_PFC_PIN_GROUP(scifa0_data),
  3608. SH_PFC_PIN_GROUP(scifa0_data_b),
  3609. SH_PFC_PIN_GROUP(scifa0_data_c),
  3610. SH_PFC_PIN_GROUP(scifa0_data_d),
  3611. SH_PFC_PIN_GROUP(scifa1_data),
  3612. SH_PFC_PIN_GROUP(scifa1_clk),
  3613. SH_PFC_PIN_GROUP(scifa1_data_b),
  3614. SH_PFC_PIN_GROUP(scifa1_clk_b),
  3615. SH_PFC_PIN_GROUP(scifa1_data_c),
  3616. SH_PFC_PIN_GROUP(scifa1_clk_c),
  3617. SH_PFC_PIN_GROUP(scifa2_data),
  3618. SH_PFC_PIN_GROUP(scifa2_clk),
  3619. SH_PFC_PIN_GROUP(scifa2_data_b),
  3620. SH_PFC_PIN_GROUP(scifa2_clk_b),
  3621. SH_PFC_PIN_GROUP(scifa3_data),
  3622. SH_PFC_PIN_GROUP(scifa3_clk),
  3623. SH_PFC_PIN_GROUP(scifa3_data_b),
  3624. SH_PFC_PIN_GROUP(scifa3_clk_b),
  3625. SH_PFC_PIN_GROUP(scifa4_data),
  3626. SH_PFC_PIN_GROUP(scifa4_data_b),
  3627. SH_PFC_PIN_GROUP(scifa4_data_c),
  3628. SH_PFC_PIN_GROUP(scifa4_data_d),
  3629. SH_PFC_PIN_GROUP(scifa5_data),
  3630. SH_PFC_PIN_GROUP(scifa5_data_b),
  3631. SH_PFC_PIN_GROUP(scifa5_data_c),
  3632. SH_PFC_PIN_GROUP(scifa5_data_d),
  3633. SH_PFC_PIN_GROUP(scifb0_data),
  3634. SH_PFC_PIN_GROUP(scifb0_clk),
  3635. SH_PFC_PIN_GROUP(scifb0_ctrl),
  3636. SH_PFC_PIN_GROUP(scifb1_data),
  3637. SH_PFC_PIN_GROUP(scifb1_clk),
  3638. SH_PFC_PIN_GROUP(scifb2_data),
  3639. SH_PFC_PIN_GROUP(scifb2_clk),
  3640. SH_PFC_PIN_GROUP(scifb2_ctrl),
  3641. SH_PFC_PIN_GROUP(scif_clk),
  3642. SH_PFC_PIN_GROUP(scif_clk_b),
  3643. SH_PFC_PIN_GROUP(sdhi0_data1),
  3644. SH_PFC_PIN_GROUP(sdhi0_data4),
  3645. SH_PFC_PIN_GROUP(sdhi0_ctrl),
  3646. SH_PFC_PIN_GROUP(sdhi0_cd),
  3647. SH_PFC_PIN_GROUP(sdhi0_wp),
  3648. SH_PFC_PIN_GROUP(sdhi1_data1),
  3649. SH_PFC_PIN_GROUP(sdhi1_data4),
  3650. SH_PFC_PIN_GROUP(sdhi1_ctrl),
  3651. SH_PFC_PIN_GROUP(sdhi1_cd),
  3652. SH_PFC_PIN_GROUP(sdhi1_wp),
  3653. SH_PFC_PIN_GROUP(sdhi2_data1),
  3654. SH_PFC_PIN_GROUP(sdhi2_data4),
  3655. SH_PFC_PIN_GROUP(sdhi2_ctrl),
  3656. SH_PFC_PIN_GROUP(sdhi2_cd),
  3657. SH_PFC_PIN_GROUP(sdhi2_wp),
  3658. SH_PFC_PIN_GROUP(ssi0_data),
  3659. SH_PFC_PIN_GROUP(ssi0129_ctrl),
  3660. SH_PFC_PIN_GROUP(ssi1_data),
  3661. SH_PFC_PIN_GROUP(ssi1_ctrl),
  3662. SH_PFC_PIN_GROUP(ssi1_data_b),
  3663. SH_PFC_PIN_GROUP(ssi1_ctrl_b),
  3664. SH_PFC_PIN_GROUP(ssi2_data),
  3665. SH_PFC_PIN_GROUP(ssi2_ctrl),
  3666. SH_PFC_PIN_GROUP(ssi2_data_b),
  3667. SH_PFC_PIN_GROUP(ssi2_ctrl_b),
  3668. SH_PFC_PIN_GROUP(ssi3_data),
  3669. SH_PFC_PIN_GROUP(ssi34_ctrl),
  3670. SH_PFC_PIN_GROUP(ssi4_data),
  3671. SH_PFC_PIN_GROUP(ssi4_ctrl),
  3672. SH_PFC_PIN_GROUP(ssi4_data_b),
  3673. SH_PFC_PIN_GROUP(ssi4_ctrl_b),
  3674. SH_PFC_PIN_GROUP(ssi5_data),
  3675. SH_PFC_PIN_GROUP(ssi5_ctrl),
  3676. SH_PFC_PIN_GROUP(ssi5_data_b),
  3677. SH_PFC_PIN_GROUP(ssi5_ctrl_b),
  3678. SH_PFC_PIN_GROUP(ssi6_data),
  3679. SH_PFC_PIN_GROUP(ssi6_ctrl),
  3680. SH_PFC_PIN_GROUP(ssi6_data_b),
  3681. SH_PFC_PIN_GROUP(ssi6_ctrl_b),
  3682. SH_PFC_PIN_GROUP(ssi7_data),
  3683. SH_PFC_PIN_GROUP(ssi78_ctrl),
  3684. SH_PFC_PIN_GROUP(ssi7_data_b),
  3685. SH_PFC_PIN_GROUP(ssi78_ctrl_b),
  3686. SH_PFC_PIN_GROUP(ssi8_data),
  3687. SH_PFC_PIN_GROUP(ssi8_data_b),
  3688. SH_PFC_PIN_GROUP(ssi9_data),
  3689. SH_PFC_PIN_GROUP(ssi9_ctrl),
  3690. SH_PFC_PIN_GROUP(ssi9_data_b),
  3691. SH_PFC_PIN_GROUP(ssi9_ctrl_b),
  3692. SH_PFC_PIN_GROUP(usb0),
  3693. SH_PFC_PIN_GROUP(usb1),
  3694. VIN_DATA_PIN_GROUP(vin0_data, 24),
  3695. VIN_DATA_PIN_GROUP(vin0_data, 20),
  3696. SH_PFC_PIN_GROUP(vin0_data18),
  3697. VIN_DATA_PIN_GROUP(vin0_data, 16),
  3698. VIN_DATA_PIN_GROUP(vin0_data, 12),
  3699. VIN_DATA_PIN_GROUP(vin0_data, 10),
  3700. VIN_DATA_PIN_GROUP(vin0_data, 8),
  3701. SH_PFC_PIN_GROUP(vin0_sync),
  3702. SH_PFC_PIN_GROUP(vin0_field),
  3703. SH_PFC_PIN_GROUP(vin0_clkenb),
  3704. SH_PFC_PIN_GROUP(vin0_clk),
  3705. VIN_DATA_PIN_GROUP(vin1_data, 12),
  3706. VIN_DATA_PIN_GROUP(vin1_data, 10),
  3707. VIN_DATA_PIN_GROUP(vin1_data, 8),
  3708. SH_PFC_PIN_GROUP(vin1_sync),
  3709. SH_PFC_PIN_GROUP(vin1_field),
  3710. SH_PFC_PIN_GROUP(vin1_clkenb),
  3711. SH_PFC_PIN_GROUP(vin1_clk),
  3712. };
  3713. static const char * const audio_clk_groups[] = {
  3714. "audio_clka",
  3715. "audio_clka_b",
  3716. "audio_clka_c",
  3717. "audio_clka_d",
  3718. "audio_clkb",
  3719. "audio_clkb_b",
  3720. "audio_clkb_c",
  3721. "audio_clkc",
  3722. "audio_clkc_b",
  3723. "audio_clkc_c",
  3724. "audio_clkout",
  3725. "audio_clkout_b",
  3726. "audio_clkout_c",
  3727. };
  3728. static const char * const avb_groups[] = {
  3729. "avb_link",
  3730. "avb_magic",
  3731. "avb_phy_int",
  3732. "avb_mdio",
  3733. "avb_mii",
  3734. "avb_gmii",
  3735. "avb_avtp_capture",
  3736. "avb_avtp_match",
  3737. "avb_avtp_capture_b",
  3738. "avb_avtp_match_b",
  3739. };
  3740. static const char * const du0_groups[] = {
  3741. "du0_rgb666",
  3742. "du0_rgb888",
  3743. "du0_clk0_out",
  3744. "du0_clk1_out",
  3745. "du0_clk_in",
  3746. "du0_sync",
  3747. "du0_oddf",
  3748. "du0_cde",
  3749. "du0_disp",
  3750. };
  3751. static const char * const du1_groups[] = {
  3752. "du1_rgb666",
  3753. "du1_rgb888",
  3754. "du1_clk0_out",
  3755. "du1_clk1_out",
  3756. "du1_clk_in",
  3757. "du1_sync",
  3758. "du1_oddf",
  3759. "du1_cde",
  3760. "du1_disp",
  3761. };
  3762. static const char * const eth_groups[] = {
  3763. "eth_link",
  3764. "eth_magic",
  3765. "eth_mdio",
  3766. "eth_rmii",
  3767. "eth_link_b",
  3768. "eth_magic_b",
  3769. "eth_mdio_b",
  3770. "eth_rmii_b",
  3771. };
  3772. static const char * const hscif0_groups[] = {
  3773. "hscif0_data",
  3774. "hscif0_clk",
  3775. "hscif0_ctrl",
  3776. "hscif0_data_b",
  3777. "hscif0_clk_b",
  3778. };
  3779. static const char * const hscif1_groups[] = {
  3780. "hscif1_data",
  3781. "hscif1_clk",
  3782. "hscif1_ctrl",
  3783. "hscif1_data_b",
  3784. "hscif1_ctrl_b",
  3785. };
  3786. static const char * const hscif2_groups[] = {
  3787. "hscif2_data",
  3788. "hscif2_clk",
  3789. "hscif2_ctrl",
  3790. };
  3791. static const char * const i2c0_groups[] = {
  3792. "i2c0",
  3793. "i2c0_b",
  3794. "i2c0_c",
  3795. "i2c0_d",
  3796. "i2c0_e",
  3797. };
  3798. static const char * const i2c1_groups[] = {
  3799. "i2c1",
  3800. "i2c1_b",
  3801. "i2c1_c",
  3802. "i2c1_d",
  3803. "i2c1_e",
  3804. };
  3805. static const char * const i2c2_groups[] = {
  3806. "i2c2",
  3807. "i2c2_b",
  3808. "i2c2_c",
  3809. "i2c2_d",
  3810. "i2c2_e",
  3811. };
  3812. static const char * const i2c3_groups[] = {
  3813. "i2c3",
  3814. "i2c3_b",
  3815. "i2c3_c",
  3816. "i2c3_d",
  3817. "i2c3_e",
  3818. };
  3819. static const char * const i2c4_groups[] = {
  3820. "i2c4",
  3821. "i2c4_b",
  3822. "i2c4_c",
  3823. "i2c4_d",
  3824. "i2c4_e",
  3825. };
  3826. static const char * const intc_groups[] = {
  3827. "intc_irq0",
  3828. "intc_irq1",
  3829. "intc_irq2",
  3830. "intc_irq3",
  3831. "intc_irq4",
  3832. "intc_irq5",
  3833. "intc_irq6",
  3834. "intc_irq7",
  3835. "intc_irq8",
  3836. "intc_irq9",
  3837. };
  3838. static const char * const mmc_groups[] = {
  3839. "mmc_data1",
  3840. "mmc_data4",
  3841. "mmc_data8",
  3842. "mmc_ctrl",
  3843. };
  3844. static const char * const msiof0_groups[] = {
  3845. "msiof0_clk",
  3846. "msiof0_sync",
  3847. "msiof0_ss1",
  3848. "msiof0_ss2",
  3849. "msiof0_rx",
  3850. "msiof0_tx",
  3851. };
  3852. static const char * const msiof1_groups[] = {
  3853. "msiof1_clk",
  3854. "msiof1_sync",
  3855. "msiof1_ss1",
  3856. "msiof1_ss2",
  3857. "msiof1_rx",
  3858. "msiof1_tx",
  3859. "msiof1_clk_b",
  3860. "msiof1_sync_b",
  3861. "msiof1_ss1_b",
  3862. "msiof1_ss2_b",
  3863. "msiof1_rx_b",
  3864. "msiof1_tx_b",
  3865. };
  3866. static const char * const msiof2_groups[] = {
  3867. "msiof2_clk",
  3868. "msiof2_sync",
  3869. "msiof2_ss1",
  3870. "msiof2_ss2",
  3871. "msiof2_rx",
  3872. "msiof2_tx",
  3873. "msiof2_clk_b",
  3874. "msiof2_sync_b",
  3875. "msiof2_ss1_b",
  3876. "msiof2_ss2_b",
  3877. "msiof2_rx_b",
  3878. "msiof2_tx_b",
  3879. };
  3880. static const char * const qspi_groups[] = {
  3881. "qspi_ctrl",
  3882. "qspi_data2",
  3883. "qspi_data4",
  3884. };
  3885. static const char * const scif0_groups[] = {
  3886. "scif0_data",
  3887. "scif0_data_b",
  3888. "scif0_data_c",
  3889. "scif0_data_d",
  3890. };
  3891. static const char * const scif1_groups[] = {
  3892. "scif1_data",
  3893. "scif1_clk",
  3894. "scif1_data_b",
  3895. "scif1_clk_b",
  3896. "scif1_data_c",
  3897. "scif1_clk_c",
  3898. };
  3899. static const char * const scif2_groups[] = {
  3900. "scif2_data",
  3901. "scif2_clk",
  3902. "scif2_data_b",
  3903. "scif2_clk_b",
  3904. "scif2_data_c",
  3905. "scif2_clk_c",
  3906. };
  3907. static const char * const scif3_groups[] = {
  3908. "scif3_data",
  3909. "scif3_clk",
  3910. "scif3_data_b",
  3911. "scif3_clk_b",
  3912. };
  3913. static const char * const scif4_groups[] = {
  3914. "scif4_data",
  3915. "scif4_data_b",
  3916. "scif4_data_c",
  3917. "scif4_data_d",
  3918. "scif4_data_e",
  3919. };
  3920. static const char * const scif5_groups[] = {
  3921. "scif5_data",
  3922. "scif5_data_b",
  3923. "scif5_data_c",
  3924. "scif5_data_d",
  3925. };
  3926. static const char * const scifa0_groups[] = {
  3927. "scifa0_data",
  3928. "scifa0_data_b",
  3929. "scifa0_data_c",
  3930. "scifa0_data_d",
  3931. };
  3932. static const char * const scifa1_groups[] = {
  3933. "scifa1_data",
  3934. "scifa1_clk",
  3935. "scifa1_data_b",
  3936. "scifa1_clk_b",
  3937. "scifa1_data_c",
  3938. "scifa1_clk_c",
  3939. };
  3940. static const char * const scifa2_groups[] = {
  3941. "scifa2_data",
  3942. "scifa2_clk",
  3943. "scifa2_data_b",
  3944. "scifa2_clk_b",
  3945. };
  3946. static const char * const scifa3_groups[] = {
  3947. "scifa3_data",
  3948. "scifa3_clk",
  3949. "scifa3_data_b",
  3950. "scifa3_clk_b",
  3951. };
  3952. static const char * const scifa4_groups[] = {
  3953. "scifa4_data",
  3954. "scifa4_data_b",
  3955. "scifa4_data_c",
  3956. "scifa4_data_d",
  3957. };
  3958. static const char * const scifa5_groups[] = {
  3959. "scifa5_data",
  3960. "scifa5_data_b",
  3961. "scifa5_data_c",
  3962. "scifa5_data_d",
  3963. };
  3964. static const char * const scifb0_groups[] = {
  3965. "scifb0_data",
  3966. "scifb0_clk",
  3967. "scifb0_ctrl",
  3968. };
  3969. static const char * const scifb1_groups[] = {
  3970. "scifb1_data",
  3971. "scifb1_clk",
  3972. };
  3973. static const char * const scifb2_groups[] = {
  3974. "scifb2_data",
  3975. "scifb2_clk",
  3976. "scifb2_ctrl",
  3977. };
  3978. static const char * const scif_clk_groups[] = {
  3979. "scif_clk",
  3980. "scif_clk_b",
  3981. };
  3982. static const char * const sdhi0_groups[] = {
  3983. "sdhi0_data1",
  3984. "sdhi0_data4",
  3985. "sdhi0_ctrl",
  3986. "sdhi0_cd",
  3987. "sdhi0_wp",
  3988. };
  3989. static const char * const sdhi1_groups[] = {
  3990. "sdhi1_data1",
  3991. "sdhi1_data4",
  3992. "sdhi1_ctrl",
  3993. "sdhi1_cd",
  3994. "sdhi1_wp",
  3995. };
  3996. static const char * const sdhi2_groups[] = {
  3997. "sdhi2_data1",
  3998. "sdhi2_data4",
  3999. "sdhi2_ctrl",
  4000. "sdhi2_cd",
  4001. "sdhi2_wp",
  4002. };
  4003. static const char * const ssi_groups[] = {
  4004. "ssi0_data",
  4005. "ssi0129_ctrl",
  4006. "ssi1_data",
  4007. "ssi1_ctrl",
  4008. "ssi1_data_b",
  4009. "ssi1_ctrl_b",
  4010. "ssi2_data",
  4011. "ssi2_ctrl",
  4012. "ssi2_data_b",
  4013. "ssi2_ctrl_b",
  4014. "ssi3_data",
  4015. "ssi34_ctrl",
  4016. "ssi4_data",
  4017. "ssi4_ctrl",
  4018. "ssi4_data_b",
  4019. "ssi4_ctrl_b",
  4020. "ssi5_data",
  4021. "ssi5_ctrl",
  4022. "ssi5_data_b",
  4023. "ssi5_ctrl_b",
  4024. "ssi6_data",
  4025. "ssi6_ctrl",
  4026. "ssi6_data_b",
  4027. "ssi6_ctrl_b",
  4028. "ssi7_data",
  4029. "ssi78_ctrl",
  4030. "ssi7_data_b",
  4031. "ssi78_ctrl_b",
  4032. "ssi8_data",
  4033. "ssi8_data_b",
  4034. "ssi9_data",
  4035. "ssi9_ctrl",
  4036. "ssi9_data_b",
  4037. "ssi9_ctrl_b",
  4038. };
  4039. static const char * const usb0_groups[] = {
  4040. "usb0",
  4041. };
  4042. static const char * const usb1_groups[] = {
  4043. "usb1",
  4044. };
  4045. static const char * const vin0_groups[] = {
  4046. "vin0_data24",
  4047. "vin0_data20",
  4048. "vin0_data18",
  4049. "vin0_data16",
  4050. "vin0_data12",
  4051. "vin0_data10",
  4052. "vin0_data8",
  4053. "vin0_sync",
  4054. "vin0_field",
  4055. "vin0_clkenb",
  4056. "vin0_clk",
  4057. };
  4058. static const char * const vin1_groups[] = {
  4059. "vin1_data12",
  4060. "vin1_data10",
  4061. "vin1_data8",
  4062. "vin1_sync",
  4063. "vin1_field",
  4064. "vin1_clkenb",
  4065. "vin1_clk",
  4066. };
  4067. static const struct sh_pfc_function pinmux_functions[] = {
  4068. SH_PFC_FUNCTION(audio_clk),
  4069. SH_PFC_FUNCTION(avb),
  4070. SH_PFC_FUNCTION(du0),
  4071. SH_PFC_FUNCTION(du1),
  4072. SH_PFC_FUNCTION(eth),
  4073. SH_PFC_FUNCTION(hscif0),
  4074. SH_PFC_FUNCTION(hscif1),
  4075. SH_PFC_FUNCTION(hscif2),
  4076. SH_PFC_FUNCTION(i2c0),
  4077. SH_PFC_FUNCTION(i2c1),
  4078. SH_PFC_FUNCTION(i2c2),
  4079. SH_PFC_FUNCTION(i2c3),
  4080. SH_PFC_FUNCTION(i2c4),
  4081. SH_PFC_FUNCTION(intc),
  4082. SH_PFC_FUNCTION(mmc),
  4083. SH_PFC_FUNCTION(msiof0),
  4084. SH_PFC_FUNCTION(msiof1),
  4085. SH_PFC_FUNCTION(msiof2),
  4086. SH_PFC_FUNCTION(qspi),
  4087. SH_PFC_FUNCTION(scif0),
  4088. SH_PFC_FUNCTION(scif1),
  4089. SH_PFC_FUNCTION(scif2),
  4090. SH_PFC_FUNCTION(scif3),
  4091. SH_PFC_FUNCTION(scif4),
  4092. SH_PFC_FUNCTION(scif5),
  4093. SH_PFC_FUNCTION(scifa0),
  4094. SH_PFC_FUNCTION(scifa1),
  4095. SH_PFC_FUNCTION(scifa2),
  4096. SH_PFC_FUNCTION(scifa3),
  4097. SH_PFC_FUNCTION(scifa4),
  4098. SH_PFC_FUNCTION(scifa5),
  4099. SH_PFC_FUNCTION(scifb0),
  4100. SH_PFC_FUNCTION(scifb1),
  4101. SH_PFC_FUNCTION(scifb2),
  4102. SH_PFC_FUNCTION(scif_clk),
  4103. SH_PFC_FUNCTION(sdhi0),
  4104. SH_PFC_FUNCTION(sdhi1),
  4105. SH_PFC_FUNCTION(sdhi2),
  4106. SH_PFC_FUNCTION(ssi),
  4107. SH_PFC_FUNCTION(usb0),
  4108. SH_PFC_FUNCTION(usb1),
  4109. SH_PFC_FUNCTION(vin0),
  4110. SH_PFC_FUNCTION(vin1),
  4111. };
  4112. static const struct pinmux_cfg_reg pinmux_config_regs[] = {
  4113. { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
  4114. GP_0_31_FN, FN_IP2_17_16,
  4115. GP_0_30_FN, FN_IP2_15_14,
  4116. GP_0_29_FN, FN_IP2_13_12,
  4117. GP_0_28_FN, FN_IP2_11_10,
  4118. GP_0_27_FN, FN_IP2_9_8,
  4119. GP_0_26_FN, FN_IP2_7_6,
  4120. GP_0_25_FN, FN_IP2_5_4,
  4121. GP_0_24_FN, FN_IP2_3_2,
  4122. GP_0_23_FN, FN_IP2_1_0,
  4123. GP_0_22_FN, FN_IP1_31_30,
  4124. GP_0_21_FN, FN_IP1_29_28,
  4125. GP_0_20_FN, FN_IP1_27,
  4126. GP_0_19_FN, FN_IP1_26,
  4127. GP_0_18_FN, FN_A2,
  4128. GP_0_17_FN, FN_IP1_24,
  4129. GP_0_16_FN, FN_IP1_23_22,
  4130. GP_0_15_FN, FN_IP1_21_20,
  4131. GP_0_14_FN, FN_IP1_19_18,
  4132. GP_0_13_FN, FN_IP1_17_15,
  4133. GP_0_12_FN, FN_IP1_14_13,
  4134. GP_0_11_FN, FN_IP1_12_11,
  4135. GP_0_10_FN, FN_IP1_10_8,
  4136. GP_0_9_FN, FN_IP1_7_6,
  4137. GP_0_8_FN, FN_IP1_5_4,
  4138. GP_0_7_FN, FN_IP1_3_2,
  4139. GP_0_6_FN, FN_IP1_1_0,
  4140. GP_0_5_FN, FN_IP0_31_30,
  4141. GP_0_4_FN, FN_IP0_29_28,
  4142. GP_0_3_FN, FN_IP0_27_26,
  4143. GP_0_2_FN, FN_IP0_25,
  4144. GP_0_1_FN, FN_IP0_24,
  4145. GP_0_0_FN, FN_IP0_23_22, }
  4146. },
  4147. { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
  4148. 0, 0,
  4149. 0, 0,
  4150. 0, 0,
  4151. 0, 0,
  4152. 0, 0,
  4153. 0, 0,
  4154. GP_1_25_FN, FN_DACK0,
  4155. GP_1_24_FN, FN_IP7_31,
  4156. GP_1_23_FN, FN_IP4_1_0,
  4157. GP_1_22_FN, FN_WE1_N,
  4158. GP_1_21_FN, FN_WE0_N,
  4159. GP_1_20_FN, FN_IP3_31,
  4160. GP_1_19_FN, FN_IP3_30,
  4161. GP_1_18_FN, FN_IP3_29_27,
  4162. GP_1_17_FN, FN_IP3_26_24,
  4163. GP_1_16_FN, FN_IP3_23_21,
  4164. GP_1_15_FN, FN_IP3_20_18,
  4165. GP_1_14_FN, FN_IP3_17_15,
  4166. GP_1_13_FN, FN_IP3_14_13,
  4167. GP_1_12_FN, FN_IP3_12,
  4168. GP_1_11_FN, FN_IP3_11,
  4169. GP_1_10_FN, FN_IP3_10,
  4170. GP_1_9_FN, FN_IP3_9_8,
  4171. GP_1_8_FN, FN_IP3_7_6,
  4172. GP_1_7_FN, FN_IP3_5_4,
  4173. GP_1_6_FN, FN_IP3_3_2,
  4174. GP_1_5_FN, FN_IP3_1_0,
  4175. GP_1_4_FN, FN_IP2_31_30,
  4176. GP_1_3_FN, FN_IP2_29_27,
  4177. GP_1_2_FN, FN_IP2_26_24,
  4178. GP_1_1_FN, FN_IP2_23_21,
  4179. GP_1_0_FN, FN_IP2_20_18, }
  4180. },
  4181. { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
  4182. GP_2_31_FN, FN_IP6_7_6,
  4183. GP_2_30_FN, FN_IP6_5_4,
  4184. GP_2_29_FN, FN_IP6_3_2,
  4185. GP_2_28_FN, FN_IP6_1_0,
  4186. GP_2_27_FN, FN_IP5_31_30,
  4187. GP_2_26_FN, FN_IP5_29_28,
  4188. GP_2_25_FN, FN_IP5_27_26,
  4189. GP_2_24_FN, FN_IP5_25_24,
  4190. GP_2_23_FN, FN_IP5_23_22,
  4191. GP_2_22_FN, FN_IP5_21_20,
  4192. GP_2_21_FN, FN_IP5_19_18,
  4193. GP_2_20_FN, FN_IP5_17_16,
  4194. GP_2_19_FN, FN_IP5_15_14,
  4195. GP_2_18_FN, FN_IP5_13_12,
  4196. GP_2_17_FN, FN_IP5_11_9,
  4197. GP_2_16_FN, FN_IP5_8_6,
  4198. GP_2_15_FN, FN_IP5_5_4,
  4199. GP_2_14_FN, FN_IP5_3_2,
  4200. GP_2_13_FN, FN_IP5_1_0,
  4201. GP_2_12_FN, FN_IP4_31_30,
  4202. GP_2_11_FN, FN_IP4_29_28,
  4203. GP_2_10_FN, FN_IP4_27_26,
  4204. GP_2_9_FN, FN_IP4_25_23,
  4205. GP_2_8_FN, FN_IP4_22_20,
  4206. GP_2_7_FN, FN_IP4_19_18,
  4207. GP_2_6_FN, FN_IP4_17_16,
  4208. GP_2_5_FN, FN_IP4_15_14,
  4209. GP_2_4_FN, FN_IP4_13_12,
  4210. GP_2_3_FN, FN_IP4_11_10,
  4211. GP_2_2_FN, FN_IP4_9_8,
  4212. GP_2_1_FN, FN_IP4_7_5,
  4213. GP_2_0_FN, FN_IP4_4_2 }
  4214. },
  4215. { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
  4216. GP_3_31_FN, FN_IP8_22_20,
  4217. GP_3_30_FN, FN_IP8_19_17,
  4218. GP_3_29_FN, FN_IP8_16_15,
  4219. GP_3_28_FN, FN_IP8_14_12,
  4220. GP_3_27_FN, FN_IP8_11_9,
  4221. GP_3_26_FN, FN_IP8_8_6,
  4222. GP_3_25_FN, FN_IP8_5_3,
  4223. GP_3_24_FN, FN_IP8_2_0,
  4224. GP_3_23_FN, FN_IP7_29_27,
  4225. GP_3_22_FN, FN_IP7_26_24,
  4226. GP_3_21_FN, FN_IP7_23_21,
  4227. GP_3_20_FN, FN_IP7_20_18,
  4228. GP_3_19_FN, FN_IP7_17_15,
  4229. GP_3_18_FN, FN_IP7_14_12,
  4230. GP_3_17_FN, FN_IP7_11_9,
  4231. GP_3_16_FN, FN_IP7_8_6,
  4232. GP_3_15_FN, FN_IP7_5_3,
  4233. GP_3_14_FN, FN_IP7_2_0,
  4234. GP_3_13_FN, FN_IP6_31_29,
  4235. GP_3_12_FN, FN_IP6_28_26,
  4236. GP_3_11_FN, FN_IP6_25_23,
  4237. GP_3_10_FN, FN_IP6_22_20,
  4238. GP_3_9_FN, FN_IP6_19_17,
  4239. GP_3_8_FN, FN_IP6_16,
  4240. GP_3_7_FN, FN_IP6_15,
  4241. GP_3_6_FN, FN_IP6_14,
  4242. GP_3_5_FN, FN_IP6_13,
  4243. GP_3_4_FN, FN_IP6_12,
  4244. GP_3_3_FN, FN_IP6_11,
  4245. GP_3_2_FN, FN_IP6_10,
  4246. GP_3_1_FN, FN_IP6_9,
  4247. GP_3_0_FN, FN_IP6_8 }
  4248. },
  4249. { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
  4250. GP_4_31_FN, FN_IP11_17_16,
  4251. GP_4_30_FN, FN_IP11_15_14,
  4252. GP_4_29_FN, FN_IP11_13_11,
  4253. GP_4_28_FN, FN_IP11_10_8,
  4254. GP_4_27_FN, FN_IP11_7_6,
  4255. GP_4_26_FN, FN_IP11_5_3,
  4256. GP_4_25_FN, FN_IP11_2_0,
  4257. GP_4_24_FN, FN_IP10_31_30,
  4258. GP_4_23_FN, FN_IP10_29_27,
  4259. GP_4_22_FN, FN_IP10_26_24,
  4260. GP_4_21_FN, FN_IP10_23_21,
  4261. GP_4_20_FN, FN_IP10_20_18,
  4262. GP_4_19_FN, FN_IP10_17_15,
  4263. GP_4_18_FN, FN_IP10_14_12,
  4264. GP_4_17_FN, FN_IP10_11_9,
  4265. GP_4_16_FN, FN_IP10_8_6,
  4266. GP_4_15_FN, FN_IP10_5_3,
  4267. GP_4_14_FN, FN_IP10_2_0,
  4268. GP_4_13_FN, FN_IP9_30_28,
  4269. GP_4_12_FN, FN_IP9_27_25,
  4270. GP_4_11_FN, FN_IP9_24_22,
  4271. GP_4_10_FN, FN_IP9_21_19,
  4272. GP_4_9_FN, FN_IP9_18_17,
  4273. GP_4_8_FN, FN_IP9_16_15,
  4274. GP_4_7_FN, FN_IP9_14_12,
  4275. GP_4_6_FN, FN_IP9_11_9,
  4276. GP_4_5_FN, FN_IP9_8_6,
  4277. GP_4_4_FN, FN_IP9_5_3,
  4278. GP_4_3_FN, FN_IP9_2_0,
  4279. GP_4_2_FN, FN_IP8_31_29,
  4280. GP_4_1_FN, FN_IP8_28_26,
  4281. GP_4_0_FN, FN_IP8_25_23 }
  4282. },
  4283. { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
  4284. 0, 0,
  4285. 0, 0,
  4286. 0, 0,
  4287. 0, 0,
  4288. GP_5_27_FN, FN_USB1_OVC,
  4289. GP_5_26_FN, FN_USB1_PWEN,
  4290. GP_5_25_FN, FN_USB0_OVC,
  4291. GP_5_24_FN, FN_USB0_PWEN,
  4292. GP_5_23_FN, FN_IP13_26_24,
  4293. GP_5_22_FN, FN_IP13_23_21,
  4294. GP_5_21_FN, FN_IP13_20_18,
  4295. GP_5_20_FN, FN_IP13_17_15,
  4296. GP_5_19_FN, FN_IP13_14_12,
  4297. GP_5_18_FN, FN_IP13_11_9,
  4298. GP_5_17_FN, FN_IP13_8_6,
  4299. GP_5_16_FN, FN_IP13_5_3,
  4300. GP_5_15_FN, FN_IP13_2_0,
  4301. GP_5_14_FN, FN_IP12_29_27,
  4302. GP_5_13_FN, FN_IP12_26_24,
  4303. GP_5_12_FN, FN_IP12_23_21,
  4304. GP_5_11_FN, FN_IP12_20_18,
  4305. GP_5_10_FN, FN_IP12_17_15,
  4306. GP_5_9_FN, FN_IP12_14_13,
  4307. GP_5_8_FN, FN_IP12_12_11,
  4308. GP_5_7_FN, FN_IP12_10_9,
  4309. GP_5_6_FN, FN_IP12_8_6,
  4310. GP_5_5_FN, FN_IP12_5_3,
  4311. GP_5_4_FN, FN_IP12_2_0,
  4312. GP_5_3_FN, FN_IP11_29_27,
  4313. GP_5_2_FN, FN_IP11_26_24,
  4314. GP_5_1_FN, FN_IP11_23_21,
  4315. GP_5_0_FN, FN_IP11_20_18 }
  4316. },
  4317. { PINMUX_CFG_REG("GPSR6", 0xE606001C, 32, 1) {
  4318. 0, 0,
  4319. 0, 0,
  4320. 0, 0,
  4321. 0, 0,
  4322. 0, 0,
  4323. 0, 0,
  4324. GP_6_25_FN, FN_IP0_21_20,
  4325. GP_6_24_FN, FN_IP0_19_18,
  4326. GP_6_23_FN, FN_IP0_17,
  4327. GP_6_22_FN, FN_IP0_16,
  4328. GP_6_21_FN, FN_IP0_15,
  4329. GP_6_20_FN, FN_IP0_14,
  4330. GP_6_19_FN, FN_IP0_13,
  4331. GP_6_18_FN, FN_IP0_12,
  4332. GP_6_17_FN, FN_IP0_11,
  4333. GP_6_16_FN, FN_IP0_10,
  4334. GP_6_15_FN, FN_IP0_9_8,
  4335. GP_6_14_FN, FN_IP0_0,
  4336. GP_6_13_FN, FN_SD1_DATA3,
  4337. GP_6_12_FN, FN_SD1_DATA2,
  4338. GP_6_11_FN, FN_SD1_DATA1,
  4339. GP_6_10_FN, FN_SD1_DATA0,
  4340. GP_6_9_FN, FN_SD1_CMD,
  4341. GP_6_8_FN, FN_SD1_CLK,
  4342. GP_6_7_FN, FN_SD0_WP,
  4343. GP_6_6_FN, FN_SD0_CD,
  4344. GP_6_5_FN, FN_SD0_DATA3,
  4345. GP_6_4_FN, FN_SD0_DATA2,
  4346. GP_6_3_FN, FN_SD0_DATA1,
  4347. GP_6_2_FN, FN_SD0_DATA0,
  4348. GP_6_1_FN, FN_SD0_CMD,
  4349. GP_6_0_FN, FN_SD0_CLK }
  4350. },
  4351. { PINMUX_CFG_REG_VAR("IPSR0", 0xE6060020, 32,
  4352. 2, 2, 2, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1,
  4353. 2, 1, 1, 1, 1, 1, 1, 1, 1) {
  4354. /* IP0_31_30 [2] */
  4355. FN_D5, FN_SCIF4_RXD_B, FN_I2C0_SCL_D, 0,
  4356. /* IP0_29_28 [2] */
  4357. FN_D4, FN_I2C3_SDA_B, FN_SCIF5_TXD_B, 0,
  4358. /* IP0_27_26 [2] */
  4359. FN_D3, FN_I2C3_SCL_B, FN_SCIF5_RXD_B, 0,
  4360. /* IP0_25 [1] */
  4361. FN_D2, FN_SCIFA3_TXD_B,
  4362. /* IP0_24 [1] */
  4363. FN_D1, FN_SCIFA3_RXD_B,
  4364. /* IP0_23_22 [2] */
  4365. FN_D0, FN_SCIFA3_SCK_B, FN_IRQ4, 0,
  4366. /* IP0_21_20 [2] */
  4367. FN_MMC_D7, FN_SCIF0_TXD, FN_I2C2_SDA_B, FN_CAN1_TX,
  4368. /* IP0_19_18 [2] */
  4369. FN_MMC_D6, FN_SCIF0_RXD, FN_I2C2_SCL_B, FN_CAN1_RX,
  4370. /* IP0_17 [1] */
  4371. FN_MMC_D5, FN_SD2_WP,
  4372. /* IP0_16 [1] */
  4373. FN_MMC_D4, FN_SD2_CD,
  4374. /* IP0_15 [1] */
  4375. FN_MMC_D3, FN_SD2_DATA3,
  4376. /* IP0_14 [1] */
  4377. FN_MMC_D2, FN_SD2_DATA2,
  4378. /* IP0_13 [1] */
  4379. FN_MMC_D1, FN_SD2_DATA1,
  4380. /* IP0_12 [1] */
  4381. FN_MMC_D0, FN_SD2_DATA0,
  4382. /* IP0_11 [1] */
  4383. FN_MMC_CMD, FN_SD2_CMD,
  4384. /* IP0_10 [1] */
  4385. FN_MMC_CLK, FN_SD2_CLK,
  4386. /* IP0_9_8 [2] */
  4387. FN_SD1_WP, FN_IRQ7, FN_CAN0_TX, 0,
  4388. /* IP0_7 [1] */
  4389. 0, 0,
  4390. /* IP0_6 [1] */
  4391. 0, 0,
  4392. /* IP0_5 [1] */
  4393. 0, 0,
  4394. /* IP0_4 [1] */
  4395. 0, 0,
  4396. /* IP0_3 [1] */
  4397. 0, 0,
  4398. /* IP0_2 [1] */
  4399. 0, 0,
  4400. /* IP0_1 [1] */
  4401. 0, 0,
  4402. /* IP0_0 [1] */
  4403. FN_SD1_CD, FN_CAN0_RX, }
  4404. },
  4405. { PINMUX_CFG_REG_VAR("IPSR1", 0xE6060024, 32,
  4406. 2, 2, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 3, 2, 2,
  4407. 2, 2) {
  4408. /* IP1_31_30 [2] */
  4409. FN_A6, FN_SCIFB0_CTS_N, FN_SCIFA4_RXD_B, FN_TPUTO2_C,
  4410. /* IP1_29_28 [2] */
  4411. FN_A5, FN_SCIFB0_RXD, FN_PWM4_B, FN_TPUTO3_C,
  4412. /* IP1_27 [1] */
  4413. FN_A4, FN_SCIFB0_TXD,
  4414. /* IP1_26 [1] */
  4415. FN_A3, FN_SCIFB0_SCK,
  4416. /* IP1_25 [1] */
  4417. 0, 0,
  4418. /* IP1_24 [1] */
  4419. FN_A1, FN_SCIFB1_TXD,
  4420. /* IP1_23_22 [2] */
  4421. FN_A0, FN_SCIFB1_SCK, FN_PWM3_B, 0,
  4422. /* IP1_21_20 [2] */
  4423. FN_D15, FN_SCIFA1_TXD, FN_IIC0_SDA_B, 0,
  4424. /* IP1_19_18 [2] */
  4425. FN_D14, FN_SCIFA1_RXD, FN_IIC0_SCL_B, 0,
  4426. /* IP1_17_15 [3] */
  4427. FN_D13, FN_SCIFA1_SCK, FN_TANS1, FN_PWM2_C, FN_TCLK2_B,
  4428. 0, 0, 0,
  4429. /* IP1_14_13 [2] */
  4430. FN_D12, FN_HSCIF2_HRTS_N, FN_SCIF1_TXD_C, FN_I2C1_SDA_D,
  4431. /* IP1_12_11 [2] */
  4432. FN_D11, FN_HSCIF2_HCTS_N, FN_SCIF1_RXD_C, FN_I2C1_SCL_D,
  4433. /* IP1_10_8 [3] */
  4434. FN_D10, FN_HSCIF2_HSCK, FN_SCIF1_SCK_C, FN_IRQ6, FN_PWM5_C,
  4435. 0, 0, 0,
  4436. /* IP1_7_6 [2] */
  4437. FN_D9, FN_HSCIF2_HTX, FN_I2C1_SDA_B, 0,
  4438. /* IP1_5_4 [2] */
  4439. FN_D8, FN_HSCIF2_HRX, FN_I2C1_SCL_B, 0,
  4440. /* IP1_3_2 [2] */
  4441. FN_D7, FN_IRQ3, FN_TCLK1, FN_PWM6_B,
  4442. /* IP1_1_0 [2] */
  4443. FN_D6, FN_SCIF4_TXD_B, FN_I2C0_SDA_D, 0, }
  4444. },
  4445. { PINMUX_CFG_REG_VAR("IPSR2", 0xE6060028, 32,
  4446. 2, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2) {
  4447. /* IP2_31_30 [2] */
  4448. FN_A20, FN_SPCLK, FN_MOUT1, 0,
  4449. /* IP2_29_27 [3] */
  4450. FN_A19, FN_MSIOF2_SS2, FN_PWM4, FN_TPUTO2,
  4451. FN_MOUT0, 0, 0, 0,
  4452. /* IP2_26_24 [3] */
  4453. FN_A18, FN_MSIOF2_SS1, FN_SCIF4_TXD_E, FN_CAN1_TX_B,
  4454. FN_AVB_AVTP_MATCH_B, 0, 0, 0,
  4455. /* IP2_23_21 [3] */
  4456. FN_A17, FN_MSIOF2_SYNC, FN_SCIF4_RXD_E, FN_CAN1_RX_B,
  4457. FN_AVB_AVTP_CAPTURE_B, 0, 0, 0,
  4458. /* IP2_20_18 [3] */
  4459. FN_A16, FN_MSIOF2_SCK, FN_HSCIF0_HSCK_B, FN_SPEEDIN,
  4460. FN_VSP, FN_CAN_CLK_C, FN_TPUTO2_B, 0,
  4461. /* IP2_17_16 [2] */
  4462. FN_A15, FN_MSIOF2_TXD, FN_HSCIF0_HTX_B, FN_DACK1,
  4463. /* IP2_15_14 [2] */
  4464. FN_A14, FN_MSIOF2_RXD, FN_HSCIF0_HRX_B, FN_DREQ1_N,
  4465. /* IP2_13_12 [2] */
  4466. FN_A13, FN_MSIOF1_SS2, FN_SCIFA5_TXD_B, 0,
  4467. /* IP2_11_10 [2] */
  4468. FN_A12, FN_MSIOF1_SS1, FN_SCIFA5_RXD_B, 0,
  4469. /* IP2_9_8 [2] */
  4470. FN_A11, FN_MSIOF1_SYNC, FN_IIC1_SDA_B, 0,
  4471. /* IP2_7_6 [2] */
  4472. FN_A10, FN_MSIOF1_SCK, FN_IIC1_SCL_B, 0,
  4473. /* IP2_5_4 [2] */
  4474. FN_A9, FN_MSIOF1_TXD, FN_SCIFA0_TXD_B, 0,
  4475. /* IP2_3_2 [2] */
  4476. FN_A8, FN_MSIOF1_RXD, FN_SCIFA0_RXD_B, 0,
  4477. /* IP2_1_0 [2] */
  4478. FN_A7, FN_SCIFB0_RTS_N, FN_SCIFA4_TXD_B, 0, }
  4479. },
  4480. { PINMUX_CFG_REG_VAR("IPSR3", 0xE606002C, 32,
  4481. 1, 1, 3, 3, 3, 3, 3, 2, 1, 1, 1, 2, 2, 2, 2, 2) {
  4482. /* IP3_31 [1] */
  4483. FN_RD_WR_N, FN_ATAG1_N,
  4484. /* IP3_30 [1] */
  4485. FN_RD_N, FN_ATACS11_N,
  4486. /* IP3_29_27 [3] */
  4487. FN_BS_N, FN_DRACK0, FN_PWM1_C, FN_TPUTO0_C, FN_ATACS01_N,
  4488. FN_MTS_N_B, 0, 0,
  4489. /* IP3_26_24 [3] */
  4490. FN_EX_CS5_N, FN_SCIFA2_TXD, FN_I2C2_SDA_E, FN_TS_SPSYNC_B,
  4491. FN_RIF0_D1, FN_FMIN, FN_SCIFB2_RTS_N, FN_STM_N_B,
  4492. /* IP3_23_21 [3] */
  4493. FN_EX_CS4_N, FN_SCIFA2_RXD, FN_I2C2_SCL_E, FN_TS_SDEN_B,
  4494. FN_RIF0_D0, FN_FMCLK, FN_SCIFB2_CTS_N, FN_SCKZ_B,
  4495. /* IP3_20_18 [3] */
  4496. FN_EX_CS3_N, FN_SCIFA2_SCK, FN_SCIF4_TXD_C, FN_TS_SCK_B,
  4497. FN_RIF0_CLK, FN_BPFCLK, FN_SCIFB2_SCK, FN_MDATA_B,
  4498. /* IP3_17_15 [3] */
  4499. FN_EX_CS2_N, FN_PWM0, FN_SCIF4_RXD_C, FN_TS_SDATA_B,
  4500. FN_RIF0_SYNC, FN_TPUTO3, FN_SCIFB2_TXD, FN_SDATA_B,
  4501. /* IP3_14_13 [2] */
  4502. FN_EX_CS1_N, FN_TPUTO3_B, FN_SCIFB2_RXD, FN_VI1_DATA11,
  4503. /* IP3_12 [1] */
  4504. FN_EX_CS0_N, FN_VI1_DATA10,
  4505. /* IP3_11 [1] */
  4506. FN_CS1_N_A26, FN_VI1_DATA9,
  4507. /* IP3_10 [1] */
  4508. FN_CS0_N, FN_VI1_DATA8,
  4509. /* IP3_9_8 [2] */
  4510. FN_A25, FN_SSL, FN_ATARD1_N, 0,
  4511. /* IP3_7_6 [2] */
  4512. FN_A24, FN_IO3, FN_EX_WAIT2, 0,
  4513. /* IP3_5_4 [2] */
  4514. FN_A23, FN_IO2, FN_MOUT6, FN_ATAWR1_N,
  4515. /* IP3_3_2 [2] */
  4516. FN_A22, FN_MISO_IO1, FN_MOUT5, FN_ATADIR1_N,
  4517. /* IP3_1_0 [2] */
  4518. FN_A21, FN_MOSI_IO0, FN_MOUT2, 0, }
  4519. },
  4520. { PINMUX_CFG_REG_VAR("IPSR4", 0xE6060030, 32,
  4521. 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 2) {
  4522. /* IP4_31_30 [2] */
  4523. FN_DU0_DG4, FN_LCDOUT12, FN_CC50_STATE12, 0,
  4524. /* IP4_29_28 [2] */
  4525. FN_DU0_DG3, FN_LCDOUT11, FN_CC50_STATE11, 0,
  4526. /* IP4_27_26 [2] */
  4527. FN_DU0_DG2, FN_LCDOUT10, FN_CC50_STATE10, 0,
  4528. /* IP4_25_23 [3] */
  4529. FN_DU0_DG1, FN_LCDOUT9, FN_SCIFA0_TXD_C, FN_I2C3_SDA_D,
  4530. FN_CC50_STATE9, 0, 0, 0,
  4531. /* IP4_22_20 [3] */
  4532. FN_DU0_DG0, FN_LCDOUT8, FN_SCIFA0_RXD_C, FN_I2C3_SCL_D,
  4533. FN_CC50_STATE8, 0, 0, 0,
  4534. /* IP4_19_18 [2] */
  4535. FN_DU0_DR7, FN_LCDOUT23, FN_CC50_STATE7, 0,
  4536. /* IP4_17_16 [2] */
  4537. FN_DU0_DR6, FN_LCDOUT22, FN_CC50_STATE6, 0,
  4538. /* IP4_15_14 [2] */
  4539. FN_DU0_DR5, FN_LCDOUT21, FN_CC50_STATE5, 0,
  4540. /* IP4_13_12 [2] */
  4541. FN_DU0_DR4, FN_LCDOUT20, FN_CC50_STATE4, 0,
  4542. /* IP4_11_10 [2] */
  4543. FN_DU0_DR3, FN_LCDOUT19, FN_CC50_STATE3, 0,
  4544. /* IP4_9_8 [2] */
  4545. FN_DU0_DR2, FN_LCDOUT18, FN_CC50_STATE2, 0,
  4546. /* IP4_7_5 [3] */
  4547. FN_DU0_DR1, FN_LCDOUT17, FN_SCIF5_TXD_C, FN_I2C2_SDA_D,
  4548. FN_CC50_STATE1, 0, 0, 0,
  4549. /* IP4_4_2 [3] */
  4550. FN_DU0_DR0, FN_LCDOUT16, FN_SCIF5_RXD_C, FN_I2C2_SCL_D,
  4551. FN_CC50_STATE0, 0, 0, 0,
  4552. /* IP4_1_0 [2] */
  4553. FN_EX_WAIT0, FN_CAN_CLK_B, FN_SCIF_CLK, FN_PWMFSW0, }
  4554. },
  4555. { PINMUX_CFG_REG_VAR("IPSR5", 0xE6060034, 32,
  4556. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 2) {
  4557. /* IP5_31_30 [2] */
  4558. FN_DU0_EXHSYNC_DU0_HSYNC, FN_QSTH_QHS, FN_CC50_STATE27, 0,
  4559. /* IP5_29_28 [2] */
  4560. FN_DU0_DOTCLKOUT1, FN_QSTVB_QVE, FN_CC50_STATE26, 0,
  4561. /* IP5_27_26 [2] */
  4562. FN_DU0_DOTCLKOUT0, FN_QCLK, FN_CC50_STATE25, 0,
  4563. /* IP5_25_24 [2] */
  4564. FN_DU0_DOTCLKIN, FN_QSTVA_QVS, FN_CC50_STATE24, 0,
  4565. /* IP5_23_22 [2] */
  4566. FN_DU0_DB7, FN_LCDOUT7, FN_CC50_STATE23, 0,
  4567. /* IP5_21_20 [2] */
  4568. FN_DU0_DB6, FN_LCDOUT6, FN_CC50_STATE22, 0,
  4569. /* IP5_19_18 [2] */
  4570. FN_DU0_DB5, FN_LCDOUT5, FN_CC50_STATE21, 0,
  4571. /* IP5_17_16 [2] */
  4572. FN_DU0_DB4, FN_LCDOUT4, FN_CC50_STATE20, 0,
  4573. /* IP5_15_14 [2] */
  4574. FN_DU0_DB3, FN_LCDOUT3, FN_CC50_STATE19, 0,
  4575. /* IP5_13_12 [2] */
  4576. FN_DU0_DB2, FN_LCDOUT2, FN_CC50_STATE18, 0,
  4577. /* IP5_11_9 [3] */
  4578. FN_DU0_DB1, FN_LCDOUT1, FN_SCIFA4_TXD_C, FN_I2C4_SDA_D,
  4579. FN_CAN0_TX_C, FN_CC50_STATE17, 0, 0,
  4580. /* IP5_8_6 [3] */
  4581. FN_DU0_DB0, FN_LCDOUT0, FN_SCIFA4_RXD_C, FN_I2C4_SCL_D,
  4582. FN_CAN0_RX_C, FN_CC50_STATE16, 0, 0,
  4583. /* IP5_5_4 [2] */
  4584. FN_DU0_DG7, FN_LCDOUT15, FN_CC50_STATE15, 0,
  4585. /* IP5_3_2 [2] */
  4586. FN_DU0_DG6, FN_LCDOUT14, FN_CC50_STATE14, 0,
  4587. /* IP5_1_0 [2] */
  4588. FN_DU0_DG5, FN_LCDOUT13, FN_CC50_STATE13, 0, }
  4589. },
  4590. { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
  4591. 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
  4592. 2, 2) {
  4593. /* IP6_31_29 [3] */
  4594. FN_ETH_MDIO, FN_VI0_G0, FN_MSIOF2_RXD_B, FN_IIC0_SCL_D,
  4595. FN_AVB_TX_CLK, FN_ADIDATA, FN_AD_DI, 0,
  4596. /* IP6_28_26 [3] */
  4597. FN_VI0_VSYNC_N, FN_SCIF0_TXD_B, FN_I2C0_SDA_C,
  4598. FN_AUDIO_CLKOUT_B, FN_AVB_TX_EN, 0, 0, 0,
  4599. /* IP6_25_23 [3] */
  4600. FN_VI0_HSYNC_N, FN_SCIF0_RXD_B, FN_I2C0_SCL_C, FN_IERX_C,
  4601. FN_AVB_COL, 0, 0, 0,
  4602. /* IP6_22_20 [3] */
  4603. FN_VI0_FIELD, FN_I2C3_SDA, FN_SCIFA5_TXD_C, FN_IECLK_C,
  4604. FN_AVB_RX_ER, 0, 0, 0,
  4605. /* IP6_19_17 [3] */
  4606. FN_VI0_CLKENB, FN_I2C3_SCL, FN_SCIFA5_RXD_C, FN_IETX_C,
  4607. FN_AVB_RXD7, 0, 0, 0,
  4608. /* IP6_16 [1] */
  4609. FN_VI0_DATA7_VI0_B7, FN_AVB_RXD6,
  4610. /* IP6_15 [1] */
  4611. FN_VI0_DATA6_VI0_B6, FN_AVB_RXD5,
  4612. /* IP6_14 [1] */
  4613. FN_VI0_DATA5_VI0_B5, FN_AVB_RXD4,
  4614. /* IP6_13 [1] */
  4615. FN_VI0_DATA4_VI0_B4, FN_AVB_RXD3,
  4616. /* IP6_12 [1] */
  4617. FN_VI0_DATA3_VI0_B3, FN_AVB_RXD2,
  4618. /* IP6_11 [1] */
  4619. FN_VI0_DATA2_VI0_B2, FN_AVB_RXD1,
  4620. /* IP6_10 [1] */
  4621. FN_VI0_DATA1_VI0_B1, FN_AVB_RXD0,
  4622. /* IP6_9 [1] */
  4623. FN_VI0_DATA0_VI0_B0, FN_AVB_RX_DV,
  4624. /* IP6_8 [1] */
  4625. FN_VI0_CLK, FN_AVB_RX_CLK,
  4626. /* IP6_7_6 [2] */
  4627. FN_DU0_CDE, FN_QPOLB, FN_CC50_STATE31, 0,
  4628. /* IP6_5_4 [2] */
  4629. FN_DU0_DISP, FN_QPOLA, FN_CC50_STATE30, 0,
  4630. /* IP6_3_2 [2] */
  4631. FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, FN_CC50_STATE29,
  4632. 0,
  4633. /* IP6_1_0 [2] */
  4634. FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, FN_CC50_STATE28, 0, }
  4635. },
  4636. { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
  4637. 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
  4638. /* IP7_31 [1] */
  4639. FN_DREQ0_N, FN_SCIFB1_RXD,
  4640. /* IP7_30 [1] */
  4641. 0, 0,
  4642. /* IP7_29_27 [3] */
  4643. FN_ETH_TXD0, FN_VI0_R2, FN_SCIF3_RXD_B, FN_I2C4_SCL_E,
  4644. FN_AVB_GTX_CLK, FN_SSI_WS6_B, 0, 0,
  4645. /* IP7_26_24 [3] */
  4646. FN_ETH_MAGIC, FN_VI0_R1, FN_SCIF3_SCK_B, FN_AVB_TX_ER,
  4647. FN_SSI_SCK6_B, 0, 0, 0,
  4648. /* IP7_23_21 [3] */
  4649. FN_ETH_TX_EN, FN_VI0_R0, FN_SCIF2_TXD_C, FN_IIC1_SDA_D,
  4650. FN_AVB_TXD7, FN_SSI_SDATA5_B, 0, 0,
  4651. /* IP7_20_18 [3] */
  4652. FN_ETH_TXD1, FN_VI0_G7, FN_SCIF2_RXD_C, FN_IIC1_SCL_D,
  4653. FN_AVB_TXD6, FN_SSI_WS5_B, 0, 0,
  4654. /* IP7_17_15 [3] */
  4655. FN_ETH_REFCLK, FN_VI0_G6, FN_SCIF2_SCK_C, FN_AVB_TXD5,
  4656. FN_SSI_SCK5_B, 0, 0, 0,
  4657. /* IP7_14_12 [3] */
  4658. FN_ETH_LINK, FN_VI0_G5, FN_MSIOF2_SS2_B, FN_SCIF4_TXD_D,
  4659. FN_AVB_TXD4, FN_ADICHS2, 0, 0,
  4660. /* IP7_11_9 [3] */
  4661. FN_ETH_RXD1, FN_VI0_G4, FN_MSIOF2_SS1_B, FN_SCIF4_RXD_D,
  4662. FN_AVB_TXD3, FN_ADICHS1, 0, 0,
  4663. /* IP7_8_6 [3] */
  4664. FN_ETH_RXD0, FN_VI0_G3, FN_MSIOF2_SYNC_B, FN_CAN0_TX_B,
  4665. FN_AVB_TXD2, FN_ADICHS0, FN_AD_NCS_N, 0,
  4666. /* IP7_5_3 [3] */
  4667. FN_ETH_RX_ER, FN_VI0_G2, FN_MSIOF2_SCK_B, FN_CAN0_RX_B,
  4668. FN_AVB_TXD1, FN_ADICLK, FN_AD_CLK, 0,
  4669. /* IP7_2_0 [3] */
  4670. FN_ETH_CRS_DV, FN_VI0_G1, FN_MSIOF2_TXD_B, FN_IIC0_SDA_D,
  4671. FN_AVB_TXD0, FN_ADICS_SAMP, FN_AD_DO, 0, }
  4672. },
  4673. { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
  4674. 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3) {
  4675. /* IP8_31_29 [3] */
  4676. FN_MSIOF0_RXD, FN_SCIF5_RXD, FN_I2C2_SCL_C, FN_DU1_DR2,
  4677. FN_RIF1_D0_B, FN_TS_SDEN_D, FN_FMCLK_C, FN_RDS_CLK,
  4678. /* IP8_28_26 [3] */
  4679. FN_I2C1_SDA, FN_SCIF4_TXD, FN_IRQ5, FN_DU1_DR1,
  4680. FN_RIF1_CLK_B, FN_TS_SCK_D, FN_BPFCLK_C, 0,
  4681. /* IP8_25_23 [3] */
  4682. FN_I2C1_SCL, FN_SCIF4_RXD, FN_PWM5_B, FN_DU1_DR0,
  4683. FN_RIF1_SYNC_B, FN_TS_SDATA_D, FN_TPUTO1_B, 0,
  4684. /* IP8_22_20 [3] */
  4685. FN_I2C0_SDA, FN_SCIF0_TXD_C, FN_TPUTO0, FN_CAN_CLK,
  4686. FN_DVC_MUTE, FN_CAN1_TX_D, 0, 0,
  4687. /* IP8_19_17 [3] */
  4688. FN_I2C0_SCL, FN_SCIF0_RXD_C, FN_PWM5, FN_TCLK1_B,
  4689. FN_AVB_GTXREFCLK, FN_CAN1_RX_D, FN_TPUTO0_B, 0,
  4690. /* IP8_16_15 [2] */
  4691. FN_HSCIF0_HSCK, FN_SCIF_CLK_B, FN_AVB_CRS, FN_AUDIO_CLKC_B,
  4692. /* IP8_14_12 [3] */
  4693. FN_HSCIF0_HRTS_N, FN_VI0_R7, FN_SCIF0_TXD_D, FN_I2C0_SDA_E,
  4694. FN_AVB_PHY_INT, FN_SSI_SDATA8_B, 0, 0,
  4695. /* IP8_11_9 [3] */
  4696. FN_HSCIF0_HCTS_N, FN_VI0_R6, FN_SCIF0_RXD_D, FN_I2C0_SCL_E,
  4697. FN_AVB_MAGIC, FN_SSI_SDATA7_B, 0, 0,
  4698. /* IP8_8_6 [3] */
  4699. FN_HSCIF0_HTX, FN_VI0_R5, FN_I2C1_SDA_C, FN_AUDIO_CLKB_B,
  4700. FN_AVB_LINK, FN_SSI_WS78_B, 0, 0,
  4701. /* IP8_5_3 [3] */
  4702. FN_HSCIF0_HRX, FN_VI0_R4, FN_I2C1_SCL_C, FN_AUDIO_CLKA_B,
  4703. FN_AVB_MDIO, FN_SSI_SCK78_B, 0, 0,
  4704. /* IP8_2_0 [3] */
  4705. FN_ETH_MDC, FN_VI0_R3, FN_SCIF3_TXD_B, FN_I2C4_SDA_E,
  4706. FN_AVB_MDC, FN_SSI_SDATA6_B, 0, 0, }
  4707. },
  4708. { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
  4709. 1, 3, 3, 3, 3, 2, 2, 3, 3, 3, 3, 3, 3) {
  4710. /* IP9_31 [1] */
  4711. 0, 0,
  4712. /* IP9_30_28 [3] */
  4713. FN_SCIF1_SCK, FN_PWM3, FN_TCLK2, FN_DU1_DG5,
  4714. FN_SSI_SDATA1_B, FN_CAN_TXCLK, FN_CC50_STATE34, 0,
  4715. /* IP9_27_25 [3] */
  4716. FN_HSCIF1_HRTS_N, FN_SCIFA4_TXD, FN_IERX, FN_DU1_DG4,
  4717. FN_SSI_WS1_B, FN_CAN_STEP0, FN_CC50_STATE33, 0,
  4718. /* IP9_24_22 [3] */
  4719. FN_HSCIF1_HCTS_N, FN_SCIFA4_RXD, FN_IECLK, FN_DU1_DG3,
  4720. FN_SSI_SCK1_B, FN_CAN_DEBUG_HW_TRIGGER, FN_CC50_STATE32, 0,
  4721. /* IP9_21_19 [3] */
  4722. FN_HSCIF1_HSCK, FN_PWM2, FN_IETX, FN_DU1_DG2,
  4723. FN_REMOCON_B, FN_SPEEDIN_B, FN_VSP_B, 0,
  4724. /* IP9_18_17 [2] */
  4725. FN_HSCIF1_HTX, FN_I2C4_SDA, FN_TPUTO1, FN_DU1_DG1,
  4726. /* IP9_16_15 [2] */
  4727. FN_HSCIF1_HRX, FN_I2C4_SCL, FN_PWM6, FN_DU1_DG0,
  4728. /* IP9_14_12 [3] */
  4729. FN_MSIOF0_SS2, FN_SCIFA0_TXD, FN_TS_SPSYNC, FN_DU1_DR7,
  4730. FN_RIF1_D1, FN_FMIN_B, FN_RDS_DATA_B, 0,
  4731. /* IP9_11_9 [3] */
  4732. FN_MSIOF0_SS1, FN_SCIFA0_RXD, FN_TS_SDEN, FN_DU1_DR6,
  4733. FN_RIF1_D0, FN_FMCLK_B, FN_RDS_CLK_B, 0,
  4734. /* IP9_8_6 [3] */
  4735. FN_MSIOF0_SYNC, FN_PWM1, FN_TS_SCK, FN_DU1_DR5,
  4736. FN_RIF1_CLK, FN_BPFCLK_B, 0, 0,
  4737. /* IP9_5_3 [3] */
  4738. FN_MSIOF0_SCK, FN_IRQ0, FN_TS_SDATA, FN_DU1_DR4,
  4739. FN_RIF1_SYNC, FN_TPUTO1_C, 0, 0,
  4740. /* IP9_2_0 [3] */
  4741. FN_MSIOF0_TXD, FN_SCIF5_TXD, FN_I2C2_SDA_C, FN_DU1_DR3,
  4742. FN_RIF1_D1_B, FN_TS_SPSYNC_D, FN_FMIN_C, FN_RDS_DATA, }
  4743. },
  4744. { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
  4745. 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
  4746. /* IP10_31_30 [2] */
  4747. FN_SSI_SCK5, FN_SCIFA3_SCK, FN_DU1_DOTCLKIN, FN_CAN_DEBUGOUT10,
  4748. /* IP10_29_27 [3] */
  4749. FN_I2C2_SDA, FN_SCIFA5_TXD, FN_DU1_DB7, FN_AUDIO_CLKOUT_C,
  4750. FN_CAN_DEBUGOUT9, 0, 0, 0,
  4751. /* IP10_26_24 [3] */
  4752. FN_I2C2_SCL, FN_SCIFA5_RXD, FN_DU1_DB6, FN_AUDIO_CLKC_C,
  4753. FN_SSI_SDATA4_B, FN_CAN_DEBUGOUT8, 0, 0,
  4754. /* IP10_23_21 [3] */
  4755. FN_SCIF3_TXD, FN_I2C1_SDA_E, FN_FMIN_D, FN_DU1_DB5,
  4756. FN_AUDIO_CLKB_C, FN_SSI_WS4_B, FN_CAN_DEBUGOUT7, FN_RDS_DATA_C,
  4757. /* IP10_20_18 [3] */
  4758. FN_SCIF3_RXD, FN_I2C1_SCL_E, FN_FMCLK_D, FN_DU1_DB4,
  4759. FN_AUDIO_CLKA_C, FN_SSI_SCK4_B, FN_CAN_DEBUGOUT6, FN_RDS_CLK_C,
  4760. /* IP10_17_15 [3] */
  4761. FN_SCIF3_SCK, FN_IRQ2, FN_BPFCLK_D, FN_DU1_DB3,
  4762. FN_SSI_SDATA9_B, FN_TANS2, FN_CAN_DEBUGOUT5, FN_CC50_OSCOUT,
  4763. /* IP10_14_12 [3] */
  4764. FN_SCIF2_SCK, FN_IRQ1, FN_DU1_DB2, FN_SSI_WS9_B,
  4765. FN_USB0_IDIN, FN_CAN_DEBUGOUT4, FN_CC50_STATE39, 0,
  4766. /* IP10_11_9 [3] */
  4767. FN_SCIF2_TXD, FN_IIC1_SDA, FN_DU1_DB1, FN_SSI_SCK9_B,
  4768. FN_USB0_OVC1, FN_CAN_DEBUGOUT3, FN_CC50_STATE38, 0,
  4769. /* IP10_8_6 [3] */
  4770. FN_SCIF2_RXD, FN_IIC1_SCL, FN_DU1_DB0, FN_SSI_SDATA2_B,
  4771. FN_USB0_EXTLP, FN_CAN_DEBUGOUT2, FN_CC50_STATE37, 0,
  4772. /* IP10_5_3 [3] */
  4773. FN_SCIF1_TXD, FN_IIC0_SDA, FN_DU1_DG7, FN_SSI_WS2_B,
  4774. FN_CAN_DEBUGOUT1, FN_CC50_STATE36, 0, 0,
  4775. /* IP10_2_0 [3] */
  4776. FN_SCIF1_RXD, FN_IIC0_SCL, FN_DU1_DG6, FN_SSI_SCK2_B,
  4777. FN_CAN_DEBUGOUT0, FN_CC50_STATE35, 0, 0, }
  4778. },
  4779. { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
  4780. 2, 3, 3, 3, 3, 2, 2, 3, 3, 2, 3, 3) {
  4781. /* IP11_31_30 [2] */
  4782. 0, 0, 0, 0,
  4783. /* IP11_29_27 [3] */
  4784. FN_SSI_SDATA0, FN_MSIOF1_SCK_B, FN_PWM0_B, FN_ADICLK_B,
  4785. FN_AD_CLK_B, 0, 0, 0,
  4786. /* IP11_26_24 [3] */
  4787. FN_SSI_WS0129, FN_MSIOF1_TXD_B, FN_SCIF5_TXD_D, FN_ADICS_SAMP_B,
  4788. FN_AD_DO_B, 0, 0, 0,
  4789. /* IP11_23_21 [3] */
  4790. FN_SSI_SCK0129, FN_MSIOF1_RXD_B, FN_SCIF5_RXD_D, FN_ADIDATA_B,
  4791. FN_AD_DI_B, FN_PCMWE_N, 0, 0,
  4792. /* IP11_20_18 [3] */
  4793. FN_SSI_SDATA7, FN_SCIFA2_TXD_B, FN_IRQ8, FN_AUDIO_CLKA_D,
  4794. FN_CAN_CLK_D, FN_PCMOE_N, 0, 0,
  4795. /* IP11_17_16 [2] */
  4796. FN_SSI_WS78, FN_SCIFA2_RXD_B, FN_IIC0_SCL_C, FN_DU1_CDE,
  4797. /* IP11_15_14 [2] */
  4798. FN_SSI_SCK78, FN_SCIFA2_SCK_B, FN_IIC0_SDA_C, FN_DU1_DISP,
  4799. /* IP11_13_11 [3] */
  4800. FN_SSI_SDATA6, FN_SCIFA1_TXD_B, FN_I2C4_SDA_C,
  4801. FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_CAN_DEBUGOUT15, 0, 0, 0,
  4802. /* IP11_10_8 [3] */
  4803. FN_SSI_WS6, FN_SCIFA1_RXD_B, FN_I2C4_SCL_C,
  4804. FN_DU1_EXVSYNC_DU1_VSYNC, FN_CAN_DEBUGOUT14, 0, 0, 0,
  4805. /* IP11_7_6 [2] */
  4806. FN_SSI_SCK6, FN_SCIFA1_SCK_B, FN_DU1_EXHSYNC_DU1_HSYNC,
  4807. FN_CAN_DEBUGOUT13,
  4808. /* IP11_5_3 [3] */
  4809. FN_SSI_SDATA5, FN_SCIFA3_TXD, FN_I2C3_SDA_C, FN_DU1_DOTCLKOUT1,
  4810. FN_CAN_DEBUGOUT12, 0, 0, 0,
  4811. /* IP11_2_0 [3] */
  4812. FN_SSI_WS5, FN_SCIFA3_RXD, FN_I2C3_SCL_C, FN_DU1_DOTCLKOUT0,
  4813. FN_CAN_DEBUGOUT11, 0, 0, 0, }
  4814. },
  4815. { PINMUX_CFG_REG_VAR("IPSR12", 0xE6060050, 32,
  4816. 2, 3, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3) {
  4817. /* IP12_31_30 [2] */
  4818. 0, 0, 0, 0,
  4819. /* IP12_29_27 [3] */
  4820. FN_SSI_SCK2, FN_HSCIF1_HTX_B, FN_VI1_DATA2, FN_MDATA,
  4821. FN_ATAG0_N, FN_ETH_RXD1_B, 0, 0,
  4822. /* IP12_26_24 [3] */
  4823. FN_SSI_SDATA1, FN_HSCIF1_HRX_B, FN_VI1_DATA1, FN_SDATA,
  4824. FN_ATAWR0_N, FN_ETH_RXD0_B, 0, 0,
  4825. /* IP12_23_21 [3] */
  4826. FN_SSI_WS1, FN_SCIF1_TXD_B, FN_IIC1_SDA_C, FN_VI1_DATA0,
  4827. FN_CAN0_TX_D, FN_AVB_AVTP_MATCH, FN_ETH_RX_ER_B, 0,
  4828. /* IP12_20_18 [3] */
  4829. FN_SSI_SCK1, FN_SCIF1_RXD_B, FN_IIC1_SCL_C, FN_VI1_CLK,
  4830. FN_CAN0_RX_D, FN_AVB_AVTP_CAPTURE, FN_ETH_CRS_DV_B, 0,
  4831. /* IP12_17_15 [3] */
  4832. FN_SSI_SDATA8, FN_SCIF1_SCK_B, FN_PWM1_B, FN_IRQ9,
  4833. FN_REMOCON, FN_DACK2, FN_ETH_MDIO_B, 0,
  4834. /* IP12_14_13 [2] */
  4835. FN_SSI_SDATA4, FN_MLB_DAT, FN_IERX_B, FN_IRD_SCK,
  4836. /* IP12_12_11 [2] */
  4837. FN_SSI_WS4, FN_MLB_SIG, FN_IECLK_B, FN_IRD_RX,
  4838. /* IP12_10_9 [2] */
  4839. FN_SSI_SCK4, FN_MLB_CLK, FN_IETX_B, FN_IRD_TX,
  4840. /* IP12_8_6 [3] */
  4841. FN_SSI_SDATA3, FN_MSIOF1_SS2_B, FN_SCIFA1_TXD_C, FN_ADICHS2_B,
  4842. FN_CAN1_TX_C, FN_DREQ2_N, 0, 0,
  4843. /* IP12_5_3 [3] */
  4844. FN_SSI_WS34, FN_MSIOF1_SS1_B, FN_SCIFA1_RXD_C, FN_ADICHS1_B,
  4845. FN_CAN1_RX_C, FN_DACK1_B, 0, 0,
  4846. /* IP12_2_0 [3] */
  4847. FN_SSI_SCK34, FN_MSIOF1_SYNC_B, FN_SCIFA1_SCK_C, FN_ADICHS0_B,
  4848. FN_AD_NCS_N_B, FN_DREQ1_N_B, 0, 0, }
  4849. },
  4850. { PINMUX_CFG_REG_VAR("IPSR13", 0xE6060054, 32,
  4851. 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
  4852. /* IP13_31 [1] */
  4853. 0, 0,
  4854. /* IP13_30 [1] */
  4855. 0, 0,
  4856. /* IP13_29 [1] */
  4857. 0, 0,
  4858. /* IP13_28 [1] */
  4859. 0, 0,
  4860. /* IP13_27 [1] */
  4861. 0, 0,
  4862. /* IP13_26_24 [3] */
  4863. FN_AUDIO_CLKOUT, FN_I2C4_SDA_B, FN_SCIFA5_TXD_D, FN_VI1_VSYNC_N,
  4864. FN_TS_SPSYNC_C, FN_RIF0_D1_B, FN_FMIN_E, FN_RDS_DATA_D,
  4865. /* IP13_23_21 [3] */
  4866. FN_AUDIO_CLKC, FN_I2C4_SCL_B, FN_SCIFA5_RXD_D, FN_VI1_HSYNC_N,
  4867. FN_TS_SDEN_C, FN_RIF0_D0_B, FN_FMCLK_E, FN_RDS_CLK_D,
  4868. /* IP13_20_18 [3] */
  4869. FN_AUDIO_CLKB, FN_I2C0_SDA_B, FN_SCIFA4_TXD_D, FN_VI1_FIELD,
  4870. FN_TS_SCK_C, FN_RIF0_CLK_B, FN_BPFCLK_E, FN_ETH_MDC_B,
  4871. /* IP13_17_15 [3] */
  4872. FN_AUDIO_CLKA, FN_I2C0_SCL_B, FN_SCIFA4_RXD_D, FN_VI1_CLKENB,
  4873. FN_TS_SDATA_C, FN_RIF0_SYNC_B, FN_ETH_TXD0_B, 0,
  4874. /* IP13_14_12 [3] */
  4875. FN_SSI_SDATA9, FN_SCIF2_TXD_B, FN_I2C3_SDA_E, FN_VI1_DATA7,
  4876. FN_ATADIR0_N, FN_ETH_MAGIC_B, 0, 0,
  4877. /* IP13_11_9 [3] */
  4878. FN_SSI_WS9, FN_SCIF2_RXD_B, FN_I2C3_SCL_E, FN_VI1_DATA6,
  4879. FN_ATARD0_N, FN_ETH_TX_EN_B, 0, 0,
  4880. /* IP13_8_6 [3] */
  4881. FN_SSI_SCK9, FN_SCIF2_SCK_B, FN_PWM2_B, FN_VI1_DATA5,
  4882. FN_MTS_N, FN_EX_WAIT1, FN_ETH_TXD1_B, 0,
  4883. /* IP13_5_3 [2] */
  4884. FN_SSI_SDATA2, FN_HSCIF1_HRTS_N_B, FN_SCIFA0_TXD_D,
  4885. FN_VI1_DATA4, FN_STM_N, FN_ATACS10_N, FN_ETH_REFCLK_B, 0,
  4886. /* IP13_2_0 [3] */
  4887. FN_SSI_WS2, FN_HSCIF1_HCTS_N_B, FN_SCIFA0_RXD_D, FN_VI1_DATA3,
  4888. FN_SCKZ, FN_ATACS00_N, FN_ETH_LINK_B, 0, }
  4889. },
  4890. { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
  4891. 2, 1, 2, 3, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3,
  4892. 2, 1) {
  4893. /* SEL_ADG [2] */
  4894. FN_SEL_ADG_0, FN_SEL_ADG_1, FN_SEL_ADG_2, FN_SEL_ADG_3,
  4895. /* SEL_ADI [1] */
  4896. FN_SEL_ADI_0, FN_SEL_ADI_1,
  4897. /* SEL_CAN [2] */
  4898. FN_SEL_CAN_0, FN_SEL_CAN_1, FN_SEL_CAN_2, FN_SEL_CAN_3,
  4899. /* SEL_DARC [3] */
  4900. FN_SEL_DARC_0, FN_SEL_DARC_1, FN_SEL_DARC_2, FN_SEL_DARC_3,
  4901. FN_SEL_DARC_4, 0, 0, 0,
  4902. /* SEL_DR0 [1] */
  4903. FN_SEL_DR0_0, FN_SEL_DR0_1,
  4904. /* SEL_DR1 [1] */
  4905. FN_SEL_DR1_0, FN_SEL_DR1_1,
  4906. /* SEL_DR2 [1] */
  4907. FN_SEL_DR2_0, FN_SEL_DR2_1,
  4908. /* SEL_DR3 [1] */
  4909. FN_SEL_DR3_0, FN_SEL_DR3_1,
  4910. /* SEL_ETH [1] */
  4911. FN_SEL_ETH_0, FN_SEL_ETH_1,
  4912. /* SLE_FSN [1] */
  4913. FN_SEL_FSN_0, FN_SEL_FSN_1,
  4914. /* SEL_IC200 [3] */
  4915. FN_SEL_I2C00_0, FN_SEL_I2C00_1, FN_SEL_I2C00_2, FN_SEL_I2C00_3,
  4916. FN_SEL_I2C00_4, 0, 0, 0,
  4917. /* SEL_I2C01 [3] */
  4918. FN_SEL_I2C01_0, FN_SEL_I2C01_1, FN_SEL_I2C01_2, FN_SEL_I2C01_3,
  4919. FN_SEL_I2C01_4, 0, 0, 0,
  4920. /* SEL_I2C02 [3] */
  4921. FN_SEL_I2C02_0, FN_SEL_I2C02_1, FN_SEL_I2C02_2, FN_SEL_I2C02_3,
  4922. FN_SEL_I2C02_4, 0, 0, 0,
  4923. /* SEL_I2C03 [3] */
  4924. FN_SEL_I2C03_0, FN_SEL_I2C03_1, FN_SEL_I2C03_2, FN_SEL_I2C03_3,
  4925. FN_SEL_I2C03_4, 0, 0, 0,
  4926. /* SEL_I2C04 [3] */
  4927. FN_SEL_I2C04_0, FN_SEL_I2C04_1, FN_SEL_I2C04_2, FN_SEL_I2C04_3,
  4928. FN_SEL_I2C04_4, 0, 0, 0,
  4929. /* SEL_IIC00 [2] */
  4930. FN_SEL_IIC00_0, FN_SEL_IIC00_1, FN_SEL_IIC00_2, FN_SEL_IIC00_3,
  4931. /* SEL_AVB [1] */
  4932. FN_SEL_AVB_0, FN_SEL_AVB_1, }
  4933. },
  4934. { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
  4935. 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1,
  4936. 2, 2, 2, 1, 1, 2) {
  4937. /* SEL_IEB [2] */
  4938. FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, 0,
  4939. /* SEL_IIC0 [2] */
  4940. FN_SEL_IIC01_0, FN_SEL_IIC01_1, FN_SEL_IIC01_2, FN_SEL_IIC01_3,
  4941. /* SEL_LBS [1] */
  4942. FN_SEL_LBS_0, FN_SEL_LBS_1,
  4943. /* SEL_MSI1 [1] */
  4944. FN_SEL_MSI1_0, FN_SEL_MSI1_1,
  4945. /* SEL_MSI2 [1] */
  4946. FN_SEL_MSI2_0, FN_SEL_MSI2_1,
  4947. /* SEL_RAD [1] */
  4948. FN_SEL_RAD_0, FN_SEL_RAD_1,
  4949. /* SEL_RCN [1] */
  4950. FN_SEL_RCN_0, FN_SEL_RCN_1,
  4951. /* SEL_RSP [1] */
  4952. FN_SEL_RSP_0, FN_SEL_RSP_1,
  4953. /* SEL_SCIFA0 [2] */
  4954. FN_SEL_SCIFA0_0, FN_SEL_SCIFA0_1, FN_SEL_SCIFA0_2,
  4955. FN_SEL_SCIFA0_3,
  4956. /* SEL_SCIFA1 [2] */
  4957. FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, 0,
  4958. /* SEL_SCIFA2 [1] */
  4959. FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
  4960. /* SEL_SCIFA3 [1] */
  4961. FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1,
  4962. /* SEL_SCIFA4 [2] */
  4963. FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2,
  4964. FN_SEL_SCIFA4_3,
  4965. /* SEL_SCIFA5 [2] */
  4966. FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2,
  4967. FN_SEL_SCIFA5_3,
  4968. /* SEL_SPDM [1] */
  4969. FN_SEL_SPDM_0, FN_SEL_SPDM_1,
  4970. /* SEL_TMU [1] */
  4971. FN_SEL_TMU_0, FN_SEL_TMU_1,
  4972. /* SEL_TSIF0 [2] */
  4973. FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
  4974. /* SEL_CAN0 [2] */
  4975. FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
  4976. /* SEL_CAN1 [2] */
  4977. FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
  4978. /* SEL_HSCIF0 [1] */
  4979. FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1,
  4980. /* SEL_HSCIF1 [1] */
  4981. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
  4982. /* SEL_RDS [2] */
  4983. FN_SEL_RDS_0, FN_SEL_RDS_1, FN_SEL_RDS_2, FN_SEL_RDS_3, }
  4984. },
  4985. { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
  4986. 2, 2, 2, 1, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1,
  4987. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) {
  4988. /* SEL_SCIF0 [2] */
  4989. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
  4990. /* SEL_SCIF1 [2] */
  4991. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, 0,
  4992. /* SEL_SCIF2 [2] */
  4993. FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, 0,
  4994. /* SEL_SCIF3 [1] */
  4995. FN_SEL_SCIF3_0, FN_SEL_SCIF3_1,
  4996. /* SEL_SCIF4 [3] */
  4997. FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
  4998. FN_SEL_SCIF4_4, 0, 0, 0,
  4999. /* SEL_SCIF5 [2] */
  5000. FN_SEL_SCIF5_0, FN_SEL_SCIF5_1, FN_SEL_SCIF5_2, FN_SEL_SCIF5_3,
  5001. /* SEL_SSI1 [1] */
  5002. FN_SEL_SSI1_0, FN_SEL_SSI1_1,
  5003. /* SEL_SSI2 [1] */
  5004. FN_SEL_SSI2_0, FN_SEL_SSI2_1,
  5005. /* SEL_SSI4 [1] */
  5006. FN_SEL_SSI4_0, FN_SEL_SSI4_1,
  5007. /* SEL_SSI5 [1] */
  5008. FN_SEL_SSI5_0, FN_SEL_SSI5_1,
  5009. /* SEL_SSI6 [1] */
  5010. FN_SEL_SSI6_0, FN_SEL_SSI6_1,
  5011. /* SEL_SSI7 [1] */
  5012. FN_SEL_SSI7_0, FN_SEL_SSI7_1,
  5013. /* SEL_SSI8 [1] */
  5014. FN_SEL_SSI8_0, FN_SEL_SSI8_1,
  5015. /* SEL_SSI9 [1] */
  5016. FN_SEL_SSI9_0, FN_SEL_SSI9_1,
  5017. /* RESERVED [1] */
  5018. 0, 0,
  5019. /* RESERVED [1] */
  5020. 0, 0,
  5021. /* RESERVED [1] */
  5022. 0, 0,
  5023. /* RESERVED [1] */
  5024. 0, 0,
  5025. /* RESERVED [1] */
  5026. 0, 0,
  5027. /* RESERVED [1] */
  5028. 0, 0,
  5029. /* RESERVED [1] */
  5030. 0, 0,
  5031. /* RESERVED [1] */
  5032. 0, 0,
  5033. /* RESERVED [1] */
  5034. 0, 0,
  5035. /* RESERVED [1] */
  5036. 0, 0,
  5037. /* RESERVED [1] */
  5038. 0, 0,
  5039. /* RESERVED [1] */
  5040. 0, 0, }
  5041. },
  5042. { },
  5043. };
  5044. static int r8a7794_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl)
  5045. {
  5046. *pocctrl = 0xe606006c;
  5047. switch (pin & 0x1f) {
  5048. case 6: return 23;
  5049. case 7: return 16;
  5050. case 14: return 15;
  5051. case 15: return 8;
  5052. case 0 ... 5:
  5053. case 8 ... 13:
  5054. return 22 - (pin & 0x1f);
  5055. case 16 ... 23:
  5056. return 47 - (pin & 0x1f);
  5057. }
  5058. return -EINVAL;
  5059. }
  5060. static const struct sh_pfc_soc_operations r8a7794_pinmux_ops = {
  5061. .pin_to_pocctrl = r8a7794_pin_to_pocctrl,
  5062. };
  5063. const struct sh_pfc_soc_info r8a7794_pinmux_info = {
  5064. .name = "r8a77940_pfc",
  5065. .ops = &r8a7794_pinmux_ops,
  5066. .unlock_reg = 0xe6060000, /* PMMR */
  5067. .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
  5068. .pins = pinmux_pins,
  5069. .nr_pins = ARRAY_SIZE(pinmux_pins),
  5070. .groups = pinmux_groups,
  5071. .nr_groups = ARRAY_SIZE(pinmux_groups),
  5072. .functions = pinmux_functions,
  5073. .nr_functions = ARRAY_SIZE(pinmux_functions),
  5074. .cfg_regs = pinmux_config_regs,
  5075. .pinmux_data = pinmux_data,
  5076. .pinmux_data_size = ARRAY_SIZE(pinmux_data),
  5077. };