pfc-r8a7791.c 188 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345
  1. /*
  2. * r8a7791 processor support - PFC hardware block.
  3. *
  4. * Copyright (C) 2013 Renesas Electronics Corporation
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2
  8. * as published by the Free Software Foundation.
  9. */
  10. #include <linux/kernel.h>
  11. #include "core.h"
  12. #include "sh_pfc.h"
  13. #define PORT_GP_26(bank, fn, sfx) \
  14. PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \
  15. PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \
  16. PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \
  17. PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \
  18. PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \
  19. PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \
  20. PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \
  21. PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \
  22. PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \
  23. PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \
  24. PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \
  25. PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \
  26. PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx)
  27. #define CPU_ALL_PORT(fn, sfx) \
  28. PORT_GP_32(0, fn, sfx), \
  29. PORT_GP_26(1, fn, sfx), \
  30. PORT_GP_32(2, fn, sfx), \
  31. PORT_GP_32(3, fn, sfx), \
  32. PORT_GP_32(4, fn, sfx), \
  33. PORT_GP_32(5, fn, sfx), \
  34. PORT_GP_32(6, fn, sfx), \
  35. PORT_GP_26(7, fn, sfx)
  36. enum {
  37. PINMUX_RESERVED = 0,
  38. PINMUX_DATA_BEGIN,
  39. GP_ALL(DATA),
  40. PINMUX_DATA_END,
  41. PINMUX_FUNCTION_BEGIN,
  42. GP_ALL(FN),
  43. /* GPSR0 */
  44. FN_IP0_0, FN_IP0_1, FN_IP0_2, FN_IP0_3, FN_IP0_4, FN_IP0_5,
  45. FN_IP0_6, FN_IP0_7, FN_IP0_8, FN_IP0_9, FN_IP0_10, FN_IP0_11,
  46. FN_IP0_12, FN_IP0_13, FN_IP0_14, FN_IP0_15, FN_IP0_18_16, FN_IP0_20_19,
  47. FN_IP0_22_21, FN_IP0_24_23, FN_IP0_26_25, FN_IP0_28_27, FN_IP0_30_29,
  48. FN_IP1_1_0, FN_IP1_3_2, FN_IP1_5_4, FN_IP1_7_6, FN_IP1_10_8,
  49. FN_IP1_13_11, FN_IP1_16_14, FN_IP1_19_17, FN_IP1_22_20,
  50. /* GPSR1 */
  51. FN_IP1_25_23, FN_IP1_28_26, FN_IP1_31_29, FN_IP2_2_0, FN_IP2_4_3,
  52. FN_IP2_6_5, FN_IP2_9_7, FN_IP2_12_10, FN_IP2_15_13, FN_IP2_18_16,
  53. FN_IP2_20_19, FN_IP2_22_21, FN_EX_CS0_N, FN_IP2_24_23, FN_IP2_26_25,
  54. FN_IP2_29_27, FN_IP3_2_0, FN_IP3_5_3, FN_IP3_8_6, FN_RD_N,
  55. FN_IP3_11_9, FN_IP3_13_12, FN_IP3_15_14 , FN_IP3_17_16 , FN_IP3_19_18,
  56. FN_IP3_21_20,
  57. /* GPSR2 */
  58. FN_IP3_27_25, FN_IP3_30_28, FN_IP4_1_0, FN_IP4_4_2, FN_IP4_7_5,
  59. FN_IP4_9_8, FN_IP4_12_10, FN_IP4_15_13, FN_IP4_18_16, FN_IP4_19,
  60. FN_IP4_20, FN_IP4_21, FN_IP4_23_22, FN_IP4_25_24, FN_IP4_27_26,
  61. FN_IP4_30_28, FN_IP5_2_0, FN_IP5_5_3, FN_IP5_8_6, FN_IP5_11_9,
  62. FN_IP5_14_12, FN_IP5_16_15, FN_IP5_19_17, FN_IP5_21_20, FN_IP5_23_22,
  63. FN_IP5_25_24, FN_IP5_28_26, FN_IP5_31_29, FN_AUDIO_CLKA, FN_IP6_2_0,
  64. FN_IP6_5_3, FN_IP6_7_6,
  65. /* GPSR3 */
  66. FN_IP7_5_3, FN_IP7_8_6, FN_IP7_10_9, FN_IP7_12_11, FN_IP7_14_13,
  67. FN_IP7_16_15, FN_IP7_18_17, FN_IP7_20_19, FN_IP7_23_21, FN_IP7_26_24,
  68. FN_IP7_29_27, FN_IP8_2_0, FN_IP8_5_3, FN_IP8_8_6, FN_IP8_11_9,
  69. FN_IP8_14_12, FN_IP8_17_15, FN_IP8_20_18, FN_IP8_23_21, FN_IP8_25_24,
  70. FN_IP8_27_26, FN_IP8_30_28, FN_IP9_2_0, FN_IP9_5_3, FN_IP9_6, FN_IP9_7,
  71. FN_IP9_10_8, FN_IP9_11, FN_IP9_12, FN_IP9_15_13, FN_IP9_16,
  72. FN_IP9_18_17,
  73. /* GPSR4 */
  74. FN_VI0_CLK, FN_IP9_20_19, FN_IP9_22_21, FN_IP9_24_23, FN_IP9_26_25,
  75. FN_VI0_DATA0_VI0_B0, FN_VI0_DATA1_VI0_B1, FN_VI0_DATA2_VI0_B2,
  76. FN_IP9_28_27, FN_VI0_DATA4_VI0_B4, FN_VI0_DATA5_VI0_B5,
  77. FN_VI0_DATA6_VI0_B6, FN_VI0_DATA7_VI0_B7, FN_IP9_31_29, FN_IP10_2_0,
  78. FN_IP10_5_3, FN_IP10_8_6, FN_IP10_11_9, FN_IP10_14_12, FN_IP10_16_15,
  79. FN_IP10_18_17, FN_IP10_21_19, FN_IP10_24_22, FN_IP10_26_25,
  80. FN_IP10_28_27, FN_IP10_31_29, FN_IP11_2_0, FN_IP11_5_3, FN_IP11_8_6,
  81. FN_IP15_1_0, FN_IP15_3_2, FN_IP15_5_4,
  82. /* GPSR5 */
  83. FN_IP11_11_9, FN_IP11_14_12, FN_IP11_16_15, FN_IP11_18_17, FN_IP11_19,
  84. FN_IP11_20, FN_IP11_21, FN_IP11_22, FN_IP11_23, FN_IP11_24,
  85. FN_IP11_25, FN_IP11_26, FN_IP11_27, FN_IP11_29_28, FN_IP11_31_30,
  86. FN_IP12_1_0, FN_IP12_3_2, FN_IP12_6_4, FN_IP12_9_7, FN_IP12_12_10,
  87. FN_IP12_15_13, FN_IP12_17_16, FN_IP12_19_18, FN_IP12_21_20,
  88. FN_IP12_23_22, FN_IP12_26_24, FN_IP12_29_27, FN_IP13_2_0, FN_IP13_4_3,
  89. FN_IP13_6_5, FN_IP13_9_7, FN_IP3_24_22,
  90. /* GPSR6 */
  91. FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14,
  92. FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19,
  93. FN_IP13_22, FN_IP13_24_23, FN_SD1_CLK,
  94. FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0,
  95. FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7,
  96. FN_IP14_10_8, FN_IP14_13_11, FN_IP14_16_14, FN_IP14_19_17,
  97. FN_IP14_22_20, FN_IP14_25_23, FN_IP14_28_26, FN_IP14_31_29,
  98. FN_USB1_OVC, FN_DU0_DOTCLKIN,
  99. /* GPSR7 */
  100. FN_IP15_17_15, FN_IP15_20_18, FN_IP15_23_21, FN_IP15_26_24,
  101. FN_IP15_29_27, FN_IP16_2_0, FN_IP16_5_3, FN_IP16_7_6, FN_IP16_9_8,
  102. FN_IP16_11_10, FN_IP6_9_8, FN_IP6_11_10, FN_IP6_13_12, FN_IP6_15_14,
  103. FN_IP6_18_16, FN_IP6_20_19, FN_IP6_23_21, FN_IP6_26_24, FN_IP6_29_27,
  104. FN_IP7_2_0, FN_IP15_8_6, FN_IP15_11_9, FN_IP15_14_12,
  105. FN_USB0_PWEN, FN_USB0_OVC, FN_USB1_PWEN,
  106. /* IPSR0 */
  107. FN_D0, FN_D1, FN_D2, FN_D3, FN_D4, FN_D5, FN_D6, FN_D7, FN_D8,
  108. FN_D9, FN_D10, FN_D11, FN_D12, FN_D13, FN_D14, FN_D15,
  109. FN_A0, FN_ATAWR0_N_C, FN_MSIOF0_SCK_B, FN_SCL0_C, FN_PWM2_B,
  110. FN_A1, FN_MSIOF0_SYNC_B, FN_A2, FN_MSIOF0_SS1_B,
  111. FN_A3, FN_MSIOF0_SS2_B, FN_A4, FN_MSIOF0_TXD_B,
  112. FN_A5, FN_MSIOF0_RXD_B, FN_A6, FN_MSIOF1_SCK,
  113. /* IPSR1 */
  114. FN_A7, FN_MSIOF1_SYNC, FN_A8, FN_MSIOF1_SS1, FN_SCL0,
  115. FN_A9, FN_MSIOF1_SS2, FN_SDA0,
  116. FN_A10, FN_MSIOF1_TXD, FN_MSIOF1_TXD_D,
  117. FN_A11, FN_MSIOF1_RXD, FN_SCL3_D, FN_MSIOF1_RXD_D,
  118. FN_A12, FN_FMCLK, FN_SDA3_D, FN_MSIOF1_SCK_D,
  119. FN_A13, FN_ATAG0_N_C, FN_BPFCLK, FN_MSIOF1_SS1_D,
  120. FN_A14, FN_ATADIR0_N_C, FN_FMIN, FN_FMIN_C, FN_MSIOF1_SYNC_D,
  121. FN_A15, FN_BPFCLK_C,
  122. FN_A16, FN_DREQ2_B, FN_FMCLK_C, FN_SCIFA1_SCK_B,
  123. FN_A17, FN_DACK2_B, FN_SDA0_C,
  124. FN_A18, FN_DREQ1, FN_SCIFA1_RXD_C, FN_SCIFB1_RXD_C,
  125. /* IPSR2 */
  126. FN_A19, FN_DACK1, FN_SCIFA1_TXD_C, FN_SCIFB1_TXD_C, FN_SCIFB1_SCK_B,
  127. FN_A20, FN_SPCLK,
  128. FN_A21, FN_ATAWR0_N_B, FN_MOSI_IO0,
  129. FN_A22, FN_MISO_IO1, FN_FMCLK_B, FN_TX0, FN_SCIFA0_TXD,
  130. FN_A23, FN_IO2, FN_BPFCLK_B, FN_RX0, FN_SCIFA0_RXD,
  131. FN_A24, FN_DREQ2, FN_IO3, FN_TX1, FN_SCIFA1_TXD,
  132. FN_A25, FN_DACK2, FN_SSL, FN_DREQ1_C, FN_RX1, FN_SCIFA1_RXD,
  133. FN_CS0_N, FN_ATAG0_N_B, FN_SCL1,
  134. FN_CS1_N_A26, FN_ATADIR0_N_B, FN_SDA1,
  135. FN_EX_CS1_N, FN_MSIOF2_SCK,
  136. FN_EX_CS2_N, FN_ATAWR0_N, FN_MSIOF2_SYNC,
  137. FN_EX_CS3_N, FN_ATADIR0_N, FN_MSIOF2_TXD, FN_ATAG0_N, FN_EX_WAIT1,
  138. /* IPSR3 */
  139. FN_EX_CS4_N, FN_ATARD0_N, FN_MSIOF2_RXD, FN_EX_WAIT2,
  140. FN_EX_CS5_N, FN_ATACS00_N, FN_MSIOF2_SS1, FN_HRX1_B,
  141. FN_SCIFB1_RXD_B, FN_PWM1, FN_TPU_TO1,
  142. FN_BS_N, FN_ATACS10_N, FN_MSIOF2_SS2, FN_HTX1_B,
  143. FN_SCIFB1_TXD_B, FN_PWM2, FN_TPU_TO2,
  144. FN_RD_WR_N, FN_HRX2_B, FN_FMIN_B, FN_SCIFB0_RXD_B, FN_DREQ1_D,
  145. FN_WE0_N, FN_HCTS2_N_B, FN_SCIFB0_TXD_B,
  146. FN_WE1_N, FN_ATARD0_N_B, FN_HTX2_B, FN_SCIFB0_RTS_N_B,
  147. FN_EX_WAIT0, FN_HRTS2_N_B, FN_SCIFB0_CTS_N_B,
  148. FN_DREQ0, FN_PWM3, FN_TPU_TO3,
  149. FN_DACK0, FN_DRACK0, FN_REMOCON,
  150. FN_SPEEDIN, FN_HSCK0_C, FN_HSCK2_C, FN_SCIFB0_SCK_B,
  151. FN_SCIFB2_SCK_B, FN_DREQ2_C, FN_HTX2_D,
  152. FN_SSI_SCK0129, FN_HRX0_C, FN_HRX2_C, FN_SCIFB0_RXD_C, FN_SCIFB2_RXD_C,
  153. FN_SSI_WS0129, FN_HTX0_C, FN_HTX2_C, FN_SCIFB0_TXD_C, FN_SCIFB2_TXD_C,
  154. /* IPSR4 */
  155. FN_SSI_SDATA0, FN_SCL0_B, FN_SCL7_B, FN_MSIOF2_SCK_C,
  156. FN_SSI_SCK1, FN_SDA0_B, FN_SDA7_B, FN_MSIOF2_SYNC_C, FN_GLO_I0_D,
  157. FN_SSI_WS1, FN_SCL1_B, FN_SCL8_B, FN_MSIOF2_TXD_C, FN_GLO_I1_D,
  158. FN_SSI_SDATA1, FN_SDA1_B, FN_SDA8_B, FN_MSIOF2_RXD_C,
  159. FN_SSI_SCK2, FN_SCL2, FN_GPS_CLK_B, FN_GLO_Q0_D, FN_HSCK1_E,
  160. FN_SSI_WS2, FN_SDA2, FN_GPS_SIGN_B, FN_RX2_E,
  161. FN_GLO_Q1_D, FN_HCTS1_N_E,
  162. FN_SSI_SDATA2, FN_GPS_MAG_B, FN_TX2_E, FN_HRTS1_N_E,
  163. FN_SSI_SCK34, FN_SSI_WS34, FN_SSI_SDATA3,
  164. FN_SSI_SCK4, FN_GLO_SS_D,
  165. FN_SSI_WS4, FN_GLO_RFON_D,
  166. FN_SSI_SDATA4, FN_MSIOF2_SCK_D,
  167. FN_SSI_SCK5, FN_MSIOF1_SCK_C, FN_TS_SDATA0, FN_GLO_I0,
  168. FN_MSIOF2_SYNC_D, FN_VI1_R2_B,
  169. /* IPSR5 */
  170. FN_SSI_WS5, FN_MSIOF1_SYNC_C, FN_TS_SCK0, FN_GLO_I1,
  171. FN_MSIOF2_TXD_D, FN_VI1_R3_B,
  172. FN_SSI_SDATA5, FN_MSIOF1_TXD_C, FN_TS_SDEN0, FN_GLO_Q0,
  173. FN_MSIOF2_SS1_D, FN_VI1_R4_B,
  174. FN_SSI_SCK6, FN_MSIOF1_RXD_C, FN_TS_SPSYNC0, FN_GLO_Q1,
  175. FN_MSIOF2_RXD_D, FN_VI1_R5_B,
  176. FN_SSI_WS6, FN_GLO_SCLK, FN_MSIOF2_SS2_D, FN_VI1_R6_B,
  177. FN_SSI_SDATA6, FN_STP_IVCXO27_0_B, FN_GLO_SDATA, FN_VI1_R7_B,
  178. FN_SSI_SCK78, FN_STP_ISCLK_0_B, FN_GLO_SS,
  179. FN_SSI_WS78, FN_TX0_D, FN_STP_ISD_0_B, FN_GLO_RFON,
  180. FN_SSI_SDATA7, FN_RX0_D, FN_STP_ISEN_0_B,
  181. FN_SSI_SDATA8, FN_TX1_D, FN_STP_ISSYNC_0_B,
  182. FN_SSI_SCK9, FN_RX1_D, FN_GLO_SCLK_D,
  183. FN_SSI_WS9, FN_TX3_D, FN_CAN0_TX_D, FN_GLO_SDATA_D,
  184. FN_SSI_SDATA9, FN_RX3_D, FN_CAN0_RX_D,
  185. /* IPSR6 */
  186. FN_AUDIO_CLKB, FN_STP_OPWM_0_B, FN_MSIOF1_SCK_B,
  187. FN_SCIF_CLK, FN_BPFCLK_E,
  188. FN_AUDIO_CLKC, FN_SCIFB0_SCK_C, FN_MSIOF1_SYNC_B, FN_RX2,
  189. FN_SCIFA2_RXD, FN_FMIN_E,
  190. FN_AUDIO_CLKOUT, FN_MSIOF1_SS1_B, FN_TX2, FN_SCIFA2_TXD,
  191. FN_IRQ0, FN_SCIFB1_RXD_D, FN_INTC_IRQ0_N,
  192. FN_IRQ1, FN_SCIFB1_SCK_C, FN_INTC_IRQ1_N,
  193. FN_IRQ2, FN_SCIFB1_TXD_D, FN_INTC_IRQ2_N,
  194. FN_IRQ3, FN_SCL4_C, FN_MSIOF2_TXD_E, FN_INTC_IRQ3_N,
  195. FN_IRQ4, FN_HRX1_C, FN_SDA4_C, FN_MSIOF2_RXD_E, FN_INTC_IRQ4_N,
  196. FN_IRQ5, FN_HTX1_C, FN_SCL1_E, FN_MSIOF2_SCK_E,
  197. FN_IRQ6, FN_HSCK1_C, FN_MSIOF1_SS2_B, FN_SDA1_E, FN_MSIOF2_SYNC_E,
  198. FN_IRQ7, FN_HCTS1_N_C, FN_MSIOF1_TXD_B, FN_GPS_CLK_C, FN_GPS_CLK_D,
  199. FN_IRQ8, FN_HRTS1_N_C, FN_MSIOF1_RXD_B, FN_GPS_SIGN_C, FN_GPS_SIGN_D,
  200. /* IPSR7 */
  201. FN_IRQ9, FN_DU1_DOTCLKIN_B, FN_CAN_CLK_D, FN_GPS_MAG_C,
  202. FN_SCIF_CLK_B, FN_GPS_MAG_D,
  203. FN_DU1_DR0, FN_LCDOUT0, FN_VI1_DATA0_B, FN_TX0_B,
  204. FN_SCIFA0_TXD_B, FN_MSIOF2_SCK_B,
  205. FN_DU1_DR1, FN_LCDOUT1, FN_VI1_DATA1_B, FN_RX0_B,
  206. FN_SCIFA0_RXD_B, FN_MSIOF2_SYNC_B,
  207. FN_DU1_DR2, FN_LCDOUT2, FN_SSI_SCK0129_B,
  208. FN_DU1_DR3, FN_LCDOUT3, FN_SSI_WS0129_B,
  209. FN_DU1_DR4, FN_LCDOUT4, FN_SSI_SDATA0_B,
  210. FN_DU1_DR5, FN_LCDOUT5, FN_SSI_SCK1_B,
  211. FN_DU1_DR6, FN_LCDOUT6, FN_SSI_WS1_B,
  212. FN_DU1_DR7, FN_LCDOUT7, FN_SSI_SDATA1_B,
  213. FN_DU1_DG0, FN_LCDOUT8, FN_VI1_DATA2_B, FN_TX1_B,
  214. FN_SCIFA1_TXD_B, FN_MSIOF2_SS1_B,
  215. FN_DU1_DG1, FN_LCDOUT9, FN_VI1_DATA3_B, FN_RX1_B,
  216. FN_SCIFA1_RXD_B, FN_MSIOF2_SS2_B,
  217. FN_DU1_DG2, FN_LCDOUT10, FN_VI1_DATA4_B, FN_SCIF1_SCK_B,
  218. FN_SCIFA1_SCK, FN_SSI_SCK78_B,
  219. /* IPSR8 */
  220. FN_DU1_DG3, FN_LCDOUT11, FN_VI1_DATA5_B, FN_SSI_WS78_B,
  221. FN_DU1_DG4, FN_LCDOUT12, FN_VI1_DATA6_B, FN_HRX0_B,
  222. FN_SCIFB2_RXD_B, FN_SSI_SDATA7_B,
  223. FN_DU1_DG5, FN_LCDOUT13, FN_VI1_DATA7_B, FN_HCTS0_N_B,
  224. FN_SCIFB2_TXD_B, FN_SSI_SDATA8_B,
  225. FN_DU1_DG6, FN_LCDOUT14, FN_HRTS0_N_B,
  226. FN_SCIFB2_CTS_N_B, FN_SSI_SCK9_B,
  227. FN_DU1_DG7, FN_LCDOUT15, FN_HTX0_B, FN_SCIFB2_RTS_N_B, FN_SSI_WS9_B,
  228. FN_DU1_DB0, FN_LCDOUT16, FN_VI1_CLK_B, FN_TX2_B,
  229. FN_SCIFA2_TXD_B, FN_MSIOF2_TXD_B,
  230. FN_DU1_DB1, FN_LCDOUT17, FN_VI1_HSYNC_N_B, FN_RX2_B,
  231. FN_SCIFA2_RXD_B, FN_MSIOF2_RXD_B,
  232. FN_DU1_DB2, FN_LCDOUT18, FN_VI1_VSYNC_N_B, FN_SCIF2_SCK_B,
  233. FN_SCIFA2_SCK, FN_SSI_SDATA9_B,
  234. FN_DU1_DB3, FN_LCDOUT19, FN_VI1_CLKENB_B,
  235. FN_DU1_DB4, FN_LCDOUT20, FN_VI1_FIELD_B, FN_CAN1_RX,
  236. FN_DU1_DB5, FN_LCDOUT21, FN_TX3, FN_SCIFA3_TXD, FN_CAN1_TX,
  237. /* IPSR9 */
  238. FN_DU1_DB6, FN_LCDOUT22, FN_SCL3_C, FN_RX3, FN_SCIFA3_RXD,
  239. FN_DU1_DB7, FN_LCDOUT23, FN_SDA3_C, FN_SCIF3_SCK, FN_SCIFA3_SCK,
  240. FN_DU1_DOTCLKIN, FN_QSTVA_QVS,
  241. FN_DU1_DOTCLKOUT0, FN_QCLK,
  242. FN_DU1_DOTCLKOUT1, FN_QSTVB_QVE, FN_CAN0_TX,
  243. FN_TX3_B, FN_SCL2_B, FN_PWM4,
  244. FN_DU1_EXHSYNC_DU1_HSYNC, FN_QSTH_QHS,
  245. FN_DU1_EXVSYNC_DU1_VSYNC, FN_QSTB_QHE,
  246. FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_QCPV_QDE,
  247. FN_CAN0_RX, FN_RX3_B, FN_SDA2_B,
  248. FN_DU1_DISP, FN_QPOLA,
  249. FN_DU1_CDE, FN_QPOLB, FN_PWM4_B,
  250. FN_VI0_CLKENB, FN_TX4, FN_SCIFA4_TXD, FN_TS_SDATA0_D,
  251. FN_VI0_FIELD, FN_RX4, FN_SCIFA4_RXD, FN_TS_SCK0_D,
  252. FN_VI0_HSYNC_N, FN_TX5, FN_SCIFA5_TXD, FN_TS_SDEN0_D,
  253. FN_VI0_VSYNC_N, FN_RX5, FN_SCIFA5_RXD, FN_TS_SPSYNC0_D,
  254. FN_VI0_DATA3_VI0_B3, FN_SCIF3_SCK_B, FN_SCIFA3_SCK_B,
  255. FN_VI0_G0, FN_SCL8, FN_STP_IVCXO27_0_C, FN_SCL4,
  256. FN_HCTS2_N, FN_SCIFB2_CTS_N, FN_ATAWR1_N,
  257. /* IPSR10 */
  258. FN_VI0_G1, FN_SDA8, FN_STP_ISCLK_0_C, FN_SDA4,
  259. FN_HRTS2_N, FN_SCIFB2_RTS_N, FN_ATADIR1_N,
  260. FN_VI0_G2, FN_VI2_HSYNC_N, FN_STP_ISD_0_C, FN_SCL3_B,
  261. FN_HSCK2, FN_SCIFB2_SCK, FN_ATARD1_N,
  262. FN_VI0_G3, FN_VI2_VSYNC_N, FN_STP_ISEN_0_C, FN_SDA3_B,
  263. FN_HRX2, FN_SCIFB2_RXD, FN_ATACS01_N,
  264. FN_VI0_G4, FN_VI2_CLKENB, FN_STP_ISSYNC_0_C,
  265. FN_HTX2, FN_SCIFB2_TXD, FN_SCIFB0_SCK_D,
  266. FN_VI0_G5, FN_VI2_FIELD, FN_STP_OPWM_0_C, FN_FMCLK_D,
  267. FN_CAN0_TX_E, FN_HTX1_D, FN_SCIFB0_TXD_D,
  268. FN_VI0_G6, FN_VI2_CLK, FN_BPFCLK_D,
  269. FN_VI0_G7, FN_VI2_DATA0, FN_FMIN_D,
  270. FN_VI0_R0, FN_VI2_DATA1, FN_GLO_I0_B,
  271. FN_TS_SDATA0_C, FN_ATACS11_N,
  272. FN_VI0_R1, FN_VI2_DATA2, FN_GLO_I1_B,
  273. FN_TS_SCK0_C, FN_ATAG1_N,
  274. FN_VI0_R2, FN_VI2_DATA3, FN_GLO_Q0_B, FN_TS_SDEN0_C,
  275. FN_VI0_R3, FN_VI2_DATA4, FN_GLO_Q1_B, FN_TS_SPSYNC0_C,
  276. FN_VI0_R4, FN_VI2_DATA5, FN_GLO_SCLK_B, FN_TX0_C, FN_SCL1_D,
  277. /* IPSR11 */
  278. FN_VI0_R5, FN_VI2_DATA6, FN_GLO_SDATA_B, FN_RX0_C, FN_SDA1_D,
  279. FN_VI0_R6, FN_VI2_DATA7, FN_GLO_SS_B, FN_TX1_C, FN_SCL4_B,
  280. FN_VI0_R7, FN_GLO_RFON_B, FN_RX1_C, FN_CAN0_RX_E,
  281. FN_SDA4_B, FN_HRX1_D, FN_SCIFB0_RXD_D,
  282. FN_VI1_HSYNC_N, FN_AVB_RXD0, FN_TS_SDATA0_B, FN_TX4_B, FN_SCIFA4_TXD_B,
  283. FN_VI1_VSYNC_N, FN_AVB_RXD1, FN_TS_SCK0_B, FN_RX4_B, FN_SCIFA4_RXD_B,
  284. FN_VI1_CLKENB, FN_AVB_RXD2, FN_TS_SDEN0_B,
  285. FN_VI1_FIELD, FN_AVB_RXD3, FN_TS_SPSYNC0_B,
  286. FN_VI1_CLK, FN_AVB_RXD4, FN_VI1_DATA0, FN_AVB_RXD5,
  287. FN_VI1_DATA1, FN_AVB_RXD6, FN_VI1_DATA2, FN_AVB_RXD7,
  288. FN_VI1_DATA3, FN_AVB_RX_ER, FN_VI1_DATA4, FN_AVB_MDIO,
  289. FN_VI1_DATA5, FN_AVB_RX_DV, FN_VI1_DATA6, FN_AVB_MAGIC,
  290. FN_VI1_DATA7, FN_AVB_MDC,
  291. FN_ETH_MDIO, FN_AVB_RX_CLK, FN_SCL2_C,
  292. FN_ETH_CRS_DV, FN_AVB_LINK, FN_SDA2_C,
  293. /* IPSR12 */
  294. FN_ETH_RX_ER, FN_AVB_CRS, FN_SCL3, FN_SCL7,
  295. FN_ETH_RXD0, FN_AVB_PHY_INT, FN_SDA3, FN_SDA7,
  296. FN_ETH_RXD1, FN_AVB_GTXREFCLK, FN_CAN0_TX_C,
  297. FN_SCL2_D, FN_MSIOF1_RXD_E,
  298. FN_ETH_LINK, FN_AVB_TXD0, FN_CAN0_RX_C, FN_SDA2_D, FN_MSIOF1_SCK_E,
  299. FN_ETH_REFCLK, FN_AVB_TXD1, FN_SCIFA3_RXD_B,
  300. FN_CAN1_RX_C, FN_MSIOF1_SYNC_E,
  301. FN_ETH_TXD1, FN_AVB_TXD2, FN_SCIFA3_TXD_B,
  302. FN_CAN1_TX_C, FN_MSIOF1_TXD_E,
  303. FN_ETH_TX_EN, FN_AVB_TXD3, FN_TCLK1_B, FN_CAN_CLK_B,
  304. FN_ETH_MAGIC, FN_AVB_TXD4, FN_IETX_C,
  305. FN_ETH_TXD0, FN_AVB_TXD5, FN_IECLK_C,
  306. FN_ETH_MDC, FN_AVB_TXD6, FN_IERX_C,
  307. FN_STP_IVCXO27_0, FN_AVB_TXD7, FN_SCIFB2_TXD_D,
  308. FN_ADIDATA_B, FN_MSIOF0_SYNC_C,
  309. FN_STP_ISCLK_0, FN_AVB_TX_EN, FN_SCIFB2_RXD_D,
  310. FN_ADICS_SAMP_B, FN_MSIOF0_SCK_C,
  311. /* IPSR13 */
  312. FN_STP_ISD_0, FN_AVB_TX_ER, FN_SCIFB2_SCK_C,
  313. FN_ADICLK_B, FN_MSIOF0_SS1_C,
  314. FN_STP_ISEN_0, FN_AVB_TX_CLK, FN_ADICHS0_B, FN_MSIOF0_SS2_C,
  315. FN_STP_ISSYNC_0, FN_AVB_COL, FN_ADICHS1_B, FN_MSIOF0_RXD_C,
  316. FN_STP_OPWM_0, FN_AVB_GTX_CLK, FN_PWM0_B,
  317. FN_ADICHS2_B, FN_MSIOF0_TXD_C,
  318. FN_SD0_CLK, FN_SPCLK_B, FN_SD0_CMD, FN_MOSI_IO0_B,
  319. FN_SD0_DATA0, FN_MISO_IO1_B, FN_SD0_DATA1, FN_IO2_B,
  320. FN_SD0_DATA2, FN_IO3_B, FN_SD0_DATA3, FN_SSL_B,
  321. FN_SD0_CD, FN_MMC_D6_B, FN_SIM0_RST_B, FN_CAN0_RX_F,
  322. FN_SCIFA5_TXD_B, FN_TX3_C,
  323. FN_SD0_WP, FN_MMC_D7_B, FN_SIM0_D_B, FN_CAN0_TX_F,
  324. FN_SCIFA5_RXD_B, FN_RX3_C,
  325. FN_SD1_CMD, FN_REMOCON_B, FN_SD1_DATA0, FN_SPEEDIN_B,
  326. FN_SD1_DATA1, FN_IETX_B, FN_SD1_DATA2, FN_IECLK_B,
  327. FN_SD1_DATA3, FN_IERX_B,
  328. FN_SD1_CD, FN_PWM0, FN_TPU_TO0, FN_SCL1_C,
  329. /* IPSR14 */
  330. FN_SD1_WP, FN_PWM1_B, FN_SDA1_C,
  331. FN_SD2_CLK, FN_MMC_CLK, FN_SD2_CMD, FN_MMC_CMD,
  332. FN_SD2_DATA0, FN_MMC_D0, FN_SD2_DATA1, FN_MMC_D1,
  333. FN_SD2_DATA2, FN_MMC_D2, FN_SD2_DATA3, FN_MMC_D3,
  334. FN_SD2_CD, FN_MMC_D4, FN_SCL8_C, FN_TX5_B, FN_SCIFA5_TXD_C,
  335. FN_SD2_WP, FN_MMC_D5, FN_SDA8_C, FN_RX5_B, FN_SCIFA5_RXD_C,
  336. FN_MSIOF0_SCK, FN_RX2_C, FN_ADIDATA, FN_VI1_CLK_C, FN_VI1_G0_B,
  337. FN_MSIOF0_SYNC, FN_TX2_C, FN_ADICS_SAMP, FN_VI1_CLKENB_C, FN_VI1_G1_B,
  338. FN_MSIOF0_TXD, FN_ADICLK, FN_VI1_FIELD_C, FN_VI1_G2_B,
  339. FN_MSIOF0_RXD, FN_ADICHS0, FN_VI1_DATA0_C, FN_VI1_G3_B,
  340. FN_MSIOF0_SS1, FN_MMC_D6, FN_ADICHS1, FN_TX0_E,
  341. FN_VI1_HSYNC_N_C, FN_SCL7_C, FN_VI1_G4_B,
  342. FN_MSIOF0_SS2, FN_MMC_D7, FN_ADICHS2, FN_RX0_E,
  343. FN_VI1_VSYNC_N_C, FN_SDA7_C, FN_VI1_G5_B,
  344. /* IPSR15 */
  345. FN_SIM0_RST, FN_IETX, FN_CAN1_TX_D,
  346. FN_SIM0_CLK, FN_IECLK, FN_CAN_CLK_C,
  347. FN_SIM0_D, FN_IERX, FN_CAN1_RX_D,
  348. FN_GPS_CLK, FN_DU1_DOTCLKIN_C, FN_AUDIO_CLKB_B,
  349. FN_PWM5_B, FN_SCIFA3_TXD_C,
  350. FN_GPS_SIGN, FN_TX4_C, FN_SCIFA4_TXD_C, FN_PWM5,
  351. FN_VI1_G6_B, FN_SCIFA3_RXD_C,
  352. FN_GPS_MAG, FN_RX4_C, FN_SCIFA4_RXD_C, FN_PWM6,
  353. FN_VI1_G7_B, FN_SCIFA3_SCK_C,
  354. FN_HCTS0_N, FN_SCIFB0_CTS_N, FN_GLO_I0_C, FN_TCLK1, FN_VI1_DATA1_C,
  355. FN_HRTS0_N, FN_SCIFB0_RTS_N, FN_GLO_I1_C, FN_VI1_DATA2_C,
  356. FN_HSCK0, FN_SCIFB0_SCK, FN_GLO_Q0_C, FN_CAN_CLK,
  357. FN_TCLK2, FN_VI1_DATA3_C,
  358. FN_HRX0, FN_SCIFB0_RXD, FN_GLO_Q1_C, FN_CAN0_RX_B, FN_VI1_DATA4_C,
  359. FN_HTX0, FN_SCIFB0_TXD, FN_GLO_SCLK_C, FN_CAN0_TX_B, FN_VI1_DATA5_C,
  360. /* IPSR16 */
  361. FN_HRX1, FN_SCIFB1_RXD, FN_VI1_R0_B, FN_GLO_SDATA_C, FN_VI1_DATA6_C,
  362. FN_HTX1, FN_SCIFB1_TXD, FN_VI1_R1_B, FN_GLO_SS_C, FN_VI1_DATA7_C,
  363. FN_HSCK1, FN_SCIFB1_SCK, FN_MLB_CLK, FN_GLO_RFON_C,
  364. FN_HCTS1_N, FN_SCIFB1_CTS_N, FN_MLB_SIG, FN_CAN1_TX_B,
  365. FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,
  366. /* MOD_SEL */
  367. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
  368. FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, FN_SEL_SCIFB_3,
  369. FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2, FN_SEL_SCIFB2_3,
  370. FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
  371. FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2,
  372. FN_SEL_SSI9_0, FN_SEL_SSI9_1,
  373. FN_SEL_SCFA_0, FN_SEL_SCFA_1,
  374. FN_SEL_QSP_0, FN_SEL_QSP_1,
  375. FN_SEL_SSI7_0, FN_SEL_SSI7_1,
  376. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_HSCIF1_2, FN_SEL_HSCIF1_3,
  377. FN_SEL_HSCIF1_4,
  378. FN_SEL_VI1_0, FN_SEL_VI1_1, FN_SEL_VI1_2,
  379. FN_SEL_TMU1_0, FN_SEL_TMU1_1,
  380. FN_SEL_LBS_0, FN_SEL_LBS_1, FN_SEL_LBS_2, FN_SEL_LBS_3,
  381. FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
  382. FN_SEL_SOF0_0, FN_SEL_SOF0_1, FN_SEL_SOF0_2,
  383. /* MOD_SEL2 */
  384. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
  385. FN_SEL_SCIF0_4,
  386. FN_SEL_SCIF_0, FN_SEL_SCIF_1,
  387. FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
  388. FN_SEL_CAN0_4, FN_SEL_CAN0_5,
  389. FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
  390. FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
  391. FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2,
  392. FN_SEL_ADG_0, FN_SEL_ADG_1,
  393. FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3, FN_SEL_FM_4,
  394. FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2,
  395. FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
  396. FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2,
  397. FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA3_2,
  398. FN_SEL_SIM_0, FN_SEL_SIM_1,
  399. FN_SEL_SSI8_0, FN_SEL_SSI8_1,
  400. /* MOD_SEL3 */
  401. FN_SEL_HSCIF2_0, FN_SEL_HSCIF2_1, FN_SEL_HSCIF2_2, FN_SEL_HSCIF2_3,
  402. FN_SEL_CANCLK_0, FN_SEL_CANCLK_1, FN_SEL_CANCLK_2, FN_SEL_CANCLK_3,
  403. FN_SEL_IIC8_0, FN_SEL_IIC8_1, FN_SEL_IIC8_2,
  404. FN_SEL_IIC7_0, FN_SEL_IIC7_1, FN_SEL_IIC7_2,
  405. FN_SEL_IIC4_0, FN_SEL_IIC4_1, FN_SEL_IIC4_2,
  406. FN_SEL_IIC3_0, FN_SEL_IIC3_1, FN_SEL_IIC3_2, FN_SEL_IIC3_3,
  407. FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
  408. FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2,
  409. FN_SEL_MMC_0, FN_SEL_MMC_1,
  410. FN_SEL_SCIF5_0, FN_SEL_SCIF5_1,
  411. FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
  412. FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, FN_SEL_IIC1_3,
  413. FN_SEL_IIC1_4,
  414. FN_SEL_IIC0_0, FN_SEL_IIC0_1, FN_SEL_IIC0_2,
  415. /* MOD_SEL4 */
  416. FN_SEL_SOF1_0, FN_SEL_SOF1_1, FN_SEL_SOF1_2, FN_SEL_SOF1_3,
  417. FN_SEL_SOF1_4,
  418. FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2,
  419. FN_SEL_DIS_0, FN_SEL_DIS_1, FN_SEL_DIS_2,
  420. FN_SEL_RAD_0, FN_SEL_RAD_1,
  421. FN_SEL_RCN_0, FN_SEL_RCN_1,
  422. FN_SEL_RSP_0, FN_SEL_RSP_1,
  423. FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, FN_SEL_SCIF2_3,
  424. FN_SEL_SCIF2_4,
  425. FN_SEL_SOF2_0, FN_SEL_SOF2_1, FN_SEL_SOF2_2, FN_SEL_SOF2_3,
  426. FN_SEL_SOF2_4,
  427. FN_SEL_SSI1_0, FN_SEL_SSI1_1,
  428. FN_SEL_SSI0_0, FN_SEL_SSI0_1,
  429. FN_SEL_SSP_0, FN_SEL_SSP_1, FN_SEL_SSP_2,
  430. PINMUX_FUNCTION_END,
  431. PINMUX_MARK_BEGIN,
  432. EX_CS0_N_MARK, RD_N_MARK,
  433. AUDIO_CLKA_MARK,
  434. VI0_CLK_MARK, VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
  435. VI0_DATA2_VI0_B2_MARK, VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
  436. VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
  437. SD1_CLK_MARK,
  438. USB0_PWEN_MARK, USB0_OVC_MARK, USB1_PWEN_MARK, USB1_OVC_MARK,
  439. DU0_DOTCLKIN_MARK,
  440. /* IPSR0 */
  441. D0_MARK, D1_MARK, D2_MARK, D3_MARK, D4_MARK, D5_MARK,
  442. D6_MARK, D7_MARK, D8_MARK,
  443. D9_MARK, D10_MARK, D11_MARK, D12_MARK, D13_MARK, D14_MARK, D15_MARK,
  444. A0_MARK, ATAWR0_N_C_MARK, MSIOF0_SCK_B_MARK, SCL0_C_MARK, PWM2_B_MARK,
  445. A1_MARK, MSIOF0_SYNC_B_MARK, A2_MARK, MSIOF0_SS1_B_MARK,
  446. A3_MARK, MSIOF0_SS2_B_MARK, A4_MARK, MSIOF0_TXD_B_MARK,
  447. A5_MARK, MSIOF0_RXD_B_MARK, A6_MARK, MSIOF1_SCK_MARK,
  448. /* IPSR1 */
  449. A7_MARK, MSIOF1_SYNC_MARK, A8_MARK, MSIOF1_SS1_MARK, SCL0_MARK,
  450. A9_MARK, MSIOF1_SS2_MARK, SDA0_MARK,
  451. A10_MARK, MSIOF1_TXD_MARK, MSIOF1_TXD_D_MARK,
  452. A11_MARK, MSIOF1_RXD_MARK, SCL3_D_MARK, MSIOF1_RXD_D_MARK,
  453. A12_MARK, FMCLK_MARK, SDA3_D_MARK, MSIOF1_SCK_D_MARK,
  454. A13_MARK, ATAG0_N_C_MARK, BPFCLK_MARK, MSIOF1_SS1_D_MARK,
  455. A14_MARK, ATADIR0_N_C_MARK, FMIN_MARK, FMIN_C_MARK, MSIOF1_SYNC_D_MARK,
  456. A15_MARK, BPFCLK_C_MARK,
  457. A16_MARK, DREQ2_B_MARK, FMCLK_C_MARK, SCIFA1_SCK_B_MARK,
  458. A17_MARK, DACK2_B_MARK, SDA0_C_MARK,
  459. A18_MARK, DREQ1_MARK, SCIFA1_RXD_C_MARK, SCIFB1_RXD_C_MARK,
  460. /* IPSR2 */
  461. A19_MARK, DACK1_MARK, SCIFA1_TXD_C_MARK,
  462. SCIFB1_TXD_C_MARK, SCIFB1_SCK_B_MARK,
  463. A20_MARK, SPCLK_MARK,
  464. A21_MARK, ATAWR0_N_B_MARK, MOSI_IO0_MARK,
  465. A22_MARK, MISO_IO1_MARK, FMCLK_B_MARK, TX0_MARK, SCIFA0_TXD_MARK,
  466. A23_MARK, IO2_MARK, BPFCLK_B_MARK, RX0_MARK, SCIFA0_RXD_MARK,
  467. A24_MARK, DREQ2_MARK, IO3_MARK, TX1_MARK, SCIFA1_TXD_MARK,
  468. A25_MARK, DACK2_MARK, SSL_MARK, DREQ1_C_MARK,
  469. RX1_MARK, SCIFA1_RXD_MARK,
  470. CS0_N_MARK, ATAG0_N_B_MARK, SCL1_MARK,
  471. CS1_N_A26_MARK, ATADIR0_N_B_MARK, SDA1_MARK,
  472. EX_CS1_N_MARK, MSIOF2_SCK_MARK,
  473. EX_CS2_N_MARK, ATAWR0_N_MARK, MSIOF2_SYNC_MARK,
  474. EX_CS3_N_MARK, ATADIR0_N_MARK, MSIOF2_TXD_MARK,
  475. ATAG0_N_MARK, EX_WAIT1_MARK,
  476. /* IPSR3 */
  477. EX_CS4_N_MARK, ATARD0_N_MARK, MSIOF2_RXD_MARK, EX_WAIT2_MARK,
  478. EX_CS5_N_MARK, ATACS00_N_MARK, MSIOF2_SS1_MARK, HRX1_B_MARK,
  479. SCIFB1_RXD_B_MARK, PWM1_MARK, TPU_TO1_MARK,
  480. BS_N_MARK, ATACS10_N_MARK, MSIOF2_SS2_MARK, HTX1_B_MARK,
  481. SCIFB1_TXD_B_MARK, PWM2_MARK, TPU_TO2_MARK,
  482. RD_WR_N_MARK, HRX2_B_MARK, FMIN_B_MARK,
  483. SCIFB0_RXD_B_MARK, DREQ1_D_MARK,
  484. WE0_N_MARK, HCTS2_N_B_MARK, SCIFB0_TXD_B_MARK,
  485. WE1_N_MARK, ATARD0_N_B_MARK, HTX2_B_MARK, SCIFB0_RTS_N_B_MARK,
  486. EX_WAIT0_MARK, HRTS2_N_B_MARK, SCIFB0_CTS_N_B_MARK,
  487. DREQ0_MARK, PWM3_MARK, TPU_TO3_MARK,
  488. DACK0_MARK, DRACK0_MARK, REMOCON_MARK,
  489. SPEEDIN_MARK, HSCK0_C_MARK, HSCK2_C_MARK, SCIFB0_SCK_B_MARK,
  490. SCIFB2_SCK_B_MARK, DREQ2_C_MARK, HTX2_D_MARK,
  491. SSI_SCK0129_MARK, HRX0_C_MARK, HRX2_C_MARK,
  492. SCIFB0_RXD_C_MARK, SCIFB2_RXD_C_MARK,
  493. SSI_WS0129_MARK, HTX0_C_MARK, HTX2_C_MARK,
  494. SCIFB0_TXD_C_MARK, SCIFB2_TXD_C_MARK,
  495. /* IPSR4 */
  496. SSI_SDATA0_MARK, SCL0_B_MARK, SCL7_B_MARK, MSIOF2_SCK_C_MARK,
  497. SSI_SCK1_MARK, SDA0_B_MARK, SDA7_B_MARK,
  498. MSIOF2_SYNC_C_MARK, GLO_I0_D_MARK,
  499. SSI_WS1_MARK, SCL1_B_MARK, SCL8_B_MARK,
  500. MSIOF2_TXD_C_MARK, GLO_I1_D_MARK,
  501. SSI_SDATA1_MARK, SDA1_B_MARK, SDA8_B_MARK, MSIOF2_RXD_C_MARK,
  502. SSI_SCK2_MARK, SCL2_MARK, GPS_CLK_B_MARK, GLO_Q0_D_MARK, HSCK1_E_MARK,
  503. SSI_WS2_MARK, SDA2_MARK, GPS_SIGN_B_MARK, RX2_E_MARK,
  504. GLO_Q1_D_MARK, HCTS1_N_E_MARK,
  505. SSI_SDATA2_MARK, GPS_MAG_B_MARK, TX2_E_MARK, HRTS1_N_E_MARK,
  506. SSI_SCK34_MARK, SSI_WS34_MARK, SSI_SDATA3_MARK,
  507. SSI_SCK4_MARK, GLO_SS_D_MARK,
  508. SSI_WS4_MARK, GLO_RFON_D_MARK,
  509. SSI_SDATA4_MARK, MSIOF2_SCK_D_MARK,
  510. SSI_SCK5_MARK, MSIOF1_SCK_C_MARK, TS_SDATA0_MARK, GLO_I0_MARK,
  511. MSIOF2_SYNC_D_MARK, VI1_R2_B_MARK,
  512. /* IPSR5 */
  513. SSI_WS5_MARK, MSIOF1_SYNC_C_MARK, TS_SCK0_MARK, GLO_I1_MARK,
  514. MSIOF2_TXD_D_MARK, VI1_R3_B_MARK,
  515. SSI_SDATA5_MARK, MSIOF1_TXD_C_MARK, TS_SDEN0_MARK, GLO_Q0_MARK,
  516. MSIOF2_SS1_D_MARK, VI1_R4_B_MARK,
  517. SSI_SCK6_MARK, MSIOF1_RXD_C_MARK, TS_SPSYNC0_MARK, GLO_Q1_MARK,
  518. MSIOF2_RXD_D_MARK, VI1_R5_B_MARK,
  519. SSI_WS6_MARK, GLO_SCLK_MARK, MSIOF2_SS2_D_MARK, VI1_R6_B_MARK,
  520. SSI_SDATA6_MARK, STP_IVCXO27_0_B_MARK, GLO_SDATA_MARK, VI1_R7_B_MARK,
  521. SSI_SCK78_MARK, STP_ISCLK_0_B_MARK, GLO_SS_MARK,
  522. SSI_WS78_MARK, TX0_D_MARK, STP_ISD_0_B_MARK, GLO_RFON_MARK,
  523. SSI_SDATA7_MARK, RX0_D_MARK, STP_ISEN_0_B_MARK,
  524. SSI_SDATA8_MARK, TX1_D_MARK, STP_ISSYNC_0_B_MARK,
  525. SSI_SCK9_MARK, RX1_D_MARK, GLO_SCLK_D_MARK,
  526. SSI_WS9_MARK, TX3_D_MARK, CAN0_TX_D_MARK, GLO_SDATA_D_MARK,
  527. SSI_SDATA9_MARK, RX3_D_MARK, CAN0_RX_D_MARK,
  528. /* IPSR6 */
  529. AUDIO_CLKB_MARK, STP_OPWM_0_B_MARK, MSIOF1_SCK_B_MARK,
  530. SCIF_CLK_MARK, BPFCLK_E_MARK,
  531. AUDIO_CLKC_MARK, SCIFB0_SCK_C_MARK, MSIOF1_SYNC_B_MARK, RX2_MARK,
  532. SCIFA2_RXD_MARK, FMIN_E_MARK,
  533. AUDIO_CLKOUT_MARK, MSIOF1_SS1_B_MARK, TX2_MARK, SCIFA2_TXD_MARK,
  534. IRQ0_MARK, SCIFB1_RXD_D_MARK, INTC_IRQ0_N_MARK,
  535. IRQ1_MARK, SCIFB1_SCK_C_MARK, INTC_IRQ1_N_MARK,
  536. IRQ2_MARK, SCIFB1_TXD_D_MARK, INTC_IRQ2_N_MARK,
  537. IRQ3_MARK, SCL4_C_MARK, MSIOF2_TXD_E_MARK, INTC_IRQ3_N_MARK,
  538. IRQ4_MARK, HRX1_C_MARK, SDA4_C_MARK,
  539. MSIOF2_RXD_E_MARK, INTC_IRQ4_N_MARK,
  540. IRQ5_MARK, HTX1_C_MARK, SCL1_E_MARK, MSIOF2_SCK_E_MARK,
  541. IRQ6_MARK, HSCK1_C_MARK, MSIOF1_SS2_B_MARK,
  542. SDA1_E_MARK, MSIOF2_SYNC_E_MARK,
  543. IRQ7_MARK, HCTS1_N_C_MARK, MSIOF1_TXD_B_MARK,
  544. GPS_CLK_C_MARK, GPS_CLK_D_MARK,
  545. IRQ8_MARK, HRTS1_N_C_MARK, MSIOF1_RXD_B_MARK,
  546. GPS_SIGN_C_MARK, GPS_SIGN_D_MARK,
  547. /* IPSR7 */
  548. IRQ9_MARK, DU1_DOTCLKIN_B_MARK, CAN_CLK_D_MARK, GPS_MAG_C_MARK,
  549. SCIF_CLK_B_MARK, GPS_MAG_D_MARK,
  550. DU1_DR0_MARK, LCDOUT0_MARK, VI1_DATA0_B_MARK, TX0_B_MARK,
  551. SCIFA0_TXD_B_MARK, MSIOF2_SCK_B_MARK,
  552. DU1_DR1_MARK, LCDOUT1_MARK, VI1_DATA1_B_MARK, RX0_B_MARK,
  553. SCIFA0_RXD_B_MARK, MSIOF2_SYNC_B_MARK,
  554. DU1_DR2_MARK, LCDOUT2_MARK, SSI_SCK0129_B_MARK,
  555. DU1_DR3_MARK, LCDOUT3_MARK, SSI_WS0129_B_MARK,
  556. DU1_DR4_MARK, LCDOUT4_MARK, SSI_SDATA0_B_MARK,
  557. DU1_DR5_MARK, LCDOUT5_MARK, SSI_SCK1_B_MARK,
  558. DU1_DR6_MARK, LCDOUT6_MARK, SSI_WS1_B_MARK,
  559. DU1_DR7_MARK, LCDOUT7_MARK, SSI_SDATA1_B_MARK,
  560. DU1_DG0_MARK, LCDOUT8_MARK, VI1_DATA2_B_MARK, TX1_B_MARK,
  561. SCIFA1_TXD_B_MARK, MSIOF2_SS1_B_MARK,
  562. DU1_DG1_MARK, LCDOUT9_MARK, VI1_DATA3_B_MARK, RX1_B_MARK,
  563. SCIFA1_RXD_B_MARK, MSIOF2_SS2_B_MARK,
  564. DU1_DG2_MARK, LCDOUT10_MARK, VI1_DATA4_B_MARK, SCIF1_SCK_B_MARK,
  565. SCIFA1_SCK_MARK, SSI_SCK78_B_MARK,
  566. /* IPSR8 */
  567. DU1_DG3_MARK, LCDOUT11_MARK, VI1_DATA5_B_MARK, SSI_WS78_B_MARK,
  568. DU1_DG4_MARK, LCDOUT12_MARK, VI1_DATA6_B_MARK, HRX0_B_MARK,
  569. SCIFB2_RXD_B_MARK, SSI_SDATA7_B_MARK,
  570. DU1_DG5_MARK, LCDOUT13_MARK, VI1_DATA7_B_MARK, HCTS0_N_B_MARK,
  571. SCIFB2_TXD_B_MARK, SSI_SDATA8_B_MARK,
  572. DU1_DG6_MARK, LCDOUT14_MARK, HRTS0_N_B_MARK,
  573. SCIFB2_CTS_N_B_MARK, SSI_SCK9_B_MARK,
  574. DU1_DG7_MARK, LCDOUT15_MARK, HTX0_B_MARK,
  575. SCIFB2_RTS_N_B_MARK, SSI_WS9_B_MARK,
  576. DU1_DB0_MARK, LCDOUT16_MARK, VI1_CLK_B_MARK, TX2_B_MARK,
  577. SCIFA2_TXD_B_MARK, MSIOF2_TXD_B_MARK,
  578. DU1_DB1_MARK, LCDOUT17_MARK, VI1_HSYNC_N_B_MARK, RX2_B_MARK,
  579. SCIFA2_RXD_B_MARK, MSIOF2_RXD_B_MARK,
  580. DU1_DB2_MARK, LCDOUT18_MARK, VI1_VSYNC_N_B_MARK, SCIF2_SCK_B_MARK,
  581. SCIFA2_SCK_MARK, SSI_SDATA9_B_MARK,
  582. DU1_DB3_MARK, LCDOUT19_MARK, VI1_CLKENB_B_MARK,
  583. DU1_DB4_MARK, LCDOUT20_MARK, VI1_FIELD_B_MARK, CAN1_RX_MARK,
  584. DU1_DB5_MARK, LCDOUT21_MARK, TX3_MARK, SCIFA3_TXD_MARK, CAN1_TX_MARK,
  585. /* IPSR9 */
  586. DU1_DB6_MARK, LCDOUT22_MARK, SCL3_C_MARK, RX3_MARK, SCIFA3_RXD_MARK,
  587. DU1_DB7_MARK, LCDOUT23_MARK, SDA3_C_MARK,
  588. SCIF3_SCK_MARK, SCIFA3_SCK_MARK,
  589. DU1_DOTCLKIN_MARK, QSTVA_QVS_MARK,
  590. DU1_DOTCLKOUT0_MARK, QCLK_MARK,
  591. DU1_DOTCLKOUT1_MARK, QSTVB_QVE_MARK, CAN0_TX_MARK,
  592. TX3_B_MARK, SCL2_B_MARK, PWM4_MARK,
  593. DU1_EXHSYNC_DU1_HSYNC_MARK, QSTH_QHS_MARK,
  594. DU1_EXVSYNC_DU1_VSYNC_MARK, QSTB_QHE_MARK,
  595. DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK,
  596. CAN0_RX_MARK, RX3_B_MARK, SDA2_B_MARK,
  597. DU1_DISP_MARK, QPOLA_MARK,
  598. DU1_CDE_MARK, QPOLB_MARK, PWM4_B_MARK,
  599. VI0_CLKENB_MARK, TX4_MARK, SCIFA4_TXD_MARK, TS_SDATA0_D_MARK,
  600. VI0_FIELD_MARK, RX4_MARK, SCIFA4_RXD_MARK, TS_SCK0_D_MARK,
  601. VI0_HSYNC_N_MARK, TX5_MARK, SCIFA5_TXD_MARK, TS_SDEN0_D_MARK,
  602. VI0_VSYNC_N_MARK, RX5_MARK, SCIFA5_RXD_MARK, TS_SPSYNC0_D_MARK,
  603. VI0_DATA3_VI0_B3_MARK, SCIF3_SCK_B_MARK, SCIFA3_SCK_B_MARK,
  604. VI0_G0_MARK, SCL8_MARK, STP_IVCXO27_0_C_MARK, SCL4_MARK,
  605. HCTS2_N_MARK, SCIFB2_CTS_N_MARK, ATAWR1_N_MARK,
  606. /* IPSR10 */
  607. VI0_G1_MARK, SDA8_MARK, STP_ISCLK_0_C_MARK, SDA4_MARK,
  608. HRTS2_N_MARK, SCIFB2_RTS_N_MARK, ATADIR1_N_MARK,
  609. VI0_G2_MARK, VI2_HSYNC_N_MARK, STP_ISD_0_C_MARK, SCL3_B_MARK,
  610. HSCK2_MARK, SCIFB2_SCK_MARK, ATARD1_N_MARK,
  611. VI0_G3_MARK, VI2_VSYNC_N_MARK, STP_ISEN_0_C_MARK, SDA3_B_MARK,
  612. HRX2_MARK, SCIFB2_RXD_MARK, ATACS01_N_MARK,
  613. VI0_G4_MARK, VI2_CLKENB_MARK, STP_ISSYNC_0_C_MARK,
  614. HTX2_MARK, SCIFB2_TXD_MARK, SCIFB0_SCK_D_MARK,
  615. VI0_G5_MARK, VI2_FIELD_MARK, STP_OPWM_0_C_MARK, FMCLK_D_MARK,
  616. CAN0_TX_E_MARK, HTX1_D_MARK, SCIFB0_TXD_D_MARK,
  617. VI0_G6_MARK, VI2_CLK_MARK, BPFCLK_D_MARK,
  618. VI0_G7_MARK, VI2_DATA0_MARK, FMIN_D_MARK,
  619. VI0_R0_MARK, VI2_DATA1_MARK, GLO_I0_B_MARK,
  620. TS_SDATA0_C_MARK, ATACS11_N_MARK,
  621. VI0_R1_MARK, VI2_DATA2_MARK, GLO_I1_B_MARK,
  622. TS_SCK0_C_MARK, ATAG1_N_MARK,
  623. VI0_R2_MARK, VI2_DATA3_MARK, GLO_Q0_B_MARK, TS_SDEN0_C_MARK,
  624. VI0_R3_MARK, VI2_DATA4_MARK, GLO_Q1_B_MARK, TS_SPSYNC0_C_MARK,
  625. VI0_R4_MARK, VI2_DATA5_MARK, GLO_SCLK_B_MARK, TX0_C_MARK, SCL1_D_MARK,
  626. /* IPSR11 */
  627. VI0_R5_MARK, VI2_DATA6_MARK, GLO_SDATA_B_MARK, RX0_C_MARK, SDA1_D_MARK,
  628. VI0_R6_MARK, VI2_DATA7_MARK, GLO_SS_B_MARK, TX1_C_MARK, SCL4_B_MARK,
  629. VI0_R7_MARK, GLO_RFON_B_MARK, RX1_C_MARK, CAN0_RX_E_MARK,
  630. SDA4_B_MARK, HRX1_D_MARK, SCIFB0_RXD_D_MARK,
  631. VI1_HSYNC_N_MARK, AVB_RXD0_MARK, TS_SDATA0_B_MARK,
  632. TX4_B_MARK, SCIFA4_TXD_B_MARK,
  633. VI1_VSYNC_N_MARK, AVB_RXD1_MARK, TS_SCK0_B_MARK,
  634. RX4_B_MARK, SCIFA4_RXD_B_MARK,
  635. VI1_CLKENB_MARK, AVB_RXD2_MARK, TS_SDEN0_B_MARK,
  636. VI1_FIELD_MARK, AVB_RXD3_MARK, TS_SPSYNC0_B_MARK,
  637. VI1_CLK_MARK, AVB_RXD4_MARK, VI1_DATA0_MARK, AVB_RXD5_MARK,
  638. VI1_DATA1_MARK, AVB_RXD6_MARK, VI1_DATA2_MARK, AVB_RXD7_MARK,
  639. VI1_DATA3_MARK, AVB_RX_ER_MARK, VI1_DATA4_MARK, AVB_MDIO_MARK,
  640. VI1_DATA5_MARK, AVB_RX_DV_MARK, VI1_DATA6_MARK, AVB_MAGIC_MARK,
  641. VI1_DATA7_MARK, AVB_MDC_MARK,
  642. ETH_MDIO_MARK, AVB_RX_CLK_MARK, SCL2_C_MARK,
  643. ETH_CRS_DV_MARK, AVB_LINK_MARK, SDA2_C_MARK,
  644. /* IPSR12 */
  645. ETH_RX_ER_MARK, AVB_CRS_MARK, SCL3_MARK, SCL7_MARK,
  646. ETH_RXD0_MARK, AVB_PHY_INT_MARK, SDA3_MARK, SDA7_MARK,
  647. ETH_RXD1_MARK, AVB_GTXREFCLK_MARK, CAN0_TX_C_MARK,
  648. SCL2_D_MARK, MSIOF1_RXD_E_MARK,
  649. ETH_LINK_MARK, AVB_TXD0_MARK, CAN0_RX_C_MARK,
  650. SDA2_D_MARK, MSIOF1_SCK_E_MARK,
  651. ETH_REFCLK_MARK, AVB_TXD1_MARK, SCIFA3_RXD_B_MARK,
  652. CAN1_RX_C_MARK, MSIOF1_SYNC_E_MARK,
  653. ETH_TXD1_MARK, AVB_TXD2_MARK, SCIFA3_TXD_B_MARK,
  654. CAN1_TX_C_MARK, MSIOF1_TXD_E_MARK,
  655. ETH_TX_EN_MARK, AVB_TXD3_MARK, TCLK1_B_MARK, CAN_CLK_B_MARK,
  656. ETH_MAGIC_MARK, AVB_TXD4_MARK, IETX_C_MARK,
  657. ETH_TXD0_MARK, AVB_TXD5_MARK, IECLK_C_MARK,
  658. ETH_MDC_MARK, AVB_TXD6_MARK, IERX_C_MARK,
  659. STP_IVCXO27_0_MARK, AVB_TXD7_MARK, SCIFB2_TXD_D_MARK,
  660. ADIDATA_B_MARK, MSIOF0_SYNC_C_MARK,
  661. STP_ISCLK_0_MARK, AVB_TX_EN_MARK, SCIFB2_RXD_D_MARK,
  662. ADICS_SAMP_B_MARK, MSIOF0_SCK_C_MARK,
  663. /* IPSR13 */
  664. STP_ISD_0_MARK, AVB_TX_ER_MARK, SCIFB2_SCK_C_MARK,
  665. ADICLK_B_MARK, MSIOF0_SS1_C_MARK,
  666. STP_ISEN_0_MARK, AVB_TX_CLK_MARK, ADICHS0_B_MARK, MSIOF0_SS2_C_MARK,
  667. STP_ISSYNC_0_MARK, AVB_COL_MARK, ADICHS1_B_MARK, MSIOF0_RXD_C_MARK,
  668. STP_OPWM_0_MARK, AVB_GTX_CLK_MARK, PWM0_B_MARK,
  669. ADICHS2_B_MARK, MSIOF0_TXD_C_MARK,
  670. SD0_CLK_MARK, SPCLK_B_MARK, SD0_CMD_MARK, MOSI_IO0_B_MARK,
  671. SD0_DATA0_MARK, MISO_IO1_B_MARK, SD0_DATA1_MARK, IO2_B_MARK,
  672. SD0_DATA2_MARK, IO3_B_MARK, SD0_DATA3_MARK, SSL_B_MARK,
  673. SD0_CD_MARK, MMC_D6_B_MARK, SIM0_RST_B_MARK, CAN0_RX_F_MARK,
  674. SCIFA5_TXD_B_MARK, TX3_C_MARK,
  675. SD0_WP_MARK, MMC_D7_B_MARK, SIM0_D_B_MARK, CAN0_TX_F_MARK,
  676. SCIFA5_RXD_B_MARK, RX3_C_MARK,
  677. SD1_CMD_MARK, REMOCON_B_MARK, SD1_DATA0_MARK, SPEEDIN_B_MARK,
  678. SD1_DATA1_MARK, IETX_B_MARK, SD1_DATA2_MARK, IECLK_B_MARK,
  679. SD1_DATA3_MARK, IERX_B_MARK,
  680. SD1_CD_MARK, PWM0_MARK, TPU_TO0_MARK, SCL1_C_MARK,
  681. /* IPSR14 */
  682. SD1_WP_MARK, PWM1_B_MARK, SDA1_C_MARK,
  683. SD2_CLK_MARK, MMC_CLK_MARK, SD2_CMD_MARK, MMC_CMD_MARK,
  684. SD2_DATA0_MARK, MMC_D0_MARK, SD2_DATA1_MARK, MMC_D1_MARK,
  685. SD2_DATA2_MARK, MMC_D2_MARK, SD2_DATA3_MARK, MMC_D3_MARK,
  686. SD2_CD_MARK, MMC_D4_MARK, SCL8_C_MARK, TX5_B_MARK, SCIFA5_TXD_C_MARK,
  687. SD2_WP_MARK, MMC_D5_MARK, SDA8_C_MARK, RX5_B_MARK, SCIFA5_RXD_C_MARK,
  688. MSIOF0_SCK_MARK, RX2_C_MARK, ADIDATA_MARK,
  689. VI1_CLK_C_MARK, VI1_G0_B_MARK,
  690. MSIOF0_SYNC_MARK, TX2_C_MARK, ADICS_SAMP_MARK,
  691. VI1_CLKENB_C_MARK, VI1_G1_B_MARK,
  692. MSIOF0_TXD_MARK, ADICLK_MARK, VI1_FIELD_C_MARK, VI1_G2_B_MARK,
  693. MSIOF0_RXD_MARK, ADICHS0_MARK, VI1_DATA0_C_MARK, VI1_G3_B_MARK,
  694. MSIOF0_SS1_MARK, MMC_D6_MARK, ADICHS1_MARK, TX0_E_MARK,
  695. VI1_HSYNC_N_C_MARK, SCL7_C_MARK, VI1_G4_B_MARK,
  696. MSIOF0_SS2_MARK, MMC_D7_MARK, ADICHS2_MARK, RX0_E_MARK,
  697. VI1_VSYNC_N_C_MARK, SDA7_C_MARK, VI1_G5_B_MARK,
  698. /* IPSR15 */
  699. SIM0_RST_MARK, IETX_MARK, CAN1_TX_D_MARK,
  700. SIM0_CLK_MARK, IECLK_MARK, CAN_CLK_C_MARK,
  701. SIM0_D_MARK, IERX_MARK, CAN1_RX_D_MARK,
  702. GPS_CLK_MARK, DU1_DOTCLKIN_C_MARK, AUDIO_CLKB_B_MARK,
  703. PWM5_B_MARK, SCIFA3_TXD_C_MARK,
  704. GPS_SIGN_MARK, TX4_C_MARK, SCIFA4_TXD_C_MARK, PWM5_MARK,
  705. VI1_G6_B_MARK, SCIFA3_RXD_C_MARK,
  706. GPS_MAG_MARK, RX4_C_MARK, SCIFA4_RXD_C_MARK, PWM6_MARK,
  707. VI1_G7_B_MARK, SCIFA3_SCK_C_MARK,
  708. HCTS0_N_MARK, SCIFB0_CTS_N_MARK, GLO_I0_C_MARK,
  709. TCLK1_MARK, VI1_DATA1_C_MARK,
  710. HRTS0_N_MARK, SCIFB0_RTS_N_MARK, GLO_I1_C_MARK, VI1_DATA2_C_MARK,
  711. HSCK0_MARK, SCIFB0_SCK_MARK, GLO_Q0_C_MARK, CAN_CLK_MARK,
  712. TCLK2_MARK, VI1_DATA3_C_MARK,
  713. HRX0_MARK, SCIFB0_RXD_MARK, GLO_Q1_C_MARK,
  714. CAN0_RX_B_MARK, VI1_DATA4_C_MARK,
  715. HTX0_MARK, SCIFB0_TXD_MARK, GLO_SCLK_C_MARK,
  716. CAN0_TX_B_MARK, VI1_DATA5_C_MARK,
  717. /* IPSR16 */
  718. HRX1_MARK, SCIFB1_RXD_MARK, VI1_R0_B_MARK,
  719. GLO_SDATA_C_MARK, VI1_DATA6_C_MARK,
  720. HTX1_MARK, SCIFB1_TXD_MARK, VI1_R1_B_MARK,
  721. GLO_SS_C_MARK, VI1_DATA7_C_MARK,
  722. HSCK1_MARK, SCIFB1_SCK_MARK, MLB_CLK_MARK, GLO_RFON_C_MARK,
  723. HCTS1_N_MARK, SCIFB1_CTS_N_MARK, MLB_SIG_MARK, CAN1_TX_B_MARK,
  724. HRTS1_N_MARK, SCIFB1_RTS_N_MARK, MLB_DAT_MARK, CAN1_RX_B_MARK,
  725. PINMUX_MARK_END,
  726. };
  727. static const u16 pinmux_data[] = {
  728. PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
  729. PINMUX_DATA(EX_CS0_N_MARK, FN_EX_CS0_N),
  730. PINMUX_DATA(RD_N_MARK, FN_RD_N),
  731. PINMUX_DATA(AUDIO_CLKA_MARK, FN_AUDIO_CLKA),
  732. PINMUX_DATA(VI0_CLK_MARK, FN_VI0_CLK),
  733. PINMUX_DATA(VI0_DATA0_VI0_B0_MARK, FN_VI0_DATA0_VI0_B0),
  734. PINMUX_DATA(VI0_DATA1_VI0_B1_MARK, FN_VI0_DATA1_VI0_B1),
  735. PINMUX_DATA(VI0_DATA2_VI0_B2_MARK, FN_VI0_DATA2_VI0_B2),
  736. PINMUX_DATA(VI0_DATA4_VI0_B4_MARK, FN_VI0_DATA4_VI0_B4),
  737. PINMUX_DATA(VI0_DATA5_VI0_B5_MARK, FN_VI0_DATA5_VI0_B5),
  738. PINMUX_DATA(VI0_DATA6_VI0_B6_MARK, FN_VI0_DATA6_VI0_B6),
  739. PINMUX_DATA(VI0_DATA7_VI0_B7_MARK, FN_VI0_DATA7_VI0_B7),
  740. PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN),
  741. PINMUX_DATA(USB0_OVC_MARK, FN_USB0_OVC),
  742. PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN),
  743. PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC),
  744. PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN),
  745. PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK),
  746. /* IPSR0 */
  747. PINMUX_IPSR_DATA(IP0_0, D0),
  748. PINMUX_IPSR_DATA(IP0_1, D1),
  749. PINMUX_IPSR_DATA(IP0_2, D2),
  750. PINMUX_IPSR_DATA(IP0_3, D3),
  751. PINMUX_IPSR_DATA(IP0_4, D4),
  752. PINMUX_IPSR_DATA(IP0_5, D5),
  753. PINMUX_IPSR_DATA(IP0_6, D6),
  754. PINMUX_IPSR_DATA(IP0_7, D7),
  755. PINMUX_IPSR_DATA(IP0_8, D8),
  756. PINMUX_IPSR_DATA(IP0_9, D9),
  757. PINMUX_IPSR_DATA(IP0_10, D10),
  758. PINMUX_IPSR_DATA(IP0_11, D11),
  759. PINMUX_IPSR_DATA(IP0_12, D12),
  760. PINMUX_IPSR_DATA(IP0_13, D13),
  761. PINMUX_IPSR_DATA(IP0_14, D14),
  762. PINMUX_IPSR_DATA(IP0_15, D15),
  763. PINMUX_IPSR_DATA(IP0_18_16, A0),
  764. PINMUX_IPSR_MSEL(IP0_18_16, ATAWR0_N_C, SEL_LBS_2),
  765. PINMUX_IPSR_MSEL(IP0_18_16, MSIOF0_SCK_B, SEL_SOF0_1),
  766. PINMUX_IPSR_MSEL(IP0_18_16, SCL0_C, SEL_IIC0_2),
  767. PINMUX_IPSR_DATA(IP0_18_16, PWM2_B),
  768. PINMUX_IPSR_DATA(IP0_20_19, A1),
  769. PINMUX_IPSR_MSEL(IP0_20_19, MSIOF0_SYNC_B, SEL_SOF0_1),
  770. PINMUX_IPSR_DATA(IP0_22_21, A2),
  771. PINMUX_IPSR_MSEL(IP0_22_21, MSIOF0_SS1_B, SEL_SOF0_1),
  772. PINMUX_IPSR_DATA(IP0_24_23, A3),
  773. PINMUX_IPSR_MSEL(IP0_24_23, MSIOF0_SS2_B, SEL_SOF0_1),
  774. PINMUX_IPSR_DATA(IP0_26_25, A4),
  775. PINMUX_IPSR_MSEL(IP0_26_25, MSIOF0_TXD_B, SEL_SOF0_1),
  776. PINMUX_IPSR_DATA(IP0_28_27, A5),
  777. PINMUX_IPSR_MSEL(IP0_28_27, MSIOF0_RXD_B, SEL_SOF0_1),
  778. PINMUX_IPSR_DATA(IP0_30_29, A6),
  779. PINMUX_IPSR_MSEL(IP0_30_29, MSIOF1_SCK, SEL_SOF1_0),
  780. /* IPSR1 */
  781. PINMUX_IPSR_DATA(IP1_1_0, A7),
  782. PINMUX_IPSR_MSEL(IP1_1_0, MSIOF1_SYNC, SEL_SOF1_0),
  783. PINMUX_IPSR_DATA(IP1_3_2, A8),
  784. PINMUX_IPSR_MSEL(IP1_3_2, MSIOF1_SS1, SEL_SOF1_0),
  785. PINMUX_IPSR_MSEL(IP1_3_2, SCL0, SEL_IIC0_0),
  786. PINMUX_IPSR_DATA(IP1_5_4, A9),
  787. PINMUX_IPSR_MSEL(IP1_5_4, MSIOF1_SS2, SEL_SOF1_0),
  788. PINMUX_IPSR_MSEL(IP1_5_4, SDA0, SEL_IIC0_0),
  789. PINMUX_IPSR_DATA(IP1_7_6, A10),
  790. PINMUX_IPSR_MSEL(IP1_7_6, MSIOF1_TXD, SEL_SOF1_0),
  791. PINMUX_IPSR_MSEL(IP1_7_6, MSIOF1_TXD_D, SEL_SOF1_3),
  792. PINMUX_IPSR_DATA(IP1_10_8, A11),
  793. PINMUX_IPSR_MSEL(IP1_10_8, MSIOF1_RXD, SEL_SOF1_0),
  794. PINMUX_IPSR_MSEL(IP1_10_8, SCL3_D, SEL_IIC3_3),
  795. PINMUX_IPSR_MSEL(IP1_10_8, MSIOF1_RXD_D, SEL_SOF1_3),
  796. PINMUX_IPSR_DATA(IP1_13_11, A12),
  797. PINMUX_IPSR_MSEL(IP1_13_11, FMCLK, SEL_FM_0),
  798. PINMUX_IPSR_MSEL(IP1_13_11, SDA3_D, SEL_IIC3_3),
  799. PINMUX_IPSR_MSEL(IP1_13_11, MSIOF1_SCK_D, SEL_SOF1_3),
  800. PINMUX_IPSR_DATA(IP1_16_14, A13),
  801. PINMUX_IPSR_MSEL(IP1_16_14, ATAG0_N_C, SEL_LBS_2),
  802. PINMUX_IPSR_MSEL(IP1_16_14, BPFCLK, SEL_FM_0),
  803. PINMUX_IPSR_MSEL(IP1_16_14, MSIOF1_SS1_D, SEL_SOF1_3),
  804. PINMUX_IPSR_DATA(IP1_19_17, A14),
  805. PINMUX_IPSR_MSEL(IP1_19_17, ATADIR0_N_C, SEL_LBS_2),
  806. PINMUX_IPSR_MSEL(IP1_19_17, FMIN, SEL_FM_0),
  807. PINMUX_IPSR_MSEL(IP1_19_17, FMIN_C, SEL_FM_2),
  808. PINMUX_IPSR_MSEL(IP1_19_17, MSIOF1_SYNC_D, SEL_SOF1_3),
  809. PINMUX_IPSR_DATA(IP1_22_20, A15),
  810. PINMUX_IPSR_MSEL(IP1_22_20, BPFCLK_C, SEL_FM_2),
  811. PINMUX_IPSR_DATA(IP1_25_23, A16),
  812. PINMUX_IPSR_MSEL(IP1_25_23, DREQ2_B, SEL_LBS_1),
  813. PINMUX_IPSR_MSEL(IP1_25_23, FMCLK_C, SEL_FM_2),
  814. PINMUX_IPSR_MSEL(IP1_25_23, SCIFA1_SCK_B, SEL_SCIFA1_1),
  815. PINMUX_IPSR_DATA(IP1_28_26, A17),
  816. PINMUX_IPSR_MSEL(IP1_28_26, DACK2_B, SEL_LBS_1),
  817. PINMUX_IPSR_MSEL(IP1_28_26, SDA0_C, SEL_IIC0_2),
  818. PINMUX_IPSR_DATA(IP1_31_29, A18),
  819. PINMUX_IPSR_MSEL(IP1_31_29, DREQ1, SEL_LBS_0),
  820. PINMUX_IPSR_MSEL(IP1_31_29, SCIFA1_RXD_C, SEL_SCIFA1_2),
  821. PINMUX_IPSR_MSEL(IP1_31_29, SCIFB1_RXD_C, SEL_SCIFB1_2),
  822. /* IPSR2 */
  823. PINMUX_IPSR_DATA(IP2_2_0, A19),
  824. PINMUX_IPSR_DATA(IP2_2_0, DACK1),
  825. PINMUX_IPSR_MSEL(IP2_2_0, SCIFA1_TXD_C, SEL_SCIFA1_2),
  826. PINMUX_IPSR_MSEL(IP2_2_0, SCIFB1_TXD_C, SEL_SCIFB1_2),
  827. PINMUX_IPSR_MSEL(IP2_2_0, SCIFB1_SCK_B, SEL_SCIFB1_1),
  828. PINMUX_IPSR_DATA(IP2_2_0, A20),
  829. PINMUX_IPSR_MSEL(IP2_4_3, SPCLK, SEL_QSP_0),
  830. PINMUX_IPSR_DATA(IP2_6_5, A21),
  831. PINMUX_IPSR_MSEL(IP2_6_5, ATAWR0_N_B, SEL_LBS_1),
  832. PINMUX_IPSR_MSEL(IP2_6_5, MOSI_IO0, SEL_QSP_0),
  833. PINMUX_IPSR_DATA(IP2_9_7, A22),
  834. PINMUX_IPSR_MSEL(IP2_9_7, MISO_IO1, SEL_QSP_0),
  835. PINMUX_IPSR_MSEL(IP2_9_7, FMCLK_B, SEL_FM_1),
  836. PINMUX_IPSR_MSEL(IP2_9_7, TX0, SEL_SCIF0_0),
  837. PINMUX_IPSR_MSEL(IP2_9_7, SCIFA0_TXD, SEL_SCFA_0),
  838. PINMUX_IPSR_DATA(IP2_12_10, A23),
  839. PINMUX_IPSR_MSEL(IP2_12_10, IO2, SEL_QSP_0),
  840. PINMUX_IPSR_MSEL(IP2_12_10, BPFCLK_B, SEL_FM_1),
  841. PINMUX_IPSR_MSEL(IP2_12_10, RX0, SEL_SCIF0_0),
  842. PINMUX_IPSR_MSEL(IP2_12_10, SCIFA0_RXD, SEL_SCFA_0),
  843. PINMUX_IPSR_DATA(IP2_15_13, A24),
  844. PINMUX_IPSR_MSEL(IP2_15_13, DREQ2, SEL_LBS_0),
  845. PINMUX_IPSR_MSEL(IP2_15_13, IO3, SEL_QSP_0),
  846. PINMUX_IPSR_MSEL(IP2_15_13, TX1, SEL_SCIF1_0),
  847. PINMUX_IPSR_MSEL(IP2_15_13, SCIFA1_TXD, SEL_SCIFA1_0),
  848. PINMUX_IPSR_DATA(IP2_18_16, A25),
  849. PINMUX_IPSR_MSEL(IP2_18_16, DACK2, SEL_LBS_0),
  850. PINMUX_IPSR_MSEL(IP2_18_16, SSL, SEL_QSP_0),
  851. PINMUX_IPSR_MSEL(IP2_18_16, DREQ1_C, SEL_LBS_2),
  852. PINMUX_IPSR_MSEL(IP2_18_16, RX1, SEL_SCIF1_0),
  853. PINMUX_IPSR_MSEL(IP2_18_16, SCIFA1_RXD, SEL_SCIFA1_0),
  854. PINMUX_IPSR_DATA(IP2_20_19, CS0_N),
  855. PINMUX_IPSR_MSEL(IP2_20_19, ATAG0_N_B, SEL_LBS_1),
  856. PINMUX_IPSR_MSEL(IP2_20_19, SCL1, SEL_IIC1_0),
  857. PINMUX_IPSR_DATA(IP2_22_21, CS1_N_A26),
  858. PINMUX_IPSR_MSEL(IP2_22_21, ATADIR0_N_B, SEL_LBS_1),
  859. PINMUX_IPSR_MSEL(IP2_22_21, SDA1, SEL_IIC1_0),
  860. PINMUX_IPSR_DATA(IP2_24_23, EX_CS1_N),
  861. PINMUX_IPSR_MSEL(IP2_24_23, MSIOF2_SCK, SEL_SOF2_0),
  862. PINMUX_IPSR_DATA(IP2_26_25, EX_CS2_N),
  863. PINMUX_IPSR_MSEL(IP2_26_25, ATAWR0_N, SEL_LBS_0),
  864. PINMUX_IPSR_MSEL(IP2_26_25, MSIOF2_SYNC, SEL_SOF2_0),
  865. PINMUX_IPSR_DATA(IP2_29_27, EX_CS3_N),
  866. PINMUX_IPSR_MSEL(IP2_29_27, ATADIR0_N, SEL_LBS_0),
  867. PINMUX_IPSR_MSEL(IP2_29_27, MSIOF2_TXD, SEL_SOF2_0),
  868. PINMUX_IPSR_MSEL(IP2_29_27, ATAG0_N, SEL_LBS_0),
  869. PINMUX_IPSR_DATA(IP2_29_27, EX_WAIT1),
  870. /* IPSR3 */
  871. PINMUX_IPSR_DATA(IP3_2_0, EX_CS4_N),
  872. PINMUX_IPSR_MSEL(IP3_2_0, ATARD0_N, SEL_LBS_0),
  873. PINMUX_IPSR_MSEL(IP3_2_0, MSIOF2_RXD, SEL_SOF2_0),
  874. PINMUX_IPSR_DATA(IP3_2_0, EX_WAIT2),
  875. PINMUX_IPSR_DATA(IP3_5_3, EX_CS5_N),
  876. PINMUX_IPSR_DATA(IP3_5_3, ATACS00_N),
  877. PINMUX_IPSR_MSEL(IP3_5_3, MSIOF2_SS1, SEL_SOF2_0),
  878. PINMUX_IPSR_MSEL(IP3_5_3, HRX1_B, SEL_HSCIF1_1),
  879. PINMUX_IPSR_MSEL(IP3_5_3, SCIFB1_RXD_B, SEL_SCIFB1_1),
  880. PINMUX_IPSR_DATA(IP3_5_3, PWM1),
  881. PINMUX_IPSR_DATA(IP3_5_3, TPU_TO1),
  882. PINMUX_IPSR_DATA(IP3_8_6, BS_N),
  883. PINMUX_IPSR_DATA(IP3_8_6, ATACS10_N),
  884. PINMUX_IPSR_MSEL(IP3_8_6, MSIOF2_SS2, SEL_SOF2_0),
  885. PINMUX_IPSR_MSEL(IP3_8_6, HTX1_B, SEL_HSCIF1_1),
  886. PINMUX_IPSR_MSEL(IP3_8_6, SCIFB1_TXD_B, SEL_SCIFB1_1),
  887. PINMUX_IPSR_DATA(IP3_8_6, PWM2),
  888. PINMUX_IPSR_DATA(IP3_8_6, TPU_TO2),
  889. PINMUX_IPSR_DATA(IP3_11_9, RD_WR_N),
  890. PINMUX_IPSR_MSEL(IP3_11_9, HRX2_B, SEL_HSCIF2_1),
  891. PINMUX_IPSR_MSEL(IP3_11_9, FMIN_B, SEL_FM_1),
  892. PINMUX_IPSR_MSEL(IP3_11_9, SCIFB0_RXD_B, SEL_SCIFB_1),
  893. PINMUX_IPSR_MSEL(IP3_11_9, DREQ1_D, SEL_LBS_1),
  894. PINMUX_IPSR_DATA(IP3_13_12, WE0_N),
  895. PINMUX_IPSR_MSEL(IP3_13_12, HCTS2_N_B, SEL_HSCIF2_1),
  896. PINMUX_IPSR_MSEL(IP3_13_12, SCIFB0_TXD_B, SEL_SCIFB_1),
  897. PINMUX_IPSR_DATA(IP3_15_14, WE1_N),
  898. PINMUX_IPSR_MSEL(IP3_15_14, ATARD0_N_B, SEL_LBS_1),
  899. PINMUX_IPSR_MSEL(IP3_15_14, HTX2_B, SEL_HSCIF2_1),
  900. PINMUX_IPSR_MSEL(IP3_15_14, SCIFB0_RTS_N_B, SEL_SCIFB_1),
  901. PINMUX_IPSR_DATA(IP3_17_16, EX_WAIT0),
  902. PINMUX_IPSR_MSEL(IP3_17_16, HRTS2_N_B, SEL_HSCIF2_1),
  903. PINMUX_IPSR_MSEL(IP3_17_16, SCIFB0_CTS_N_B, SEL_SCIFB_1),
  904. PINMUX_IPSR_DATA(IP3_19_18, DREQ0),
  905. PINMUX_IPSR_DATA(IP3_19_18, PWM3),
  906. PINMUX_IPSR_DATA(IP3_19_18, TPU_TO3),
  907. PINMUX_IPSR_DATA(IP3_21_20, DACK0),
  908. PINMUX_IPSR_DATA(IP3_21_20, DRACK0),
  909. PINMUX_IPSR_MSEL(IP3_21_20, REMOCON, SEL_RCN_0),
  910. PINMUX_IPSR_MSEL(IP3_24_22, SPEEDIN, SEL_RSP_0),
  911. PINMUX_IPSR_MSEL(IP3_24_22, HSCK0_C, SEL_HSCIF0_2),
  912. PINMUX_IPSR_MSEL(IP3_24_22, HSCK2_C, SEL_HSCIF2_2),
  913. PINMUX_IPSR_MSEL(IP3_24_22, SCIFB0_SCK_B, SEL_SCIFB_1),
  914. PINMUX_IPSR_MSEL(IP3_24_22, SCIFB2_SCK_B, SEL_SCIFB2_1),
  915. PINMUX_IPSR_MSEL(IP3_24_22, DREQ2_C, SEL_LBS_2),
  916. PINMUX_IPSR_MSEL(IP3_30_28, HTX2_C, SEL_HSCIF2_2),
  917. PINMUX_IPSR_MSEL(IP3_27_25, SSI_SCK0129, SEL_SSI0_0),
  918. PINMUX_IPSR_MSEL(IP3_27_25, HRX0_C, SEL_HSCIF0_2),
  919. PINMUX_IPSR_MSEL(IP3_27_25, HRX2_C, SEL_HSCIF2_2),
  920. PINMUX_IPSR_MSEL(IP3_27_25, SCIFB0_RXD_C, SEL_SCIFB_2),
  921. PINMUX_IPSR_MSEL(IP3_27_25, SCIFB2_RXD_C, SEL_SCIFB2_2),
  922. PINMUX_IPSR_MSEL(IP3_30_28, SSI_WS0129, SEL_SSI0_0),
  923. PINMUX_IPSR_MSEL(IP3_30_28, HTX0_C, SEL_HSCIF0_2),
  924. PINMUX_IPSR_MSEL(IP3_30_28, HTX2_C, SEL_HSCIF2_2),
  925. PINMUX_IPSR_MSEL(IP3_30_28, SCIFB0_TXD_C, SEL_SCIFB_2),
  926. PINMUX_IPSR_MSEL(IP3_30_28, SCIFB2_TXD_C, SEL_SCIFB2_2),
  927. /* IPSR4 */
  928. PINMUX_IPSR_MSEL(IP4_1_0, SSI_SDATA0, SEL_SSI0_0),
  929. PINMUX_IPSR_MSEL(IP4_1_0, SCL0_B, SEL_IIC0_1),
  930. PINMUX_IPSR_MSEL(IP4_1_0, SCL7_B, SEL_IIC7_1),
  931. PINMUX_IPSR_MSEL(IP4_1_0, MSIOF2_SCK_C, SEL_SOF2_2),
  932. PINMUX_IPSR_MSEL(IP4_4_2, SSI_SCK1, SEL_SSI1_0),
  933. PINMUX_IPSR_MSEL(IP4_4_2, SDA0_B, SEL_IIC0_1),
  934. PINMUX_IPSR_MSEL(IP4_4_2, SDA7_B, SEL_IIC7_1),
  935. PINMUX_IPSR_MSEL(IP4_4_2, MSIOF2_SYNC_C, SEL_SOF2_2),
  936. PINMUX_IPSR_MSEL(IP4_4_2, GLO_I0_D, SEL_GPS_3),
  937. PINMUX_IPSR_MSEL(IP4_7_5, SSI_WS1, SEL_SSI1_0),
  938. PINMUX_IPSR_MSEL(IP4_7_5, SCL1_B, SEL_IIC1_1),
  939. PINMUX_IPSR_MSEL(IP4_7_5, SCL8_B, SEL_IIC8_1),
  940. PINMUX_IPSR_MSEL(IP4_7_5, MSIOF2_TXD_C, SEL_SOF2_2),
  941. PINMUX_IPSR_MSEL(IP4_7_5, GLO_I1_D, SEL_GPS_3),
  942. PINMUX_IPSR_MSEL(IP4_9_8, SSI_SDATA1, SEL_SSI1_0),
  943. PINMUX_IPSR_MSEL(IP4_9_8, SDA1_B, SEL_IIC1_1),
  944. PINMUX_IPSR_MSEL(IP4_9_8, SDA8_B, SEL_IIC8_1),
  945. PINMUX_IPSR_MSEL(IP4_9_8, MSIOF2_RXD_C, SEL_SOF2_2),
  946. PINMUX_IPSR_DATA(IP4_12_10, SSI_SCK2),
  947. PINMUX_IPSR_MSEL(IP4_12_10, SCL2, SEL_IIC2_0),
  948. PINMUX_IPSR_MSEL(IP4_12_10, GPS_CLK_B, SEL_GPS_1),
  949. PINMUX_IPSR_MSEL(IP4_12_10, GLO_Q0_D, SEL_GPS_3),
  950. PINMUX_IPSR_DATA(IP4_15_13, SSI_WS2),
  951. PINMUX_IPSR_MSEL(IP4_15_13, SDA2, SEL_IIC2_0),
  952. PINMUX_IPSR_MSEL(IP4_15_13, GPS_SIGN_B, SEL_GPS_1),
  953. PINMUX_IPSR_MSEL(IP4_15_13, RX2_E, SEL_SCIF2_4),
  954. PINMUX_IPSR_MSEL(IP4_15_13, GLO_Q1_D, SEL_GPS_3),
  955. PINMUX_IPSR_DATA(IP4_18_16, SSI_SDATA2),
  956. PINMUX_IPSR_MSEL(IP4_18_16, GPS_MAG_B, SEL_GPS_1),
  957. PINMUX_IPSR_MSEL(IP4_18_16, TX2_E, SEL_SCIF2_4),
  958. PINMUX_IPSR_DATA(IP4_19, SSI_SCK34),
  959. PINMUX_IPSR_DATA(IP4_20, SSI_WS34),
  960. PINMUX_IPSR_DATA(IP4_21, SSI_SDATA3),
  961. PINMUX_IPSR_DATA(IP4_23_22, SSI_SCK4),
  962. PINMUX_IPSR_MSEL(IP4_23_22, GLO_SS_D, SEL_GPS_3),
  963. PINMUX_IPSR_DATA(IP4_25_24, SSI_WS4),
  964. PINMUX_IPSR_MSEL(IP4_25_24, GLO_RFON_D, SEL_GPS_3),
  965. PINMUX_IPSR_DATA(IP4_27_26, SSI_SDATA4),
  966. PINMUX_IPSR_MSEL(IP4_27_26, MSIOF2_SCK_D, SEL_SOF2_3),
  967. PINMUX_IPSR_DATA(IP4_30_28, SSI_SCK5),
  968. PINMUX_IPSR_MSEL(IP4_30_28, MSIOF1_SCK_C, SEL_SOF1_2),
  969. PINMUX_IPSR_MSEL(IP4_30_28, TS_SDATA0, SEL_TSIF0_0),
  970. PINMUX_IPSR_MSEL(IP4_30_28, GLO_I0, SEL_GPS_0),
  971. PINMUX_IPSR_MSEL(IP4_30_28, MSIOF2_SYNC_D, SEL_SOF2_3),
  972. PINMUX_IPSR_DATA(IP4_30_28, VI1_R2_B),
  973. /* IPSR5 */
  974. PINMUX_IPSR_DATA(IP5_2_0, SSI_WS5),
  975. PINMUX_IPSR_MSEL(IP5_2_0, MSIOF1_SYNC_C, SEL_SOF1_2),
  976. PINMUX_IPSR_MSEL(IP5_2_0, TS_SCK0, SEL_TSIF0_0),
  977. PINMUX_IPSR_MSEL(IP5_2_0, GLO_I1, SEL_GPS_0),
  978. PINMUX_IPSR_MSEL(IP5_2_0, MSIOF2_TXD_D, SEL_SOF2_3),
  979. PINMUX_IPSR_DATA(IP5_2_0, VI1_R3_B),
  980. PINMUX_IPSR_DATA(IP5_5_3, SSI_SDATA5),
  981. PINMUX_IPSR_MSEL(IP5_5_3, MSIOF1_TXD_C, SEL_SOF1_2),
  982. PINMUX_IPSR_MSEL(IP5_5_3, TS_SDEN0, SEL_TSIF0_0),
  983. PINMUX_IPSR_MSEL(IP5_5_3, GLO_Q0, SEL_GPS_0),
  984. PINMUX_IPSR_MSEL(IP5_5_3, MSIOF2_SS1_D, SEL_SOF2_3),
  985. PINMUX_IPSR_DATA(IP5_5_3, VI1_R4_B),
  986. PINMUX_IPSR_DATA(IP5_8_6, SSI_SCK6),
  987. PINMUX_IPSR_MSEL(IP5_8_6, MSIOF1_RXD_C, SEL_SOF1_2),
  988. PINMUX_IPSR_MSEL(IP5_8_6, TS_SPSYNC0, SEL_TSIF0_0),
  989. PINMUX_IPSR_MSEL(IP5_8_6, GLO_Q1, SEL_GPS_0),
  990. PINMUX_IPSR_MSEL(IP5_8_6, MSIOF2_RXD_D, SEL_SOF2_3),
  991. PINMUX_IPSR_DATA(IP5_8_6, VI1_R5_B),
  992. PINMUX_IPSR_DATA(IP5_11_9, SSI_WS6),
  993. PINMUX_IPSR_MSEL(IP5_11_9, GLO_SCLK, SEL_GPS_0),
  994. PINMUX_IPSR_MSEL(IP5_11_9, MSIOF2_SS2_D, SEL_SOF2_3),
  995. PINMUX_IPSR_DATA(IP5_11_9, VI1_R6_B),
  996. PINMUX_IPSR_DATA(IP5_14_12, SSI_SDATA6),
  997. PINMUX_IPSR_MSEL(IP5_14_12, STP_IVCXO27_0_B, SEL_SSP_1),
  998. PINMUX_IPSR_MSEL(IP5_14_12, GLO_SDATA, SEL_GPS_0),
  999. PINMUX_IPSR_DATA(IP5_14_12, VI1_R7_B),
  1000. PINMUX_IPSR_MSEL(IP5_16_15, SSI_SCK78, SEL_SSI7_0),
  1001. PINMUX_IPSR_MSEL(IP5_16_15, STP_ISCLK_0_B, SEL_SSP_1),
  1002. PINMUX_IPSR_MSEL(IP5_16_15, GLO_SS, SEL_GPS_0),
  1003. PINMUX_IPSR_MSEL(IP5_19_17, SSI_WS78, SEL_SSI7_0),
  1004. PINMUX_IPSR_MSEL(IP5_19_17, TX0_D, SEL_SCIF0_3),
  1005. PINMUX_IPSR_MSEL(IP5_19_17, STP_ISD_0_B, SEL_SSP_1),
  1006. PINMUX_IPSR_MSEL(IP5_19_17, GLO_RFON, SEL_GPS_0),
  1007. PINMUX_IPSR_MSEL(IP5_21_20, SSI_SDATA7, SEL_SSI7_0),
  1008. PINMUX_IPSR_MSEL(IP5_21_20, RX0_D, SEL_SCIF0_3),
  1009. PINMUX_IPSR_MSEL(IP5_21_20, STP_ISEN_0_B, SEL_SSP_1),
  1010. PINMUX_IPSR_MSEL(IP5_23_22, SSI_SDATA8, SEL_SSI8_0),
  1011. PINMUX_IPSR_MSEL(IP5_23_22, TX1_D, SEL_SCIF1_3),
  1012. PINMUX_IPSR_MSEL(IP5_23_22, STP_ISSYNC_0_B, SEL_SSP_1),
  1013. PINMUX_IPSR_MSEL(IP5_25_24, SSI_SCK9, SEL_SSI9_0),
  1014. PINMUX_IPSR_MSEL(IP5_25_24, RX1_D, SEL_SCIF1_3),
  1015. PINMUX_IPSR_MSEL(IP5_25_24, GLO_SCLK_D, SEL_GPS_3),
  1016. PINMUX_IPSR_MSEL(IP5_28_26, SSI_WS9, SEL_SSI9_0),
  1017. PINMUX_IPSR_MSEL(IP5_28_26, TX3_D, SEL_SCIF3_3),
  1018. PINMUX_IPSR_MSEL(IP5_28_26, CAN0_TX_D, SEL_CAN0_3),
  1019. PINMUX_IPSR_MSEL(IP5_28_26, GLO_SDATA_D, SEL_GPS_3),
  1020. PINMUX_IPSR_MSEL(IP5_31_29, SSI_SDATA9, SEL_SSI9_0),
  1021. PINMUX_IPSR_MSEL(IP5_31_29, RX3_D, SEL_SCIF3_3),
  1022. PINMUX_IPSR_MSEL(IP5_31_29, CAN0_RX_D, SEL_CAN0_3),
  1023. /* IPSR6 */
  1024. PINMUX_IPSR_MSEL(IP6_2_0, AUDIO_CLKB, SEL_ADG_0),
  1025. PINMUX_IPSR_MSEL(IP6_2_0, STP_OPWM_0_B, SEL_SSP_1),
  1026. PINMUX_IPSR_MSEL(IP6_2_0, MSIOF1_SCK_B, SEL_SOF1_1),
  1027. PINMUX_IPSR_MSEL(IP6_2_0, SCIF_CLK, SEL_SCIF_0),
  1028. PINMUX_IPSR_MSEL(IP6_2_0, BPFCLK_E, SEL_FM_4),
  1029. PINMUX_IPSR_DATA(IP6_5_3, AUDIO_CLKC),
  1030. PINMUX_IPSR_MSEL(IP6_5_3, SCIFB0_SCK_C, SEL_SCIFB_2),
  1031. PINMUX_IPSR_MSEL(IP6_5_3, MSIOF1_SYNC_B, SEL_SOF1_1),
  1032. PINMUX_IPSR_MSEL(IP6_5_3, RX2, SEL_SCIF2_0),
  1033. PINMUX_IPSR_MSEL(IP6_5_3, SCIFA2_RXD, SEL_SCIFA2_0),
  1034. PINMUX_IPSR_MSEL(IP6_5_3, FMIN_E, SEL_FM_4),
  1035. PINMUX_IPSR_DATA(IP6_7_6, AUDIO_CLKOUT),
  1036. PINMUX_IPSR_MSEL(IP6_7_6, MSIOF1_SS1_B, SEL_SOF1_1),
  1037. PINMUX_IPSR_MSEL(IP6_7_6, TX2, SEL_SCIF2_0),
  1038. PINMUX_IPSR_MSEL(IP6_7_6, SCIFA2_TXD, SEL_SCIFA2_0),
  1039. PINMUX_IPSR_DATA(IP6_9_8, IRQ0),
  1040. PINMUX_IPSR_MSEL(IP6_9_8, SCIFB1_RXD_D, SEL_SCIFB1_3),
  1041. PINMUX_IPSR_DATA(IP6_9_8, INTC_IRQ0_N),
  1042. PINMUX_IPSR_DATA(IP6_11_10, IRQ1),
  1043. PINMUX_IPSR_MSEL(IP6_11_10, SCIFB1_SCK_C, SEL_SCIFB1_2),
  1044. PINMUX_IPSR_DATA(IP6_11_10, INTC_IRQ1_N),
  1045. PINMUX_IPSR_DATA(IP6_13_12, IRQ2),
  1046. PINMUX_IPSR_MSEL(IP6_13_12, SCIFB1_TXD_D, SEL_SCIFB1_3),
  1047. PINMUX_IPSR_DATA(IP6_13_12, INTC_IRQ2_N),
  1048. PINMUX_IPSR_DATA(IP6_15_14, IRQ3),
  1049. PINMUX_IPSR_MSEL(IP6_15_14, SCL4_C, SEL_IIC4_2),
  1050. PINMUX_IPSR_MSEL(IP6_15_14, MSIOF2_TXD_E, SEL_SOF2_4),
  1051. PINMUX_IPSR_DATA(IP6_15_14, INTC_IRQ4_N),
  1052. PINMUX_IPSR_DATA(IP6_18_16, IRQ4),
  1053. PINMUX_IPSR_MSEL(IP6_18_16, HRX1_C, SEL_HSCIF1_2),
  1054. PINMUX_IPSR_MSEL(IP6_18_16, SDA4_C, SEL_IIC4_2),
  1055. PINMUX_IPSR_MSEL(IP6_18_16, MSIOF2_RXD_E, SEL_SOF2_4),
  1056. PINMUX_IPSR_DATA(IP6_18_16, INTC_IRQ4_N),
  1057. PINMUX_IPSR_DATA(IP6_20_19, IRQ5),
  1058. PINMUX_IPSR_MSEL(IP6_20_19, HTX1_C, SEL_HSCIF1_2),
  1059. PINMUX_IPSR_MSEL(IP6_20_19, SCL1_E, SEL_IIC1_4),
  1060. PINMUX_IPSR_MSEL(IP6_20_19, MSIOF2_SCK_E, SEL_SOF2_4),
  1061. PINMUX_IPSR_DATA(IP6_23_21, IRQ6),
  1062. PINMUX_IPSR_MSEL(IP6_23_21, HSCK1_C, SEL_HSCIF1_2),
  1063. PINMUX_IPSR_MSEL(IP6_23_21, MSIOF1_SS2_B, SEL_SOF1_1),
  1064. PINMUX_IPSR_MSEL(IP6_23_21, SDA1_E, SEL_IIC1_4),
  1065. PINMUX_IPSR_MSEL(IP6_23_21, MSIOF2_SYNC_E, SEL_SOF2_4),
  1066. PINMUX_IPSR_DATA(IP6_26_24, IRQ7),
  1067. PINMUX_IPSR_MSEL(IP6_26_24, HCTS1_N_C, SEL_HSCIF1_2),
  1068. PINMUX_IPSR_MSEL(IP6_26_24, MSIOF1_TXD_B, SEL_SOF1_1),
  1069. PINMUX_IPSR_MSEL(IP6_26_24, GPS_CLK_C, SEL_GPS_2),
  1070. PINMUX_IPSR_MSEL(IP6_26_24, GPS_CLK_D, SEL_GPS_3),
  1071. PINMUX_IPSR_DATA(IP6_29_27, IRQ8),
  1072. PINMUX_IPSR_MSEL(IP6_29_27, HRTS1_N_C, SEL_HSCIF1_2),
  1073. PINMUX_IPSR_MSEL(IP6_29_27, MSIOF1_RXD_B, SEL_SOF1_1),
  1074. PINMUX_IPSR_MSEL(IP6_29_27, GPS_SIGN_C, SEL_GPS_2),
  1075. PINMUX_IPSR_MSEL(IP6_29_27, GPS_SIGN_D, SEL_GPS_3),
  1076. /* IPSR7 */
  1077. PINMUX_IPSR_DATA(IP7_2_0, IRQ9),
  1078. PINMUX_IPSR_MSEL(IP7_2_0, DU1_DOTCLKIN_B, SEL_DIS_1),
  1079. PINMUX_IPSR_MSEL(IP7_2_0, CAN_CLK_D, SEL_CANCLK_3),
  1080. PINMUX_IPSR_MSEL(IP7_2_0, GPS_MAG_C, SEL_GPS_2),
  1081. PINMUX_IPSR_MSEL(IP7_2_0, SCIF_CLK_B, SEL_SCIF_1),
  1082. PINMUX_IPSR_MSEL(IP7_2_0, GPS_MAG_D, SEL_GPS_3),
  1083. PINMUX_IPSR_DATA(IP7_5_3, DU1_DR0),
  1084. PINMUX_IPSR_DATA(IP7_5_3, LCDOUT0),
  1085. PINMUX_IPSR_MSEL(IP7_5_3, VI1_DATA0_B, SEL_VI1_1),
  1086. PINMUX_IPSR_MSEL(IP7_5_3, TX0_B, SEL_SCIF0_1),
  1087. PINMUX_IPSR_MSEL(IP7_5_3, SCIFA0_TXD_B, SEL_SCFA_1),
  1088. PINMUX_IPSR_MSEL(IP7_5_3, MSIOF2_SCK_B, SEL_SOF2_1),
  1089. PINMUX_IPSR_DATA(IP7_8_6, DU1_DR1),
  1090. PINMUX_IPSR_DATA(IP7_8_6, LCDOUT1),
  1091. PINMUX_IPSR_MSEL(IP7_8_6, VI1_DATA1_B, SEL_VI1_1),
  1092. PINMUX_IPSR_MSEL(IP7_8_6, RX0_B, SEL_SCIF0_1),
  1093. PINMUX_IPSR_MSEL(IP7_8_6, SCIFA0_RXD_B, SEL_SCFA_1),
  1094. PINMUX_IPSR_MSEL(IP7_8_6, MSIOF2_SYNC_B, SEL_SOF2_1),
  1095. PINMUX_IPSR_DATA(IP7_10_9, DU1_DR2),
  1096. PINMUX_IPSR_DATA(IP7_10_9, LCDOUT2),
  1097. PINMUX_IPSR_MSEL(IP7_10_9, SSI_SCK0129_B, SEL_SSI0_1),
  1098. PINMUX_IPSR_DATA(IP7_12_11, DU1_DR3),
  1099. PINMUX_IPSR_DATA(IP7_12_11, LCDOUT3),
  1100. PINMUX_IPSR_MSEL(IP7_12_11, SSI_WS0129_B, SEL_SSI0_1),
  1101. PINMUX_IPSR_DATA(IP7_14_13, DU1_DR4),
  1102. PINMUX_IPSR_DATA(IP7_14_13, LCDOUT4),
  1103. PINMUX_IPSR_MSEL(IP7_14_13, SSI_SDATA0_B, SEL_SSI0_1),
  1104. PINMUX_IPSR_DATA(IP7_16_15, DU1_DR5),
  1105. PINMUX_IPSR_DATA(IP7_16_15, LCDOUT5),
  1106. PINMUX_IPSR_MSEL(IP7_16_15, SSI_SCK1_B, SEL_SSI1_1),
  1107. PINMUX_IPSR_DATA(IP7_18_17, DU1_DR6),
  1108. PINMUX_IPSR_DATA(IP7_18_17, LCDOUT6),
  1109. PINMUX_IPSR_MSEL(IP7_18_17, SSI_WS1_B, SEL_SSI1_1),
  1110. PINMUX_IPSR_DATA(IP7_20_19, DU1_DR7),
  1111. PINMUX_IPSR_DATA(IP7_20_19, LCDOUT7),
  1112. PINMUX_IPSR_MSEL(IP7_20_19, SSI_SDATA1_B, SEL_SSI1_1),
  1113. PINMUX_IPSR_DATA(IP7_23_21, DU1_DG0),
  1114. PINMUX_IPSR_DATA(IP7_23_21, LCDOUT8),
  1115. PINMUX_IPSR_MSEL(IP7_23_21, VI1_DATA2_B, SEL_VI1_1),
  1116. PINMUX_IPSR_MSEL(IP7_23_21, TX1_B, SEL_SCIF1_1),
  1117. PINMUX_IPSR_MSEL(IP7_23_21, SCIFA1_TXD_B, SEL_SCIFA1_1),
  1118. PINMUX_IPSR_MSEL(IP7_23_21, MSIOF2_SS1_B, SEL_SOF2_1),
  1119. PINMUX_IPSR_DATA(IP7_26_24, DU1_DG1),
  1120. PINMUX_IPSR_DATA(IP7_26_24, LCDOUT9),
  1121. PINMUX_IPSR_MSEL(IP7_26_24, VI1_DATA3_B, SEL_VI1_1),
  1122. PINMUX_IPSR_MSEL(IP7_26_24, RX1_B, SEL_SCIF1_1),
  1123. PINMUX_IPSR_MSEL(IP7_26_24, SCIFA1_RXD_B, SEL_SCIFA1_1),
  1124. PINMUX_IPSR_MSEL(IP7_26_24, MSIOF2_SS2_B, SEL_SOF2_1),
  1125. PINMUX_IPSR_DATA(IP7_29_27, DU1_DG2),
  1126. PINMUX_IPSR_DATA(IP7_29_27, LCDOUT10),
  1127. PINMUX_IPSR_MSEL(IP7_29_27, VI1_DATA4_B, SEL_VI1_1),
  1128. PINMUX_IPSR_DATA(IP7_29_27, SCIF1_SCK_B),
  1129. PINMUX_IPSR_MSEL(IP7_29_27, SCIFA1_SCK, SEL_SCIFA1_0),
  1130. PINMUX_IPSR_MSEL(IP7_29_27, SSI_SCK78_B, SEL_SSI7_1),
  1131. /* IPSR8 */
  1132. PINMUX_IPSR_DATA(IP8_2_0, DU1_DG3),
  1133. PINMUX_IPSR_DATA(IP8_2_0, LCDOUT11),
  1134. PINMUX_IPSR_MSEL(IP8_2_0, VI1_DATA5_B, SEL_VI1_1),
  1135. PINMUX_IPSR_MSEL(IP8_2_0, SSI_WS78_B, SEL_SSI7_1),
  1136. PINMUX_IPSR_DATA(IP8_5_3, DU1_DG4),
  1137. PINMUX_IPSR_DATA(IP8_5_3, LCDOUT12),
  1138. PINMUX_IPSR_MSEL(IP8_5_3, VI1_DATA6_B, SEL_VI1_1),
  1139. PINMUX_IPSR_MSEL(IP8_5_3, HRX0_B, SEL_HSCIF0_1),
  1140. PINMUX_IPSR_MSEL(IP8_5_3, SCIFB2_RXD_B, SEL_SCIFB2_1),
  1141. PINMUX_IPSR_MSEL(IP8_5_3, SSI_SDATA7_B, SEL_SSI7_1),
  1142. PINMUX_IPSR_DATA(IP8_8_6, DU1_DG5),
  1143. PINMUX_IPSR_DATA(IP8_8_6, LCDOUT13),
  1144. PINMUX_IPSR_MSEL(IP8_8_6, VI1_DATA7_B, SEL_VI1_1),
  1145. PINMUX_IPSR_MSEL(IP8_8_6, HCTS0_N_B, SEL_HSCIF0_1),
  1146. PINMUX_IPSR_MSEL(IP8_8_6, SCIFB2_TXD_B, SEL_SCIFB2_1),
  1147. PINMUX_IPSR_MSEL(IP8_8_6, SSI_SDATA8_B, SEL_SSI8_1),
  1148. PINMUX_IPSR_DATA(IP8_11_9, DU1_DG6),
  1149. PINMUX_IPSR_DATA(IP8_11_9, LCDOUT14),
  1150. PINMUX_IPSR_MSEL(IP8_11_9, HRTS0_N_B, SEL_HSCIF0_1),
  1151. PINMUX_IPSR_MSEL(IP8_11_9, SCIFB2_CTS_N_B, SEL_SCIFB2_1),
  1152. PINMUX_IPSR_MSEL(IP8_11_9, SSI_SCK9_B, SEL_SSI9_1),
  1153. PINMUX_IPSR_DATA(IP8_14_12, DU1_DG7),
  1154. PINMUX_IPSR_DATA(IP8_14_12, LCDOUT15),
  1155. PINMUX_IPSR_MSEL(IP8_14_12, HTX0_B, SEL_HSCIF0_1),
  1156. PINMUX_IPSR_MSEL(IP8_14_12, SCIFB2_RTS_N_B, SEL_SCIFB2_1),
  1157. PINMUX_IPSR_MSEL(IP8_14_12, SSI_WS9_B, SEL_SSI9_1),
  1158. PINMUX_IPSR_DATA(IP8_17_15, DU1_DB0),
  1159. PINMUX_IPSR_DATA(IP8_17_15, LCDOUT16),
  1160. PINMUX_IPSR_MSEL(IP8_17_15, VI1_CLK_B, SEL_VI1_1),
  1161. PINMUX_IPSR_MSEL(IP8_17_15, TX2_B, SEL_SCIF2_1),
  1162. PINMUX_IPSR_MSEL(IP8_17_15, SCIFA2_TXD_B, SEL_SCIFA2_1),
  1163. PINMUX_IPSR_MSEL(IP8_17_15, MSIOF2_TXD_B, SEL_SOF2_1),
  1164. PINMUX_IPSR_DATA(IP8_20_18, DU1_DB1),
  1165. PINMUX_IPSR_DATA(IP8_20_18, LCDOUT17),
  1166. PINMUX_IPSR_MSEL(IP8_20_18, VI1_HSYNC_N_B, SEL_VI1_1),
  1167. PINMUX_IPSR_MSEL(IP8_20_18, RX2_B, SEL_SCIF2_1),
  1168. PINMUX_IPSR_MSEL(IP8_20_18, SCIFA2_RXD_B, SEL_SCIFA2_1),
  1169. PINMUX_IPSR_MSEL(IP8_20_18, MSIOF2_RXD_B, SEL_SOF2_1),
  1170. PINMUX_IPSR_DATA(IP8_23_21, DU1_DB2),
  1171. PINMUX_IPSR_DATA(IP8_23_21, LCDOUT18),
  1172. PINMUX_IPSR_MSEL(IP8_23_21, VI1_VSYNC_N_B, SEL_VI1_1),
  1173. PINMUX_IPSR_DATA(IP8_23_21, SCIF2_SCK_B),
  1174. PINMUX_IPSR_MSEL(IP8_23_21, SCIFA2_SCK, SEL_SCIFA2_1),
  1175. PINMUX_IPSR_MSEL(IP8_23_21, SSI_SDATA9_B, SEL_SSI9_1),
  1176. PINMUX_IPSR_DATA(IP8_25_24, DU1_DB3),
  1177. PINMUX_IPSR_DATA(IP8_25_24, LCDOUT19),
  1178. PINMUX_IPSR_MSEL(IP8_25_24, VI1_CLKENB_B, SEL_VI1_1),
  1179. PINMUX_IPSR_DATA(IP8_27_26, DU1_DB4),
  1180. PINMUX_IPSR_DATA(IP8_27_26, LCDOUT20),
  1181. PINMUX_IPSR_MSEL(IP8_27_26, VI1_FIELD_B, SEL_VI1_1),
  1182. PINMUX_IPSR_MSEL(IP8_27_26, CAN1_RX, SEL_CAN1_0),
  1183. PINMUX_IPSR_DATA(IP8_30_28, DU1_DB5),
  1184. PINMUX_IPSR_DATA(IP8_30_28, LCDOUT21),
  1185. PINMUX_IPSR_MSEL(IP8_30_28, TX3, SEL_SCIF3_0),
  1186. PINMUX_IPSR_MSEL(IP8_30_28, SCIFA3_TXD, SEL_SCIFA3_0),
  1187. PINMUX_IPSR_MSEL(IP8_30_28, CAN1_TX, SEL_CAN1_0),
  1188. /* IPSR9 */
  1189. PINMUX_IPSR_DATA(IP9_2_0, DU1_DB6),
  1190. PINMUX_IPSR_DATA(IP9_2_0, LCDOUT22),
  1191. PINMUX_IPSR_MSEL(IP9_2_0, SCL3_C, SEL_IIC3_2),
  1192. PINMUX_IPSR_MSEL(IP9_2_0, RX3, SEL_SCIF3_0),
  1193. PINMUX_IPSR_MSEL(IP9_2_0, SCIFA3_RXD, SEL_SCIFA3_0),
  1194. PINMUX_IPSR_DATA(IP9_5_3, DU1_DB7),
  1195. PINMUX_IPSR_DATA(IP9_5_3, LCDOUT23),
  1196. PINMUX_IPSR_MSEL(IP9_5_3, SDA3_C, SEL_IIC3_2),
  1197. PINMUX_IPSR_MSEL(IP9_5_3, SCIF3_SCK, SEL_SCIF3_0),
  1198. PINMUX_IPSR_MSEL(IP9_5_3, SCIFA3_SCK, SEL_SCIFA3_0),
  1199. PINMUX_IPSR_MSEL(IP9_6, DU1_DOTCLKIN, SEL_DIS_0),
  1200. PINMUX_IPSR_DATA(IP9_6, QSTVA_QVS),
  1201. PINMUX_IPSR_DATA(IP9_7, DU1_DOTCLKOUT0),
  1202. PINMUX_IPSR_DATA(IP9_7, QCLK),
  1203. PINMUX_IPSR_DATA(IP9_10_8, DU1_DOTCLKOUT1),
  1204. PINMUX_IPSR_DATA(IP9_10_8, QSTVB_QVE),
  1205. PINMUX_IPSR_MSEL(IP9_10_8, CAN0_TX, SEL_CAN0_0),
  1206. PINMUX_IPSR_MSEL(IP9_10_8, TX3_B, SEL_SCIF3_1),
  1207. PINMUX_IPSR_MSEL(IP9_10_8, SCL2_B, SEL_IIC2_1),
  1208. PINMUX_IPSR_DATA(IP9_10_8, PWM4),
  1209. PINMUX_IPSR_DATA(IP9_11, DU1_EXHSYNC_DU1_HSYNC),
  1210. PINMUX_IPSR_DATA(IP9_11, QSTH_QHS),
  1211. PINMUX_IPSR_DATA(IP9_12, DU1_EXVSYNC_DU1_VSYNC),
  1212. PINMUX_IPSR_DATA(IP9_12, QSTB_QHE),
  1213. PINMUX_IPSR_DATA(IP9_15_13, DU1_EXODDF_DU1_ODDF_DISP_CDE),
  1214. PINMUX_IPSR_DATA(IP9_15_13, QCPV_QDE),
  1215. PINMUX_IPSR_MSEL(IP9_15_13, CAN0_RX, SEL_CAN0_0),
  1216. PINMUX_IPSR_MSEL(IP9_15_13, RX3_B, SEL_SCIF3_1),
  1217. PINMUX_IPSR_MSEL(IP9_15_13, SDA2_B, SEL_IIC2_1),
  1218. PINMUX_IPSR_DATA(IP9_16, DU1_DISP),
  1219. PINMUX_IPSR_DATA(IP9_16, QPOLA),
  1220. PINMUX_IPSR_DATA(IP9_18_17, DU1_CDE),
  1221. PINMUX_IPSR_DATA(IP9_18_17, QPOLB),
  1222. PINMUX_IPSR_DATA(IP9_18_17, PWM4_B),
  1223. PINMUX_IPSR_DATA(IP9_20_19, VI0_CLKENB),
  1224. PINMUX_IPSR_MSEL(IP9_20_19, TX4, SEL_SCIF4_0),
  1225. PINMUX_IPSR_MSEL(IP9_20_19, SCIFA4_TXD, SEL_SCIFA4_0),
  1226. PINMUX_IPSR_MSEL(IP9_20_19, TS_SDATA0_D, SEL_TSIF0_3),
  1227. PINMUX_IPSR_DATA(IP9_22_21, VI0_FIELD),
  1228. PINMUX_IPSR_MSEL(IP9_22_21, RX4, SEL_SCIF4_0),
  1229. PINMUX_IPSR_MSEL(IP9_22_21, SCIFA4_RXD, SEL_SCIFA4_0),
  1230. PINMUX_IPSR_MSEL(IP9_22_21, TS_SCK0_D, SEL_TSIF0_3),
  1231. PINMUX_IPSR_DATA(IP9_24_23, VI0_HSYNC_N),
  1232. PINMUX_IPSR_MSEL(IP9_24_23, TX5, SEL_SCIF5_0),
  1233. PINMUX_IPSR_MSEL(IP9_24_23, SCIFA5_TXD, SEL_SCIFA5_0),
  1234. PINMUX_IPSR_MSEL(IP9_24_23, TS_SDEN0_D, SEL_TSIF0_3),
  1235. PINMUX_IPSR_DATA(IP9_26_25, VI0_VSYNC_N),
  1236. PINMUX_IPSR_MSEL(IP9_26_25, RX5, SEL_SCIF5_0),
  1237. PINMUX_IPSR_MSEL(IP9_26_25, SCIFA5_RXD, SEL_SCIFA5_0),
  1238. PINMUX_IPSR_MSEL(IP9_26_25, TS_SPSYNC0_D, SEL_TSIF0_3),
  1239. PINMUX_IPSR_DATA(IP9_28_27, VI0_DATA3_VI0_B3),
  1240. PINMUX_IPSR_MSEL(IP9_28_27, SCIF3_SCK_B, SEL_SCIF3_1),
  1241. PINMUX_IPSR_MSEL(IP9_28_27, SCIFA3_SCK_B, SEL_SCIFA3_1),
  1242. PINMUX_IPSR_DATA(IP9_31_29, VI0_G0),
  1243. PINMUX_IPSR_MSEL(IP9_31_29, SCL8, SEL_IIC8_0),
  1244. PINMUX_IPSR_MSEL(IP9_31_29, STP_IVCXO27_0_C, SEL_SSP_2),
  1245. PINMUX_IPSR_MSEL(IP9_31_29, SCL4, SEL_IIC4_0),
  1246. PINMUX_IPSR_MSEL(IP9_31_29, HCTS2_N, SEL_HSCIF2_0),
  1247. PINMUX_IPSR_MSEL(IP9_31_29, SCIFB2_CTS_N, SEL_SCIFB2_0),
  1248. PINMUX_IPSR_DATA(IP9_31_29, ATAWR1_N),
  1249. /* IPSR10 */
  1250. PINMUX_IPSR_DATA(IP10_2_0, VI0_G1),
  1251. PINMUX_IPSR_MSEL(IP10_2_0, SDA8, SEL_IIC8_0),
  1252. PINMUX_IPSR_MSEL(IP10_2_0, STP_ISCLK_0_C, SEL_SSP_2),
  1253. PINMUX_IPSR_MSEL(IP10_2_0, SDA4, SEL_IIC4_0),
  1254. PINMUX_IPSR_MSEL(IP10_2_0, HRTS2_N, SEL_HSCIF2_0),
  1255. PINMUX_IPSR_MSEL(IP10_2_0, SCIFB2_RTS_N, SEL_SCIFB2_0),
  1256. PINMUX_IPSR_DATA(IP10_2_0, ATADIR1_N),
  1257. PINMUX_IPSR_DATA(IP10_5_3, VI0_G2),
  1258. PINMUX_IPSR_DATA(IP10_5_3, VI2_HSYNC_N),
  1259. PINMUX_IPSR_MSEL(IP10_5_3, STP_ISD_0_C, SEL_SSP_2),
  1260. PINMUX_IPSR_MSEL(IP10_5_3, SCL3_B, SEL_IIC3_1),
  1261. PINMUX_IPSR_MSEL(IP10_5_3, HSCK2, SEL_HSCIF2_0),
  1262. PINMUX_IPSR_MSEL(IP10_5_3, SCIFB2_SCK, SEL_SCIFB2_0),
  1263. PINMUX_IPSR_DATA(IP10_5_3, ATARD1_N),
  1264. PINMUX_IPSR_DATA(IP10_8_6, VI0_G3),
  1265. PINMUX_IPSR_DATA(IP10_8_6, VI2_VSYNC_N),
  1266. PINMUX_IPSR_MSEL(IP10_8_6, STP_ISEN_0_C, SEL_SSP_2),
  1267. PINMUX_IPSR_MSEL(IP10_8_6, SDA3_B, SEL_IIC3_1),
  1268. PINMUX_IPSR_MSEL(IP10_8_6, HRX2, SEL_HSCIF2_0),
  1269. PINMUX_IPSR_MSEL(IP10_8_6, SCIFB2_RXD, SEL_SCIFB2_0),
  1270. PINMUX_IPSR_DATA(IP10_8_6, ATACS01_N),
  1271. PINMUX_IPSR_DATA(IP10_11_9, VI0_G4),
  1272. PINMUX_IPSR_DATA(IP10_11_9, VI2_CLKENB),
  1273. PINMUX_IPSR_MSEL(IP10_11_9, STP_ISSYNC_0_C, SEL_SSP_2),
  1274. PINMUX_IPSR_MSEL(IP10_11_9, HTX2, SEL_HSCIF2_0),
  1275. PINMUX_IPSR_MSEL(IP10_11_9, SCIFB2_TXD, SEL_SCIFB2_0),
  1276. PINMUX_IPSR_MSEL(IP10_11_9, SCIFB0_SCK_D, SEL_SCIFB_3),
  1277. PINMUX_IPSR_DATA(IP10_14_12, VI0_G5),
  1278. PINMUX_IPSR_DATA(IP10_14_12, VI2_FIELD),
  1279. PINMUX_IPSR_MSEL(IP10_14_12, STP_OPWM_0_C, SEL_SSP_2),
  1280. PINMUX_IPSR_MSEL(IP10_14_12, FMCLK_D, SEL_FM_3),
  1281. PINMUX_IPSR_MSEL(IP10_14_12, CAN0_TX_E, SEL_CAN0_4),
  1282. PINMUX_IPSR_MSEL(IP10_14_12, HTX1_D, SEL_HSCIF1_3),
  1283. PINMUX_IPSR_MSEL(IP10_14_12, SCIFB0_TXD_D, SEL_SCIFB_3),
  1284. PINMUX_IPSR_DATA(IP10_16_15, VI0_G6),
  1285. PINMUX_IPSR_DATA(IP10_16_15, VI2_CLK),
  1286. PINMUX_IPSR_MSEL(IP10_16_15, BPFCLK_D, SEL_FM_3),
  1287. PINMUX_IPSR_DATA(IP10_18_17, VI0_G7),
  1288. PINMUX_IPSR_DATA(IP10_18_17, VI2_DATA0),
  1289. PINMUX_IPSR_MSEL(IP10_18_17, FMIN_D, SEL_FM_3),
  1290. PINMUX_IPSR_DATA(IP10_21_19, VI0_R0),
  1291. PINMUX_IPSR_DATA(IP10_21_19, VI2_DATA1),
  1292. PINMUX_IPSR_MSEL(IP10_21_19, GLO_I0_B, SEL_GPS_1),
  1293. PINMUX_IPSR_MSEL(IP10_21_19, TS_SDATA0_C, SEL_TSIF0_2),
  1294. PINMUX_IPSR_DATA(IP10_21_19, ATACS11_N),
  1295. PINMUX_IPSR_DATA(IP10_24_22, VI0_R1),
  1296. PINMUX_IPSR_DATA(IP10_24_22, VI2_DATA2),
  1297. PINMUX_IPSR_MSEL(IP10_24_22, GLO_I1_B, SEL_GPS_1),
  1298. PINMUX_IPSR_MSEL(IP10_24_22, TS_SCK0_C, SEL_TSIF0_2),
  1299. PINMUX_IPSR_DATA(IP10_24_22, ATAG1_N),
  1300. PINMUX_IPSR_DATA(IP10_26_25, VI0_R2),
  1301. PINMUX_IPSR_DATA(IP10_26_25, VI2_DATA3),
  1302. PINMUX_IPSR_MSEL(IP10_26_25, GLO_Q0_B, SEL_GPS_1),
  1303. PINMUX_IPSR_MSEL(IP10_26_25, TS_SDEN0_C, SEL_TSIF0_2),
  1304. PINMUX_IPSR_DATA(IP10_28_27, VI0_R3),
  1305. PINMUX_IPSR_DATA(IP10_28_27, VI2_DATA4),
  1306. PINMUX_IPSR_MSEL(IP10_28_27, GLO_Q1_B, SEL_GPS_1),
  1307. PINMUX_IPSR_MSEL(IP10_28_27, TS_SPSYNC0_C, SEL_TSIF0_2),
  1308. PINMUX_IPSR_DATA(IP10_31_29, VI0_R4),
  1309. PINMUX_IPSR_DATA(IP10_31_29, VI2_DATA5),
  1310. PINMUX_IPSR_MSEL(IP10_31_29, GLO_SCLK_B, SEL_GPS_1),
  1311. PINMUX_IPSR_MSEL(IP10_31_29, TX0_C, SEL_SCIF0_2),
  1312. PINMUX_IPSR_MSEL(IP10_31_29, SCL1_D, SEL_IIC1_3),
  1313. /* IPSR11 */
  1314. PINMUX_IPSR_DATA(IP11_2_0, VI0_R5),
  1315. PINMUX_IPSR_DATA(IP11_2_0, VI2_DATA6),
  1316. PINMUX_IPSR_MSEL(IP11_2_0, GLO_SDATA_B, SEL_GPS_1),
  1317. PINMUX_IPSR_MSEL(IP11_2_0, RX0_C, SEL_SCIF0_2),
  1318. PINMUX_IPSR_MSEL(IP11_2_0, SDA1_D, SEL_IIC1_3),
  1319. PINMUX_IPSR_DATA(IP11_5_3, VI0_R6),
  1320. PINMUX_IPSR_DATA(IP11_5_3, VI2_DATA7),
  1321. PINMUX_IPSR_MSEL(IP11_5_3, GLO_SS_B, SEL_GPS_1),
  1322. PINMUX_IPSR_MSEL(IP11_5_3, TX1_C, SEL_SCIF1_2),
  1323. PINMUX_IPSR_MSEL(IP11_5_3, SCL4_B, SEL_IIC4_1),
  1324. PINMUX_IPSR_DATA(IP11_8_6, VI0_R7),
  1325. PINMUX_IPSR_MSEL(IP11_8_6, GLO_RFON_B, SEL_GPS_1),
  1326. PINMUX_IPSR_MSEL(IP11_8_6, RX1_C, SEL_SCIF1_2),
  1327. PINMUX_IPSR_MSEL(IP11_8_6, CAN0_RX_E, SEL_CAN0_4),
  1328. PINMUX_IPSR_MSEL(IP11_8_6, SDA4_B, SEL_IIC4_1),
  1329. PINMUX_IPSR_MSEL(IP11_8_6, HRX1_D, SEL_HSCIF1_3),
  1330. PINMUX_IPSR_MSEL(IP11_8_6, SCIFB0_RXD_D, SEL_SCIFB_3),
  1331. PINMUX_IPSR_MSEL(IP11_11_9, VI1_HSYNC_N, SEL_VI1_0),
  1332. PINMUX_IPSR_DATA(IP11_11_9, AVB_RXD0),
  1333. PINMUX_IPSR_MSEL(IP11_11_9, TS_SDATA0_B, SEL_TSIF0_1),
  1334. PINMUX_IPSR_MSEL(IP11_11_9, TX4_B, SEL_SCIF4_1),
  1335. PINMUX_IPSR_MSEL(IP11_11_9, SCIFA4_TXD_B, SEL_SCIFA4_1),
  1336. PINMUX_IPSR_MSEL(IP11_14_12, VI1_VSYNC_N, SEL_VI1_0),
  1337. PINMUX_IPSR_DATA(IP11_14_12, AVB_RXD1),
  1338. PINMUX_IPSR_MSEL(IP11_14_12, TS_SCK0_B, SEL_TSIF0_1),
  1339. PINMUX_IPSR_MSEL(IP11_14_12, RX4_B, SEL_SCIF4_1),
  1340. PINMUX_IPSR_MSEL(IP11_14_12, SCIFA4_RXD_B, SEL_SCIFA4_1),
  1341. PINMUX_IPSR_MSEL(IP11_16_15, VI1_CLKENB, SEL_VI1_0),
  1342. PINMUX_IPSR_DATA(IP11_16_15, AVB_RXD2),
  1343. PINMUX_IPSR_MSEL(IP11_16_15, TS_SDEN0_B, SEL_TSIF0_1),
  1344. PINMUX_IPSR_MSEL(IP11_18_17, VI1_FIELD, SEL_VI1_0),
  1345. PINMUX_IPSR_DATA(IP11_18_17, AVB_RXD3),
  1346. PINMUX_IPSR_MSEL(IP11_18_17, TS_SPSYNC0_B, SEL_TSIF0_1),
  1347. PINMUX_IPSR_MSEL(IP11_19, VI1_CLK, SEL_VI1_0),
  1348. PINMUX_IPSR_DATA(IP11_19, AVB_RXD4),
  1349. PINMUX_IPSR_MSEL(IP11_20, VI1_DATA0, SEL_VI1_0),
  1350. PINMUX_IPSR_DATA(IP11_20, AVB_RXD5),
  1351. PINMUX_IPSR_MSEL(IP11_21, VI1_DATA1, SEL_VI1_0),
  1352. PINMUX_IPSR_DATA(IP11_21, AVB_RXD6),
  1353. PINMUX_IPSR_MSEL(IP11_22, VI1_DATA2, SEL_VI1_0),
  1354. PINMUX_IPSR_DATA(IP11_22, AVB_RXD7),
  1355. PINMUX_IPSR_MSEL(IP11_23, VI1_DATA3, SEL_VI1_0),
  1356. PINMUX_IPSR_DATA(IP11_23, AVB_RX_ER),
  1357. PINMUX_IPSR_MSEL(IP11_24, VI1_DATA4, SEL_VI1_0),
  1358. PINMUX_IPSR_DATA(IP11_24, AVB_MDIO),
  1359. PINMUX_IPSR_MSEL(IP11_25, VI1_DATA5, SEL_VI1_0),
  1360. PINMUX_IPSR_DATA(IP11_25, AVB_RX_DV),
  1361. PINMUX_IPSR_MSEL(IP11_26, VI1_DATA6, SEL_VI1_0),
  1362. PINMUX_IPSR_DATA(IP11_26, AVB_MAGIC),
  1363. PINMUX_IPSR_MSEL(IP11_27, VI1_DATA7, SEL_VI1_0),
  1364. PINMUX_IPSR_DATA(IP11_27, AVB_MDC),
  1365. PINMUX_IPSR_DATA(IP11_29_28, ETH_MDIO),
  1366. PINMUX_IPSR_DATA(IP11_29_28, AVB_RX_CLK),
  1367. PINMUX_IPSR_MSEL(IP11_29_28, SCL2_C, SEL_IIC2_2),
  1368. PINMUX_IPSR_DATA(IP11_31_30, ETH_CRS_DV),
  1369. PINMUX_IPSR_DATA(IP11_31_30, AVB_LINK),
  1370. PINMUX_IPSR_MSEL(IP11_31_30, SDA2_C, SEL_IIC2_2),
  1371. /* IPSR12 */
  1372. PINMUX_IPSR_DATA(IP12_1_0, ETH_RX_ER),
  1373. PINMUX_IPSR_DATA(IP12_1_0, AVB_CRS),
  1374. PINMUX_IPSR_MSEL(IP12_1_0, SCL3, SEL_IIC3_0),
  1375. PINMUX_IPSR_MSEL(IP12_1_0, SCL7, SEL_IIC7_0),
  1376. PINMUX_IPSR_DATA(IP12_3_2, ETH_RXD0),
  1377. PINMUX_IPSR_DATA(IP12_3_2, AVB_PHY_INT),
  1378. PINMUX_IPSR_MSEL(IP12_3_2, SDA3, SEL_IIC3_0),
  1379. PINMUX_IPSR_MSEL(IP12_3_2, SDA7, SEL_IIC7_0),
  1380. PINMUX_IPSR_DATA(IP12_6_4, ETH_RXD1),
  1381. PINMUX_IPSR_DATA(IP12_6_4, AVB_GTXREFCLK),
  1382. PINMUX_IPSR_MSEL(IP12_6_4, CAN0_TX_C, SEL_CAN0_2),
  1383. PINMUX_IPSR_MSEL(IP12_6_4, SCL2_D, SEL_IIC2_3),
  1384. PINMUX_IPSR_MSEL(IP12_6_4, MSIOF1_RXD_E, SEL_SOF1_4),
  1385. PINMUX_IPSR_DATA(IP12_9_7, ETH_LINK),
  1386. PINMUX_IPSR_DATA(IP12_9_7, AVB_TXD0),
  1387. PINMUX_IPSR_MSEL(IP12_9_7, CAN0_RX_C, SEL_CAN0_2),
  1388. PINMUX_IPSR_MSEL(IP12_9_7, SDA2_D, SEL_IIC2_3),
  1389. PINMUX_IPSR_MSEL(IP12_9_7, MSIOF1_SCK_E, SEL_SOF1_4),
  1390. PINMUX_IPSR_DATA(IP12_12_10, ETH_REFCLK),
  1391. PINMUX_IPSR_DATA(IP12_12_10, AVB_TXD1),
  1392. PINMUX_IPSR_MSEL(IP12_12_10, SCIFA3_RXD_B, SEL_SCIFA3_1),
  1393. PINMUX_IPSR_MSEL(IP12_12_10, CAN1_RX_C, SEL_CAN1_2),
  1394. PINMUX_IPSR_MSEL(IP12_12_10, MSIOF1_SYNC_E, SEL_SOF1_4),
  1395. PINMUX_IPSR_DATA(IP12_15_13, ETH_TXD1),
  1396. PINMUX_IPSR_DATA(IP12_15_13, AVB_TXD2),
  1397. PINMUX_IPSR_MSEL(IP12_15_13, SCIFA3_TXD_B, SEL_SCIFA3_1),
  1398. PINMUX_IPSR_MSEL(IP12_15_13, CAN1_TX_C, SEL_CAN1_2),
  1399. PINMUX_IPSR_MSEL(IP12_15_13, MSIOF1_TXD_E, SEL_SOF1_4),
  1400. PINMUX_IPSR_DATA(IP12_17_16, ETH_TX_EN),
  1401. PINMUX_IPSR_DATA(IP12_17_16, AVB_TXD3),
  1402. PINMUX_IPSR_MSEL(IP12_17_16, TCLK1_B, SEL_TMU1_0),
  1403. PINMUX_IPSR_MSEL(IP12_17_16, CAN_CLK_B, SEL_CANCLK_1),
  1404. PINMUX_IPSR_DATA(IP12_19_18, ETH_MAGIC),
  1405. PINMUX_IPSR_DATA(IP12_19_18, AVB_TXD4),
  1406. PINMUX_IPSR_MSEL(IP12_19_18, IETX_C, SEL_IEB_2),
  1407. PINMUX_IPSR_DATA(IP12_21_20, ETH_TXD0),
  1408. PINMUX_IPSR_DATA(IP12_21_20, AVB_TXD5),
  1409. PINMUX_IPSR_MSEL(IP12_21_20, IECLK_C, SEL_IEB_2),
  1410. PINMUX_IPSR_DATA(IP12_23_22, ETH_MDC),
  1411. PINMUX_IPSR_DATA(IP12_23_22, AVB_TXD6),
  1412. PINMUX_IPSR_MSEL(IP12_23_22, IERX_C, SEL_IEB_2),
  1413. PINMUX_IPSR_MSEL(IP12_26_24, STP_IVCXO27_0, SEL_SSP_0),
  1414. PINMUX_IPSR_DATA(IP12_26_24, AVB_TXD7),
  1415. PINMUX_IPSR_MSEL(IP12_26_24, SCIFB2_TXD_D, SEL_SCIFB2_3),
  1416. PINMUX_IPSR_MSEL(IP12_26_24, ADIDATA_B, SEL_RAD_1),
  1417. PINMUX_IPSR_MSEL(IP12_26_24, MSIOF0_SYNC_C, SEL_SOF0_2),
  1418. PINMUX_IPSR_MSEL(IP12_29_27, STP_ISCLK_0, SEL_SSP_0),
  1419. PINMUX_IPSR_DATA(IP12_29_27, AVB_TX_EN),
  1420. PINMUX_IPSR_MSEL(IP12_29_27, SCIFB2_RXD_D, SEL_SCIFB2_3),
  1421. PINMUX_IPSR_MSEL(IP12_29_27, ADICS_SAMP_B, SEL_RAD_1),
  1422. PINMUX_IPSR_MSEL(IP12_29_27, MSIOF0_SCK_C, SEL_SOF0_2),
  1423. /* IPSR13 */
  1424. PINMUX_IPSR_MSEL(IP13_2_0, STP_ISD_0, SEL_SSP_0),
  1425. PINMUX_IPSR_DATA(IP13_2_0, AVB_TX_ER),
  1426. PINMUX_IPSR_MSEL(IP13_2_0, SCIFB2_SCK_C, SEL_SCIFB2_2),
  1427. PINMUX_IPSR_MSEL(IP13_2_0, ADICLK_B, SEL_RAD_1),
  1428. PINMUX_IPSR_MSEL(IP13_2_0, MSIOF0_SS1_C, SEL_SOF0_2),
  1429. PINMUX_IPSR_MSEL(IP13_4_3, STP_ISEN_0, SEL_SSP_0),
  1430. PINMUX_IPSR_DATA(IP13_4_3, AVB_TX_CLK),
  1431. PINMUX_IPSR_MSEL(IP13_4_3, ADICHS0_B, SEL_RAD_1),
  1432. PINMUX_IPSR_MSEL(IP13_4_3, MSIOF0_SS2_C, SEL_SOF0_2),
  1433. PINMUX_IPSR_MSEL(IP13_6_5, STP_ISSYNC_0, SEL_SSP_0),
  1434. PINMUX_IPSR_DATA(IP13_6_5, AVB_COL),
  1435. PINMUX_IPSR_MSEL(IP13_6_5, ADICHS1_B, SEL_RAD_1),
  1436. PINMUX_IPSR_MSEL(IP13_6_5, MSIOF0_RXD_C, SEL_SOF0_2),
  1437. PINMUX_IPSR_MSEL(IP13_9_7, STP_OPWM_0, SEL_SSP_0),
  1438. PINMUX_IPSR_DATA(IP13_9_7, AVB_GTX_CLK),
  1439. PINMUX_IPSR_DATA(IP13_9_7, PWM0_B),
  1440. PINMUX_IPSR_MSEL(IP13_9_7, ADICHS2_B, SEL_RAD_1),
  1441. PINMUX_IPSR_MSEL(IP13_9_7, MSIOF0_TXD_C, SEL_SOF0_2),
  1442. PINMUX_IPSR_DATA(IP13_10, SD0_CLK),
  1443. PINMUX_IPSR_MSEL(IP13_10, SPCLK_B, SEL_QSP_1),
  1444. PINMUX_IPSR_DATA(IP13_11, SD0_CMD),
  1445. PINMUX_IPSR_MSEL(IP13_11, MOSI_IO0_B, SEL_QSP_1),
  1446. PINMUX_IPSR_DATA(IP13_12, SD0_DATA0),
  1447. PINMUX_IPSR_MSEL(IP13_12, MISO_IO1_B, SEL_QSP_1),
  1448. PINMUX_IPSR_DATA(IP13_13, SD0_DATA1),
  1449. PINMUX_IPSR_MSEL(IP13_13, IO2_B, SEL_QSP_1),
  1450. PINMUX_IPSR_DATA(IP13_14, SD0_DATA2),
  1451. PINMUX_IPSR_MSEL(IP13_14, IO3_B, SEL_QSP_1),
  1452. PINMUX_IPSR_DATA(IP13_15, SD0_DATA3),
  1453. PINMUX_IPSR_MSEL(IP13_15, SSL_B, SEL_QSP_1),
  1454. PINMUX_IPSR_DATA(IP13_18_16, SD0_CD),
  1455. PINMUX_IPSR_MSEL(IP13_18_16, MMC_D6_B, SEL_MMC_1),
  1456. PINMUX_IPSR_MSEL(IP13_18_16, SIM0_RST_B, SEL_SIM_1),
  1457. PINMUX_IPSR_MSEL(IP13_18_16, CAN0_RX_F, SEL_CAN0_5),
  1458. PINMUX_IPSR_MSEL(IP13_18_16, SCIFA5_TXD_B, SEL_SCIFA5_1),
  1459. PINMUX_IPSR_MSEL(IP13_18_16, TX3_C, SEL_SCIF3_2),
  1460. PINMUX_IPSR_DATA(IP13_21_19, SD0_WP),
  1461. PINMUX_IPSR_MSEL(IP13_21_19, MMC_D7_B, SEL_MMC_1),
  1462. PINMUX_IPSR_MSEL(IP13_21_19, SIM0_D_B, SEL_SIM_1),
  1463. PINMUX_IPSR_MSEL(IP13_21_19, CAN0_TX_F, SEL_CAN0_5),
  1464. PINMUX_IPSR_MSEL(IP13_21_19, SCIFA5_RXD_B, SEL_SCIFA5_1),
  1465. PINMUX_IPSR_MSEL(IP13_21_19, RX3_C, SEL_SCIF3_2),
  1466. PINMUX_IPSR_DATA(IP13_22, SD1_CMD),
  1467. PINMUX_IPSR_MSEL(IP13_22, REMOCON_B, SEL_RCN_1),
  1468. PINMUX_IPSR_DATA(IP13_24_23, SD1_DATA0),
  1469. PINMUX_IPSR_MSEL(IP13_24_23, SPEEDIN_B, SEL_RSP_1),
  1470. PINMUX_IPSR_DATA(IP13_25, SD1_DATA1),
  1471. PINMUX_IPSR_MSEL(IP13_25, IETX_B, SEL_IEB_1),
  1472. PINMUX_IPSR_DATA(IP13_26, SD1_DATA2),
  1473. PINMUX_IPSR_MSEL(IP13_26, IECLK_B, SEL_IEB_1),
  1474. PINMUX_IPSR_DATA(IP13_27, SD1_DATA3),
  1475. PINMUX_IPSR_MSEL(IP13_27, IERX_B, SEL_IEB_1),
  1476. PINMUX_IPSR_DATA(IP13_30_28, SD1_CD),
  1477. PINMUX_IPSR_DATA(IP13_30_28, PWM0),
  1478. PINMUX_IPSR_DATA(IP13_30_28, TPU_TO0),
  1479. PINMUX_IPSR_MSEL(IP13_30_28, SCL1_C, SEL_IIC1_2),
  1480. /* IPSR14 */
  1481. PINMUX_IPSR_DATA(IP14_1_0, SD1_WP),
  1482. PINMUX_IPSR_DATA(IP14_1_0, PWM1_B),
  1483. PINMUX_IPSR_MSEL(IP14_1_0, SDA1_C, SEL_IIC1_2),
  1484. PINMUX_IPSR_DATA(IP14_2, SD2_CLK),
  1485. PINMUX_IPSR_DATA(IP14_2, MMC_CLK),
  1486. PINMUX_IPSR_DATA(IP14_3, SD2_CMD),
  1487. PINMUX_IPSR_DATA(IP14_3, MMC_CMD),
  1488. PINMUX_IPSR_DATA(IP14_4, SD2_DATA0),
  1489. PINMUX_IPSR_DATA(IP14_4, MMC_D0),
  1490. PINMUX_IPSR_DATA(IP14_5, SD2_DATA1),
  1491. PINMUX_IPSR_DATA(IP14_5, MMC_D1),
  1492. PINMUX_IPSR_DATA(IP14_6, SD2_DATA2),
  1493. PINMUX_IPSR_DATA(IP14_6, MMC_D2),
  1494. PINMUX_IPSR_DATA(IP14_7, SD2_DATA3),
  1495. PINMUX_IPSR_DATA(IP14_7, MMC_D3),
  1496. PINMUX_IPSR_DATA(IP14_10_8, SD2_CD),
  1497. PINMUX_IPSR_DATA(IP14_10_8, MMC_D4),
  1498. PINMUX_IPSR_MSEL(IP14_10_8, SCL8_C, SEL_IIC8_2),
  1499. PINMUX_IPSR_MSEL(IP14_10_8, TX5_B, SEL_SCIF5_1),
  1500. PINMUX_IPSR_MSEL(IP14_10_8, SCIFA5_TXD_C, SEL_SCIFA5_2),
  1501. PINMUX_IPSR_DATA(IP14_13_11, SD2_WP),
  1502. PINMUX_IPSR_DATA(IP14_13_11, MMC_D5),
  1503. PINMUX_IPSR_MSEL(IP14_13_11, SDA8_C, SEL_IIC8_2),
  1504. PINMUX_IPSR_MSEL(IP14_13_11, RX5_B, SEL_SCIF5_1),
  1505. PINMUX_IPSR_MSEL(IP14_13_11, SCIFA5_RXD_C, SEL_SCIFA5_2),
  1506. PINMUX_IPSR_MSEL(IP14_16_14, MSIOF0_SCK, SEL_SOF0_0),
  1507. PINMUX_IPSR_MSEL(IP14_16_14, RX2_C, SEL_SCIF2_2),
  1508. PINMUX_IPSR_MSEL(IP14_16_14, ADIDATA, SEL_RAD_0),
  1509. PINMUX_IPSR_MSEL(IP14_16_14, VI1_CLK_C, SEL_VI1_2),
  1510. PINMUX_IPSR_DATA(IP14_16_14, VI1_G0_B),
  1511. PINMUX_IPSR_MSEL(IP14_19_17, MSIOF0_SYNC, SEL_SOF0_0),
  1512. PINMUX_IPSR_MSEL(IP14_19_17, TX2_C, SEL_SCIF2_2),
  1513. PINMUX_IPSR_MSEL(IP14_19_17, ADICS_SAMP, SEL_RAD_0),
  1514. PINMUX_IPSR_MSEL(IP14_19_17, VI1_CLKENB_C, SEL_VI1_2),
  1515. PINMUX_IPSR_DATA(IP14_19_17, VI1_G1_B),
  1516. PINMUX_IPSR_MSEL(IP14_22_20, MSIOF0_TXD, SEL_SOF0_0),
  1517. PINMUX_IPSR_MSEL(IP14_22_20, ADICLK, SEL_RAD_0),
  1518. PINMUX_IPSR_MSEL(IP14_22_20, VI1_FIELD_C, SEL_VI1_2),
  1519. PINMUX_IPSR_DATA(IP14_22_20, VI1_G2_B),
  1520. PINMUX_IPSR_MSEL(IP14_25_23, MSIOF0_RXD, SEL_SOF0_0),
  1521. PINMUX_IPSR_MSEL(IP14_25_23, ADICHS0, SEL_RAD_0),
  1522. PINMUX_IPSR_MSEL(IP14_25_23, VI1_DATA0_C, SEL_VI1_2),
  1523. PINMUX_IPSR_DATA(IP14_25_23, VI1_G3_B),
  1524. PINMUX_IPSR_MSEL(IP14_28_26, MSIOF0_SS1, SEL_SOF0_0),
  1525. PINMUX_IPSR_MSEL(IP14_28_26, MMC_D6, SEL_MMC_0),
  1526. PINMUX_IPSR_MSEL(IP14_28_26, ADICHS1, SEL_RAD_0),
  1527. PINMUX_IPSR_MSEL(IP14_28_26, TX0_E, SEL_SCIF0_4),
  1528. PINMUX_IPSR_MSEL(IP14_28_26, VI1_HSYNC_N_C, SEL_VI1_2),
  1529. PINMUX_IPSR_MSEL(IP14_28_26, SCL7_C, SEL_IIC7_2),
  1530. PINMUX_IPSR_DATA(IP14_28_26, VI1_G4_B),
  1531. PINMUX_IPSR_MSEL(IP14_31_29, MSIOF0_SS2, SEL_SOF0_0),
  1532. PINMUX_IPSR_MSEL(IP14_31_29, MMC_D7, SEL_MMC_0),
  1533. PINMUX_IPSR_MSEL(IP14_31_29, ADICHS2, SEL_RAD_0),
  1534. PINMUX_IPSR_MSEL(IP14_31_29, RX0_E, SEL_SCIF0_4),
  1535. PINMUX_IPSR_MSEL(IP14_31_29, VI1_VSYNC_N_C, SEL_VI1_2),
  1536. PINMUX_IPSR_MSEL(IP14_31_29, SDA7_C, SEL_IIC7_2),
  1537. PINMUX_IPSR_DATA(IP14_31_29, VI1_G5_B),
  1538. /* IPSR15 */
  1539. PINMUX_IPSR_MSEL(IP15_1_0, SIM0_RST, SEL_SIM_0),
  1540. PINMUX_IPSR_MSEL(IP15_1_0, IETX, SEL_IEB_0),
  1541. PINMUX_IPSR_MSEL(IP15_1_0, CAN1_TX_D, SEL_CAN1_3),
  1542. PINMUX_IPSR_DATA(IP15_3_2, SIM0_CLK),
  1543. PINMUX_IPSR_MSEL(IP15_3_2, IECLK, SEL_IEB_0),
  1544. PINMUX_IPSR_MSEL(IP15_3_2, CAN_CLK_C, SEL_CANCLK_2),
  1545. PINMUX_IPSR_MSEL(IP15_5_4, SIM0_D, SEL_SIM_0),
  1546. PINMUX_IPSR_MSEL(IP15_5_4, IERX, SEL_IEB_0),
  1547. PINMUX_IPSR_MSEL(IP15_5_4, CAN1_RX_D, SEL_CAN1_3),
  1548. PINMUX_IPSR_MSEL(IP15_8_6, GPS_CLK, SEL_GPS_0),
  1549. PINMUX_IPSR_MSEL(IP15_8_6, DU1_DOTCLKIN_C, SEL_DIS_2),
  1550. PINMUX_IPSR_MSEL(IP15_8_6, AUDIO_CLKB_B, SEL_ADG_1),
  1551. PINMUX_IPSR_DATA(IP15_8_6, PWM5_B),
  1552. PINMUX_IPSR_MSEL(IP15_8_6, SCIFA3_TXD_C, SEL_SCIFA3_2),
  1553. PINMUX_IPSR_MSEL(IP15_11_9, GPS_SIGN, SEL_GPS_0),
  1554. PINMUX_IPSR_MSEL(IP15_11_9, TX4_C, SEL_SCIF4_2),
  1555. PINMUX_IPSR_MSEL(IP15_11_9, SCIFA4_TXD_C, SEL_SCIFA4_2),
  1556. PINMUX_IPSR_DATA(IP15_11_9, PWM5),
  1557. PINMUX_IPSR_DATA(IP15_11_9, VI1_G6_B),
  1558. PINMUX_IPSR_MSEL(IP15_11_9, SCIFA3_RXD_C, SEL_SCIFA3_2),
  1559. PINMUX_IPSR_MSEL(IP15_14_12, GPS_MAG, SEL_GPS_0),
  1560. PINMUX_IPSR_MSEL(IP15_14_12, RX4_C, SEL_SCIF4_2),
  1561. PINMUX_IPSR_MSEL(IP15_14_12, SCIFA4_RXD_C, SEL_SCIFA4_2),
  1562. PINMUX_IPSR_DATA(IP15_14_12, PWM6),
  1563. PINMUX_IPSR_DATA(IP15_14_12, VI1_G7_B),
  1564. PINMUX_IPSR_MSEL(IP15_14_12, SCIFA3_SCK_C, SEL_SCIFA3_2),
  1565. PINMUX_IPSR_MSEL(IP15_17_15, HCTS0_N, SEL_HSCIF0_0),
  1566. PINMUX_IPSR_MSEL(IP15_17_15, SCIFB0_CTS_N, SEL_SCIFB_0),
  1567. PINMUX_IPSR_MSEL(IP15_17_15, GLO_I0_C, SEL_GPS_2),
  1568. PINMUX_IPSR_MSEL(IP15_17_15, TCLK1, SEL_TMU1_0),
  1569. PINMUX_IPSR_MSEL(IP15_17_15, VI1_DATA1_C, SEL_VI1_2),
  1570. PINMUX_IPSR_MSEL(IP15_20_18, HRTS0_N, SEL_HSCIF0_0),
  1571. PINMUX_IPSR_MSEL(IP15_20_18, SCIFB0_RTS_N, SEL_SCIFB_0),
  1572. PINMUX_IPSR_MSEL(IP15_20_18, GLO_I1_C, SEL_GPS_2),
  1573. PINMUX_IPSR_MSEL(IP15_20_18, VI1_DATA2_C, SEL_VI1_2),
  1574. PINMUX_IPSR_MSEL(IP15_23_21, HSCK0, SEL_HSCIF0_0),
  1575. PINMUX_IPSR_MSEL(IP15_23_21, SCIFB0_SCK, SEL_SCIFB_0),
  1576. PINMUX_IPSR_MSEL(IP15_23_21, GLO_Q0_C, SEL_GPS_2),
  1577. PINMUX_IPSR_MSEL(IP15_23_21, CAN_CLK, SEL_CANCLK_0),
  1578. PINMUX_IPSR_DATA(IP15_23_21, TCLK2),
  1579. PINMUX_IPSR_MSEL(IP15_23_21, VI1_DATA3_C, SEL_VI1_2),
  1580. PINMUX_IPSR_MSEL(IP15_26_24, HRX0, SEL_HSCIF0_0),
  1581. PINMUX_IPSR_MSEL(IP15_26_24, SCIFB0_RXD, SEL_SCIFB_0),
  1582. PINMUX_IPSR_MSEL(IP15_26_24, GLO_Q1_C, SEL_GPS_2),
  1583. PINMUX_IPSR_MSEL(IP15_26_24, CAN0_RX_B, SEL_CAN0_1),
  1584. PINMUX_IPSR_MSEL(IP15_26_24, VI1_DATA4_C, SEL_VI1_2),
  1585. PINMUX_IPSR_MSEL(IP15_29_27, HTX0, SEL_HSCIF0_0),
  1586. PINMUX_IPSR_MSEL(IP15_29_27, SCIFB0_TXD, SEL_SCIFB_0),
  1587. PINMUX_IPSR_MSEL(IP15_29_27, GLO_SCLK_C, SEL_GPS_2),
  1588. PINMUX_IPSR_MSEL(IP15_29_27, CAN0_TX_B, SEL_CAN0_1),
  1589. PINMUX_IPSR_MSEL(IP15_29_27, VI1_DATA5_C, SEL_VI1_2),
  1590. /* IPSR16 */
  1591. PINMUX_IPSR_MSEL(IP16_2_0, HRX1, SEL_HSCIF1_0),
  1592. PINMUX_IPSR_MSEL(IP16_2_0, SCIFB1_RXD, SEL_SCIFB1_0),
  1593. PINMUX_IPSR_DATA(IP16_2_0, VI1_R0_B),
  1594. PINMUX_IPSR_MSEL(IP16_2_0, GLO_SDATA_C, SEL_GPS_2),
  1595. PINMUX_IPSR_MSEL(IP16_2_0, VI1_DATA6_C, SEL_VI1_2),
  1596. PINMUX_IPSR_MSEL(IP16_5_3, HTX1, SEL_HSCIF1_0),
  1597. PINMUX_IPSR_MSEL(IP16_5_3, SCIFB1_TXD, SEL_SCIFB1_0),
  1598. PINMUX_IPSR_DATA(IP16_5_3, VI1_R1_B),
  1599. PINMUX_IPSR_MSEL(IP16_5_3, GLO_SS_C, SEL_GPS_2),
  1600. PINMUX_IPSR_MSEL(IP16_5_3, VI1_DATA7_C, SEL_VI1_2),
  1601. PINMUX_IPSR_MSEL(IP16_7_6, HSCK1, SEL_HSCIF1_0),
  1602. PINMUX_IPSR_MSEL(IP16_7_6, SCIFB1_SCK, SEL_SCIFB1_0),
  1603. PINMUX_IPSR_DATA(IP16_7_6, MLB_CLK),
  1604. PINMUX_IPSR_MSEL(IP16_7_6, GLO_RFON_C, SEL_GPS_2),
  1605. PINMUX_IPSR_MSEL(IP16_9_8, HCTS1_N, SEL_HSCIF1_0),
  1606. PINMUX_IPSR_DATA(IP16_9_8, SCIFB1_CTS_N),
  1607. PINMUX_IPSR_DATA(IP16_9_8, MLB_SIG),
  1608. PINMUX_IPSR_MSEL(IP16_9_8, CAN1_TX_B, SEL_CAN1_1),
  1609. PINMUX_IPSR_MSEL(IP16_11_10, HRTS1_N, SEL_HSCIF1_0),
  1610. PINMUX_IPSR_DATA(IP16_11_10, SCIFB1_RTS_N),
  1611. PINMUX_IPSR_DATA(IP16_11_10, MLB_DAT),
  1612. PINMUX_IPSR_MSEL(IP16_11_10, CAN1_RX_B, SEL_CAN1_1),
  1613. };
  1614. static const struct sh_pfc_pin pinmux_pins[] = {
  1615. PINMUX_GPIO_GP_ALL(),
  1616. };
  1617. /* - Audio Clock ------------------------------------------------------------ */
  1618. static const unsigned int audio_clk_a_pins[] = {
  1619. /* CLK */
  1620. RCAR_GP_PIN(2, 28),
  1621. };
  1622. static const unsigned int audio_clk_a_mux[] = {
  1623. AUDIO_CLKA_MARK,
  1624. };
  1625. static const unsigned int audio_clk_b_pins[] = {
  1626. /* CLK */
  1627. RCAR_GP_PIN(2, 29),
  1628. };
  1629. static const unsigned int audio_clk_b_mux[] = {
  1630. AUDIO_CLKB_MARK,
  1631. };
  1632. static const unsigned int audio_clk_b_b_pins[] = {
  1633. /* CLK */
  1634. RCAR_GP_PIN(7, 20),
  1635. };
  1636. static const unsigned int audio_clk_b_b_mux[] = {
  1637. AUDIO_CLKB_B_MARK,
  1638. };
  1639. static const unsigned int audio_clk_c_pins[] = {
  1640. /* CLK */
  1641. RCAR_GP_PIN(2, 30),
  1642. };
  1643. static const unsigned int audio_clk_c_mux[] = {
  1644. AUDIO_CLKC_MARK,
  1645. };
  1646. static const unsigned int audio_clkout_pins[] = {
  1647. /* CLK */
  1648. RCAR_GP_PIN(2, 31),
  1649. };
  1650. static const unsigned int audio_clkout_mux[] = {
  1651. AUDIO_CLKOUT_MARK,
  1652. };
  1653. /* - CAN -------------------------------------------------------------------- */
  1654. static const unsigned int can0_data_pins[] = {
  1655. /* TX, RX */
  1656. RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 29),
  1657. };
  1658. static const unsigned int can0_data_mux[] = {
  1659. CAN0_TX_MARK, CAN0_RX_MARK,
  1660. };
  1661. static const unsigned int can0_data_b_pins[] = {
  1662. /* TX, RX */
  1663. RCAR_GP_PIN(7, 4), RCAR_GP_PIN(7, 3),
  1664. };
  1665. static const unsigned int can0_data_b_mux[] = {
  1666. CAN0_TX_B_MARK, CAN0_RX_B_MARK,
  1667. };
  1668. static const unsigned int can0_data_c_pins[] = {
  1669. /* TX, RX */
  1670. RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 18),
  1671. };
  1672. static const unsigned int can0_data_c_mux[] = {
  1673. CAN0_TX_C_MARK, CAN0_RX_C_MARK,
  1674. };
  1675. static const unsigned int can0_data_d_pins[] = {
  1676. /* TX, RX */
  1677. RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 27),
  1678. };
  1679. static const unsigned int can0_data_d_mux[] = {
  1680. CAN0_TX_D_MARK, CAN0_RX_D_MARK,
  1681. };
  1682. static const unsigned int can0_data_e_pins[] = {
  1683. /* TX, RX */
  1684. RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 28),
  1685. };
  1686. static const unsigned int can0_data_e_mux[] = {
  1687. CAN0_TX_E_MARK, CAN0_RX_E_MARK,
  1688. };
  1689. static const unsigned int can0_data_f_pins[] = {
  1690. /* TX, RX */
  1691. RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
  1692. };
  1693. static const unsigned int can0_data_f_mux[] = {
  1694. CAN0_TX_F_MARK, CAN0_RX_F_MARK,
  1695. };
  1696. static const unsigned int can1_data_pins[] = {
  1697. /* TX, RX */
  1698. RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 20),
  1699. };
  1700. static const unsigned int can1_data_mux[] = {
  1701. CAN1_TX_MARK, CAN1_RX_MARK,
  1702. };
  1703. static const unsigned int can1_data_b_pins[] = {
  1704. /* TX, RX */
  1705. RCAR_GP_PIN(7, 8), RCAR_GP_PIN(7, 9),
  1706. };
  1707. static const unsigned int can1_data_b_mux[] = {
  1708. CAN1_TX_B_MARK, CAN1_RX_B_MARK,
  1709. };
  1710. static const unsigned int can1_data_c_pins[] = {
  1711. /* TX, RX */
  1712. RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 19),
  1713. };
  1714. static const unsigned int can1_data_c_mux[] = {
  1715. CAN1_TX_C_MARK, CAN1_RX_C_MARK,
  1716. };
  1717. static const unsigned int can1_data_d_pins[] = {
  1718. /* TX, RX */
  1719. RCAR_GP_PIN(4, 29), RCAR_GP_PIN(4, 31),
  1720. };
  1721. static const unsigned int can1_data_d_mux[] = {
  1722. CAN1_TX_D_MARK, CAN1_RX_D_MARK,
  1723. };
  1724. static const unsigned int can_clk_pins[] = {
  1725. /* CLK */
  1726. RCAR_GP_PIN(7, 2),
  1727. };
  1728. static const unsigned int can_clk_mux[] = {
  1729. CAN_CLK_MARK,
  1730. };
  1731. static const unsigned int can_clk_b_pins[] = {
  1732. /* CLK */
  1733. RCAR_GP_PIN(5, 21),
  1734. };
  1735. static const unsigned int can_clk_b_mux[] = {
  1736. CAN_CLK_B_MARK,
  1737. };
  1738. static const unsigned int can_clk_c_pins[] = {
  1739. /* CLK */
  1740. RCAR_GP_PIN(4, 30),
  1741. };
  1742. static const unsigned int can_clk_c_mux[] = {
  1743. CAN_CLK_C_MARK,
  1744. };
  1745. static const unsigned int can_clk_d_pins[] = {
  1746. /* CLK */
  1747. RCAR_GP_PIN(7, 19),
  1748. };
  1749. static const unsigned int can_clk_d_mux[] = {
  1750. CAN_CLK_D_MARK,
  1751. };
  1752. /* - DU --------------------------------------------------------------------- */
  1753. static const unsigned int du_rgb666_pins[] = {
  1754. /* R[7:2], G[7:2], B[7:2] */
  1755. RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 5),
  1756. RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2),
  1757. RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
  1758. RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 10),
  1759. RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
  1760. RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 18),
  1761. };
  1762. static const unsigned int du_rgb666_mux[] = {
  1763. DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
  1764. DU1_DR3_MARK, DU1_DR2_MARK,
  1765. DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
  1766. DU1_DG3_MARK, DU1_DG2_MARK,
  1767. DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
  1768. DU1_DB3_MARK, DU1_DB2_MARK,
  1769. };
  1770. static const unsigned int du_rgb888_pins[] = {
  1771. /* R[7:0], G[7:0], B[7:0] */
  1772. RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 5),
  1773. RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2),
  1774. RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
  1775. RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
  1776. RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 10),
  1777. RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
  1778. RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
  1779. RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 18),
  1780. RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
  1781. };
  1782. static const unsigned int du_rgb888_mux[] = {
  1783. DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
  1784. DU1_DR3_MARK, DU1_DR2_MARK, DU1_DR1_MARK, DU1_DR0_MARK,
  1785. DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
  1786. DU1_DG3_MARK, DU1_DG2_MARK, DU1_DG1_MARK, DU1_DG0_MARK,
  1787. DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
  1788. DU1_DB3_MARK, DU1_DB2_MARK, DU1_DB1_MARK, DU1_DB0_MARK,
  1789. };
  1790. static const unsigned int du_clk_out_0_pins[] = {
  1791. /* CLKOUT */
  1792. RCAR_GP_PIN(3, 25),
  1793. };
  1794. static const unsigned int du_clk_out_0_mux[] = {
  1795. DU1_DOTCLKOUT0_MARK
  1796. };
  1797. static const unsigned int du_clk_out_1_pins[] = {
  1798. /* CLKOUT */
  1799. RCAR_GP_PIN(3, 26),
  1800. };
  1801. static const unsigned int du_clk_out_1_mux[] = {
  1802. DU1_DOTCLKOUT1_MARK
  1803. };
  1804. static const unsigned int du_sync_pins[] = {
  1805. /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */
  1806. RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 27),
  1807. };
  1808. static const unsigned int du_sync_mux[] = {
  1809. DU1_EXVSYNC_DU1_VSYNC_MARK, DU1_EXHSYNC_DU1_HSYNC_MARK
  1810. };
  1811. static const unsigned int du_oddf_pins[] = {
  1812. /* EXDISP/EXODDF/EXCDE */
  1813. RCAR_GP_PIN(3, 29),
  1814. };
  1815. static const unsigned int du_oddf_mux[] = {
  1816. DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK,
  1817. };
  1818. static const unsigned int du_cde_pins[] = {
  1819. /* CDE */
  1820. RCAR_GP_PIN(3, 31),
  1821. };
  1822. static const unsigned int du_cde_mux[] = {
  1823. DU1_CDE_MARK,
  1824. };
  1825. static const unsigned int du_disp_pins[] = {
  1826. /* DISP */
  1827. RCAR_GP_PIN(3, 30),
  1828. };
  1829. static const unsigned int du_disp_mux[] = {
  1830. DU1_DISP_MARK,
  1831. };
  1832. static const unsigned int du0_clk_in_pins[] = {
  1833. /* CLKIN */
  1834. RCAR_GP_PIN(6, 31),
  1835. };
  1836. static const unsigned int du0_clk_in_mux[] = {
  1837. DU0_DOTCLKIN_MARK
  1838. };
  1839. static const unsigned int du1_clk_in_pins[] = {
  1840. /* CLKIN */
  1841. RCAR_GP_PIN(3, 24),
  1842. };
  1843. static const unsigned int du1_clk_in_mux[] = {
  1844. DU1_DOTCLKIN_MARK
  1845. };
  1846. static const unsigned int du1_clk_in_b_pins[] = {
  1847. /* CLKIN */
  1848. RCAR_GP_PIN(7, 19),
  1849. };
  1850. static const unsigned int du1_clk_in_b_mux[] = {
  1851. DU1_DOTCLKIN_B_MARK,
  1852. };
  1853. static const unsigned int du1_clk_in_c_pins[] = {
  1854. /* CLKIN */
  1855. RCAR_GP_PIN(7, 20),
  1856. };
  1857. static const unsigned int du1_clk_in_c_mux[] = {
  1858. DU1_DOTCLKIN_C_MARK,
  1859. };
  1860. /* - ETH -------------------------------------------------------------------- */
  1861. static const unsigned int eth_link_pins[] = {
  1862. /* LINK */
  1863. RCAR_GP_PIN(5, 18),
  1864. };
  1865. static const unsigned int eth_link_mux[] = {
  1866. ETH_LINK_MARK,
  1867. };
  1868. static const unsigned int eth_magic_pins[] = {
  1869. /* MAGIC */
  1870. RCAR_GP_PIN(5, 22),
  1871. };
  1872. static const unsigned int eth_magic_mux[] = {
  1873. ETH_MAGIC_MARK,
  1874. };
  1875. static const unsigned int eth_mdio_pins[] = {
  1876. /* MDC, MDIO */
  1877. RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 13),
  1878. };
  1879. static const unsigned int eth_mdio_mux[] = {
  1880. ETH_MDC_MARK, ETH_MDIO_MARK,
  1881. };
  1882. static const unsigned int eth_rmii_pins[] = {
  1883. /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
  1884. RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 15),
  1885. RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 23), RCAR_GP_PIN(5, 20),
  1886. RCAR_GP_PIN(5, 21), RCAR_GP_PIN(5, 19),
  1887. };
  1888. static const unsigned int eth_rmii_mux[] = {
  1889. ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_RX_ER_MARK, ETH_CRS_DV_MARK,
  1890. ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REFCLK_MARK,
  1891. };
  1892. /* - HSCIF0 ----------------------------------------------------------------- */
  1893. static const unsigned int hscif0_data_pins[] = {
  1894. /* RX, TX */
  1895. RCAR_GP_PIN(7, 3), RCAR_GP_PIN(7, 4),
  1896. };
  1897. static const unsigned int hscif0_data_mux[] = {
  1898. HRX0_MARK, HTX0_MARK,
  1899. };
  1900. static const unsigned int hscif0_clk_pins[] = {
  1901. /* SCK */
  1902. RCAR_GP_PIN(7, 2),
  1903. };
  1904. static const unsigned int hscif0_clk_mux[] = {
  1905. HSCK0_MARK,
  1906. };
  1907. static const unsigned int hscif0_ctrl_pins[] = {
  1908. /* RTS, CTS */
  1909. RCAR_GP_PIN(7, 1), RCAR_GP_PIN(7, 0),
  1910. };
  1911. static const unsigned int hscif0_ctrl_mux[] = {
  1912. HRTS0_N_MARK, HCTS0_N_MARK,
  1913. };
  1914. static const unsigned int hscif0_data_b_pins[] = {
  1915. /* RX, TX */
  1916. RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 15),
  1917. };
  1918. static const unsigned int hscif0_data_b_mux[] = {
  1919. HRX0_B_MARK, HTX0_B_MARK,
  1920. };
  1921. static const unsigned int hscif0_ctrl_b_pins[] = {
  1922. /* RTS, CTS */
  1923. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
  1924. };
  1925. static const unsigned int hscif0_ctrl_b_mux[] = {
  1926. HRTS0_N_B_MARK, HCTS0_N_B_MARK,
  1927. };
  1928. static const unsigned int hscif0_data_c_pins[] = {
  1929. /* RX, TX */
  1930. RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  1931. };
  1932. static const unsigned int hscif0_data_c_mux[] = {
  1933. HRX0_C_MARK, HTX0_C_MARK,
  1934. };
  1935. static const unsigned int hscif0_clk_c_pins[] = {
  1936. /* SCK */
  1937. RCAR_GP_PIN(5, 31),
  1938. };
  1939. static const unsigned int hscif0_clk_c_mux[] = {
  1940. HSCK0_C_MARK,
  1941. };
  1942. /* - HSCIF1 ----------------------------------------------------------------- */
  1943. static const unsigned int hscif1_data_pins[] = {
  1944. /* RX, TX */
  1945. RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
  1946. };
  1947. static const unsigned int hscif1_data_mux[] = {
  1948. HRX1_MARK, HTX1_MARK,
  1949. };
  1950. static const unsigned int hscif1_clk_pins[] = {
  1951. /* SCK */
  1952. RCAR_GP_PIN(7, 7),
  1953. };
  1954. static const unsigned int hscif1_clk_mux[] = {
  1955. HSCK1_MARK,
  1956. };
  1957. static const unsigned int hscif1_ctrl_pins[] = {
  1958. /* RTS, CTS */
  1959. RCAR_GP_PIN(7, 9), RCAR_GP_PIN(7, 8),
  1960. };
  1961. static const unsigned int hscif1_ctrl_mux[] = {
  1962. HRTS1_N_MARK, HCTS1_N_MARK,
  1963. };
  1964. static const unsigned int hscif1_data_b_pins[] = {
  1965. /* RX, TX */
  1966. RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18),
  1967. };
  1968. static const unsigned int hscif1_data_b_mux[] = {
  1969. HRX1_B_MARK, HTX1_B_MARK,
  1970. };
  1971. static const unsigned int hscif1_data_c_pins[] = {
  1972. /* RX, TX */
  1973. RCAR_GP_PIN(7, 14), RCAR_GP_PIN(7, 15),
  1974. };
  1975. static const unsigned int hscif1_data_c_mux[] = {
  1976. HRX1_C_MARK, HTX1_C_MARK,
  1977. };
  1978. static const unsigned int hscif1_clk_c_pins[] = {
  1979. /* SCK */
  1980. RCAR_GP_PIN(7, 16),
  1981. };
  1982. static const unsigned int hscif1_clk_c_mux[] = {
  1983. HSCK1_C_MARK,
  1984. };
  1985. static const unsigned int hscif1_ctrl_c_pins[] = {
  1986. /* RTS, CTS */
  1987. RCAR_GP_PIN(7, 18), RCAR_GP_PIN(7, 17),
  1988. };
  1989. static const unsigned int hscif1_ctrl_c_mux[] = {
  1990. HRTS1_N_C_MARK, HCTS1_N_C_MARK,
  1991. };
  1992. static const unsigned int hscif1_data_d_pins[] = {
  1993. /* RX, TX */
  1994. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 18),
  1995. };
  1996. static const unsigned int hscif1_data_d_mux[] = {
  1997. HRX1_D_MARK, HTX1_D_MARK,
  1998. };
  1999. static const unsigned int hscif1_data_e_pins[] = {
  2000. /* RX, TX */
  2001. RCAR_GP_PIN(7, 14), RCAR_GP_PIN(7, 15),
  2002. };
  2003. static const unsigned int hscif1_data_e_mux[] = {
  2004. HRX1_C_MARK, HTX1_C_MARK,
  2005. };
  2006. static const unsigned int hscif1_clk_e_pins[] = {
  2007. /* SCK */
  2008. RCAR_GP_PIN(2, 6),
  2009. };
  2010. static const unsigned int hscif1_clk_e_mux[] = {
  2011. HSCK1_E_MARK,
  2012. };
  2013. static const unsigned int hscif1_ctrl_e_pins[] = {
  2014. /* RTS, CTS */
  2015. RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 7),
  2016. };
  2017. static const unsigned int hscif1_ctrl_e_mux[] = {
  2018. HRTS1_N_E_MARK, HCTS1_N_E_MARK,
  2019. };
  2020. /* - HSCIF2 ----------------------------------------------------------------- */
  2021. static const unsigned int hscif2_data_pins[] = {
  2022. /* RX, TX */
  2023. RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17),
  2024. };
  2025. static const unsigned int hscif2_data_mux[] = {
  2026. HRX2_MARK, HTX2_MARK,
  2027. };
  2028. static const unsigned int hscif2_clk_pins[] = {
  2029. /* SCK */
  2030. RCAR_GP_PIN(4, 15),
  2031. };
  2032. static const unsigned int hscif2_clk_mux[] = {
  2033. HSCK2_MARK,
  2034. };
  2035. static const unsigned int hscif2_ctrl_pins[] = {
  2036. /* RTS, CTS */
  2037. RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 13),
  2038. };
  2039. static const unsigned int hscif2_ctrl_mux[] = {
  2040. HRTS2_N_MARK, HCTS2_N_MARK,
  2041. };
  2042. static const unsigned int hscif2_data_b_pins[] = {
  2043. /* RX, TX */
  2044. RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 22),
  2045. };
  2046. static const unsigned int hscif2_data_b_mux[] = {
  2047. HRX2_B_MARK, HTX2_B_MARK,
  2048. };
  2049. static const unsigned int hscif2_ctrl_b_pins[] = {
  2050. /* RTS, CTS */
  2051. RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 21),
  2052. };
  2053. static const unsigned int hscif2_ctrl_b_mux[] = {
  2054. HRTS2_N_B_MARK, HCTS2_N_B_MARK,
  2055. };
  2056. static const unsigned int hscif2_data_c_pins[] = {
  2057. /* RX, TX */
  2058. RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  2059. };
  2060. static const unsigned int hscif2_data_c_mux[] = {
  2061. HRX2_C_MARK, HTX2_C_MARK,
  2062. };
  2063. static const unsigned int hscif2_clk_c_pins[] = {
  2064. /* SCK */
  2065. RCAR_GP_PIN(5, 31),
  2066. };
  2067. static const unsigned int hscif2_clk_c_mux[] = {
  2068. HSCK2_C_MARK,
  2069. };
  2070. static const unsigned int hscif2_data_d_pins[] = {
  2071. /* RX, TX */
  2072. RCAR_GP_PIN(1, 20), RCAR_GP_PIN(5, 31),
  2073. };
  2074. static const unsigned int hscif2_data_d_mux[] = {
  2075. HRX2_B_MARK, HTX2_D_MARK,
  2076. };
  2077. /* - I2C0 ------------------------------------------------------------------- */
  2078. static const unsigned int i2c0_pins[] = {
  2079. /* SCL, SDA */
  2080. RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
  2081. };
  2082. static const unsigned int i2c0_mux[] = {
  2083. SCL0_MARK, SDA0_MARK,
  2084. };
  2085. static const unsigned int i2c0_b_pins[] = {
  2086. /* SCL, SDA */
  2087. RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3),
  2088. };
  2089. static const unsigned int i2c0_b_mux[] = {
  2090. SCL0_B_MARK, SDA0_B_MARK,
  2091. };
  2092. static const unsigned int i2c0_c_pins[] = {
  2093. /* SCL, SDA */
  2094. RCAR_GP_PIN(0, 16), RCAR_GP_PIN(1, 1),
  2095. };
  2096. static const unsigned int i2c0_c_mux[] = {
  2097. SCL0_C_MARK, SDA0_C_MARK,
  2098. };
  2099. /* - I2C1 ------------------------------------------------------------------- */
  2100. static const unsigned int i2c1_pins[] = {
  2101. /* SCL, SDA */
  2102. RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 11),
  2103. };
  2104. static const unsigned int i2c1_mux[] = {
  2105. SCL1_MARK, SDA1_MARK,
  2106. };
  2107. static const unsigned int i2c1_b_pins[] = {
  2108. /* SCL, SDA */
  2109. RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5),
  2110. };
  2111. static const unsigned int i2c1_b_mux[] = {
  2112. SCL1_B_MARK, SDA1_B_MARK,
  2113. };
  2114. static const unsigned int i2c1_c_pins[] = {
  2115. /* SCL, SDA */
  2116. RCAR_GP_PIN(6, 14), RCAR_GP_PIN(6, 15),
  2117. };
  2118. static const unsigned int i2c1_c_mux[] = {
  2119. SCL1_C_MARK, SDA1_C_MARK,
  2120. };
  2121. static const unsigned int i2c1_d_pins[] = {
  2122. /* SCL, SDA */
  2123. RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
  2124. };
  2125. static const unsigned int i2c1_d_mux[] = {
  2126. SCL1_D_MARK, SDA1_D_MARK,
  2127. };
  2128. static const unsigned int i2c1_e_pins[] = {
  2129. /* SCL, SDA */
  2130. RCAR_GP_PIN(7, 15), RCAR_GP_PIN(7, 16),
  2131. };
  2132. static const unsigned int i2c1_e_mux[] = {
  2133. SCL1_E_MARK, SDA1_E_MARK,
  2134. };
  2135. /* - I2C2 ------------------------------------------------------------------- */
  2136. static const unsigned int i2c2_pins[] = {
  2137. /* SCL, SDA */
  2138. RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7),
  2139. };
  2140. static const unsigned int i2c2_mux[] = {
  2141. SCL2_MARK, SDA2_MARK,
  2142. };
  2143. static const unsigned int i2c2_b_pins[] = {
  2144. /* SCL, SDA */
  2145. RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 29),
  2146. };
  2147. static const unsigned int i2c2_b_mux[] = {
  2148. SCL2_B_MARK, SDA2_B_MARK,
  2149. };
  2150. static const unsigned int i2c2_c_pins[] = {
  2151. /* SCL, SDA */
  2152. RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14),
  2153. };
  2154. static const unsigned int i2c2_c_mux[] = {
  2155. SCL2_C_MARK, SDA2_C_MARK,
  2156. };
  2157. static const unsigned int i2c2_d_pins[] = {
  2158. /* SCL, SDA */
  2159. RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 18),
  2160. };
  2161. static const unsigned int i2c2_d_mux[] = {
  2162. SCL2_D_MARK, SDA2_D_MARK,
  2163. };
  2164. /* - I2C3 ------------------------------------------------------------------- */
  2165. static const unsigned int i2c3_pins[] = {
  2166. /* SCL, SDA */
  2167. RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
  2168. };
  2169. static const unsigned int i2c3_mux[] = {
  2170. SCL3_MARK, SDA3_MARK,
  2171. };
  2172. static const unsigned int i2c3_b_pins[] = {
  2173. /* SCL, SDA */
  2174. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
  2175. };
  2176. static const unsigned int i2c3_b_mux[] = {
  2177. SCL3_B_MARK, SDA3_B_MARK,
  2178. };
  2179. static const unsigned int i2c3_c_pins[] = {
  2180. /* SCL, SDA */
  2181. RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 23),
  2182. };
  2183. static const unsigned int i2c3_c_mux[] = {
  2184. SCL3_C_MARK, SDA3_C_MARK,
  2185. };
  2186. static const unsigned int i2c3_d_pins[] = {
  2187. /* SCL, SDA */
  2188. RCAR_GP_PIN(0, 27), RCAR_GP_PIN(0, 28),
  2189. };
  2190. static const unsigned int i2c3_d_mux[] = {
  2191. SCL3_D_MARK, SDA3_D_MARK,
  2192. };
  2193. /* - I2C4 ------------------------------------------------------------------- */
  2194. static const unsigned int i2c4_pins[] = {
  2195. /* SCL, SDA */
  2196. RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
  2197. };
  2198. static const unsigned int i2c4_mux[] = {
  2199. SCL4_MARK, SDA4_MARK,
  2200. };
  2201. static const unsigned int i2c4_b_pins[] = {
  2202. /* SCL, SDA */
  2203. RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
  2204. };
  2205. static const unsigned int i2c4_b_mux[] = {
  2206. SCL4_B_MARK, SDA4_B_MARK,
  2207. };
  2208. static const unsigned int i2c4_c_pins[] = {
  2209. /* SCL, SDA */
  2210. RCAR_GP_PIN(7, 13), RCAR_GP_PIN(7, 14),
  2211. };
  2212. static const unsigned int i2c4_c_mux[] = {
  2213. SCL4_C_MARK, SDA4_C_MARK,
  2214. };
  2215. /* - I2C7 ------------------------------------------------------------------- */
  2216. static const unsigned int i2c7_pins[] = {
  2217. /* SCL, SDA */
  2218. RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
  2219. };
  2220. static const unsigned int i2c7_mux[] = {
  2221. SCL7_MARK, SDA7_MARK,
  2222. };
  2223. static const unsigned int i2c7_b_pins[] = {
  2224. /* SCL, SDA */
  2225. RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3),
  2226. };
  2227. static const unsigned int i2c7_b_mux[] = {
  2228. SCL7_B_MARK, SDA7_B_MARK,
  2229. };
  2230. static const unsigned int i2c7_c_pins[] = {
  2231. /* SCL, SDA */
  2232. RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
  2233. };
  2234. static const unsigned int i2c7_c_mux[] = {
  2235. SCL7_C_MARK, SDA7_C_MARK,
  2236. };
  2237. /* - I2C8 ------------------------------------------------------------------- */
  2238. static const unsigned int i2c8_pins[] = {
  2239. /* SCL, SDA */
  2240. RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
  2241. };
  2242. static const unsigned int i2c8_mux[] = {
  2243. SCL8_MARK, SDA8_MARK,
  2244. };
  2245. static const unsigned int i2c8_b_pins[] = {
  2246. /* SCL, SDA */
  2247. RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5),
  2248. };
  2249. static const unsigned int i2c8_b_mux[] = {
  2250. SCL8_B_MARK, SDA8_B_MARK,
  2251. };
  2252. static const unsigned int i2c8_c_pins[] = {
  2253. /* SCL, SDA */
  2254. RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
  2255. };
  2256. static const unsigned int i2c8_c_mux[] = {
  2257. SCL8_C_MARK, SDA8_C_MARK,
  2258. };
  2259. /* - INTC ------------------------------------------------------------------- */
  2260. static const unsigned int intc_irq0_pins[] = {
  2261. /* IRQ */
  2262. RCAR_GP_PIN(7, 10),
  2263. };
  2264. static const unsigned int intc_irq0_mux[] = {
  2265. IRQ0_MARK,
  2266. };
  2267. static const unsigned int intc_irq1_pins[] = {
  2268. /* IRQ */
  2269. RCAR_GP_PIN(7, 11),
  2270. };
  2271. static const unsigned int intc_irq1_mux[] = {
  2272. IRQ1_MARK,
  2273. };
  2274. static const unsigned int intc_irq2_pins[] = {
  2275. /* IRQ */
  2276. RCAR_GP_PIN(7, 12),
  2277. };
  2278. static const unsigned int intc_irq2_mux[] = {
  2279. IRQ2_MARK,
  2280. };
  2281. static const unsigned int intc_irq3_pins[] = {
  2282. /* IRQ */
  2283. RCAR_GP_PIN(7, 13),
  2284. };
  2285. static const unsigned int intc_irq3_mux[] = {
  2286. IRQ3_MARK,
  2287. };
  2288. /* - MLB+ ------------------------------------------------------------------- */
  2289. static const unsigned int mlb_3pin_pins[] = {
  2290. RCAR_GP_PIN(7, 7), RCAR_GP_PIN(7, 8), RCAR_GP_PIN(7, 9),
  2291. };
  2292. static const unsigned int mlb_3pin_mux[] = {
  2293. MLB_CLK_MARK, MLB_SIG_MARK, MLB_DAT_MARK,
  2294. };
  2295. /* - MMCIF ------------------------------------------------------------------ */
  2296. static const unsigned int mmc_data1_pins[] = {
  2297. /* D[0] */
  2298. RCAR_GP_PIN(6, 18),
  2299. };
  2300. static const unsigned int mmc_data1_mux[] = {
  2301. MMC_D0_MARK,
  2302. };
  2303. static const unsigned int mmc_data4_pins[] = {
  2304. /* D[0:3] */
  2305. RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
  2306. RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
  2307. };
  2308. static const unsigned int mmc_data4_mux[] = {
  2309. MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
  2310. };
  2311. static const unsigned int mmc_data8_pins[] = {
  2312. /* D[0:7] */
  2313. RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
  2314. RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
  2315. RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
  2316. RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
  2317. };
  2318. static const unsigned int mmc_data8_mux[] = {
  2319. MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
  2320. MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
  2321. };
  2322. static const unsigned int mmc_ctrl_pins[] = {
  2323. /* CLK, CMD */
  2324. RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
  2325. };
  2326. static const unsigned int mmc_ctrl_mux[] = {
  2327. MMC_CLK_MARK, MMC_CMD_MARK,
  2328. };
  2329. /* - MSIOF0 ----------------------------------------------------------------- */
  2330. static const unsigned int msiof0_clk_pins[] = {
  2331. /* SCK */
  2332. RCAR_GP_PIN(6, 24),
  2333. };
  2334. static const unsigned int msiof0_clk_mux[] = {
  2335. MSIOF0_SCK_MARK,
  2336. };
  2337. static const unsigned int msiof0_sync_pins[] = {
  2338. /* SYNC */
  2339. RCAR_GP_PIN(6, 25),
  2340. };
  2341. static const unsigned int msiof0_sync_mux[] = {
  2342. MSIOF0_SYNC_MARK,
  2343. };
  2344. static const unsigned int msiof0_ss1_pins[] = {
  2345. /* SS1 */
  2346. RCAR_GP_PIN(6, 28),
  2347. };
  2348. static const unsigned int msiof0_ss1_mux[] = {
  2349. MSIOF0_SS1_MARK,
  2350. };
  2351. static const unsigned int msiof0_ss2_pins[] = {
  2352. /* SS2 */
  2353. RCAR_GP_PIN(6, 29),
  2354. };
  2355. static const unsigned int msiof0_ss2_mux[] = {
  2356. MSIOF0_SS2_MARK,
  2357. };
  2358. static const unsigned int msiof0_rx_pins[] = {
  2359. /* RXD */
  2360. RCAR_GP_PIN(6, 27),
  2361. };
  2362. static const unsigned int msiof0_rx_mux[] = {
  2363. MSIOF0_RXD_MARK,
  2364. };
  2365. static const unsigned int msiof0_tx_pins[] = {
  2366. /* TXD */
  2367. RCAR_GP_PIN(6, 26),
  2368. };
  2369. static const unsigned int msiof0_tx_mux[] = {
  2370. MSIOF0_TXD_MARK,
  2371. };
  2372. static const unsigned int msiof0_clk_b_pins[] = {
  2373. /* SCK */
  2374. RCAR_GP_PIN(0, 16),
  2375. };
  2376. static const unsigned int msiof0_clk_b_mux[] = {
  2377. MSIOF0_SCK_B_MARK,
  2378. };
  2379. static const unsigned int msiof0_sync_b_pins[] = {
  2380. /* SYNC */
  2381. RCAR_GP_PIN(0, 17),
  2382. };
  2383. static const unsigned int msiof0_sync_b_mux[] = {
  2384. MSIOF0_SYNC_B_MARK,
  2385. };
  2386. static const unsigned int msiof0_ss1_b_pins[] = {
  2387. /* SS1 */
  2388. RCAR_GP_PIN(0, 18),
  2389. };
  2390. static const unsigned int msiof0_ss1_b_mux[] = {
  2391. MSIOF0_SS1_B_MARK,
  2392. };
  2393. static const unsigned int msiof0_ss2_b_pins[] = {
  2394. /* SS2 */
  2395. RCAR_GP_PIN(0, 19),
  2396. };
  2397. static const unsigned int msiof0_ss2_b_mux[] = {
  2398. MSIOF0_SS2_B_MARK,
  2399. };
  2400. static const unsigned int msiof0_rx_b_pins[] = {
  2401. /* RXD */
  2402. RCAR_GP_PIN(0, 21),
  2403. };
  2404. static const unsigned int msiof0_rx_b_mux[] = {
  2405. MSIOF0_RXD_B_MARK,
  2406. };
  2407. static const unsigned int msiof0_tx_b_pins[] = {
  2408. /* TXD */
  2409. RCAR_GP_PIN(0, 20),
  2410. };
  2411. static const unsigned int msiof0_tx_b_mux[] = {
  2412. MSIOF0_TXD_B_MARK,
  2413. };
  2414. static const unsigned int msiof0_clk_c_pins[] = {
  2415. /* SCK */
  2416. RCAR_GP_PIN(5, 26),
  2417. };
  2418. static const unsigned int msiof0_clk_c_mux[] = {
  2419. MSIOF0_SCK_C_MARK,
  2420. };
  2421. static const unsigned int msiof0_sync_c_pins[] = {
  2422. /* SYNC */
  2423. RCAR_GP_PIN(5, 25),
  2424. };
  2425. static const unsigned int msiof0_sync_c_mux[] = {
  2426. MSIOF0_SYNC_C_MARK,
  2427. };
  2428. static const unsigned int msiof0_ss1_c_pins[] = {
  2429. /* SS1 */
  2430. RCAR_GP_PIN(5, 27),
  2431. };
  2432. static const unsigned int msiof0_ss1_c_mux[] = {
  2433. MSIOF0_SS1_C_MARK,
  2434. };
  2435. static const unsigned int msiof0_ss2_c_pins[] = {
  2436. /* SS2 */
  2437. RCAR_GP_PIN(5, 28),
  2438. };
  2439. static const unsigned int msiof0_ss2_c_mux[] = {
  2440. MSIOF0_SS2_C_MARK,
  2441. };
  2442. static const unsigned int msiof0_rx_c_pins[] = {
  2443. /* RXD */
  2444. RCAR_GP_PIN(5, 29),
  2445. };
  2446. static const unsigned int msiof0_rx_c_mux[] = {
  2447. MSIOF0_RXD_C_MARK,
  2448. };
  2449. static const unsigned int msiof0_tx_c_pins[] = {
  2450. /* TXD */
  2451. RCAR_GP_PIN(5, 30),
  2452. };
  2453. static const unsigned int msiof0_tx_c_mux[] = {
  2454. MSIOF0_TXD_C_MARK,
  2455. };
  2456. /* - MSIOF1 ----------------------------------------------------------------- */
  2457. static const unsigned int msiof1_clk_pins[] = {
  2458. /* SCK */
  2459. RCAR_GP_PIN(0, 22),
  2460. };
  2461. static const unsigned int msiof1_clk_mux[] = {
  2462. MSIOF1_SCK_MARK,
  2463. };
  2464. static const unsigned int msiof1_sync_pins[] = {
  2465. /* SYNC */
  2466. RCAR_GP_PIN(0, 23),
  2467. };
  2468. static const unsigned int msiof1_sync_mux[] = {
  2469. MSIOF1_SYNC_MARK,
  2470. };
  2471. static const unsigned int msiof1_ss1_pins[] = {
  2472. /* SS1 */
  2473. RCAR_GP_PIN(0, 24),
  2474. };
  2475. static const unsigned int msiof1_ss1_mux[] = {
  2476. MSIOF1_SS1_MARK,
  2477. };
  2478. static const unsigned int msiof1_ss2_pins[] = {
  2479. /* SS2 */
  2480. RCAR_GP_PIN(0, 25),
  2481. };
  2482. static const unsigned int msiof1_ss2_mux[] = {
  2483. MSIOF1_SS2_MARK,
  2484. };
  2485. static const unsigned int msiof1_rx_pins[] = {
  2486. /* RXD */
  2487. RCAR_GP_PIN(0, 27),
  2488. };
  2489. static const unsigned int msiof1_rx_mux[] = {
  2490. MSIOF1_RXD_MARK,
  2491. };
  2492. static const unsigned int msiof1_tx_pins[] = {
  2493. /* TXD */
  2494. RCAR_GP_PIN(0, 26),
  2495. };
  2496. static const unsigned int msiof1_tx_mux[] = {
  2497. MSIOF1_TXD_MARK,
  2498. };
  2499. static const unsigned int msiof1_clk_b_pins[] = {
  2500. /* SCK */
  2501. RCAR_GP_PIN(2, 29),
  2502. };
  2503. static const unsigned int msiof1_clk_b_mux[] = {
  2504. MSIOF1_SCK_B_MARK,
  2505. };
  2506. static const unsigned int msiof1_sync_b_pins[] = {
  2507. /* SYNC */
  2508. RCAR_GP_PIN(2, 30),
  2509. };
  2510. static const unsigned int msiof1_sync_b_mux[] = {
  2511. MSIOF1_SYNC_B_MARK,
  2512. };
  2513. static const unsigned int msiof1_ss1_b_pins[] = {
  2514. /* SS1 */
  2515. RCAR_GP_PIN(2, 31),
  2516. };
  2517. static const unsigned int msiof1_ss1_b_mux[] = {
  2518. MSIOF1_SS1_B_MARK,
  2519. };
  2520. static const unsigned int msiof1_ss2_b_pins[] = {
  2521. /* SS2 */
  2522. RCAR_GP_PIN(7, 16),
  2523. };
  2524. static const unsigned int msiof1_ss2_b_mux[] = {
  2525. MSIOF1_SS2_B_MARK,
  2526. };
  2527. static const unsigned int msiof1_rx_b_pins[] = {
  2528. /* RXD */
  2529. RCAR_GP_PIN(7, 18),
  2530. };
  2531. static const unsigned int msiof1_rx_b_mux[] = {
  2532. MSIOF1_RXD_B_MARK,
  2533. };
  2534. static const unsigned int msiof1_tx_b_pins[] = {
  2535. /* TXD */
  2536. RCAR_GP_PIN(7, 17),
  2537. };
  2538. static const unsigned int msiof1_tx_b_mux[] = {
  2539. MSIOF1_TXD_B_MARK,
  2540. };
  2541. static const unsigned int msiof1_clk_c_pins[] = {
  2542. /* SCK */
  2543. RCAR_GP_PIN(2, 15),
  2544. };
  2545. static const unsigned int msiof1_clk_c_mux[] = {
  2546. MSIOF1_SCK_C_MARK,
  2547. };
  2548. static const unsigned int msiof1_sync_c_pins[] = {
  2549. /* SYNC */
  2550. RCAR_GP_PIN(2, 16),
  2551. };
  2552. static const unsigned int msiof1_sync_c_mux[] = {
  2553. MSIOF1_SYNC_C_MARK,
  2554. };
  2555. static const unsigned int msiof1_rx_c_pins[] = {
  2556. /* RXD */
  2557. RCAR_GP_PIN(2, 18),
  2558. };
  2559. static const unsigned int msiof1_rx_c_mux[] = {
  2560. MSIOF1_RXD_C_MARK,
  2561. };
  2562. static const unsigned int msiof1_tx_c_pins[] = {
  2563. /* TXD */
  2564. RCAR_GP_PIN(2, 17),
  2565. };
  2566. static const unsigned int msiof1_tx_c_mux[] = {
  2567. MSIOF1_TXD_C_MARK,
  2568. };
  2569. static const unsigned int msiof1_clk_d_pins[] = {
  2570. /* SCK */
  2571. RCAR_GP_PIN(0, 28),
  2572. };
  2573. static const unsigned int msiof1_clk_d_mux[] = {
  2574. MSIOF1_SCK_D_MARK,
  2575. };
  2576. static const unsigned int msiof1_sync_d_pins[] = {
  2577. /* SYNC */
  2578. RCAR_GP_PIN(0, 30),
  2579. };
  2580. static const unsigned int msiof1_sync_d_mux[] = {
  2581. MSIOF1_SYNC_D_MARK,
  2582. };
  2583. static const unsigned int msiof1_ss1_d_pins[] = {
  2584. /* SS1 */
  2585. RCAR_GP_PIN(0, 29),
  2586. };
  2587. static const unsigned int msiof1_ss1_d_mux[] = {
  2588. MSIOF1_SS1_D_MARK,
  2589. };
  2590. static const unsigned int msiof1_rx_d_pins[] = {
  2591. /* RXD */
  2592. RCAR_GP_PIN(0, 27),
  2593. };
  2594. static const unsigned int msiof1_rx_d_mux[] = {
  2595. MSIOF1_RXD_D_MARK,
  2596. };
  2597. static const unsigned int msiof1_tx_d_pins[] = {
  2598. /* TXD */
  2599. RCAR_GP_PIN(0, 26),
  2600. };
  2601. static const unsigned int msiof1_tx_d_mux[] = {
  2602. MSIOF1_TXD_D_MARK,
  2603. };
  2604. static const unsigned int msiof1_clk_e_pins[] = {
  2605. /* SCK */
  2606. RCAR_GP_PIN(5, 18),
  2607. };
  2608. static const unsigned int msiof1_clk_e_mux[] = {
  2609. MSIOF1_SCK_E_MARK,
  2610. };
  2611. static const unsigned int msiof1_sync_e_pins[] = {
  2612. /* SYNC */
  2613. RCAR_GP_PIN(5, 19),
  2614. };
  2615. static const unsigned int msiof1_sync_e_mux[] = {
  2616. MSIOF1_SYNC_E_MARK,
  2617. };
  2618. static const unsigned int msiof1_rx_e_pins[] = {
  2619. /* RXD */
  2620. RCAR_GP_PIN(5, 17),
  2621. };
  2622. static const unsigned int msiof1_rx_e_mux[] = {
  2623. MSIOF1_RXD_E_MARK,
  2624. };
  2625. static const unsigned int msiof1_tx_e_pins[] = {
  2626. /* TXD */
  2627. RCAR_GP_PIN(5, 20),
  2628. };
  2629. static const unsigned int msiof1_tx_e_mux[] = {
  2630. MSIOF1_TXD_E_MARK,
  2631. };
  2632. /* - MSIOF2 ----------------------------------------------------------------- */
  2633. static const unsigned int msiof2_clk_pins[] = {
  2634. /* SCK */
  2635. RCAR_GP_PIN(1, 13),
  2636. };
  2637. static const unsigned int msiof2_clk_mux[] = {
  2638. MSIOF2_SCK_MARK,
  2639. };
  2640. static const unsigned int msiof2_sync_pins[] = {
  2641. /* SYNC */
  2642. RCAR_GP_PIN(1, 14),
  2643. };
  2644. static const unsigned int msiof2_sync_mux[] = {
  2645. MSIOF2_SYNC_MARK,
  2646. };
  2647. static const unsigned int msiof2_ss1_pins[] = {
  2648. /* SS1 */
  2649. RCAR_GP_PIN(1, 17),
  2650. };
  2651. static const unsigned int msiof2_ss1_mux[] = {
  2652. MSIOF2_SS1_MARK,
  2653. };
  2654. static const unsigned int msiof2_ss2_pins[] = {
  2655. /* SS2 */
  2656. RCAR_GP_PIN(1, 18),
  2657. };
  2658. static const unsigned int msiof2_ss2_mux[] = {
  2659. MSIOF2_SS2_MARK,
  2660. };
  2661. static const unsigned int msiof2_rx_pins[] = {
  2662. /* RXD */
  2663. RCAR_GP_PIN(1, 16),
  2664. };
  2665. static const unsigned int msiof2_rx_mux[] = {
  2666. MSIOF2_RXD_MARK,
  2667. };
  2668. static const unsigned int msiof2_tx_pins[] = {
  2669. /* TXD */
  2670. RCAR_GP_PIN(1, 15),
  2671. };
  2672. static const unsigned int msiof2_tx_mux[] = {
  2673. MSIOF2_TXD_MARK,
  2674. };
  2675. static const unsigned int msiof2_clk_b_pins[] = {
  2676. /* SCK */
  2677. RCAR_GP_PIN(3, 0),
  2678. };
  2679. static const unsigned int msiof2_clk_b_mux[] = {
  2680. MSIOF2_SCK_B_MARK,
  2681. };
  2682. static const unsigned int msiof2_sync_b_pins[] = {
  2683. /* SYNC */
  2684. RCAR_GP_PIN(3, 1),
  2685. };
  2686. static const unsigned int msiof2_sync_b_mux[] = {
  2687. MSIOF2_SYNC_B_MARK,
  2688. };
  2689. static const unsigned int msiof2_ss1_b_pins[] = {
  2690. /* SS1 */
  2691. RCAR_GP_PIN(3, 8),
  2692. };
  2693. static const unsigned int msiof2_ss1_b_mux[] = {
  2694. MSIOF2_SS1_B_MARK,
  2695. };
  2696. static const unsigned int msiof2_ss2_b_pins[] = {
  2697. /* SS2 */
  2698. RCAR_GP_PIN(3, 9),
  2699. };
  2700. static const unsigned int msiof2_ss2_b_mux[] = {
  2701. MSIOF2_SS2_B_MARK,
  2702. };
  2703. static const unsigned int msiof2_rx_b_pins[] = {
  2704. /* RXD */
  2705. RCAR_GP_PIN(3, 17),
  2706. };
  2707. static const unsigned int msiof2_rx_b_mux[] = {
  2708. MSIOF2_RXD_B_MARK,
  2709. };
  2710. static const unsigned int msiof2_tx_b_pins[] = {
  2711. /* TXD */
  2712. RCAR_GP_PIN(3, 16),
  2713. };
  2714. static const unsigned int msiof2_tx_b_mux[] = {
  2715. MSIOF2_TXD_B_MARK,
  2716. };
  2717. static const unsigned int msiof2_clk_c_pins[] = {
  2718. /* SCK */
  2719. RCAR_GP_PIN(2, 2),
  2720. };
  2721. static const unsigned int msiof2_clk_c_mux[] = {
  2722. MSIOF2_SCK_C_MARK,
  2723. };
  2724. static const unsigned int msiof2_sync_c_pins[] = {
  2725. /* SYNC */
  2726. RCAR_GP_PIN(2, 3),
  2727. };
  2728. static const unsigned int msiof2_sync_c_mux[] = {
  2729. MSIOF2_SYNC_C_MARK,
  2730. };
  2731. static const unsigned int msiof2_rx_c_pins[] = {
  2732. /* RXD */
  2733. RCAR_GP_PIN(2, 5),
  2734. };
  2735. static const unsigned int msiof2_rx_c_mux[] = {
  2736. MSIOF2_RXD_C_MARK,
  2737. };
  2738. static const unsigned int msiof2_tx_c_pins[] = {
  2739. /* TXD */
  2740. RCAR_GP_PIN(2, 4),
  2741. };
  2742. static const unsigned int msiof2_tx_c_mux[] = {
  2743. MSIOF2_TXD_C_MARK,
  2744. };
  2745. static const unsigned int msiof2_clk_d_pins[] = {
  2746. /* SCK */
  2747. RCAR_GP_PIN(2, 14),
  2748. };
  2749. static const unsigned int msiof2_clk_d_mux[] = {
  2750. MSIOF2_SCK_D_MARK,
  2751. };
  2752. static const unsigned int msiof2_sync_d_pins[] = {
  2753. /* SYNC */
  2754. RCAR_GP_PIN(2, 15),
  2755. };
  2756. static const unsigned int msiof2_sync_d_mux[] = {
  2757. MSIOF2_SYNC_D_MARK,
  2758. };
  2759. static const unsigned int msiof2_ss1_d_pins[] = {
  2760. /* SS1 */
  2761. RCAR_GP_PIN(2, 17),
  2762. };
  2763. static const unsigned int msiof2_ss1_d_mux[] = {
  2764. MSIOF2_SS1_D_MARK,
  2765. };
  2766. static const unsigned int msiof2_ss2_d_pins[] = {
  2767. /* SS2 */
  2768. RCAR_GP_PIN(2, 19),
  2769. };
  2770. static const unsigned int msiof2_ss2_d_mux[] = {
  2771. MSIOF2_SS2_D_MARK,
  2772. };
  2773. static const unsigned int msiof2_rx_d_pins[] = {
  2774. /* RXD */
  2775. RCAR_GP_PIN(2, 18),
  2776. };
  2777. static const unsigned int msiof2_rx_d_mux[] = {
  2778. MSIOF2_RXD_D_MARK,
  2779. };
  2780. static const unsigned int msiof2_tx_d_pins[] = {
  2781. /* TXD */
  2782. RCAR_GP_PIN(2, 16),
  2783. };
  2784. static const unsigned int msiof2_tx_d_mux[] = {
  2785. MSIOF2_TXD_D_MARK,
  2786. };
  2787. static const unsigned int msiof2_clk_e_pins[] = {
  2788. /* SCK */
  2789. RCAR_GP_PIN(7, 15),
  2790. };
  2791. static const unsigned int msiof2_clk_e_mux[] = {
  2792. MSIOF2_SCK_E_MARK,
  2793. };
  2794. static const unsigned int msiof2_sync_e_pins[] = {
  2795. /* SYNC */
  2796. RCAR_GP_PIN(7, 16),
  2797. };
  2798. static const unsigned int msiof2_sync_e_mux[] = {
  2799. MSIOF2_SYNC_E_MARK,
  2800. };
  2801. static const unsigned int msiof2_rx_e_pins[] = {
  2802. /* RXD */
  2803. RCAR_GP_PIN(7, 14),
  2804. };
  2805. static const unsigned int msiof2_rx_e_mux[] = {
  2806. MSIOF2_RXD_E_MARK,
  2807. };
  2808. static const unsigned int msiof2_tx_e_pins[] = {
  2809. /* TXD */
  2810. RCAR_GP_PIN(7, 13),
  2811. };
  2812. static const unsigned int msiof2_tx_e_mux[] = {
  2813. MSIOF2_TXD_E_MARK,
  2814. };
  2815. /* - PWM -------------------------------------------------------------------- */
  2816. static const unsigned int pwm0_pins[] = {
  2817. RCAR_GP_PIN(6, 14),
  2818. };
  2819. static const unsigned int pwm0_mux[] = {
  2820. PWM0_MARK,
  2821. };
  2822. static const unsigned int pwm0_b_pins[] = {
  2823. RCAR_GP_PIN(5, 30),
  2824. };
  2825. static const unsigned int pwm0_b_mux[] = {
  2826. PWM0_B_MARK,
  2827. };
  2828. static const unsigned int pwm1_pins[] = {
  2829. RCAR_GP_PIN(1, 17),
  2830. };
  2831. static const unsigned int pwm1_mux[] = {
  2832. PWM1_MARK,
  2833. };
  2834. static const unsigned int pwm1_b_pins[] = {
  2835. RCAR_GP_PIN(6, 15),
  2836. };
  2837. static const unsigned int pwm1_b_mux[] = {
  2838. PWM1_B_MARK,
  2839. };
  2840. static const unsigned int pwm2_pins[] = {
  2841. RCAR_GP_PIN(1, 18),
  2842. };
  2843. static const unsigned int pwm2_mux[] = {
  2844. PWM2_MARK,
  2845. };
  2846. static const unsigned int pwm2_b_pins[] = {
  2847. RCAR_GP_PIN(0, 16),
  2848. };
  2849. static const unsigned int pwm2_b_mux[] = {
  2850. PWM2_B_MARK,
  2851. };
  2852. static const unsigned int pwm3_pins[] = {
  2853. RCAR_GP_PIN(1, 24),
  2854. };
  2855. static const unsigned int pwm3_mux[] = {
  2856. PWM3_MARK,
  2857. };
  2858. static const unsigned int pwm4_pins[] = {
  2859. RCAR_GP_PIN(3, 26),
  2860. };
  2861. static const unsigned int pwm4_mux[] = {
  2862. PWM4_MARK,
  2863. };
  2864. static const unsigned int pwm4_b_pins[] = {
  2865. RCAR_GP_PIN(3, 31),
  2866. };
  2867. static const unsigned int pwm4_b_mux[] = {
  2868. PWM4_B_MARK,
  2869. };
  2870. static const unsigned int pwm5_pins[] = {
  2871. RCAR_GP_PIN(7, 21),
  2872. };
  2873. static const unsigned int pwm5_mux[] = {
  2874. PWM5_MARK,
  2875. };
  2876. static const unsigned int pwm5_b_pins[] = {
  2877. RCAR_GP_PIN(7, 20),
  2878. };
  2879. static const unsigned int pwm5_b_mux[] = {
  2880. PWM5_B_MARK,
  2881. };
  2882. static const unsigned int pwm6_pins[] = {
  2883. RCAR_GP_PIN(7, 22),
  2884. };
  2885. static const unsigned int pwm6_mux[] = {
  2886. PWM6_MARK,
  2887. };
  2888. /* - QSPI ------------------------------------------------------------------- */
  2889. static const unsigned int qspi_ctrl_pins[] = {
  2890. /* SPCLK, SSL */
  2891. RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 9),
  2892. };
  2893. static const unsigned int qspi_ctrl_mux[] = {
  2894. SPCLK_MARK, SSL_MARK,
  2895. };
  2896. static const unsigned int qspi_data2_pins[] = {
  2897. /* MOSI_IO0, MISO_IO1 */
  2898. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6),
  2899. };
  2900. static const unsigned int qspi_data2_mux[] = {
  2901. MOSI_IO0_MARK, MISO_IO1_MARK,
  2902. };
  2903. static const unsigned int qspi_data4_pins[] = {
  2904. /* MOSI_IO0, MISO_IO1, IO2, IO3 */
  2905. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7),
  2906. RCAR_GP_PIN(1, 8),
  2907. };
  2908. static const unsigned int qspi_data4_mux[] = {
  2909. MOSI_IO0_MARK, MISO_IO1_MARK, IO2_MARK, IO3_MARK,
  2910. };
  2911. static const unsigned int qspi_ctrl_b_pins[] = {
  2912. /* SPCLK, SSL */
  2913. RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 5),
  2914. };
  2915. static const unsigned int qspi_ctrl_b_mux[] = {
  2916. SPCLK_B_MARK, SSL_B_MARK,
  2917. };
  2918. static const unsigned int qspi_data2_b_pins[] = {
  2919. /* MOSI_IO0, MISO_IO1 */
  2920. RCAR_GP_PIN(6, 1), RCAR_GP_PIN(6, 2),
  2921. };
  2922. static const unsigned int qspi_data2_b_mux[] = {
  2923. MOSI_IO0_B_MARK, MISO_IO1_B_MARK,
  2924. };
  2925. static const unsigned int qspi_data4_b_pins[] = {
  2926. /* MOSI_IO0, MISO_IO1, IO2, IO3 */
  2927. RCAR_GP_PIN(6, 1), RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 3),
  2928. RCAR_GP_PIN(6, 4),
  2929. };
  2930. static const unsigned int qspi_data4_b_mux[] = {
  2931. SPCLK_B_MARK, MOSI_IO0_B_MARK, MISO_IO1_B_MARK,
  2932. IO2_B_MARK, IO3_B_MARK, SSL_B_MARK,
  2933. };
  2934. /* - SCIF0 ------------------------------------------------------------------ */
  2935. static const unsigned int scif0_data_pins[] = {
  2936. /* RX, TX */
  2937. RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6),
  2938. };
  2939. static const unsigned int scif0_data_mux[] = {
  2940. RX0_MARK, TX0_MARK,
  2941. };
  2942. static const unsigned int scif0_data_b_pins[] = {
  2943. /* RX, TX */
  2944. RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
  2945. };
  2946. static const unsigned int scif0_data_b_mux[] = {
  2947. RX0_B_MARK, TX0_B_MARK,
  2948. };
  2949. static const unsigned int scif0_data_c_pins[] = {
  2950. /* RX, TX */
  2951. RCAR_GP_PIN(4, 26), RCAR_GP_PIN(4, 25),
  2952. };
  2953. static const unsigned int scif0_data_c_mux[] = {
  2954. RX0_C_MARK, TX0_C_MARK,
  2955. };
  2956. static const unsigned int scif0_data_d_pins[] = {
  2957. /* RX, TX */
  2958. RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 22),
  2959. };
  2960. static const unsigned int scif0_data_d_mux[] = {
  2961. RX0_D_MARK, TX0_D_MARK,
  2962. };
  2963. static const unsigned int scif0_data_e_pins[] = {
  2964. /* RX, TX */
  2965. RCAR_GP_PIN(6, 29), RCAR_GP_PIN(6, 28),
  2966. };
  2967. static const unsigned int scif0_data_e_mux[] = {
  2968. RX0_E_MARK, TX0_E_MARK,
  2969. };
  2970. /* - SCIF1 ------------------------------------------------------------------ */
  2971. static const unsigned int scif1_data_pins[] = {
  2972. /* RX, TX */
  2973. RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8),
  2974. };
  2975. static const unsigned int scif1_data_mux[] = {
  2976. RX1_MARK, TX1_MARK,
  2977. };
  2978. static const unsigned int scif1_data_b_pins[] = {
  2979. /* RX, TX */
  2980. RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
  2981. };
  2982. static const unsigned int scif1_data_b_mux[] = {
  2983. RX1_B_MARK, TX1_B_MARK,
  2984. };
  2985. static const unsigned int scif1_clk_b_pins[] = {
  2986. /* SCK */
  2987. RCAR_GP_PIN(3, 10),
  2988. };
  2989. static const unsigned int scif1_clk_b_mux[] = {
  2990. SCIF1_SCK_B_MARK,
  2991. };
  2992. static const unsigned int scif1_data_c_pins[] = {
  2993. /* RX, TX */
  2994. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 27),
  2995. };
  2996. static const unsigned int scif1_data_c_mux[] = {
  2997. RX1_C_MARK, TX1_C_MARK,
  2998. };
  2999. static const unsigned int scif1_data_d_pins[] = {
  3000. /* RX, TX */
  3001. RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 24),
  3002. };
  3003. static const unsigned int scif1_data_d_mux[] = {
  3004. RX1_D_MARK, TX1_D_MARK,
  3005. };
  3006. /* - SCIF2 ------------------------------------------------------------------ */
  3007. static const unsigned int scif2_data_pins[] = {
  3008. /* RX, TX */
  3009. RCAR_GP_PIN(2, 30), RCAR_GP_PIN(2, 31),
  3010. };
  3011. static const unsigned int scif2_data_mux[] = {
  3012. RX2_MARK, TX2_MARK,
  3013. };
  3014. static const unsigned int scif2_data_b_pins[] = {
  3015. /* RX, TX */
  3016. RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
  3017. };
  3018. static const unsigned int scif2_data_b_mux[] = {
  3019. RX2_B_MARK, TX2_B_MARK,
  3020. };
  3021. static const unsigned int scif2_clk_b_pins[] = {
  3022. /* SCK */
  3023. RCAR_GP_PIN(3, 18),
  3024. };
  3025. static const unsigned int scif2_clk_b_mux[] = {
  3026. SCIF2_SCK_B_MARK,
  3027. };
  3028. static const unsigned int scif2_data_c_pins[] = {
  3029. /* RX, TX */
  3030. RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
  3031. };
  3032. static const unsigned int scif2_data_c_mux[] = {
  3033. RX2_C_MARK, TX2_C_MARK,
  3034. };
  3035. static const unsigned int scif2_data_e_pins[] = {
  3036. /* RX, TX */
  3037. RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8),
  3038. };
  3039. static const unsigned int scif2_data_e_mux[] = {
  3040. RX2_E_MARK, TX2_E_MARK,
  3041. };
  3042. /* - SCIF3 ------------------------------------------------------------------ */
  3043. static const unsigned int scif3_data_pins[] = {
  3044. /* RX, TX */
  3045. RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
  3046. };
  3047. static const unsigned int scif3_data_mux[] = {
  3048. RX3_MARK, TX3_MARK,
  3049. };
  3050. static const unsigned int scif3_clk_pins[] = {
  3051. /* SCK */
  3052. RCAR_GP_PIN(3, 23),
  3053. };
  3054. static const unsigned int scif3_clk_mux[] = {
  3055. SCIF3_SCK_MARK,
  3056. };
  3057. static const unsigned int scif3_data_b_pins[] = {
  3058. /* RX, TX */
  3059. RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 26),
  3060. };
  3061. static const unsigned int scif3_data_b_mux[] = {
  3062. RX3_B_MARK, TX3_B_MARK,
  3063. };
  3064. static const unsigned int scif3_clk_b_pins[] = {
  3065. /* SCK */
  3066. RCAR_GP_PIN(4, 8),
  3067. };
  3068. static const unsigned int scif3_clk_b_mux[] = {
  3069. SCIF3_SCK_B_MARK,
  3070. };
  3071. static const unsigned int scif3_data_c_pins[] = {
  3072. /* RX, TX */
  3073. RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
  3074. };
  3075. static const unsigned int scif3_data_c_mux[] = {
  3076. RX3_C_MARK, TX3_C_MARK,
  3077. };
  3078. static const unsigned int scif3_data_d_pins[] = {
  3079. /* RX, TX */
  3080. RCAR_GP_PIN(2, 27), RCAR_GP_PIN(2, 26),
  3081. };
  3082. static const unsigned int scif3_data_d_mux[] = {
  3083. RX3_D_MARK, TX3_D_MARK,
  3084. };
  3085. /* - SCIF4 ------------------------------------------------------------------ */
  3086. static const unsigned int scif4_data_pins[] = {
  3087. /* RX, TX */
  3088. RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 1),
  3089. };
  3090. static const unsigned int scif4_data_mux[] = {
  3091. RX4_MARK, TX4_MARK,
  3092. };
  3093. static const unsigned int scif4_data_b_pins[] = {
  3094. /* RX, TX */
  3095. RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 0),
  3096. };
  3097. static const unsigned int scif4_data_b_mux[] = {
  3098. RX4_B_MARK, TX4_B_MARK,
  3099. };
  3100. static const unsigned int scif4_data_c_pins[] = {
  3101. /* RX, TX */
  3102. RCAR_GP_PIN(7, 22), RCAR_GP_PIN(7, 21),
  3103. };
  3104. static const unsigned int scif4_data_c_mux[] = {
  3105. RX4_C_MARK, TX4_C_MARK,
  3106. };
  3107. /* - SCIF5 ------------------------------------------------------------------ */
  3108. static const unsigned int scif5_data_pins[] = {
  3109. /* RX, TX */
  3110. RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3),
  3111. };
  3112. static const unsigned int scif5_data_mux[] = {
  3113. RX5_MARK, TX5_MARK,
  3114. };
  3115. static const unsigned int scif5_data_b_pins[] = {
  3116. /* RX, TX */
  3117. RCAR_GP_PIN(6, 23), RCAR_GP_PIN(6, 22),
  3118. };
  3119. static const unsigned int scif5_data_b_mux[] = {
  3120. RX5_B_MARK, TX5_B_MARK,
  3121. };
  3122. /* - SCIFA0 ----------------------------------------------------------------- */
  3123. static const unsigned int scifa0_data_pins[] = {
  3124. /* RXD, TXD */
  3125. RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6),
  3126. };
  3127. static const unsigned int scifa0_data_mux[] = {
  3128. SCIFA0_RXD_MARK, SCIFA0_TXD_MARK,
  3129. };
  3130. static const unsigned int scifa0_data_b_pins[] = {
  3131. /* RXD, TXD */
  3132. RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
  3133. };
  3134. static const unsigned int scifa0_data_b_mux[] = {
  3135. SCIFA0_RXD_B_MARK, SCIFA0_TXD_B_MARK
  3136. };
  3137. /* - SCIFA1 ----------------------------------------------------------------- */
  3138. static const unsigned int scifa1_data_pins[] = {
  3139. /* RXD, TXD */
  3140. RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8),
  3141. };
  3142. static const unsigned int scifa1_data_mux[] = {
  3143. SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
  3144. };
  3145. static const unsigned int scifa1_clk_pins[] = {
  3146. /* SCK */
  3147. RCAR_GP_PIN(3, 10),
  3148. };
  3149. static const unsigned int scifa1_clk_mux[] = {
  3150. SCIFA1_SCK_MARK,
  3151. };
  3152. static const unsigned int scifa1_data_b_pins[] = {
  3153. /* RXD, TXD */
  3154. RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
  3155. };
  3156. static const unsigned int scifa1_data_b_mux[] = {
  3157. SCIFA1_RXD_B_MARK, SCIFA1_TXD_B_MARK,
  3158. };
  3159. static const unsigned int scifa1_clk_b_pins[] = {
  3160. /* SCK */
  3161. RCAR_GP_PIN(1, 0),
  3162. };
  3163. static const unsigned int scifa1_clk_b_mux[] = {
  3164. SCIFA1_SCK_B_MARK,
  3165. };
  3166. static const unsigned int scifa1_data_c_pins[] = {
  3167. /* RXD, TXD */
  3168. RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3),
  3169. };
  3170. static const unsigned int scifa1_data_c_mux[] = {
  3171. SCIFA1_RXD_C_MARK, SCIFA1_TXD_C_MARK,
  3172. };
  3173. /* - SCIFA2 ----------------------------------------------------------------- */
  3174. static const unsigned int scifa2_data_pins[] = {
  3175. /* RXD, TXD */
  3176. RCAR_GP_PIN(2, 30), RCAR_GP_PIN(2, 31),
  3177. };
  3178. static const unsigned int scifa2_data_mux[] = {
  3179. SCIFA2_RXD_MARK, SCIFA2_TXD_MARK,
  3180. };
  3181. static const unsigned int scifa2_clk_pins[] = {
  3182. /* SCK */
  3183. RCAR_GP_PIN(3, 18),
  3184. };
  3185. static const unsigned int scifa2_clk_mux[] = {
  3186. SCIFA2_SCK_MARK,
  3187. };
  3188. static const unsigned int scifa2_data_b_pins[] = {
  3189. /* RXD, TXD */
  3190. RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
  3191. };
  3192. static const unsigned int scifa2_data_b_mux[] = {
  3193. SCIFA2_RXD_B_MARK, SCIFA2_TXD_B_MARK,
  3194. };
  3195. /* - SCIFA3 ----------------------------------------------------------------- */
  3196. static const unsigned int scifa3_data_pins[] = {
  3197. /* RXD, TXD */
  3198. RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
  3199. };
  3200. static const unsigned int scifa3_data_mux[] = {
  3201. SCIFA3_RXD_MARK, SCIFA3_TXD_MARK,
  3202. };
  3203. static const unsigned int scifa3_clk_pins[] = {
  3204. /* SCK */
  3205. RCAR_GP_PIN(3, 23),
  3206. };
  3207. static const unsigned int scifa3_clk_mux[] = {
  3208. SCIFA3_SCK_MARK,
  3209. };
  3210. static const unsigned int scifa3_data_b_pins[] = {
  3211. /* RXD, TXD */
  3212. RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 20),
  3213. };
  3214. static const unsigned int scifa3_data_b_mux[] = {
  3215. SCIFA3_RXD_B_MARK, SCIFA3_TXD_B_MARK,
  3216. };
  3217. static const unsigned int scifa3_clk_b_pins[] = {
  3218. /* SCK */
  3219. RCAR_GP_PIN(4, 8),
  3220. };
  3221. static const unsigned int scifa3_clk_b_mux[] = {
  3222. SCIFA3_SCK_B_MARK,
  3223. };
  3224. static const unsigned int scifa3_data_c_pins[] = {
  3225. /* RXD, TXD */
  3226. RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 20),
  3227. };
  3228. static const unsigned int scifa3_data_c_mux[] = {
  3229. SCIFA3_RXD_C_MARK, SCIFA3_TXD_C_MARK,
  3230. };
  3231. static const unsigned int scifa3_clk_c_pins[] = {
  3232. /* SCK */
  3233. RCAR_GP_PIN(7, 22),
  3234. };
  3235. static const unsigned int scifa3_clk_c_mux[] = {
  3236. SCIFA3_SCK_C_MARK,
  3237. };
  3238. /* - SCIFA4 ----------------------------------------------------------------- */
  3239. static const unsigned int scifa4_data_pins[] = {
  3240. /* RXD, TXD */
  3241. RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 1),
  3242. };
  3243. static const unsigned int scifa4_data_mux[] = {
  3244. SCIFA4_RXD_MARK, SCIFA4_TXD_MARK,
  3245. };
  3246. static const unsigned int scifa4_data_b_pins[] = {
  3247. /* RXD, TXD */
  3248. RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 0),
  3249. };
  3250. static const unsigned int scifa4_data_b_mux[] = {
  3251. SCIFA4_RXD_B_MARK, SCIFA4_TXD_B_MARK,
  3252. };
  3253. static const unsigned int scifa4_data_c_pins[] = {
  3254. /* RXD, TXD */
  3255. RCAR_GP_PIN(7, 22), RCAR_GP_PIN(7, 21),
  3256. };
  3257. static const unsigned int scifa4_data_c_mux[] = {
  3258. SCIFA4_RXD_C_MARK, SCIFA4_TXD_C_MARK,
  3259. };
  3260. /* - SCIFA5 ----------------------------------------------------------------- */
  3261. static const unsigned int scifa5_data_pins[] = {
  3262. /* RXD, TXD */
  3263. RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3),
  3264. };
  3265. static const unsigned int scifa5_data_mux[] = {
  3266. SCIFA5_RXD_MARK, SCIFA5_TXD_MARK,
  3267. };
  3268. static const unsigned int scifa5_data_b_pins[] = {
  3269. /* RXD, TXD */
  3270. RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
  3271. };
  3272. static const unsigned int scifa5_data_b_mux[] = {
  3273. SCIFA5_RXD_B_MARK, SCIFA5_TXD_B_MARK,
  3274. };
  3275. static const unsigned int scifa5_data_c_pins[] = {
  3276. /* RXD, TXD */
  3277. RCAR_GP_PIN(6, 23), RCAR_GP_PIN(6, 22),
  3278. };
  3279. static const unsigned int scifa5_data_c_mux[] = {
  3280. SCIFA5_RXD_C_MARK, SCIFA5_TXD_C_MARK,
  3281. };
  3282. /* - SCIFB0 ----------------------------------------------------------------- */
  3283. static const unsigned int scifb0_data_pins[] = {
  3284. /* RXD, TXD */
  3285. RCAR_GP_PIN(7, 3), RCAR_GP_PIN(7, 4),
  3286. };
  3287. static const unsigned int scifb0_data_mux[] = {
  3288. SCIFB0_RXD_MARK, SCIFB0_TXD_MARK,
  3289. };
  3290. static const unsigned int scifb0_clk_pins[] = {
  3291. /* SCK */
  3292. RCAR_GP_PIN(7, 2),
  3293. };
  3294. static const unsigned int scifb0_clk_mux[] = {
  3295. SCIFB0_SCK_MARK,
  3296. };
  3297. static const unsigned int scifb0_ctrl_pins[] = {
  3298. /* RTS, CTS */
  3299. RCAR_GP_PIN(7, 1), RCAR_GP_PIN(7, 0),
  3300. };
  3301. static const unsigned int scifb0_ctrl_mux[] = {
  3302. SCIFB0_RTS_N_MARK, SCIFB0_CTS_N_MARK,
  3303. };
  3304. static const unsigned int scifb0_data_b_pins[] = {
  3305. /* RXD, TXD */
  3306. RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21),
  3307. };
  3308. static const unsigned int scifb0_data_b_mux[] = {
  3309. SCIFB0_RXD_B_MARK, SCIFB0_TXD_B_MARK,
  3310. };
  3311. static const unsigned int scifb0_clk_b_pins[] = {
  3312. /* SCK */
  3313. RCAR_GP_PIN(5, 31),
  3314. };
  3315. static const unsigned int scifb0_clk_b_mux[] = {
  3316. SCIFB0_SCK_B_MARK,
  3317. };
  3318. static const unsigned int scifb0_ctrl_b_pins[] = {
  3319. /* RTS, CTS */
  3320. RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 23),
  3321. };
  3322. static const unsigned int scifb0_ctrl_b_mux[] = {
  3323. SCIFB0_RTS_N_B_MARK, SCIFB0_CTS_N_B_MARK,
  3324. };
  3325. static const unsigned int scifb0_data_c_pins[] = {
  3326. /* RXD, TXD */
  3327. RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  3328. };
  3329. static const unsigned int scifb0_data_c_mux[] = {
  3330. SCIFB0_RXD_C_MARK, SCIFB0_TXD_C_MARK,
  3331. };
  3332. static const unsigned int scifb0_clk_c_pins[] = {
  3333. /* SCK */
  3334. RCAR_GP_PIN(2, 30),
  3335. };
  3336. static const unsigned int scifb0_clk_c_mux[] = {
  3337. SCIFB0_SCK_C_MARK,
  3338. };
  3339. static const unsigned int scifb0_data_d_pins[] = {
  3340. /* RXD, TXD */
  3341. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 18),
  3342. };
  3343. static const unsigned int scifb0_data_d_mux[] = {
  3344. SCIFB0_RXD_D_MARK, SCIFB0_TXD_D_MARK,
  3345. };
  3346. static const unsigned int scifb0_clk_d_pins[] = {
  3347. /* SCK */
  3348. RCAR_GP_PIN(4, 17),
  3349. };
  3350. static const unsigned int scifb0_clk_d_mux[] = {
  3351. SCIFB0_SCK_D_MARK,
  3352. };
  3353. /* - SCIFB1 ----------------------------------------------------------------- */
  3354. static const unsigned int scifb1_data_pins[] = {
  3355. /* RXD, TXD */
  3356. RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
  3357. };
  3358. static const unsigned int scifb1_data_mux[] = {
  3359. SCIFB1_RXD_MARK, SCIFB1_TXD_MARK,
  3360. };
  3361. static const unsigned int scifb1_clk_pins[] = {
  3362. /* SCK */
  3363. RCAR_GP_PIN(7, 7),
  3364. };
  3365. static const unsigned int scifb1_clk_mux[] = {
  3366. SCIFB1_SCK_MARK,
  3367. };
  3368. static const unsigned int scifb1_ctrl_pins[] = {
  3369. /* RTS, CTS */
  3370. RCAR_GP_PIN(7, 9), RCAR_GP_PIN(7, 8),
  3371. };
  3372. static const unsigned int scifb1_ctrl_mux[] = {
  3373. SCIFB1_RTS_N_MARK, SCIFB1_CTS_N_MARK,
  3374. };
  3375. static const unsigned int scifb1_data_b_pins[] = {
  3376. /* RXD, TXD */
  3377. RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18),
  3378. };
  3379. static const unsigned int scifb1_data_b_mux[] = {
  3380. SCIFB1_RXD_B_MARK, SCIFB1_TXD_B_MARK,
  3381. };
  3382. static const unsigned int scifb1_clk_b_pins[] = {
  3383. /* SCK */
  3384. RCAR_GP_PIN(1, 3),
  3385. };
  3386. static const unsigned int scifb1_clk_b_mux[] = {
  3387. SCIFB1_SCK_B_MARK,
  3388. };
  3389. static const unsigned int scifb1_data_c_pins[] = {
  3390. /* RXD, TXD */
  3391. RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3),
  3392. };
  3393. static const unsigned int scifb1_data_c_mux[] = {
  3394. SCIFB1_RXD_C_MARK, SCIFB1_TXD_C_MARK,
  3395. };
  3396. static const unsigned int scifb1_clk_c_pins[] = {
  3397. /* SCK */
  3398. RCAR_GP_PIN(7, 11),
  3399. };
  3400. static const unsigned int scifb1_clk_c_mux[] = {
  3401. SCIFB1_SCK_C_MARK,
  3402. };
  3403. static const unsigned int scifb1_data_d_pins[] = {
  3404. /* RXD, TXD */
  3405. RCAR_GP_PIN(7, 10), RCAR_GP_PIN(7, 12),
  3406. };
  3407. static const unsigned int scifb1_data_d_mux[] = {
  3408. SCIFB1_RXD_D_MARK, SCIFB1_TXD_D_MARK,
  3409. };
  3410. /* - SCIFB2 ----------------------------------------------------------------- */
  3411. static const unsigned int scifb2_data_pins[] = {
  3412. /* RXD, TXD */
  3413. RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17),
  3414. };
  3415. static const unsigned int scifb2_data_mux[] = {
  3416. SCIFB2_RXD_MARK, SCIFB2_TXD_MARK,
  3417. };
  3418. static const unsigned int scifb2_clk_pins[] = {
  3419. /* SCK */
  3420. RCAR_GP_PIN(4, 15),
  3421. };
  3422. static const unsigned int scifb2_clk_mux[] = {
  3423. SCIFB2_SCK_MARK,
  3424. };
  3425. static const unsigned int scifb2_ctrl_pins[] = {
  3426. /* RTS, CTS */
  3427. RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 13),
  3428. };
  3429. static const unsigned int scifb2_ctrl_mux[] = {
  3430. SCIFB2_RTS_N_MARK, SCIFB2_CTS_N_MARK,
  3431. };
  3432. static const unsigned int scifb2_data_b_pins[] = {
  3433. /* RXD, TXD */
  3434. RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
  3435. };
  3436. static const unsigned int scifb2_data_b_mux[] = {
  3437. SCIFB2_RXD_B_MARK, SCIFB2_TXD_B_MARK,
  3438. };
  3439. static const unsigned int scifb2_clk_b_pins[] = {
  3440. /* SCK */
  3441. RCAR_GP_PIN(5, 31),
  3442. };
  3443. static const unsigned int scifb2_clk_b_mux[] = {
  3444. SCIFB2_SCK_B_MARK,
  3445. };
  3446. static const unsigned int scifb2_ctrl_b_pins[] = {
  3447. /* RTS, CTS */
  3448. RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14),
  3449. };
  3450. static const unsigned int scifb2_ctrl_b_mux[] = {
  3451. SCIFB2_RTS_N_B_MARK, SCIFB2_CTS_N_B_MARK,
  3452. };
  3453. static const unsigned int scifb2_data_c_pins[] = {
  3454. /* RXD, TXD */
  3455. RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  3456. };
  3457. static const unsigned int scifb2_data_c_mux[] = {
  3458. SCIFB2_RXD_C_MARK, SCIFB2_TXD_C_MARK,
  3459. };
  3460. static const unsigned int scifb2_clk_c_pins[] = {
  3461. /* SCK */
  3462. RCAR_GP_PIN(5, 27),
  3463. };
  3464. static const unsigned int scifb2_clk_c_mux[] = {
  3465. SCIFB2_SCK_C_MARK,
  3466. };
  3467. static const unsigned int scifb2_data_d_pins[] = {
  3468. /* RXD, TXD */
  3469. RCAR_GP_PIN(5, 26), RCAR_GP_PIN(5, 25),
  3470. };
  3471. static const unsigned int scifb2_data_d_mux[] = {
  3472. SCIFB2_RXD_D_MARK, SCIFB2_TXD_D_MARK,
  3473. };
  3474. /* - SDHI0 ------------------------------------------------------------------ */
  3475. static const unsigned int sdhi0_data1_pins[] = {
  3476. /* D0 */
  3477. RCAR_GP_PIN(6, 2),
  3478. };
  3479. static const unsigned int sdhi0_data1_mux[] = {
  3480. SD0_DATA0_MARK,
  3481. };
  3482. static const unsigned int sdhi0_data4_pins[] = {
  3483. /* D[0:3] */
  3484. RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 3),
  3485. RCAR_GP_PIN(6, 4), RCAR_GP_PIN(6, 5),
  3486. };
  3487. static const unsigned int sdhi0_data4_mux[] = {
  3488. SD0_DATA0_MARK, SD0_DATA1_MARK, SD0_DATA2_MARK, SD0_DATA3_MARK,
  3489. };
  3490. static const unsigned int sdhi0_ctrl_pins[] = {
  3491. /* CLK, CMD */
  3492. RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 1),
  3493. };
  3494. static const unsigned int sdhi0_ctrl_mux[] = {
  3495. SD0_CLK_MARK, SD0_CMD_MARK,
  3496. };
  3497. static const unsigned int sdhi0_cd_pins[] = {
  3498. /* CD */
  3499. RCAR_GP_PIN(6, 6),
  3500. };
  3501. static const unsigned int sdhi0_cd_mux[] = {
  3502. SD0_CD_MARK,
  3503. };
  3504. static const unsigned int sdhi0_wp_pins[] = {
  3505. /* WP */
  3506. RCAR_GP_PIN(6, 7),
  3507. };
  3508. static const unsigned int sdhi0_wp_mux[] = {
  3509. SD0_WP_MARK,
  3510. };
  3511. /* - SDHI1 ------------------------------------------------------------------ */
  3512. static const unsigned int sdhi1_data1_pins[] = {
  3513. /* D0 */
  3514. RCAR_GP_PIN(6, 10),
  3515. };
  3516. static const unsigned int sdhi1_data1_mux[] = {
  3517. SD1_DATA0_MARK,
  3518. };
  3519. static const unsigned int sdhi1_data4_pins[] = {
  3520. /* D[0:3] */
  3521. RCAR_GP_PIN(6, 10), RCAR_GP_PIN(6, 11),
  3522. RCAR_GP_PIN(6, 12), RCAR_GP_PIN(6, 13),
  3523. };
  3524. static const unsigned int sdhi1_data4_mux[] = {
  3525. SD1_DATA0_MARK, SD1_DATA1_MARK, SD1_DATA2_MARK, SD1_DATA3_MARK,
  3526. };
  3527. static const unsigned int sdhi1_ctrl_pins[] = {
  3528. /* CLK, CMD */
  3529. RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9),
  3530. };
  3531. static const unsigned int sdhi1_ctrl_mux[] = {
  3532. SD1_CLK_MARK, SD1_CMD_MARK,
  3533. };
  3534. static const unsigned int sdhi1_cd_pins[] = {
  3535. /* CD */
  3536. RCAR_GP_PIN(6, 14),
  3537. };
  3538. static const unsigned int sdhi1_cd_mux[] = {
  3539. SD1_CD_MARK,
  3540. };
  3541. static const unsigned int sdhi1_wp_pins[] = {
  3542. /* WP */
  3543. RCAR_GP_PIN(6, 15),
  3544. };
  3545. static const unsigned int sdhi1_wp_mux[] = {
  3546. SD1_WP_MARK,
  3547. };
  3548. /* - SDHI2 ------------------------------------------------------------------ */
  3549. static const unsigned int sdhi2_data1_pins[] = {
  3550. /* D0 */
  3551. RCAR_GP_PIN(6, 18),
  3552. };
  3553. static const unsigned int sdhi2_data1_mux[] = {
  3554. SD2_DATA0_MARK,
  3555. };
  3556. static const unsigned int sdhi2_data4_pins[] = {
  3557. /* D[0:3] */
  3558. RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
  3559. RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
  3560. };
  3561. static const unsigned int sdhi2_data4_mux[] = {
  3562. SD2_DATA0_MARK, SD2_DATA1_MARK, SD2_DATA2_MARK, SD2_DATA3_MARK,
  3563. };
  3564. static const unsigned int sdhi2_ctrl_pins[] = {
  3565. /* CLK, CMD */
  3566. RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
  3567. };
  3568. static const unsigned int sdhi2_ctrl_mux[] = {
  3569. SD2_CLK_MARK, SD2_CMD_MARK,
  3570. };
  3571. static const unsigned int sdhi2_cd_pins[] = {
  3572. /* CD */
  3573. RCAR_GP_PIN(6, 22),
  3574. };
  3575. static const unsigned int sdhi2_cd_mux[] = {
  3576. SD2_CD_MARK,
  3577. };
  3578. static const unsigned int sdhi2_wp_pins[] = {
  3579. /* WP */
  3580. RCAR_GP_PIN(6, 23),
  3581. };
  3582. static const unsigned int sdhi2_wp_mux[] = {
  3583. SD2_WP_MARK,
  3584. };
  3585. /* - SSI -------------------------------------------------------------------- */
  3586. static const unsigned int ssi0_data_pins[] = {
  3587. /* SDATA */
  3588. RCAR_GP_PIN(2, 2),
  3589. };
  3590. static const unsigned int ssi0_data_mux[] = {
  3591. SSI_SDATA0_MARK,
  3592. };
  3593. static const unsigned int ssi0_data_b_pins[] = {
  3594. /* SDATA */
  3595. RCAR_GP_PIN(3, 4),
  3596. };
  3597. static const unsigned int ssi0_data_b_mux[] = {
  3598. SSI_SDATA0_B_MARK,
  3599. };
  3600. static const unsigned int ssi0129_ctrl_pins[] = {
  3601. /* SCK, WS */
  3602. RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  3603. };
  3604. static const unsigned int ssi0129_ctrl_mux[] = {
  3605. SSI_SCK0129_MARK, SSI_WS0129_MARK,
  3606. };
  3607. static const unsigned int ssi0129_ctrl_b_pins[] = {
  3608. /* SCK, WS */
  3609. RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3),
  3610. };
  3611. static const unsigned int ssi0129_ctrl_b_mux[] = {
  3612. SSI_SCK0129_B_MARK, SSI_WS0129_B_MARK,
  3613. };
  3614. static const unsigned int ssi1_data_pins[] = {
  3615. /* SDATA */
  3616. RCAR_GP_PIN(2, 5),
  3617. };
  3618. static const unsigned int ssi1_data_mux[] = {
  3619. SSI_SDATA1_MARK,
  3620. };
  3621. static const unsigned int ssi1_data_b_pins[] = {
  3622. /* SDATA */
  3623. RCAR_GP_PIN(3, 7),
  3624. };
  3625. static const unsigned int ssi1_data_b_mux[] = {
  3626. SSI_SDATA1_B_MARK,
  3627. };
  3628. static const unsigned int ssi1_ctrl_pins[] = {
  3629. /* SCK, WS */
  3630. RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 4),
  3631. };
  3632. static const unsigned int ssi1_ctrl_mux[] = {
  3633. SSI_SCK1_MARK, SSI_WS1_MARK,
  3634. };
  3635. static const unsigned int ssi1_ctrl_b_pins[] = {
  3636. /* SCK, WS */
  3637. RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 6),
  3638. };
  3639. static const unsigned int ssi1_ctrl_b_mux[] = {
  3640. SSI_SCK1_B_MARK, SSI_WS1_B_MARK,
  3641. };
  3642. static const unsigned int ssi2_data_pins[] = {
  3643. /* SDATA */
  3644. RCAR_GP_PIN(2, 8),
  3645. };
  3646. static const unsigned int ssi2_data_mux[] = {
  3647. SSI_SDATA2_MARK,
  3648. };
  3649. static const unsigned int ssi2_ctrl_pins[] = {
  3650. /* SCK, WS */
  3651. RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7),
  3652. };
  3653. static const unsigned int ssi2_ctrl_mux[] = {
  3654. SSI_SCK2_MARK, SSI_WS2_MARK,
  3655. };
  3656. static const unsigned int ssi3_data_pins[] = {
  3657. /* SDATA */
  3658. RCAR_GP_PIN(2, 11),
  3659. };
  3660. static const unsigned int ssi3_data_mux[] = {
  3661. SSI_SDATA3_MARK,
  3662. };
  3663. static const unsigned int ssi34_ctrl_pins[] = {
  3664. /* SCK, WS */
  3665. RCAR_GP_PIN(2, 9), RCAR_GP_PIN(2, 10),
  3666. };
  3667. static const unsigned int ssi34_ctrl_mux[] = {
  3668. SSI_SCK34_MARK, SSI_WS34_MARK,
  3669. };
  3670. static const unsigned int ssi4_data_pins[] = {
  3671. /* SDATA */
  3672. RCAR_GP_PIN(2, 14),
  3673. };
  3674. static const unsigned int ssi4_data_mux[] = {
  3675. SSI_SDATA4_MARK,
  3676. };
  3677. static const unsigned int ssi4_ctrl_pins[] = {
  3678. /* SCK, WS */
  3679. RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 13),
  3680. };
  3681. static const unsigned int ssi4_ctrl_mux[] = {
  3682. SSI_SCK4_MARK, SSI_WS4_MARK,
  3683. };
  3684. static const unsigned int ssi5_data_pins[] = {
  3685. /* SDATA */
  3686. RCAR_GP_PIN(2, 17),
  3687. };
  3688. static const unsigned int ssi5_data_mux[] = {
  3689. SSI_SDATA5_MARK,
  3690. };
  3691. static const unsigned int ssi5_ctrl_pins[] = {
  3692. /* SCK, WS */
  3693. RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
  3694. };
  3695. static const unsigned int ssi5_ctrl_mux[] = {
  3696. SSI_SCK5_MARK, SSI_WS5_MARK,
  3697. };
  3698. static const unsigned int ssi6_data_pins[] = {
  3699. /* SDATA */
  3700. RCAR_GP_PIN(2, 20),
  3701. };
  3702. static const unsigned int ssi6_data_mux[] = {
  3703. SSI_SDATA6_MARK,
  3704. };
  3705. static const unsigned int ssi6_ctrl_pins[] = {
  3706. /* SCK, WS */
  3707. RCAR_GP_PIN(2, 18), RCAR_GP_PIN(2, 19),
  3708. };
  3709. static const unsigned int ssi6_ctrl_mux[] = {
  3710. SSI_SCK6_MARK, SSI_WS6_MARK,
  3711. };
  3712. static const unsigned int ssi7_data_pins[] = {
  3713. /* SDATA */
  3714. RCAR_GP_PIN(2, 23),
  3715. };
  3716. static const unsigned int ssi7_data_mux[] = {
  3717. SSI_SDATA7_MARK,
  3718. };
  3719. static const unsigned int ssi7_data_b_pins[] = {
  3720. /* SDATA */
  3721. RCAR_GP_PIN(3, 12),
  3722. };
  3723. static const unsigned int ssi7_data_b_mux[] = {
  3724. SSI_SDATA7_B_MARK,
  3725. };
  3726. static const unsigned int ssi78_ctrl_pins[] = {
  3727. /* SCK, WS */
  3728. RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
  3729. };
  3730. static const unsigned int ssi78_ctrl_mux[] = {
  3731. SSI_SCK78_MARK, SSI_WS78_MARK,
  3732. };
  3733. static const unsigned int ssi78_ctrl_b_pins[] = {
  3734. /* SCK, WS */
  3735. RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
  3736. };
  3737. static const unsigned int ssi78_ctrl_b_mux[] = {
  3738. SSI_SCK78_B_MARK, SSI_WS78_B_MARK,
  3739. };
  3740. static const unsigned int ssi8_data_pins[] = {
  3741. /* SDATA */
  3742. RCAR_GP_PIN(2, 24),
  3743. };
  3744. static const unsigned int ssi8_data_mux[] = {
  3745. SSI_SDATA8_MARK,
  3746. };
  3747. static const unsigned int ssi8_data_b_pins[] = {
  3748. /* SDATA */
  3749. RCAR_GP_PIN(3, 13),
  3750. };
  3751. static const unsigned int ssi8_data_b_mux[] = {
  3752. SSI_SDATA8_B_MARK,
  3753. };
  3754. static const unsigned int ssi9_data_pins[] = {
  3755. /* SDATA */
  3756. RCAR_GP_PIN(2, 27),
  3757. };
  3758. static const unsigned int ssi9_data_mux[] = {
  3759. SSI_SDATA9_MARK,
  3760. };
  3761. static const unsigned int ssi9_data_b_pins[] = {
  3762. /* SDATA */
  3763. RCAR_GP_PIN(3, 18),
  3764. };
  3765. static const unsigned int ssi9_data_b_mux[] = {
  3766. SSI_SDATA9_B_MARK,
  3767. };
  3768. static const unsigned int ssi9_ctrl_pins[] = {
  3769. /* SCK, WS */
  3770. RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26),
  3771. };
  3772. static const unsigned int ssi9_ctrl_mux[] = {
  3773. SSI_SCK9_MARK, SSI_WS9_MARK,
  3774. };
  3775. static const unsigned int ssi9_ctrl_b_pins[] = {
  3776. /* SCK, WS */
  3777. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15),
  3778. };
  3779. static const unsigned int ssi9_ctrl_b_mux[] = {
  3780. SSI_SCK9_B_MARK, SSI_WS9_B_MARK,
  3781. };
  3782. /* - USB0 ------------------------------------------------------------------- */
  3783. static const unsigned int usb0_pins[] = {
  3784. RCAR_GP_PIN(7, 23), /* PWEN */
  3785. RCAR_GP_PIN(7, 24), /* OVC */
  3786. };
  3787. static const unsigned int usb0_mux[] = {
  3788. USB0_PWEN_MARK,
  3789. USB0_OVC_MARK,
  3790. };
  3791. /* - USB1 ------------------------------------------------------------------- */
  3792. static const unsigned int usb1_pins[] = {
  3793. RCAR_GP_PIN(7, 25), /* PWEN */
  3794. RCAR_GP_PIN(6, 30), /* OVC */
  3795. };
  3796. static const unsigned int usb1_mux[] = {
  3797. USB1_PWEN_MARK,
  3798. USB1_OVC_MARK,
  3799. };
  3800. /* - VIN0 ------------------------------------------------------------------- */
  3801. static const union vin_data vin0_data_pins = {
  3802. .data24 = {
  3803. /* B */
  3804. RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6),
  3805. RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8),
  3806. RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
  3807. RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
  3808. /* G */
  3809. RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
  3810. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
  3811. RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
  3812. RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20),
  3813. /* R */
  3814. RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 22),
  3815. RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24),
  3816. RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
  3817. RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
  3818. },
  3819. };
  3820. static const union vin_data vin0_data_mux = {
  3821. .data24 = {
  3822. /* B */
  3823. VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
  3824. VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
  3825. VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
  3826. VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
  3827. /* G */
  3828. VI0_G0_MARK, VI0_G1_MARK,
  3829. VI0_G2_MARK, VI0_G3_MARK,
  3830. VI0_G4_MARK, VI0_G5_MARK,
  3831. VI0_G6_MARK, VI0_G7_MARK,
  3832. /* R */
  3833. VI0_R0_MARK, VI0_R1_MARK,
  3834. VI0_R2_MARK, VI0_R3_MARK,
  3835. VI0_R4_MARK, VI0_R5_MARK,
  3836. VI0_R6_MARK, VI0_R7_MARK,
  3837. },
  3838. };
  3839. static const unsigned int vin0_data18_pins[] = {
  3840. /* B */
  3841. RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8),
  3842. RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
  3843. RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
  3844. /* G */
  3845. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
  3846. RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
  3847. RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20),
  3848. /* R */
  3849. RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24),
  3850. RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
  3851. RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
  3852. };
  3853. static const unsigned int vin0_data18_mux[] = {
  3854. /* B */
  3855. VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
  3856. VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
  3857. VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
  3858. /* G */
  3859. VI0_G2_MARK, VI0_G3_MARK,
  3860. VI0_G4_MARK, VI0_G5_MARK,
  3861. VI0_G6_MARK, VI0_G7_MARK,
  3862. /* R */
  3863. VI0_R2_MARK, VI0_R3_MARK,
  3864. VI0_R4_MARK, VI0_R5_MARK,
  3865. VI0_R6_MARK, VI0_R7_MARK,
  3866. };
  3867. static const unsigned int vin0_sync_pins[] = {
  3868. RCAR_GP_PIN(4, 3), /* HSYNC */
  3869. RCAR_GP_PIN(4, 4), /* VSYNC */
  3870. };
  3871. static const unsigned int vin0_sync_mux[] = {
  3872. VI0_HSYNC_N_MARK,
  3873. VI0_VSYNC_N_MARK,
  3874. };
  3875. static const unsigned int vin0_field_pins[] = {
  3876. RCAR_GP_PIN(4, 2),
  3877. };
  3878. static const unsigned int vin0_field_mux[] = {
  3879. VI0_FIELD_MARK,
  3880. };
  3881. static const unsigned int vin0_clkenb_pins[] = {
  3882. RCAR_GP_PIN(4, 1),
  3883. };
  3884. static const unsigned int vin0_clkenb_mux[] = {
  3885. VI0_CLKENB_MARK,
  3886. };
  3887. static const unsigned int vin0_clk_pins[] = {
  3888. RCAR_GP_PIN(4, 0),
  3889. };
  3890. static const unsigned int vin0_clk_mux[] = {
  3891. VI0_CLK_MARK,
  3892. };
  3893. /* - VIN1 ----------------------------------------------------------------- */
  3894. static const unsigned int vin1_data8_pins[] = {
  3895. RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
  3896. RCAR_GP_PIN(5, 7), RCAR_GP_PIN(5, 8),
  3897. RCAR_GP_PIN(5, 9), RCAR_GP_PIN(5, 10),
  3898. RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 12),
  3899. };
  3900. static const unsigned int vin1_data8_mux[] = {
  3901. VI1_DATA0_MARK, VI1_DATA1_MARK,
  3902. VI1_DATA2_MARK, VI1_DATA3_MARK,
  3903. VI1_DATA4_MARK, VI1_DATA5_MARK,
  3904. VI1_DATA6_MARK, VI1_DATA7_MARK,
  3905. };
  3906. static const unsigned int vin1_sync_pins[] = {
  3907. RCAR_GP_PIN(5, 0), /* HSYNC */
  3908. RCAR_GP_PIN(5, 1), /* VSYNC */
  3909. };
  3910. static const unsigned int vin1_sync_mux[] = {
  3911. VI1_HSYNC_N_MARK,
  3912. VI1_VSYNC_N_MARK,
  3913. };
  3914. static const unsigned int vin1_field_pins[] = {
  3915. RCAR_GP_PIN(5, 3),
  3916. };
  3917. static const unsigned int vin1_field_mux[] = {
  3918. VI1_FIELD_MARK,
  3919. };
  3920. static const unsigned int vin1_clkenb_pins[] = {
  3921. RCAR_GP_PIN(5, 2),
  3922. };
  3923. static const unsigned int vin1_clkenb_mux[] = {
  3924. VI1_CLKENB_MARK,
  3925. };
  3926. static const unsigned int vin1_clk_pins[] = {
  3927. RCAR_GP_PIN(5, 4),
  3928. };
  3929. static const unsigned int vin1_clk_mux[] = {
  3930. VI1_CLK_MARK,
  3931. };
  3932. static const union vin_data vin1_b_data_pins = {
  3933. .data24 = {
  3934. /* B */
  3935. RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1),
  3936. RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
  3937. RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
  3938. RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
  3939. /* G */
  3940. RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
  3941. RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27),
  3942. RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
  3943. RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 22),
  3944. /* R */
  3945. RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
  3946. RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
  3947. RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18),
  3948. RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20),
  3949. },
  3950. };
  3951. static const union vin_data vin1_b_data_mux = {
  3952. .data24 = {
  3953. /* B */
  3954. VI1_DATA0_B_MARK, VI1_DATA1_B_MARK,
  3955. VI1_DATA2_B_MARK, VI1_DATA3_B_MARK,
  3956. VI1_DATA4_B_MARK, VI1_DATA5_B_MARK,
  3957. VI1_DATA6_B_MARK, VI1_DATA7_B_MARK,
  3958. /* G */
  3959. VI1_G0_B_MARK, VI1_G1_B_MARK,
  3960. VI1_G2_B_MARK, VI1_G3_B_MARK,
  3961. VI1_G4_B_MARK, VI1_G5_B_MARK,
  3962. VI1_G6_B_MARK, VI1_G7_B_MARK,
  3963. /* R */
  3964. VI1_R0_B_MARK, VI1_R1_B_MARK,
  3965. VI1_R2_B_MARK, VI1_R3_B_MARK,
  3966. VI1_R4_B_MARK, VI1_R5_B_MARK,
  3967. VI1_R6_B_MARK, VI1_R7_B_MARK,
  3968. },
  3969. };
  3970. static const unsigned int vin1_b_data18_pins[] = {
  3971. /* B */
  3972. RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
  3973. RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
  3974. RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
  3975. /* G */
  3976. RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27),
  3977. RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
  3978. RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 22),
  3979. /* R */
  3980. RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
  3981. RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18),
  3982. RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20),
  3983. };
  3984. static const unsigned int vin1_b_data18_mux[] = {
  3985. /* B */
  3986. VI1_DATA0_B_MARK, VI1_DATA1_B_MARK,
  3987. VI1_DATA2_B_MARK, VI1_DATA3_B_MARK,
  3988. VI1_DATA4_B_MARK, VI1_DATA5_B_MARK,
  3989. VI1_DATA6_B_MARK, VI1_DATA7_B_MARK,
  3990. /* G */
  3991. VI1_G0_B_MARK, VI1_G1_B_MARK,
  3992. VI1_G2_B_MARK, VI1_G3_B_MARK,
  3993. VI1_G4_B_MARK, VI1_G5_B_MARK,
  3994. VI1_G6_B_MARK, VI1_G7_B_MARK,
  3995. /* R */
  3996. VI1_R0_B_MARK, VI1_R1_B_MARK,
  3997. VI1_R2_B_MARK, VI1_R3_B_MARK,
  3998. VI1_R4_B_MARK, VI1_R5_B_MARK,
  3999. VI1_R6_B_MARK, VI1_R7_B_MARK,
  4000. };
  4001. static const unsigned int vin1_b_sync_pins[] = {
  4002. RCAR_GP_PIN(3, 17), /* HSYNC */
  4003. RCAR_GP_PIN(3, 18), /* VSYNC */
  4004. };
  4005. static const unsigned int vin1_b_sync_mux[] = {
  4006. VI1_HSYNC_N_B_MARK,
  4007. VI1_VSYNC_N_B_MARK,
  4008. };
  4009. static const unsigned int vin1_b_field_pins[] = {
  4010. RCAR_GP_PIN(3, 20),
  4011. };
  4012. static const unsigned int vin1_b_field_mux[] = {
  4013. VI1_FIELD_B_MARK,
  4014. };
  4015. static const unsigned int vin1_b_clkenb_pins[] = {
  4016. RCAR_GP_PIN(3, 19),
  4017. };
  4018. static const unsigned int vin1_b_clkenb_mux[] = {
  4019. VI1_CLKENB_B_MARK,
  4020. };
  4021. static const unsigned int vin1_b_clk_pins[] = {
  4022. RCAR_GP_PIN(3, 16),
  4023. };
  4024. static const unsigned int vin1_b_clk_mux[] = {
  4025. VI1_CLK_B_MARK,
  4026. };
  4027. /* - VIN2 ----------------------------------------------------------------- */
  4028. static const unsigned int vin2_data8_pins[] = {
  4029. RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
  4030. RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
  4031. RCAR_GP_PIN(4, 24), RCAR_GP_PIN(4, 25),
  4032. RCAR_GP_PIN(4, 26), RCAR_GP_PIN(4, 27),
  4033. };
  4034. static const unsigned int vin2_data8_mux[] = {
  4035. VI2_DATA0_MARK, VI2_DATA1_MARK,
  4036. VI2_DATA2_MARK, VI2_DATA3_MARK,
  4037. VI2_DATA4_MARK, VI2_DATA5_MARK,
  4038. VI2_DATA6_MARK, VI2_DATA7_MARK,
  4039. };
  4040. static const unsigned int vin2_sync_pins[] = {
  4041. RCAR_GP_PIN(4, 15), /* HSYNC */
  4042. RCAR_GP_PIN(4, 16), /* VSYNC */
  4043. };
  4044. static const unsigned int vin2_sync_mux[] = {
  4045. VI2_HSYNC_N_MARK,
  4046. VI2_VSYNC_N_MARK,
  4047. };
  4048. static const unsigned int vin2_field_pins[] = {
  4049. RCAR_GP_PIN(4, 18),
  4050. };
  4051. static const unsigned int vin2_field_mux[] = {
  4052. VI2_FIELD_MARK,
  4053. };
  4054. static const unsigned int vin2_clkenb_pins[] = {
  4055. RCAR_GP_PIN(4, 17),
  4056. };
  4057. static const unsigned int vin2_clkenb_mux[] = {
  4058. VI2_CLKENB_MARK,
  4059. };
  4060. static const unsigned int vin2_clk_pins[] = {
  4061. RCAR_GP_PIN(4, 19),
  4062. };
  4063. static const unsigned int vin2_clk_mux[] = {
  4064. VI2_CLK_MARK,
  4065. };
  4066. static const struct sh_pfc_pin_group pinmux_groups[] = {
  4067. SH_PFC_PIN_GROUP(audio_clk_a),
  4068. SH_PFC_PIN_GROUP(audio_clk_b),
  4069. SH_PFC_PIN_GROUP(audio_clk_b_b),
  4070. SH_PFC_PIN_GROUP(audio_clk_c),
  4071. SH_PFC_PIN_GROUP(audio_clkout),
  4072. SH_PFC_PIN_GROUP(can0_data),
  4073. SH_PFC_PIN_GROUP(can0_data_b),
  4074. SH_PFC_PIN_GROUP(can0_data_c),
  4075. SH_PFC_PIN_GROUP(can0_data_d),
  4076. SH_PFC_PIN_GROUP(can0_data_e),
  4077. SH_PFC_PIN_GROUP(can0_data_f),
  4078. SH_PFC_PIN_GROUP(can1_data),
  4079. SH_PFC_PIN_GROUP(can1_data_b),
  4080. SH_PFC_PIN_GROUP(can1_data_c),
  4081. SH_PFC_PIN_GROUP(can1_data_d),
  4082. SH_PFC_PIN_GROUP(can_clk),
  4083. SH_PFC_PIN_GROUP(can_clk_b),
  4084. SH_PFC_PIN_GROUP(can_clk_c),
  4085. SH_PFC_PIN_GROUP(can_clk_d),
  4086. SH_PFC_PIN_GROUP(du_rgb666),
  4087. SH_PFC_PIN_GROUP(du_rgb888),
  4088. SH_PFC_PIN_GROUP(du_clk_out_0),
  4089. SH_PFC_PIN_GROUP(du_clk_out_1),
  4090. SH_PFC_PIN_GROUP(du_sync),
  4091. SH_PFC_PIN_GROUP(du_oddf),
  4092. SH_PFC_PIN_GROUP(du_cde),
  4093. SH_PFC_PIN_GROUP(du_disp),
  4094. SH_PFC_PIN_GROUP(du0_clk_in),
  4095. SH_PFC_PIN_GROUP(du1_clk_in),
  4096. SH_PFC_PIN_GROUP(du1_clk_in_b),
  4097. SH_PFC_PIN_GROUP(du1_clk_in_c),
  4098. SH_PFC_PIN_GROUP(eth_link),
  4099. SH_PFC_PIN_GROUP(eth_magic),
  4100. SH_PFC_PIN_GROUP(eth_mdio),
  4101. SH_PFC_PIN_GROUP(eth_rmii),
  4102. SH_PFC_PIN_GROUP(hscif0_data),
  4103. SH_PFC_PIN_GROUP(hscif0_clk),
  4104. SH_PFC_PIN_GROUP(hscif0_ctrl),
  4105. SH_PFC_PIN_GROUP(hscif0_data_b),
  4106. SH_PFC_PIN_GROUP(hscif0_ctrl_b),
  4107. SH_PFC_PIN_GROUP(hscif0_data_c),
  4108. SH_PFC_PIN_GROUP(hscif0_clk_c),
  4109. SH_PFC_PIN_GROUP(hscif1_data),
  4110. SH_PFC_PIN_GROUP(hscif1_clk),
  4111. SH_PFC_PIN_GROUP(hscif1_ctrl),
  4112. SH_PFC_PIN_GROUP(hscif1_data_b),
  4113. SH_PFC_PIN_GROUP(hscif1_data_c),
  4114. SH_PFC_PIN_GROUP(hscif1_clk_c),
  4115. SH_PFC_PIN_GROUP(hscif1_ctrl_c),
  4116. SH_PFC_PIN_GROUP(hscif1_data_d),
  4117. SH_PFC_PIN_GROUP(hscif1_data_e),
  4118. SH_PFC_PIN_GROUP(hscif1_clk_e),
  4119. SH_PFC_PIN_GROUP(hscif1_ctrl_e),
  4120. SH_PFC_PIN_GROUP(hscif2_data),
  4121. SH_PFC_PIN_GROUP(hscif2_clk),
  4122. SH_PFC_PIN_GROUP(hscif2_ctrl),
  4123. SH_PFC_PIN_GROUP(hscif2_data_b),
  4124. SH_PFC_PIN_GROUP(hscif2_ctrl_b),
  4125. SH_PFC_PIN_GROUP(hscif2_data_c),
  4126. SH_PFC_PIN_GROUP(hscif2_clk_c),
  4127. SH_PFC_PIN_GROUP(hscif2_data_d),
  4128. SH_PFC_PIN_GROUP(i2c0),
  4129. SH_PFC_PIN_GROUP(i2c0_b),
  4130. SH_PFC_PIN_GROUP(i2c0_c),
  4131. SH_PFC_PIN_GROUP(i2c1),
  4132. SH_PFC_PIN_GROUP(i2c1_b),
  4133. SH_PFC_PIN_GROUP(i2c1_c),
  4134. SH_PFC_PIN_GROUP(i2c1_d),
  4135. SH_PFC_PIN_GROUP(i2c1_e),
  4136. SH_PFC_PIN_GROUP(i2c2),
  4137. SH_PFC_PIN_GROUP(i2c2_b),
  4138. SH_PFC_PIN_GROUP(i2c2_c),
  4139. SH_PFC_PIN_GROUP(i2c2_d),
  4140. SH_PFC_PIN_GROUP(i2c3),
  4141. SH_PFC_PIN_GROUP(i2c3_b),
  4142. SH_PFC_PIN_GROUP(i2c3_c),
  4143. SH_PFC_PIN_GROUP(i2c3_d),
  4144. SH_PFC_PIN_GROUP(i2c4),
  4145. SH_PFC_PIN_GROUP(i2c4_b),
  4146. SH_PFC_PIN_GROUP(i2c4_c),
  4147. SH_PFC_PIN_GROUP(i2c7),
  4148. SH_PFC_PIN_GROUP(i2c7_b),
  4149. SH_PFC_PIN_GROUP(i2c7_c),
  4150. SH_PFC_PIN_GROUP(i2c8),
  4151. SH_PFC_PIN_GROUP(i2c8_b),
  4152. SH_PFC_PIN_GROUP(i2c8_c),
  4153. SH_PFC_PIN_GROUP(intc_irq0),
  4154. SH_PFC_PIN_GROUP(intc_irq1),
  4155. SH_PFC_PIN_GROUP(intc_irq2),
  4156. SH_PFC_PIN_GROUP(intc_irq3),
  4157. SH_PFC_PIN_GROUP(mlb_3pin),
  4158. SH_PFC_PIN_GROUP(mmc_data1),
  4159. SH_PFC_PIN_GROUP(mmc_data4),
  4160. SH_PFC_PIN_GROUP(mmc_data8),
  4161. SH_PFC_PIN_GROUP(mmc_ctrl),
  4162. SH_PFC_PIN_GROUP(msiof0_clk),
  4163. SH_PFC_PIN_GROUP(msiof0_sync),
  4164. SH_PFC_PIN_GROUP(msiof0_ss1),
  4165. SH_PFC_PIN_GROUP(msiof0_ss2),
  4166. SH_PFC_PIN_GROUP(msiof0_rx),
  4167. SH_PFC_PIN_GROUP(msiof0_tx),
  4168. SH_PFC_PIN_GROUP(msiof0_clk_b),
  4169. SH_PFC_PIN_GROUP(msiof0_sync_b),
  4170. SH_PFC_PIN_GROUP(msiof0_ss1_b),
  4171. SH_PFC_PIN_GROUP(msiof0_ss2_b),
  4172. SH_PFC_PIN_GROUP(msiof0_rx_b),
  4173. SH_PFC_PIN_GROUP(msiof0_tx_b),
  4174. SH_PFC_PIN_GROUP(msiof0_clk_c),
  4175. SH_PFC_PIN_GROUP(msiof0_sync_c),
  4176. SH_PFC_PIN_GROUP(msiof0_ss1_c),
  4177. SH_PFC_PIN_GROUP(msiof0_ss2_c),
  4178. SH_PFC_PIN_GROUP(msiof0_rx_c),
  4179. SH_PFC_PIN_GROUP(msiof0_tx_c),
  4180. SH_PFC_PIN_GROUP(msiof1_clk),
  4181. SH_PFC_PIN_GROUP(msiof1_sync),
  4182. SH_PFC_PIN_GROUP(msiof1_ss1),
  4183. SH_PFC_PIN_GROUP(msiof1_ss2),
  4184. SH_PFC_PIN_GROUP(msiof1_rx),
  4185. SH_PFC_PIN_GROUP(msiof1_tx),
  4186. SH_PFC_PIN_GROUP(msiof1_clk_b),
  4187. SH_PFC_PIN_GROUP(msiof1_sync_b),
  4188. SH_PFC_PIN_GROUP(msiof1_ss1_b),
  4189. SH_PFC_PIN_GROUP(msiof1_ss2_b),
  4190. SH_PFC_PIN_GROUP(msiof1_rx_b),
  4191. SH_PFC_PIN_GROUP(msiof1_tx_b),
  4192. SH_PFC_PIN_GROUP(msiof1_clk_c),
  4193. SH_PFC_PIN_GROUP(msiof1_sync_c),
  4194. SH_PFC_PIN_GROUP(msiof1_rx_c),
  4195. SH_PFC_PIN_GROUP(msiof1_tx_c),
  4196. SH_PFC_PIN_GROUP(msiof1_clk_d),
  4197. SH_PFC_PIN_GROUP(msiof1_sync_d),
  4198. SH_PFC_PIN_GROUP(msiof1_ss1_d),
  4199. SH_PFC_PIN_GROUP(msiof1_rx_d),
  4200. SH_PFC_PIN_GROUP(msiof1_tx_d),
  4201. SH_PFC_PIN_GROUP(msiof1_clk_e),
  4202. SH_PFC_PIN_GROUP(msiof1_sync_e),
  4203. SH_PFC_PIN_GROUP(msiof1_rx_e),
  4204. SH_PFC_PIN_GROUP(msiof1_tx_e),
  4205. SH_PFC_PIN_GROUP(msiof2_clk),
  4206. SH_PFC_PIN_GROUP(msiof2_sync),
  4207. SH_PFC_PIN_GROUP(msiof2_ss1),
  4208. SH_PFC_PIN_GROUP(msiof2_ss2),
  4209. SH_PFC_PIN_GROUP(msiof2_rx),
  4210. SH_PFC_PIN_GROUP(msiof2_tx),
  4211. SH_PFC_PIN_GROUP(msiof2_clk_b),
  4212. SH_PFC_PIN_GROUP(msiof2_sync_b),
  4213. SH_PFC_PIN_GROUP(msiof2_ss1_b),
  4214. SH_PFC_PIN_GROUP(msiof2_ss2_b),
  4215. SH_PFC_PIN_GROUP(msiof2_rx_b),
  4216. SH_PFC_PIN_GROUP(msiof2_tx_b),
  4217. SH_PFC_PIN_GROUP(msiof2_clk_c),
  4218. SH_PFC_PIN_GROUP(msiof2_sync_c),
  4219. SH_PFC_PIN_GROUP(msiof2_rx_c),
  4220. SH_PFC_PIN_GROUP(msiof2_tx_c),
  4221. SH_PFC_PIN_GROUP(msiof2_clk_d),
  4222. SH_PFC_PIN_GROUP(msiof2_sync_d),
  4223. SH_PFC_PIN_GROUP(msiof2_ss1_d),
  4224. SH_PFC_PIN_GROUP(msiof2_ss2_d),
  4225. SH_PFC_PIN_GROUP(msiof2_rx_d),
  4226. SH_PFC_PIN_GROUP(msiof2_tx_d),
  4227. SH_PFC_PIN_GROUP(msiof2_clk_e),
  4228. SH_PFC_PIN_GROUP(msiof2_sync_e),
  4229. SH_PFC_PIN_GROUP(msiof2_rx_e),
  4230. SH_PFC_PIN_GROUP(msiof2_tx_e),
  4231. SH_PFC_PIN_GROUP(pwm0),
  4232. SH_PFC_PIN_GROUP(pwm0_b),
  4233. SH_PFC_PIN_GROUP(pwm1),
  4234. SH_PFC_PIN_GROUP(pwm1_b),
  4235. SH_PFC_PIN_GROUP(pwm2),
  4236. SH_PFC_PIN_GROUP(pwm2_b),
  4237. SH_PFC_PIN_GROUP(pwm3),
  4238. SH_PFC_PIN_GROUP(pwm4),
  4239. SH_PFC_PIN_GROUP(pwm4_b),
  4240. SH_PFC_PIN_GROUP(pwm5),
  4241. SH_PFC_PIN_GROUP(pwm5_b),
  4242. SH_PFC_PIN_GROUP(pwm6),
  4243. SH_PFC_PIN_GROUP(qspi_ctrl),
  4244. SH_PFC_PIN_GROUP(qspi_data2),
  4245. SH_PFC_PIN_GROUP(qspi_data4),
  4246. SH_PFC_PIN_GROUP(qspi_ctrl_b),
  4247. SH_PFC_PIN_GROUP(qspi_data2_b),
  4248. SH_PFC_PIN_GROUP(qspi_data4_b),
  4249. SH_PFC_PIN_GROUP(scif0_data),
  4250. SH_PFC_PIN_GROUP(scif0_data_b),
  4251. SH_PFC_PIN_GROUP(scif0_data_c),
  4252. SH_PFC_PIN_GROUP(scif0_data_d),
  4253. SH_PFC_PIN_GROUP(scif0_data_e),
  4254. SH_PFC_PIN_GROUP(scif1_data),
  4255. SH_PFC_PIN_GROUP(scif1_data_b),
  4256. SH_PFC_PIN_GROUP(scif1_clk_b),
  4257. SH_PFC_PIN_GROUP(scif1_data_c),
  4258. SH_PFC_PIN_GROUP(scif1_data_d),
  4259. SH_PFC_PIN_GROUP(scif2_data),
  4260. SH_PFC_PIN_GROUP(scif2_data_b),
  4261. SH_PFC_PIN_GROUP(scif2_clk_b),
  4262. SH_PFC_PIN_GROUP(scif2_data_c),
  4263. SH_PFC_PIN_GROUP(scif2_data_e),
  4264. SH_PFC_PIN_GROUP(scif3_data),
  4265. SH_PFC_PIN_GROUP(scif3_clk),
  4266. SH_PFC_PIN_GROUP(scif3_data_b),
  4267. SH_PFC_PIN_GROUP(scif3_clk_b),
  4268. SH_PFC_PIN_GROUP(scif3_data_c),
  4269. SH_PFC_PIN_GROUP(scif3_data_d),
  4270. SH_PFC_PIN_GROUP(scif4_data),
  4271. SH_PFC_PIN_GROUP(scif4_data_b),
  4272. SH_PFC_PIN_GROUP(scif4_data_c),
  4273. SH_PFC_PIN_GROUP(scif5_data),
  4274. SH_PFC_PIN_GROUP(scif5_data_b),
  4275. SH_PFC_PIN_GROUP(scifa0_data),
  4276. SH_PFC_PIN_GROUP(scifa0_data_b),
  4277. SH_PFC_PIN_GROUP(scifa1_data),
  4278. SH_PFC_PIN_GROUP(scifa1_clk),
  4279. SH_PFC_PIN_GROUP(scifa1_data_b),
  4280. SH_PFC_PIN_GROUP(scifa1_clk_b),
  4281. SH_PFC_PIN_GROUP(scifa1_data_c),
  4282. SH_PFC_PIN_GROUP(scifa2_data),
  4283. SH_PFC_PIN_GROUP(scifa2_clk),
  4284. SH_PFC_PIN_GROUP(scifa2_data_b),
  4285. SH_PFC_PIN_GROUP(scifa3_data),
  4286. SH_PFC_PIN_GROUP(scifa3_clk),
  4287. SH_PFC_PIN_GROUP(scifa3_data_b),
  4288. SH_PFC_PIN_GROUP(scifa3_clk_b),
  4289. SH_PFC_PIN_GROUP(scifa3_data_c),
  4290. SH_PFC_PIN_GROUP(scifa3_clk_c),
  4291. SH_PFC_PIN_GROUP(scifa4_data),
  4292. SH_PFC_PIN_GROUP(scifa4_data_b),
  4293. SH_PFC_PIN_GROUP(scifa4_data_c),
  4294. SH_PFC_PIN_GROUP(scifa5_data),
  4295. SH_PFC_PIN_GROUP(scifa5_data_b),
  4296. SH_PFC_PIN_GROUP(scifa5_data_c),
  4297. SH_PFC_PIN_GROUP(scifb0_data),
  4298. SH_PFC_PIN_GROUP(scifb0_clk),
  4299. SH_PFC_PIN_GROUP(scifb0_ctrl),
  4300. SH_PFC_PIN_GROUP(scifb0_data_b),
  4301. SH_PFC_PIN_GROUP(scifb0_clk_b),
  4302. SH_PFC_PIN_GROUP(scifb0_ctrl_b),
  4303. SH_PFC_PIN_GROUP(scifb0_data_c),
  4304. SH_PFC_PIN_GROUP(scifb0_clk_c),
  4305. SH_PFC_PIN_GROUP(scifb0_data_d),
  4306. SH_PFC_PIN_GROUP(scifb0_clk_d),
  4307. SH_PFC_PIN_GROUP(scifb1_data),
  4308. SH_PFC_PIN_GROUP(scifb1_clk),
  4309. SH_PFC_PIN_GROUP(scifb1_ctrl),
  4310. SH_PFC_PIN_GROUP(scifb1_data_b),
  4311. SH_PFC_PIN_GROUP(scifb1_clk_b),
  4312. SH_PFC_PIN_GROUP(scifb1_data_c),
  4313. SH_PFC_PIN_GROUP(scifb1_clk_c),
  4314. SH_PFC_PIN_GROUP(scifb1_data_d),
  4315. SH_PFC_PIN_GROUP(scifb2_data),
  4316. SH_PFC_PIN_GROUP(scifb2_clk),
  4317. SH_PFC_PIN_GROUP(scifb2_ctrl),
  4318. SH_PFC_PIN_GROUP(scifb2_data_b),
  4319. SH_PFC_PIN_GROUP(scifb2_clk_b),
  4320. SH_PFC_PIN_GROUP(scifb2_ctrl_b),
  4321. SH_PFC_PIN_GROUP(scifb2_data_c),
  4322. SH_PFC_PIN_GROUP(scifb2_clk_c),
  4323. SH_PFC_PIN_GROUP(scifb2_data_d),
  4324. SH_PFC_PIN_GROUP(sdhi0_data1),
  4325. SH_PFC_PIN_GROUP(sdhi0_data4),
  4326. SH_PFC_PIN_GROUP(sdhi0_ctrl),
  4327. SH_PFC_PIN_GROUP(sdhi0_cd),
  4328. SH_PFC_PIN_GROUP(sdhi0_wp),
  4329. SH_PFC_PIN_GROUP(sdhi1_data1),
  4330. SH_PFC_PIN_GROUP(sdhi1_data4),
  4331. SH_PFC_PIN_GROUP(sdhi1_ctrl),
  4332. SH_PFC_PIN_GROUP(sdhi1_cd),
  4333. SH_PFC_PIN_GROUP(sdhi1_wp),
  4334. SH_PFC_PIN_GROUP(sdhi2_data1),
  4335. SH_PFC_PIN_GROUP(sdhi2_data4),
  4336. SH_PFC_PIN_GROUP(sdhi2_ctrl),
  4337. SH_PFC_PIN_GROUP(sdhi2_cd),
  4338. SH_PFC_PIN_GROUP(sdhi2_wp),
  4339. SH_PFC_PIN_GROUP(ssi0_data),
  4340. SH_PFC_PIN_GROUP(ssi0_data_b),
  4341. SH_PFC_PIN_GROUP(ssi0129_ctrl),
  4342. SH_PFC_PIN_GROUP(ssi0129_ctrl_b),
  4343. SH_PFC_PIN_GROUP(ssi1_data),
  4344. SH_PFC_PIN_GROUP(ssi1_data_b),
  4345. SH_PFC_PIN_GROUP(ssi1_ctrl),
  4346. SH_PFC_PIN_GROUP(ssi1_ctrl_b),
  4347. SH_PFC_PIN_GROUP(ssi2_data),
  4348. SH_PFC_PIN_GROUP(ssi2_ctrl),
  4349. SH_PFC_PIN_GROUP(ssi3_data),
  4350. SH_PFC_PIN_GROUP(ssi34_ctrl),
  4351. SH_PFC_PIN_GROUP(ssi4_data),
  4352. SH_PFC_PIN_GROUP(ssi4_ctrl),
  4353. SH_PFC_PIN_GROUP(ssi5_data),
  4354. SH_PFC_PIN_GROUP(ssi5_ctrl),
  4355. SH_PFC_PIN_GROUP(ssi6_data),
  4356. SH_PFC_PIN_GROUP(ssi6_ctrl),
  4357. SH_PFC_PIN_GROUP(ssi7_data),
  4358. SH_PFC_PIN_GROUP(ssi7_data_b),
  4359. SH_PFC_PIN_GROUP(ssi78_ctrl),
  4360. SH_PFC_PIN_GROUP(ssi78_ctrl_b),
  4361. SH_PFC_PIN_GROUP(ssi8_data),
  4362. SH_PFC_PIN_GROUP(ssi8_data_b),
  4363. SH_PFC_PIN_GROUP(ssi9_data),
  4364. SH_PFC_PIN_GROUP(ssi9_data_b),
  4365. SH_PFC_PIN_GROUP(ssi9_ctrl),
  4366. SH_PFC_PIN_GROUP(ssi9_ctrl_b),
  4367. SH_PFC_PIN_GROUP(usb0),
  4368. SH_PFC_PIN_GROUP(usb1),
  4369. VIN_DATA_PIN_GROUP(vin0_data, 24),
  4370. VIN_DATA_PIN_GROUP(vin0_data, 20),
  4371. SH_PFC_PIN_GROUP(vin0_data18),
  4372. VIN_DATA_PIN_GROUP(vin0_data, 16),
  4373. VIN_DATA_PIN_GROUP(vin0_data, 12),
  4374. VIN_DATA_PIN_GROUP(vin0_data, 10),
  4375. VIN_DATA_PIN_GROUP(vin0_data, 8),
  4376. SH_PFC_PIN_GROUP(vin0_sync),
  4377. SH_PFC_PIN_GROUP(vin0_field),
  4378. SH_PFC_PIN_GROUP(vin0_clkenb),
  4379. SH_PFC_PIN_GROUP(vin0_clk),
  4380. SH_PFC_PIN_GROUP(vin1_data8),
  4381. SH_PFC_PIN_GROUP(vin1_sync),
  4382. SH_PFC_PIN_GROUP(vin1_field),
  4383. SH_PFC_PIN_GROUP(vin1_clkenb),
  4384. SH_PFC_PIN_GROUP(vin1_clk),
  4385. VIN_DATA_PIN_GROUP(vin1_b_data, 24),
  4386. VIN_DATA_PIN_GROUP(vin1_b_data, 20),
  4387. SH_PFC_PIN_GROUP(vin1_b_data18),
  4388. VIN_DATA_PIN_GROUP(vin1_b_data, 16),
  4389. VIN_DATA_PIN_GROUP(vin1_b_data, 12),
  4390. VIN_DATA_PIN_GROUP(vin1_b_data, 10),
  4391. VIN_DATA_PIN_GROUP(vin1_b_data, 8),
  4392. SH_PFC_PIN_GROUP(vin1_b_sync),
  4393. SH_PFC_PIN_GROUP(vin1_b_field),
  4394. SH_PFC_PIN_GROUP(vin1_b_clkenb),
  4395. SH_PFC_PIN_GROUP(vin1_b_clk),
  4396. SH_PFC_PIN_GROUP(vin2_data8),
  4397. SH_PFC_PIN_GROUP(vin2_sync),
  4398. SH_PFC_PIN_GROUP(vin2_field),
  4399. SH_PFC_PIN_GROUP(vin2_clkenb),
  4400. SH_PFC_PIN_GROUP(vin2_clk),
  4401. };
  4402. static const char * const audio_clk_groups[] = {
  4403. "audio_clk_a",
  4404. "audio_clk_b",
  4405. "audio_clk_b_b",
  4406. "audio_clk_c",
  4407. "audio_clkout",
  4408. };
  4409. static const char * const can0_groups[] = {
  4410. "can0_data",
  4411. "can0_data_b",
  4412. "can0_data_c",
  4413. "can0_data_d",
  4414. "can0_data_e",
  4415. "can0_data_f",
  4416. "can_clk",
  4417. "can_clk_b",
  4418. "can_clk_c",
  4419. "can_clk_d",
  4420. };
  4421. static const char * const can1_groups[] = {
  4422. "can1_data",
  4423. "can1_data_b",
  4424. "can1_data_c",
  4425. "can1_data_d",
  4426. "can_clk",
  4427. "can_clk_b",
  4428. "can_clk_c",
  4429. "can_clk_d",
  4430. };
  4431. static const char * const du_groups[] = {
  4432. "du_rgb666",
  4433. "du_rgb888",
  4434. "du_clk_out_0",
  4435. "du_clk_out_1",
  4436. "du_sync",
  4437. "du_oddf",
  4438. "du_cde",
  4439. "du_disp",
  4440. };
  4441. static const char * const du0_groups[] = {
  4442. "du0_clk_in",
  4443. };
  4444. static const char * const du1_groups[] = {
  4445. "du1_clk_in",
  4446. "du1_clk_in_b",
  4447. "du1_clk_in_c",
  4448. };
  4449. static const char * const eth_groups[] = {
  4450. "eth_link",
  4451. "eth_magic",
  4452. "eth_mdio",
  4453. "eth_rmii",
  4454. };
  4455. static const char * const hscif0_groups[] = {
  4456. "hscif0_data",
  4457. "hscif0_clk",
  4458. "hscif0_ctrl",
  4459. "hscif0_data_b",
  4460. "hscif0_ctrl_b",
  4461. "hscif0_data_c",
  4462. "hscif0_clk_c",
  4463. };
  4464. static const char * const hscif1_groups[] = {
  4465. "hscif1_data",
  4466. "hscif1_clk",
  4467. "hscif1_ctrl",
  4468. "hscif1_data_b",
  4469. "hscif1_data_c",
  4470. "hscif1_clk_c",
  4471. "hscif1_ctrl_c",
  4472. "hscif1_data_d",
  4473. "hscif1_data_e",
  4474. "hscif1_clk_e",
  4475. "hscif1_ctrl_e",
  4476. };
  4477. static const char * const hscif2_groups[] = {
  4478. "hscif2_data",
  4479. "hscif2_clk",
  4480. "hscif2_ctrl",
  4481. "hscif2_data_b",
  4482. "hscif2_ctrl_b",
  4483. "hscif2_data_c",
  4484. "hscif2_clk_c",
  4485. "hscif2_data_d",
  4486. };
  4487. static const char * const i2c0_groups[] = {
  4488. "i2c0",
  4489. "i2c0_b",
  4490. "i2c0_c",
  4491. };
  4492. static const char * const i2c1_groups[] = {
  4493. "i2c1",
  4494. "i2c1_b",
  4495. "i2c1_c",
  4496. "i2c1_d",
  4497. "i2c1_e",
  4498. };
  4499. static const char * const i2c2_groups[] = {
  4500. "i2c2",
  4501. "i2c2_b",
  4502. "i2c2_c",
  4503. "i2c2_d",
  4504. };
  4505. static const char * const i2c3_groups[] = {
  4506. "i2c3",
  4507. "i2c3_b",
  4508. "i2c3_c",
  4509. "i2c3_d",
  4510. };
  4511. static const char * const i2c4_groups[] = {
  4512. "i2c4",
  4513. "i2c4_b",
  4514. "i2c4_c",
  4515. };
  4516. static const char * const i2c7_groups[] = {
  4517. "i2c7",
  4518. "i2c7_b",
  4519. "i2c7_c",
  4520. };
  4521. static const char * const i2c8_groups[] = {
  4522. "i2c8",
  4523. "i2c8_b",
  4524. "i2c8_c",
  4525. };
  4526. static const char * const intc_groups[] = {
  4527. "intc_irq0",
  4528. "intc_irq1",
  4529. "intc_irq2",
  4530. "intc_irq3",
  4531. };
  4532. static const char * const mlb_groups[] = {
  4533. "mlb_3pin",
  4534. };
  4535. static const char * const mmc_groups[] = {
  4536. "mmc_data1",
  4537. "mmc_data4",
  4538. "mmc_data8",
  4539. "mmc_ctrl",
  4540. };
  4541. static const char * const msiof0_groups[] = {
  4542. "msiof0_clk",
  4543. "msiof0_sync",
  4544. "msiof0_ss1",
  4545. "msiof0_ss2",
  4546. "msiof0_rx",
  4547. "msiof0_tx",
  4548. "msiof0_clk_b",
  4549. "msiof0_sync_b",
  4550. "msiof0_ss1_b",
  4551. "msiof0_ss2_b",
  4552. "msiof0_rx_b",
  4553. "msiof0_tx_b",
  4554. "msiof0_clk_c",
  4555. "msiof0_sync_c",
  4556. "msiof0_ss1_c",
  4557. "msiof0_ss2_c",
  4558. "msiof0_rx_c",
  4559. "msiof0_tx_c",
  4560. };
  4561. static const char * const msiof1_groups[] = {
  4562. "msiof1_clk",
  4563. "msiof1_sync",
  4564. "msiof1_ss1",
  4565. "msiof1_ss2",
  4566. "msiof1_rx",
  4567. "msiof1_tx",
  4568. "msiof1_clk_b",
  4569. "msiof1_sync_b",
  4570. "msiof1_ss1_b",
  4571. "msiof1_ss2_b",
  4572. "msiof1_rx_b",
  4573. "msiof1_tx_b",
  4574. "msiof1_clk_c",
  4575. "msiof1_sync_c",
  4576. "msiof1_rx_c",
  4577. "msiof1_tx_c",
  4578. "msiof1_clk_d",
  4579. "msiof1_sync_d",
  4580. "msiof1_ss1_d",
  4581. "msiof1_rx_d",
  4582. "msiof1_tx_d",
  4583. "msiof1_clk_e",
  4584. "msiof1_sync_e",
  4585. "msiof1_rx_e",
  4586. "msiof1_tx_e",
  4587. };
  4588. static const char * const msiof2_groups[] = {
  4589. "msiof2_clk",
  4590. "msiof2_sync",
  4591. "msiof2_ss1",
  4592. "msiof2_ss2",
  4593. "msiof2_rx",
  4594. "msiof2_tx",
  4595. "msiof2_clk_b",
  4596. "msiof2_sync_b",
  4597. "msiof2_ss1_b",
  4598. "msiof2_ss2_b",
  4599. "msiof2_rx_b",
  4600. "msiof2_tx_b",
  4601. "msiof2_clk_c",
  4602. "msiof2_sync_c",
  4603. "msiof2_rx_c",
  4604. "msiof2_tx_c",
  4605. "msiof2_clk_d",
  4606. "msiof2_sync_d",
  4607. "msiof2_ss1_d",
  4608. "msiof2_ss2_d",
  4609. "msiof2_rx_d",
  4610. "msiof2_tx_d",
  4611. "msiof2_clk_e",
  4612. "msiof2_sync_e",
  4613. "msiof2_rx_e",
  4614. "msiof2_tx_e",
  4615. };
  4616. static const char * const pwm0_groups[] = {
  4617. "pwm0",
  4618. "pwm0_b",
  4619. };
  4620. static const char * const pwm1_groups[] = {
  4621. "pwm1",
  4622. "pwm1_b",
  4623. };
  4624. static const char * const pwm2_groups[] = {
  4625. "pwm2",
  4626. "pwm2_b",
  4627. };
  4628. static const char * const pwm3_groups[] = {
  4629. "pwm3",
  4630. };
  4631. static const char * const pwm4_groups[] = {
  4632. "pwm4",
  4633. "pwm4_b",
  4634. };
  4635. static const char * const pwm5_groups[] = {
  4636. "pwm5",
  4637. "pwm5_b",
  4638. };
  4639. static const char * const pwm6_groups[] = {
  4640. "pwm6",
  4641. };
  4642. static const char * const qspi_groups[] = {
  4643. "qspi_ctrl",
  4644. "qspi_data2",
  4645. "qspi_data4",
  4646. "qspi_ctrl_b",
  4647. "qspi_data2_b",
  4648. "qspi_data4_b",
  4649. };
  4650. static const char * const scif0_groups[] = {
  4651. "scif0_data",
  4652. "scif0_data_b",
  4653. "scif0_data_c",
  4654. "scif0_data_d",
  4655. "scif0_data_e",
  4656. };
  4657. static const char * const scif1_groups[] = {
  4658. "scif1_data",
  4659. "scif1_data_b",
  4660. "scif1_clk_b",
  4661. "scif1_data_c",
  4662. "scif1_data_d",
  4663. };
  4664. static const char * const scif2_groups[] = {
  4665. "scif2_data",
  4666. "scif2_data_b",
  4667. "scif2_clk_b",
  4668. "scif2_data_c",
  4669. "scif2_data_e",
  4670. };
  4671. static const char * const scif3_groups[] = {
  4672. "scif3_data",
  4673. "scif3_clk",
  4674. "scif3_data_b",
  4675. "scif3_clk_b",
  4676. "scif3_data_c",
  4677. "scif3_data_d",
  4678. };
  4679. static const char * const scif4_groups[] = {
  4680. "scif4_data",
  4681. "scif4_data_b",
  4682. "scif4_data_c",
  4683. };
  4684. static const char * const scif5_groups[] = {
  4685. "scif5_data",
  4686. "scif5_data_b",
  4687. };
  4688. static const char * const scifa0_groups[] = {
  4689. "scifa0_data",
  4690. "scifa0_data_b",
  4691. };
  4692. static const char * const scifa1_groups[] = {
  4693. "scifa1_data",
  4694. "scifa1_clk",
  4695. "scifa1_data_b",
  4696. "scifa1_clk_b",
  4697. "scifa1_data_c",
  4698. };
  4699. static const char * const scifa2_groups[] = {
  4700. "scifa2_data",
  4701. "scifa2_clk",
  4702. "scifa2_data_b",
  4703. };
  4704. static const char * const scifa3_groups[] = {
  4705. "scifa3_data",
  4706. "scifa3_clk",
  4707. "scifa3_data_b",
  4708. "scifa3_clk_b",
  4709. "scifa3_data_c",
  4710. "scifa3_clk_c",
  4711. };
  4712. static const char * const scifa4_groups[] = {
  4713. "scifa4_data",
  4714. "scifa4_data_b",
  4715. "scifa4_data_c",
  4716. };
  4717. static const char * const scifa5_groups[] = {
  4718. "scifa5_data",
  4719. "scifa5_data_b",
  4720. "scifa5_data_c",
  4721. };
  4722. static const char * const scifb0_groups[] = {
  4723. "scifb0_data",
  4724. "scifb0_clk",
  4725. "scifb0_ctrl",
  4726. "scifb0_data_b",
  4727. "scifb0_clk_b",
  4728. "scifb0_ctrl_b",
  4729. "scifb0_data_c",
  4730. "scifb0_clk_c",
  4731. "scifb0_data_d",
  4732. "scifb0_clk_d",
  4733. };
  4734. static const char * const scifb1_groups[] = {
  4735. "scifb1_data",
  4736. "scifb1_clk",
  4737. "scifb1_ctrl",
  4738. "scifb1_data_b",
  4739. "scifb1_clk_b",
  4740. "scifb1_data_c",
  4741. "scifb1_clk_c",
  4742. "scifb1_data_d",
  4743. };
  4744. static const char * const scifb2_groups[] = {
  4745. "scifb2_data",
  4746. "scifb2_clk",
  4747. "scifb2_ctrl",
  4748. "scifb2_data_b",
  4749. "scifb2_clk_b",
  4750. "scifb2_ctrl_b",
  4751. "scifb0_data_c",
  4752. "scifb2_clk_c",
  4753. "scifb2_data_d",
  4754. };
  4755. static const char * const sdhi0_groups[] = {
  4756. "sdhi0_data1",
  4757. "sdhi0_data4",
  4758. "sdhi0_ctrl",
  4759. "sdhi0_cd",
  4760. "sdhi0_wp",
  4761. };
  4762. static const char * const sdhi1_groups[] = {
  4763. "sdhi1_data1",
  4764. "sdhi1_data4",
  4765. "sdhi1_ctrl",
  4766. "sdhi1_cd",
  4767. "sdhi1_wp",
  4768. };
  4769. static const char * const sdhi2_groups[] = {
  4770. "sdhi2_data1",
  4771. "sdhi2_data4",
  4772. "sdhi2_ctrl",
  4773. "sdhi2_cd",
  4774. "sdhi2_wp",
  4775. };
  4776. static const char * const ssi_groups[] = {
  4777. "ssi0_data",
  4778. "ssi0_data_b",
  4779. "ssi0129_ctrl",
  4780. "ssi0129_ctrl_b",
  4781. "ssi1_data",
  4782. "ssi1_data_b",
  4783. "ssi1_ctrl",
  4784. "ssi1_ctrl_b",
  4785. "ssi2_data",
  4786. "ssi2_ctrl",
  4787. "ssi3_data",
  4788. "ssi34_ctrl",
  4789. "ssi4_data",
  4790. "ssi4_ctrl",
  4791. "ssi5_data",
  4792. "ssi5_ctrl",
  4793. "ssi6_data",
  4794. "ssi6_ctrl",
  4795. "ssi7_data",
  4796. "ssi7_data_b",
  4797. "ssi78_ctrl",
  4798. "ssi78_ctrl_b",
  4799. "ssi8_data",
  4800. "ssi8_data_b",
  4801. "ssi9_data",
  4802. "ssi9_data_b",
  4803. "ssi9_ctrl",
  4804. "ssi9_ctrl_b",
  4805. };
  4806. static const char * const usb0_groups[] = {
  4807. "usb0",
  4808. };
  4809. static const char * const usb1_groups[] = {
  4810. "usb1",
  4811. };
  4812. static const char * const vin0_groups[] = {
  4813. "vin0_data24",
  4814. "vin0_data20",
  4815. "vin0_data18",
  4816. "vin0_data16",
  4817. "vin0_data12",
  4818. "vin0_data10",
  4819. "vin0_data8",
  4820. "vin0_sync",
  4821. "vin0_field",
  4822. "vin0_clkenb",
  4823. "vin0_clk",
  4824. };
  4825. static const char * const vin1_groups[] = {
  4826. "vin1_data8",
  4827. "vin1_sync",
  4828. "vin1_field",
  4829. "vin1_clkenb",
  4830. "vin1_clk",
  4831. "vin1_b_data24",
  4832. "vin1_b_data20",
  4833. "vin1_b_data18",
  4834. "vin1_b_data16",
  4835. "vin1_b_data12",
  4836. "vin1_b_data10",
  4837. "vin1_b_data8",
  4838. "vin1_b_sync",
  4839. "vin1_b_field",
  4840. "vin1_b_clkenb",
  4841. "vin1_b_clk",
  4842. };
  4843. static const char * const vin2_groups[] = {
  4844. "vin2_data8",
  4845. "vin2_sync",
  4846. "vin2_field",
  4847. "vin2_clkenb",
  4848. "vin2_clk",
  4849. };
  4850. static const struct sh_pfc_function pinmux_functions[] = {
  4851. SH_PFC_FUNCTION(audio_clk),
  4852. SH_PFC_FUNCTION(can0),
  4853. SH_PFC_FUNCTION(can1),
  4854. SH_PFC_FUNCTION(du),
  4855. SH_PFC_FUNCTION(du0),
  4856. SH_PFC_FUNCTION(du1),
  4857. SH_PFC_FUNCTION(eth),
  4858. SH_PFC_FUNCTION(hscif0),
  4859. SH_PFC_FUNCTION(hscif1),
  4860. SH_PFC_FUNCTION(hscif2),
  4861. SH_PFC_FUNCTION(i2c0),
  4862. SH_PFC_FUNCTION(i2c1),
  4863. SH_PFC_FUNCTION(i2c2),
  4864. SH_PFC_FUNCTION(i2c3),
  4865. SH_PFC_FUNCTION(i2c4),
  4866. SH_PFC_FUNCTION(i2c7),
  4867. SH_PFC_FUNCTION(i2c8),
  4868. SH_PFC_FUNCTION(intc),
  4869. SH_PFC_FUNCTION(mlb),
  4870. SH_PFC_FUNCTION(mmc),
  4871. SH_PFC_FUNCTION(msiof0),
  4872. SH_PFC_FUNCTION(msiof1),
  4873. SH_PFC_FUNCTION(msiof2),
  4874. SH_PFC_FUNCTION(pwm0),
  4875. SH_PFC_FUNCTION(pwm1),
  4876. SH_PFC_FUNCTION(pwm2),
  4877. SH_PFC_FUNCTION(pwm3),
  4878. SH_PFC_FUNCTION(pwm4),
  4879. SH_PFC_FUNCTION(pwm5),
  4880. SH_PFC_FUNCTION(pwm6),
  4881. SH_PFC_FUNCTION(qspi),
  4882. SH_PFC_FUNCTION(scif0),
  4883. SH_PFC_FUNCTION(scif1),
  4884. SH_PFC_FUNCTION(scif2),
  4885. SH_PFC_FUNCTION(scif3),
  4886. SH_PFC_FUNCTION(scif4),
  4887. SH_PFC_FUNCTION(scif5),
  4888. SH_PFC_FUNCTION(scifa0),
  4889. SH_PFC_FUNCTION(scifa1),
  4890. SH_PFC_FUNCTION(scifa2),
  4891. SH_PFC_FUNCTION(scifa3),
  4892. SH_PFC_FUNCTION(scifa4),
  4893. SH_PFC_FUNCTION(scifa5),
  4894. SH_PFC_FUNCTION(scifb0),
  4895. SH_PFC_FUNCTION(scifb1),
  4896. SH_PFC_FUNCTION(scifb2),
  4897. SH_PFC_FUNCTION(sdhi0),
  4898. SH_PFC_FUNCTION(sdhi1),
  4899. SH_PFC_FUNCTION(sdhi2),
  4900. SH_PFC_FUNCTION(ssi),
  4901. SH_PFC_FUNCTION(usb0),
  4902. SH_PFC_FUNCTION(usb1),
  4903. SH_PFC_FUNCTION(vin0),
  4904. SH_PFC_FUNCTION(vin1),
  4905. SH_PFC_FUNCTION(vin2),
  4906. };
  4907. static const struct pinmux_cfg_reg pinmux_config_regs[] = {
  4908. { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
  4909. GP_0_31_FN, FN_IP1_22_20,
  4910. GP_0_30_FN, FN_IP1_19_17,
  4911. GP_0_29_FN, FN_IP1_16_14,
  4912. GP_0_28_FN, FN_IP1_13_11,
  4913. GP_0_27_FN, FN_IP1_10_8,
  4914. GP_0_26_FN, FN_IP1_7_6,
  4915. GP_0_25_FN, FN_IP1_5_4,
  4916. GP_0_24_FN, FN_IP1_3_2,
  4917. GP_0_23_FN, FN_IP1_1_0,
  4918. GP_0_22_FN, FN_IP0_30_29,
  4919. GP_0_21_FN, FN_IP0_28_27,
  4920. GP_0_20_FN, FN_IP0_26_25,
  4921. GP_0_19_FN, FN_IP0_24_23,
  4922. GP_0_18_FN, FN_IP0_22_21,
  4923. GP_0_17_FN, FN_IP0_20_19,
  4924. GP_0_16_FN, FN_IP0_18_16,
  4925. GP_0_15_FN, FN_IP0_15,
  4926. GP_0_14_FN, FN_IP0_14,
  4927. GP_0_13_FN, FN_IP0_13,
  4928. GP_0_12_FN, FN_IP0_12,
  4929. GP_0_11_FN, FN_IP0_11,
  4930. GP_0_10_FN, FN_IP0_10,
  4931. GP_0_9_FN, FN_IP0_9,
  4932. GP_0_8_FN, FN_IP0_8,
  4933. GP_0_7_FN, FN_IP0_7,
  4934. GP_0_6_FN, FN_IP0_6,
  4935. GP_0_5_FN, FN_IP0_5,
  4936. GP_0_4_FN, FN_IP0_4,
  4937. GP_0_3_FN, FN_IP0_3,
  4938. GP_0_2_FN, FN_IP0_2,
  4939. GP_0_1_FN, FN_IP0_1,
  4940. GP_0_0_FN, FN_IP0_0, }
  4941. },
  4942. { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
  4943. 0, 0,
  4944. 0, 0,
  4945. 0, 0,
  4946. 0, 0,
  4947. 0, 0,
  4948. 0, 0,
  4949. GP_1_25_FN, FN_IP3_21_20,
  4950. GP_1_24_FN, FN_IP3_19_18,
  4951. GP_1_23_FN, FN_IP3_17_16,
  4952. GP_1_22_FN, FN_IP3_15_14,
  4953. GP_1_21_FN, FN_IP3_13_12,
  4954. GP_1_20_FN, FN_IP3_11_9,
  4955. GP_1_19_FN, FN_RD_N,
  4956. GP_1_18_FN, FN_IP3_8_6,
  4957. GP_1_17_FN, FN_IP3_5_3,
  4958. GP_1_16_FN, FN_IP3_2_0,
  4959. GP_1_15_FN, FN_IP2_29_27,
  4960. GP_1_14_FN, FN_IP2_26_25,
  4961. GP_1_13_FN, FN_IP2_24_23,
  4962. GP_1_12_FN, FN_EX_CS0_N,
  4963. GP_1_11_FN, FN_IP2_22_21,
  4964. GP_1_10_FN, FN_IP2_20_19,
  4965. GP_1_9_FN, FN_IP2_18_16,
  4966. GP_1_8_FN, FN_IP2_15_13,
  4967. GP_1_7_FN, FN_IP2_12_10,
  4968. GP_1_6_FN, FN_IP2_9_7,
  4969. GP_1_5_FN, FN_IP2_6_5,
  4970. GP_1_4_FN, FN_IP2_4_3,
  4971. GP_1_3_FN, FN_IP2_2_0,
  4972. GP_1_2_FN, FN_IP1_31_29,
  4973. GP_1_1_FN, FN_IP1_28_26,
  4974. GP_1_0_FN, FN_IP1_25_23, }
  4975. },
  4976. { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
  4977. GP_2_31_FN, FN_IP6_7_6,
  4978. GP_2_30_FN, FN_IP6_5_3,
  4979. GP_2_29_FN, FN_IP6_2_0,
  4980. GP_2_28_FN, FN_AUDIO_CLKA,
  4981. GP_2_27_FN, FN_IP5_31_29,
  4982. GP_2_26_FN, FN_IP5_28_26,
  4983. GP_2_25_FN, FN_IP5_25_24,
  4984. GP_2_24_FN, FN_IP5_23_22,
  4985. GP_2_23_FN, FN_IP5_21_20,
  4986. GP_2_22_FN, FN_IP5_19_17,
  4987. GP_2_21_FN, FN_IP5_16_15,
  4988. GP_2_20_FN, FN_IP5_14_12,
  4989. GP_2_19_FN, FN_IP5_11_9,
  4990. GP_2_18_FN, FN_IP5_8_6,
  4991. GP_2_17_FN, FN_IP5_5_3,
  4992. GP_2_16_FN, FN_IP5_2_0,
  4993. GP_2_15_FN, FN_IP4_30_28,
  4994. GP_2_14_FN, FN_IP4_27_26,
  4995. GP_2_13_FN, FN_IP4_25_24,
  4996. GP_2_12_FN, FN_IP4_23_22,
  4997. GP_2_11_FN, FN_IP4_21,
  4998. GP_2_10_FN, FN_IP4_20,
  4999. GP_2_9_FN, FN_IP4_19,
  5000. GP_2_8_FN, FN_IP4_18_16,
  5001. GP_2_7_FN, FN_IP4_15_13,
  5002. GP_2_6_FN, FN_IP4_12_10,
  5003. GP_2_5_FN, FN_IP4_9_8,
  5004. GP_2_4_FN, FN_IP4_7_5,
  5005. GP_2_3_FN, FN_IP4_4_2,
  5006. GP_2_2_FN, FN_IP4_1_0,
  5007. GP_2_1_FN, FN_IP3_30_28,
  5008. GP_2_0_FN, FN_IP3_27_25 }
  5009. },
  5010. { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
  5011. GP_3_31_FN, FN_IP9_18_17,
  5012. GP_3_30_FN, FN_IP9_16,
  5013. GP_3_29_FN, FN_IP9_15_13,
  5014. GP_3_28_FN, FN_IP9_12,
  5015. GP_3_27_FN, FN_IP9_11,
  5016. GP_3_26_FN, FN_IP9_10_8,
  5017. GP_3_25_FN, FN_IP9_7,
  5018. GP_3_24_FN, FN_IP9_6,
  5019. GP_3_23_FN, FN_IP9_5_3,
  5020. GP_3_22_FN, FN_IP9_2_0,
  5021. GP_3_21_FN, FN_IP8_30_28,
  5022. GP_3_20_FN, FN_IP8_27_26,
  5023. GP_3_19_FN, FN_IP8_25_24,
  5024. GP_3_18_FN, FN_IP8_23_21,
  5025. GP_3_17_FN, FN_IP8_20_18,
  5026. GP_3_16_FN, FN_IP8_17_15,
  5027. GP_3_15_FN, FN_IP8_14_12,
  5028. GP_3_14_FN, FN_IP8_11_9,
  5029. GP_3_13_FN, FN_IP8_8_6,
  5030. GP_3_12_FN, FN_IP8_5_3,
  5031. GP_3_11_FN, FN_IP8_2_0,
  5032. GP_3_10_FN, FN_IP7_29_27,
  5033. GP_3_9_FN, FN_IP7_26_24,
  5034. GP_3_8_FN, FN_IP7_23_21,
  5035. GP_3_7_FN, FN_IP7_20_19,
  5036. GP_3_6_FN, FN_IP7_18_17,
  5037. GP_3_5_FN, FN_IP7_16_15,
  5038. GP_3_4_FN, FN_IP7_14_13,
  5039. GP_3_3_FN, FN_IP7_12_11,
  5040. GP_3_2_FN, FN_IP7_10_9,
  5041. GP_3_1_FN, FN_IP7_8_6,
  5042. GP_3_0_FN, FN_IP7_5_3 }
  5043. },
  5044. { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
  5045. GP_4_31_FN, FN_IP15_5_4,
  5046. GP_4_30_FN, FN_IP15_3_2,
  5047. GP_4_29_FN, FN_IP15_1_0,
  5048. GP_4_28_FN, FN_IP11_8_6,
  5049. GP_4_27_FN, FN_IP11_5_3,
  5050. GP_4_26_FN, FN_IP11_2_0,
  5051. GP_4_25_FN, FN_IP10_31_29,
  5052. GP_4_24_FN, FN_IP10_28_27,
  5053. GP_4_23_FN, FN_IP10_26_25,
  5054. GP_4_22_FN, FN_IP10_24_22,
  5055. GP_4_21_FN, FN_IP10_21_19,
  5056. GP_4_20_FN, FN_IP10_18_17,
  5057. GP_4_19_FN, FN_IP10_16_15,
  5058. GP_4_18_FN, FN_IP10_14_12,
  5059. GP_4_17_FN, FN_IP10_11_9,
  5060. GP_4_16_FN, FN_IP10_8_6,
  5061. GP_4_15_FN, FN_IP10_5_3,
  5062. GP_4_14_FN, FN_IP10_2_0,
  5063. GP_4_13_FN, FN_IP9_31_29,
  5064. GP_4_12_FN, FN_VI0_DATA7_VI0_B7,
  5065. GP_4_11_FN, FN_VI0_DATA6_VI0_B6,
  5066. GP_4_10_FN, FN_VI0_DATA5_VI0_B5,
  5067. GP_4_9_FN, FN_VI0_DATA4_VI0_B4,
  5068. GP_4_8_FN, FN_IP9_28_27,
  5069. GP_4_7_FN, FN_VI0_DATA2_VI0_B2,
  5070. GP_4_6_FN, FN_VI0_DATA1_VI0_B1,
  5071. GP_4_5_FN, FN_VI0_DATA0_VI0_B0,
  5072. GP_4_4_FN, FN_IP9_26_25,
  5073. GP_4_3_FN, FN_IP9_24_23,
  5074. GP_4_2_FN, FN_IP9_22_21,
  5075. GP_4_1_FN, FN_IP9_20_19,
  5076. GP_4_0_FN, FN_VI0_CLK }
  5077. },
  5078. { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
  5079. GP_5_31_FN, FN_IP3_24_22,
  5080. GP_5_30_FN, FN_IP13_9_7,
  5081. GP_5_29_FN, FN_IP13_6_5,
  5082. GP_5_28_FN, FN_IP13_4_3,
  5083. GP_5_27_FN, FN_IP13_2_0,
  5084. GP_5_26_FN, FN_IP12_29_27,
  5085. GP_5_25_FN, FN_IP12_26_24,
  5086. GP_5_24_FN, FN_IP12_23_22,
  5087. GP_5_23_FN, FN_IP12_21_20,
  5088. GP_5_22_FN, FN_IP12_19_18,
  5089. GP_5_21_FN, FN_IP12_17_16,
  5090. GP_5_20_FN, FN_IP12_15_13,
  5091. GP_5_19_FN, FN_IP12_12_10,
  5092. GP_5_18_FN, FN_IP12_9_7,
  5093. GP_5_17_FN, FN_IP12_6_4,
  5094. GP_5_16_FN, FN_IP12_3_2,
  5095. GP_5_15_FN, FN_IP12_1_0,
  5096. GP_5_14_FN, FN_IP11_31_30,
  5097. GP_5_13_FN, FN_IP11_29_28,
  5098. GP_5_12_FN, FN_IP11_27,
  5099. GP_5_11_FN, FN_IP11_26,
  5100. GP_5_10_FN, FN_IP11_25,
  5101. GP_5_9_FN, FN_IP11_24,
  5102. GP_5_8_FN, FN_IP11_23,
  5103. GP_5_7_FN, FN_IP11_22,
  5104. GP_5_6_FN, FN_IP11_21,
  5105. GP_5_5_FN, FN_IP11_20,
  5106. GP_5_4_FN, FN_IP11_19,
  5107. GP_5_3_FN, FN_IP11_18_17,
  5108. GP_5_2_FN, FN_IP11_16_15,
  5109. GP_5_1_FN, FN_IP11_14_12,
  5110. GP_5_0_FN, FN_IP11_11_9 }
  5111. },
  5112. { PINMUX_CFG_REG("GPSR6", 0xE606001C, 32, 1) {
  5113. GP_6_31_FN, FN_DU0_DOTCLKIN,
  5114. GP_6_30_FN, FN_USB1_OVC,
  5115. GP_6_29_FN, FN_IP14_31_29,
  5116. GP_6_28_FN, FN_IP14_28_26,
  5117. GP_6_27_FN, FN_IP14_25_23,
  5118. GP_6_26_FN, FN_IP14_22_20,
  5119. GP_6_25_FN, FN_IP14_19_17,
  5120. GP_6_24_FN, FN_IP14_16_14,
  5121. GP_6_23_FN, FN_IP14_13_11,
  5122. GP_6_22_FN, FN_IP14_10_8,
  5123. GP_6_21_FN, FN_IP14_7,
  5124. GP_6_20_FN, FN_IP14_6,
  5125. GP_6_19_FN, FN_IP14_5,
  5126. GP_6_18_FN, FN_IP14_4,
  5127. GP_6_17_FN, FN_IP14_3,
  5128. GP_6_16_FN, FN_IP14_2,
  5129. GP_6_15_FN, FN_IP14_1_0,
  5130. GP_6_14_FN, FN_IP13_30_28,
  5131. GP_6_13_FN, FN_IP13_27,
  5132. GP_6_12_FN, FN_IP13_26,
  5133. GP_6_11_FN, FN_IP13_25,
  5134. GP_6_10_FN, FN_IP13_24_23,
  5135. GP_6_9_FN, FN_IP13_22,
  5136. GP_6_8_FN, FN_SD1_CLK,
  5137. GP_6_7_FN, FN_IP13_21_19,
  5138. GP_6_6_FN, FN_IP13_18_16,
  5139. GP_6_5_FN, FN_IP13_15,
  5140. GP_6_4_FN, FN_IP13_14,
  5141. GP_6_3_FN, FN_IP13_13,
  5142. GP_6_2_FN, FN_IP13_12,
  5143. GP_6_1_FN, FN_IP13_11,
  5144. GP_6_0_FN, FN_IP13_10 }
  5145. },
  5146. { PINMUX_CFG_REG("GPSR7", 0xE6060074, 32, 1) {
  5147. 0, 0,
  5148. 0, 0,
  5149. 0, 0,
  5150. 0, 0,
  5151. 0, 0,
  5152. 0, 0,
  5153. GP_7_25_FN, FN_USB1_PWEN,
  5154. GP_7_24_FN, FN_USB0_OVC,
  5155. GP_7_23_FN, FN_USB0_PWEN,
  5156. GP_7_22_FN, FN_IP15_14_12,
  5157. GP_7_21_FN, FN_IP15_11_9,
  5158. GP_7_20_FN, FN_IP15_8_6,
  5159. GP_7_19_FN, FN_IP7_2_0,
  5160. GP_7_18_FN, FN_IP6_29_27,
  5161. GP_7_17_FN, FN_IP6_26_24,
  5162. GP_7_16_FN, FN_IP6_23_21,
  5163. GP_7_15_FN, FN_IP6_20_19,
  5164. GP_7_14_FN, FN_IP6_18_16,
  5165. GP_7_13_FN, FN_IP6_15_14,
  5166. GP_7_12_FN, FN_IP6_13_12,
  5167. GP_7_11_FN, FN_IP6_11_10,
  5168. GP_7_10_FN, FN_IP6_9_8,
  5169. GP_7_9_FN, FN_IP16_11_10,
  5170. GP_7_8_FN, FN_IP16_9_8,
  5171. GP_7_7_FN, FN_IP16_7_6,
  5172. GP_7_6_FN, FN_IP16_5_3,
  5173. GP_7_5_FN, FN_IP16_2_0,
  5174. GP_7_4_FN, FN_IP15_29_27,
  5175. GP_7_3_FN, FN_IP15_26_24,
  5176. GP_7_2_FN, FN_IP15_23_21,
  5177. GP_7_1_FN, FN_IP15_20_18,
  5178. GP_7_0_FN, FN_IP15_17_15 }
  5179. },
  5180. { PINMUX_CFG_REG_VAR("IPSR0", 0xE6060020, 32,
  5181. 1, 2, 2, 2, 2, 2, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1,
  5182. 1, 1, 1, 1, 1, 1, 1, 1) {
  5183. /* IP0_31 [1] */
  5184. 0, 0,
  5185. /* IP0_30_29 [2] */
  5186. FN_A6, FN_MSIOF1_SCK,
  5187. 0, 0,
  5188. /* IP0_28_27 [2] */
  5189. FN_A5, FN_MSIOF0_RXD_B,
  5190. 0, 0,
  5191. /* IP0_26_25 [2] */
  5192. FN_A4, FN_MSIOF0_TXD_B,
  5193. 0, 0,
  5194. /* IP0_24_23 [2] */
  5195. FN_A3, FN_MSIOF0_SS2_B,
  5196. 0, 0,
  5197. /* IP0_22_21 [2] */
  5198. FN_A2, FN_MSIOF0_SS1_B,
  5199. 0, 0,
  5200. /* IP0_20_19 [2] */
  5201. FN_A1, FN_MSIOF0_SYNC_B,
  5202. 0, 0,
  5203. /* IP0_18_16 [3] */
  5204. FN_A0, FN_ATAWR0_N_C, FN_MSIOF0_SCK_B, FN_SCL0_C, FN_PWM2_B,
  5205. 0, 0, 0,
  5206. /* IP0_15 [1] */
  5207. FN_D15, 0,
  5208. /* IP0_14 [1] */
  5209. FN_D14, 0,
  5210. /* IP0_13 [1] */
  5211. FN_D13, 0,
  5212. /* IP0_12 [1] */
  5213. FN_D12, 0,
  5214. /* IP0_11 [1] */
  5215. FN_D11, 0,
  5216. /* IP0_10 [1] */
  5217. FN_D10, 0,
  5218. /* IP0_9 [1] */
  5219. FN_D9, 0,
  5220. /* IP0_8 [1] */
  5221. FN_D8, 0,
  5222. /* IP0_7 [1] */
  5223. FN_D7, 0,
  5224. /* IP0_6 [1] */
  5225. FN_D6, 0,
  5226. /* IP0_5 [1] */
  5227. FN_D5, 0,
  5228. /* IP0_4 [1] */
  5229. FN_D4, 0,
  5230. /* IP0_3 [1] */
  5231. FN_D3, 0,
  5232. /* IP0_2 [1] */
  5233. FN_D2, 0,
  5234. /* IP0_1 [1] */
  5235. FN_D1, 0,
  5236. /* IP0_0 [1] */
  5237. FN_D0, 0, }
  5238. },
  5239. { PINMUX_CFG_REG_VAR("IPSR1", 0xE6060024, 32,
  5240. 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2) {
  5241. /* IP1_31_29 [3] */
  5242. FN_A18, FN_DREQ1, FN_SCIFA1_RXD_C, 0, FN_SCIFB1_RXD_C,
  5243. 0, 0, 0,
  5244. /* IP1_28_26 [3] */
  5245. FN_A17, FN_DACK2_B, 0, FN_SDA0_C,
  5246. 0, 0, 0, 0,
  5247. /* IP1_25_23 [3] */
  5248. FN_A16, FN_DREQ2_B, FN_FMCLK_C, 0, FN_SCIFA1_SCK_B,
  5249. 0, 0, 0,
  5250. /* IP1_22_20 [3] */
  5251. FN_A15, FN_BPFCLK_C,
  5252. 0, 0, 0, 0, 0, 0,
  5253. /* IP1_19_17 [3] */
  5254. FN_A14, FN_ATADIR0_N_C, FN_FMIN, FN_FMIN_C, FN_MSIOF1_SYNC_D,
  5255. 0, 0, 0,
  5256. /* IP1_16_14 [3] */
  5257. FN_A13, FN_ATAG0_N_C, FN_BPFCLK, FN_MSIOF1_SS1_D,
  5258. 0, 0, 0, 0,
  5259. /* IP1_13_11 [3] */
  5260. FN_A12, FN_FMCLK, FN_SDA3_D, FN_MSIOF1_SCK_D,
  5261. 0, 0, 0, 0,
  5262. /* IP1_10_8 [3] */
  5263. FN_A11, FN_MSIOF1_RXD, FN_SCL3_D, FN_MSIOF1_RXD_D,
  5264. 0, 0, 0, 0,
  5265. /* IP1_7_6 [2] */
  5266. FN_A10, FN_MSIOF1_TXD, 0, FN_MSIOF1_TXD_D,
  5267. /* IP1_5_4 [2] */
  5268. FN_A9, FN_MSIOF1_SS2, FN_SDA0, 0,
  5269. /* IP1_3_2 [2] */
  5270. FN_A8, FN_MSIOF1_SS1, FN_SCL0, 0,
  5271. /* IP1_1_0 [2] */
  5272. FN_A7, FN_MSIOF1_SYNC,
  5273. 0, 0, }
  5274. },
  5275. { PINMUX_CFG_REG_VAR("IPSR2", 0xE6060028, 32,
  5276. 2, 3, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 3) {
  5277. /* IP2_31_20 [2] */
  5278. 0, 0, 0, 0,
  5279. /* IP2_29_27 [3] */
  5280. FN_EX_CS3_N, FN_ATADIR0_N, FN_MSIOF2_TXD,
  5281. FN_ATAG0_N, 0, FN_EX_WAIT1,
  5282. 0, 0,
  5283. /* IP2_26_25 [2] */
  5284. FN_EX_CS2_N, FN_ATAWR0_N, FN_MSIOF2_SYNC, 0,
  5285. /* IP2_24_23 [2] */
  5286. FN_EX_CS1_N, FN_MSIOF2_SCK, 0, 0,
  5287. /* IP2_22_21 [2] */
  5288. FN_CS1_N_A26, FN_ATADIR0_N_B, FN_SDA1, 0,
  5289. /* IP2_20_19 [2] */
  5290. FN_CS0_N, FN_ATAG0_N_B, FN_SCL1, 0,
  5291. /* IP2_18_16 [3] */
  5292. FN_A25, FN_DACK2, FN_SSL, FN_DREQ1_C, FN_RX1, FN_SCIFA1_RXD,
  5293. 0, 0,
  5294. /* IP2_15_13 [3] */
  5295. FN_A24, FN_DREQ2, FN_IO3, FN_TX1, FN_SCIFA1_TXD,
  5296. 0, 0, 0,
  5297. /* IP2_12_0 [3] */
  5298. FN_A23, FN_IO2, FN_BPFCLK_B, FN_RX0, FN_SCIFA0_RXD,
  5299. 0, 0, 0,
  5300. /* IP2_9_7 [3] */
  5301. FN_A22, FN_MISO_IO1, FN_FMCLK_B, FN_TX0, FN_SCIFA0_TXD,
  5302. 0, 0, 0,
  5303. /* IP2_6_5 [2] */
  5304. FN_A21, FN_ATAWR0_N_B, FN_MOSI_IO0, 0,
  5305. /* IP2_4_3 [2] */
  5306. FN_A20, FN_SPCLK, 0, 0,
  5307. /* IP2_2_0 [3] */
  5308. FN_A19, FN_DACK1, FN_SCIFA1_TXD_C, 0,
  5309. FN_SCIFB1_TXD_C, 0, FN_SCIFB1_SCK_B, 0, }
  5310. },
  5311. { PINMUX_CFG_REG_VAR("IPSR3", 0xE606002C, 32,
  5312. 1, 3, 3, 3, 2, 2, 2, 2, 2, 3, 3, 3, 3) {
  5313. /* IP3_31 [1] */
  5314. 0, 0,
  5315. /* IP3_30_28 [3] */
  5316. FN_SSI_WS0129, FN_HTX0_C, FN_HTX2_C,
  5317. FN_SCIFB0_TXD_C, FN_SCIFB2_TXD_C,
  5318. 0, 0, 0,
  5319. /* IP3_27_25 [3] */
  5320. FN_SSI_SCK0129, FN_HRX0_C, FN_HRX2_C,
  5321. FN_SCIFB0_RXD_C, FN_SCIFB2_RXD_C,
  5322. 0, 0, 0,
  5323. /* IP3_24_22 [3] */
  5324. FN_SPEEDIN, 0, FN_HSCK0_C, FN_HSCK2_C, FN_SCIFB0_SCK_B,
  5325. FN_SCIFB2_SCK_B, FN_DREQ2_C, FN_HTX2_D,
  5326. /* IP3_21_20 [2] */
  5327. FN_DACK0, FN_DRACK0, FN_REMOCON, 0,
  5328. /* IP3_19_18 [2] */
  5329. FN_DREQ0, FN_PWM3, FN_TPU_TO3, 0,
  5330. /* IP3_17_16 [2] */
  5331. FN_EX_WAIT0, FN_HRTS2_N_B, FN_SCIFB0_CTS_N_B, 0,
  5332. /* IP3_15_14 [2] */
  5333. FN_WE1_N, FN_ATARD0_N_B, FN_HTX2_B, FN_SCIFB0_RTS_N_B,
  5334. /* IP3_13_12 [2] */
  5335. FN_WE0_N, FN_HCTS2_N_B, FN_SCIFB0_TXD_B, 0,
  5336. /* IP3_11_9 [3] */
  5337. FN_RD_WR_N, FN_HRX2_B, FN_FMIN_B, FN_SCIFB0_RXD_B, FN_DREQ1_D,
  5338. 0, 0, 0,
  5339. /* IP3_8_6 [3] */
  5340. FN_BS_N, FN_ATACS10_N, FN_MSIOF2_SS2, FN_HTX1_B,
  5341. FN_SCIFB1_TXD_B, FN_PWM2, FN_TPU_TO2, 0,
  5342. /* IP3_5_3 [3] */
  5343. FN_EX_CS5_N, FN_ATACS00_N, FN_MSIOF2_SS1, FN_HRX1_B,
  5344. FN_SCIFB1_RXD_B, FN_PWM1, FN_TPU_TO1, 0,
  5345. /* IP3_2_0 [3] */
  5346. FN_EX_CS4_N, FN_ATARD0_N, FN_MSIOF2_RXD, 0, FN_EX_WAIT2,
  5347. 0, 0, 0, }
  5348. },
  5349. { PINMUX_CFG_REG_VAR("IPSR4", 0xE6060030, 32,
  5350. 1, 3, 2, 2, 2, 1, 1, 1, 3, 3, 3, 2, 3, 3, 2) {
  5351. /* IP4_31 [1] */
  5352. 0, 0,
  5353. /* IP4_30_28 [3] */
  5354. FN_SSI_SCK5, FN_MSIOF1_SCK_C, FN_TS_SDATA0, FN_GLO_I0,
  5355. FN_MSIOF2_SYNC_D, FN_VI1_R2_B,
  5356. 0, 0,
  5357. /* IP4_27_26 [2] */
  5358. FN_SSI_SDATA4, FN_MSIOF2_SCK_D, 0, 0,
  5359. /* IP4_25_24 [2] */
  5360. FN_SSI_WS4, FN_GLO_RFON_D, 0, 0,
  5361. /* IP4_23_22 [2] */
  5362. FN_SSI_SCK4, FN_GLO_SS_D, 0, 0,
  5363. /* IP4_21 [1] */
  5364. FN_SSI_SDATA3, 0,
  5365. /* IP4_20 [1] */
  5366. FN_SSI_WS34, 0,
  5367. /* IP4_19 [1] */
  5368. FN_SSI_SCK34, 0,
  5369. /* IP4_18_16 [3] */
  5370. FN_SSI_SDATA2, FN_GPS_MAG_B, FN_TX2_E, FN_HRTS1_N_E,
  5371. 0, 0, 0, 0,
  5372. /* IP4_15_13 [3] */
  5373. FN_SSI_WS2, FN_SDA2, FN_GPS_SIGN_B, FN_RX2_E,
  5374. FN_GLO_Q1_D, FN_HCTS1_N_E,
  5375. 0, 0,
  5376. /* IP4_12_10 [3] */
  5377. FN_SSI_SCK2, FN_SCL2, FN_GPS_CLK_B, FN_GLO_Q0_D, FN_HSCK1_E,
  5378. 0, 0, 0,
  5379. /* IP4_9_8 [2] */
  5380. FN_SSI_SDATA1, FN_SDA1_B, FN_SDA8_B, FN_MSIOF2_RXD_C,
  5381. /* IP4_7_5 [3] */
  5382. FN_SSI_WS1, FN_SCL1_B, FN_SCL8_B, FN_MSIOF2_TXD_C, FN_GLO_I1_D,
  5383. 0, 0, 0,
  5384. /* IP4_4_2 [3] */
  5385. FN_SSI_SCK1, FN_SDA0_B, FN_SDA7_B,
  5386. FN_MSIOF2_SYNC_C, FN_GLO_I0_D,
  5387. 0, 0, 0,
  5388. /* IP4_1_0 [2] */
  5389. FN_SSI_SDATA0, FN_SCL0_B, FN_SCL7_B, FN_MSIOF2_SCK_C, }
  5390. },
  5391. { PINMUX_CFG_REG_VAR("IPSR5", 0xE6060034, 32,
  5392. 3, 3, 2, 2, 2, 3, 2, 3, 3, 3, 3, 3) {
  5393. /* IP5_31_29 [3] */
  5394. FN_SSI_SDATA9, FN_RX3_D, FN_CAN0_RX_D,
  5395. 0, 0, 0, 0, 0,
  5396. /* IP5_28_26 [3] */
  5397. FN_SSI_WS9, FN_TX3_D, FN_CAN0_TX_D, FN_GLO_SDATA_D,
  5398. 0, 0, 0, 0,
  5399. /* IP5_25_24 [2] */
  5400. FN_SSI_SCK9, FN_RX1_D, FN_GLO_SCLK_D, 0,
  5401. /* IP5_23_22 [2] */
  5402. FN_SSI_SDATA8, FN_TX1_D, FN_STP_ISSYNC_0_B, 0,
  5403. /* IP5_21_20 [2] */
  5404. FN_SSI_SDATA7, FN_RX0_D, FN_STP_ISEN_0_B, 0,
  5405. /* IP5_19_17 [3] */
  5406. FN_SSI_WS78, FN_TX0_D, FN_STP_ISD_0_B, FN_GLO_RFON,
  5407. 0, 0, 0, 0,
  5408. /* IP5_16_15 [2] */
  5409. FN_SSI_SCK78, FN_STP_ISCLK_0_B, FN_GLO_SS, 0,
  5410. /* IP5_14_12 [3] */
  5411. FN_SSI_SDATA6, FN_STP_IVCXO27_0_B, FN_GLO_SDATA, FN_VI1_R7_B,
  5412. 0, 0, 0, 0,
  5413. /* IP5_11_9 [3] */
  5414. FN_SSI_WS6, FN_GLO_SCLK, FN_MSIOF2_SS2_D, FN_VI1_R6_B,
  5415. 0, 0, 0, 0,
  5416. /* IP5_8_6 [3] */
  5417. FN_SSI_SCK6, FN_MSIOF1_RXD_C, FN_TS_SPSYNC0, FN_GLO_Q1,
  5418. FN_MSIOF2_RXD_D, FN_VI1_R5_B,
  5419. 0, 0,
  5420. /* IP5_5_3 [3] */
  5421. FN_SSI_SDATA5, FN_MSIOF1_TXD_C, FN_TS_SDEN0, FN_GLO_Q0,
  5422. FN_MSIOF2_SS1_D, FN_VI1_R4_B,
  5423. 0, 0,
  5424. /* IP5_2_0 [3] */
  5425. FN_SSI_WS5, FN_MSIOF1_SYNC_C, FN_TS_SCK0, FN_GLO_I1,
  5426. FN_MSIOF2_TXD_D, FN_VI1_R3_B,
  5427. 0, 0, }
  5428. },
  5429. { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
  5430. 2, 3, 3, 3, 2, 3, 2, 2, 2, 2, 2, 3, 3) {
  5431. /* IP6_31_30 [2] */
  5432. 0, 0, 0, 0,
  5433. /* IP6_29_27 [3] */
  5434. FN_IRQ8, FN_HRTS1_N_C, FN_MSIOF1_RXD_B,
  5435. FN_GPS_SIGN_C, FN_GPS_SIGN_D,
  5436. 0, 0, 0,
  5437. /* IP6_26_24 [3] */
  5438. FN_IRQ7, FN_HCTS1_N_C, FN_MSIOF1_TXD_B,
  5439. FN_GPS_CLK_C, FN_GPS_CLK_D,
  5440. 0, 0, 0,
  5441. /* IP6_23_21 [3] */
  5442. FN_IRQ6, FN_HSCK1_C, FN_MSIOF1_SS2_B,
  5443. FN_SDA1_E, FN_MSIOF2_SYNC_E,
  5444. 0, 0, 0,
  5445. /* IP6_20_19 [2] */
  5446. FN_IRQ5, FN_HTX1_C, FN_SCL1_E, FN_MSIOF2_SCK_E,
  5447. /* IP6_18_16 [3] */
  5448. FN_IRQ4, FN_HRX1_C, FN_SDA4_C, FN_MSIOF2_RXD_E, FN_INTC_IRQ4_N,
  5449. 0, 0, 0,
  5450. /* IP6_15_14 [2] */
  5451. FN_IRQ3, FN_SCL4_C, FN_MSIOF2_TXD_E, FN_INTC_IRQ3_N,
  5452. /* IP6_13_12 [2] */
  5453. FN_IRQ2, FN_SCIFB1_TXD_D, FN_INTC_IRQ2_N, 0,
  5454. /* IP6_11_10 [2] */
  5455. FN_IRQ1, FN_SCIFB1_SCK_C, FN_INTC_IRQ1_N, 0,
  5456. /* IP6_9_8 [2] */
  5457. FN_IRQ0, FN_SCIFB1_RXD_D, FN_INTC_IRQ0_N, 0,
  5458. /* IP6_7_6 [2] */
  5459. FN_AUDIO_CLKOUT, FN_MSIOF1_SS1_B, FN_TX2, FN_SCIFA2_TXD,
  5460. /* IP6_5_3 [3] */
  5461. FN_AUDIO_CLKC, FN_SCIFB0_SCK_C, FN_MSIOF1_SYNC_B, FN_RX2,
  5462. FN_SCIFA2_RXD, FN_FMIN_E,
  5463. 0, 0,
  5464. /* IP6_2_0 [3] */
  5465. FN_AUDIO_CLKB, FN_STP_OPWM_0_B, FN_MSIOF1_SCK_B,
  5466. FN_SCIF_CLK, 0, FN_BPFCLK_E,
  5467. 0, 0, }
  5468. },
  5469. { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
  5470. 2, 3, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 3) {
  5471. /* IP7_31_30 [2] */
  5472. 0, 0, 0, 0,
  5473. /* IP7_29_27 [3] */
  5474. FN_DU1_DG2, FN_LCDOUT10, FN_VI1_DATA4_B, FN_SCIF1_SCK_B,
  5475. FN_SCIFA1_SCK, FN_SSI_SCK78_B,
  5476. 0, 0,
  5477. /* IP7_26_24 [3] */
  5478. FN_DU1_DG1, FN_LCDOUT9, FN_VI1_DATA3_B, FN_RX1_B,
  5479. FN_SCIFA1_RXD_B, FN_MSIOF2_SS2_B,
  5480. 0, 0,
  5481. /* IP7_23_21 [3] */
  5482. FN_DU1_DG0, FN_LCDOUT8, FN_VI1_DATA2_B, FN_TX1_B,
  5483. FN_SCIFA1_TXD_B, FN_MSIOF2_SS1_B,
  5484. 0, 0,
  5485. /* IP7_20_19 [2] */
  5486. FN_DU1_DR7, FN_LCDOUT7, FN_SSI_SDATA1_B, 0,
  5487. /* IP7_18_17 [2] */
  5488. FN_DU1_DR6, FN_LCDOUT6, FN_SSI_WS1_B, 0,
  5489. /* IP7_16_15 [2] */
  5490. FN_DU1_DR5, FN_LCDOUT5, FN_SSI_SCK1_B, 0,
  5491. /* IP7_14_13 [2] */
  5492. FN_DU1_DR4, FN_LCDOUT4, FN_SSI_SDATA0_B, 0,
  5493. /* IP7_12_11 [2] */
  5494. FN_DU1_DR3, FN_LCDOUT3, FN_SSI_WS0129_B, 0,
  5495. /* IP7_10_9 [2] */
  5496. FN_DU1_DR2, FN_LCDOUT2, FN_SSI_SCK0129_B, 0,
  5497. /* IP7_8_6 [3] */
  5498. FN_DU1_DR1, FN_LCDOUT1, FN_VI1_DATA1_B, FN_RX0_B,
  5499. FN_SCIFA0_RXD_B, FN_MSIOF2_SYNC_B,
  5500. 0, 0,
  5501. /* IP7_5_3 [3] */
  5502. FN_DU1_DR0, FN_LCDOUT0, FN_VI1_DATA0_B, FN_TX0_B,
  5503. FN_SCIFA0_TXD_B, FN_MSIOF2_SCK_B,
  5504. 0, 0,
  5505. /* IP7_2_0 [3] */
  5506. FN_IRQ9, FN_DU1_DOTCLKIN_B, FN_CAN_CLK_D, FN_GPS_MAG_C,
  5507. FN_SCIF_CLK_B, FN_GPS_MAG_D,
  5508. 0, 0, }
  5509. },
  5510. { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
  5511. 1, 3, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3) {
  5512. /* IP8_31 [1] */
  5513. 0, 0,
  5514. /* IP8_30_28 [3] */
  5515. FN_DU1_DB5, FN_LCDOUT21, FN_TX3, FN_SCIFA3_TXD, FN_CAN1_TX,
  5516. 0, 0, 0,
  5517. /* IP8_27_26 [2] */
  5518. FN_DU1_DB4, FN_LCDOUT20, FN_VI1_FIELD_B, FN_CAN1_RX,
  5519. /* IP8_25_24 [2] */
  5520. FN_DU1_DB3, FN_LCDOUT19, FN_VI1_CLKENB_B, 0,
  5521. /* IP8_23_21 [3] */
  5522. FN_DU1_DB2, FN_LCDOUT18, FN_VI1_VSYNC_N_B, FN_SCIF2_SCK_B,
  5523. FN_SCIFA2_SCK, FN_SSI_SDATA9_B,
  5524. 0, 0,
  5525. /* IP8_20_18 [3] */
  5526. FN_DU1_DB1, FN_LCDOUT17, FN_VI1_HSYNC_N_B, FN_RX2_B,
  5527. FN_SCIFA2_RXD_B, FN_MSIOF2_RXD_B,
  5528. 0, 0,
  5529. /* IP8_17_15 [3] */
  5530. FN_DU1_DB0, FN_LCDOUT16, FN_VI1_CLK_B, FN_TX2_B,
  5531. FN_SCIFA2_TXD_B, FN_MSIOF2_TXD_B,
  5532. 0, 0,
  5533. /* IP8_14_12 [3] */
  5534. FN_DU1_DG7, FN_LCDOUT15, FN_HTX0_B,
  5535. FN_SCIFB2_RTS_N_B, FN_SSI_WS9_B,
  5536. 0, 0, 0,
  5537. /* IP8_11_9 [3] */
  5538. FN_DU1_DG6, FN_LCDOUT14, FN_HRTS0_N_B,
  5539. FN_SCIFB2_CTS_N_B, FN_SSI_SCK9_B,
  5540. 0, 0, 0,
  5541. /* IP8_8_6 [3] */
  5542. FN_DU1_DG5, FN_LCDOUT13, FN_VI1_DATA7_B, FN_HCTS0_N_B,
  5543. FN_SCIFB2_TXD_B, FN_SSI_SDATA8_B,
  5544. 0, 0,
  5545. /* IP8_5_3 [3] */
  5546. FN_DU1_DG4, FN_LCDOUT12, FN_VI1_DATA6_B, FN_HRX0_B,
  5547. FN_SCIFB2_RXD_B, FN_SSI_SDATA7_B,
  5548. 0, 0,
  5549. /* IP8_2_0 [3] */
  5550. FN_DU1_DG3, FN_LCDOUT11, FN_VI1_DATA5_B, 0, FN_SSI_WS78_B,
  5551. 0, 0, 0, }
  5552. },
  5553. { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
  5554. 3, 2, 2, 2, 2, 2, 2, 1, 3, 1, 1, 3, 1, 1, 3, 3) {
  5555. /* IP9_31_29 [3] */
  5556. FN_VI0_G0, FN_SCL8, FN_STP_IVCXO27_0_C, FN_SCL4,
  5557. FN_HCTS2_N, FN_SCIFB2_CTS_N, FN_ATAWR1_N, 0,
  5558. /* IP9_28_27 [2] */
  5559. FN_VI0_DATA3_VI0_B3, FN_SCIF3_SCK_B, FN_SCIFA3_SCK_B, 0,
  5560. /* IP9_26_25 [2] */
  5561. FN_VI0_VSYNC_N, FN_RX5, FN_SCIFA5_RXD, FN_TS_SPSYNC0_D,
  5562. /* IP9_24_23 [2] */
  5563. FN_VI0_HSYNC_N, FN_TX5, FN_SCIFA5_TXD, FN_TS_SDEN0_D,
  5564. /* IP9_22_21 [2] */
  5565. FN_VI0_FIELD, FN_RX4, FN_SCIFA4_RXD, FN_TS_SCK0_D,
  5566. /* IP9_20_19 [2] */
  5567. FN_VI0_CLKENB, FN_TX4, FN_SCIFA4_TXD, FN_TS_SDATA0_D,
  5568. /* IP9_18_17 [2] */
  5569. FN_DU1_CDE, FN_QPOLB, FN_PWM4_B, 0,
  5570. /* IP9_16 [1] */
  5571. FN_DU1_DISP, FN_QPOLA,
  5572. /* IP9_15_13 [3] */
  5573. FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_QCPV_QDE,
  5574. FN_CAN0_RX, FN_RX3_B, FN_SDA2_B,
  5575. 0, 0, 0,
  5576. /* IP9_12 [1] */
  5577. FN_DU1_EXVSYNC_DU1_VSYNC, FN_QSTB_QHE,
  5578. /* IP9_11 [1] */
  5579. FN_DU1_EXHSYNC_DU1_HSYNC, FN_QSTH_QHS,
  5580. /* IP9_10_8 [3] */
  5581. FN_DU1_DOTCLKOUT1, FN_QSTVB_QVE, FN_CAN0_TX,
  5582. FN_TX3_B, FN_SCL2_B, FN_PWM4,
  5583. 0, 0,
  5584. /* IP9_7 [1] */
  5585. FN_DU1_DOTCLKOUT0, FN_QCLK,
  5586. /* IP9_6 [1] */
  5587. FN_DU1_DOTCLKIN, FN_QSTVA_QVS,
  5588. /* IP9_5_3 [3] */
  5589. FN_DU1_DB7, FN_LCDOUT23, FN_SDA3_C,
  5590. FN_SCIF3_SCK, FN_SCIFA3_SCK,
  5591. 0, 0, 0,
  5592. /* IP9_2_0 [3] */
  5593. FN_DU1_DB6, FN_LCDOUT22, FN_SCL3_C, FN_RX3, FN_SCIFA3_RXD,
  5594. 0, 0, 0, }
  5595. },
  5596. { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
  5597. 3, 2, 2, 3, 3, 2, 2, 3, 3, 3, 3, 3) {
  5598. /* IP10_31_29 [3] */
  5599. FN_VI0_R4, FN_VI2_DATA5, FN_GLO_SCLK_B, FN_TX0_C, FN_SCL1_D,
  5600. 0, 0, 0,
  5601. /* IP10_28_27 [2] */
  5602. FN_VI0_R3, FN_VI2_DATA4, FN_GLO_Q1_B, FN_TS_SPSYNC0_C,
  5603. /* IP10_26_25 [2] */
  5604. FN_VI0_R2, FN_VI2_DATA3, FN_GLO_Q0_B, FN_TS_SDEN0_C,
  5605. /* IP10_24_22 [3] */
  5606. FN_VI0_R1, FN_VI2_DATA2, FN_GLO_I1_B, FN_TS_SCK0_C, FN_ATAG1_N,
  5607. 0, 0, 0,
  5608. /* IP10_21_29 [3] */
  5609. FN_VI0_R0, FN_VI2_DATA1, FN_GLO_I0_B,
  5610. FN_TS_SDATA0_C, FN_ATACS11_N,
  5611. 0, 0, 0,
  5612. /* IP10_18_17 [2] */
  5613. FN_VI0_G7, FN_VI2_DATA0, FN_FMIN_D, 0,
  5614. /* IP10_16_15 [2] */
  5615. FN_VI0_G6, FN_VI2_CLK, FN_BPFCLK_D, 0,
  5616. /* IP10_14_12 [3] */
  5617. FN_VI0_G5, FN_VI2_FIELD, FN_STP_OPWM_0_C, FN_FMCLK_D,
  5618. FN_CAN0_TX_E, FN_HTX1_D, FN_SCIFB0_TXD_D, 0,
  5619. /* IP10_11_9 [3] */
  5620. FN_VI0_G4, FN_VI2_CLKENB, FN_STP_ISSYNC_0_C,
  5621. FN_HTX2, FN_SCIFB2_TXD, FN_SCIFB0_SCK_D,
  5622. 0, 0,
  5623. /* IP10_8_6 [3] */
  5624. FN_VI0_G3, FN_VI2_VSYNC_N, FN_STP_ISEN_0_C, FN_SDA3_B,
  5625. FN_HRX2, FN_SCIFB2_RXD, FN_ATACS01_N, 0,
  5626. /* IP10_5_3 [3] */
  5627. FN_VI0_G2, FN_VI2_HSYNC_N, FN_STP_ISD_0_C, FN_SCL3_B,
  5628. FN_HSCK2, FN_SCIFB2_SCK, FN_ATARD1_N, 0,
  5629. /* IP10_2_0 [3] */
  5630. FN_VI0_G1, FN_SDA8, FN_STP_ISCLK_0_C, FN_SDA4,
  5631. FN_HRTS2_N, FN_SCIFB2_RTS_N, FN_ATADIR1_N, 0, }
  5632. },
  5633. { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
  5634. 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
  5635. 3, 3, 3, 3, 3) {
  5636. /* IP11_31_30 [2] */
  5637. FN_ETH_CRS_DV, FN_AVB_LINK, FN_SDA2_C, 0,
  5638. /* IP11_29_28 [2] */
  5639. FN_ETH_MDIO, FN_AVB_RX_CLK, FN_SCL2_C, 0,
  5640. /* IP11_27 [1] */
  5641. FN_VI1_DATA7, FN_AVB_MDC,
  5642. /* IP11_26 [1] */
  5643. FN_VI1_DATA6, FN_AVB_MAGIC,
  5644. /* IP11_25 [1] */
  5645. FN_VI1_DATA5, FN_AVB_RX_DV,
  5646. /* IP11_24 [1] */
  5647. FN_VI1_DATA4, FN_AVB_MDIO,
  5648. /* IP11_23 [1] */
  5649. FN_VI1_DATA3, FN_AVB_RX_ER,
  5650. /* IP11_22 [1] */
  5651. FN_VI1_DATA2, FN_AVB_RXD7,
  5652. /* IP11_21 [1] */
  5653. FN_VI1_DATA1, FN_AVB_RXD6,
  5654. /* IP11_20 [1] */
  5655. FN_VI1_DATA0, FN_AVB_RXD5,
  5656. /* IP11_19 [1] */
  5657. FN_VI1_CLK, FN_AVB_RXD4,
  5658. /* IP11_18_17 [2] */
  5659. FN_VI1_FIELD, FN_AVB_RXD3, FN_TS_SPSYNC0_B, 0,
  5660. /* IP11_16_15 [2] */
  5661. FN_VI1_CLKENB, FN_AVB_RXD2, FN_TS_SDEN0_B, 0,
  5662. /* IP11_14_12 [3] */
  5663. FN_VI1_VSYNC_N, FN_AVB_RXD1, FN_TS_SCK0_B,
  5664. FN_RX4_B, FN_SCIFA4_RXD_B,
  5665. 0, 0, 0,
  5666. /* IP11_11_9 [3] */
  5667. FN_VI1_HSYNC_N, FN_AVB_RXD0, FN_TS_SDATA0_B,
  5668. FN_TX4_B, FN_SCIFA4_TXD_B,
  5669. 0, 0, 0,
  5670. /* IP11_8_6 [3] */
  5671. FN_VI0_R7, FN_GLO_RFON_B, FN_RX1_C, FN_CAN0_RX_E,
  5672. FN_SDA4_B, FN_HRX1_D, FN_SCIFB0_RXD_D, 0,
  5673. /* IP11_5_3 [3] */
  5674. FN_VI0_R6, FN_VI2_DATA7, FN_GLO_SS_B, FN_TX1_C, FN_SCL4_B,
  5675. 0, 0, 0,
  5676. /* IP11_2_0 [3] */
  5677. FN_VI0_R5, FN_VI2_DATA6, FN_GLO_SDATA_B, FN_RX0_C, FN_SDA1_D,
  5678. 0, 0, 0, }
  5679. },
  5680. { PINMUX_CFG_REG_VAR("IPSR12", 0xE6060050, 32,
  5681. 2, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2) {
  5682. /* IP12_31_30 [2] */
  5683. 0, 0, 0, 0,
  5684. /* IP12_29_27 [3] */
  5685. FN_STP_ISCLK_0, FN_AVB_TX_EN, FN_SCIFB2_RXD_D,
  5686. FN_ADICS_SAMP_B, FN_MSIOF0_SCK_C,
  5687. 0, 0, 0,
  5688. /* IP12_26_24 [3] */
  5689. FN_STP_IVCXO27_0, FN_AVB_TXD7, FN_SCIFB2_TXD_D,
  5690. FN_ADIDATA_B, FN_MSIOF0_SYNC_C,
  5691. 0, 0, 0,
  5692. /* IP12_23_22 [2] */
  5693. FN_ETH_MDC, FN_AVB_TXD6, FN_IERX_C, 0,
  5694. /* IP12_21_20 [2] */
  5695. FN_ETH_TXD0, FN_AVB_TXD5, FN_IECLK_C, 0,
  5696. /* IP12_19_18 [2] */
  5697. FN_ETH_MAGIC, FN_AVB_TXD4, FN_IETX_C, 0,
  5698. /* IP12_17_16 [2] */
  5699. FN_ETH_TX_EN, FN_AVB_TXD3, FN_TCLK1_B, FN_CAN_CLK_B,
  5700. /* IP12_15_13 [3] */
  5701. FN_ETH_TXD1, FN_AVB_TXD2, FN_SCIFA3_TXD_B,
  5702. FN_CAN1_TX_C, FN_MSIOF1_TXD_E,
  5703. 0, 0, 0,
  5704. /* IP12_12_10 [3] */
  5705. FN_ETH_REFCLK, FN_AVB_TXD1, FN_SCIFA3_RXD_B,
  5706. FN_CAN1_RX_C, FN_MSIOF1_SYNC_E,
  5707. 0, 0, 0,
  5708. /* IP12_9_7 [3] */
  5709. FN_ETH_LINK, FN_AVB_TXD0, FN_CAN0_RX_C,
  5710. FN_SDA2_D, FN_MSIOF1_SCK_E,
  5711. 0, 0, 0,
  5712. /* IP12_6_4 [3] */
  5713. FN_ETH_RXD1, FN_AVB_GTXREFCLK, FN_CAN0_TX_C,
  5714. FN_SCL2_D, FN_MSIOF1_RXD_E,
  5715. 0, 0, 0,
  5716. /* IP12_3_2 [2] */
  5717. FN_ETH_RXD0, FN_AVB_PHY_INT, FN_SDA3, FN_SDA7,
  5718. /* IP12_1_0 [2] */
  5719. FN_ETH_RX_ER, FN_AVB_CRS, FN_SCL3, FN_SCL7, }
  5720. },
  5721. { PINMUX_CFG_REG_VAR("IPSR13", 0xE6060054, 32,
  5722. 1, 3, 1, 1, 1, 2, 1, 3, 3, 1, 1, 1, 1, 1, 1,
  5723. 3, 2, 2, 3) {
  5724. /* IP13_31 [1] */
  5725. 0, 0,
  5726. /* IP13_30_28 [3] */
  5727. FN_SD1_CD, FN_PWM0, FN_TPU_TO0, FN_SCL1_C,
  5728. 0, 0, 0, 0,
  5729. /* IP13_27 [1] */
  5730. FN_SD1_DATA3, FN_IERX_B,
  5731. /* IP13_26 [1] */
  5732. FN_SD1_DATA2, FN_IECLK_B,
  5733. /* IP13_25 [1] */
  5734. FN_SD1_DATA1, FN_IETX_B,
  5735. /* IP13_24_23 [2] */
  5736. FN_SD1_DATA0, FN_SPEEDIN_B, 0, 0,
  5737. /* IP13_22 [1] */
  5738. FN_SD1_CMD, FN_REMOCON_B,
  5739. /* IP13_21_19 [3] */
  5740. FN_SD0_WP, FN_MMC_D7_B, FN_SIM0_D_B, FN_CAN0_TX_F,
  5741. FN_SCIFA5_RXD_B, FN_RX3_C,
  5742. 0, 0,
  5743. /* IP13_18_16 [3] */
  5744. FN_SD0_CD, FN_MMC_D6_B, FN_SIM0_RST_B, FN_CAN0_RX_F,
  5745. FN_SCIFA5_TXD_B, FN_TX3_C,
  5746. 0, 0,
  5747. /* IP13_15 [1] */
  5748. FN_SD0_DATA3, FN_SSL_B,
  5749. /* IP13_14 [1] */
  5750. FN_SD0_DATA2, FN_IO3_B,
  5751. /* IP13_13 [1] */
  5752. FN_SD0_DATA1, FN_IO2_B,
  5753. /* IP13_12 [1] */
  5754. FN_SD0_DATA0, FN_MISO_IO1_B,
  5755. /* IP13_11 [1] */
  5756. FN_SD0_CMD, FN_MOSI_IO0_B,
  5757. /* IP13_10 [1] */
  5758. FN_SD0_CLK, FN_SPCLK_B,
  5759. /* IP13_9_7 [3] */
  5760. FN_STP_OPWM_0, FN_AVB_GTX_CLK, FN_PWM0_B,
  5761. FN_ADICHS2_B, FN_MSIOF0_TXD_C,
  5762. 0, 0, 0,
  5763. /* IP13_6_5 [2] */
  5764. FN_STP_ISSYNC_0, FN_AVB_COL, FN_ADICHS1_B, FN_MSIOF0_RXD_C,
  5765. /* IP13_4_3 [2] */
  5766. FN_STP_ISEN_0, FN_AVB_TX_CLK, FN_ADICHS0_B, FN_MSIOF0_SS2_C,
  5767. /* IP13_2_0 [3] */
  5768. FN_STP_ISD_0, FN_AVB_TX_ER, FN_SCIFB2_SCK_C,
  5769. FN_ADICLK_B, FN_MSIOF0_SS1_C,
  5770. 0, 0, 0, }
  5771. },
  5772. { PINMUX_CFG_REG_VAR("IPSR14", 0xE6060058, 32,
  5773. 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 2) {
  5774. /* IP14_31_29 [3] */
  5775. FN_MSIOF0_SS2, FN_MMC_D7, FN_ADICHS2, FN_RX0_E,
  5776. FN_VI1_VSYNC_N_C, FN_SDA7_C, FN_VI1_G5_B, 0,
  5777. /* IP14_28_26 [3] */
  5778. FN_MSIOF0_SS1, FN_MMC_D6, FN_ADICHS1, FN_TX0_E,
  5779. FN_VI1_HSYNC_N_C, FN_SCL7_C, FN_VI1_G4_B, 0,
  5780. /* IP14_25_23 [3] */
  5781. FN_MSIOF0_RXD, FN_ADICHS0, 0, FN_VI1_DATA0_C, FN_VI1_G3_B,
  5782. 0, 0, 0,
  5783. /* IP14_22_20 [3] */
  5784. FN_MSIOF0_TXD, FN_ADICLK, 0, FN_VI1_FIELD_C, FN_VI1_G2_B,
  5785. 0, 0, 0,
  5786. /* IP14_19_17 [3] */
  5787. FN_MSIOF0_SYNC, FN_TX2_C, FN_ADICS_SAMP, 0,
  5788. FN_VI1_CLKENB_C, FN_VI1_G1_B,
  5789. 0, 0,
  5790. /* IP14_16_14 [3] */
  5791. FN_MSIOF0_SCK, FN_RX2_C, FN_ADIDATA, 0,
  5792. FN_VI1_CLK_C, FN_VI1_G0_B,
  5793. 0, 0,
  5794. /* IP14_13_11 [3] */
  5795. FN_SD2_WP, FN_MMC_D5, FN_SDA8_C, FN_RX5_B, FN_SCIFA5_RXD_C,
  5796. 0, 0, 0,
  5797. /* IP14_10_8 [3] */
  5798. FN_SD2_CD, FN_MMC_D4, FN_SCL8_C, FN_TX5_B, FN_SCIFA5_TXD_C,
  5799. 0, 0, 0,
  5800. /* IP14_7 [1] */
  5801. FN_SD2_DATA3, FN_MMC_D3,
  5802. /* IP14_6 [1] */
  5803. FN_SD2_DATA2, FN_MMC_D2,
  5804. /* IP14_5 [1] */
  5805. FN_SD2_DATA1, FN_MMC_D1,
  5806. /* IP14_4 [1] */
  5807. FN_SD2_DATA0, FN_MMC_D0,
  5808. /* IP14_3 [1] */
  5809. FN_SD2_CMD, FN_MMC_CMD,
  5810. /* IP14_2 [1] */
  5811. FN_SD2_CLK, FN_MMC_CLK,
  5812. /* IP14_1_0 [2] */
  5813. FN_SD1_WP, FN_PWM1_B, FN_SDA1_C, 0, }
  5814. },
  5815. { PINMUX_CFG_REG_VAR("IPSR15", 0xE606005C, 32,
  5816. 2, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2) {
  5817. /* IP15_31_30 [2] */
  5818. 0, 0, 0, 0,
  5819. /* IP15_29_27 [3] */
  5820. FN_HTX0, FN_SCIFB0_TXD, 0, FN_GLO_SCLK_C,
  5821. FN_CAN0_TX_B, FN_VI1_DATA5_C,
  5822. 0, 0,
  5823. /* IP15_26_24 [3] */
  5824. FN_HRX0, FN_SCIFB0_RXD, 0, FN_GLO_Q1_C,
  5825. FN_CAN0_RX_B, FN_VI1_DATA4_C,
  5826. 0, 0,
  5827. /* IP15_23_21 [3] */
  5828. FN_HSCK0, FN_SCIFB0_SCK, 0, FN_GLO_Q0_C, FN_CAN_CLK,
  5829. FN_TCLK2, FN_VI1_DATA3_C, 0,
  5830. /* IP15_20_18 [3] */
  5831. FN_HRTS0_N, FN_SCIFB0_RTS_N, 0, FN_GLO_I1_C, FN_VI1_DATA2_C,
  5832. 0, 0, 0,
  5833. /* IP15_17_15 [3] */
  5834. FN_HCTS0_N, FN_SCIFB0_CTS_N, 0, FN_GLO_I0_C,
  5835. FN_TCLK1, FN_VI1_DATA1_C,
  5836. 0, 0,
  5837. /* IP15_14_12 [3] */
  5838. FN_GPS_MAG, FN_RX4_C, FN_SCIFA4_RXD_C, FN_PWM6,
  5839. FN_VI1_G7_B, FN_SCIFA3_SCK_C,
  5840. 0, 0,
  5841. /* IP15_11_9 [3] */
  5842. FN_GPS_SIGN, FN_TX4_C, FN_SCIFA4_TXD_C, FN_PWM5,
  5843. FN_VI1_G6_B, FN_SCIFA3_RXD_C,
  5844. 0, 0,
  5845. /* IP15_8_6 [3] */
  5846. FN_GPS_CLK, FN_DU1_DOTCLKIN_C, FN_AUDIO_CLKB_B,
  5847. FN_PWM5_B, FN_SCIFA3_TXD_C,
  5848. 0, 0, 0,
  5849. /* IP15_5_4 [2] */
  5850. FN_SIM0_D, FN_IERX, FN_CAN1_RX_D, 0,
  5851. /* IP15_3_2 [2] */
  5852. FN_SIM0_CLK, FN_IECLK, FN_CAN_CLK_C, 0,
  5853. /* IP15_1_0 [2] */
  5854. FN_SIM0_RST, FN_IETX, FN_CAN1_TX_D, 0, }
  5855. },
  5856. { PINMUX_CFG_REG_VAR("IPSR16", 0xE6060160, 32,
  5857. 4, 4, 4, 4, 4, 2, 2, 2, 3, 3) {
  5858. /* IP16_31_28 [4] */
  5859. 0, 0, 0, 0, 0, 0, 0, 0,
  5860. 0, 0, 0, 0, 0, 0, 0, 0,
  5861. /* IP16_27_24 [4] */
  5862. 0, 0, 0, 0, 0, 0, 0, 0,
  5863. 0, 0, 0, 0, 0, 0, 0, 0,
  5864. /* IP16_23_20 [4] */
  5865. 0, 0, 0, 0, 0, 0, 0, 0,
  5866. 0, 0, 0, 0, 0, 0, 0, 0,
  5867. /* IP16_19_16 [4] */
  5868. 0, 0, 0, 0, 0, 0, 0, 0,
  5869. 0, 0, 0, 0, 0, 0, 0, 0,
  5870. /* IP16_15_12 [4] */
  5871. 0, 0, 0, 0, 0, 0, 0, 0,
  5872. 0, 0, 0, 0, 0, 0, 0, 0,
  5873. /* IP16_11_10 [2] */
  5874. FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,
  5875. /* IP16_9_8 [2] */
  5876. FN_HCTS1_N, FN_SCIFB1_CTS_N, FN_MLB_SIG, FN_CAN1_TX_B,
  5877. /* IP16_7_6 [2] */
  5878. FN_HSCK1, FN_SCIFB1_SCK, FN_MLB_CLK, FN_GLO_RFON_C,
  5879. /* IP16_5_3 [3] */
  5880. FN_HTX1, FN_SCIFB1_TXD, FN_VI1_R1_B,
  5881. FN_GLO_SS_C, FN_VI1_DATA7_C,
  5882. 0, 0, 0,
  5883. /* IP16_2_0 [3] */
  5884. FN_HRX1, FN_SCIFB1_RXD, FN_VI1_R0_B,
  5885. FN_GLO_SDATA_C, FN_VI1_DATA6_C,
  5886. 0, 0, 0, }
  5887. },
  5888. { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
  5889. 1, 2, 2, 2, 3, 2, 1, 1, 1, 1,
  5890. 3, 2, 2, 2, 1, 2, 2, 2) {
  5891. /* RESERVED [1] */
  5892. 0, 0,
  5893. /* SEL_SCIF1 [2] */
  5894. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
  5895. /* SEL_SCIFB [2] */
  5896. FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, FN_SEL_SCIFB_3,
  5897. /* SEL_SCIFB2 [2] */
  5898. FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1,
  5899. FN_SEL_SCIFB2_2, FN_SEL_SCIFB2_3,
  5900. /* SEL_SCIFB1 [3] */
  5901. FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1,
  5902. FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
  5903. 0, 0, 0, 0,
  5904. /* SEL_SCIFA1 [2] */
  5905. FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, 0,
  5906. /* SEL_SSI9 [1] */
  5907. FN_SEL_SSI9_0, FN_SEL_SSI9_1,
  5908. /* SEL_SCFA [1] */
  5909. FN_SEL_SCFA_0, FN_SEL_SCFA_1,
  5910. /* SEL_QSP [1] */
  5911. FN_SEL_QSP_0, FN_SEL_QSP_1,
  5912. /* SEL_SSI7 [1] */
  5913. FN_SEL_SSI7_0, FN_SEL_SSI7_1,
  5914. /* SEL_HSCIF1 [3] */
  5915. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_HSCIF1_2,
  5916. FN_SEL_HSCIF1_3, FN_SEL_HSCIF1_4,
  5917. 0, 0, 0,
  5918. /* RESERVED [2] */
  5919. 0, 0, 0, 0,
  5920. /* SEL_VI1 [2] */
  5921. FN_SEL_VI1_0, FN_SEL_VI1_1, FN_SEL_VI1_2, 0,
  5922. /* RESERVED [2] */
  5923. 0, 0, 0, 0,
  5924. /* SEL_TMU [1] */
  5925. FN_SEL_TMU1_0, FN_SEL_TMU1_1,
  5926. /* SEL_LBS [2] */
  5927. FN_SEL_LBS_0, FN_SEL_LBS_1, FN_SEL_LBS_2, FN_SEL_LBS_3,
  5928. /* SEL_TSIF0 [2] */
  5929. FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
  5930. /* SEL_SOF0 [2] */
  5931. FN_SEL_SOF0_0, FN_SEL_SOF0_1, FN_SEL_SOF0_2, 0, }
  5932. },
  5933. { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
  5934. 3, 1, 1, 3, 2, 1, 1, 2, 2,
  5935. 1, 3, 2, 1, 2, 2, 2, 1, 1, 1) {
  5936. /* SEL_SCIF0 [3] */
  5937. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2,
  5938. FN_SEL_SCIF0_3, FN_SEL_SCIF0_4,
  5939. 0, 0, 0,
  5940. /* RESERVED [1] */
  5941. 0, 0,
  5942. /* SEL_SCIF [1] */
  5943. FN_SEL_SCIF_0, FN_SEL_SCIF_1,
  5944. /* SEL_CAN0 [3] */
  5945. FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
  5946. FN_SEL_CAN0_4, FN_SEL_CAN0_5,
  5947. 0, 0,
  5948. /* SEL_CAN1 [2] */
  5949. FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
  5950. /* RESERVED [1] */
  5951. 0, 0,
  5952. /* SEL_SCIFA2 [1] */
  5953. FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
  5954. /* SEL_SCIF4 [2] */
  5955. FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, 0,
  5956. /* RESERVED [2] */
  5957. 0, 0, 0, 0,
  5958. /* SEL_ADG [1] */
  5959. FN_SEL_ADG_0, FN_SEL_ADG_1,
  5960. /* SEL_FM [3] */
  5961. FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2,
  5962. FN_SEL_FM_3, FN_SEL_FM_4,
  5963. 0, 0, 0,
  5964. /* SEL_SCIFA5 [2] */
  5965. FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2, 0,
  5966. /* RESERVED [1] */
  5967. 0, 0,
  5968. /* SEL_GPS [2] */
  5969. FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
  5970. /* SEL_SCIFA4 [2] */
  5971. FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2, 0,
  5972. /* SEL_SCIFA3 [2] */
  5973. FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA3_2, 0,
  5974. /* SEL_SIM [1] */
  5975. FN_SEL_SIM_0, FN_SEL_SIM_1,
  5976. /* RESERVED [1] */
  5977. 0, 0,
  5978. /* SEL_SSI8 [1] */
  5979. FN_SEL_SSI8_0, FN_SEL_SSI8_1, }
  5980. },
  5981. { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
  5982. 2, 2, 2, 2, 2, 2, 2, 2,
  5983. 1, 1, 2, 2, 3, 2, 2, 2, 1) {
  5984. /* SEL_HSCIF2 [2] */
  5985. FN_SEL_HSCIF2_0, FN_SEL_HSCIF2_1,
  5986. FN_SEL_HSCIF2_2, FN_SEL_HSCIF2_3,
  5987. /* SEL_CANCLK [2] */
  5988. FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
  5989. FN_SEL_CANCLK_2, FN_SEL_CANCLK_3,
  5990. /* SEL_IIC8 [2] */
  5991. FN_SEL_IIC8_0, FN_SEL_IIC8_1, FN_SEL_IIC8_2, 0,
  5992. /* SEL_IIC7 [2] */
  5993. FN_SEL_IIC7_0, FN_SEL_IIC7_1, FN_SEL_IIC7_2, 0,
  5994. /* SEL_IIC4 [2] */
  5995. FN_SEL_IIC4_0, FN_SEL_IIC4_1, FN_SEL_IIC4_2, 0,
  5996. /* SEL_IIC3 [2] */
  5997. FN_SEL_IIC3_0, FN_SEL_IIC3_1, FN_SEL_IIC3_2, FN_SEL_IIC3_3,
  5998. /* SEL_SCIF3 [2] */
  5999. FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
  6000. /* SEL_IEB [2] */
  6001. FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, 0,
  6002. /* SEL_MMC [1] */
  6003. FN_SEL_MMC_0, FN_SEL_MMC_1,
  6004. /* SEL_SCIF5 [1] */
  6005. FN_SEL_SCIF5_0, FN_SEL_SCIF5_1,
  6006. /* RESERVED [2] */
  6007. 0, 0, 0, 0,
  6008. /* SEL_IIC2 [2] */
  6009. FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
  6010. /* SEL_IIC1 [3] */
  6011. FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, FN_SEL_IIC1_3,
  6012. FN_SEL_IIC1_4,
  6013. 0, 0, 0,
  6014. /* SEL_IIC0 [2] */
  6015. FN_SEL_IIC0_0, FN_SEL_IIC0_1, FN_SEL_IIC0_2, 0,
  6016. /* RESERVED [2] */
  6017. 0, 0, 0, 0,
  6018. /* RESERVED [2] */
  6019. 0, 0, 0, 0,
  6020. /* RESERVED [1] */
  6021. 0, 0, }
  6022. },
  6023. { PINMUX_CFG_REG_VAR("MOD_SEL4", 0xE606009C, 32,
  6024. 3, 2, 2, 1, 1, 1, 1, 3, 2,
  6025. 2, 3, 1, 1, 1, 2, 2, 2, 2) {
  6026. /* SEL_SOF1 [3] */
  6027. FN_SEL_SOF1_0, FN_SEL_SOF1_1, FN_SEL_SOF1_2, FN_SEL_SOF1_3,
  6028. FN_SEL_SOF1_4,
  6029. 0, 0, 0,
  6030. /* SEL_HSCIF0 [2] */
  6031. FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2, 0,
  6032. /* SEL_DIS [2] */
  6033. FN_SEL_DIS_0, FN_SEL_DIS_1, FN_SEL_DIS_2, 0,
  6034. /* RESERVED [1] */
  6035. 0, 0,
  6036. /* SEL_RAD [1] */
  6037. FN_SEL_RAD_0, FN_SEL_RAD_1,
  6038. /* SEL_RCN [1] */
  6039. FN_SEL_RCN_0, FN_SEL_RCN_1,
  6040. /* SEL_RSP [1] */
  6041. FN_SEL_RSP_0, FN_SEL_RSP_1,
  6042. /* SEL_SCIF2 [3] */
  6043. FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2,
  6044. FN_SEL_SCIF2_3, FN_SEL_SCIF2_4,
  6045. 0, 0, 0,
  6046. /* RESERVED [2] */
  6047. 0, 0, 0, 0,
  6048. /* RESERVED [2] */
  6049. 0, 0, 0, 0,
  6050. /* SEL_SOF2 [3] */
  6051. FN_SEL_SOF2_0, FN_SEL_SOF2_1, FN_SEL_SOF2_2,
  6052. FN_SEL_SOF2_3, FN_SEL_SOF2_4,
  6053. 0, 0, 0,
  6054. /* RESERVED [1] */
  6055. 0, 0,
  6056. /* SEL_SSI1 [1] */
  6057. FN_SEL_SSI1_0, FN_SEL_SSI1_1,
  6058. /* SEL_SSI0 [1] */
  6059. FN_SEL_SSI0_0, FN_SEL_SSI0_1,
  6060. /* SEL_SSP [2] */
  6061. FN_SEL_SSP_0, FN_SEL_SSP_1, FN_SEL_SSP_2, 0,
  6062. /* RESERVED [2] */
  6063. 0, 0, 0, 0,
  6064. /* RESERVED [2] */
  6065. 0, 0, 0, 0,
  6066. /* RESERVED [2] */
  6067. 0, 0, 0, 0, }
  6068. },
  6069. { },
  6070. };
  6071. #ifdef CONFIG_PINCTRL_PFC_R8A7791
  6072. const struct sh_pfc_soc_info r8a7791_pinmux_info = {
  6073. .name = "r8a77910_pfc",
  6074. .unlock_reg = 0xe6060000, /* PMMR */
  6075. .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
  6076. .pins = pinmux_pins,
  6077. .nr_pins = ARRAY_SIZE(pinmux_pins),
  6078. .groups = pinmux_groups,
  6079. .nr_groups = ARRAY_SIZE(pinmux_groups),
  6080. .functions = pinmux_functions,
  6081. .nr_functions = ARRAY_SIZE(pinmux_functions),
  6082. .cfg_regs = pinmux_config_regs,
  6083. .pinmux_data = pinmux_data,
  6084. .pinmux_data_size = ARRAY_SIZE(pinmux_data),
  6085. };
  6086. #endif
  6087. #ifdef CONFIG_PINCTRL_PFC_R8A7793
  6088. const struct sh_pfc_soc_info r8a7793_pinmux_info = {
  6089. .name = "r8a77930_pfc",
  6090. .unlock_reg = 0xe6060000, /* PMMR */
  6091. .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
  6092. .pins = pinmux_pins,
  6093. .nr_pins = ARRAY_SIZE(pinmux_pins),
  6094. .groups = pinmux_groups,
  6095. .nr_groups = ARRAY_SIZE(pinmux_groups),
  6096. .functions = pinmux_functions,
  6097. .nr_functions = ARRAY_SIZE(pinmux_functions),
  6098. .cfg_regs = pinmux_config_regs,
  6099. .pinmux_data = pinmux_data,
  6100. .pinmux_data_size = ARRAY_SIZE(pinmux_data),
  6101. };
  6102. #endif