pfc-r8a7790.c 183 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704
  1. /*
  2. * R8A7790 processor support
  3. *
  4. * Copyright (C) 2013 Renesas Electronics Corporation
  5. * Copyright (C) 2013 Magnus Damm
  6. * Copyright (C) 2012 Renesas Solutions Corp.
  7. * Copyright (C) 2012 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License as
  11. * published by the Free Software Foundation; version 2 of the
  12. * License.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  22. */
  23. #include <linux/kernel.h>
  24. #include "core.h"
  25. #include "sh_pfc.h"
  26. #define PORT_GP_30(bank, fn, sfx) \
  27. PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \
  28. PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \
  29. PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \
  30. PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \
  31. PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \
  32. PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \
  33. PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \
  34. PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \
  35. PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \
  36. PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \
  37. PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \
  38. PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \
  39. PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx), \
  40. PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx), \
  41. PORT_GP_1(bank, 28, fn, sfx), PORT_GP_1(bank, 29, fn, sfx)
  42. #define CPU_ALL_PORT(fn, sfx) \
  43. PORT_GP_32(0, fn, sfx), \
  44. PORT_GP_30(1, fn, sfx), \
  45. PORT_GP_30(2, fn, sfx), \
  46. PORT_GP_32(3, fn, sfx), \
  47. PORT_GP_32(4, fn, sfx), \
  48. PORT_GP_32(5, fn, sfx)
  49. enum {
  50. PINMUX_RESERVED = 0,
  51. PINMUX_DATA_BEGIN,
  52. GP_ALL(DATA),
  53. PINMUX_DATA_END,
  54. PINMUX_FUNCTION_BEGIN,
  55. GP_ALL(FN),
  56. /* GPSR0 */
  57. FN_IP0_2_0, FN_IP0_5_3, FN_IP0_8_6, FN_IP0_11_9, FN_IP0_15_12,
  58. FN_IP0_19_16, FN_IP0_22_20, FN_IP0_26_23, FN_IP0_30_27,
  59. FN_IP1_3_0, FN_IP1_7_4, FN_IP1_11_8, FN_IP1_14_12,
  60. FN_IP1_17_15, FN_IP1_21_18, FN_IP1_25_22, FN_IP1_27_26,
  61. FN_IP1_29_28, FN_IP2_2_0, FN_IP2_5_3, FN_IP2_8_6, FN_IP2_11_9,
  62. FN_IP2_14_12, FN_IP2_17_15, FN_IP2_21_18, FN_IP2_25_22,
  63. FN_IP2_28_26, FN_IP3_3_0, FN_IP3_7_4, FN_IP3_11_8,
  64. FN_IP3_14_12, FN_IP3_17_15,
  65. /* GPSR1 */
  66. FN_IP3_19_18, FN_IP3_22_20, FN_IP3_25_23, FN_IP3_28_26,
  67. FN_IP3_31_29, FN_IP4_2_0, FN_IP4_5_3, FN_IP4_8_6, FN_IP4_11_9,
  68. FN_IP4_14_12, FN_IP4_17_15, FN_IP4_20_18, FN_IP4_23_21,
  69. FN_IP4_26_24, FN_IP4_29_27, FN_IP5_2_0, FN_IP5_5_3, FN_IP5_9_6,
  70. FN_IP5_12_10, FN_IP5_14_13, FN_IP5_17_15, FN_IP5_20_18,
  71. FN_IP5_23_21, FN_IP5_26_24, FN_IP5_29_27, FN_IP6_2_0,
  72. FN_IP6_5_3, FN_IP6_8_6, FN_IP6_10_9, FN_IP6_13_11,
  73. /* GPSR2 */
  74. FN_IP7_28_27, FN_IP7_30_29, FN_IP8_1_0, FN_IP8_3_2, FN_IP8_5_4,
  75. FN_IP8_7_6, FN_IP8_9_8, FN_IP8_11_10, FN_IP8_13_12, FN_IP8_15_14,
  76. FN_IP8_17_16, FN_IP8_19_18, FN_IP8_21_20, FN_IP8_23_22,
  77. FN_IP8_25_24, FN_IP8_26, FN_IP8_27, FN_VI1_DATA7_VI1_B7,
  78. FN_IP6_16_14, FN_IP6_19_17, FN_IP6_22_20, FN_IP6_25_23,
  79. FN_IP6_28_26, FN_IP6_31_29, FN_IP7_2_0, FN_IP7_5_3, FN_IP7_7_6,
  80. FN_IP7_9_8, FN_IP7_12_10, FN_IP7_15_13,
  81. /* GPSR3 */
  82. FN_IP8_28, FN_IP8_30_29, FN_IP9_1_0, FN_IP9_3_2, FN_IP9_5_4,
  83. FN_IP9_7_6, FN_IP9_11_8, FN_IP9_15_12, FN_IP9_17_16, FN_IP9_19_18,
  84. FN_IP9_21_20, FN_IP9_23_22, FN_IP9_25_24, FN_IP9_27_26,
  85. FN_IP9_31_28, FN_IP10_3_0, FN_IP10_6_4, FN_IP10_10_7, FN_IP10_14_11,
  86. FN_IP10_18_15, FN_IP10_22_19, FN_IP10_25_23, FN_IP10_29_26,
  87. FN_IP11_3_0, FN_IP11_4, FN_IP11_6_5, FN_IP11_8_7, FN_IP11_10_9,
  88. FN_IP11_12_11, FN_IP11_14_13, FN_IP11_17_15, FN_IP11_21_18,
  89. /* GPSR4 */
  90. FN_IP11_23_22, FN_IP11_26_24, FN_IP11_29_27, FN_IP11_31_30,
  91. FN_IP12_1_0, FN_IP12_3_2, FN_IP12_5_4, FN_IP12_7_6, FN_IP12_10_8,
  92. FN_IP12_13_11, FN_IP12_16_14, FN_IP12_19_17, FN_IP12_22_20,
  93. FN_IP12_24_23, FN_IP12_27_25, FN_IP12_30_28, FN_IP13_2_0,
  94. FN_IP13_6_3, FN_IP13_9_7, FN_IP13_12_10, FN_IP13_15_13,
  95. FN_IP13_18_16, FN_IP13_22_19, FN_IP13_25_23, FN_IP13_28_26,
  96. FN_IP13_30_29, FN_IP14_2_0, FN_IP14_5_3, FN_IP14_8_6, FN_IP14_11_9,
  97. FN_IP14_15_12, FN_IP14_18_16,
  98. /* GPSR5 */
  99. FN_IP14_21_19, FN_IP14_24_22, FN_IP14_27_25, FN_IP14_30_28,
  100. FN_IP15_2_0, FN_IP15_5_3, FN_IP15_8_6, FN_IP15_11_9, FN_IP15_13_12,
  101. FN_IP15_15_14, FN_IP15_17_16, FN_IP15_19_18, FN_IP15_22_20,
  102. FN_IP15_25_23, FN_IP15_27_26, FN_IP15_29_28, FN_IP16_2_0,
  103. FN_IP16_5_3, FN_USB0_PWEN, FN_USB0_OVC_VBUS, FN_IP16_6, FN_IP16_7,
  104. FN_USB2_PWEN, FN_USB2_OVC, FN_AVS1, FN_AVS2, FN_DU_DOTCLKIN0,
  105. FN_IP7_26_25, FN_DU_DOTCLKIN2, FN_IP7_18_16, FN_IP7_21_19, FN_IP7_24_22,
  106. /* IPSR0 */
  107. FN_D0, FN_MSIOF3_SCK_B, FN_VI3_DATA0, FN_VI0_G4, FN_VI0_G4_B,
  108. FN_D1, FN_MSIOF3_SYNC_B, FN_VI3_DATA1, FN_VI0_G5,
  109. FN_VI0_G5_B, FN_D2, FN_MSIOF3_RXD_B, FN_VI3_DATA2,
  110. FN_VI0_G6, FN_VI0_G6_B, FN_D3, FN_MSIOF3_TXD_B,
  111. FN_VI3_DATA3, FN_VI0_G7, FN_VI0_G7_B, FN_D4,
  112. FN_SCIFB1_RXD_F, FN_SCIFB0_RXD_C, FN_VI3_DATA4,
  113. FN_VI0_R0, FN_VI0_R0_B, FN_RX0_B, FN_D5,
  114. FN_SCIFB1_TXD_F, FN_SCIFB0_TXD_C, FN_VI3_DATA5,
  115. FN_VI0_R1, FN_VI0_R1_B, FN_TX0_B, FN_D6,
  116. FN_IIC2_SCL_C, FN_VI3_DATA6, FN_VI0_R2, FN_VI0_R2_B,
  117. FN_I2C2_SCL_C, FN_D7, FN_AD_DI_B, FN_IIC2_SDA_C,
  118. FN_VI3_DATA7, FN_VI0_R3, FN_VI0_R3_B, FN_I2C2_SDA_C, FN_TCLK1,
  119. FN_D8, FN_SCIFA1_SCK_C, FN_AVB_TXD0,
  120. FN_VI0_G0, FN_VI0_G0_B, FN_VI2_DATA0_VI2_B0,
  121. /* IPSR1 */
  122. FN_D9, FN_SCIFA1_RXD_C, FN_AVB_TXD1,
  123. FN_VI0_G1, FN_VI0_G1_B, FN_VI2_DATA1_VI2_B1, FN_D10,
  124. FN_SCIFA1_TXD_C, FN_AVB_TXD2,
  125. FN_VI0_G2, FN_VI0_G2_B, FN_VI2_DATA2_VI2_B2, FN_D11,
  126. FN_SCIFA1_CTS_N_C, FN_AVB_TXD3,
  127. FN_VI0_G3, FN_VI0_G3_B, FN_VI2_DATA3_VI2_B3,
  128. FN_D12, FN_SCIFA1_RTS_N_C, FN_AVB_TXD4,
  129. FN_VI0_HSYNC_N, FN_VI0_HSYNC_N_B, FN_VI2_DATA4_VI2_B4,
  130. FN_D13, FN_AVB_TXD5, FN_VI0_VSYNC_N,
  131. FN_VI0_VSYNC_N_B, FN_VI2_DATA5_VI2_B5, FN_D14,
  132. FN_SCIFB1_RXD_C, FN_AVB_TXD6, FN_RX1_B,
  133. FN_VI0_CLKENB, FN_VI0_CLKENB_B, FN_VI2_DATA6_VI2_B6,
  134. FN_D15, FN_SCIFB1_TXD_C, FN_AVB_TXD7, FN_TX1_B,
  135. FN_VI0_FIELD, FN_VI0_FIELD_B, FN_VI2_DATA7_VI2_B7,
  136. FN_A0, FN_PWM3, FN_A1, FN_PWM4,
  137. /* IPSR2 */
  138. FN_A2, FN_PWM5, FN_MSIOF1_SS1_B, FN_A3,
  139. FN_PWM6, FN_MSIOF1_SS2_B, FN_A4, FN_MSIOF1_TXD_B,
  140. FN_TPU0TO0, FN_A5, FN_SCIFA1_TXD_B, FN_TPU0TO1,
  141. FN_A6, FN_SCIFA1_RTS_N_B, FN_TPU0TO2, FN_A7,
  142. FN_SCIFA1_SCK_B, FN_AUDIO_CLKOUT_B, FN_TPU0TO3,
  143. FN_A8, FN_SCIFA1_RXD_B, FN_SSI_SCK5_B, FN_VI0_R4,
  144. FN_VI0_R4_B, FN_SCIFB2_RXD_C, FN_RX2_B, FN_VI2_DATA0_VI2_B0_B,
  145. FN_A9, FN_SCIFA1_CTS_N_B, FN_SSI_WS5_B, FN_VI0_R5,
  146. FN_VI0_R5_B, FN_SCIFB2_TXD_C, FN_TX2_B, FN_VI2_DATA1_VI2_B1_B,
  147. FN_A10, FN_SSI_SDATA5_B, FN_MSIOF2_SYNC, FN_VI0_R6,
  148. FN_VI0_R6_B, FN_VI2_DATA2_VI2_B2_B,
  149. /* IPSR3 */
  150. FN_A11, FN_SCIFB2_CTS_N_B, FN_MSIOF2_SCK, FN_VI1_R0,
  151. FN_VI1_R0_B, FN_VI2_G0, FN_VI2_DATA3_VI2_B3_B,
  152. FN_A12, FN_SCIFB2_RXD_B, FN_MSIOF2_TXD, FN_VI1_R1,
  153. FN_VI1_R1_B, FN_VI2_G1, FN_VI2_DATA4_VI2_B4_B,
  154. FN_A13, FN_SCIFB2_RTS_N_B, FN_EX_WAIT2,
  155. FN_MSIOF2_RXD, FN_VI1_R2, FN_VI1_R2_B, FN_VI2_G2,
  156. FN_VI2_DATA5_VI2_B5_B, FN_A14, FN_SCIFB2_TXD_B,
  157. FN_ATACS11_N, FN_MSIOF2_SS1, FN_A15, FN_SCIFB2_SCK_B,
  158. FN_ATARD1_N, FN_MSIOF2_SS2, FN_A16, FN_ATAWR1_N,
  159. FN_A17, FN_AD_DO_B, FN_ATADIR1_N, FN_A18,
  160. FN_AD_CLK_B, FN_ATAG1_N, FN_A19, FN_AD_NCS_N_B,
  161. FN_ATACS01_N, FN_EX_WAIT0_B, FN_A20, FN_SPCLK,
  162. FN_VI1_R3, FN_VI1_R3_B, FN_VI2_G4,
  163. /* IPSR4 */
  164. FN_A21, FN_MOSI_IO0, FN_VI1_R4, FN_VI1_R4_B, FN_VI2_G5,
  165. FN_A22, FN_MISO_IO1, FN_VI1_R5, FN_VI1_R5_B,
  166. FN_VI2_G6, FN_A23, FN_IO2, FN_VI1_G7,
  167. FN_VI1_G7_B, FN_VI2_G7, FN_A24, FN_IO3,
  168. FN_VI1_R7, FN_VI1_R7_B, FN_VI2_CLKENB,
  169. FN_VI2_CLKENB_B, FN_A25, FN_SSL, FN_VI1_G6,
  170. FN_VI1_G6_B, FN_VI2_FIELD, FN_VI2_FIELD_B, FN_CS0_N,
  171. FN_VI1_R6, FN_VI1_R6_B, FN_VI2_G3, FN_MSIOF0_SS2_B,
  172. FN_CS1_N_A26, FN_SPEEDIN, FN_VI0_R7, FN_VI0_R7_B,
  173. FN_VI2_CLK, FN_VI2_CLK_B, FN_EX_CS0_N, FN_HRX1_B,
  174. FN_VI1_G5, FN_VI1_G5_B, FN_VI2_R0, FN_HTX0_B,
  175. FN_MSIOF0_SS1_B, FN_EX_CS1_N, FN_GPS_CLK,
  176. FN_HCTS1_N_B, FN_VI1_FIELD, FN_VI1_FIELD_B,
  177. FN_VI2_R1, FN_EX_CS2_N, FN_GPS_SIGN, FN_HRTS1_N_B,
  178. FN_VI3_CLKENB, FN_VI1_G0, FN_VI1_G0_B, FN_VI2_R2,
  179. /* IPSR5 */
  180. FN_EX_CS3_N, FN_GPS_MAG, FN_VI3_FIELD, FN_VI1_G1, FN_VI1_G1_B,
  181. FN_VI2_R3, FN_EX_CS4_N, FN_MSIOF1_SCK_B, FN_VI3_HSYNC_N,
  182. FN_VI2_HSYNC_N, FN_IIC1_SCL, FN_VI2_HSYNC_N_B,
  183. FN_INTC_EN0_N, FN_I2C1_SCL, FN_EX_CS5_N, FN_CAN0_RX,
  184. FN_MSIOF1_RXD_B, FN_VI3_VSYNC_N, FN_VI1_G2,
  185. FN_VI1_G2_B, FN_VI2_R4, FN_IIC1_SDA, FN_INTC_EN1_N,
  186. FN_I2C1_SDA, FN_BS_N, FN_IETX, FN_HTX1_B,
  187. FN_CAN1_TX, FN_DRACK0, FN_IETX_C, FN_RD_N,
  188. FN_CAN0_TX, FN_SCIFA0_SCK_B, FN_RD_WR_N, FN_VI1_G3,
  189. FN_VI1_G3_B, FN_VI2_R5, FN_SCIFA0_RXD_B,
  190. FN_INTC_IRQ4_N, FN_WE0_N, FN_IECLK, FN_CAN_CLK,
  191. FN_VI2_VSYNC_N, FN_SCIFA0_TXD_B, FN_VI2_VSYNC_N_B,
  192. FN_WE1_N, FN_IERX, FN_CAN1_RX, FN_VI1_G4,
  193. FN_VI1_G4_B, FN_VI2_R6, FN_SCIFA0_CTS_N_B,
  194. FN_IERX_C, FN_EX_WAIT0, FN_IRQ3, FN_INTC_IRQ3_N,
  195. FN_VI3_CLK, FN_SCIFA0_RTS_N_B, FN_HRX0_B,
  196. FN_MSIOF0_SCK_B, FN_DREQ0_N, FN_VI1_HSYNC_N,
  197. FN_VI1_HSYNC_N_B, FN_VI2_R7, FN_SSI_SCK78_C,
  198. FN_SSI_WS78_B,
  199. /* IPSR6 */
  200. FN_DACK0, FN_IRQ0, FN_INTC_IRQ0_N, FN_SSI_SCK6_B,
  201. FN_VI1_VSYNC_N, FN_VI1_VSYNC_N_B, FN_SSI_WS78_C,
  202. FN_DREQ1_N, FN_VI1_CLKENB, FN_VI1_CLKENB_B,
  203. FN_SSI_SDATA7_C, FN_SSI_SCK78_B, FN_DACK1, FN_IRQ1,
  204. FN_INTC_IRQ1_N, FN_SSI_WS6_B, FN_SSI_SDATA8_C,
  205. FN_DREQ2_N, FN_HSCK1_B, FN_HCTS0_N_B,
  206. FN_MSIOF0_TXD_B, FN_DACK2, FN_IRQ2, FN_INTC_IRQ2_N,
  207. FN_SSI_SDATA6_B, FN_HRTS0_N_B, FN_MSIOF0_RXD_B,
  208. FN_ETH_CRS_DV, FN_STP_ISCLK_0_B,
  209. FN_TS_SDEN0_D, FN_GLO_Q0_C, FN_IIC2_SCL_E,
  210. FN_I2C2_SCL_E, FN_ETH_RX_ER,
  211. FN_STP_ISD_0_B, FN_TS_SPSYNC0_D, FN_GLO_Q1_C,
  212. FN_IIC2_SDA_E, FN_I2C2_SDA_E, FN_ETH_RXD0,
  213. FN_STP_ISEN_0_B, FN_TS_SDAT0_D, FN_GLO_I0_C,
  214. FN_SCIFB1_SCK_G, FN_SCK1_E, FN_ETH_RXD1,
  215. FN_HRX0_E, FN_STP_ISSYNC_0_B,
  216. FN_TS_SCK0_D, FN_GLO_I1_C, FN_SCIFB1_RXD_G,
  217. FN_RX1_E, FN_ETH_LINK, FN_HTX0_E,
  218. FN_STP_IVCXO27_0_B, FN_SCIFB1_TXD_G, FN_TX1_E,
  219. FN_ETH_REF_CLK, FN_HCTS0_N_E,
  220. FN_STP_IVCXO27_1_B, FN_HRX0_F,
  221. /* IPSR7 */
  222. FN_ETH_MDIO, FN_HRTS0_N_E,
  223. FN_SIM0_D_C, FN_HCTS0_N_F, FN_ETH_TXD1,
  224. FN_HTX0_F, FN_BPFCLK_G,
  225. FN_ETH_TX_EN, FN_SIM0_CLK_C,
  226. FN_HRTS0_N_F, FN_ETH_MAGIC,
  227. FN_SIM0_RST_C, FN_ETH_TXD0,
  228. FN_STP_ISCLK_1_B, FN_TS_SDEN1_C, FN_GLO_SCLK_C,
  229. FN_ETH_MDC, FN_STP_ISD_1_B,
  230. FN_TS_SPSYNC1_C, FN_GLO_SDATA_C, FN_PWM0,
  231. FN_SCIFA2_SCK_C, FN_STP_ISEN_1_B, FN_TS_SDAT1_C,
  232. FN_GLO_SS_C, FN_PWM1, FN_SCIFA2_TXD_C,
  233. FN_STP_ISSYNC_1_B, FN_TS_SCK1_C, FN_GLO_RFON_C,
  234. FN_PCMOE_N, FN_PWM2, FN_PWMFSW0, FN_SCIFA2_RXD_C,
  235. FN_PCMWE_N, FN_IECLK_C, FN_DU_DOTCLKIN1,
  236. FN_AUDIO_CLKC, FN_AUDIO_CLKOUT_C, FN_VI0_CLK,
  237. FN_ATACS00_N, FN_AVB_RXD1,
  238. FN_VI0_DATA0_VI0_B0, FN_ATACS10_N, FN_AVB_RXD2,
  239. /* IPSR8 */
  240. FN_VI0_DATA1_VI0_B1, FN_ATARD0_N, FN_AVB_RXD3,
  241. FN_VI0_DATA2_VI0_B2, FN_ATAWR0_N,
  242. FN_AVB_RXD4, FN_VI0_DATA3_VI0_B3, FN_ATADIR0_N,
  243. FN_AVB_RXD5, FN_VI0_DATA4_VI0_B4, FN_ATAG0_N,
  244. FN_AVB_RXD6, FN_VI0_DATA5_VI0_B5, FN_EX_WAIT1,
  245. FN_AVB_RXD7, FN_VI0_DATA6_VI0_B6, FN_AVB_RX_ER,
  246. FN_VI0_DATA7_VI0_B7, FN_AVB_RX_CLK,
  247. FN_VI1_CLK, FN_AVB_RX_DV,
  248. FN_VI1_DATA0_VI1_B0, FN_SCIFA1_SCK_D,
  249. FN_AVB_CRS, FN_VI1_DATA1_VI1_B1,
  250. FN_SCIFA1_RXD_D, FN_AVB_MDC,
  251. FN_VI1_DATA2_VI1_B2, FN_SCIFA1_TXD_D, FN_AVB_MDIO,
  252. FN_VI1_DATA3_VI1_B3, FN_SCIFA1_CTS_N_D,
  253. FN_AVB_GTX_CLK, FN_VI1_DATA4_VI1_B4, FN_SCIFA1_RTS_N_D,
  254. FN_AVB_MAGIC, FN_VI1_DATA5_VI1_B5,
  255. FN_AVB_PHY_INT, FN_VI1_DATA6_VI1_B6, FN_AVB_GTXREFCLK,
  256. FN_SD0_CLK, FN_VI1_DATA0_VI1_B0_B, FN_SD0_CMD,
  257. FN_SCIFB1_SCK_B, FN_VI1_DATA1_VI1_B1_B,
  258. /* IPSR9 */
  259. FN_SD0_DAT0, FN_SCIFB1_RXD_B, FN_VI1_DATA2_VI1_B2_B,
  260. FN_SD0_DAT1, FN_SCIFB1_TXD_B, FN_VI1_DATA3_VI1_B3_B,
  261. FN_SD0_DAT2, FN_SCIFB1_CTS_N_B, FN_VI1_DATA4_VI1_B4_B,
  262. FN_SD0_DAT3, FN_SCIFB1_RTS_N_B, FN_VI1_DATA5_VI1_B5_B,
  263. FN_SD0_CD, FN_MMC0_D6, FN_TS_SDEN0_B, FN_USB0_EXTP,
  264. FN_GLO_SCLK, FN_VI1_DATA6_VI1_B6_B, FN_IIC1_SCL_B,
  265. FN_I2C1_SCL_B, FN_VI2_DATA6_VI2_B6_B, FN_SD0_WP,
  266. FN_MMC0_D7, FN_TS_SPSYNC0_B, FN_USB0_IDIN,
  267. FN_GLO_SDATA, FN_VI1_DATA7_VI1_B7_B, FN_IIC1_SDA_B,
  268. FN_I2C1_SDA_B, FN_VI2_DATA7_VI2_B7_B, FN_SD1_CLK,
  269. FN_AVB_TX_EN, FN_SD1_CMD,
  270. FN_AVB_TX_ER, FN_SCIFB0_SCK_B,
  271. FN_SD1_DAT0, FN_AVB_TX_CLK,
  272. FN_SCIFB0_RXD_B, FN_SD1_DAT1, FN_AVB_LINK,
  273. FN_SCIFB0_TXD_B, FN_SD1_DAT2,
  274. FN_AVB_COL, FN_SCIFB0_CTS_N_B,
  275. FN_SD1_DAT3, FN_AVB_RXD0,
  276. FN_SCIFB0_RTS_N_B, FN_SD1_CD, FN_MMC1_D6,
  277. FN_TS_SDEN1, FN_USB1_EXTP, FN_GLO_SS, FN_VI0_CLK_B,
  278. FN_IIC2_SCL_D, FN_I2C2_SCL_D, FN_SIM0_CLK_B,
  279. FN_VI3_CLK_B,
  280. /* IPSR10 */
  281. FN_SD1_WP, FN_MMC1_D7, FN_TS_SPSYNC1, FN_USB1_IDIN,
  282. FN_GLO_RFON, FN_VI1_CLK_B, FN_IIC2_SDA_D, FN_I2C2_SDA_D,
  283. FN_SIM0_D_B, FN_SD2_CLK, FN_MMC0_CLK, FN_SIM0_CLK,
  284. FN_VI0_DATA0_VI0_B0_B, FN_TS_SDEN0_C, FN_GLO_SCLK_B,
  285. FN_VI3_DATA0_B, FN_SD2_CMD, FN_MMC0_CMD, FN_SIM0_D,
  286. FN_VI0_DATA1_VI0_B1_B, FN_SCIFB1_SCK_E, FN_SCK1_D,
  287. FN_TS_SPSYNC0_C, FN_GLO_SDATA_B, FN_VI3_DATA1_B,
  288. FN_SD2_DAT0, FN_MMC0_D0, FN_FMCLK_B,
  289. FN_VI0_DATA2_VI0_B2_B, FN_SCIFB1_RXD_E, FN_RX1_D,
  290. FN_TS_SDAT0_C, FN_GLO_SS_B, FN_VI3_DATA2_B,
  291. FN_SD2_DAT1, FN_MMC0_D1, FN_FMIN_B,
  292. FN_VI0_DATA3_VI0_B3_B, FN_SCIFB1_TXD_E, FN_TX1_D,
  293. FN_TS_SCK0_C, FN_GLO_RFON_B, FN_VI3_DATA3_B,
  294. FN_SD2_DAT2, FN_MMC0_D2, FN_BPFCLK_B,
  295. FN_VI0_DATA4_VI0_B4_B, FN_HRX0_D, FN_TS_SDEN1_B,
  296. FN_GLO_Q0_B, FN_VI3_DATA4_B, FN_SD2_DAT3,
  297. FN_MMC0_D3, FN_SIM0_RST, FN_VI0_DATA5_VI0_B5_B,
  298. FN_HTX0_D, FN_TS_SPSYNC1_B, FN_GLO_Q1_B,
  299. FN_VI3_DATA5_B, FN_SD2_CD, FN_MMC0_D4,
  300. FN_TS_SDAT0_B, FN_USB2_EXTP, FN_GLO_I0,
  301. FN_VI0_DATA6_VI0_B6_B, FN_HCTS0_N_D, FN_TS_SDAT1_B,
  302. FN_GLO_I0_B, FN_VI3_DATA6_B,
  303. /* IPSR11 */
  304. FN_SD2_WP, FN_MMC0_D5, FN_TS_SCK0_B, FN_USB2_IDIN,
  305. FN_GLO_I1, FN_VI0_DATA7_VI0_B7_B, FN_HRTS0_N_D,
  306. FN_TS_SCK1_B, FN_GLO_I1_B, FN_VI3_DATA7_B,
  307. FN_SD3_CLK, FN_MMC1_CLK, FN_SD3_CMD, FN_MMC1_CMD,
  308. FN_MTS_N, FN_SD3_DAT0, FN_MMC1_D0, FN_STM_N,
  309. FN_SD3_DAT1, FN_MMC1_D1, FN_MDATA, FN_SD3_DAT2,
  310. FN_MMC1_D2, FN_SDATA, FN_SD3_DAT3, FN_MMC1_D3,
  311. FN_SCKZ, FN_SD3_CD, FN_MMC1_D4, FN_TS_SDAT1,
  312. FN_VSP, FN_GLO_Q0, FN_SIM0_RST_B, FN_SD3_WP,
  313. FN_MMC1_D5, FN_TS_SCK1, FN_GLO_Q1, FN_FMIN_C,
  314. FN_FMIN_E, FN_FMIN_F,
  315. FN_MLB_CLK, FN_IIC2_SCL_B, FN_I2C2_SCL_B,
  316. FN_MLB_SIG, FN_SCIFB1_RXD_D, FN_RX1_C, FN_IIC2_SDA_B,
  317. FN_I2C2_SDA_B, FN_MLB_DAT,
  318. FN_SCIFB1_TXD_D, FN_TX1_C, FN_BPFCLK_C,
  319. FN_SSI_SCK0129, FN_CAN_CLK_B,
  320. FN_MOUT0,
  321. /* IPSR12 */
  322. FN_SSI_WS0129, FN_CAN0_TX_B, FN_MOUT1,
  323. FN_SSI_SDATA0, FN_CAN0_RX_B, FN_MOUT2,
  324. FN_SSI_SDATA1, FN_CAN1_TX_B, FN_MOUT5,
  325. FN_SSI_SDATA2, FN_CAN1_RX_B, FN_SSI_SCK1, FN_MOUT6,
  326. FN_SSI_SCK34, FN_STP_OPWM_0, FN_SCIFB0_SCK,
  327. FN_MSIOF1_SCK, FN_CAN_DEBUG_HW_TRIGGER, FN_SSI_WS34,
  328. FN_STP_IVCXO27_0, FN_SCIFB0_RXD, FN_MSIOF1_SYNC,
  329. FN_CAN_STEP0, FN_SSI_SDATA3, FN_STP_ISCLK_0,
  330. FN_SCIFB0_TXD, FN_MSIOF1_SS1, FN_CAN_TXCLK,
  331. FN_SSI_SCK4, FN_STP_ISD_0, FN_SCIFB0_CTS_N,
  332. FN_MSIOF1_SS2, FN_SSI_SCK5_C, FN_CAN_DEBUGOUT0,
  333. FN_SSI_WS4, FN_STP_ISEN_0, FN_SCIFB0_RTS_N,
  334. FN_MSIOF1_TXD, FN_SSI_WS5_C, FN_CAN_DEBUGOUT1,
  335. FN_SSI_SDATA4, FN_STP_ISSYNC_0, FN_MSIOF1_RXD,
  336. FN_CAN_DEBUGOUT2, FN_SSI_SCK5, FN_SCIFB1_SCK,
  337. FN_IERX_B, FN_DU2_EXHSYNC_DU2_HSYNC, FN_QSTH_QHS,
  338. FN_CAN_DEBUGOUT3, FN_SSI_WS5, FN_SCIFB1_RXD,
  339. FN_IECLK_B, FN_DU2_EXVSYNC_DU2_VSYNC, FN_QSTB_QHE,
  340. FN_CAN_DEBUGOUT4,
  341. /* IPSR13 */
  342. FN_SSI_SDATA5, FN_SCIFB1_TXD, FN_IETX_B, FN_DU2_DR2,
  343. FN_LCDOUT2, FN_CAN_DEBUGOUT5, FN_SSI_SCK6,
  344. FN_SCIFB1_CTS_N, FN_BPFCLK_D,
  345. FN_DU2_DR3, FN_LCDOUT3, FN_CAN_DEBUGOUT6,
  346. FN_BPFCLK_F, FN_SSI_WS6,
  347. FN_SCIFB1_RTS_N, FN_CAN0_TX_D, FN_DU2_DR4,
  348. FN_LCDOUT4, FN_CAN_DEBUGOUT7, FN_SSI_SDATA6,
  349. FN_FMIN_D, FN_DU2_DR5, FN_LCDOUT5,
  350. FN_CAN_DEBUGOUT8, FN_SSI_SCK78, FN_STP_IVCXO27_1,
  351. FN_SCK1, FN_SCIFA1_SCK, FN_DU2_DR6, FN_LCDOUT6,
  352. FN_CAN_DEBUGOUT9, FN_SSI_WS78, FN_STP_ISCLK_1,
  353. FN_SCIFB2_SCK, FN_SCIFA2_CTS_N, FN_DU2_DR7,
  354. FN_LCDOUT7, FN_CAN_DEBUGOUT10, FN_SSI_SDATA7,
  355. FN_STP_ISD_1, FN_SCIFB2_RXD, FN_SCIFA2_RTS_N,
  356. FN_TCLK2, FN_QSTVA_QVS, FN_CAN_DEBUGOUT11,
  357. FN_BPFCLK_E, FN_SSI_SDATA7_B,
  358. FN_FMIN_G, FN_SSI_SDATA8,
  359. FN_STP_ISEN_1, FN_SCIFB2_TXD, FN_CAN0_TX_C,
  360. FN_CAN_DEBUGOUT12, FN_SSI_SDATA8_B, FN_SSI_SDATA9,
  361. FN_STP_ISSYNC_1, FN_SCIFB2_CTS_N, FN_SSI_WS1,
  362. FN_SSI_SDATA5_C, FN_CAN_DEBUGOUT13, FN_AUDIO_CLKA,
  363. FN_SCIFB2_RTS_N, FN_CAN_DEBUGOUT14,
  364. /* IPSR14 */
  365. FN_AUDIO_CLKB, FN_SCIF_CLK, FN_CAN0_RX_D,
  366. FN_DVC_MUTE, FN_CAN0_RX_C, FN_CAN_DEBUGOUT15,
  367. FN_REMOCON, FN_SCIFA0_SCK, FN_HSCK1, FN_SCK0,
  368. FN_MSIOF3_SS2, FN_DU2_DG2, FN_LCDOUT10, FN_IIC1_SDA_C,
  369. FN_I2C1_SDA_C, FN_SCIFA0_RXD, FN_HRX1, FN_RX0,
  370. FN_DU2_DR0, FN_LCDOUT0, FN_SCIFA0_TXD, FN_HTX1,
  371. FN_TX0, FN_DU2_DR1, FN_LCDOUT1, FN_SCIFA0_CTS_N,
  372. FN_HCTS1_N, FN_CTS0_N, FN_MSIOF3_SYNC, FN_DU2_DG3,
  373. FN_LCDOUT11, FN_PWM0_B, FN_IIC1_SCL_C, FN_I2C1_SCL_C,
  374. FN_SCIFA0_RTS_N, FN_HRTS1_N, FN_RTS0_N,
  375. FN_MSIOF3_SS1, FN_DU2_DG0, FN_LCDOUT8, FN_PWM1_B,
  376. FN_SCIFA1_RXD, FN_AD_DI, FN_RX1,
  377. FN_DU2_EXODDF_DU2_ODDF_DISP_CDE, FN_QCPV_QDE,
  378. FN_SCIFA1_TXD, FN_AD_DO, FN_TX1, FN_DU2_DG1,
  379. FN_LCDOUT9, FN_SCIFA1_CTS_N, FN_AD_CLK,
  380. FN_CTS1_N, FN_MSIOF3_RXD, FN_DU0_DOTCLKOUT, FN_QCLK,
  381. FN_SCIFA1_RTS_N, FN_AD_NCS_N, FN_RTS1_N,
  382. FN_MSIOF3_TXD, FN_DU1_DOTCLKOUT, FN_QSTVB_QVE,
  383. FN_HRTS0_N_C,
  384. /* IPSR15 */
  385. FN_SCIFA2_SCK, FN_FMCLK, FN_SCK2, FN_MSIOF3_SCK, FN_DU2_DG7,
  386. FN_LCDOUT15, FN_SCIF_CLK_B, FN_SCIFA2_RXD, FN_FMIN,
  387. FN_TX2, FN_DU2_DB0, FN_LCDOUT16, FN_IIC2_SCL, FN_I2C2_SCL,
  388. FN_SCIFA2_TXD, FN_BPFCLK, FN_RX2, FN_DU2_DB1, FN_LCDOUT17,
  389. FN_IIC2_SDA, FN_I2C2_SDA, FN_HSCK0, FN_TS_SDEN0,
  390. FN_DU2_DG4, FN_LCDOUT12, FN_HCTS0_N_C, FN_HRX0,
  391. FN_DU2_DB2, FN_LCDOUT18, FN_HTX0, FN_DU2_DB3,
  392. FN_LCDOUT19, FN_HCTS0_N, FN_SSI_SCK9, FN_DU2_DB4,
  393. FN_LCDOUT20, FN_HRTS0_N, FN_SSI_WS9, FN_DU2_DB5,
  394. FN_LCDOUT21, FN_MSIOF0_SCK, FN_TS_SDAT0, FN_ADICLK,
  395. FN_DU2_DB6, FN_LCDOUT22, FN_MSIOF0_SYNC, FN_TS_SCK0,
  396. FN_SSI_SCK2, FN_ADIDATA, FN_DU2_DB7, FN_LCDOUT23,
  397. FN_HRX0_C, FN_MSIOF0_SS1, FN_ADICHS0,
  398. FN_DU2_DG5, FN_LCDOUT13, FN_MSIOF0_TXD, FN_ADICHS1,
  399. FN_DU2_DG6, FN_LCDOUT14,
  400. /* IPSR16 */
  401. FN_MSIOF0_SS2, FN_AUDIO_CLKOUT, FN_ADICHS2,
  402. FN_DU2_DISP, FN_QPOLA, FN_HTX0_C, FN_SCIFA2_TXD_B,
  403. FN_MSIOF0_RXD, FN_TS_SPSYNC0, FN_SSI_WS2,
  404. FN_ADICS_SAMP, FN_DU2_CDE, FN_QPOLB, FN_SCIFA2_RXD_B,
  405. FN_USB1_PWEN, FN_AUDIO_CLKOUT_D, FN_USB1_OVC,
  406. FN_TCLK1_B,
  407. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
  408. FN_SEL_SCIF1_4,
  409. FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2,
  410. FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2,
  411. FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
  412. FN_SEL_SCIFB1_4,
  413. FN_SEL_SCIFB1_5, FN_SEL_SCIFB1_6,
  414. FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, FN_SEL_SCIFA1_3,
  415. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1,
  416. FN_SEL_SCFA_0, FN_SEL_SCFA_1,
  417. FN_SEL_SOF1_0, FN_SEL_SOF1_1,
  418. FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2,
  419. FN_SEL_SSI6_0, FN_SEL_SSI6_1,
  420. FN_SEL_SSI5_0, FN_SEL_SSI5_1, FN_SEL_SSI5_2,
  421. FN_SEL_VI3_0, FN_SEL_VI3_1,
  422. FN_SEL_VI2_0, FN_SEL_VI2_1,
  423. FN_SEL_VI1_0, FN_SEL_VI1_1,
  424. FN_SEL_VI0_0, FN_SEL_VI0_1,
  425. FN_SEL_TSIF1_0, FN_SEL_TSIF1_1, FN_SEL_TSIF1_2,
  426. FN_SEL_LBS_0, FN_SEL_LBS_1,
  427. FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
  428. FN_SEL_SOF3_0, FN_SEL_SOF3_1,
  429. FN_SEL_SOF0_0, FN_SEL_SOF0_1,
  430. FN_SEL_TMU1_0, FN_SEL_TMU1_1,
  431. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
  432. FN_SEL_SCIFCLK_0, FN_SEL_SCIFCLK_1,
  433. FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
  434. FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
  435. FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1, FN_SEL_SCIFA2_2,
  436. FN_SEL_CAN1_0, FN_SEL_CAN1_1,
  437. FN_SEL_SCIF2_0, FN_SEL_SCIF2_1,
  438. FN_SEL_ADI_0, FN_SEL_ADI_1,
  439. FN_SEL_SSP_0, FN_SEL_SSP_1,
  440. FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3,
  441. FN_SEL_FM_4, FN_SEL_FM_5, FN_SEL_FM_6,
  442. FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2, FN_SEL_HSCIF0_3,
  443. FN_SEL_HSCIF0_4, FN_SEL_HSCIF0_5,
  444. FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2,
  445. FN_SEL_SIM_0, FN_SEL_SIM_1, FN_SEL_SIM_2,
  446. FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2,
  447. FN_SEL_IICDVFS_0, FN_SEL_IICDVFS_1,
  448. FN_SEL_IIC0_0, FN_SEL_IIC0_1,
  449. FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2,
  450. FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
  451. FN_SEL_IIC2_4,
  452. FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2,
  453. FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
  454. FN_SEL_I2C2_4,
  455. FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2,
  456. PINMUX_FUNCTION_END,
  457. PINMUX_MARK_BEGIN,
  458. VI1_DATA7_VI1_B7_MARK,
  459. USB0_PWEN_MARK, USB0_OVC_VBUS_MARK,
  460. USB2_PWEN_MARK, USB2_OVC_MARK, AVS1_MARK, AVS2_MARK,
  461. DU_DOTCLKIN0_MARK, DU_DOTCLKIN2_MARK,
  462. D0_MARK, MSIOF3_SCK_B_MARK, VI3_DATA0_MARK, VI0_G4_MARK, VI0_G4_B_MARK,
  463. D1_MARK, MSIOF3_SYNC_B_MARK, VI3_DATA1_MARK, VI0_G5_MARK,
  464. VI0_G5_B_MARK, D2_MARK, MSIOF3_RXD_B_MARK, VI3_DATA2_MARK,
  465. VI0_G6_MARK, VI0_G6_B_MARK, D3_MARK, MSIOF3_TXD_B_MARK,
  466. VI3_DATA3_MARK, VI0_G7_MARK, VI0_G7_B_MARK, D4_MARK,
  467. SCIFB1_RXD_F_MARK, SCIFB0_RXD_C_MARK, VI3_DATA4_MARK,
  468. VI0_R0_MARK, VI0_R0_B_MARK, RX0_B_MARK, D5_MARK,
  469. SCIFB1_TXD_F_MARK, SCIFB0_TXD_C_MARK, VI3_DATA5_MARK,
  470. VI0_R1_MARK, VI0_R1_B_MARK, TX0_B_MARK, D6_MARK,
  471. IIC2_SCL_C_MARK, VI3_DATA6_MARK, VI0_R2_MARK, VI0_R2_B_MARK,
  472. I2C2_SCL_C_MARK, D7_MARK, AD_DI_B_MARK, IIC2_SDA_C_MARK,
  473. VI3_DATA7_MARK, VI0_R3_MARK, VI0_R3_B_MARK, I2C2_SDA_C_MARK, TCLK1_MARK,
  474. D8_MARK, SCIFA1_SCK_C_MARK, AVB_TXD0_MARK,
  475. VI0_G0_MARK, VI0_G0_B_MARK, VI2_DATA0_VI2_B0_MARK,
  476. D9_MARK, SCIFA1_RXD_C_MARK, AVB_TXD1_MARK,
  477. VI0_G1_MARK, VI0_G1_B_MARK, VI2_DATA1_VI2_B1_MARK, D10_MARK,
  478. SCIFA1_TXD_C_MARK, AVB_TXD2_MARK,
  479. VI0_G2_MARK, VI0_G2_B_MARK, VI2_DATA2_VI2_B2_MARK, D11_MARK,
  480. SCIFA1_CTS_N_C_MARK, AVB_TXD3_MARK,
  481. VI0_G3_MARK, VI0_G3_B_MARK, VI2_DATA3_VI2_B3_MARK,
  482. D12_MARK, SCIFA1_RTS_N_C_MARK, AVB_TXD4_MARK,
  483. VI0_HSYNC_N_MARK, VI0_HSYNC_N_B_MARK, VI2_DATA4_VI2_B4_MARK,
  484. D13_MARK, AVB_TXD5_MARK, VI0_VSYNC_N_MARK,
  485. VI0_VSYNC_N_B_MARK, VI2_DATA5_VI2_B5_MARK, D14_MARK,
  486. SCIFB1_RXD_C_MARK, AVB_TXD6_MARK, RX1_B_MARK,
  487. VI0_CLKENB_MARK, VI0_CLKENB_B_MARK, VI2_DATA6_VI2_B6_MARK,
  488. D15_MARK, SCIFB1_TXD_C_MARK, AVB_TXD7_MARK, TX1_B_MARK,
  489. VI0_FIELD_MARK, VI0_FIELD_B_MARK, VI2_DATA7_VI2_B7_MARK,
  490. A0_MARK, PWM3_MARK, A1_MARK, PWM4_MARK,
  491. A2_MARK, PWM5_MARK, MSIOF1_SS1_B_MARK, A3_MARK,
  492. PWM6_MARK, MSIOF1_SS2_B_MARK, A4_MARK, MSIOF1_TXD_B_MARK,
  493. TPU0TO0_MARK, A5_MARK, SCIFA1_TXD_B_MARK, TPU0TO1_MARK,
  494. A6_MARK, SCIFA1_RTS_N_B_MARK, TPU0TO2_MARK, A7_MARK,
  495. SCIFA1_SCK_B_MARK, AUDIO_CLKOUT_B_MARK, TPU0TO3_MARK,
  496. A8_MARK, SCIFA1_RXD_B_MARK, SSI_SCK5_B_MARK, VI0_R4_MARK,
  497. VI0_R4_B_MARK, SCIFB2_RXD_C_MARK, RX2_B_MARK, VI2_DATA0_VI2_B0_B_MARK,
  498. A9_MARK, SCIFA1_CTS_N_B_MARK, SSI_WS5_B_MARK, VI0_R5_MARK,
  499. VI0_R5_B_MARK, SCIFB2_TXD_C_MARK, TX2_B_MARK, VI2_DATA1_VI2_B1_B_MARK,
  500. A10_MARK, SSI_SDATA5_B_MARK, MSIOF2_SYNC_MARK, VI0_R6_MARK,
  501. VI0_R6_B_MARK, VI2_DATA2_VI2_B2_B_MARK,
  502. A11_MARK, SCIFB2_CTS_N_B_MARK, MSIOF2_SCK_MARK, VI1_R0_MARK,
  503. VI1_R0_B_MARK, VI2_G0_MARK, VI2_DATA3_VI2_B3_B_MARK,
  504. A12_MARK, SCIFB2_RXD_B_MARK, MSIOF2_TXD_MARK, VI1_R1_MARK,
  505. VI1_R1_B_MARK, VI2_G1_MARK, VI2_DATA4_VI2_B4_B_MARK,
  506. A13_MARK, SCIFB2_RTS_N_B_MARK, EX_WAIT2_MARK,
  507. MSIOF2_RXD_MARK, VI1_R2_MARK, VI1_R2_B_MARK, VI2_G2_MARK,
  508. VI2_DATA5_VI2_B5_B_MARK, A14_MARK, SCIFB2_TXD_B_MARK,
  509. ATACS11_N_MARK, MSIOF2_SS1_MARK, A15_MARK, SCIFB2_SCK_B_MARK,
  510. ATARD1_N_MARK, MSIOF2_SS2_MARK, A16_MARK, ATAWR1_N_MARK,
  511. A17_MARK, AD_DO_B_MARK, ATADIR1_N_MARK, A18_MARK,
  512. AD_CLK_B_MARK, ATAG1_N_MARK, A19_MARK, AD_NCS_N_B_MARK,
  513. ATACS01_N_MARK, EX_WAIT0_B_MARK, A20_MARK, SPCLK_MARK,
  514. VI1_R3_MARK, VI1_R3_B_MARK, VI2_G4_MARK,
  515. A21_MARK, MOSI_IO0_MARK, VI1_R4_MARK, VI1_R4_B_MARK, VI2_G5_MARK,
  516. A22_MARK, MISO_IO1_MARK, VI1_R5_MARK, VI1_R5_B_MARK,
  517. VI2_G6_MARK, A23_MARK, IO2_MARK, VI1_G7_MARK,
  518. VI1_G7_B_MARK, VI2_G7_MARK, A24_MARK, IO3_MARK,
  519. VI1_R7_MARK, VI1_R7_B_MARK, VI2_CLKENB_MARK,
  520. VI2_CLKENB_B_MARK, A25_MARK, SSL_MARK, VI1_G6_MARK,
  521. VI1_G6_B_MARK, VI2_FIELD_MARK, VI2_FIELD_B_MARK, CS0_N_MARK,
  522. VI1_R6_MARK, VI1_R6_B_MARK, VI2_G3_MARK, MSIOF0_SS2_B_MARK,
  523. CS1_N_A26_MARK, SPEEDIN_MARK, VI0_R7_MARK, VI0_R7_B_MARK,
  524. VI2_CLK_MARK, VI2_CLK_B_MARK, EX_CS0_N_MARK, HRX1_B_MARK,
  525. VI1_G5_MARK, VI1_G5_B_MARK, VI2_R0_MARK, HTX0_B_MARK,
  526. MSIOF0_SS1_B_MARK, EX_CS1_N_MARK, GPS_CLK_MARK,
  527. HCTS1_N_B_MARK, VI1_FIELD_MARK, VI1_FIELD_B_MARK,
  528. VI2_R1_MARK, EX_CS2_N_MARK, GPS_SIGN_MARK, HRTS1_N_B_MARK,
  529. VI3_CLKENB_MARK, VI1_G0_MARK, VI1_G0_B_MARK, VI2_R2_MARK,
  530. EX_CS3_N_MARK, GPS_MAG_MARK, VI3_FIELD_MARK,
  531. VI1_G1_MARK, VI1_G1_B_MARK, VI2_R3_MARK,
  532. EX_CS4_N_MARK, MSIOF1_SCK_B_MARK, VI3_HSYNC_N_MARK,
  533. VI2_HSYNC_N_MARK, IIC1_SCL_MARK, VI2_HSYNC_N_B_MARK,
  534. INTC_EN0_N_MARK, I2C1_SCL_MARK, EX_CS5_N_MARK, CAN0_RX_MARK,
  535. MSIOF1_RXD_B_MARK, VI3_VSYNC_N_MARK, VI1_G2_MARK,
  536. VI1_G2_B_MARK, VI2_R4_MARK, IIC1_SDA_MARK, INTC_EN1_N_MARK,
  537. I2C1_SDA_MARK, BS_N_MARK, IETX_MARK, HTX1_B_MARK,
  538. CAN1_TX_MARK, DRACK0_MARK, IETX_C_MARK, RD_N_MARK,
  539. CAN0_TX_MARK, SCIFA0_SCK_B_MARK, RD_WR_N_MARK, VI1_G3_MARK,
  540. VI1_G3_B_MARK, VI2_R5_MARK, SCIFA0_RXD_B_MARK,
  541. INTC_IRQ4_N_MARK, WE0_N_MARK, IECLK_MARK, CAN_CLK_MARK,
  542. VI2_VSYNC_N_MARK, SCIFA0_TXD_B_MARK, VI2_VSYNC_N_B_MARK,
  543. WE1_N_MARK, IERX_MARK, CAN1_RX_MARK, VI1_G4_MARK,
  544. VI1_G4_B_MARK, VI2_R6_MARK, SCIFA0_CTS_N_B_MARK,
  545. IERX_C_MARK, EX_WAIT0_MARK, IRQ3_MARK, INTC_IRQ3_N_MARK,
  546. VI3_CLK_MARK, SCIFA0_RTS_N_B_MARK, HRX0_B_MARK,
  547. MSIOF0_SCK_B_MARK, DREQ0_N_MARK, VI1_HSYNC_N_MARK,
  548. VI1_HSYNC_N_B_MARK, VI2_R7_MARK, SSI_SCK78_C_MARK,
  549. SSI_WS78_B_MARK,
  550. DACK0_MARK, IRQ0_MARK, INTC_IRQ0_N_MARK, SSI_SCK6_B_MARK,
  551. VI1_VSYNC_N_MARK, VI1_VSYNC_N_B_MARK, SSI_WS78_C_MARK,
  552. DREQ1_N_MARK, VI1_CLKENB_MARK, VI1_CLKENB_B_MARK,
  553. SSI_SDATA7_C_MARK, SSI_SCK78_B_MARK, DACK1_MARK, IRQ1_MARK,
  554. INTC_IRQ1_N_MARK, SSI_WS6_B_MARK, SSI_SDATA8_C_MARK,
  555. DREQ2_N_MARK, HSCK1_B_MARK, HCTS0_N_B_MARK,
  556. MSIOF0_TXD_B_MARK, DACK2_MARK, IRQ2_MARK, INTC_IRQ2_N_MARK,
  557. SSI_SDATA6_B_MARK, HRTS0_N_B_MARK, MSIOF0_RXD_B_MARK,
  558. ETH_CRS_DV_MARK, STP_ISCLK_0_B_MARK,
  559. TS_SDEN0_D_MARK, GLO_Q0_C_MARK, IIC2_SCL_E_MARK,
  560. I2C2_SCL_E_MARK, ETH_RX_ER_MARK,
  561. STP_ISD_0_B_MARK, TS_SPSYNC0_D_MARK, GLO_Q1_C_MARK,
  562. IIC2_SDA_E_MARK, I2C2_SDA_E_MARK, ETH_RXD0_MARK,
  563. STP_ISEN_0_B_MARK, TS_SDAT0_D_MARK, GLO_I0_C_MARK,
  564. SCIFB1_SCK_G_MARK, SCK1_E_MARK, ETH_RXD1_MARK,
  565. HRX0_E_MARK, STP_ISSYNC_0_B_MARK,
  566. TS_SCK0_D_MARK, GLO_I1_C_MARK, SCIFB1_RXD_G_MARK,
  567. RX1_E_MARK, ETH_LINK_MARK, HTX0_E_MARK,
  568. STP_IVCXO27_0_B_MARK, SCIFB1_TXD_G_MARK, TX1_E_MARK,
  569. ETH_REF_CLK_MARK, HCTS0_N_E_MARK,
  570. STP_IVCXO27_1_B_MARK, HRX0_F_MARK,
  571. ETH_MDIO_MARK, HRTS0_N_E_MARK,
  572. SIM0_D_C_MARK, HCTS0_N_F_MARK, ETH_TXD1_MARK,
  573. HTX0_F_MARK, BPFCLK_G_MARK,
  574. ETH_TX_EN_MARK, SIM0_CLK_C_MARK,
  575. HRTS0_N_F_MARK, ETH_MAGIC_MARK,
  576. SIM0_RST_C_MARK, ETH_TXD0_MARK,
  577. STP_ISCLK_1_B_MARK, TS_SDEN1_C_MARK, GLO_SCLK_C_MARK,
  578. ETH_MDC_MARK, STP_ISD_1_B_MARK,
  579. TS_SPSYNC1_C_MARK, GLO_SDATA_C_MARK, PWM0_MARK,
  580. SCIFA2_SCK_C_MARK, STP_ISEN_1_B_MARK, TS_SDAT1_C_MARK,
  581. GLO_SS_C_MARK, PWM1_MARK, SCIFA2_TXD_C_MARK,
  582. STP_ISSYNC_1_B_MARK, TS_SCK1_C_MARK, GLO_RFON_C_MARK,
  583. PCMOE_N_MARK, PWM2_MARK, PWMFSW0_MARK, SCIFA2_RXD_C_MARK,
  584. PCMWE_N_MARK, IECLK_C_MARK, DU_DOTCLKIN1_MARK,
  585. AUDIO_CLKC_MARK, AUDIO_CLKOUT_C_MARK, VI0_CLK_MARK,
  586. ATACS00_N_MARK, AVB_RXD1_MARK,
  587. VI0_DATA0_VI0_B0_MARK, ATACS10_N_MARK, AVB_RXD2_MARK,
  588. VI0_DATA1_VI0_B1_MARK, ATARD0_N_MARK, AVB_RXD3_MARK,
  589. VI0_DATA2_VI0_B2_MARK, ATAWR0_N_MARK,
  590. AVB_RXD4_MARK, VI0_DATA3_VI0_B3_MARK, ATADIR0_N_MARK,
  591. AVB_RXD5_MARK, VI0_DATA4_VI0_B4_MARK, ATAG0_N_MARK,
  592. AVB_RXD6_MARK, VI0_DATA5_VI0_B5_MARK, EX_WAIT1_MARK,
  593. AVB_RXD7_MARK, VI0_DATA6_VI0_B6_MARK, AVB_RX_ER_MARK,
  594. VI0_DATA7_VI0_B7_MARK, AVB_RX_CLK_MARK,
  595. VI1_CLK_MARK, AVB_RX_DV_MARK,
  596. VI1_DATA0_VI1_B0_MARK, SCIFA1_SCK_D_MARK,
  597. AVB_CRS_MARK, VI1_DATA1_VI1_B1_MARK,
  598. SCIFA1_RXD_D_MARK, AVB_MDC_MARK,
  599. VI1_DATA2_VI1_B2_MARK, SCIFA1_TXD_D_MARK, AVB_MDIO_MARK,
  600. VI1_DATA3_VI1_B3_MARK, SCIFA1_CTS_N_D_MARK,
  601. AVB_GTX_CLK_MARK, VI1_DATA4_VI1_B4_MARK, SCIFA1_RTS_N_D_MARK,
  602. AVB_MAGIC_MARK, VI1_DATA5_VI1_B5_MARK,
  603. AVB_PHY_INT_MARK, VI1_DATA6_VI1_B6_MARK, AVB_GTXREFCLK_MARK,
  604. SD0_CLK_MARK, VI1_DATA0_VI1_B0_B_MARK, SD0_CMD_MARK,
  605. SCIFB1_SCK_B_MARK, VI1_DATA1_VI1_B1_B_MARK,
  606. SD0_DAT0_MARK, SCIFB1_RXD_B_MARK, VI1_DATA2_VI1_B2_B_MARK,
  607. SD0_DAT1_MARK, SCIFB1_TXD_B_MARK, VI1_DATA3_VI1_B3_B_MARK,
  608. SD0_DAT2_MARK, SCIFB1_CTS_N_B_MARK, VI1_DATA4_VI1_B4_B_MARK,
  609. SD0_DAT3_MARK, SCIFB1_RTS_N_B_MARK, VI1_DATA5_VI1_B5_B_MARK,
  610. SD0_CD_MARK, MMC0_D6_MARK, TS_SDEN0_B_MARK, USB0_EXTP_MARK,
  611. GLO_SCLK_MARK, VI1_DATA6_VI1_B6_B_MARK, IIC1_SCL_B_MARK,
  612. I2C1_SCL_B_MARK, VI2_DATA6_VI2_B6_B_MARK, SD0_WP_MARK,
  613. MMC0_D7_MARK, TS_SPSYNC0_B_MARK, USB0_IDIN_MARK,
  614. GLO_SDATA_MARK, VI1_DATA7_VI1_B7_B_MARK, IIC1_SDA_B_MARK,
  615. I2C1_SDA_B_MARK, VI2_DATA7_VI2_B7_B_MARK, SD1_CLK_MARK,
  616. AVB_TX_EN_MARK, SD1_CMD_MARK,
  617. AVB_TX_ER_MARK, SCIFB0_SCK_B_MARK,
  618. SD1_DAT0_MARK, AVB_TX_CLK_MARK,
  619. SCIFB0_RXD_B_MARK, SD1_DAT1_MARK, AVB_LINK_MARK,
  620. SCIFB0_TXD_B_MARK, SD1_DAT2_MARK,
  621. AVB_COL_MARK, SCIFB0_CTS_N_B_MARK,
  622. SD1_DAT3_MARK, AVB_RXD0_MARK,
  623. SCIFB0_RTS_N_B_MARK, SD1_CD_MARK, MMC1_D6_MARK,
  624. TS_SDEN1_MARK, USB1_EXTP_MARK, GLO_SS_MARK, VI0_CLK_B_MARK,
  625. IIC2_SCL_D_MARK, I2C2_SCL_D_MARK, SIM0_CLK_B_MARK,
  626. VI3_CLK_B_MARK,
  627. SD1_WP_MARK, MMC1_D7_MARK, TS_SPSYNC1_MARK, USB1_IDIN_MARK,
  628. GLO_RFON_MARK, VI1_CLK_B_MARK, IIC2_SDA_D_MARK, I2C2_SDA_D_MARK,
  629. SIM0_D_B_MARK, SD2_CLK_MARK, MMC0_CLK_MARK, SIM0_CLK_MARK,
  630. VI0_DATA0_VI0_B0_B_MARK, TS_SDEN0_C_MARK, GLO_SCLK_B_MARK,
  631. VI3_DATA0_B_MARK, SD2_CMD_MARK, MMC0_CMD_MARK, SIM0_D_MARK,
  632. VI0_DATA1_VI0_B1_B_MARK, SCIFB1_SCK_E_MARK, SCK1_D_MARK,
  633. TS_SPSYNC0_C_MARK, GLO_SDATA_B_MARK, VI3_DATA1_B_MARK,
  634. SD2_DAT0_MARK, MMC0_D0_MARK, FMCLK_B_MARK,
  635. VI0_DATA2_VI0_B2_B_MARK, SCIFB1_RXD_E_MARK, RX1_D_MARK,
  636. TS_SDAT0_C_MARK, GLO_SS_B_MARK, VI3_DATA2_B_MARK,
  637. SD2_DAT1_MARK, MMC0_D1_MARK, FMIN_B_MARK,
  638. VI0_DATA3_VI0_B3_B_MARK, SCIFB1_TXD_E_MARK, TX1_D_MARK,
  639. TS_SCK0_C_MARK, GLO_RFON_B_MARK, VI3_DATA3_B_MARK,
  640. SD2_DAT2_MARK, MMC0_D2_MARK, BPFCLK_B_MARK,
  641. VI0_DATA4_VI0_B4_B_MARK, HRX0_D_MARK, TS_SDEN1_B_MARK,
  642. GLO_Q0_B_MARK, VI3_DATA4_B_MARK, SD2_DAT3_MARK,
  643. MMC0_D3_MARK, SIM0_RST_MARK, VI0_DATA5_VI0_B5_B_MARK,
  644. HTX0_D_MARK, TS_SPSYNC1_B_MARK, GLO_Q1_B_MARK,
  645. VI3_DATA5_B_MARK, SD2_CD_MARK, MMC0_D4_MARK,
  646. TS_SDAT0_B_MARK, USB2_EXTP_MARK, GLO_I0_MARK,
  647. VI0_DATA6_VI0_B6_B_MARK, HCTS0_N_D_MARK, TS_SDAT1_B_MARK,
  648. GLO_I0_B_MARK, VI3_DATA6_B_MARK,
  649. SD2_WP_MARK, MMC0_D5_MARK, TS_SCK0_B_MARK, USB2_IDIN_MARK,
  650. GLO_I1_MARK, VI0_DATA7_VI0_B7_B_MARK, HRTS0_N_D_MARK,
  651. TS_SCK1_B_MARK, GLO_I1_B_MARK, VI3_DATA7_B_MARK,
  652. SD3_CLK_MARK, MMC1_CLK_MARK, SD3_CMD_MARK, MMC1_CMD_MARK,
  653. MTS_N_MARK, SD3_DAT0_MARK, MMC1_D0_MARK, STM_N_MARK,
  654. SD3_DAT1_MARK, MMC1_D1_MARK, MDATA_MARK, SD3_DAT2_MARK,
  655. MMC1_D2_MARK, SDATA_MARK, SD3_DAT3_MARK, MMC1_D3_MARK,
  656. SCKZ_MARK, SD3_CD_MARK, MMC1_D4_MARK, TS_SDAT1_MARK,
  657. VSP_MARK, GLO_Q0_MARK, SIM0_RST_B_MARK, SD3_WP_MARK,
  658. MMC1_D5_MARK, TS_SCK1_MARK, GLO_Q1_MARK, FMIN_C_MARK,
  659. FMIN_E_MARK, FMIN_F_MARK,
  660. MLB_CLK_MARK, IIC2_SCL_B_MARK, I2C2_SCL_B_MARK,
  661. MLB_SIG_MARK, SCIFB1_RXD_D_MARK, RX1_C_MARK, IIC2_SDA_B_MARK,
  662. I2C2_SDA_B_MARK, MLB_DAT_MARK,
  663. SCIFB1_TXD_D_MARK, TX1_C_MARK, BPFCLK_C_MARK,
  664. SSI_SCK0129_MARK, CAN_CLK_B_MARK,
  665. MOUT0_MARK,
  666. SSI_WS0129_MARK, CAN0_TX_B_MARK, MOUT1_MARK,
  667. SSI_SDATA0_MARK, CAN0_RX_B_MARK, MOUT2_MARK,
  668. SSI_SDATA1_MARK, CAN1_TX_B_MARK, MOUT5_MARK,
  669. SSI_SDATA2_MARK, CAN1_RX_B_MARK, SSI_SCK1_MARK, MOUT6_MARK,
  670. SSI_SCK34_MARK, STP_OPWM_0_MARK, SCIFB0_SCK_MARK,
  671. MSIOF1_SCK_MARK, CAN_DEBUG_HW_TRIGGER_MARK, SSI_WS34_MARK,
  672. STP_IVCXO27_0_MARK, SCIFB0_RXD_MARK, MSIOF1_SYNC_MARK,
  673. CAN_STEP0_MARK, SSI_SDATA3_MARK, STP_ISCLK_0_MARK,
  674. SCIFB0_TXD_MARK, MSIOF1_SS1_MARK, CAN_TXCLK_MARK,
  675. SSI_SCK4_MARK, STP_ISD_0_MARK, SCIFB0_CTS_N_MARK,
  676. MSIOF1_SS2_MARK, SSI_SCK5_C_MARK, CAN_DEBUGOUT0_MARK,
  677. SSI_WS4_MARK, STP_ISEN_0_MARK, SCIFB0_RTS_N_MARK,
  678. MSIOF1_TXD_MARK, SSI_WS5_C_MARK, CAN_DEBUGOUT1_MARK,
  679. SSI_SDATA4_MARK, STP_ISSYNC_0_MARK, MSIOF1_RXD_MARK,
  680. CAN_DEBUGOUT2_MARK, SSI_SCK5_MARK, SCIFB1_SCK_MARK,
  681. IERX_B_MARK, DU2_EXHSYNC_DU2_HSYNC_MARK, QSTH_QHS_MARK,
  682. CAN_DEBUGOUT3_MARK, SSI_WS5_MARK, SCIFB1_RXD_MARK,
  683. IECLK_B_MARK, DU2_EXVSYNC_DU2_VSYNC_MARK, QSTB_QHE_MARK,
  684. CAN_DEBUGOUT4_MARK,
  685. SSI_SDATA5_MARK, SCIFB1_TXD_MARK, IETX_B_MARK, DU2_DR2_MARK,
  686. LCDOUT2_MARK, CAN_DEBUGOUT5_MARK, SSI_SCK6_MARK,
  687. SCIFB1_CTS_N_MARK, BPFCLK_D_MARK,
  688. DU2_DR3_MARK, LCDOUT3_MARK, CAN_DEBUGOUT6_MARK,
  689. BPFCLK_F_MARK, SSI_WS6_MARK,
  690. SCIFB1_RTS_N_MARK, CAN0_TX_D_MARK, DU2_DR4_MARK,
  691. LCDOUT4_MARK, CAN_DEBUGOUT7_MARK, SSI_SDATA6_MARK,
  692. FMIN_D_MARK, DU2_DR5_MARK, LCDOUT5_MARK,
  693. CAN_DEBUGOUT8_MARK, SSI_SCK78_MARK, STP_IVCXO27_1_MARK,
  694. SCK1_MARK, SCIFA1_SCK_MARK, DU2_DR6_MARK, LCDOUT6_MARK,
  695. CAN_DEBUGOUT9_MARK, SSI_WS78_MARK, STP_ISCLK_1_MARK,
  696. SCIFB2_SCK_MARK, SCIFA2_CTS_N_MARK, DU2_DR7_MARK,
  697. LCDOUT7_MARK, CAN_DEBUGOUT10_MARK, SSI_SDATA7_MARK,
  698. STP_ISD_1_MARK, SCIFB2_RXD_MARK, SCIFA2_RTS_N_MARK,
  699. TCLK2_MARK, QSTVA_QVS_MARK, CAN_DEBUGOUT11_MARK,
  700. BPFCLK_E_MARK, SSI_SDATA7_B_MARK,
  701. FMIN_G_MARK, SSI_SDATA8_MARK,
  702. STP_ISEN_1_MARK, SCIFB2_TXD_MARK, CAN0_TX_C_MARK,
  703. CAN_DEBUGOUT12_MARK, SSI_SDATA8_B_MARK, SSI_SDATA9_MARK,
  704. STP_ISSYNC_1_MARK, SCIFB2_CTS_N_MARK, SSI_WS1_MARK,
  705. SSI_SDATA5_C_MARK, CAN_DEBUGOUT13_MARK, AUDIO_CLKA_MARK,
  706. SCIFB2_RTS_N_MARK, CAN_DEBUGOUT14_MARK,
  707. AUDIO_CLKB_MARK, SCIF_CLK_MARK, CAN0_RX_D_MARK,
  708. DVC_MUTE_MARK, CAN0_RX_C_MARK, CAN_DEBUGOUT15_MARK,
  709. REMOCON_MARK, SCIFA0_SCK_MARK, HSCK1_MARK, SCK0_MARK,
  710. MSIOF3_SS2_MARK, DU2_DG2_MARK, LCDOUT10_MARK, IIC1_SDA_C_MARK,
  711. I2C1_SDA_C_MARK, SCIFA0_RXD_MARK, HRX1_MARK, RX0_MARK,
  712. DU2_DR0_MARK, LCDOUT0_MARK, SCIFA0_TXD_MARK, HTX1_MARK,
  713. TX0_MARK, DU2_DR1_MARK, LCDOUT1_MARK, SCIFA0_CTS_N_MARK,
  714. HCTS1_N_MARK, CTS0_N_MARK, MSIOF3_SYNC_MARK, DU2_DG3_MARK,
  715. LCDOUT11_MARK, PWM0_B_MARK, IIC1_SCL_C_MARK, I2C1_SCL_C_MARK,
  716. SCIFA0_RTS_N_MARK, HRTS1_N_MARK, RTS0_N_MARK,
  717. MSIOF3_SS1_MARK, DU2_DG0_MARK, LCDOUT8_MARK, PWM1_B_MARK,
  718. SCIFA1_RXD_MARK, AD_DI_MARK, RX1_MARK,
  719. DU2_EXODDF_DU2_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK,
  720. SCIFA1_TXD_MARK, AD_DO_MARK, TX1_MARK, DU2_DG1_MARK,
  721. LCDOUT9_MARK, SCIFA1_CTS_N_MARK, AD_CLK_MARK,
  722. CTS1_N_MARK, MSIOF3_RXD_MARK, DU0_DOTCLKOUT_MARK, QCLK_MARK,
  723. SCIFA1_RTS_N_MARK, AD_NCS_N_MARK, RTS1_N_MARK,
  724. MSIOF3_TXD_MARK, DU1_DOTCLKOUT_MARK, QSTVB_QVE_MARK,
  725. HRTS0_N_C_MARK,
  726. SCIFA2_SCK_MARK, FMCLK_MARK, SCK2_MARK, MSIOF3_SCK_MARK, DU2_DG7_MARK,
  727. LCDOUT15_MARK, SCIF_CLK_B_MARK, SCIFA2_RXD_MARK, FMIN_MARK,
  728. TX2_MARK, DU2_DB0_MARK, LCDOUT16_MARK, IIC2_SCL_MARK, I2C2_SCL_MARK,
  729. SCIFA2_TXD_MARK, BPFCLK_MARK, RX2_MARK, DU2_DB1_MARK, LCDOUT17_MARK,
  730. IIC2_SDA_MARK, I2C2_SDA_MARK, HSCK0_MARK, TS_SDEN0_MARK,
  731. DU2_DG4_MARK, LCDOUT12_MARK, HCTS0_N_C_MARK, HRX0_MARK,
  732. DU2_DB2_MARK, LCDOUT18_MARK, HTX0_MARK, DU2_DB3_MARK,
  733. LCDOUT19_MARK, HCTS0_N_MARK, SSI_SCK9_MARK, DU2_DB4_MARK,
  734. LCDOUT20_MARK, HRTS0_N_MARK, SSI_WS9_MARK, DU2_DB5_MARK,
  735. LCDOUT21_MARK, MSIOF0_SCK_MARK, TS_SDAT0_MARK, ADICLK_MARK,
  736. DU2_DB6_MARK, LCDOUT22_MARK, MSIOF0_SYNC_MARK, TS_SCK0_MARK,
  737. SSI_SCK2_MARK, ADIDATA_MARK, DU2_DB7_MARK, LCDOUT23_MARK,
  738. HRX0_C_MARK, MSIOF0_SS1_MARK, ADICHS0_MARK,
  739. DU2_DG5_MARK, LCDOUT13_MARK, MSIOF0_TXD_MARK, ADICHS1_MARK,
  740. DU2_DG6_MARK, LCDOUT14_MARK,
  741. MSIOF0_SS2_MARK, AUDIO_CLKOUT_MARK, ADICHS2_MARK,
  742. DU2_DISP_MARK, QPOLA_MARK, HTX0_C_MARK, SCIFA2_TXD_B_MARK,
  743. MSIOF0_RXD_MARK, TS_SPSYNC0_MARK, SSI_WS2_MARK,
  744. ADICS_SAMP_MARK, DU2_CDE_MARK, QPOLB_MARK, SCIFA2_RXD_B_MARK,
  745. USB1_PWEN_MARK, AUDIO_CLKOUT_D_MARK, USB1_OVC_MARK,
  746. TCLK1_B_MARK,
  747. IIC0_SCL_MARK, IIC0_SDA_MARK, I2C0_SCL_MARK, I2C0_SDA_MARK,
  748. IIC3_SCL_MARK, IIC3_SDA_MARK, I2C3_SCL_MARK, I2C3_SDA_MARK,
  749. PINMUX_MARK_END,
  750. };
  751. static const u16 pinmux_data[] = {
  752. PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
  753. PINMUX_DATA(VI1_DATA7_VI1_B7_MARK, FN_VI1_DATA7_VI1_B7),
  754. PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN),
  755. PINMUX_DATA(USB0_OVC_VBUS_MARK, FN_USB0_OVC_VBUS),
  756. PINMUX_DATA(USB2_PWEN_MARK, FN_USB2_PWEN),
  757. PINMUX_DATA(USB2_OVC_MARK, FN_USB2_OVC),
  758. PINMUX_DATA(AVS1_MARK, FN_AVS1),
  759. PINMUX_DATA(AVS2_MARK, FN_AVS2),
  760. PINMUX_DATA(DU_DOTCLKIN0_MARK, FN_DU_DOTCLKIN0),
  761. PINMUX_DATA(DU_DOTCLKIN2_MARK, FN_DU_DOTCLKIN2),
  762. PINMUX_IPSR_DATA(IP0_2_0, D0),
  763. PINMUX_IPSR_MSEL(IP0_2_0, MSIOF3_SCK_B, SEL_SOF3_1),
  764. PINMUX_IPSR_MSEL(IP0_2_0, VI3_DATA0, SEL_VI3_0),
  765. PINMUX_IPSR_MSEL(IP0_2_0, VI0_G4, SEL_VI0_0),
  766. PINMUX_IPSR_MSEL(IP0_2_0, VI0_G4_B, SEL_VI0_1),
  767. PINMUX_IPSR_DATA(IP0_5_3, D1),
  768. PINMUX_IPSR_MSEL(IP0_5_3, MSIOF3_SYNC_B, SEL_SOF3_1),
  769. PINMUX_IPSR_MSEL(IP0_5_3, VI3_DATA1, SEL_VI3_0),
  770. PINMUX_IPSR_MSEL(IP0_5_3, VI0_G5, SEL_VI0_0),
  771. PINMUX_IPSR_MSEL(IP0_5_3, VI0_G5_B, SEL_VI0_1),
  772. PINMUX_IPSR_DATA(IP0_8_6, D2),
  773. PINMUX_IPSR_MSEL(IP0_8_6, MSIOF3_RXD_B, SEL_SOF3_1),
  774. PINMUX_IPSR_MSEL(IP0_8_6, VI3_DATA2, SEL_VI3_0),
  775. PINMUX_IPSR_MSEL(IP0_8_6, VI0_G6, SEL_VI0_0),
  776. PINMUX_IPSR_MSEL(IP0_8_6, VI0_G6_B, SEL_VI0_1),
  777. PINMUX_IPSR_DATA(IP0_11_9, D3),
  778. PINMUX_IPSR_MSEL(IP0_11_9, MSIOF3_TXD_B, SEL_SOF3_1),
  779. PINMUX_IPSR_MSEL(IP0_11_9, VI3_DATA3, SEL_VI3_0),
  780. PINMUX_IPSR_MSEL(IP0_11_9, VI0_G7, SEL_VI0_0),
  781. PINMUX_IPSR_MSEL(IP0_11_9, VI0_G7_B, SEL_VI0_1),
  782. PINMUX_IPSR_DATA(IP0_15_12, D4),
  783. PINMUX_IPSR_MSEL(IP0_15_12, SCIFB1_RXD_F, SEL_SCIFB1_5),
  784. PINMUX_IPSR_MSEL(IP0_15_12, SCIFB0_RXD_C, SEL_SCIFB_2),
  785. PINMUX_IPSR_MSEL(IP0_15_12, VI3_DATA4, SEL_VI3_0),
  786. PINMUX_IPSR_MSEL(IP0_15_12, VI0_R0, SEL_VI0_0),
  787. PINMUX_IPSR_MSEL(IP0_15_12, VI0_R0_B, SEL_VI0_1),
  788. PINMUX_IPSR_MSEL(IP0_15_12, RX0_B, SEL_SCIF0_1),
  789. PINMUX_IPSR_DATA(IP0_19_16, D5),
  790. PINMUX_IPSR_MSEL(IP0_19_16, SCIFB1_TXD_F, SEL_SCIFB1_5),
  791. PINMUX_IPSR_MSEL(IP0_19_16, SCIFB0_TXD_C, SEL_SCIFB_2),
  792. PINMUX_IPSR_MSEL(IP0_19_16, VI3_DATA5, SEL_VI3_0),
  793. PINMUX_IPSR_MSEL(IP0_19_16, VI0_R1, SEL_VI0_0),
  794. PINMUX_IPSR_MSEL(IP0_19_16, VI0_R1_B, SEL_VI0_1),
  795. PINMUX_IPSR_MSEL(IP0_19_16, TX0_B, SEL_SCIF0_1),
  796. PINMUX_IPSR_DATA(IP0_22_20, D6),
  797. PINMUX_IPSR_MSEL(IP0_22_20, IIC2_SCL_C, SEL_IIC2_2),
  798. PINMUX_IPSR_MSEL(IP0_22_20, VI3_DATA6, SEL_VI3_0),
  799. PINMUX_IPSR_MSEL(IP0_22_20, VI0_R2, SEL_VI0_0),
  800. PINMUX_IPSR_MSEL(IP0_22_20, VI0_R2_B, SEL_VI0_1),
  801. PINMUX_IPSR_MSEL(IP0_22_20, I2C2_SCL_C, SEL_I2C2_2),
  802. PINMUX_IPSR_DATA(IP0_26_23, D7),
  803. PINMUX_IPSR_MSEL(IP0_26_23, AD_DI_B, SEL_ADI_1),
  804. PINMUX_IPSR_MSEL(IP0_26_23, IIC2_SDA_C, SEL_IIC2_2),
  805. PINMUX_IPSR_MSEL(IP0_26_23, VI3_DATA7, SEL_VI3_0),
  806. PINMUX_IPSR_MSEL(IP0_26_23, VI0_R3, SEL_VI0_0),
  807. PINMUX_IPSR_MSEL(IP0_26_23, VI0_R3_B, SEL_VI0_1),
  808. PINMUX_IPSR_MSEL(IP0_26_23, I2C2_SDA_C, SEL_I2C2_2),
  809. PINMUX_IPSR_MSEL(IP0_26_23, TCLK1, SEL_TMU1_0),
  810. PINMUX_IPSR_DATA(IP0_30_27, D8),
  811. PINMUX_IPSR_MSEL(IP0_30_27, SCIFA1_SCK_C, SEL_SCIFA1_2),
  812. PINMUX_IPSR_DATA(IP0_30_27, AVB_TXD0),
  813. PINMUX_IPSR_MSEL(IP0_30_27, VI0_G0, SEL_VI0_0),
  814. PINMUX_IPSR_MSEL(IP0_30_27, VI0_G0_B, SEL_VI0_1),
  815. PINMUX_IPSR_MSEL(IP0_30_27, VI2_DATA0_VI2_B0, SEL_VI2_0),
  816. PINMUX_IPSR_DATA(IP1_3_0, D9),
  817. PINMUX_IPSR_MSEL(IP1_3_0, SCIFA1_RXD_C, SEL_SCIFA1_2),
  818. PINMUX_IPSR_DATA(IP1_3_0, AVB_TXD1),
  819. PINMUX_IPSR_MSEL(IP1_3_0, VI0_G1, SEL_VI0_0),
  820. PINMUX_IPSR_MSEL(IP1_3_0, VI0_G1_B, SEL_VI0_1),
  821. PINMUX_IPSR_MSEL(IP1_3_0, VI2_DATA1_VI2_B1, SEL_VI2_0),
  822. PINMUX_IPSR_DATA(IP1_7_4, D10),
  823. PINMUX_IPSR_MSEL(IP1_7_4, SCIFA1_TXD_C, SEL_SCIFA1_2),
  824. PINMUX_IPSR_DATA(IP1_7_4, AVB_TXD2),
  825. PINMUX_IPSR_MSEL(IP1_7_4, VI0_G2, SEL_VI0_0),
  826. PINMUX_IPSR_MSEL(IP1_7_4, VI0_G2_B, SEL_VI0_1),
  827. PINMUX_IPSR_MSEL(IP1_7_4, VI2_DATA2_VI2_B2, SEL_VI2_0),
  828. PINMUX_IPSR_DATA(IP1_11_8, D11),
  829. PINMUX_IPSR_MSEL(IP1_11_8, SCIFA1_CTS_N_C, SEL_SCIFA1_2),
  830. PINMUX_IPSR_DATA(IP1_11_8, AVB_TXD3),
  831. PINMUX_IPSR_MSEL(IP1_11_8, VI0_G3, SEL_VI0_0),
  832. PINMUX_IPSR_MSEL(IP1_11_8, VI0_G3_B, SEL_VI0_1),
  833. PINMUX_IPSR_MSEL(IP1_11_8, VI2_DATA3_VI2_B3, SEL_VI2_0),
  834. PINMUX_IPSR_DATA(IP1_14_12, D12),
  835. PINMUX_IPSR_MSEL(IP1_14_12, SCIFA1_RTS_N_C, SEL_SCIFA1_2),
  836. PINMUX_IPSR_DATA(IP1_14_12, AVB_TXD4),
  837. PINMUX_IPSR_MSEL(IP1_14_12, VI0_HSYNC_N, SEL_VI0_0),
  838. PINMUX_IPSR_MSEL(IP1_14_12, VI0_HSYNC_N_B, SEL_VI0_1),
  839. PINMUX_IPSR_MSEL(IP1_14_12, VI2_DATA4_VI2_B4, SEL_VI2_0),
  840. PINMUX_IPSR_DATA(IP1_17_15, D13),
  841. PINMUX_IPSR_DATA(IP1_17_15, AVB_TXD5),
  842. PINMUX_IPSR_MSEL(IP1_17_15, VI0_VSYNC_N, SEL_VI0_0),
  843. PINMUX_IPSR_MSEL(IP1_17_15, VI0_VSYNC_N_B, SEL_VI0_1),
  844. PINMUX_IPSR_MSEL(IP1_17_15, VI2_DATA5_VI2_B5, SEL_VI2_0),
  845. PINMUX_IPSR_DATA(IP1_21_18, D14),
  846. PINMUX_IPSR_MSEL(IP1_21_18, SCIFB1_RXD_C, SEL_SCIFB1_2),
  847. PINMUX_IPSR_DATA(IP1_21_18, AVB_TXD6),
  848. PINMUX_IPSR_MSEL(IP1_21_18, RX1_B, SEL_SCIF1_1),
  849. PINMUX_IPSR_MSEL(IP1_21_18, VI0_CLKENB, SEL_VI0_0),
  850. PINMUX_IPSR_MSEL(IP1_21_18, VI0_CLKENB_B, SEL_VI0_1),
  851. PINMUX_IPSR_MSEL(IP1_21_18, VI2_DATA6_VI2_B6, SEL_VI2_0),
  852. PINMUX_IPSR_DATA(IP1_25_22, D15),
  853. PINMUX_IPSR_MSEL(IP1_25_22, SCIFB1_TXD_C, SEL_SCIFB1_2),
  854. PINMUX_IPSR_DATA(IP1_25_22, AVB_TXD7),
  855. PINMUX_IPSR_MSEL(IP1_25_22, TX1_B, SEL_SCIF1_1),
  856. PINMUX_IPSR_MSEL(IP1_25_22, VI0_FIELD, SEL_VI0_0),
  857. PINMUX_IPSR_MSEL(IP1_25_22, VI0_FIELD_B, SEL_VI0_1),
  858. PINMUX_IPSR_MSEL(IP1_25_22, VI2_DATA7_VI2_B7, SEL_VI2_0),
  859. PINMUX_IPSR_DATA(IP1_27_26, A0),
  860. PINMUX_IPSR_DATA(IP1_27_26, PWM3),
  861. PINMUX_IPSR_DATA(IP1_29_28, A1),
  862. PINMUX_IPSR_DATA(IP1_29_28, PWM4),
  863. PINMUX_IPSR_DATA(IP2_2_0, A2),
  864. PINMUX_IPSR_DATA(IP2_2_0, PWM5),
  865. PINMUX_IPSR_MSEL(IP2_2_0, MSIOF1_SS1_B, SEL_SOF1_1),
  866. PINMUX_IPSR_DATA(IP2_5_3, A3),
  867. PINMUX_IPSR_DATA(IP2_5_3, PWM6),
  868. PINMUX_IPSR_MSEL(IP2_5_3, MSIOF1_SS2_B, SEL_SOF1_1),
  869. PINMUX_IPSR_DATA(IP2_8_6, A4),
  870. PINMUX_IPSR_MSEL(IP2_8_6, MSIOF1_TXD_B, SEL_SOF1_1),
  871. PINMUX_IPSR_DATA(IP2_8_6, TPU0TO0),
  872. PINMUX_IPSR_DATA(IP2_11_9, A5),
  873. PINMUX_IPSR_MSEL(IP2_11_9, SCIFA1_TXD_B, SEL_SCIFA1_1),
  874. PINMUX_IPSR_DATA(IP2_11_9, TPU0TO1),
  875. PINMUX_IPSR_DATA(IP2_14_12, A6),
  876. PINMUX_IPSR_MSEL(IP2_14_12, SCIFA1_RTS_N_B, SEL_SCIFA1_1),
  877. PINMUX_IPSR_DATA(IP2_14_12, TPU0TO2),
  878. PINMUX_IPSR_DATA(IP2_17_15, A7),
  879. PINMUX_IPSR_MSEL(IP2_17_15, SCIFA1_SCK_B, SEL_SCIFA1_1),
  880. PINMUX_IPSR_DATA(IP2_17_15, AUDIO_CLKOUT_B),
  881. PINMUX_IPSR_DATA(IP2_17_15, TPU0TO3),
  882. PINMUX_IPSR_DATA(IP2_21_18, A8),
  883. PINMUX_IPSR_MSEL(IP2_21_18, SCIFA1_RXD_B, SEL_SCIFA1_1),
  884. PINMUX_IPSR_MSEL(IP2_21_18, SSI_SCK5_B, SEL_SSI5_1),
  885. PINMUX_IPSR_MSEL(IP2_21_18, VI0_R4, SEL_VI0_0),
  886. PINMUX_IPSR_MSEL(IP2_21_18, VI0_R4_B, SEL_VI0_1),
  887. PINMUX_IPSR_MSEL(IP2_21_18, SCIFB2_RXD_C, SEL_SCIFB2_2),
  888. PINMUX_IPSR_MSEL(IP2_21_18, RX2_B, SEL_SCIF2_1),
  889. PINMUX_IPSR_MSEL(IP2_21_18, VI2_DATA0_VI2_B0_B, SEL_VI2_1),
  890. PINMUX_IPSR_DATA(IP2_25_22, A9),
  891. PINMUX_IPSR_MSEL(IP2_25_22, SCIFA1_CTS_N_B, SEL_SCIFA1_1),
  892. PINMUX_IPSR_MSEL(IP2_25_22, SSI_WS5_B, SEL_SSI5_1),
  893. PINMUX_IPSR_MSEL(IP2_25_22, VI0_R5, SEL_VI0_0),
  894. PINMUX_IPSR_MSEL(IP2_25_22, VI0_R5_B, SEL_VI0_1),
  895. PINMUX_IPSR_MSEL(IP2_25_22, SCIFB2_TXD_C, SEL_SCIFB2_2),
  896. PINMUX_IPSR_MSEL(IP2_25_22, TX2_B, SEL_SCIF2_1),
  897. PINMUX_IPSR_MSEL(IP2_25_22, VI2_DATA1_VI2_B1_B, SEL_VI2_1),
  898. PINMUX_IPSR_DATA(IP2_28_26, A10),
  899. PINMUX_IPSR_MSEL(IP2_28_26, SSI_SDATA5_B, SEL_SSI5_1),
  900. PINMUX_IPSR_DATA(IP2_28_26, MSIOF2_SYNC),
  901. PINMUX_IPSR_MSEL(IP2_28_26, VI0_R6, SEL_VI0_0),
  902. PINMUX_IPSR_MSEL(IP2_28_26, VI0_R6_B, SEL_VI0_1),
  903. PINMUX_IPSR_MSEL(IP2_28_26, VI2_DATA2_VI2_B2_B, SEL_VI2_1),
  904. PINMUX_IPSR_DATA(IP3_3_0, A11),
  905. PINMUX_IPSR_MSEL(IP3_3_0, SCIFB2_CTS_N_B, SEL_SCIFB2_1),
  906. PINMUX_IPSR_DATA(IP3_3_0, MSIOF2_SCK),
  907. PINMUX_IPSR_MSEL(IP3_3_0, VI1_R0, SEL_VI1_0),
  908. PINMUX_IPSR_MSEL(IP3_3_0, VI1_R0_B, SEL_VI1_1),
  909. PINMUX_IPSR_DATA(IP3_3_0, VI2_G0),
  910. PINMUX_IPSR_MSEL(IP3_3_0, VI2_DATA3_VI2_B3_B, SEL_VI2_1),
  911. PINMUX_IPSR_DATA(IP3_7_4, A12),
  912. PINMUX_IPSR_MSEL(IP3_7_4, SCIFB2_RXD_B, SEL_SCIFB2_1),
  913. PINMUX_IPSR_DATA(IP3_7_4, MSIOF2_TXD),
  914. PINMUX_IPSR_MSEL(IP3_7_4, VI1_R1, SEL_VI1_0),
  915. PINMUX_IPSR_MSEL(IP3_7_4, VI1_R1_B, SEL_VI1_1),
  916. PINMUX_IPSR_DATA(IP3_7_4, VI2_G1),
  917. PINMUX_IPSR_MSEL(IP3_7_4, VI2_DATA4_VI2_B4_B, SEL_VI2_1),
  918. PINMUX_IPSR_DATA(IP3_11_8, A13),
  919. PINMUX_IPSR_MSEL(IP3_11_8, SCIFB2_RTS_N_B, SEL_SCIFB2_1),
  920. PINMUX_IPSR_DATA(IP3_11_8, EX_WAIT2),
  921. PINMUX_IPSR_DATA(IP3_11_8, MSIOF2_RXD),
  922. PINMUX_IPSR_MSEL(IP3_11_8, VI1_R2, SEL_VI1_0),
  923. PINMUX_IPSR_MSEL(IP3_11_8, VI1_R2_B, SEL_VI1_1),
  924. PINMUX_IPSR_DATA(IP3_11_8, VI2_G2),
  925. PINMUX_IPSR_MSEL(IP3_11_8, VI2_DATA5_VI2_B5_B, SEL_VI2_1),
  926. PINMUX_IPSR_DATA(IP3_14_12, A14),
  927. PINMUX_IPSR_MSEL(IP3_14_12, SCIFB2_TXD_B, SEL_SCIFB2_1),
  928. PINMUX_IPSR_DATA(IP3_14_12, ATACS11_N),
  929. PINMUX_IPSR_DATA(IP3_14_12, MSIOF2_SS1),
  930. PINMUX_IPSR_DATA(IP3_17_15, A15),
  931. PINMUX_IPSR_MSEL(IP3_17_15, SCIFB2_SCK_B, SEL_SCIFB2_1),
  932. PINMUX_IPSR_DATA(IP3_17_15, ATARD1_N),
  933. PINMUX_IPSR_DATA(IP3_17_15, MSIOF2_SS2),
  934. PINMUX_IPSR_DATA(IP3_19_18, A16),
  935. PINMUX_IPSR_DATA(IP3_19_18, ATAWR1_N),
  936. PINMUX_IPSR_DATA(IP3_22_20, A17),
  937. PINMUX_IPSR_MSEL(IP3_22_20, AD_DO_B, SEL_ADI_1),
  938. PINMUX_IPSR_DATA(IP3_22_20, ATADIR1_N),
  939. PINMUX_IPSR_DATA(IP3_25_23, A18),
  940. PINMUX_IPSR_MSEL(IP3_25_23, AD_CLK_B, SEL_ADI_1),
  941. PINMUX_IPSR_DATA(IP3_25_23, ATAG1_N),
  942. PINMUX_IPSR_DATA(IP3_28_26, A19),
  943. PINMUX_IPSR_MSEL(IP3_28_26, AD_NCS_N_B, SEL_ADI_1),
  944. PINMUX_IPSR_DATA(IP3_28_26, ATACS01_N),
  945. PINMUX_IPSR_MSEL(IP3_28_26, EX_WAIT0_B, SEL_LBS_1),
  946. PINMUX_IPSR_DATA(IP3_31_29, A20),
  947. PINMUX_IPSR_DATA(IP3_31_29, SPCLK),
  948. PINMUX_IPSR_MSEL(IP3_31_29, VI1_R3, SEL_VI1_0),
  949. PINMUX_IPSR_MSEL(IP3_31_29, VI1_R3_B, SEL_VI1_1),
  950. PINMUX_IPSR_DATA(IP3_31_29, VI2_G4),
  951. PINMUX_IPSR_DATA(IP4_2_0, A21),
  952. PINMUX_IPSR_DATA(IP4_2_0, MOSI_IO0),
  953. PINMUX_IPSR_MSEL(IP4_2_0, VI1_R4, SEL_VI1_0),
  954. PINMUX_IPSR_MSEL(IP4_2_0, VI1_R4_B, SEL_VI1_1),
  955. PINMUX_IPSR_DATA(IP4_2_0, VI2_G5),
  956. PINMUX_IPSR_DATA(IP4_5_3, A22),
  957. PINMUX_IPSR_DATA(IP4_5_3, MISO_IO1),
  958. PINMUX_IPSR_MSEL(IP4_5_3, VI1_R5, SEL_VI1_0),
  959. PINMUX_IPSR_MSEL(IP4_5_3, VI1_R5_B, SEL_VI1_1),
  960. PINMUX_IPSR_DATA(IP4_5_3, VI2_G6),
  961. PINMUX_IPSR_DATA(IP4_8_6, A23),
  962. PINMUX_IPSR_DATA(IP4_8_6, IO2),
  963. PINMUX_IPSR_MSEL(IP4_8_6, VI1_G7, SEL_VI1_0),
  964. PINMUX_IPSR_MSEL(IP4_8_6, VI1_G7_B, SEL_VI1_1),
  965. PINMUX_IPSR_DATA(IP4_8_6, VI2_G7),
  966. PINMUX_IPSR_DATA(IP4_11_9, A24),
  967. PINMUX_IPSR_DATA(IP4_11_9, IO3),
  968. PINMUX_IPSR_MSEL(IP4_11_9, VI1_R7, SEL_VI1_0),
  969. PINMUX_IPSR_MSEL(IP4_11_9, VI1_R7_B, SEL_VI1_1),
  970. PINMUX_IPSR_MSEL(IP4_11_9, VI2_CLKENB, SEL_VI2_0),
  971. PINMUX_IPSR_MSEL(IP4_11_9, VI2_CLKENB_B, SEL_VI2_1),
  972. PINMUX_IPSR_DATA(IP4_14_12, A25),
  973. PINMUX_IPSR_DATA(IP4_14_12, SSL),
  974. PINMUX_IPSR_MSEL(IP4_14_12, VI1_G6, SEL_VI1_0),
  975. PINMUX_IPSR_MSEL(IP4_14_12, VI1_G6_B, SEL_VI1_1),
  976. PINMUX_IPSR_MSEL(IP4_14_12, VI2_FIELD, SEL_VI2_0),
  977. PINMUX_IPSR_MSEL(IP4_14_12, VI2_FIELD_B, SEL_VI2_1),
  978. PINMUX_IPSR_DATA(IP4_17_15, CS0_N),
  979. PINMUX_IPSR_MSEL(IP4_17_15, VI1_R6, SEL_VI1_0),
  980. PINMUX_IPSR_MSEL(IP4_17_15, VI1_R6_B, SEL_VI1_1),
  981. PINMUX_IPSR_DATA(IP4_17_15, VI2_G3),
  982. PINMUX_IPSR_MSEL(IP4_17_15, MSIOF0_SS2_B, SEL_SOF0_1),
  983. PINMUX_IPSR_DATA(IP4_20_18, CS1_N_A26),
  984. PINMUX_IPSR_DATA(IP4_20_18, SPEEDIN),
  985. PINMUX_IPSR_MSEL(IP4_20_18, VI0_R7, SEL_VI0_0),
  986. PINMUX_IPSR_MSEL(IP4_20_18, VI0_R7_B, SEL_VI0_1),
  987. PINMUX_IPSR_MSEL(IP4_20_18, VI2_CLK, SEL_VI2_0),
  988. PINMUX_IPSR_MSEL(IP4_20_18, VI2_CLK_B, SEL_VI2_1),
  989. PINMUX_IPSR_DATA(IP4_23_21, EX_CS0_N),
  990. PINMUX_IPSR_MSEL(IP4_23_21, HRX1_B, SEL_HSCIF1_1),
  991. PINMUX_IPSR_MSEL(IP4_23_21, VI1_G5, SEL_VI1_0),
  992. PINMUX_IPSR_MSEL(IP4_23_21, VI1_G5_B, SEL_VI1_1),
  993. PINMUX_IPSR_DATA(IP4_23_21, VI2_R0),
  994. PINMUX_IPSR_MSEL(IP4_23_21, HTX0_B, SEL_HSCIF0_1),
  995. PINMUX_IPSR_MSEL(IP4_23_21, MSIOF0_SS1_B, SEL_SOF0_1),
  996. PINMUX_IPSR_DATA(IP4_26_24, EX_CS1_N),
  997. PINMUX_IPSR_DATA(IP4_26_24, GPS_CLK),
  998. PINMUX_IPSR_MSEL(IP4_26_24, HCTS1_N_B, SEL_HSCIF1_1),
  999. PINMUX_IPSR_MSEL(IP4_26_24, VI1_FIELD, SEL_VI1_0),
  1000. PINMUX_IPSR_MSEL(IP4_26_24, VI1_FIELD_B, SEL_VI1_1),
  1001. PINMUX_IPSR_DATA(IP4_26_24, VI2_R1),
  1002. PINMUX_IPSR_DATA(IP4_29_27, EX_CS2_N),
  1003. PINMUX_IPSR_DATA(IP4_29_27, GPS_SIGN),
  1004. PINMUX_IPSR_MSEL(IP4_29_27, HRTS1_N_B, SEL_HSCIF1_1),
  1005. PINMUX_IPSR_DATA(IP4_29_27, VI3_CLKENB),
  1006. PINMUX_IPSR_MSEL(IP4_29_27, VI1_G0, SEL_VI1_0),
  1007. PINMUX_IPSR_MSEL(IP4_29_27, VI1_G0_B, SEL_VI1_1),
  1008. PINMUX_IPSR_DATA(IP4_29_27, VI2_R2),
  1009. PINMUX_IPSR_DATA(IP5_2_0, EX_CS3_N),
  1010. PINMUX_IPSR_DATA(IP5_2_0, GPS_MAG),
  1011. PINMUX_IPSR_DATA(IP5_2_0, VI3_FIELD),
  1012. PINMUX_IPSR_MSEL(IP5_2_0, VI1_G1, SEL_VI1_0),
  1013. PINMUX_IPSR_MSEL(IP5_2_0, VI1_G1_B, SEL_VI1_1),
  1014. PINMUX_IPSR_DATA(IP5_2_0, VI2_R3),
  1015. PINMUX_IPSR_DATA(IP5_5_3, EX_CS4_N),
  1016. PINMUX_IPSR_MSEL(IP5_5_3, MSIOF1_SCK_B, SEL_SOF1_1),
  1017. PINMUX_IPSR_DATA(IP5_5_3, VI3_HSYNC_N),
  1018. PINMUX_IPSR_MSEL(IP5_5_3, VI2_HSYNC_N, SEL_VI2_0),
  1019. PINMUX_IPSR_MSEL(IP5_5_3, IIC1_SCL, SEL_IIC1_0),
  1020. PINMUX_IPSR_MSEL(IP5_5_3, VI2_HSYNC_N_B, SEL_VI2_1),
  1021. PINMUX_IPSR_DATA(IP5_5_3, INTC_EN0_N),
  1022. PINMUX_IPSR_MSEL(IP5_5_3, I2C1_SCL, SEL_I2C1_0),
  1023. PINMUX_IPSR_DATA(IP5_9_6, EX_CS5_N),
  1024. PINMUX_IPSR_MSEL(IP5_9_6, CAN0_RX, SEL_CAN0_0),
  1025. PINMUX_IPSR_MSEL(IP5_9_6, MSIOF1_RXD_B, SEL_SOF1_1),
  1026. PINMUX_IPSR_DATA(IP5_9_6, VI3_VSYNC_N),
  1027. PINMUX_IPSR_MSEL(IP5_9_6, VI1_G2, SEL_VI1_0),
  1028. PINMUX_IPSR_MSEL(IP5_9_6, VI1_G2_B, SEL_VI1_1),
  1029. PINMUX_IPSR_DATA(IP5_9_6, VI2_R4),
  1030. PINMUX_IPSR_MSEL(IP5_9_6, IIC1_SDA, SEL_IIC1_0),
  1031. PINMUX_IPSR_DATA(IP5_9_6, INTC_EN1_N),
  1032. PINMUX_IPSR_MSEL(IP5_9_6, I2C1_SDA, SEL_I2C1_0),
  1033. PINMUX_IPSR_DATA(IP5_12_10, BS_N),
  1034. PINMUX_IPSR_MSEL(IP5_12_10, IETX, SEL_IEB_0),
  1035. PINMUX_IPSR_MSEL(IP5_12_10, HTX1_B, SEL_HSCIF1_1),
  1036. PINMUX_IPSR_MSEL(IP5_12_10, CAN1_TX, SEL_CAN1_0),
  1037. PINMUX_IPSR_DATA(IP5_12_10, DRACK0),
  1038. PINMUX_IPSR_MSEL(IP5_12_10, IETX_C, SEL_IEB_2),
  1039. PINMUX_IPSR_DATA(IP5_14_13, RD_N),
  1040. PINMUX_IPSR_MSEL(IP5_14_13, CAN0_TX, SEL_CAN0_0),
  1041. PINMUX_IPSR_MSEL(IP5_14_13, SCIFA0_SCK_B, SEL_SCFA_1),
  1042. PINMUX_IPSR_DATA(IP5_17_15, RD_WR_N),
  1043. PINMUX_IPSR_MSEL(IP5_17_15, VI1_G3, SEL_VI1_0),
  1044. PINMUX_IPSR_MSEL(IP5_17_15, VI1_G3_B, SEL_VI1_1),
  1045. PINMUX_IPSR_DATA(IP5_17_15, VI2_R5),
  1046. PINMUX_IPSR_MSEL(IP5_17_15, SCIFA0_RXD_B, SEL_SCFA_1),
  1047. PINMUX_IPSR_DATA(IP5_17_15, INTC_IRQ4_N),
  1048. PINMUX_IPSR_DATA(IP5_20_18, WE0_N),
  1049. PINMUX_IPSR_MSEL(IP5_20_18, IECLK, SEL_IEB_0),
  1050. PINMUX_IPSR_MSEL(IP5_20_18, CAN_CLK, SEL_CANCLK_0),
  1051. PINMUX_IPSR_MSEL(IP5_20_18, VI2_VSYNC_N, SEL_VI2_0),
  1052. PINMUX_IPSR_MSEL(IP5_20_18, SCIFA0_TXD_B, SEL_SCFA_1),
  1053. PINMUX_IPSR_MSEL(IP5_20_18, VI2_VSYNC_N_B, SEL_VI2_1),
  1054. PINMUX_IPSR_DATA(IP5_23_21, WE1_N),
  1055. PINMUX_IPSR_MSEL(IP5_23_21, IERX, SEL_IEB_0),
  1056. PINMUX_IPSR_MSEL(IP5_23_21, CAN1_RX, SEL_CAN1_0),
  1057. PINMUX_IPSR_MSEL(IP5_23_21, VI1_G4, SEL_VI1_0),
  1058. PINMUX_IPSR_MSEL(IP5_23_21, VI1_G4_B, SEL_VI1_1),
  1059. PINMUX_IPSR_DATA(IP5_23_21, VI2_R6),
  1060. PINMUX_IPSR_MSEL(IP5_23_21, SCIFA0_CTS_N_B, SEL_SCFA_1),
  1061. PINMUX_IPSR_MSEL(IP5_23_21, IERX_C, SEL_IEB_2),
  1062. PINMUX_IPSR_MSEL(IP5_26_24, EX_WAIT0, SEL_LBS_0),
  1063. PINMUX_IPSR_DATA(IP5_26_24, IRQ3),
  1064. PINMUX_IPSR_DATA(IP5_26_24, INTC_IRQ3_N),
  1065. PINMUX_IPSR_MSEL(IP5_26_24, VI3_CLK, SEL_VI3_0),
  1066. PINMUX_IPSR_MSEL(IP5_26_24, SCIFA0_RTS_N_B, SEL_SCFA_1),
  1067. PINMUX_IPSR_MSEL(IP5_26_24, HRX0_B, SEL_HSCIF0_1),
  1068. PINMUX_IPSR_MSEL(IP5_26_24, MSIOF0_SCK_B, SEL_SOF0_1),
  1069. PINMUX_IPSR_DATA(IP5_29_27, DREQ0_N),
  1070. PINMUX_IPSR_MSEL(IP5_29_27, VI1_HSYNC_N, SEL_VI1_0),
  1071. PINMUX_IPSR_MSEL(IP5_29_27, VI1_HSYNC_N_B, SEL_VI1_1),
  1072. PINMUX_IPSR_DATA(IP5_29_27, VI2_R7),
  1073. PINMUX_IPSR_MSEL(IP5_29_27, SSI_SCK78_C, SEL_SSI7_2),
  1074. PINMUX_IPSR_MSEL(IP5_29_27, SSI_WS78_B, SEL_SSI7_1),
  1075. PINMUX_IPSR_DATA(IP6_2_0, DACK0),
  1076. PINMUX_IPSR_DATA(IP6_2_0, IRQ0),
  1077. PINMUX_IPSR_DATA(IP6_2_0, INTC_IRQ0_N),
  1078. PINMUX_IPSR_MSEL(IP6_2_0, SSI_SCK6_B, SEL_SSI6_1),
  1079. PINMUX_IPSR_MSEL(IP6_2_0, VI1_VSYNC_N, SEL_VI1_0),
  1080. PINMUX_IPSR_MSEL(IP6_2_0, VI1_VSYNC_N_B, SEL_VI1_1),
  1081. PINMUX_IPSR_MSEL(IP6_2_0, SSI_WS78_C, SEL_SSI7_2),
  1082. PINMUX_IPSR_DATA(IP6_5_3, DREQ1_N),
  1083. PINMUX_IPSR_MSEL(IP6_5_3, VI1_CLKENB, SEL_VI1_0),
  1084. PINMUX_IPSR_MSEL(IP6_5_3, VI1_CLKENB_B, SEL_VI1_1),
  1085. PINMUX_IPSR_MSEL(IP6_5_3, SSI_SDATA7_C, SEL_SSI7_2),
  1086. PINMUX_IPSR_MSEL(IP6_5_3, SSI_SCK78_B, SEL_SSI7_1),
  1087. PINMUX_IPSR_DATA(IP6_8_6, DACK1),
  1088. PINMUX_IPSR_DATA(IP6_8_6, IRQ1),
  1089. PINMUX_IPSR_DATA(IP6_8_6, INTC_IRQ1_N),
  1090. PINMUX_IPSR_MSEL(IP6_8_6, SSI_WS6_B, SEL_SSI6_1),
  1091. PINMUX_IPSR_MSEL(IP6_8_6, SSI_SDATA8_C, SEL_SSI8_2),
  1092. PINMUX_IPSR_DATA(IP6_10_9, DREQ2_N),
  1093. PINMUX_IPSR_MSEL(IP6_10_9, HSCK1_B, SEL_HSCIF1_1),
  1094. PINMUX_IPSR_MSEL(IP6_10_9, HCTS0_N_B, SEL_HSCIF0_1),
  1095. PINMUX_IPSR_MSEL(IP6_10_9, MSIOF0_TXD_B, SEL_SOF0_1),
  1096. PINMUX_IPSR_DATA(IP6_13_11, DACK2),
  1097. PINMUX_IPSR_DATA(IP6_13_11, IRQ2),
  1098. PINMUX_IPSR_DATA(IP6_13_11, INTC_IRQ2_N),
  1099. PINMUX_IPSR_MSEL(IP6_13_11, SSI_SDATA6_B, SEL_SSI6_1),
  1100. PINMUX_IPSR_MSEL(IP6_13_11, HRTS0_N_B, SEL_HSCIF0_1),
  1101. PINMUX_IPSR_MSEL(IP6_13_11, MSIOF0_RXD_B, SEL_SOF0_1),
  1102. PINMUX_IPSR_DATA(IP6_16_14, ETH_CRS_DV),
  1103. PINMUX_IPSR_MSEL(IP6_16_14, STP_ISCLK_0_B, SEL_SSP_1),
  1104. PINMUX_IPSR_MSEL(IP6_16_14, TS_SDEN0_D, SEL_TSIF0_3),
  1105. PINMUX_IPSR_MSEL(IP6_16_14, GLO_Q0_C, SEL_GPS_2),
  1106. PINMUX_IPSR_MSEL(IP6_16_14, IIC2_SCL_E, SEL_IIC2_4),
  1107. PINMUX_IPSR_MSEL(IP6_16_14, I2C2_SCL_E, SEL_I2C2_4),
  1108. PINMUX_IPSR_DATA(IP6_19_17, ETH_RX_ER),
  1109. PINMUX_IPSR_MSEL(IP6_19_17, STP_ISD_0_B, SEL_SSP_1),
  1110. PINMUX_IPSR_MSEL(IP6_19_17, TS_SPSYNC0_D, SEL_TSIF0_3),
  1111. PINMUX_IPSR_MSEL(IP6_19_17, GLO_Q1_C, SEL_GPS_2),
  1112. PINMUX_IPSR_MSEL(IP6_19_17, IIC2_SDA_E, SEL_IIC2_4),
  1113. PINMUX_IPSR_MSEL(IP6_19_17, I2C2_SDA_E, SEL_I2C2_4),
  1114. PINMUX_IPSR_DATA(IP6_22_20, ETH_RXD0),
  1115. PINMUX_IPSR_MSEL(IP6_22_20, STP_ISEN_0_B, SEL_SSP_1),
  1116. PINMUX_IPSR_MSEL(IP6_22_20, TS_SDAT0_D, SEL_TSIF0_3),
  1117. PINMUX_IPSR_MSEL(IP6_22_20, GLO_I0_C, SEL_GPS_2),
  1118. PINMUX_IPSR_MSEL(IP6_22_20, SCIFB1_SCK_G, SEL_SCIFB1_6),
  1119. PINMUX_IPSR_MSEL(IP6_22_20, SCK1_E, SEL_SCIF1_4),
  1120. PINMUX_IPSR_DATA(IP6_25_23, ETH_RXD1),
  1121. PINMUX_IPSR_MSEL(IP6_25_23, HRX0_E, SEL_HSCIF0_4),
  1122. PINMUX_IPSR_MSEL(IP6_25_23, STP_ISSYNC_0_B, SEL_SSP_1),
  1123. PINMUX_IPSR_MSEL(IP6_25_23, TS_SCK0_D, SEL_TSIF0_3),
  1124. PINMUX_IPSR_MSEL(IP6_25_23, GLO_I1_C, SEL_GPS_2),
  1125. PINMUX_IPSR_MSEL(IP6_25_23, SCIFB1_RXD_G, SEL_SCIFB1_6),
  1126. PINMUX_IPSR_MSEL(IP6_25_23, RX1_E, SEL_SCIF1_4),
  1127. PINMUX_IPSR_DATA(IP6_28_26, ETH_LINK),
  1128. PINMUX_IPSR_MSEL(IP6_28_26, HTX0_E, SEL_HSCIF0_4),
  1129. PINMUX_IPSR_MSEL(IP6_28_26, STP_IVCXO27_0_B, SEL_SSP_1),
  1130. PINMUX_IPSR_MSEL(IP6_28_26, SCIFB1_TXD_G, SEL_SCIFB1_6),
  1131. PINMUX_IPSR_MSEL(IP6_28_26, TX1_E, SEL_SCIF1_4),
  1132. PINMUX_IPSR_DATA(IP6_31_29, ETH_REF_CLK),
  1133. PINMUX_IPSR_MSEL(IP6_31_29, HCTS0_N_E, SEL_HSCIF0_4),
  1134. PINMUX_IPSR_MSEL(IP6_31_29, STP_IVCXO27_1_B, SEL_SSP_1),
  1135. PINMUX_IPSR_MSEL(IP6_31_29, HRX0_F, SEL_HSCIF0_5),
  1136. PINMUX_IPSR_DATA(IP7_2_0, ETH_MDIO),
  1137. PINMUX_IPSR_MSEL(IP7_2_0, HRTS0_N_E, SEL_HSCIF0_4),
  1138. PINMUX_IPSR_MSEL(IP7_2_0, SIM0_D_C, SEL_SIM_2),
  1139. PINMUX_IPSR_MSEL(IP7_2_0, HCTS0_N_F, SEL_HSCIF0_5),
  1140. PINMUX_IPSR_DATA(IP7_5_3, ETH_TXD1),
  1141. PINMUX_IPSR_MSEL(IP7_5_3, HTX0_F, SEL_HSCIF0_5),
  1142. PINMUX_IPSR_MSEL(IP7_5_3, BPFCLK_G, SEL_FM_6),
  1143. PINMUX_IPSR_DATA(IP7_7_6, ETH_TX_EN),
  1144. PINMUX_IPSR_MSEL(IP7_7_6, SIM0_CLK_C, SEL_SIM_2),
  1145. PINMUX_IPSR_MSEL(IP7_7_6, HRTS0_N_F, SEL_HSCIF0_5),
  1146. PINMUX_IPSR_DATA(IP7_9_8, ETH_MAGIC),
  1147. PINMUX_IPSR_MSEL(IP7_9_8, SIM0_RST_C, SEL_SIM_2),
  1148. PINMUX_IPSR_DATA(IP7_12_10, ETH_TXD0),
  1149. PINMUX_IPSR_MSEL(IP7_12_10, STP_ISCLK_1_B, SEL_SSP_1),
  1150. PINMUX_IPSR_MSEL(IP7_12_10, TS_SDEN1_C, SEL_TSIF1_2),
  1151. PINMUX_IPSR_MSEL(IP7_12_10, GLO_SCLK_C, SEL_GPS_2),
  1152. PINMUX_IPSR_DATA(IP7_15_13, ETH_MDC),
  1153. PINMUX_IPSR_MSEL(IP7_15_13, STP_ISD_1_B, SEL_SSP_1),
  1154. PINMUX_IPSR_MSEL(IP7_15_13, TS_SPSYNC1_C, SEL_TSIF1_2),
  1155. PINMUX_IPSR_MSEL(IP7_15_13, GLO_SDATA_C, SEL_GPS_2),
  1156. PINMUX_IPSR_DATA(IP7_18_16, PWM0),
  1157. PINMUX_IPSR_MSEL(IP7_18_16, SCIFA2_SCK_C, SEL_SCIFA2_2),
  1158. PINMUX_IPSR_MSEL(IP7_18_16, STP_ISEN_1_B, SEL_SSP_1),
  1159. PINMUX_IPSR_MSEL(IP7_18_16, TS_SDAT1_C, SEL_TSIF1_2),
  1160. PINMUX_IPSR_MSEL(IP7_18_16, GLO_SS_C, SEL_GPS_2),
  1161. PINMUX_IPSR_DATA(IP7_21_19, PWM1),
  1162. PINMUX_IPSR_MSEL(IP7_21_19, SCIFA2_TXD_C, SEL_SCIFA2_2),
  1163. PINMUX_IPSR_MSEL(IP7_21_19, STP_ISSYNC_1_B, SEL_SSP_1),
  1164. PINMUX_IPSR_MSEL(IP7_21_19, TS_SCK1_C, SEL_TSIF1_2),
  1165. PINMUX_IPSR_MSEL(IP7_21_19, GLO_RFON_C, SEL_GPS_2),
  1166. PINMUX_IPSR_DATA(IP7_21_19, PCMOE_N),
  1167. PINMUX_IPSR_DATA(IP7_24_22, PWM2),
  1168. PINMUX_IPSR_DATA(IP7_24_22, PWMFSW0),
  1169. PINMUX_IPSR_MSEL(IP7_24_22, SCIFA2_RXD_C, SEL_SCIFA2_2),
  1170. PINMUX_IPSR_DATA(IP7_24_22, PCMWE_N),
  1171. PINMUX_IPSR_MSEL(IP7_24_22, IECLK_C, SEL_IEB_2),
  1172. PINMUX_IPSR_DATA(IP7_26_25, DU_DOTCLKIN1),
  1173. PINMUX_IPSR_DATA(IP7_26_25, AUDIO_CLKC),
  1174. PINMUX_IPSR_DATA(IP7_26_25, AUDIO_CLKOUT_C),
  1175. PINMUX_IPSR_MSEL(IP7_28_27, VI0_CLK, SEL_VI0_0),
  1176. PINMUX_IPSR_DATA(IP7_28_27, ATACS00_N),
  1177. PINMUX_IPSR_DATA(IP7_28_27, AVB_RXD1),
  1178. PINMUX_IPSR_MSEL(IP7_30_29, VI0_DATA0_VI0_B0, SEL_VI0_0),
  1179. PINMUX_IPSR_DATA(IP7_30_29, ATACS10_N),
  1180. PINMUX_IPSR_DATA(IP7_30_29, AVB_RXD2),
  1181. PINMUX_IPSR_MSEL(IP8_1_0, VI0_DATA1_VI0_B1, SEL_VI0_0),
  1182. PINMUX_IPSR_DATA(IP8_1_0, ATARD0_N),
  1183. PINMUX_IPSR_DATA(IP8_1_0, AVB_RXD3),
  1184. PINMUX_IPSR_MSEL(IP8_3_2, VI0_DATA2_VI0_B2, SEL_VI0_0),
  1185. PINMUX_IPSR_DATA(IP8_3_2, ATAWR0_N),
  1186. PINMUX_IPSR_DATA(IP8_3_2, AVB_RXD4),
  1187. PINMUX_IPSR_MSEL(IP8_5_4, VI0_DATA3_VI0_B3, SEL_VI0_0),
  1188. PINMUX_IPSR_DATA(IP8_5_4, ATADIR0_N),
  1189. PINMUX_IPSR_DATA(IP8_5_4, AVB_RXD5),
  1190. PINMUX_IPSR_MSEL(IP8_7_6, VI0_DATA4_VI0_B4, SEL_VI0_0),
  1191. PINMUX_IPSR_DATA(IP8_7_6, ATAG0_N),
  1192. PINMUX_IPSR_DATA(IP8_7_6, AVB_RXD6),
  1193. PINMUX_IPSR_MSEL(IP8_9_8, VI0_DATA5_VI0_B5, SEL_VI0_0),
  1194. PINMUX_IPSR_DATA(IP8_9_8, EX_WAIT1),
  1195. PINMUX_IPSR_DATA(IP8_9_8, AVB_RXD7),
  1196. PINMUX_IPSR_MSEL(IP8_11_10, VI0_DATA6_VI0_B6, SEL_VI0_0),
  1197. PINMUX_IPSR_DATA(IP8_11_10, AVB_RX_ER),
  1198. PINMUX_IPSR_MSEL(IP8_13_12, VI0_DATA7_VI0_B7, SEL_VI0_0),
  1199. PINMUX_IPSR_DATA(IP8_13_12, AVB_RX_CLK),
  1200. PINMUX_IPSR_MSEL(IP8_15_14, VI1_CLK, SEL_VI1_0),
  1201. PINMUX_IPSR_DATA(IP8_15_14, AVB_RX_DV),
  1202. PINMUX_IPSR_MSEL(IP8_17_16, VI1_DATA0_VI1_B0, SEL_VI1_0),
  1203. PINMUX_IPSR_MSEL(IP8_17_16, SCIFA1_SCK_D, SEL_SCIFA1_3),
  1204. PINMUX_IPSR_DATA(IP8_17_16, AVB_CRS),
  1205. PINMUX_IPSR_MSEL(IP8_19_18, VI1_DATA1_VI1_B1, SEL_VI1_0),
  1206. PINMUX_IPSR_MSEL(IP8_19_18, SCIFA1_RXD_D, SEL_SCIFA1_3),
  1207. PINMUX_IPSR_DATA(IP8_19_18, AVB_MDC),
  1208. PINMUX_IPSR_MSEL(IP8_21_20, VI1_DATA2_VI1_B2, SEL_VI1_0),
  1209. PINMUX_IPSR_MSEL(IP8_21_20, SCIFA1_TXD_D, SEL_SCIFA1_3),
  1210. PINMUX_IPSR_DATA(IP8_21_20, AVB_MDIO),
  1211. PINMUX_IPSR_MSEL(IP8_23_22, VI1_DATA3_VI1_B3, SEL_VI1_0),
  1212. PINMUX_IPSR_MSEL(IP8_23_22, SCIFA1_CTS_N_D, SEL_SCIFA1_3),
  1213. PINMUX_IPSR_DATA(IP8_23_22, AVB_GTX_CLK),
  1214. PINMUX_IPSR_MSEL(IP8_25_24, VI1_DATA4_VI1_B4, SEL_VI1_0),
  1215. PINMUX_IPSR_MSEL(IP8_25_24, SCIFA1_RTS_N_D, SEL_SCIFA1_3),
  1216. PINMUX_IPSR_DATA(IP8_25_24, AVB_MAGIC),
  1217. PINMUX_IPSR_MSEL(IP8_26, VI1_DATA5_VI1_B5, SEL_VI1_0),
  1218. PINMUX_IPSR_DATA(IP8_26, AVB_PHY_INT),
  1219. PINMUX_IPSR_MSEL(IP8_27, VI1_DATA6_VI1_B6, SEL_VI1_0),
  1220. PINMUX_IPSR_DATA(IP8_27, AVB_GTXREFCLK),
  1221. PINMUX_IPSR_DATA(IP8_28, SD0_CLK),
  1222. PINMUX_IPSR_MSEL(IP8_28, VI1_DATA0_VI1_B0_B, SEL_VI1_1),
  1223. PINMUX_IPSR_DATA(IP8_30_29, SD0_CMD),
  1224. PINMUX_IPSR_MSEL(IP8_30_29, SCIFB1_SCK_B, SEL_SCIFB1_1),
  1225. PINMUX_IPSR_MSEL(IP8_30_29, VI1_DATA1_VI1_B1_B, SEL_VI1_1),
  1226. PINMUX_IPSR_DATA(IP9_1_0, SD0_DAT0),
  1227. PINMUX_IPSR_MSEL(IP9_1_0, SCIFB1_RXD_B, SEL_SCIFB1_1),
  1228. PINMUX_IPSR_MSEL(IP9_1_0, VI1_DATA2_VI1_B2_B, SEL_VI1_1),
  1229. PINMUX_IPSR_DATA(IP9_3_2, SD0_DAT1),
  1230. PINMUX_IPSR_MSEL(IP9_3_2, SCIFB1_TXD_B, SEL_SCIFB1_1),
  1231. PINMUX_IPSR_MSEL(IP9_3_2, VI1_DATA3_VI1_B3_B, SEL_VI1_1),
  1232. PINMUX_IPSR_DATA(IP9_5_4, SD0_DAT2),
  1233. PINMUX_IPSR_MSEL(IP9_5_4, SCIFB1_CTS_N_B, SEL_SCIFB1_1),
  1234. PINMUX_IPSR_MSEL(IP9_5_4, VI1_DATA4_VI1_B4_B, SEL_VI1_1),
  1235. PINMUX_IPSR_DATA(IP9_7_6, SD0_DAT3),
  1236. PINMUX_IPSR_MSEL(IP9_7_6, SCIFB1_RTS_N_B, SEL_SCIFB1_1),
  1237. PINMUX_IPSR_MSEL(IP9_7_6, VI1_DATA5_VI1_B5_B, SEL_VI1_1),
  1238. PINMUX_IPSR_DATA(IP9_11_8, SD0_CD),
  1239. PINMUX_IPSR_DATA(IP9_11_8, MMC0_D6),
  1240. PINMUX_IPSR_MSEL(IP9_11_8, TS_SDEN0_B, SEL_TSIF0_1),
  1241. PINMUX_IPSR_DATA(IP9_11_8, USB0_EXTP),
  1242. PINMUX_IPSR_MSEL(IP9_11_8, GLO_SCLK, SEL_GPS_0),
  1243. PINMUX_IPSR_MSEL(IP9_11_8, VI1_DATA6_VI1_B6_B, SEL_VI1_1),
  1244. PINMUX_IPSR_MSEL(IP9_11_8, IIC1_SCL_B, SEL_IIC1_1),
  1245. PINMUX_IPSR_MSEL(IP9_11_8, I2C1_SCL_B, SEL_I2C1_1),
  1246. PINMUX_IPSR_MSEL(IP9_11_8, VI2_DATA6_VI2_B6_B, SEL_VI2_1),
  1247. PINMUX_IPSR_DATA(IP9_15_12, SD0_WP),
  1248. PINMUX_IPSR_DATA(IP9_15_12, MMC0_D7),
  1249. PINMUX_IPSR_MSEL(IP9_15_12, TS_SPSYNC0_B, SEL_TSIF0_1),
  1250. PINMUX_IPSR_DATA(IP9_15_12, USB0_IDIN),
  1251. PINMUX_IPSR_MSEL(IP9_15_12, GLO_SDATA, SEL_GPS_0),
  1252. PINMUX_IPSR_MSEL(IP9_15_12, VI1_DATA7_VI1_B7_B, SEL_VI1_1),
  1253. PINMUX_IPSR_MSEL(IP9_15_12, IIC1_SDA_B, SEL_IIC1_1),
  1254. PINMUX_IPSR_MSEL(IP9_15_12, I2C1_SDA_B, SEL_I2C1_1),
  1255. PINMUX_IPSR_MSEL(IP9_15_12, VI2_DATA7_VI2_B7_B, SEL_VI2_1),
  1256. PINMUX_IPSR_DATA(IP9_17_16, SD1_CLK),
  1257. PINMUX_IPSR_DATA(IP9_17_16, AVB_TX_EN),
  1258. PINMUX_IPSR_DATA(IP9_19_18, SD1_CMD),
  1259. PINMUX_IPSR_DATA(IP9_19_18, AVB_TX_ER),
  1260. PINMUX_IPSR_MSEL(IP9_19_18, SCIFB0_SCK_B, SEL_SCIFB_1),
  1261. PINMUX_IPSR_DATA(IP9_21_20, SD1_DAT0),
  1262. PINMUX_IPSR_DATA(IP9_21_20, AVB_TX_CLK),
  1263. PINMUX_IPSR_MSEL(IP9_21_20, SCIFB0_RXD_B, SEL_SCIFB_1),
  1264. PINMUX_IPSR_DATA(IP9_23_22, SD1_DAT1),
  1265. PINMUX_IPSR_DATA(IP9_23_22, AVB_LINK),
  1266. PINMUX_IPSR_MSEL(IP9_23_22, SCIFB0_TXD_B, SEL_SCIFB_1),
  1267. PINMUX_IPSR_DATA(IP9_25_24, SD1_DAT2),
  1268. PINMUX_IPSR_DATA(IP9_25_24, AVB_COL),
  1269. PINMUX_IPSR_MSEL(IP9_25_24, SCIFB0_CTS_N_B, SEL_SCIFB_1),
  1270. PINMUX_IPSR_DATA(IP9_27_26, SD1_DAT3),
  1271. PINMUX_IPSR_DATA(IP9_27_26, AVB_RXD0),
  1272. PINMUX_IPSR_MSEL(IP9_27_26, SCIFB0_RTS_N_B, SEL_SCIFB_1),
  1273. PINMUX_IPSR_DATA(IP9_31_28, SD1_CD),
  1274. PINMUX_IPSR_DATA(IP9_31_28, MMC1_D6),
  1275. PINMUX_IPSR_MSEL(IP9_31_28, TS_SDEN1, SEL_TSIF1_0),
  1276. PINMUX_IPSR_DATA(IP9_31_28, USB1_EXTP),
  1277. PINMUX_IPSR_MSEL(IP9_31_28, GLO_SS, SEL_GPS_0),
  1278. PINMUX_IPSR_MSEL(IP9_31_28, VI0_CLK_B, SEL_VI0_1),
  1279. PINMUX_IPSR_MSEL(IP9_31_28, IIC2_SCL_D, SEL_IIC2_3),
  1280. PINMUX_IPSR_MSEL(IP9_31_28, I2C2_SCL_D, SEL_I2C2_3),
  1281. PINMUX_IPSR_MSEL(IP9_31_28, SIM0_CLK_B, SEL_SIM_1),
  1282. PINMUX_IPSR_MSEL(IP9_31_28, VI3_CLK_B, SEL_VI3_1),
  1283. PINMUX_IPSR_DATA(IP10_3_0, SD1_WP),
  1284. PINMUX_IPSR_DATA(IP10_3_0, MMC1_D7),
  1285. PINMUX_IPSR_MSEL(IP10_3_0, TS_SPSYNC1, SEL_TSIF1_0),
  1286. PINMUX_IPSR_DATA(IP10_3_0, USB1_IDIN),
  1287. PINMUX_IPSR_MSEL(IP10_3_0, GLO_RFON, SEL_GPS_0),
  1288. PINMUX_IPSR_MSEL(IP10_3_0, VI1_CLK_B, SEL_VI1_1),
  1289. PINMUX_IPSR_MSEL(IP10_3_0, IIC2_SDA_D, SEL_IIC2_3),
  1290. PINMUX_IPSR_MSEL(IP10_3_0, I2C2_SDA_D, SEL_I2C2_3),
  1291. PINMUX_IPSR_MSEL(IP10_3_0, SIM0_D_B, SEL_SIM_1),
  1292. PINMUX_IPSR_DATA(IP10_6_4, SD2_CLK),
  1293. PINMUX_IPSR_DATA(IP10_6_4, MMC0_CLK),
  1294. PINMUX_IPSR_MSEL(IP10_6_4, SIM0_CLK, SEL_SIM_0),
  1295. PINMUX_IPSR_MSEL(IP10_6_4, VI0_DATA0_VI0_B0_B, SEL_VI0_1),
  1296. PINMUX_IPSR_MSEL(IP10_6_4, TS_SDEN0_C, SEL_TSIF0_2),
  1297. PINMUX_IPSR_MSEL(IP10_6_4, GLO_SCLK_B, SEL_GPS_1),
  1298. PINMUX_IPSR_MSEL(IP10_6_4, VI3_DATA0_B, SEL_VI3_1),
  1299. PINMUX_IPSR_DATA(IP10_10_7, SD2_CMD),
  1300. PINMUX_IPSR_DATA(IP10_10_7, MMC0_CMD),
  1301. PINMUX_IPSR_MSEL(IP10_10_7, SIM0_D, SEL_SIM_0),
  1302. PINMUX_IPSR_MSEL(IP10_10_7, VI0_DATA1_VI0_B1_B, SEL_VI0_1),
  1303. PINMUX_IPSR_MSEL(IP10_10_7, SCIFB1_SCK_E, SEL_SCIFB1_4),
  1304. PINMUX_IPSR_MSEL(IP10_10_7, SCK1_D, SEL_SCIF1_3),
  1305. PINMUX_IPSR_MSEL(IP10_10_7, TS_SPSYNC0_C, SEL_TSIF0_2),
  1306. PINMUX_IPSR_MSEL(IP10_10_7, GLO_SDATA_B, SEL_GPS_1),
  1307. PINMUX_IPSR_MSEL(IP10_10_7, VI3_DATA1_B, SEL_VI3_1),
  1308. PINMUX_IPSR_DATA(IP10_14_11, SD2_DAT0),
  1309. PINMUX_IPSR_DATA(IP10_14_11, MMC0_D0),
  1310. PINMUX_IPSR_MSEL(IP10_14_11, FMCLK_B, SEL_FM_1),
  1311. PINMUX_IPSR_MSEL(IP10_14_11, VI0_DATA2_VI0_B2_B, SEL_VI0_1),
  1312. PINMUX_IPSR_MSEL(IP10_14_11, SCIFB1_RXD_E, SEL_SCIFB1_4),
  1313. PINMUX_IPSR_MSEL(IP10_14_11, RX1_D, SEL_SCIF1_3),
  1314. PINMUX_IPSR_MSEL(IP10_14_11, TS_SDAT0_C, SEL_TSIF0_2),
  1315. PINMUX_IPSR_MSEL(IP10_14_11, GLO_SS_B, SEL_GPS_1),
  1316. PINMUX_IPSR_MSEL(IP10_14_11, VI3_DATA2_B, SEL_VI3_1),
  1317. PINMUX_IPSR_DATA(IP10_18_15, SD2_DAT1),
  1318. PINMUX_IPSR_DATA(IP10_18_15, MMC0_D1),
  1319. PINMUX_IPSR_MSEL(IP10_18_15, FMIN_B, SEL_FM_1),
  1320. PINMUX_IPSR_MSEL(IP10_18_15, VI0_DATA3_VI0_B3_B, SEL_VI0_1),
  1321. PINMUX_IPSR_MSEL(IP10_18_15, SCIFB1_TXD_E, SEL_SCIFB1_4),
  1322. PINMUX_IPSR_MSEL(IP10_18_15, TX1_D, SEL_SCIF1_3),
  1323. PINMUX_IPSR_MSEL(IP10_18_15, TS_SCK0_C, SEL_TSIF0_2),
  1324. PINMUX_IPSR_MSEL(IP10_18_15, GLO_RFON_B, SEL_GPS_1),
  1325. PINMUX_IPSR_MSEL(IP10_18_15, VI3_DATA3_B, SEL_VI3_1),
  1326. PINMUX_IPSR_DATA(IP10_22_19, SD2_DAT2),
  1327. PINMUX_IPSR_DATA(IP10_22_19, MMC0_D2),
  1328. PINMUX_IPSR_MSEL(IP10_22_19, BPFCLK_B, SEL_FM_1),
  1329. PINMUX_IPSR_MSEL(IP10_22_19, VI0_DATA4_VI0_B4_B, SEL_VI0_1),
  1330. PINMUX_IPSR_MSEL(IP10_22_19, HRX0_D, SEL_HSCIF0_3),
  1331. PINMUX_IPSR_MSEL(IP10_22_19, TS_SDEN1_B, SEL_TSIF1_1),
  1332. PINMUX_IPSR_MSEL(IP10_22_19, GLO_Q0_B, SEL_GPS_1),
  1333. PINMUX_IPSR_MSEL(IP10_22_19, VI3_DATA4_B, SEL_VI3_1),
  1334. PINMUX_IPSR_DATA(IP10_25_23, SD2_DAT3),
  1335. PINMUX_IPSR_DATA(IP10_25_23, MMC0_D3),
  1336. PINMUX_IPSR_MSEL(IP10_25_23, SIM0_RST, SEL_SIM_0),
  1337. PINMUX_IPSR_MSEL(IP10_25_23, VI0_DATA5_VI0_B5_B, SEL_VI0_1),
  1338. PINMUX_IPSR_MSEL(IP10_25_23, HTX0_D, SEL_HSCIF0_3),
  1339. PINMUX_IPSR_MSEL(IP10_25_23, TS_SPSYNC1_B, SEL_TSIF1_1),
  1340. PINMUX_IPSR_MSEL(IP10_25_23, GLO_Q1_B, SEL_GPS_1),
  1341. PINMUX_IPSR_MSEL(IP10_25_23, VI3_DATA5_B, SEL_VI3_1),
  1342. PINMUX_IPSR_DATA(IP10_29_26, SD2_CD),
  1343. PINMUX_IPSR_DATA(IP10_29_26, MMC0_D4),
  1344. PINMUX_IPSR_MSEL(IP10_29_26, TS_SDAT0_B, SEL_TSIF0_1),
  1345. PINMUX_IPSR_DATA(IP10_29_26, USB2_EXTP),
  1346. PINMUX_IPSR_MSEL(IP10_29_26, GLO_I0, SEL_GPS_0),
  1347. PINMUX_IPSR_MSEL(IP10_29_26, VI0_DATA6_VI0_B6_B, SEL_VI0_1),
  1348. PINMUX_IPSR_MSEL(IP10_29_26, HCTS0_N_D, SEL_HSCIF0_3),
  1349. PINMUX_IPSR_MSEL(IP10_29_26, TS_SDAT1_B, SEL_TSIF1_1),
  1350. PINMUX_IPSR_MSEL(IP10_29_26, GLO_I0_B, SEL_GPS_1),
  1351. PINMUX_IPSR_MSEL(IP10_29_26, VI3_DATA6_B, SEL_VI3_1),
  1352. PINMUX_IPSR_DATA(IP11_3_0, SD2_WP),
  1353. PINMUX_IPSR_DATA(IP11_3_0, MMC0_D5),
  1354. PINMUX_IPSR_MSEL(IP11_3_0, TS_SCK0_B, SEL_TSIF0_1),
  1355. PINMUX_IPSR_DATA(IP11_3_0, USB2_IDIN),
  1356. PINMUX_IPSR_MSEL(IP11_3_0, GLO_I1, SEL_GPS_0),
  1357. PINMUX_IPSR_MSEL(IP11_3_0, VI0_DATA7_VI0_B7_B, SEL_VI0_1),
  1358. PINMUX_IPSR_MSEL(IP11_3_0, HRTS0_N_D, SEL_HSCIF0_3),
  1359. PINMUX_IPSR_MSEL(IP11_3_0, TS_SCK1_B, SEL_TSIF1_1),
  1360. PINMUX_IPSR_MSEL(IP11_3_0, GLO_I1_B, SEL_GPS_1),
  1361. PINMUX_IPSR_MSEL(IP11_3_0, VI3_DATA7_B, SEL_VI3_1),
  1362. PINMUX_IPSR_DATA(IP11_4, SD3_CLK),
  1363. PINMUX_IPSR_DATA(IP11_4, MMC1_CLK),
  1364. PINMUX_IPSR_DATA(IP11_6_5, SD3_CMD),
  1365. PINMUX_IPSR_DATA(IP11_6_5, MMC1_CMD),
  1366. PINMUX_IPSR_DATA(IP11_6_5, MTS_N),
  1367. PINMUX_IPSR_DATA(IP11_8_7, SD3_DAT0),
  1368. PINMUX_IPSR_DATA(IP11_8_7, MMC1_D0),
  1369. PINMUX_IPSR_DATA(IP11_8_7, STM_N),
  1370. PINMUX_IPSR_DATA(IP11_10_9, SD3_DAT1),
  1371. PINMUX_IPSR_DATA(IP11_10_9, MMC1_D1),
  1372. PINMUX_IPSR_DATA(IP11_10_9, MDATA),
  1373. PINMUX_IPSR_DATA(IP11_12_11, SD3_DAT2),
  1374. PINMUX_IPSR_DATA(IP11_12_11, MMC1_D2),
  1375. PINMUX_IPSR_DATA(IP11_12_11, SDATA),
  1376. PINMUX_IPSR_DATA(IP11_14_13, SD3_DAT3),
  1377. PINMUX_IPSR_DATA(IP11_14_13, MMC1_D3),
  1378. PINMUX_IPSR_DATA(IP11_14_13, SCKZ),
  1379. PINMUX_IPSR_DATA(IP11_17_15, SD3_CD),
  1380. PINMUX_IPSR_DATA(IP11_17_15, MMC1_D4),
  1381. PINMUX_IPSR_MSEL(IP11_17_15, TS_SDAT1, SEL_TSIF1_0),
  1382. PINMUX_IPSR_DATA(IP11_17_15, VSP),
  1383. PINMUX_IPSR_MSEL(IP11_17_15, GLO_Q0, SEL_GPS_0),
  1384. PINMUX_IPSR_MSEL(IP11_17_15, SIM0_RST_B, SEL_SIM_1),
  1385. PINMUX_IPSR_DATA(IP11_21_18, SD3_WP),
  1386. PINMUX_IPSR_DATA(IP11_21_18, MMC1_D5),
  1387. PINMUX_IPSR_MSEL(IP11_21_18, TS_SCK1, SEL_TSIF1_0),
  1388. PINMUX_IPSR_MSEL(IP11_21_18, GLO_Q1, SEL_GPS_0),
  1389. PINMUX_IPSR_MSEL(IP11_21_18, FMIN_C, SEL_FM_2),
  1390. PINMUX_IPSR_MSEL(IP11_21_18, FMIN_E, SEL_FM_4),
  1391. PINMUX_IPSR_MSEL(IP11_21_18, FMIN_F, SEL_FM_5),
  1392. PINMUX_IPSR_DATA(IP11_23_22, MLB_CLK),
  1393. PINMUX_IPSR_MSEL(IP11_23_22, IIC2_SCL_B, SEL_IIC2_1),
  1394. PINMUX_IPSR_MSEL(IP11_23_22, I2C2_SCL_B, SEL_I2C2_1),
  1395. PINMUX_IPSR_DATA(IP11_26_24, MLB_SIG),
  1396. PINMUX_IPSR_MSEL(IP11_26_24, SCIFB1_RXD_D, SEL_SCIFB1_3),
  1397. PINMUX_IPSR_MSEL(IP11_26_24, RX1_C, SEL_SCIF1_2),
  1398. PINMUX_IPSR_MSEL(IP11_26_24, IIC2_SDA_B, SEL_IIC2_1),
  1399. PINMUX_IPSR_MSEL(IP11_26_24, I2C2_SDA_B, SEL_I2C2_1),
  1400. PINMUX_IPSR_DATA(IP11_29_27, MLB_DAT),
  1401. PINMUX_IPSR_MSEL(IP11_29_27, SCIFB1_TXD_D, SEL_SCIFB1_3),
  1402. PINMUX_IPSR_MSEL(IP11_29_27, TX1_C, SEL_SCIF1_2),
  1403. PINMUX_IPSR_MSEL(IP11_29_27, BPFCLK_C, SEL_FM_2),
  1404. PINMUX_IPSR_DATA(IP11_31_30, SSI_SCK0129),
  1405. PINMUX_IPSR_MSEL(IP11_31_30, CAN_CLK_B, SEL_CANCLK_1),
  1406. PINMUX_IPSR_DATA(IP11_31_30, MOUT0),
  1407. PINMUX_IPSR_DATA(IP12_1_0, SSI_WS0129),
  1408. PINMUX_IPSR_MSEL(IP12_1_0, CAN0_TX_B, SEL_CAN0_1),
  1409. PINMUX_IPSR_DATA(IP12_1_0, MOUT1),
  1410. PINMUX_IPSR_DATA(IP12_3_2, SSI_SDATA0),
  1411. PINMUX_IPSR_MSEL(IP12_3_2, CAN0_RX_B, SEL_CAN0_1),
  1412. PINMUX_IPSR_DATA(IP12_3_2, MOUT2),
  1413. PINMUX_IPSR_DATA(IP12_5_4, SSI_SDATA1),
  1414. PINMUX_IPSR_MSEL(IP12_5_4, CAN1_TX_B, SEL_CAN1_1),
  1415. PINMUX_IPSR_DATA(IP12_5_4, MOUT5),
  1416. PINMUX_IPSR_DATA(IP12_7_6, SSI_SDATA2),
  1417. PINMUX_IPSR_MSEL(IP12_7_6, CAN1_RX_B, SEL_CAN1_1),
  1418. PINMUX_IPSR_DATA(IP12_7_6, SSI_SCK1),
  1419. PINMUX_IPSR_DATA(IP12_7_6, MOUT6),
  1420. PINMUX_IPSR_DATA(IP12_10_8, SSI_SCK34),
  1421. PINMUX_IPSR_DATA(IP12_10_8, STP_OPWM_0),
  1422. PINMUX_IPSR_MSEL(IP12_10_8, SCIFB0_SCK, SEL_SCIFB_0),
  1423. PINMUX_IPSR_MSEL(IP12_10_8, MSIOF1_SCK, SEL_SOF1_0),
  1424. PINMUX_IPSR_DATA(IP12_10_8, CAN_DEBUG_HW_TRIGGER),
  1425. PINMUX_IPSR_DATA(IP12_13_11, SSI_WS34),
  1426. PINMUX_IPSR_MSEL(IP12_13_11, STP_IVCXO27_0, SEL_SSP_0),
  1427. PINMUX_IPSR_MSEL(IP12_13_11, SCIFB0_RXD, SEL_SCIFB_0),
  1428. PINMUX_IPSR_DATA(IP12_13_11, MSIOF1_SYNC),
  1429. PINMUX_IPSR_DATA(IP12_13_11, CAN_STEP0),
  1430. PINMUX_IPSR_DATA(IP12_16_14, SSI_SDATA3),
  1431. PINMUX_IPSR_MSEL(IP12_16_14, STP_ISCLK_0, SEL_SSP_0),
  1432. PINMUX_IPSR_MSEL(IP12_16_14, SCIFB0_TXD, SEL_SCIFB_0),
  1433. PINMUX_IPSR_MSEL(IP12_16_14, MSIOF1_SS1, SEL_SOF1_0),
  1434. PINMUX_IPSR_DATA(IP12_16_14, CAN_TXCLK),
  1435. PINMUX_IPSR_DATA(IP12_19_17, SSI_SCK4),
  1436. PINMUX_IPSR_MSEL(IP12_19_17, STP_ISD_0, SEL_SSP_0),
  1437. PINMUX_IPSR_MSEL(IP12_19_17, SCIFB0_CTS_N, SEL_SCIFB_0),
  1438. PINMUX_IPSR_MSEL(IP12_19_17, MSIOF1_SS2, SEL_SOF1_0),
  1439. PINMUX_IPSR_MSEL(IP12_19_17, SSI_SCK5_C, SEL_SSI5_2),
  1440. PINMUX_IPSR_DATA(IP12_19_17, CAN_DEBUGOUT0),
  1441. PINMUX_IPSR_DATA(IP12_22_20, SSI_WS4),
  1442. PINMUX_IPSR_MSEL(IP12_22_20, STP_ISEN_0, SEL_SSP_0),
  1443. PINMUX_IPSR_MSEL(IP12_22_20, SCIFB0_RTS_N, SEL_SCIFB_0),
  1444. PINMUX_IPSR_MSEL(IP12_22_20, MSIOF1_TXD, SEL_SOF1_0),
  1445. PINMUX_IPSR_MSEL(IP12_22_20, SSI_WS5_C, SEL_SSI5_2),
  1446. PINMUX_IPSR_DATA(IP12_22_20, CAN_DEBUGOUT1),
  1447. PINMUX_IPSR_DATA(IP12_24_23, SSI_SDATA4),
  1448. PINMUX_IPSR_MSEL(IP12_24_23, STP_ISSYNC_0, SEL_SSP_0),
  1449. PINMUX_IPSR_MSEL(IP12_24_23, MSIOF1_RXD, SEL_SOF1_0),
  1450. PINMUX_IPSR_DATA(IP12_24_23, CAN_DEBUGOUT2),
  1451. PINMUX_IPSR_MSEL(IP12_27_25, SSI_SCK5, SEL_SSI5_0),
  1452. PINMUX_IPSR_MSEL(IP12_27_25, SCIFB1_SCK, SEL_SCIFB1_0),
  1453. PINMUX_IPSR_MSEL(IP12_27_25, IERX_B, SEL_IEB_1),
  1454. PINMUX_IPSR_DATA(IP12_27_25, DU2_EXHSYNC_DU2_HSYNC),
  1455. PINMUX_IPSR_DATA(IP12_27_25, QSTH_QHS),
  1456. PINMUX_IPSR_DATA(IP12_27_25, CAN_DEBUGOUT3),
  1457. PINMUX_IPSR_MSEL(IP12_30_28, SSI_WS5, SEL_SSI5_0),
  1458. PINMUX_IPSR_MSEL(IP12_30_28, SCIFB1_RXD, SEL_SCIFB1_0),
  1459. PINMUX_IPSR_MSEL(IP12_30_28, IECLK_B, SEL_IEB_1),
  1460. PINMUX_IPSR_DATA(IP12_30_28, DU2_EXVSYNC_DU2_VSYNC),
  1461. PINMUX_IPSR_DATA(IP12_30_28, QSTB_QHE),
  1462. PINMUX_IPSR_DATA(IP12_30_28, CAN_DEBUGOUT4),
  1463. PINMUX_IPSR_MSEL(IP13_2_0, SSI_SDATA5, SEL_SSI5_0),
  1464. PINMUX_IPSR_MSEL(IP13_2_0, SCIFB1_TXD, SEL_SCIFB1_0),
  1465. PINMUX_IPSR_MSEL(IP13_2_0, IETX_B, SEL_IEB_1),
  1466. PINMUX_IPSR_DATA(IP13_2_0, DU2_DR2),
  1467. PINMUX_IPSR_DATA(IP13_2_0, LCDOUT2),
  1468. PINMUX_IPSR_DATA(IP13_2_0, CAN_DEBUGOUT5),
  1469. PINMUX_IPSR_MSEL(IP13_6_3, SSI_SCK6, SEL_SSI6_0),
  1470. PINMUX_IPSR_MSEL(IP13_6_3, SCIFB1_CTS_N, SEL_SCIFB1_0),
  1471. PINMUX_IPSR_MSEL(IP13_6_3, BPFCLK_D, SEL_FM_3),
  1472. PINMUX_IPSR_DATA(IP13_6_3, DU2_DR3),
  1473. PINMUX_IPSR_DATA(IP13_6_3, LCDOUT3),
  1474. PINMUX_IPSR_DATA(IP13_6_3, CAN_DEBUGOUT6),
  1475. PINMUX_IPSR_MSEL(IP13_6_3, BPFCLK_F, SEL_FM_5),
  1476. PINMUX_IPSR_MSEL(IP13_9_7, SSI_WS6, SEL_SSI6_0),
  1477. PINMUX_IPSR_MSEL(IP13_9_7, SCIFB1_RTS_N, SEL_SCIFB1_0),
  1478. PINMUX_IPSR_MSEL(IP13_9_7, CAN0_TX_D, SEL_CAN0_3),
  1479. PINMUX_IPSR_DATA(IP13_9_7, DU2_DR4),
  1480. PINMUX_IPSR_DATA(IP13_9_7, LCDOUT4),
  1481. PINMUX_IPSR_DATA(IP13_9_7, CAN_DEBUGOUT7),
  1482. PINMUX_IPSR_MSEL(IP13_12_10, SSI_SDATA6, SEL_SSI6_0),
  1483. PINMUX_IPSR_MSEL(IP13_12_10, FMIN_D, SEL_FM_3),
  1484. PINMUX_IPSR_DATA(IP13_12_10, DU2_DR5),
  1485. PINMUX_IPSR_DATA(IP13_12_10, LCDOUT5),
  1486. PINMUX_IPSR_DATA(IP13_12_10, CAN_DEBUGOUT8),
  1487. PINMUX_IPSR_MSEL(IP13_15_13, SSI_SCK78, SEL_SSI7_0),
  1488. PINMUX_IPSR_MSEL(IP13_15_13, STP_IVCXO27_1, SEL_SSP_0),
  1489. PINMUX_IPSR_MSEL(IP13_15_13, SCK1, SEL_SCIF1_0),
  1490. PINMUX_IPSR_MSEL(IP13_15_13, SCIFA1_SCK, SEL_SCIFA1_0),
  1491. PINMUX_IPSR_DATA(IP13_15_13, DU2_DR6),
  1492. PINMUX_IPSR_DATA(IP13_15_13, LCDOUT6),
  1493. PINMUX_IPSR_DATA(IP13_15_13, CAN_DEBUGOUT9),
  1494. PINMUX_IPSR_MSEL(IP13_18_16, SSI_WS78, SEL_SSI7_0),
  1495. PINMUX_IPSR_MSEL(IP13_18_16, STP_ISCLK_1, SEL_SSP_0),
  1496. PINMUX_IPSR_MSEL(IP13_18_16, SCIFB2_SCK, SEL_SCIFB2_0),
  1497. PINMUX_IPSR_DATA(IP13_18_16, SCIFA2_CTS_N),
  1498. PINMUX_IPSR_DATA(IP13_18_16, DU2_DR7),
  1499. PINMUX_IPSR_DATA(IP13_18_16, LCDOUT7),
  1500. PINMUX_IPSR_DATA(IP13_18_16, CAN_DEBUGOUT10),
  1501. PINMUX_IPSR_MSEL(IP13_22_19, SSI_SDATA7, SEL_SSI7_0),
  1502. PINMUX_IPSR_MSEL(IP13_22_19, STP_ISD_1, SEL_SSP_0),
  1503. PINMUX_IPSR_MSEL(IP13_22_19, SCIFB2_RXD, SEL_SCIFB2_0),
  1504. PINMUX_IPSR_DATA(IP13_22_19, SCIFA2_RTS_N),
  1505. PINMUX_IPSR_DATA(IP13_22_19, TCLK2),
  1506. PINMUX_IPSR_DATA(IP13_22_19, QSTVA_QVS),
  1507. PINMUX_IPSR_DATA(IP13_22_19, CAN_DEBUGOUT11),
  1508. PINMUX_IPSR_MSEL(IP13_22_19, BPFCLK_E, SEL_FM_4),
  1509. PINMUX_IPSR_MSEL(IP13_22_19, SSI_SDATA7_B, SEL_SSI7_1),
  1510. PINMUX_IPSR_MSEL(IP13_22_19, FMIN_G, SEL_FM_6),
  1511. PINMUX_IPSR_MSEL(IP13_25_23, SSI_SDATA8, SEL_SSI8_0),
  1512. PINMUX_IPSR_MSEL(IP13_25_23, STP_ISEN_1, SEL_SSP_0),
  1513. PINMUX_IPSR_MSEL(IP13_25_23, SCIFB2_TXD, SEL_SCIFB2_0),
  1514. PINMUX_IPSR_MSEL(IP13_25_23, CAN0_TX_C, SEL_CAN0_2),
  1515. PINMUX_IPSR_DATA(IP13_25_23, CAN_DEBUGOUT12),
  1516. PINMUX_IPSR_MSEL(IP13_25_23, SSI_SDATA8_B, SEL_SSI8_1),
  1517. PINMUX_IPSR_DATA(IP13_28_26, SSI_SDATA9),
  1518. PINMUX_IPSR_MSEL(IP13_28_26, STP_ISSYNC_1, SEL_SSP_0),
  1519. PINMUX_IPSR_MSEL(IP13_28_26, SCIFB2_CTS_N, SEL_SCIFB2_0),
  1520. PINMUX_IPSR_DATA(IP13_28_26, SSI_WS1),
  1521. PINMUX_IPSR_MSEL(IP13_28_26, SSI_SDATA5_C, SEL_SSI5_2),
  1522. PINMUX_IPSR_DATA(IP13_28_26, CAN_DEBUGOUT13),
  1523. PINMUX_IPSR_DATA(IP13_30_29, AUDIO_CLKA),
  1524. PINMUX_IPSR_MSEL(IP13_30_29, SCIFB2_RTS_N, SEL_SCIFB2_0),
  1525. PINMUX_IPSR_DATA(IP13_30_29, CAN_DEBUGOUT14),
  1526. PINMUX_IPSR_DATA(IP14_2_0, AUDIO_CLKB),
  1527. PINMUX_IPSR_MSEL(IP14_2_0, SCIF_CLK, SEL_SCIFCLK_0),
  1528. PINMUX_IPSR_MSEL(IP14_2_0, CAN0_RX_D, SEL_CAN0_3),
  1529. PINMUX_IPSR_DATA(IP14_2_0, DVC_MUTE),
  1530. PINMUX_IPSR_MSEL(IP14_2_0, CAN0_RX_C, SEL_CAN0_2),
  1531. PINMUX_IPSR_DATA(IP14_2_0, CAN_DEBUGOUT15),
  1532. PINMUX_IPSR_DATA(IP14_2_0, REMOCON),
  1533. PINMUX_IPSR_MSEL(IP14_5_3, SCIFA0_SCK, SEL_SCFA_0),
  1534. PINMUX_IPSR_MSEL(IP14_5_3, HSCK1, SEL_HSCIF1_0),
  1535. PINMUX_IPSR_DATA(IP14_5_3, SCK0),
  1536. PINMUX_IPSR_DATA(IP14_5_3, MSIOF3_SS2),
  1537. PINMUX_IPSR_DATA(IP14_5_3, DU2_DG2),
  1538. PINMUX_IPSR_DATA(IP14_5_3, LCDOUT10),
  1539. PINMUX_IPSR_MSEL(IP14_5_3, IIC1_SDA_C, SEL_IIC1_2),
  1540. PINMUX_IPSR_MSEL(IP14_5_3, I2C1_SDA_C, SEL_I2C1_2),
  1541. PINMUX_IPSR_MSEL(IP14_8_6, SCIFA0_RXD, SEL_SCFA_0),
  1542. PINMUX_IPSR_MSEL(IP14_8_6, HRX1, SEL_HSCIF1_0),
  1543. PINMUX_IPSR_MSEL(IP14_8_6, RX0, SEL_SCIF0_0),
  1544. PINMUX_IPSR_DATA(IP14_8_6, DU2_DR0),
  1545. PINMUX_IPSR_DATA(IP14_8_6, LCDOUT0),
  1546. PINMUX_IPSR_MSEL(IP14_11_9, SCIFA0_TXD, SEL_SCFA_0),
  1547. PINMUX_IPSR_MSEL(IP14_11_9, HTX1, SEL_HSCIF1_0),
  1548. PINMUX_IPSR_MSEL(IP14_11_9, TX0, SEL_SCIF0_0),
  1549. PINMUX_IPSR_DATA(IP14_11_9, DU2_DR1),
  1550. PINMUX_IPSR_DATA(IP14_11_9, LCDOUT1),
  1551. PINMUX_IPSR_MSEL(IP14_15_12, SCIFA0_CTS_N, SEL_SCFA_0),
  1552. PINMUX_IPSR_MSEL(IP14_15_12, HCTS1_N, SEL_HSCIF1_0),
  1553. PINMUX_IPSR_DATA(IP14_15_12, CTS0_N),
  1554. PINMUX_IPSR_MSEL(IP14_15_12, MSIOF3_SYNC, SEL_SOF3_0),
  1555. PINMUX_IPSR_DATA(IP14_15_12, DU2_DG3),
  1556. PINMUX_IPSR_DATA(IP14_15_12, LCDOUT11),
  1557. PINMUX_IPSR_DATA(IP14_15_12, PWM0_B),
  1558. PINMUX_IPSR_MSEL(IP14_15_12, IIC1_SCL_C, SEL_IIC1_2),
  1559. PINMUX_IPSR_MSEL(IP14_15_12, I2C1_SCL_C, SEL_I2C1_2),
  1560. PINMUX_IPSR_MSEL(IP14_18_16, SCIFA0_RTS_N, SEL_SCFA_0),
  1561. PINMUX_IPSR_MSEL(IP14_18_16, HRTS1_N, SEL_HSCIF1_0),
  1562. PINMUX_IPSR_DATA(IP14_18_16, RTS0_N),
  1563. PINMUX_IPSR_DATA(IP14_18_16, MSIOF3_SS1),
  1564. PINMUX_IPSR_DATA(IP14_18_16, DU2_DG0),
  1565. PINMUX_IPSR_DATA(IP14_18_16, LCDOUT8),
  1566. PINMUX_IPSR_DATA(IP14_18_16, PWM1_B),
  1567. PINMUX_IPSR_MSEL(IP14_21_19, SCIFA1_RXD, SEL_SCIFA1_0),
  1568. PINMUX_IPSR_MSEL(IP14_21_19, AD_DI, SEL_ADI_0),
  1569. PINMUX_IPSR_MSEL(IP14_21_19, RX1, SEL_SCIF1_0),
  1570. PINMUX_IPSR_DATA(IP14_21_19, DU2_EXODDF_DU2_ODDF_DISP_CDE),
  1571. PINMUX_IPSR_DATA(IP14_21_19, QCPV_QDE),
  1572. PINMUX_IPSR_MSEL(IP14_24_22, SCIFA1_TXD, SEL_SCIFA1_0),
  1573. PINMUX_IPSR_MSEL(IP14_24_22, AD_DO, SEL_ADI_0),
  1574. PINMUX_IPSR_MSEL(IP14_24_22, TX1, SEL_SCIF1_0),
  1575. PINMUX_IPSR_DATA(IP14_24_22, DU2_DG1),
  1576. PINMUX_IPSR_DATA(IP14_24_22, LCDOUT9),
  1577. PINMUX_IPSR_MSEL(IP14_27_25, SCIFA1_CTS_N, SEL_SCIFA1_0),
  1578. PINMUX_IPSR_MSEL(IP14_27_25, AD_CLK, SEL_ADI_0),
  1579. PINMUX_IPSR_DATA(IP14_27_25, CTS1_N),
  1580. PINMUX_IPSR_MSEL(IP14_27_25, MSIOF3_RXD, SEL_SOF3_0),
  1581. PINMUX_IPSR_DATA(IP14_27_25, DU0_DOTCLKOUT),
  1582. PINMUX_IPSR_DATA(IP14_27_25, QCLK),
  1583. PINMUX_IPSR_MSEL(IP14_30_28, SCIFA1_RTS_N, SEL_SCIFA1_0),
  1584. PINMUX_IPSR_MSEL(IP14_30_28, AD_NCS_N, SEL_ADI_0),
  1585. PINMUX_IPSR_DATA(IP14_30_28, RTS1_N),
  1586. PINMUX_IPSR_MSEL(IP14_30_28, MSIOF3_TXD, SEL_SOF3_0),
  1587. PINMUX_IPSR_DATA(IP14_30_28, DU1_DOTCLKOUT),
  1588. PINMUX_IPSR_DATA(IP14_30_28, QSTVB_QVE),
  1589. PINMUX_IPSR_MSEL(IP14_30_28, HRTS0_N_C, SEL_HSCIF0_2),
  1590. PINMUX_IPSR_MSEL(IP15_2_0, SCIFA2_SCK, SEL_SCIFA2_0),
  1591. PINMUX_IPSR_MSEL(IP15_2_0, FMCLK, SEL_FM_0),
  1592. PINMUX_IPSR_DATA(IP15_2_0, SCK2),
  1593. PINMUX_IPSR_MSEL(IP15_2_0, MSIOF3_SCK, SEL_SOF3_0),
  1594. PINMUX_IPSR_DATA(IP15_2_0, DU2_DG7),
  1595. PINMUX_IPSR_DATA(IP15_2_0, LCDOUT15),
  1596. PINMUX_IPSR_MSEL(IP15_2_0, SCIF_CLK_B, SEL_SCIFCLK_1),
  1597. PINMUX_IPSR_MSEL(IP15_5_3, SCIFA2_RXD, SEL_SCIFA2_0),
  1598. PINMUX_IPSR_MSEL(IP15_5_3, FMIN, SEL_FM_0),
  1599. PINMUX_IPSR_MSEL(IP15_5_3, TX2, SEL_SCIF2_0),
  1600. PINMUX_IPSR_DATA(IP15_5_3, DU2_DB0),
  1601. PINMUX_IPSR_DATA(IP15_5_3, LCDOUT16),
  1602. PINMUX_IPSR_MSEL(IP15_5_3, IIC2_SCL, SEL_IIC2_0),
  1603. PINMUX_IPSR_MSEL(IP15_5_3, I2C2_SCL, SEL_I2C2_0),
  1604. PINMUX_IPSR_MSEL(IP15_8_6, SCIFA2_TXD, SEL_SCIFA2_0),
  1605. PINMUX_IPSR_MSEL(IP15_8_6, BPFCLK, SEL_FM_0),
  1606. PINMUX_IPSR_MSEL(IP15_8_6, RX2, SEL_SCIF2_0),
  1607. PINMUX_IPSR_DATA(IP15_8_6, DU2_DB1),
  1608. PINMUX_IPSR_DATA(IP15_8_6, LCDOUT17),
  1609. PINMUX_IPSR_MSEL(IP15_8_6, IIC2_SDA, SEL_IIC2_0),
  1610. PINMUX_IPSR_MSEL(IP15_8_6, I2C2_SDA, SEL_I2C2_0),
  1611. PINMUX_IPSR_DATA(IP15_11_9, HSCK0),
  1612. PINMUX_IPSR_MSEL(IP15_11_9, TS_SDEN0, SEL_TSIF0_0),
  1613. PINMUX_IPSR_DATA(IP15_11_9, DU2_DG4),
  1614. PINMUX_IPSR_DATA(IP15_11_9, LCDOUT12),
  1615. PINMUX_IPSR_MSEL(IP15_11_9, HCTS0_N_C, SEL_HSCIF0_2),
  1616. PINMUX_IPSR_MSEL(IP15_13_12, HRX0, SEL_HSCIF0_0),
  1617. PINMUX_IPSR_DATA(IP15_13_12, DU2_DB2),
  1618. PINMUX_IPSR_DATA(IP15_13_12, LCDOUT18),
  1619. PINMUX_IPSR_MSEL(IP15_15_14, HTX0, SEL_HSCIF0_0),
  1620. PINMUX_IPSR_DATA(IP15_15_14, DU2_DB3),
  1621. PINMUX_IPSR_DATA(IP15_15_14, LCDOUT19),
  1622. PINMUX_IPSR_MSEL(IP15_17_16, HCTS0_N, SEL_HSCIF0_0),
  1623. PINMUX_IPSR_DATA(IP15_17_16, SSI_SCK9),
  1624. PINMUX_IPSR_DATA(IP15_17_16, DU2_DB4),
  1625. PINMUX_IPSR_DATA(IP15_17_16, LCDOUT20),
  1626. PINMUX_IPSR_MSEL(IP15_19_18, HRTS0_N, SEL_HSCIF0_0),
  1627. PINMUX_IPSR_DATA(IP15_19_18, SSI_WS9),
  1628. PINMUX_IPSR_DATA(IP15_19_18, DU2_DB5),
  1629. PINMUX_IPSR_DATA(IP15_19_18, LCDOUT21),
  1630. PINMUX_IPSR_MSEL(IP15_22_20, MSIOF0_SCK, SEL_SOF0_0),
  1631. PINMUX_IPSR_MSEL(IP15_22_20, TS_SDAT0, SEL_TSIF0_0),
  1632. PINMUX_IPSR_DATA(IP15_22_20, ADICLK),
  1633. PINMUX_IPSR_DATA(IP15_22_20, DU2_DB6),
  1634. PINMUX_IPSR_DATA(IP15_22_20, LCDOUT22),
  1635. PINMUX_IPSR_DATA(IP15_25_23, MSIOF0_SYNC),
  1636. PINMUX_IPSR_MSEL(IP15_25_23, TS_SCK0, SEL_TSIF0_0),
  1637. PINMUX_IPSR_DATA(IP15_25_23, SSI_SCK2),
  1638. PINMUX_IPSR_DATA(IP15_25_23, ADIDATA),
  1639. PINMUX_IPSR_DATA(IP15_25_23, DU2_DB7),
  1640. PINMUX_IPSR_DATA(IP15_25_23, LCDOUT23),
  1641. PINMUX_IPSR_MSEL(IP15_25_23, HRX0_C, SEL_SCIFA2_1),
  1642. PINMUX_IPSR_MSEL(IP15_27_26, MSIOF0_SS1, SEL_SOF0_0),
  1643. PINMUX_IPSR_DATA(IP15_27_26, ADICHS0),
  1644. PINMUX_IPSR_DATA(IP15_27_26, DU2_DG5),
  1645. PINMUX_IPSR_DATA(IP15_27_26, LCDOUT13),
  1646. PINMUX_IPSR_MSEL(IP15_29_28, MSIOF0_TXD, SEL_SOF0_0),
  1647. PINMUX_IPSR_DATA(IP15_29_28, ADICHS1),
  1648. PINMUX_IPSR_DATA(IP15_29_28, DU2_DG6),
  1649. PINMUX_IPSR_DATA(IP15_29_28, LCDOUT14),
  1650. PINMUX_IPSR_MSEL(IP16_2_0, MSIOF0_SS2, SEL_SOF0_0),
  1651. PINMUX_IPSR_DATA(IP16_2_0, AUDIO_CLKOUT),
  1652. PINMUX_IPSR_DATA(IP16_2_0, ADICHS2),
  1653. PINMUX_IPSR_DATA(IP16_2_0, DU2_DISP),
  1654. PINMUX_IPSR_DATA(IP16_2_0, QPOLA),
  1655. PINMUX_IPSR_MSEL(IP16_2_0, HTX0_C, SEL_HSCIF0_2),
  1656. PINMUX_IPSR_MSEL(IP16_2_0, SCIFA2_TXD_B, SEL_SCIFA2_1),
  1657. PINMUX_IPSR_MSEL(IP16_5_3, MSIOF0_RXD, SEL_SOF0_0),
  1658. PINMUX_IPSR_MSEL(IP16_5_3, TS_SPSYNC0, SEL_TSIF0_0),
  1659. PINMUX_IPSR_DATA(IP16_5_3, SSI_WS2),
  1660. PINMUX_IPSR_DATA(IP16_5_3, ADICS_SAMP),
  1661. PINMUX_IPSR_DATA(IP16_5_3, DU2_CDE),
  1662. PINMUX_IPSR_DATA(IP16_5_3, QPOLB),
  1663. PINMUX_IPSR_MSEL(IP16_5_3, SCIFA2_RXD_B, SEL_HSCIF0_2),
  1664. PINMUX_IPSR_DATA(IP16_6, USB1_PWEN),
  1665. PINMUX_IPSR_DATA(IP16_6, AUDIO_CLKOUT_D),
  1666. PINMUX_IPSR_DATA(IP16_7, USB1_OVC),
  1667. PINMUX_IPSR_MSEL(IP16_7, TCLK1_B, SEL_TMU1_1),
  1668. PINMUX_DATA(IIC0_SCL_MARK, FN_SEL_IIC0_0),
  1669. PINMUX_DATA(IIC0_SDA_MARK, FN_SEL_IIC0_0),
  1670. PINMUX_DATA(I2C0_SCL_MARK, FN_SEL_IIC0_1),
  1671. PINMUX_DATA(I2C0_SDA_MARK, FN_SEL_IIC0_1),
  1672. PINMUX_DATA(IIC3_SCL_MARK, FN_SEL_IICDVFS_0),
  1673. PINMUX_DATA(IIC3_SDA_MARK, FN_SEL_IICDVFS_0),
  1674. PINMUX_DATA(I2C3_SCL_MARK, FN_SEL_IICDVFS_1),
  1675. PINMUX_DATA(I2C3_SDA_MARK, FN_SEL_IICDVFS_1),
  1676. };
  1677. /* R8A7790 has 6 banks with 32 GPIOs in each = 192 GPIOs */
  1678. #define ROW_GROUP_A(r) ('Z' - 'A' + 1 + (r))
  1679. #define PIN_NUMBER(r, c) (((r) - 'A') * 31 + (c) + 200)
  1680. #define PIN_A_NUMBER(r, c) PIN_NUMBER(ROW_GROUP_A(r), c)
  1681. static const struct sh_pfc_pin pinmux_pins[] = {
  1682. PINMUX_GPIO_GP_ALL(),
  1683. /* Pins not associated with a GPIO port */
  1684. SH_PFC_PIN_NAMED(ROW_GROUP_A('F'), 15, AF15),
  1685. SH_PFC_PIN_NAMED(ROW_GROUP_A('G'), 15, AG15),
  1686. SH_PFC_PIN_NAMED(ROW_GROUP_A('H'), 15, AH15),
  1687. SH_PFC_PIN_NAMED(ROW_GROUP_A('J'), 15, AJ15),
  1688. };
  1689. /* - AUDIO CLOCK ------------------------------------------------------------ */
  1690. static const unsigned int audio_clk_a_pins[] = {
  1691. /* CLK A */
  1692. RCAR_GP_PIN(4, 25),
  1693. };
  1694. static const unsigned int audio_clk_a_mux[] = {
  1695. AUDIO_CLKA_MARK,
  1696. };
  1697. static const unsigned int audio_clk_b_pins[] = {
  1698. /* CLK B */
  1699. RCAR_GP_PIN(4, 26),
  1700. };
  1701. static const unsigned int audio_clk_b_mux[] = {
  1702. AUDIO_CLKB_MARK,
  1703. };
  1704. static const unsigned int audio_clk_c_pins[] = {
  1705. /* CLK C */
  1706. RCAR_GP_PIN(5, 27),
  1707. };
  1708. static const unsigned int audio_clk_c_mux[] = {
  1709. AUDIO_CLKC_MARK,
  1710. };
  1711. static const unsigned int audio_clkout_pins[] = {
  1712. /* CLK OUT */
  1713. RCAR_GP_PIN(5, 16),
  1714. };
  1715. static const unsigned int audio_clkout_mux[] = {
  1716. AUDIO_CLKOUT_MARK,
  1717. };
  1718. static const unsigned int audio_clkout_b_pins[] = {
  1719. /* CLK OUT B */
  1720. RCAR_GP_PIN(0, 23),
  1721. };
  1722. static const unsigned int audio_clkout_b_mux[] = {
  1723. AUDIO_CLKOUT_B_MARK,
  1724. };
  1725. static const unsigned int audio_clkout_c_pins[] = {
  1726. /* CLK OUT C */
  1727. RCAR_GP_PIN(5, 27),
  1728. };
  1729. static const unsigned int audio_clkout_c_mux[] = {
  1730. AUDIO_CLKOUT_C_MARK,
  1731. };
  1732. static const unsigned int audio_clkout_d_pins[] = {
  1733. /* CLK OUT D */
  1734. RCAR_GP_PIN(5, 20),
  1735. };
  1736. static const unsigned int audio_clkout_d_mux[] = {
  1737. AUDIO_CLKOUT_D_MARK,
  1738. };
  1739. /* - AVB -------------------------------------------------------------------- */
  1740. static const unsigned int avb_link_pins[] = {
  1741. RCAR_GP_PIN(3, 11),
  1742. };
  1743. static const unsigned int avb_link_mux[] = {
  1744. AVB_LINK_MARK,
  1745. };
  1746. static const unsigned int avb_magic_pins[] = {
  1747. RCAR_GP_PIN(2, 14),
  1748. };
  1749. static const unsigned int avb_magic_mux[] = {
  1750. AVB_MAGIC_MARK,
  1751. };
  1752. static const unsigned int avb_phy_int_pins[] = {
  1753. RCAR_GP_PIN(2, 15),
  1754. };
  1755. static const unsigned int avb_phy_int_mux[] = {
  1756. AVB_PHY_INT_MARK,
  1757. };
  1758. static const unsigned int avb_mdio_pins[] = {
  1759. RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 12),
  1760. };
  1761. static const unsigned int avb_mdio_mux[] = {
  1762. AVB_MDC_MARK, AVB_MDIO_MARK,
  1763. };
  1764. static const unsigned int avb_mii_pins[] = {
  1765. RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 10),
  1766. RCAR_GP_PIN(0, 11),
  1767. RCAR_GP_PIN(3, 13), RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  1768. RCAR_GP_PIN(2, 2),
  1769. RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9),
  1770. RCAR_GP_PIN(2, 10), RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 10),
  1771. RCAR_GP_PIN(3, 12),
  1772. };
  1773. static const unsigned int avb_mii_mux[] = {
  1774. AVB_TXD0_MARK, AVB_TXD1_MARK, AVB_TXD2_MARK,
  1775. AVB_TXD3_MARK,
  1776. AVB_RXD0_MARK, AVB_RXD1_MARK, AVB_RXD2_MARK,
  1777. AVB_RXD3_MARK,
  1778. AVB_RX_ER_MARK, AVB_RX_CLK_MARK, AVB_RX_DV_MARK,
  1779. AVB_CRS_MARK, AVB_TX_EN_MARK, AVB_TX_CLK_MARK,
  1780. AVB_COL_MARK,
  1781. };
  1782. static const unsigned int avb_gmii_pins[] = {
  1783. RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 10),
  1784. RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13),
  1785. RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
  1786. RCAR_GP_PIN(3, 13), RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
  1787. RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 4),
  1788. RCAR_GP_PIN(2, 5), RCAR_GP_PIN(2, 6),
  1789. RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9),
  1790. RCAR_GP_PIN(2, 10), RCAR_GP_PIN(2, 13), RCAR_GP_PIN(2, 16),
  1791. RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 10),
  1792. RCAR_GP_PIN(3, 12),
  1793. };
  1794. static const unsigned int avb_gmii_mux[] = {
  1795. AVB_TXD0_MARK, AVB_TXD1_MARK, AVB_TXD2_MARK,
  1796. AVB_TXD3_MARK, AVB_TXD4_MARK, AVB_TXD5_MARK,
  1797. AVB_TXD6_MARK, AVB_TXD7_MARK,
  1798. AVB_RXD0_MARK, AVB_RXD1_MARK, AVB_RXD2_MARK,
  1799. AVB_RXD3_MARK, AVB_RXD4_MARK, AVB_RXD5_MARK,
  1800. AVB_RXD6_MARK, AVB_RXD7_MARK,
  1801. AVB_RX_ER_MARK, AVB_RX_CLK_MARK, AVB_RX_DV_MARK,
  1802. AVB_CRS_MARK, AVB_GTX_CLK_MARK, AVB_GTXREFCLK_MARK,
  1803. AVB_TX_EN_MARK, AVB_TX_ER_MARK, AVB_TX_CLK_MARK,
  1804. AVB_COL_MARK,
  1805. };
  1806. /* - DU RGB ----------------------------------------------------------------- */
  1807. static const unsigned int du_rgb666_pins[] = {
  1808. /* R[7:2], G[7:2], B[7:2] */
  1809. RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 19),
  1810. RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 16),
  1811. RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 14),
  1812. RCAR_GP_PIN(5, 7), RCAR_GP_PIN(4, 30), RCAR_GP_PIN(4, 27),
  1813. RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 11),
  1814. RCAR_GP_PIN(5, 10), RCAR_GP_PIN(5, 9), RCAR_GP_PIN(5, 8),
  1815. };
  1816. static const unsigned int du_rgb666_mux[] = {
  1817. DU2_DR7_MARK, DU2_DR6_MARK, DU2_DR5_MARK, DU2_DR4_MARK,
  1818. DU2_DR3_MARK, DU2_DR2_MARK,
  1819. DU2_DG7_MARK, DU2_DG6_MARK, DU2_DG5_MARK, DU2_DG4_MARK,
  1820. DU2_DG3_MARK, DU2_DG2_MARK,
  1821. DU2_DB7_MARK, DU2_DB6_MARK, DU2_DB5_MARK, DU2_DB4_MARK,
  1822. DU2_DB3_MARK, DU2_DB2_MARK,
  1823. };
  1824. static const unsigned int du_rgb888_pins[] = {
  1825. /* R[7:0], G[7:0], B[7:0] */
  1826. RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 19),
  1827. RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 16),
  1828. RCAR_GP_PIN(4, 29), RCAR_GP_PIN(4, 28), RCAR_GP_PIN(5, 4),
  1829. RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 7),
  1830. RCAR_GP_PIN(4, 30), RCAR_GP_PIN(4, 27), RCAR_GP_PIN(5, 1),
  1831. RCAR_GP_PIN(4, 31), RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 12),
  1832. RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10), RCAR_GP_PIN(5, 9),
  1833. RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 6), RCAR_GP_PIN(5, 5),
  1834. };
  1835. static const unsigned int du_rgb888_mux[] = {
  1836. DU2_DR7_MARK, DU2_DR6_MARK, DU2_DR5_MARK, DU2_DR4_MARK,
  1837. DU2_DR3_MARK, DU2_DR2_MARK, DU2_DR1_MARK, DU2_DR0_MARK,
  1838. DU2_DG7_MARK, DU2_DG6_MARK, DU2_DG5_MARK, DU2_DG4_MARK,
  1839. DU2_DG3_MARK, DU2_DG2_MARK, DU2_DG1_MARK, DU2_DG0_MARK,
  1840. DU2_DB7_MARK, DU2_DB6_MARK, DU2_DB5_MARK, DU2_DB4_MARK,
  1841. DU2_DB3_MARK, DU2_DB2_MARK, DU2_DB1_MARK, DU2_DB0_MARK,
  1842. };
  1843. static const unsigned int du_clk_out_0_pins[] = {
  1844. /* CLKOUT */
  1845. RCAR_GP_PIN(5, 2),
  1846. };
  1847. static const unsigned int du_clk_out_0_mux[] = {
  1848. DU0_DOTCLKOUT_MARK
  1849. };
  1850. static const unsigned int du_clk_out_1_pins[] = {
  1851. /* CLKOUT */
  1852. RCAR_GP_PIN(5, 3),
  1853. };
  1854. static const unsigned int du_clk_out_1_mux[] = {
  1855. DU1_DOTCLKOUT_MARK
  1856. };
  1857. static const unsigned int du_sync_0_pins[] = {
  1858. /* VSYNC, HSYNC, DISP */
  1859. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 14), RCAR_GP_PIN(5, 0),
  1860. };
  1861. static const unsigned int du_sync_0_mux[] = {
  1862. DU2_EXVSYNC_DU2_VSYNC_MARK, DU2_EXHSYNC_DU2_HSYNC_MARK,
  1863. DU2_EXODDF_DU2_ODDF_DISP_CDE_MARK
  1864. };
  1865. static const unsigned int du_sync_1_pins[] = {
  1866. /* VSYNC, HSYNC, DISP */
  1867. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 14), RCAR_GP_PIN(5, 16),
  1868. };
  1869. static const unsigned int du_sync_1_mux[] = {
  1870. DU2_EXVSYNC_DU2_VSYNC_MARK, DU2_EXHSYNC_DU2_HSYNC_MARK,
  1871. DU2_DISP_MARK
  1872. };
  1873. static const unsigned int du_cde_pins[] = {
  1874. /* CDE */
  1875. RCAR_GP_PIN(5, 17),
  1876. };
  1877. static const unsigned int du_cde_mux[] = {
  1878. DU2_CDE_MARK,
  1879. };
  1880. /* - DU0 -------------------------------------------------------------------- */
  1881. static const unsigned int du0_clk_in_pins[] = {
  1882. /* CLKIN */
  1883. RCAR_GP_PIN(5, 26),
  1884. };
  1885. static const unsigned int du0_clk_in_mux[] = {
  1886. DU_DOTCLKIN0_MARK
  1887. };
  1888. /* - DU1 -------------------------------------------------------------------- */
  1889. static const unsigned int du1_clk_in_pins[] = {
  1890. /* CLKIN */
  1891. RCAR_GP_PIN(5, 27),
  1892. };
  1893. static const unsigned int du1_clk_in_mux[] = {
  1894. DU_DOTCLKIN1_MARK,
  1895. };
  1896. /* - DU2 -------------------------------------------------------------------- */
  1897. static const unsigned int du2_clk_in_pins[] = {
  1898. /* CLKIN */
  1899. RCAR_GP_PIN(5, 28),
  1900. };
  1901. static const unsigned int du2_clk_in_mux[] = {
  1902. DU_DOTCLKIN2_MARK,
  1903. };
  1904. /* - ETH -------------------------------------------------------------------- */
  1905. static const unsigned int eth_link_pins[] = {
  1906. /* LINK */
  1907. RCAR_GP_PIN(2, 22),
  1908. };
  1909. static const unsigned int eth_link_mux[] = {
  1910. ETH_LINK_MARK,
  1911. };
  1912. static const unsigned int eth_magic_pins[] = {
  1913. /* MAGIC */
  1914. RCAR_GP_PIN(2, 27),
  1915. };
  1916. static const unsigned int eth_magic_mux[] = {
  1917. ETH_MAGIC_MARK,
  1918. };
  1919. static const unsigned int eth_mdio_pins[] = {
  1920. /* MDC, MDIO */
  1921. RCAR_GP_PIN(2, 29), RCAR_GP_PIN(2, 24),
  1922. };
  1923. static const unsigned int eth_mdio_mux[] = {
  1924. ETH_MDC_MARK, ETH_MDIO_MARK,
  1925. };
  1926. static const unsigned int eth_rmii_pins[] = {
  1927. /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
  1928. RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 19),
  1929. RCAR_GP_PIN(2, 18), RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 25),
  1930. RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 23),
  1931. };
  1932. static const unsigned int eth_rmii_mux[] = {
  1933. ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_RX_ER_MARK, ETH_CRS_DV_MARK,
  1934. ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REF_CLK_MARK,
  1935. };
  1936. /* - HSCIF0 ----------------------------------------------------------------- */
  1937. static const unsigned int hscif0_data_pins[] = {
  1938. /* RX, TX */
  1939. RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 9),
  1940. };
  1941. static const unsigned int hscif0_data_mux[] = {
  1942. HRX0_MARK, HTX0_MARK,
  1943. };
  1944. static const unsigned int hscif0_clk_pins[] = {
  1945. /* SCK */
  1946. RCAR_GP_PIN(5, 7),
  1947. };
  1948. static const unsigned int hscif0_clk_mux[] = {
  1949. HSCK0_MARK,
  1950. };
  1951. static const unsigned int hscif0_ctrl_pins[] = {
  1952. /* RTS, CTS */
  1953. RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10),
  1954. };
  1955. static const unsigned int hscif0_ctrl_mux[] = {
  1956. HRTS0_N_MARK, HCTS0_N_MARK,
  1957. };
  1958. static const unsigned int hscif0_data_b_pins[] = {
  1959. /* RX, TX */
  1960. RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 12),
  1961. };
  1962. static const unsigned int hscif0_data_b_mux[] = {
  1963. HRX0_B_MARK, HTX0_B_MARK,
  1964. };
  1965. static const unsigned int hscif0_ctrl_b_pins[] = {
  1966. /* RTS, CTS */
  1967. RCAR_GP_PIN(1, 29), RCAR_GP_PIN(1, 28),
  1968. };
  1969. static const unsigned int hscif0_ctrl_b_mux[] = {
  1970. HRTS0_N_B_MARK, HCTS0_N_B_MARK,
  1971. };
  1972. static const unsigned int hscif0_data_c_pins[] = {
  1973. /* RX, TX */
  1974. RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 16),
  1975. };
  1976. static const unsigned int hscif0_data_c_mux[] = {
  1977. HRX0_C_MARK, HTX0_C_MARK,
  1978. };
  1979. static const unsigned int hscif0_ctrl_c_pins[] = {
  1980. /* RTS, CTS */
  1981. RCAR_GP_PIN(5, 3), RCAR_GP_PIN(5, 7),
  1982. };
  1983. static const unsigned int hscif0_ctrl_c_mux[] = {
  1984. HRTS0_N_C_MARK, HCTS0_N_C_MARK,
  1985. };
  1986. static const unsigned int hscif0_data_d_pins[] = {
  1987. /* RX, TX */
  1988. RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
  1989. };
  1990. static const unsigned int hscif0_data_d_mux[] = {
  1991. HRX0_D_MARK, HTX0_D_MARK,
  1992. };
  1993. static const unsigned int hscif0_ctrl_d_pins[] = {
  1994. /* RTS, CTS */
  1995. RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22),
  1996. };
  1997. static const unsigned int hscif0_ctrl_d_mux[] = {
  1998. HRTS0_N_D_MARK, HCTS0_N_D_MARK,
  1999. };
  2000. static const unsigned int hscif0_data_e_pins[] = {
  2001. /* RX, TX */
  2002. RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
  2003. };
  2004. static const unsigned int hscif0_data_e_mux[] = {
  2005. HRX0_E_MARK, HTX0_E_MARK,
  2006. };
  2007. static const unsigned int hscif0_ctrl_e_pins[] = {
  2008. /* RTS, CTS */
  2009. RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 23),
  2010. };
  2011. static const unsigned int hscif0_ctrl_e_mux[] = {
  2012. HRTS0_N_E_MARK, HCTS0_N_E_MARK,
  2013. };
  2014. static const unsigned int hscif0_data_f_pins[] = {
  2015. /* RX, TX */
  2016. RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 25),
  2017. };
  2018. static const unsigned int hscif0_data_f_mux[] = {
  2019. HRX0_F_MARK, HTX0_F_MARK,
  2020. };
  2021. static const unsigned int hscif0_ctrl_f_pins[] = {
  2022. /* RTS, CTS */
  2023. RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 24),
  2024. };
  2025. static const unsigned int hscif0_ctrl_f_mux[] = {
  2026. HRTS0_N_F_MARK, HCTS0_N_F_MARK,
  2027. };
  2028. /* - HSCIF1 ----------------------------------------------------------------- */
  2029. static const unsigned int hscif1_data_pins[] = {
  2030. /* RX, TX */
  2031. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
  2032. };
  2033. static const unsigned int hscif1_data_mux[] = {
  2034. HRX1_MARK, HTX1_MARK,
  2035. };
  2036. static const unsigned int hscif1_clk_pins[] = {
  2037. /* SCK */
  2038. RCAR_GP_PIN(4, 27),
  2039. };
  2040. static const unsigned int hscif1_clk_mux[] = {
  2041. HSCK1_MARK,
  2042. };
  2043. static const unsigned int hscif1_ctrl_pins[] = {
  2044. /* RTS, CTS */
  2045. RCAR_GP_PIN(4, 31), RCAR_GP_PIN(4, 30),
  2046. };
  2047. static const unsigned int hscif1_ctrl_mux[] = {
  2048. HRTS1_N_MARK, HCTS1_N_MARK,
  2049. };
  2050. static const unsigned int hscif1_data_b_pins[] = {
  2051. /* RX, TX */
  2052. RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 18),
  2053. };
  2054. static const unsigned int hscif1_data_b_mux[] = {
  2055. HRX1_B_MARK, HTX1_B_MARK,
  2056. };
  2057. static const unsigned int hscif1_clk_b_pins[] = {
  2058. /* SCK */
  2059. RCAR_GP_PIN(1, 28),
  2060. };
  2061. static const unsigned int hscif1_clk_b_mux[] = {
  2062. HSCK1_B_MARK,
  2063. };
  2064. static const unsigned int hscif1_ctrl_b_pins[] = {
  2065. /* RTS, CTS */
  2066. RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 13),
  2067. };
  2068. static const unsigned int hscif1_ctrl_b_mux[] = {
  2069. HRTS1_N_B_MARK, HCTS1_N_B_MARK,
  2070. };
  2071. /* - I2C0 ------------------------------------------------------------------- */
  2072. static const unsigned int i2c0_pins[] = {
  2073. /* SCL, SDA */
  2074. PIN_A_NUMBER('G', 15), PIN_A_NUMBER('F', 15),
  2075. };
  2076. static const unsigned int i2c0_mux[] = {
  2077. I2C0_SCL_MARK, I2C0_SDA_MARK,
  2078. };
  2079. /* - I2C1 ------------------------------------------------------------------- */
  2080. static const unsigned int i2c1_pins[] = {
  2081. /* SCL, SDA */
  2082. RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 17),
  2083. };
  2084. static const unsigned int i2c1_mux[] = {
  2085. I2C1_SCL_MARK, I2C1_SDA_MARK,
  2086. };
  2087. static const unsigned int i2c1_b_pins[] = {
  2088. /* SCL, SDA */
  2089. RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7),
  2090. };
  2091. static const unsigned int i2c1_b_mux[] = {
  2092. I2C1_SCL_B_MARK, I2C1_SDA_B_MARK,
  2093. };
  2094. static const unsigned int i2c1_c_pins[] = {
  2095. /* SCL, SDA */
  2096. RCAR_GP_PIN(4, 30), RCAR_GP_PIN(4, 27),
  2097. };
  2098. static const unsigned int i2c1_c_mux[] = {
  2099. I2C1_SCL_C_MARK, I2C1_SDA_C_MARK,
  2100. };
  2101. /* - I2C2 ------------------------------------------------------------------- */
  2102. static const unsigned int i2c2_pins[] = {
  2103. /* SCL, SDA */
  2104. RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
  2105. };
  2106. static const unsigned int i2c2_mux[] = {
  2107. I2C2_SCL_MARK, I2C2_SDA_MARK,
  2108. };
  2109. static const unsigned int i2c2_b_pins[] = {
  2110. /* SCL, SDA */
  2111. RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1),
  2112. };
  2113. static const unsigned int i2c2_b_mux[] = {
  2114. I2C2_SCL_B_MARK, I2C2_SDA_B_MARK,
  2115. };
  2116. static const unsigned int i2c2_c_pins[] = {
  2117. /* SCL, SDA */
  2118. RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7),
  2119. };
  2120. static const unsigned int i2c2_c_mux[] = {
  2121. I2C2_SCL_C_MARK, I2C2_SDA_C_MARK,
  2122. };
  2123. static const unsigned int i2c2_d_pins[] = {
  2124. /* SCL, SDA */
  2125. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15),
  2126. };
  2127. static const unsigned int i2c2_d_mux[] = {
  2128. I2C2_SCL_D_MARK, I2C2_SDA_D_MARK,
  2129. };
  2130. static const unsigned int i2c2_e_pins[] = {
  2131. /* SCL, SDA */
  2132. RCAR_GP_PIN(2, 18), RCAR_GP_PIN(2, 19),
  2133. };
  2134. static const unsigned int i2c2_e_mux[] = {
  2135. I2C2_SCL_E_MARK, I2C2_SDA_E_MARK,
  2136. };
  2137. /* - I2C3 ------------------------------------------------------------------- */
  2138. static const unsigned int i2c3_pins[] = {
  2139. /* SCL, SDA */
  2140. PIN_A_NUMBER('J', 15), PIN_A_NUMBER('H', 15),
  2141. };
  2142. static const unsigned int i2c3_mux[] = {
  2143. I2C3_SCL_MARK, I2C3_SDA_MARK,
  2144. };
  2145. /* - IIC0 (I2C4) ------------------------------------------------------------ */
  2146. static const unsigned int iic0_pins[] = {
  2147. /* SCL, SDA */
  2148. PIN_A_NUMBER('G', 15), PIN_A_NUMBER('F', 15),
  2149. };
  2150. static const unsigned int iic0_mux[] = {
  2151. IIC0_SCL_MARK, IIC0_SDA_MARK,
  2152. };
  2153. /* - IIC1 (I2C5) ------------------------------------------------------------ */
  2154. static const unsigned int iic1_pins[] = {
  2155. /* SCL, SDA */
  2156. RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 17),
  2157. };
  2158. static const unsigned int iic1_mux[] = {
  2159. IIC1_SCL_MARK, IIC1_SDA_MARK,
  2160. };
  2161. static const unsigned int iic1_b_pins[] = {
  2162. /* SCL, SDA */
  2163. RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7),
  2164. };
  2165. static const unsigned int iic1_b_mux[] = {
  2166. IIC1_SCL_B_MARK, IIC1_SDA_B_MARK,
  2167. };
  2168. static const unsigned int iic1_c_pins[] = {
  2169. /* SCL, SDA */
  2170. RCAR_GP_PIN(4, 30), RCAR_GP_PIN(4, 27),
  2171. };
  2172. static const unsigned int iic1_c_mux[] = {
  2173. IIC1_SCL_C_MARK, IIC1_SDA_C_MARK,
  2174. };
  2175. /* - IIC2 (I2C6) ------------------------------------------------------------ */
  2176. static const unsigned int iic2_pins[] = {
  2177. /* SCL, SDA */
  2178. RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
  2179. };
  2180. static const unsigned int iic2_mux[] = {
  2181. IIC2_SCL_MARK, IIC2_SDA_MARK,
  2182. };
  2183. static const unsigned int iic2_b_pins[] = {
  2184. /* SCL, SDA */
  2185. RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1),
  2186. };
  2187. static const unsigned int iic2_b_mux[] = {
  2188. IIC2_SCL_B_MARK, IIC2_SDA_B_MARK,
  2189. };
  2190. static const unsigned int iic2_c_pins[] = {
  2191. /* SCL, SDA */
  2192. RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7),
  2193. };
  2194. static const unsigned int iic2_c_mux[] = {
  2195. IIC2_SCL_C_MARK, IIC2_SDA_C_MARK,
  2196. };
  2197. static const unsigned int iic2_d_pins[] = {
  2198. /* SCL, SDA */
  2199. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15),
  2200. };
  2201. static const unsigned int iic2_d_mux[] = {
  2202. IIC2_SCL_D_MARK, IIC2_SDA_D_MARK,
  2203. };
  2204. static const unsigned int iic2_e_pins[] = {
  2205. /* SCL, SDA */
  2206. RCAR_GP_PIN(2, 18), RCAR_GP_PIN(2, 19),
  2207. };
  2208. static const unsigned int iic2_e_mux[] = {
  2209. IIC2_SCL_E_MARK, IIC2_SDA_E_MARK,
  2210. };
  2211. /* - IIC3 (I2C7) ------------------------------------------------------------ */
  2212. static const unsigned int iic3_pins[] = {
  2213. /* SCL, SDA */
  2214. PIN_A_NUMBER('J', 15), PIN_A_NUMBER('H', 15),
  2215. };
  2216. static const unsigned int iic3_mux[] = {
  2217. IIC3_SCL_MARK, IIC3_SDA_MARK,
  2218. };
  2219. /* - INTC ------------------------------------------------------------------- */
  2220. static const unsigned int intc_irq0_pins[] = {
  2221. /* IRQ */
  2222. RCAR_GP_PIN(1, 25),
  2223. };
  2224. static const unsigned int intc_irq0_mux[] = {
  2225. IRQ0_MARK,
  2226. };
  2227. static const unsigned int intc_irq1_pins[] = {
  2228. /* IRQ */
  2229. RCAR_GP_PIN(1, 27),
  2230. };
  2231. static const unsigned int intc_irq1_mux[] = {
  2232. IRQ1_MARK,
  2233. };
  2234. static const unsigned int intc_irq2_pins[] = {
  2235. /* IRQ */
  2236. RCAR_GP_PIN(1, 29),
  2237. };
  2238. static const unsigned int intc_irq2_mux[] = {
  2239. IRQ2_MARK,
  2240. };
  2241. static const unsigned int intc_irq3_pins[] = {
  2242. /* IRQ */
  2243. RCAR_GP_PIN(1, 23),
  2244. };
  2245. static const unsigned int intc_irq3_mux[] = {
  2246. IRQ3_MARK,
  2247. };
  2248. /* - MLB+ ------------------------------------------------------------------- */
  2249. static const unsigned int mlb_3pin_pins[] = {
  2250. RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2),
  2251. };
  2252. static const unsigned int mlb_3pin_mux[] = {
  2253. MLB_CLK_MARK, MLB_SIG_MARK, MLB_DAT_MARK,
  2254. };
  2255. /* - MMCIF0 ----------------------------------------------------------------- */
  2256. static const unsigned int mmc0_data1_pins[] = {
  2257. /* D[0] */
  2258. RCAR_GP_PIN(3, 18),
  2259. };
  2260. static const unsigned int mmc0_data1_mux[] = {
  2261. MMC0_D0_MARK,
  2262. };
  2263. static const unsigned int mmc0_data4_pins[] = {
  2264. /* D[0:3] */
  2265. RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
  2266. RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
  2267. };
  2268. static const unsigned int mmc0_data4_mux[] = {
  2269. MMC0_D0_MARK, MMC0_D1_MARK, MMC0_D2_MARK, MMC0_D3_MARK,
  2270. };
  2271. static const unsigned int mmc0_data8_pins[] = {
  2272. /* D[0:7] */
  2273. RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
  2274. RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
  2275. RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 23),
  2276. RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7),
  2277. };
  2278. static const unsigned int mmc0_data8_mux[] = {
  2279. MMC0_D0_MARK, MMC0_D1_MARK, MMC0_D2_MARK, MMC0_D3_MARK,
  2280. MMC0_D4_MARK, MMC0_D5_MARK, MMC0_D6_MARK, MMC0_D7_MARK,
  2281. };
  2282. static const unsigned int mmc0_ctrl_pins[] = {
  2283. /* CLK, CMD */
  2284. RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 17),
  2285. };
  2286. static const unsigned int mmc0_ctrl_mux[] = {
  2287. MMC0_CLK_MARK, MMC0_CMD_MARK,
  2288. };
  2289. /* - MMCIF1 ----------------------------------------------------------------- */
  2290. static const unsigned int mmc1_data1_pins[] = {
  2291. /* D[0] */
  2292. RCAR_GP_PIN(3, 26),
  2293. };
  2294. static const unsigned int mmc1_data1_mux[] = {
  2295. MMC1_D0_MARK,
  2296. };
  2297. static const unsigned int mmc1_data4_pins[] = {
  2298. /* D[0:3] */
  2299. RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27),
  2300. RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 29),
  2301. };
  2302. static const unsigned int mmc1_data4_mux[] = {
  2303. MMC1_D0_MARK, MMC1_D1_MARK, MMC1_D2_MARK, MMC1_D3_MARK,
  2304. };
  2305. static const unsigned int mmc1_data8_pins[] = {
  2306. /* D[0:7] */
  2307. RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27),
  2308. RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 29),
  2309. RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 31),
  2310. RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15),
  2311. };
  2312. static const unsigned int mmc1_data8_mux[] = {
  2313. MMC1_D0_MARK, MMC1_D1_MARK, MMC1_D2_MARK, MMC1_D3_MARK,
  2314. MMC1_D4_MARK, MMC1_D5_MARK, MMC1_D6_MARK, MMC1_D7_MARK,
  2315. };
  2316. static const unsigned int mmc1_ctrl_pins[] = {
  2317. /* CLK, CMD */
  2318. RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 25),
  2319. };
  2320. static const unsigned int mmc1_ctrl_mux[] = {
  2321. MMC1_CLK_MARK, MMC1_CMD_MARK,
  2322. };
  2323. /* - MSIOF0 ----------------------------------------------------------------- */
  2324. static const unsigned int msiof0_clk_pins[] = {
  2325. /* SCK */
  2326. RCAR_GP_PIN(5, 12),
  2327. };
  2328. static const unsigned int msiof0_clk_mux[] = {
  2329. MSIOF0_SCK_MARK,
  2330. };
  2331. static const unsigned int msiof0_sync_pins[] = {
  2332. /* SYNC */
  2333. RCAR_GP_PIN(5, 13),
  2334. };
  2335. static const unsigned int msiof0_sync_mux[] = {
  2336. MSIOF0_SYNC_MARK,
  2337. };
  2338. static const unsigned int msiof0_ss1_pins[] = {
  2339. /* SS1 */
  2340. RCAR_GP_PIN(5, 14),
  2341. };
  2342. static const unsigned int msiof0_ss1_mux[] = {
  2343. MSIOF0_SS1_MARK,
  2344. };
  2345. static const unsigned int msiof0_ss2_pins[] = {
  2346. /* SS2 */
  2347. RCAR_GP_PIN(5, 16),
  2348. };
  2349. static const unsigned int msiof0_ss2_mux[] = {
  2350. MSIOF0_SS2_MARK,
  2351. };
  2352. static const unsigned int msiof0_rx_pins[] = {
  2353. /* RXD */
  2354. RCAR_GP_PIN(5, 17),
  2355. };
  2356. static const unsigned int msiof0_rx_mux[] = {
  2357. MSIOF0_RXD_MARK,
  2358. };
  2359. static const unsigned int msiof0_tx_pins[] = {
  2360. /* TXD */
  2361. RCAR_GP_PIN(5, 15),
  2362. };
  2363. static const unsigned int msiof0_tx_mux[] = {
  2364. MSIOF0_TXD_MARK,
  2365. };
  2366. static const unsigned int msiof0_clk_b_pins[] = {
  2367. /* SCK */
  2368. RCAR_GP_PIN(1, 23),
  2369. };
  2370. static const unsigned int msiof0_clk_b_mux[] = {
  2371. MSIOF0_SCK_B_MARK,
  2372. };
  2373. static const unsigned int msiof0_ss1_b_pins[] = {
  2374. /* SS1 */
  2375. RCAR_GP_PIN(1, 12),
  2376. };
  2377. static const unsigned int msiof0_ss1_b_mux[] = {
  2378. MSIOF0_SS1_B_MARK,
  2379. };
  2380. static const unsigned int msiof0_ss2_b_pins[] = {
  2381. /* SS2 */
  2382. RCAR_GP_PIN(1, 10),
  2383. };
  2384. static const unsigned int msiof0_ss2_b_mux[] = {
  2385. MSIOF0_SS2_B_MARK,
  2386. };
  2387. static const unsigned int msiof0_rx_b_pins[] = {
  2388. /* RXD */
  2389. RCAR_GP_PIN(1, 29),
  2390. };
  2391. static const unsigned int msiof0_rx_b_mux[] = {
  2392. MSIOF0_RXD_B_MARK,
  2393. };
  2394. static const unsigned int msiof0_tx_b_pins[] = {
  2395. /* TXD */
  2396. RCAR_GP_PIN(1, 28),
  2397. };
  2398. static const unsigned int msiof0_tx_b_mux[] = {
  2399. MSIOF0_TXD_B_MARK,
  2400. };
  2401. /* - MSIOF1 ----------------------------------------------------------------- */
  2402. static const unsigned int msiof1_clk_pins[] = {
  2403. /* SCK */
  2404. RCAR_GP_PIN(4, 8),
  2405. };
  2406. static const unsigned int msiof1_clk_mux[] = {
  2407. MSIOF1_SCK_MARK,
  2408. };
  2409. static const unsigned int msiof1_sync_pins[] = {
  2410. /* SYNC */
  2411. RCAR_GP_PIN(4, 9),
  2412. };
  2413. static const unsigned int msiof1_sync_mux[] = {
  2414. MSIOF1_SYNC_MARK,
  2415. };
  2416. static const unsigned int msiof1_ss1_pins[] = {
  2417. /* SS1 */
  2418. RCAR_GP_PIN(4, 10),
  2419. };
  2420. static const unsigned int msiof1_ss1_mux[] = {
  2421. MSIOF1_SS1_MARK,
  2422. };
  2423. static const unsigned int msiof1_ss2_pins[] = {
  2424. /* SS2 */
  2425. RCAR_GP_PIN(4, 11),
  2426. };
  2427. static const unsigned int msiof1_ss2_mux[] = {
  2428. MSIOF1_SS2_MARK,
  2429. };
  2430. static const unsigned int msiof1_rx_pins[] = {
  2431. /* RXD */
  2432. RCAR_GP_PIN(4, 13),
  2433. };
  2434. static const unsigned int msiof1_rx_mux[] = {
  2435. MSIOF1_RXD_MARK,
  2436. };
  2437. static const unsigned int msiof1_tx_pins[] = {
  2438. /* TXD */
  2439. RCAR_GP_PIN(4, 12),
  2440. };
  2441. static const unsigned int msiof1_tx_mux[] = {
  2442. MSIOF1_TXD_MARK,
  2443. };
  2444. static const unsigned int msiof1_clk_b_pins[] = {
  2445. /* SCK */
  2446. RCAR_GP_PIN(1, 16),
  2447. };
  2448. static const unsigned int msiof1_clk_b_mux[] = {
  2449. MSIOF1_SCK_B_MARK,
  2450. };
  2451. static const unsigned int msiof1_ss1_b_pins[] = {
  2452. /* SS1 */
  2453. RCAR_GP_PIN(0, 18),
  2454. };
  2455. static const unsigned int msiof1_ss1_b_mux[] = {
  2456. MSIOF1_SS1_B_MARK,
  2457. };
  2458. static const unsigned int msiof1_ss2_b_pins[] = {
  2459. /* SS2 */
  2460. RCAR_GP_PIN(0, 19),
  2461. };
  2462. static const unsigned int msiof1_ss2_b_mux[] = {
  2463. MSIOF1_SS2_B_MARK,
  2464. };
  2465. static const unsigned int msiof1_rx_b_pins[] = {
  2466. /* RXD */
  2467. RCAR_GP_PIN(1, 17),
  2468. };
  2469. static const unsigned int msiof1_rx_b_mux[] = {
  2470. MSIOF1_RXD_B_MARK,
  2471. };
  2472. static const unsigned int msiof1_tx_b_pins[] = {
  2473. /* TXD */
  2474. RCAR_GP_PIN(0, 20),
  2475. };
  2476. static const unsigned int msiof1_tx_b_mux[] = {
  2477. MSIOF1_TXD_B_MARK,
  2478. };
  2479. /* - MSIOF2 ----------------------------------------------------------------- */
  2480. static const unsigned int msiof2_clk_pins[] = {
  2481. /* SCK */
  2482. RCAR_GP_PIN(0, 27),
  2483. };
  2484. static const unsigned int msiof2_clk_mux[] = {
  2485. MSIOF2_SCK_MARK,
  2486. };
  2487. static const unsigned int msiof2_sync_pins[] = {
  2488. /* SYNC */
  2489. RCAR_GP_PIN(0, 26),
  2490. };
  2491. static const unsigned int msiof2_sync_mux[] = {
  2492. MSIOF2_SYNC_MARK,
  2493. };
  2494. static const unsigned int msiof2_ss1_pins[] = {
  2495. /* SS1 */
  2496. RCAR_GP_PIN(0, 30),
  2497. };
  2498. static const unsigned int msiof2_ss1_mux[] = {
  2499. MSIOF2_SS1_MARK,
  2500. };
  2501. static const unsigned int msiof2_ss2_pins[] = {
  2502. /* SS2 */
  2503. RCAR_GP_PIN(0, 31),
  2504. };
  2505. static const unsigned int msiof2_ss2_mux[] = {
  2506. MSIOF2_SS2_MARK,
  2507. };
  2508. static const unsigned int msiof2_rx_pins[] = {
  2509. /* RXD */
  2510. RCAR_GP_PIN(0, 29),
  2511. };
  2512. static const unsigned int msiof2_rx_mux[] = {
  2513. MSIOF2_RXD_MARK,
  2514. };
  2515. static const unsigned int msiof2_tx_pins[] = {
  2516. /* TXD */
  2517. RCAR_GP_PIN(0, 28),
  2518. };
  2519. static const unsigned int msiof2_tx_mux[] = {
  2520. MSIOF2_TXD_MARK,
  2521. };
  2522. /* - MSIOF3 ----------------------------------------------------------------- */
  2523. static const unsigned int msiof3_clk_pins[] = {
  2524. /* SCK */
  2525. RCAR_GP_PIN(5, 4),
  2526. };
  2527. static const unsigned int msiof3_clk_mux[] = {
  2528. MSIOF3_SCK_MARK,
  2529. };
  2530. static const unsigned int msiof3_sync_pins[] = {
  2531. /* SYNC */
  2532. RCAR_GP_PIN(4, 30),
  2533. };
  2534. static const unsigned int msiof3_sync_mux[] = {
  2535. MSIOF3_SYNC_MARK,
  2536. };
  2537. static const unsigned int msiof3_ss1_pins[] = {
  2538. /* SS1 */
  2539. RCAR_GP_PIN(4, 31),
  2540. };
  2541. static const unsigned int msiof3_ss1_mux[] = {
  2542. MSIOF3_SS1_MARK,
  2543. };
  2544. static const unsigned int msiof3_ss2_pins[] = {
  2545. /* SS2 */
  2546. RCAR_GP_PIN(4, 27),
  2547. };
  2548. static const unsigned int msiof3_ss2_mux[] = {
  2549. MSIOF3_SS2_MARK,
  2550. };
  2551. static const unsigned int msiof3_rx_pins[] = {
  2552. /* RXD */
  2553. RCAR_GP_PIN(5, 2),
  2554. };
  2555. static const unsigned int msiof3_rx_mux[] = {
  2556. MSIOF3_RXD_MARK,
  2557. };
  2558. static const unsigned int msiof3_tx_pins[] = {
  2559. /* TXD */
  2560. RCAR_GP_PIN(5, 3),
  2561. };
  2562. static const unsigned int msiof3_tx_mux[] = {
  2563. MSIOF3_TXD_MARK,
  2564. };
  2565. static const unsigned int msiof3_clk_b_pins[] = {
  2566. /* SCK */
  2567. RCAR_GP_PIN(0, 0),
  2568. };
  2569. static const unsigned int msiof3_clk_b_mux[] = {
  2570. MSIOF3_SCK_B_MARK,
  2571. };
  2572. static const unsigned int msiof3_sync_b_pins[] = {
  2573. /* SYNC */
  2574. RCAR_GP_PIN(0, 1),
  2575. };
  2576. static const unsigned int msiof3_sync_b_mux[] = {
  2577. MSIOF3_SYNC_B_MARK,
  2578. };
  2579. static const unsigned int msiof3_rx_b_pins[] = {
  2580. /* RXD */
  2581. RCAR_GP_PIN(0, 2),
  2582. };
  2583. static const unsigned int msiof3_rx_b_mux[] = {
  2584. MSIOF3_RXD_B_MARK,
  2585. };
  2586. static const unsigned int msiof3_tx_b_pins[] = {
  2587. /* TXD */
  2588. RCAR_GP_PIN(0, 3),
  2589. };
  2590. static const unsigned int msiof3_tx_b_mux[] = {
  2591. MSIOF3_TXD_B_MARK,
  2592. };
  2593. /* - PWM -------------------------------------------------------------------- */
  2594. static const unsigned int pwm0_pins[] = {
  2595. RCAR_GP_PIN(5, 29),
  2596. };
  2597. static const unsigned int pwm0_mux[] = {
  2598. PWM0_MARK,
  2599. };
  2600. static const unsigned int pwm0_b_pins[] = {
  2601. RCAR_GP_PIN(4, 30),
  2602. };
  2603. static const unsigned int pwm0_b_mux[] = {
  2604. PWM0_B_MARK,
  2605. };
  2606. static const unsigned int pwm1_pins[] = {
  2607. RCAR_GP_PIN(5, 30),
  2608. };
  2609. static const unsigned int pwm1_mux[] = {
  2610. PWM1_MARK,
  2611. };
  2612. static const unsigned int pwm1_b_pins[] = {
  2613. RCAR_GP_PIN(4, 31),
  2614. };
  2615. static const unsigned int pwm1_b_mux[] = {
  2616. PWM1_B_MARK,
  2617. };
  2618. static const unsigned int pwm2_pins[] = {
  2619. RCAR_GP_PIN(5, 31),
  2620. };
  2621. static const unsigned int pwm2_mux[] = {
  2622. PWM2_MARK,
  2623. };
  2624. static const unsigned int pwm3_pins[] = {
  2625. RCAR_GP_PIN(0, 16),
  2626. };
  2627. static const unsigned int pwm3_mux[] = {
  2628. PWM3_MARK,
  2629. };
  2630. static const unsigned int pwm4_pins[] = {
  2631. RCAR_GP_PIN(0, 17),
  2632. };
  2633. static const unsigned int pwm4_mux[] = {
  2634. PWM4_MARK,
  2635. };
  2636. static const unsigned int pwm5_pins[] = {
  2637. RCAR_GP_PIN(0, 18),
  2638. };
  2639. static const unsigned int pwm5_mux[] = {
  2640. PWM5_MARK,
  2641. };
  2642. static const unsigned int pwm6_pins[] = {
  2643. RCAR_GP_PIN(0, 19),
  2644. };
  2645. static const unsigned int pwm6_mux[] = {
  2646. PWM6_MARK,
  2647. };
  2648. /* - QSPI ------------------------------------------------------------------- */
  2649. static const unsigned int qspi_ctrl_pins[] = {
  2650. /* SPCLK, SSL */
  2651. RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 9),
  2652. };
  2653. static const unsigned int qspi_ctrl_mux[] = {
  2654. SPCLK_MARK, SSL_MARK,
  2655. };
  2656. static const unsigned int qspi_data2_pins[] = {
  2657. /* MOSI_IO0, MISO_IO1 */
  2658. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6),
  2659. };
  2660. static const unsigned int qspi_data2_mux[] = {
  2661. MOSI_IO0_MARK, MISO_IO1_MARK,
  2662. };
  2663. static const unsigned int qspi_data4_pins[] = {
  2664. /* MOSI_IO0, MISO_IO1, IO2, IO3 */
  2665. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7),
  2666. RCAR_GP_PIN(1, 8),
  2667. };
  2668. static const unsigned int qspi_data4_mux[] = {
  2669. MOSI_IO0_MARK, MISO_IO1_MARK, IO2_MARK, IO3_MARK,
  2670. };
  2671. /* - SCIF0 ------------------------------------------------------------------ */
  2672. static const unsigned int scif0_data_pins[] = {
  2673. /* RX, TX */
  2674. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
  2675. };
  2676. static const unsigned int scif0_data_mux[] = {
  2677. RX0_MARK, TX0_MARK,
  2678. };
  2679. static const unsigned int scif0_clk_pins[] = {
  2680. /* SCK */
  2681. RCAR_GP_PIN(4, 27),
  2682. };
  2683. static const unsigned int scif0_clk_mux[] = {
  2684. SCK0_MARK,
  2685. };
  2686. static const unsigned int scif0_ctrl_pins[] = {
  2687. /* RTS, CTS */
  2688. RCAR_GP_PIN(4, 31), RCAR_GP_PIN(4, 30),
  2689. };
  2690. static const unsigned int scif0_ctrl_mux[] = {
  2691. RTS0_N_MARK, CTS0_N_MARK,
  2692. };
  2693. static const unsigned int scif0_data_b_pins[] = {
  2694. /* RX, TX */
  2695. RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
  2696. };
  2697. static const unsigned int scif0_data_b_mux[] = {
  2698. RX0_B_MARK, TX0_B_MARK,
  2699. };
  2700. /* - SCIF1 ------------------------------------------------------------------ */
  2701. static const unsigned int scif1_data_pins[] = {
  2702. /* RX, TX */
  2703. RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 1),
  2704. };
  2705. static const unsigned int scif1_data_mux[] = {
  2706. RX1_MARK, TX1_MARK,
  2707. };
  2708. static const unsigned int scif1_clk_pins[] = {
  2709. /* SCK */
  2710. RCAR_GP_PIN(4, 20),
  2711. };
  2712. static const unsigned int scif1_clk_mux[] = {
  2713. SCK1_MARK,
  2714. };
  2715. static const unsigned int scif1_ctrl_pins[] = {
  2716. /* RTS, CTS */
  2717. RCAR_GP_PIN(5, 3), RCAR_GP_PIN(5, 2),
  2718. };
  2719. static const unsigned int scif1_ctrl_mux[] = {
  2720. RTS1_N_MARK, CTS1_N_MARK,
  2721. };
  2722. static const unsigned int scif1_data_b_pins[] = {
  2723. /* RX, TX */
  2724. RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
  2725. };
  2726. static const unsigned int scif1_data_b_mux[] = {
  2727. RX1_B_MARK, TX1_B_MARK,
  2728. };
  2729. static const unsigned int scif1_data_c_pins[] = {
  2730. /* RX, TX */
  2731. RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2),
  2732. };
  2733. static const unsigned int scif1_data_c_mux[] = {
  2734. RX1_C_MARK, TX1_C_MARK,
  2735. };
  2736. static const unsigned int scif1_data_d_pins[] = {
  2737. /* RX, TX */
  2738. RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
  2739. };
  2740. static const unsigned int scif1_data_d_mux[] = {
  2741. RX1_D_MARK, TX1_D_MARK,
  2742. };
  2743. static const unsigned int scif1_clk_d_pins[] = {
  2744. /* SCK */
  2745. RCAR_GP_PIN(3, 17),
  2746. };
  2747. static const unsigned int scif1_clk_d_mux[] = {
  2748. SCK1_D_MARK,
  2749. };
  2750. static const unsigned int scif1_data_e_pins[] = {
  2751. /* RX, TX */
  2752. RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
  2753. };
  2754. static const unsigned int scif1_data_e_mux[] = {
  2755. RX1_E_MARK, TX1_E_MARK,
  2756. };
  2757. static const unsigned int scif1_clk_e_pins[] = {
  2758. /* SCK */
  2759. RCAR_GP_PIN(2, 20),
  2760. };
  2761. static const unsigned int scif1_clk_e_mux[] = {
  2762. SCK1_E_MARK,
  2763. };
  2764. /* - SCIF2 ------------------------------------------------------------------ */
  2765. static const unsigned int scif2_data_pins[] = {
  2766. /* RX, TX */
  2767. RCAR_GP_PIN(5, 6), RCAR_GP_PIN(5, 5),
  2768. };
  2769. static const unsigned int scif2_data_mux[] = {
  2770. RX2_MARK, TX2_MARK,
  2771. };
  2772. static const unsigned int scif2_clk_pins[] = {
  2773. /* SCK */
  2774. RCAR_GP_PIN(5, 4),
  2775. };
  2776. static const unsigned int scif2_clk_mux[] = {
  2777. SCK2_MARK,
  2778. };
  2779. static const unsigned int scif2_data_b_pins[] = {
  2780. /* RX, TX */
  2781. RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
  2782. };
  2783. static const unsigned int scif2_data_b_mux[] = {
  2784. RX2_B_MARK, TX2_B_MARK,
  2785. };
  2786. /* - SCIFA0 ----------------------------------------------------------------- */
  2787. static const unsigned int scifa0_data_pins[] = {
  2788. /* RXD, TXD */
  2789. RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
  2790. };
  2791. static const unsigned int scifa0_data_mux[] = {
  2792. SCIFA0_RXD_MARK, SCIFA0_TXD_MARK,
  2793. };
  2794. static const unsigned int scifa0_clk_pins[] = {
  2795. /* SCK */
  2796. RCAR_GP_PIN(4, 27),
  2797. };
  2798. static const unsigned int scifa0_clk_mux[] = {
  2799. SCIFA0_SCK_MARK,
  2800. };
  2801. static const unsigned int scifa0_ctrl_pins[] = {
  2802. /* RTS, CTS */
  2803. RCAR_GP_PIN(4, 31), RCAR_GP_PIN(4, 30),
  2804. };
  2805. static const unsigned int scifa0_ctrl_mux[] = {
  2806. SCIFA0_RTS_N_MARK, SCIFA0_CTS_N_MARK,
  2807. };
  2808. static const unsigned int scifa0_data_b_pins[] = {
  2809. /* RXD, TXD */
  2810. RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21),
  2811. };
  2812. static const unsigned int scifa0_data_b_mux[] = {
  2813. SCIFA0_RXD_B_MARK, SCIFA0_TXD_B_MARK
  2814. };
  2815. static const unsigned int scifa0_clk_b_pins[] = {
  2816. /* SCK */
  2817. RCAR_GP_PIN(1, 19),
  2818. };
  2819. static const unsigned int scifa0_clk_b_mux[] = {
  2820. SCIFA0_SCK_B_MARK,
  2821. };
  2822. static const unsigned int scifa0_ctrl_b_pins[] = {
  2823. /* RTS, CTS */
  2824. RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 22),
  2825. };
  2826. static const unsigned int scifa0_ctrl_b_mux[] = {
  2827. SCIFA0_RTS_N_B_MARK, SCIFA0_CTS_N_B_MARK,
  2828. };
  2829. /* - SCIFA1 ----------------------------------------------------------------- */
  2830. static const unsigned int scifa1_data_pins[] = {
  2831. /* RXD, TXD */
  2832. RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 1),
  2833. };
  2834. static const unsigned int scifa1_data_mux[] = {
  2835. SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
  2836. };
  2837. static const unsigned int scifa1_clk_pins[] = {
  2838. /* SCK */
  2839. RCAR_GP_PIN(4, 20),
  2840. };
  2841. static const unsigned int scifa1_clk_mux[] = {
  2842. SCIFA1_SCK_MARK,
  2843. };
  2844. static const unsigned int scifa1_ctrl_pins[] = {
  2845. /* RTS, CTS */
  2846. RCAR_GP_PIN(5, 3), RCAR_GP_PIN(5, 2),
  2847. };
  2848. static const unsigned int scifa1_ctrl_mux[] = {
  2849. SCIFA1_RTS_N_MARK, SCIFA1_CTS_N_MARK,
  2850. };
  2851. static const unsigned int scifa1_data_b_pins[] = {
  2852. /* RXD, TXD */
  2853. RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 21),
  2854. };
  2855. static const unsigned int scifa1_data_b_mux[] = {
  2856. SCIFA1_RXD_B_MARK, SCIFA1_TXD_B_MARK,
  2857. };
  2858. static const unsigned int scifa1_clk_b_pins[] = {
  2859. /* SCK */
  2860. RCAR_GP_PIN(0, 23),
  2861. };
  2862. static const unsigned int scifa1_clk_b_mux[] = {
  2863. SCIFA1_SCK_B_MARK,
  2864. };
  2865. static const unsigned int scifa1_ctrl_b_pins[] = {
  2866. /* RTS, CTS */
  2867. RCAR_GP_PIN(0, 22), RCAR_GP_PIN(0, 25),
  2868. };
  2869. static const unsigned int scifa1_ctrl_b_mux[] = {
  2870. SCIFA1_RTS_N_B_MARK, SCIFA1_CTS_N_B_MARK,
  2871. };
  2872. static const unsigned int scifa1_data_c_pins[] = {
  2873. /* RXD, TXD */
  2874. RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 10),
  2875. };
  2876. static const unsigned int scifa1_data_c_mux[] = {
  2877. SCIFA1_RXD_C_MARK, SCIFA1_TXD_C_MARK,
  2878. };
  2879. static const unsigned int scifa1_clk_c_pins[] = {
  2880. /* SCK */
  2881. RCAR_GP_PIN(0, 8),
  2882. };
  2883. static const unsigned int scifa1_clk_c_mux[] = {
  2884. SCIFA1_SCK_C_MARK,
  2885. };
  2886. static const unsigned int scifa1_ctrl_c_pins[] = {
  2887. /* RTS, CTS */
  2888. RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 11),
  2889. };
  2890. static const unsigned int scifa1_ctrl_c_mux[] = {
  2891. SCIFA1_RTS_N_C_MARK, SCIFA1_CTS_N_C_MARK,
  2892. };
  2893. static const unsigned int scifa1_data_d_pins[] = {
  2894. /* RXD, TXD */
  2895. RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 12),
  2896. };
  2897. static const unsigned int scifa1_data_d_mux[] = {
  2898. SCIFA1_RXD_D_MARK, SCIFA1_TXD_D_MARK,
  2899. };
  2900. static const unsigned int scifa1_clk_d_pins[] = {
  2901. /* SCK */
  2902. RCAR_GP_PIN(2, 10),
  2903. };
  2904. static const unsigned int scifa1_clk_d_mux[] = {
  2905. SCIFA1_SCK_D_MARK,
  2906. };
  2907. static const unsigned int scifa1_ctrl_d_pins[] = {
  2908. /* RTS, CTS */
  2909. RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 13),
  2910. };
  2911. static const unsigned int scifa1_ctrl_d_mux[] = {
  2912. SCIFA1_RTS_N_D_MARK, SCIFA1_CTS_N_D_MARK,
  2913. };
  2914. /* - SCIFA2 ----------------------------------------------------------------- */
  2915. static const unsigned int scifa2_data_pins[] = {
  2916. /* RXD, TXD */
  2917. RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
  2918. };
  2919. static const unsigned int scifa2_data_mux[] = {
  2920. SCIFA2_RXD_MARK, SCIFA2_TXD_MARK,
  2921. };
  2922. static const unsigned int scifa2_clk_pins[] = {
  2923. /* SCK */
  2924. RCAR_GP_PIN(5, 4),
  2925. };
  2926. static const unsigned int scifa2_clk_mux[] = {
  2927. SCIFA2_SCK_MARK,
  2928. };
  2929. static const unsigned int scifa2_ctrl_pins[] = {
  2930. /* RTS, CTS */
  2931. RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 21),
  2932. };
  2933. static const unsigned int scifa2_ctrl_mux[] = {
  2934. SCIFA2_RTS_N_MARK, SCIFA2_CTS_N_MARK,
  2935. };
  2936. static const unsigned int scifa2_data_b_pins[] = {
  2937. /* RXD, TXD */
  2938. RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 16),
  2939. };
  2940. static const unsigned int scifa2_data_b_mux[] = {
  2941. SCIFA2_RXD_B_MARK, SCIFA2_TXD_B_MARK,
  2942. };
  2943. static const unsigned int scifa2_data_c_pins[] = {
  2944. /* RXD, TXD */
  2945. RCAR_GP_PIN(5, 31), RCAR_GP_PIN(5, 30),
  2946. };
  2947. static const unsigned int scifa2_data_c_mux[] = {
  2948. SCIFA2_RXD_C_MARK, SCIFA2_TXD_C_MARK,
  2949. };
  2950. static const unsigned int scifa2_clk_c_pins[] = {
  2951. /* SCK */
  2952. RCAR_GP_PIN(5, 29),
  2953. };
  2954. static const unsigned int scifa2_clk_c_mux[] = {
  2955. SCIFA2_SCK_C_MARK,
  2956. };
  2957. /* - SCIFB0 ----------------------------------------------------------------- */
  2958. static const unsigned int scifb0_data_pins[] = {
  2959. /* RXD, TXD */
  2960. RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
  2961. };
  2962. static const unsigned int scifb0_data_mux[] = {
  2963. SCIFB0_RXD_MARK, SCIFB0_TXD_MARK,
  2964. };
  2965. static const unsigned int scifb0_clk_pins[] = {
  2966. /* SCK */
  2967. RCAR_GP_PIN(4, 8),
  2968. };
  2969. static const unsigned int scifb0_clk_mux[] = {
  2970. SCIFB0_SCK_MARK,
  2971. };
  2972. static const unsigned int scifb0_ctrl_pins[] = {
  2973. /* RTS, CTS */
  2974. RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 11),
  2975. };
  2976. static const unsigned int scifb0_ctrl_mux[] = {
  2977. SCIFB0_RTS_N_MARK, SCIFB0_CTS_N_MARK,
  2978. };
  2979. static const unsigned int scifb0_data_b_pins[] = {
  2980. /* RXD, TXD */
  2981. RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
  2982. };
  2983. static const unsigned int scifb0_data_b_mux[] = {
  2984. SCIFB0_RXD_B_MARK, SCIFB0_TXD_B_MARK,
  2985. };
  2986. static const unsigned int scifb0_clk_b_pins[] = {
  2987. /* SCK */
  2988. RCAR_GP_PIN(3, 9),
  2989. };
  2990. static const unsigned int scifb0_clk_b_mux[] = {
  2991. SCIFB0_SCK_B_MARK,
  2992. };
  2993. static const unsigned int scifb0_ctrl_b_pins[] = {
  2994. /* RTS, CTS */
  2995. RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 12),
  2996. };
  2997. static const unsigned int scifb0_ctrl_b_mux[] = {
  2998. SCIFB0_RTS_N_B_MARK, SCIFB0_CTS_N_B_MARK,
  2999. };
  3000. static const unsigned int scifb0_data_c_pins[] = {
  3001. /* RXD, TXD */
  3002. RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
  3003. };
  3004. static const unsigned int scifb0_data_c_mux[] = {
  3005. SCIFB0_RXD_C_MARK, SCIFB0_TXD_C_MARK,
  3006. };
  3007. /* - SCIFB1 ----------------------------------------------------------------- */
  3008. static const unsigned int scifb1_data_pins[] = {
  3009. /* RXD, TXD */
  3010. RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
  3011. };
  3012. static const unsigned int scifb1_data_mux[] = {
  3013. SCIFB1_RXD_MARK, SCIFB1_TXD_MARK,
  3014. };
  3015. static const unsigned int scifb1_clk_pins[] = {
  3016. /* SCK */
  3017. RCAR_GP_PIN(4, 14),
  3018. };
  3019. static const unsigned int scifb1_clk_mux[] = {
  3020. SCIFB1_SCK_MARK,
  3021. };
  3022. static const unsigned int scifb1_ctrl_pins[] = {
  3023. /* RTS, CTS */
  3024. RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 17),
  3025. };
  3026. static const unsigned int scifb1_ctrl_mux[] = {
  3027. SCIFB1_RTS_N_MARK, SCIFB1_CTS_N_MARK,
  3028. };
  3029. static const unsigned int scifb1_data_b_pins[] = {
  3030. /* RXD, TXD */
  3031. RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3),
  3032. };
  3033. static const unsigned int scifb1_data_b_mux[] = {
  3034. SCIFB1_RXD_B_MARK, SCIFB1_TXD_B_MARK,
  3035. };
  3036. static const unsigned int scifb1_clk_b_pins[] = {
  3037. /* SCK */
  3038. RCAR_GP_PIN(3, 1),
  3039. };
  3040. static const unsigned int scifb1_clk_b_mux[] = {
  3041. SCIFB1_SCK_B_MARK,
  3042. };
  3043. static const unsigned int scifb1_ctrl_b_pins[] = {
  3044. /* RTS, CTS */
  3045. RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 4),
  3046. };
  3047. static const unsigned int scifb1_ctrl_b_mux[] = {
  3048. SCIFB1_RTS_N_B_MARK, SCIFB1_CTS_N_B_MARK,
  3049. };
  3050. static const unsigned int scifb1_data_c_pins[] = {
  3051. /* RXD, TXD */
  3052. RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
  3053. };
  3054. static const unsigned int scifb1_data_c_mux[] = {
  3055. SCIFB1_RXD_C_MARK, SCIFB1_TXD_C_MARK,
  3056. };
  3057. static const unsigned int scifb1_data_d_pins[] = {
  3058. /* RXD, TXD */
  3059. RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2),
  3060. };
  3061. static const unsigned int scifb1_data_d_mux[] = {
  3062. SCIFB1_RXD_D_MARK, SCIFB1_TXD_D_MARK,
  3063. };
  3064. static const unsigned int scifb1_data_e_pins[] = {
  3065. /* RXD, TXD */
  3066. RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
  3067. };
  3068. static const unsigned int scifb1_data_e_mux[] = {
  3069. SCIFB1_RXD_E_MARK, SCIFB1_TXD_E_MARK,
  3070. };
  3071. static const unsigned int scifb1_clk_e_pins[] = {
  3072. /* SCK */
  3073. RCAR_GP_PIN(3, 17),
  3074. };
  3075. static const unsigned int scifb1_clk_e_mux[] = {
  3076. SCIFB1_SCK_E_MARK,
  3077. };
  3078. static const unsigned int scifb1_data_f_pins[] = {
  3079. /* RXD, TXD */
  3080. RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
  3081. };
  3082. static const unsigned int scifb1_data_f_mux[] = {
  3083. SCIFB1_RXD_F_MARK, SCIFB1_TXD_F_MARK,
  3084. };
  3085. static const unsigned int scifb1_data_g_pins[] = {
  3086. /* RXD, TXD */
  3087. RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
  3088. };
  3089. static const unsigned int scifb1_data_g_mux[] = {
  3090. SCIFB1_RXD_G_MARK, SCIFB1_TXD_G_MARK,
  3091. };
  3092. static const unsigned int scifb1_clk_g_pins[] = {
  3093. /* SCK */
  3094. RCAR_GP_PIN(2, 20),
  3095. };
  3096. static const unsigned int scifb1_clk_g_mux[] = {
  3097. SCIFB1_SCK_G_MARK,
  3098. };
  3099. /* - SCIFB2 ----------------------------------------------------------------- */
  3100. static const unsigned int scifb2_data_pins[] = {
  3101. /* RXD, TXD */
  3102. RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
  3103. };
  3104. static const unsigned int scifb2_data_mux[] = {
  3105. SCIFB2_RXD_MARK, SCIFB2_TXD_MARK,
  3106. };
  3107. static const unsigned int scifb2_clk_pins[] = {
  3108. /* SCK */
  3109. RCAR_GP_PIN(4, 21),
  3110. };
  3111. static const unsigned int scifb2_clk_mux[] = {
  3112. SCIFB2_SCK_MARK,
  3113. };
  3114. static const unsigned int scifb2_ctrl_pins[] = {
  3115. /* RTS, CTS */
  3116. RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 24),
  3117. };
  3118. static const unsigned int scifb2_ctrl_mux[] = {
  3119. SCIFB2_RTS_N_MARK, SCIFB2_CTS_N_MARK,
  3120. };
  3121. static const unsigned int scifb2_data_b_pins[] = {
  3122. /* RXD, TXD */
  3123. RCAR_GP_PIN(0, 28), RCAR_GP_PIN(0, 30),
  3124. };
  3125. static const unsigned int scifb2_data_b_mux[] = {
  3126. SCIFB2_RXD_B_MARK, SCIFB2_TXD_B_MARK,
  3127. };
  3128. static const unsigned int scifb2_clk_b_pins[] = {
  3129. /* SCK */
  3130. RCAR_GP_PIN(0, 31),
  3131. };
  3132. static const unsigned int scifb2_clk_b_mux[] = {
  3133. SCIFB2_SCK_B_MARK,
  3134. };
  3135. static const unsigned int scifb2_ctrl_b_pins[] = {
  3136. /* RTS, CTS */
  3137. RCAR_GP_PIN(0, 29), RCAR_GP_PIN(0, 27),
  3138. };
  3139. static const unsigned int scifb2_ctrl_b_mux[] = {
  3140. SCIFB2_RTS_N_B_MARK, SCIFB2_CTS_N_B_MARK,
  3141. };
  3142. static const unsigned int scifb2_data_c_pins[] = {
  3143. /* RXD, TXD */
  3144. RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
  3145. };
  3146. static const unsigned int scifb2_data_c_mux[] = {
  3147. SCIFB2_RXD_C_MARK, SCIFB2_TXD_C_MARK,
  3148. };
  3149. /* - SDHI0 ------------------------------------------------------------------ */
  3150. static const unsigned int sdhi0_data1_pins[] = {
  3151. /* D0 */
  3152. RCAR_GP_PIN(3, 2),
  3153. };
  3154. static const unsigned int sdhi0_data1_mux[] = {
  3155. SD0_DAT0_MARK,
  3156. };
  3157. static const unsigned int sdhi0_data4_pins[] = {
  3158. /* D[0:3] */
  3159. RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 5),
  3160. };
  3161. static const unsigned int sdhi0_data4_mux[] = {
  3162. SD0_DAT0_MARK, SD0_DAT1_MARK, SD0_DAT2_MARK, SD0_DAT3_MARK,
  3163. };
  3164. static const unsigned int sdhi0_ctrl_pins[] = {
  3165. /* CLK, CMD */
  3166. RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1),
  3167. };
  3168. static const unsigned int sdhi0_ctrl_mux[] = {
  3169. SD0_CLK_MARK, SD0_CMD_MARK,
  3170. };
  3171. static const unsigned int sdhi0_cd_pins[] = {
  3172. /* CD */
  3173. RCAR_GP_PIN(3, 6),
  3174. };
  3175. static const unsigned int sdhi0_cd_mux[] = {
  3176. SD0_CD_MARK,
  3177. };
  3178. static const unsigned int sdhi0_wp_pins[] = {
  3179. /* WP */
  3180. RCAR_GP_PIN(3, 7),
  3181. };
  3182. static const unsigned int sdhi0_wp_mux[] = {
  3183. SD0_WP_MARK,
  3184. };
  3185. /* - SDHI1 ------------------------------------------------------------------ */
  3186. static const unsigned int sdhi1_data1_pins[] = {
  3187. /* D0 */
  3188. RCAR_GP_PIN(3, 10),
  3189. };
  3190. static const unsigned int sdhi1_data1_mux[] = {
  3191. SD1_DAT0_MARK,
  3192. };
  3193. static const unsigned int sdhi1_data4_pins[] = {
  3194. /* D[0:3] */
  3195. RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
  3196. };
  3197. static const unsigned int sdhi1_data4_mux[] = {
  3198. SD1_DAT0_MARK, SD1_DAT1_MARK, SD1_DAT2_MARK, SD1_DAT3_MARK,
  3199. };
  3200. static const unsigned int sdhi1_ctrl_pins[] = {
  3201. /* CLK, CMD */
  3202. RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
  3203. };
  3204. static const unsigned int sdhi1_ctrl_mux[] = {
  3205. SD1_CLK_MARK, SD1_CMD_MARK,
  3206. };
  3207. static const unsigned int sdhi1_cd_pins[] = {
  3208. /* CD */
  3209. RCAR_GP_PIN(3, 14),
  3210. };
  3211. static const unsigned int sdhi1_cd_mux[] = {
  3212. SD1_CD_MARK,
  3213. };
  3214. static const unsigned int sdhi1_wp_pins[] = {
  3215. /* WP */
  3216. RCAR_GP_PIN(3, 15),
  3217. };
  3218. static const unsigned int sdhi1_wp_mux[] = {
  3219. SD1_WP_MARK,
  3220. };
  3221. /* - SDHI2 ------------------------------------------------------------------ */
  3222. static const unsigned int sdhi2_data1_pins[] = {
  3223. /* D0 */
  3224. RCAR_GP_PIN(3, 18),
  3225. };
  3226. static const unsigned int sdhi2_data1_mux[] = {
  3227. SD2_DAT0_MARK,
  3228. };
  3229. static const unsigned int sdhi2_data4_pins[] = {
  3230. /* D[0:3] */
  3231. RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
  3232. };
  3233. static const unsigned int sdhi2_data4_mux[] = {
  3234. SD2_DAT0_MARK, SD2_DAT1_MARK, SD2_DAT2_MARK, SD2_DAT3_MARK,
  3235. };
  3236. static const unsigned int sdhi2_ctrl_pins[] = {
  3237. /* CLK, CMD */
  3238. RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 17),
  3239. };
  3240. static const unsigned int sdhi2_ctrl_mux[] = {
  3241. SD2_CLK_MARK, SD2_CMD_MARK,
  3242. };
  3243. static const unsigned int sdhi2_cd_pins[] = {
  3244. /* CD */
  3245. RCAR_GP_PIN(3, 22),
  3246. };
  3247. static const unsigned int sdhi2_cd_mux[] = {
  3248. SD2_CD_MARK,
  3249. };
  3250. static const unsigned int sdhi2_wp_pins[] = {
  3251. /* WP */
  3252. RCAR_GP_PIN(3, 23),
  3253. };
  3254. static const unsigned int sdhi2_wp_mux[] = {
  3255. SD2_WP_MARK,
  3256. };
  3257. /* - SDHI3 ------------------------------------------------------------------ */
  3258. static const unsigned int sdhi3_data1_pins[] = {
  3259. /* D0 */
  3260. RCAR_GP_PIN(3, 26),
  3261. };
  3262. static const unsigned int sdhi3_data1_mux[] = {
  3263. SD3_DAT0_MARK,
  3264. };
  3265. static const unsigned int sdhi3_data4_pins[] = {
  3266. /* D[0:3] */
  3267. RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 29),
  3268. };
  3269. static const unsigned int sdhi3_data4_mux[] = {
  3270. SD3_DAT0_MARK, SD3_DAT1_MARK, SD3_DAT2_MARK, SD3_DAT3_MARK,
  3271. };
  3272. static const unsigned int sdhi3_ctrl_pins[] = {
  3273. /* CLK, CMD */
  3274. RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 25),
  3275. };
  3276. static const unsigned int sdhi3_ctrl_mux[] = {
  3277. SD3_CLK_MARK, SD3_CMD_MARK,
  3278. };
  3279. static const unsigned int sdhi3_cd_pins[] = {
  3280. /* CD */
  3281. RCAR_GP_PIN(3, 30),
  3282. };
  3283. static const unsigned int sdhi3_cd_mux[] = {
  3284. SD3_CD_MARK,
  3285. };
  3286. static const unsigned int sdhi3_wp_pins[] = {
  3287. /* WP */
  3288. RCAR_GP_PIN(3, 31),
  3289. };
  3290. static const unsigned int sdhi3_wp_mux[] = {
  3291. SD3_WP_MARK,
  3292. };
  3293. /* - SSI -------------------------------------------------------------------- */
  3294. static const unsigned int ssi0_data_pins[] = {
  3295. /* SDATA0 */
  3296. RCAR_GP_PIN(4, 5),
  3297. };
  3298. static const unsigned int ssi0_data_mux[] = {
  3299. SSI_SDATA0_MARK,
  3300. };
  3301. static const unsigned int ssi0129_ctrl_pins[] = {
  3302. /* SCK, WS */
  3303. RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 4),
  3304. };
  3305. static const unsigned int ssi0129_ctrl_mux[] = {
  3306. SSI_SCK0129_MARK, SSI_WS0129_MARK,
  3307. };
  3308. static const unsigned int ssi1_data_pins[] = {
  3309. /* SDATA1 */
  3310. RCAR_GP_PIN(4, 6),
  3311. };
  3312. static const unsigned int ssi1_data_mux[] = {
  3313. SSI_SDATA1_MARK,
  3314. };
  3315. static const unsigned int ssi1_ctrl_pins[] = {
  3316. /* SCK, WS */
  3317. RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 24),
  3318. };
  3319. static const unsigned int ssi1_ctrl_mux[] = {
  3320. SSI_SCK1_MARK, SSI_WS1_MARK,
  3321. };
  3322. static const unsigned int ssi2_data_pins[] = {
  3323. /* SDATA2 */
  3324. RCAR_GP_PIN(4, 7),
  3325. };
  3326. static const unsigned int ssi2_data_mux[] = {
  3327. SSI_SDATA2_MARK,
  3328. };
  3329. static const unsigned int ssi2_ctrl_pins[] = {
  3330. /* SCK, WS */
  3331. RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 17),
  3332. };
  3333. static const unsigned int ssi2_ctrl_mux[] = {
  3334. SSI_SCK2_MARK, SSI_WS2_MARK,
  3335. };
  3336. static const unsigned int ssi3_data_pins[] = {
  3337. /* SDATA3 */
  3338. RCAR_GP_PIN(4, 10),
  3339. };
  3340. static const unsigned int ssi3_data_mux[] = {
  3341. SSI_SDATA3_MARK
  3342. };
  3343. static const unsigned int ssi34_ctrl_pins[] = {
  3344. /* SCK, WS */
  3345. RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 9),
  3346. };
  3347. static const unsigned int ssi34_ctrl_mux[] = {
  3348. SSI_SCK34_MARK, SSI_WS34_MARK,
  3349. };
  3350. static const unsigned int ssi4_data_pins[] = {
  3351. /* SDATA4 */
  3352. RCAR_GP_PIN(4, 13),
  3353. };
  3354. static const unsigned int ssi4_data_mux[] = {
  3355. SSI_SDATA4_MARK,
  3356. };
  3357. static const unsigned int ssi4_ctrl_pins[] = {
  3358. /* SCK, WS */
  3359. RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
  3360. };
  3361. static const unsigned int ssi4_ctrl_mux[] = {
  3362. SSI_SCK4_MARK, SSI_WS4_MARK,
  3363. };
  3364. static const unsigned int ssi5_pins[] = {
  3365. /* SDATA5, SCK, WS */
  3366. RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 15),
  3367. };
  3368. static const unsigned int ssi5_mux[] = {
  3369. SSI_SDATA5_MARK, SSI_SCK5_MARK, SSI_WS5_MARK,
  3370. };
  3371. static const unsigned int ssi5_b_pins[] = {
  3372. /* SDATA5, SCK, WS */
  3373. RCAR_GP_PIN(0, 26), RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
  3374. };
  3375. static const unsigned int ssi5_b_mux[] = {
  3376. SSI_SDATA5_B_MARK, SSI_SCK5_B_MARK, SSI_WS5_B_MARK
  3377. };
  3378. static const unsigned int ssi5_c_pins[] = {
  3379. /* SDATA5, SCK, WS */
  3380. RCAR_GP_PIN(4, 24), RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
  3381. };
  3382. static const unsigned int ssi5_c_mux[] = {
  3383. SSI_SDATA5_C_MARK, SSI_SCK5_C_MARK, SSI_WS5_C_MARK,
  3384. };
  3385. static const unsigned int ssi6_pins[] = {
  3386. /* SDATA6, SCK, WS */
  3387. RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
  3388. };
  3389. static const unsigned int ssi6_mux[] = {
  3390. SSI_SDATA6_MARK, SSI_SCK6_MARK, SSI_WS6_MARK,
  3391. };
  3392. static const unsigned int ssi6_b_pins[] = {
  3393. /* SDATA6, SCK, WS */
  3394. RCAR_GP_PIN(1, 29), RCAR_GP_PIN(1, 25), RCAR_GP_PIN(1, 27),
  3395. };
  3396. static const unsigned int ssi6_b_mux[] = {
  3397. SSI_SDATA6_B_MARK, SSI_SCK6_B_MARK, SSI_WS6_B_MARK,
  3398. };
  3399. static const unsigned int ssi7_data_pins[] = {
  3400. /* SDATA7 */
  3401. RCAR_GP_PIN(4, 22),
  3402. };
  3403. static const unsigned int ssi7_data_mux[] = {
  3404. SSI_SDATA7_MARK,
  3405. };
  3406. static const unsigned int ssi7_b_data_pins[] = {
  3407. /* SDATA7 */
  3408. RCAR_GP_PIN(4, 22),
  3409. };
  3410. static const unsigned int ssi7_b_data_mux[] = {
  3411. SSI_SDATA7_B_MARK,
  3412. };
  3413. static const unsigned int ssi7_c_data_pins[] = {
  3414. /* SDATA7 */
  3415. RCAR_GP_PIN(1, 26),
  3416. };
  3417. static const unsigned int ssi7_c_data_mux[] = {
  3418. SSI_SDATA7_C_MARK,
  3419. };
  3420. static const unsigned int ssi78_ctrl_pins[] = {
  3421. /* SCK, WS */
  3422. RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
  3423. };
  3424. static const unsigned int ssi78_ctrl_mux[] = {
  3425. SSI_SCK78_MARK, SSI_WS78_MARK,
  3426. };
  3427. static const unsigned int ssi78_b_ctrl_pins[] = {
  3428. /* SCK, WS */
  3429. RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 24),
  3430. };
  3431. static const unsigned int ssi78_b_ctrl_mux[] = {
  3432. SSI_SCK78_B_MARK, SSI_WS78_B_MARK,
  3433. };
  3434. static const unsigned int ssi78_c_ctrl_pins[] = {
  3435. /* SCK, WS */
  3436. RCAR_GP_PIN(1, 24), RCAR_GP_PIN(1, 25),
  3437. };
  3438. static const unsigned int ssi78_c_ctrl_mux[] = {
  3439. SSI_SCK78_C_MARK, SSI_WS78_C_MARK,
  3440. };
  3441. static const unsigned int ssi8_data_pins[] = {
  3442. /* SDATA8 */
  3443. RCAR_GP_PIN(4, 23),
  3444. };
  3445. static const unsigned int ssi8_data_mux[] = {
  3446. SSI_SDATA8_MARK,
  3447. };
  3448. static const unsigned int ssi8_b_data_pins[] = {
  3449. /* SDATA8 */
  3450. RCAR_GP_PIN(4, 23),
  3451. };
  3452. static const unsigned int ssi8_b_data_mux[] = {
  3453. SSI_SDATA8_B_MARK,
  3454. };
  3455. static const unsigned int ssi8_c_data_pins[] = {
  3456. /* SDATA8 */
  3457. RCAR_GP_PIN(1, 27),
  3458. };
  3459. static const unsigned int ssi8_c_data_mux[] = {
  3460. SSI_SDATA8_C_MARK,
  3461. };
  3462. static const unsigned int ssi9_data_pins[] = {
  3463. /* SDATA9 */
  3464. RCAR_GP_PIN(4, 24),
  3465. };
  3466. static const unsigned int ssi9_data_mux[] = {
  3467. SSI_SDATA9_MARK,
  3468. };
  3469. static const unsigned int ssi9_ctrl_pins[] = {
  3470. /* SCK, WS */
  3471. RCAR_GP_PIN(5, 10), RCAR_GP_PIN(5, 11),
  3472. };
  3473. static const unsigned int ssi9_ctrl_mux[] = {
  3474. SSI_SCK9_MARK, SSI_WS9_MARK,
  3475. };
  3476. /* - TPU0 ------------------------------------------------------------------- */
  3477. static const unsigned int tpu0_to0_pins[] = {
  3478. /* TO */
  3479. RCAR_GP_PIN(0, 20),
  3480. };
  3481. static const unsigned int tpu0_to0_mux[] = {
  3482. TPU0TO0_MARK,
  3483. };
  3484. static const unsigned int tpu0_to1_pins[] = {
  3485. /* TO */
  3486. RCAR_GP_PIN(0, 21),
  3487. };
  3488. static const unsigned int tpu0_to1_mux[] = {
  3489. TPU0TO1_MARK,
  3490. };
  3491. static const unsigned int tpu0_to2_pins[] = {
  3492. /* TO */
  3493. RCAR_GP_PIN(0, 22),
  3494. };
  3495. static const unsigned int tpu0_to2_mux[] = {
  3496. TPU0TO2_MARK,
  3497. };
  3498. static const unsigned int tpu0_to3_pins[] = {
  3499. /* TO */
  3500. RCAR_GP_PIN(0, 23),
  3501. };
  3502. static const unsigned int tpu0_to3_mux[] = {
  3503. TPU0TO3_MARK,
  3504. };
  3505. /* - USB0 ------------------------------------------------------------------- */
  3506. static const unsigned int usb0_pins[] = {
  3507. /* PWEN, OVC/VBUS */
  3508. RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19),
  3509. };
  3510. static const unsigned int usb0_mux[] = {
  3511. USB0_PWEN_MARK, USB0_OVC_VBUS_MARK,
  3512. };
  3513. static const unsigned int usb0_ovc_vbus_pins[] = {
  3514. /* OVC/VBUS */
  3515. RCAR_GP_PIN(5, 19),
  3516. };
  3517. static const unsigned int usb0_ovc_vbus_mux[] = {
  3518. USB0_OVC_VBUS_MARK,
  3519. };
  3520. /* - USB1 ------------------------------------------------------------------- */
  3521. static const unsigned int usb1_pins[] = {
  3522. /* PWEN, OVC */
  3523. RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 21),
  3524. };
  3525. static const unsigned int usb1_mux[] = {
  3526. USB1_PWEN_MARK, USB1_OVC_MARK,
  3527. };
  3528. /* - USB2 ------------------------------------------------------------------- */
  3529. static const unsigned int usb2_pins[] = {
  3530. /* PWEN, OVC */
  3531. RCAR_GP_PIN(5, 22), RCAR_GP_PIN(5, 23),
  3532. };
  3533. static const unsigned int usb2_mux[] = {
  3534. USB2_PWEN_MARK, USB2_OVC_MARK,
  3535. };
  3536. /* - VIN0 ------------------------------------------------------------------- */
  3537. static const union vin_data vin0_data_pins = {
  3538. .data24 = {
  3539. /* B */
  3540. RCAR_GP_PIN(2, 1), RCAR_GP_PIN(2, 2),
  3541. RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 4),
  3542. RCAR_GP_PIN(2, 5), RCAR_GP_PIN(2, 6),
  3543. RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8),
  3544. /* G */
  3545. RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9),
  3546. RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11),
  3547. RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1),
  3548. RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3),
  3549. /* R */
  3550. RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
  3551. RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7),
  3552. RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
  3553. RCAR_GP_PIN(0, 26), RCAR_GP_PIN(1, 11),
  3554. },
  3555. };
  3556. static const union vin_data vin0_data_mux = {
  3557. .data24 = {
  3558. /* B */
  3559. VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
  3560. VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
  3561. VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
  3562. VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
  3563. /* G */
  3564. VI0_G0_MARK, VI0_G1_MARK,
  3565. VI0_G2_MARK, VI0_G3_MARK,
  3566. VI0_G4_MARK, VI0_G5_MARK,
  3567. VI0_G6_MARK, VI0_G7_MARK,
  3568. /* R */
  3569. VI0_R0_MARK, VI0_R1_MARK,
  3570. VI0_R2_MARK, VI0_R3_MARK,
  3571. VI0_R4_MARK, VI0_R5_MARK,
  3572. VI0_R6_MARK, VI0_R7_MARK,
  3573. },
  3574. };
  3575. static const unsigned int vin0_data18_pins[] = {
  3576. /* B */
  3577. RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 4),
  3578. RCAR_GP_PIN(2, 5), RCAR_GP_PIN(2, 6),
  3579. RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8),
  3580. /* G */
  3581. RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11),
  3582. RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1),
  3583. RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3),
  3584. /* R */
  3585. RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7),
  3586. RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
  3587. RCAR_GP_PIN(0, 26), RCAR_GP_PIN(1, 11),
  3588. };
  3589. static const unsigned int vin0_data18_mux[] = {
  3590. /* B */
  3591. VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
  3592. VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
  3593. VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
  3594. /* G */
  3595. VI0_G2_MARK, VI0_G3_MARK,
  3596. VI0_G4_MARK, VI0_G5_MARK,
  3597. VI0_G6_MARK, VI0_G7_MARK,
  3598. /* R */
  3599. VI0_R2_MARK, VI0_R3_MARK,
  3600. VI0_R4_MARK, VI0_R5_MARK,
  3601. VI0_R6_MARK, VI0_R7_MARK,
  3602. };
  3603. static const unsigned int vin0_sync_pins[] = {
  3604. RCAR_GP_PIN(0, 12), /* HSYNC */
  3605. RCAR_GP_PIN(0, 13), /* VSYNC */
  3606. };
  3607. static const unsigned int vin0_sync_mux[] = {
  3608. VI0_HSYNC_N_MARK,
  3609. VI0_VSYNC_N_MARK,
  3610. };
  3611. static const unsigned int vin0_field_pins[] = {
  3612. RCAR_GP_PIN(0, 15),
  3613. };
  3614. static const unsigned int vin0_field_mux[] = {
  3615. VI0_FIELD_MARK,
  3616. };
  3617. static const unsigned int vin0_clkenb_pins[] = {
  3618. RCAR_GP_PIN(0, 14),
  3619. };
  3620. static const unsigned int vin0_clkenb_mux[] = {
  3621. VI0_CLKENB_MARK,
  3622. };
  3623. static const unsigned int vin0_clk_pins[] = {
  3624. RCAR_GP_PIN(2, 0),
  3625. };
  3626. static const unsigned int vin0_clk_mux[] = {
  3627. VI0_CLK_MARK,
  3628. };
  3629. /* - VIN1 ------------------------------------------------------------------- */
  3630. static const union vin_data vin1_data_pins = {
  3631. .data24 = {
  3632. /* B */
  3633. RCAR_GP_PIN(2, 10), RCAR_GP_PIN(2, 11),
  3634. RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 13),
  3635. RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 15),
  3636. RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 17),
  3637. /* G */
  3638. RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15),
  3639. RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 20),
  3640. RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 12),
  3641. RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 7),
  3642. /* R */
  3643. RCAR_GP_PIN(0, 27), RCAR_GP_PIN(0, 28),
  3644. RCAR_GP_PIN(0, 29), RCAR_GP_PIN(1, 4),
  3645. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6),
  3646. RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 8),
  3647. },
  3648. };
  3649. static const union vin_data vin1_data_mux = {
  3650. .data24 = {
  3651. /* B */
  3652. VI1_DATA0_VI1_B0_MARK, VI1_DATA1_VI1_B1_MARK,
  3653. VI1_DATA2_VI1_B2_MARK, VI1_DATA3_VI1_B3_MARK,
  3654. VI1_DATA4_VI1_B4_MARK, VI1_DATA5_VI1_B5_MARK,
  3655. VI1_DATA6_VI1_B6_MARK, VI1_DATA7_VI1_B7_MARK,
  3656. /* G */
  3657. VI1_G0_MARK, VI1_G1_MARK,
  3658. VI1_G2_MARK, VI1_G3_MARK,
  3659. VI1_G4_MARK, VI1_G5_MARK,
  3660. VI1_G6_MARK, VI1_G7_MARK,
  3661. /* R */
  3662. VI1_R0_MARK, VI1_R1_MARK,
  3663. VI1_R2_MARK, VI1_R3_MARK,
  3664. VI1_R4_MARK, VI1_R5_MARK,
  3665. VI1_R6_MARK, VI1_R7_MARK,
  3666. },
  3667. };
  3668. static const unsigned int vin1_data18_pins[] = {
  3669. /* B */
  3670. RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 13),
  3671. RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 15),
  3672. RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 17),
  3673. /* G */
  3674. RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 20),
  3675. RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 12),
  3676. RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 7),
  3677. /* R */
  3678. RCAR_GP_PIN(0, 29), RCAR_GP_PIN(1, 4),
  3679. RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6),
  3680. RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 8),
  3681. };
  3682. static const unsigned int vin1_data18_mux[] = {
  3683. /* B */
  3684. VI1_DATA2_VI1_B2_MARK, VI1_DATA3_VI1_B3_MARK,
  3685. VI1_DATA4_VI1_B4_MARK, VI1_DATA5_VI1_B5_MARK,
  3686. VI1_DATA6_VI1_B6_MARK, VI1_DATA7_VI1_B7_MARK,
  3687. /* G */
  3688. VI1_G2_MARK, VI1_G3_MARK,
  3689. VI1_G4_MARK, VI1_G5_MARK,
  3690. VI1_G6_MARK, VI1_G7_MARK,
  3691. /* R */
  3692. VI1_R2_MARK, VI1_R3_MARK,
  3693. VI1_R4_MARK, VI1_R5_MARK,
  3694. VI1_R6_MARK, VI1_R7_MARK,
  3695. };
  3696. static const unsigned int vin1_sync_pins[] = {
  3697. RCAR_GP_PIN(1, 24), /* HSYNC */
  3698. RCAR_GP_PIN(1, 25), /* VSYNC */
  3699. };
  3700. static const unsigned int vin1_sync_mux[] = {
  3701. VI1_HSYNC_N_MARK,
  3702. VI1_VSYNC_N_MARK,
  3703. };
  3704. static const unsigned int vin1_field_pins[] = {
  3705. RCAR_GP_PIN(1, 13),
  3706. };
  3707. static const unsigned int vin1_field_mux[] = {
  3708. VI1_FIELD_MARK,
  3709. };
  3710. static const unsigned int vin1_clkenb_pins[] = {
  3711. RCAR_GP_PIN(1, 26),
  3712. };
  3713. static const unsigned int vin1_clkenb_mux[] = {
  3714. VI1_CLKENB_MARK,
  3715. };
  3716. static const unsigned int vin1_clk_pins[] = {
  3717. RCAR_GP_PIN(2, 9),
  3718. };
  3719. static const unsigned int vin1_clk_mux[] = {
  3720. VI1_CLK_MARK,
  3721. };
  3722. /* - VIN2 ----------------------------------------------------------------- */
  3723. static const union vin_data vin2_data_pins = {
  3724. .data24 = {
  3725. /* B */
  3726. RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9),
  3727. RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11),
  3728. RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13),
  3729. RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
  3730. /* G */
  3731. RCAR_GP_PIN(0, 27), RCAR_GP_PIN(0, 28),
  3732. RCAR_GP_PIN(0, 29), RCAR_GP_PIN(1, 10),
  3733. RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5),
  3734. RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7),
  3735. /* R */
  3736. RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13),
  3737. RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15),
  3738. RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 20),
  3739. RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 24),
  3740. },
  3741. };
  3742. static const union vin_data vin2_data_mux = {
  3743. .data24 = {
  3744. /* B */
  3745. VI2_DATA0_VI2_B0_MARK, VI2_DATA1_VI2_B1_MARK,
  3746. VI2_DATA2_VI2_B2_MARK, VI2_DATA3_VI2_B3_MARK,
  3747. VI2_DATA4_VI2_B4_MARK, VI2_DATA5_VI2_B5_MARK,
  3748. VI2_DATA6_VI2_B6_MARK, VI2_DATA7_VI2_B7_MARK,
  3749. /* G */
  3750. VI2_G0_MARK, VI2_G1_MARK,
  3751. VI2_G2_MARK, VI2_G3_MARK,
  3752. VI2_G4_MARK, VI2_G5_MARK,
  3753. VI2_G6_MARK, VI2_G7_MARK,
  3754. /* R */
  3755. VI2_R0_MARK, VI2_R1_MARK,
  3756. VI2_R2_MARK, VI2_R3_MARK,
  3757. VI2_R4_MARK, VI2_R5_MARK,
  3758. VI2_R6_MARK, VI2_R7_MARK,
  3759. },
  3760. };
  3761. static const unsigned int vin2_data18_pins[] = {
  3762. /* B */
  3763. RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11),
  3764. RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13),
  3765. RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
  3766. /* G */
  3767. RCAR_GP_PIN(0, 29), RCAR_GP_PIN(1, 10),
  3768. RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5),
  3769. RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7),
  3770. /* R */
  3771. RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15),
  3772. RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 20),
  3773. RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 24),
  3774. };
  3775. static const unsigned int vin2_data18_mux[] = {
  3776. /* B */
  3777. VI2_DATA2_VI2_B2_MARK, VI2_DATA3_VI2_B3_MARK,
  3778. VI2_DATA4_VI2_B4_MARK, VI2_DATA5_VI2_B5_MARK,
  3779. VI2_DATA6_VI2_B6_MARK, VI2_DATA7_VI2_B7_MARK,
  3780. /* G */
  3781. VI2_G2_MARK, VI2_G3_MARK,
  3782. VI2_G4_MARK, VI2_G5_MARK,
  3783. VI2_G6_MARK, VI2_G7_MARK,
  3784. /* R */
  3785. VI2_R2_MARK, VI2_R3_MARK,
  3786. VI2_R4_MARK, VI2_R5_MARK,
  3787. VI2_R6_MARK, VI2_R7_MARK,
  3788. };
  3789. static const unsigned int vin2_sync_pins[] = {
  3790. RCAR_GP_PIN(1, 16), /* HSYNC */
  3791. RCAR_GP_PIN(1, 21), /* VSYNC */
  3792. };
  3793. static const unsigned int vin2_sync_mux[] = {
  3794. VI2_HSYNC_N_MARK,
  3795. VI2_VSYNC_N_MARK,
  3796. };
  3797. static const unsigned int vin2_field_pins[] = {
  3798. RCAR_GP_PIN(1, 9),
  3799. };
  3800. static const unsigned int vin2_field_mux[] = {
  3801. VI2_FIELD_MARK,
  3802. };
  3803. static const unsigned int vin2_clkenb_pins[] = {
  3804. RCAR_GP_PIN(1, 8),
  3805. };
  3806. static const unsigned int vin2_clkenb_mux[] = {
  3807. VI2_CLKENB_MARK,
  3808. };
  3809. static const unsigned int vin2_clk_pins[] = {
  3810. RCAR_GP_PIN(1, 11),
  3811. };
  3812. static const unsigned int vin2_clk_mux[] = {
  3813. VI2_CLK_MARK,
  3814. };
  3815. /* - VIN3 ----------------------------------------------------------------- */
  3816. static const unsigned int vin3_data8_pins[] = {
  3817. RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1),
  3818. RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3),
  3819. RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
  3820. RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7),
  3821. };
  3822. static const unsigned int vin3_data8_mux[] = {
  3823. VI3_DATA0_MARK, VI3_DATA1_MARK,
  3824. VI3_DATA2_MARK, VI3_DATA3_MARK,
  3825. VI3_DATA4_MARK, VI3_DATA5_MARK,
  3826. VI3_DATA6_MARK, VI3_DATA7_MARK,
  3827. };
  3828. static const unsigned int vin3_sync_pins[] = {
  3829. RCAR_GP_PIN(1, 16), /* HSYNC */
  3830. RCAR_GP_PIN(1, 17), /* VSYNC */
  3831. };
  3832. static const unsigned int vin3_sync_mux[] = {
  3833. VI3_HSYNC_N_MARK,
  3834. VI3_VSYNC_N_MARK,
  3835. };
  3836. static const unsigned int vin3_field_pins[] = {
  3837. RCAR_GP_PIN(1, 15),
  3838. };
  3839. static const unsigned int vin3_field_mux[] = {
  3840. VI3_FIELD_MARK,
  3841. };
  3842. static const unsigned int vin3_clkenb_pins[] = {
  3843. RCAR_GP_PIN(1, 14),
  3844. };
  3845. static const unsigned int vin3_clkenb_mux[] = {
  3846. VI3_CLKENB_MARK,
  3847. };
  3848. static const unsigned int vin3_clk_pins[] = {
  3849. RCAR_GP_PIN(1, 23),
  3850. };
  3851. static const unsigned int vin3_clk_mux[] = {
  3852. VI3_CLK_MARK,
  3853. };
  3854. static const struct sh_pfc_pin_group pinmux_groups[] = {
  3855. SH_PFC_PIN_GROUP(audio_clk_a),
  3856. SH_PFC_PIN_GROUP(audio_clk_b),
  3857. SH_PFC_PIN_GROUP(audio_clk_c),
  3858. SH_PFC_PIN_GROUP(audio_clkout),
  3859. SH_PFC_PIN_GROUP(audio_clkout_b),
  3860. SH_PFC_PIN_GROUP(audio_clkout_c),
  3861. SH_PFC_PIN_GROUP(audio_clkout_d),
  3862. SH_PFC_PIN_GROUP(avb_link),
  3863. SH_PFC_PIN_GROUP(avb_magic),
  3864. SH_PFC_PIN_GROUP(avb_phy_int),
  3865. SH_PFC_PIN_GROUP(avb_mdio),
  3866. SH_PFC_PIN_GROUP(avb_mii),
  3867. SH_PFC_PIN_GROUP(avb_gmii),
  3868. SH_PFC_PIN_GROUP(du_rgb666),
  3869. SH_PFC_PIN_GROUP(du_rgb888),
  3870. SH_PFC_PIN_GROUP(du_clk_out_0),
  3871. SH_PFC_PIN_GROUP(du_clk_out_1),
  3872. SH_PFC_PIN_GROUP(du_sync_0),
  3873. SH_PFC_PIN_GROUP(du_sync_1),
  3874. SH_PFC_PIN_GROUP(du_cde),
  3875. SH_PFC_PIN_GROUP(du0_clk_in),
  3876. SH_PFC_PIN_GROUP(du1_clk_in),
  3877. SH_PFC_PIN_GROUP(du2_clk_in),
  3878. SH_PFC_PIN_GROUP(eth_link),
  3879. SH_PFC_PIN_GROUP(eth_magic),
  3880. SH_PFC_PIN_GROUP(eth_mdio),
  3881. SH_PFC_PIN_GROUP(eth_rmii),
  3882. SH_PFC_PIN_GROUP(hscif0_data),
  3883. SH_PFC_PIN_GROUP(hscif0_clk),
  3884. SH_PFC_PIN_GROUP(hscif0_ctrl),
  3885. SH_PFC_PIN_GROUP(hscif0_data_b),
  3886. SH_PFC_PIN_GROUP(hscif0_ctrl_b),
  3887. SH_PFC_PIN_GROUP(hscif0_data_c),
  3888. SH_PFC_PIN_GROUP(hscif0_ctrl_c),
  3889. SH_PFC_PIN_GROUP(hscif0_data_d),
  3890. SH_PFC_PIN_GROUP(hscif0_ctrl_d),
  3891. SH_PFC_PIN_GROUP(hscif0_data_e),
  3892. SH_PFC_PIN_GROUP(hscif0_ctrl_e),
  3893. SH_PFC_PIN_GROUP(hscif0_data_f),
  3894. SH_PFC_PIN_GROUP(hscif0_ctrl_f),
  3895. SH_PFC_PIN_GROUP(hscif1_data),
  3896. SH_PFC_PIN_GROUP(hscif1_clk),
  3897. SH_PFC_PIN_GROUP(hscif1_ctrl),
  3898. SH_PFC_PIN_GROUP(hscif1_data_b),
  3899. SH_PFC_PIN_GROUP(hscif1_clk_b),
  3900. SH_PFC_PIN_GROUP(hscif1_ctrl_b),
  3901. SH_PFC_PIN_GROUP(i2c0),
  3902. SH_PFC_PIN_GROUP(i2c1),
  3903. SH_PFC_PIN_GROUP(i2c1_b),
  3904. SH_PFC_PIN_GROUP(i2c1_c),
  3905. SH_PFC_PIN_GROUP(i2c2),
  3906. SH_PFC_PIN_GROUP(i2c2_b),
  3907. SH_PFC_PIN_GROUP(i2c2_c),
  3908. SH_PFC_PIN_GROUP(i2c2_d),
  3909. SH_PFC_PIN_GROUP(i2c2_e),
  3910. SH_PFC_PIN_GROUP(i2c3),
  3911. SH_PFC_PIN_GROUP(iic0),
  3912. SH_PFC_PIN_GROUP(iic1),
  3913. SH_PFC_PIN_GROUP(iic1_b),
  3914. SH_PFC_PIN_GROUP(iic1_c),
  3915. SH_PFC_PIN_GROUP(iic2),
  3916. SH_PFC_PIN_GROUP(iic2_b),
  3917. SH_PFC_PIN_GROUP(iic2_c),
  3918. SH_PFC_PIN_GROUP(iic2_d),
  3919. SH_PFC_PIN_GROUP(iic2_e),
  3920. SH_PFC_PIN_GROUP(iic3),
  3921. SH_PFC_PIN_GROUP(intc_irq0),
  3922. SH_PFC_PIN_GROUP(intc_irq1),
  3923. SH_PFC_PIN_GROUP(intc_irq2),
  3924. SH_PFC_PIN_GROUP(intc_irq3),
  3925. SH_PFC_PIN_GROUP(mlb_3pin),
  3926. SH_PFC_PIN_GROUP(mmc0_data1),
  3927. SH_PFC_PIN_GROUP(mmc0_data4),
  3928. SH_PFC_PIN_GROUP(mmc0_data8),
  3929. SH_PFC_PIN_GROUP(mmc0_ctrl),
  3930. SH_PFC_PIN_GROUP(mmc1_data1),
  3931. SH_PFC_PIN_GROUP(mmc1_data4),
  3932. SH_PFC_PIN_GROUP(mmc1_data8),
  3933. SH_PFC_PIN_GROUP(mmc1_ctrl),
  3934. SH_PFC_PIN_GROUP(msiof0_clk),
  3935. SH_PFC_PIN_GROUP(msiof0_sync),
  3936. SH_PFC_PIN_GROUP(msiof0_ss1),
  3937. SH_PFC_PIN_GROUP(msiof0_ss2),
  3938. SH_PFC_PIN_GROUP(msiof0_rx),
  3939. SH_PFC_PIN_GROUP(msiof0_tx),
  3940. SH_PFC_PIN_GROUP(msiof0_clk_b),
  3941. SH_PFC_PIN_GROUP(msiof0_ss1_b),
  3942. SH_PFC_PIN_GROUP(msiof0_ss2_b),
  3943. SH_PFC_PIN_GROUP(msiof0_rx_b),
  3944. SH_PFC_PIN_GROUP(msiof0_tx_b),
  3945. SH_PFC_PIN_GROUP(msiof1_clk),
  3946. SH_PFC_PIN_GROUP(msiof1_sync),
  3947. SH_PFC_PIN_GROUP(msiof1_ss1),
  3948. SH_PFC_PIN_GROUP(msiof1_ss2),
  3949. SH_PFC_PIN_GROUP(msiof1_rx),
  3950. SH_PFC_PIN_GROUP(msiof1_tx),
  3951. SH_PFC_PIN_GROUP(msiof1_clk_b),
  3952. SH_PFC_PIN_GROUP(msiof1_ss1_b),
  3953. SH_PFC_PIN_GROUP(msiof1_ss2_b),
  3954. SH_PFC_PIN_GROUP(msiof1_rx_b),
  3955. SH_PFC_PIN_GROUP(msiof1_tx_b),
  3956. SH_PFC_PIN_GROUP(msiof2_clk),
  3957. SH_PFC_PIN_GROUP(msiof2_sync),
  3958. SH_PFC_PIN_GROUP(msiof2_ss1),
  3959. SH_PFC_PIN_GROUP(msiof2_ss2),
  3960. SH_PFC_PIN_GROUP(msiof2_rx),
  3961. SH_PFC_PIN_GROUP(msiof2_tx),
  3962. SH_PFC_PIN_GROUP(msiof3_clk),
  3963. SH_PFC_PIN_GROUP(msiof3_sync),
  3964. SH_PFC_PIN_GROUP(msiof3_ss1),
  3965. SH_PFC_PIN_GROUP(msiof3_ss2),
  3966. SH_PFC_PIN_GROUP(msiof3_rx),
  3967. SH_PFC_PIN_GROUP(msiof3_tx),
  3968. SH_PFC_PIN_GROUP(msiof3_clk_b),
  3969. SH_PFC_PIN_GROUP(msiof3_sync_b),
  3970. SH_PFC_PIN_GROUP(msiof3_rx_b),
  3971. SH_PFC_PIN_GROUP(msiof3_tx_b),
  3972. SH_PFC_PIN_GROUP(pwm0),
  3973. SH_PFC_PIN_GROUP(pwm0_b),
  3974. SH_PFC_PIN_GROUP(pwm1),
  3975. SH_PFC_PIN_GROUP(pwm1_b),
  3976. SH_PFC_PIN_GROUP(pwm2),
  3977. SH_PFC_PIN_GROUP(pwm3),
  3978. SH_PFC_PIN_GROUP(pwm4),
  3979. SH_PFC_PIN_GROUP(pwm5),
  3980. SH_PFC_PIN_GROUP(pwm6),
  3981. SH_PFC_PIN_GROUP(qspi_ctrl),
  3982. SH_PFC_PIN_GROUP(qspi_data2),
  3983. SH_PFC_PIN_GROUP(qspi_data4),
  3984. SH_PFC_PIN_GROUP(scif0_data),
  3985. SH_PFC_PIN_GROUP(scif0_clk),
  3986. SH_PFC_PIN_GROUP(scif0_ctrl),
  3987. SH_PFC_PIN_GROUP(scif0_data_b),
  3988. SH_PFC_PIN_GROUP(scif1_data),
  3989. SH_PFC_PIN_GROUP(scif1_clk),
  3990. SH_PFC_PIN_GROUP(scif1_ctrl),
  3991. SH_PFC_PIN_GROUP(scif1_data_b),
  3992. SH_PFC_PIN_GROUP(scif1_data_c),
  3993. SH_PFC_PIN_GROUP(scif1_data_d),
  3994. SH_PFC_PIN_GROUP(scif1_clk_d),
  3995. SH_PFC_PIN_GROUP(scif1_data_e),
  3996. SH_PFC_PIN_GROUP(scif1_clk_e),
  3997. SH_PFC_PIN_GROUP(scif2_data),
  3998. SH_PFC_PIN_GROUP(scif2_clk),
  3999. SH_PFC_PIN_GROUP(scif2_data_b),
  4000. SH_PFC_PIN_GROUP(scifa0_data),
  4001. SH_PFC_PIN_GROUP(scifa0_clk),
  4002. SH_PFC_PIN_GROUP(scifa0_ctrl),
  4003. SH_PFC_PIN_GROUP(scifa0_data_b),
  4004. SH_PFC_PIN_GROUP(scifa0_clk_b),
  4005. SH_PFC_PIN_GROUP(scifa0_ctrl_b),
  4006. SH_PFC_PIN_GROUP(scifa1_data),
  4007. SH_PFC_PIN_GROUP(scifa1_clk),
  4008. SH_PFC_PIN_GROUP(scifa1_ctrl),
  4009. SH_PFC_PIN_GROUP(scifa1_data_b),
  4010. SH_PFC_PIN_GROUP(scifa1_clk_b),
  4011. SH_PFC_PIN_GROUP(scifa1_ctrl_b),
  4012. SH_PFC_PIN_GROUP(scifa1_data_c),
  4013. SH_PFC_PIN_GROUP(scifa1_clk_c),
  4014. SH_PFC_PIN_GROUP(scifa1_ctrl_c),
  4015. SH_PFC_PIN_GROUP(scifa1_data_d),
  4016. SH_PFC_PIN_GROUP(scifa1_clk_d),
  4017. SH_PFC_PIN_GROUP(scifa1_ctrl_d),
  4018. SH_PFC_PIN_GROUP(scifa2_data),
  4019. SH_PFC_PIN_GROUP(scifa2_clk),
  4020. SH_PFC_PIN_GROUP(scifa2_ctrl),
  4021. SH_PFC_PIN_GROUP(scifa2_data_b),
  4022. SH_PFC_PIN_GROUP(scifa2_data_c),
  4023. SH_PFC_PIN_GROUP(scifa2_clk_c),
  4024. SH_PFC_PIN_GROUP(scifb0_data),
  4025. SH_PFC_PIN_GROUP(scifb0_clk),
  4026. SH_PFC_PIN_GROUP(scifb0_ctrl),
  4027. SH_PFC_PIN_GROUP(scifb0_data_b),
  4028. SH_PFC_PIN_GROUP(scifb0_clk_b),
  4029. SH_PFC_PIN_GROUP(scifb0_ctrl_b),
  4030. SH_PFC_PIN_GROUP(scifb0_data_c),
  4031. SH_PFC_PIN_GROUP(scifb1_data),
  4032. SH_PFC_PIN_GROUP(scifb1_clk),
  4033. SH_PFC_PIN_GROUP(scifb1_ctrl),
  4034. SH_PFC_PIN_GROUP(scifb1_data_b),
  4035. SH_PFC_PIN_GROUP(scifb1_clk_b),
  4036. SH_PFC_PIN_GROUP(scifb1_ctrl_b),
  4037. SH_PFC_PIN_GROUP(scifb1_data_c),
  4038. SH_PFC_PIN_GROUP(scifb1_data_d),
  4039. SH_PFC_PIN_GROUP(scifb1_data_e),
  4040. SH_PFC_PIN_GROUP(scifb1_clk_e),
  4041. SH_PFC_PIN_GROUP(scifb1_data_f),
  4042. SH_PFC_PIN_GROUP(scifb1_data_g),
  4043. SH_PFC_PIN_GROUP(scifb1_clk_g),
  4044. SH_PFC_PIN_GROUP(scifb2_data),
  4045. SH_PFC_PIN_GROUP(scifb2_clk),
  4046. SH_PFC_PIN_GROUP(scifb2_ctrl),
  4047. SH_PFC_PIN_GROUP(scifb2_data_b),
  4048. SH_PFC_PIN_GROUP(scifb2_clk_b),
  4049. SH_PFC_PIN_GROUP(scifb2_ctrl_b),
  4050. SH_PFC_PIN_GROUP(scifb2_data_c),
  4051. SH_PFC_PIN_GROUP(sdhi0_data1),
  4052. SH_PFC_PIN_GROUP(sdhi0_data4),
  4053. SH_PFC_PIN_GROUP(sdhi0_ctrl),
  4054. SH_PFC_PIN_GROUP(sdhi0_cd),
  4055. SH_PFC_PIN_GROUP(sdhi0_wp),
  4056. SH_PFC_PIN_GROUP(sdhi1_data1),
  4057. SH_PFC_PIN_GROUP(sdhi1_data4),
  4058. SH_PFC_PIN_GROUP(sdhi1_ctrl),
  4059. SH_PFC_PIN_GROUP(sdhi1_cd),
  4060. SH_PFC_PIN_GROUP(sdhi1_wp),
  4061. SH_PFC_PIN_GROUP(sdhi2_data1),
  4062. SH_PFC_PIN_GROUP(sdhi2_data4),
  4063. SH_PFC_PIN_GROUP(sdhi2_ctrl),
  4064. SH_PFC_PIN_GROUP(sdhi2_cd),
  4065. SH_PFC_PIN_GROUP(sdhi2_wp),
  4066. SH_PFC_PIN_GROUP(sdhi3_data1),
  4067. SH_PFC_PIN_GROUP(sdhi3_data4),
  4068. SH_PFC_PIN_GROUP(sdhi3_ctrl),
  4069. SH_PFC_PIN_GROUP(sdhi3_cd),
  4070. SH_PFC_PIN_GROUP(sdhi3_wp),
  4071. SH_PFC_PIN_GROUP(ssi0_data),
  4072. SH_PFC_PIN_GROUP(ssi0129_ctrl),
  4073. SH_PFC_PIN_GROUP(ssi1_data),
  4074. SH_PFC_PIN_GROUP(ssi1_ctrl),
  4075. SH_PFC_PIN_GROUP(ssi2_data),
  4076. SH_PFC_PIN_GROUP(ssi2_ctrl),
  4077. SH_PFC_PIN_GROUP(ssi3_data),
  4078. SH_PFC_PIN_GROUP(ssi34_ctrl),
  4079. SH_PFC_PIN_GROUP(ssi4_data),
  4080. SH_PFC_PIN_GROUP(ssi4_ctrl),
  4081. SH_PFC_PIN_GROUP(ssi5),
  4082. SH_PFC_PIN_GROUP(ssi5_b),
  4083. SH_PFC_PIN_GROUP(ssi5_c),
  4084. SH_PFC_PIN_GROUP(ssi6),
  4085. SH_PFC_PIN_GROUP(ssi6_b),
  4086. SH_PFC_PIN_GROUP(ssi7_data),
  4087. SH_PFC_PIN_GROUP(ssi7_b_data),
  4088. SH_PFC_PIN_GROUP(ssi7_c_data),
  4089. SH_PFC_PIN_GROUP(ssi78_ctrl),
  4090. SH_PFC_PIN_GROUP(ssi78_b_ctrl),
  4091. SH_PFC_PIN_GROUP(ssi78_c_ctrl),
  4092. SH_PFC_PIN_GROUP(ssi8_data),
  4093. SH_PFC_PIN_GROUP(ssi8_b_data),
  4094. SH_PFC_PIN_GROUP(ssi8_c_data),
  4095. SH_PFC_PIN_GROUP(ssi9_data),
  4096. SH_PFC_PIN_GROUP(ssi9_ctrl),
  4097. SH_PFC_PIN_GROUP(tpu0_to0),
  4098. SH_PFC_PIN_GROUP(tpu0_to1),
  4099. SH_PFC_PIN_GROUP(tpu0_to2),
  4100. SH_PFC_PIN_GROUP(tpu0_to3),
  4101. SH_PFC_PIN_GROUP(usb0),
  4102. SH_PFC_PIN_GROUP(usb0_ovc_vbus),
  4103. SH_PFC_PIN_GROUP(usb1),
  4104. SH_PFC_PIN_GROUP(usb2),
  4105. VIN_DATA_PIN_GROUP(vin0_data, 24),
  4106. VIN_DATA_PIN_GROUP(vin0_data, 20),
  4107. SH_PFC_PIN_GROUP(vin0_data18),
  4108. VIN_DATA_PIN_GROUP(vin0_data, 16),
  4109. VIN_DATA_PIN_GROUP(vin0_data, 12),
  4110. VIN_DATA_PIN_GROUP(vin0_data, 10),
  4111. VIN_DATA_PIN_GROUP(vin0_data, 8),
  4112. VIN_DATA_PIN_GROUP(vin0_data, 4),
  4113. SH_PFC_PIN_GROUP(vin0_sync),
  4114. SH_PFC_PIN_GROUP(vin0_field),
  4115. SH_PFC_PIN_GROUP(vin0_clkenb),
  4116. SH_PFC_PIN_GROUP(vin0_clk),
  4117. VIN_DATA_PIN_GROUP(vin1_data, 24),
  4118. VIN_DATA_PIN_GROUP(vin1_data, 20),
  4119. SH_PFC_PIN_GROUP(vin1_data18),
  4120. VIN_DATA_PIN_GROUP(vin1_data, 16),
  4121. VIN_DATA_PIN_GROUP(vin1_data, 12),
  4122. VIN_DATA_PIN_GROUP(vin1_data, 10),
  4123. VIN_DATA_PIN_GROUP(vin1_data, 8),
  4124. VIN_DATA_PIN_GROUP(vin1_data, 4),
  4125. SH_PFC_PIN_GROUP(vin1_sync),
  4126. SH_PFC_PIN_GROUP(vin1_field),
  4127. SH_PFC_PIN_GROUP(vin1_clkenb),
  4128. SH_PFC_PIN_GROUP(vin1_clk),
  4129. VIN_DATA_PIN_GROUP(vin2_data, 24),
  4130. SH_PFC_PIN_GROUP(vin2_data18),
  4131. VIN_DATA_PIN_GROUP(vin2_data, 16),
  4132. VIN_DATA_PIN_GROUP(vin2_data, 8),
  4133. VIN_DATA_PIN_GROUP(vin2_data, 4),
  4134. SH_PFC_PIN_GROUP(vin2_sync),
  4135. SH_PFC_PIN_GROUP(vin2_field),
  4136. SH_PFC_PIN_GROUP(vin2_clkenb),
  4137. SH_PFC_PIN_GROUP(vin2_clk),
  4138. SH_PFC_PIN_GROUP(vin3_data8),
  4139. SH_PFC_PIN_GROUP(vin3_sync),
  4140. SH_PFC_PIN_GROUP(vin3_field),
  4141. SH_PFC_PIN_GROUP(vin3_clkenb),
  4142. SH_PFC_PIN_GROUP(vin3_clk),
  4143. };
  4144. static const char * const audio_clk_groups[] = {
  4145. "audio_clk_a",
  4146. "audio_clk_b",
  4147. "audio_clk_c",
  4148. "audio_clkout",
  4149. "audio_clkout_b",
  4150. "audio_clkout_c",
  4151. "audio_clkout_d",
  4152. };
  4153. static const char * const avb_groups[] = {
  4154. "avb_link",
  4155. "avb_magic",
  4156. "avb_phy_int",
  4157. "avb_mdio",
  4158. "avb_mii",
  4159. "avb_gmii",
  4160. };
  4161. static const char * const du_groups[] = {
  4162. "du_rgb666",
  4163. "du_rgb888",
  4164. "du_clk_out_0",
  4165. "du_clk_out_1",
  4166. "du_sync_0",
  4167. "du_sync_1",
  4168. "du_cde",
  4169. };
  4170. static const char * const du0_groups[] = {
  4171. "du0_clk_in",
  4172. };
  4173. static const char * const du1_groups[] = {
  4174. "du1_clk_in",
  4175. };
  4176. static const char * const du2_groups[] = {
  4177. "du2_clk_in",
  4178. };
  4179. static const char * const eth_groups[] = {
  4180. "eth_link",
  4181. "eth_magic",
  4182. "eth_mdio",
  4183. "eth_rmii",
  4184. };
  4185. static const char * const hscif0_groups[] = {
  4186. "hscif0_data",
  4187. "hscif0_clk",
  4188. "hscif0_ctrl",
  4189. "hscif0_data_b",
  4190. "hscif0_ctrl_b",
  4191. "hscif0_data_c",
  4192. "hscif0_ctrl_c",
  4193. "hscif0_data_d",
  4194. "hscif0_ctrl_d",
  4195. "hscif0_data_e",
  4196. "hscif0_ctrl_e",
  4197. "hscif0_data_f",
  4198. "hscif0_ctrl_f",
  4199. };
  4200. static const char * const hscif1_groups[] = {
  4201. "hscif1_data",
  4202. "hscif1_clk",
  4203. "hscif1_ctrl",
  4204. "hscif1_data_b",
  4205. "hscif1_clk_b",
  4206. "hscif1_ctrl_b",
  4207. };
  4208. static const char * const i2c0_groups[] = {
  4209. "i2c0",
  4210. };
  4211. static const char * const i2c1_groups[] = {
  4212. "i2c1",
  4213. "i2c1_b",
  4214. "i2c1_c",
  4215. };
  4216. static const char * const i2c2_groups[] = {
  4217. "i2c2",
  4218. "i2c2_b",
  4219. "i2c2_c",
  4220. "i2c2_d",
  4221. "i2c2_e",
  4222. };
  4223. static const char * const i2c3_groups[] = {
  4224. "i2c3",
  4225. };
  4226. static const char * const iic0_groups[] = {
  4227. "iic0",
  4228. };
  4229. static const char * const iic1_groups[] = {
  4230. "iic1",
  4231. "iic1_b",
  4232. "iic1_c",
  4233. };
  4234. static const char * const iic2_groups[] = {
  4235. "iic2",
  4236. "iic2_b",
  4237. "iic2_c",
  4238. "iic2_d",
  4239. "iic2_e",
  4240. };
  4241. static const char * const iic3_groups[] = {
  4242. "iic3",
  4243. };
  4244. static const char * const intc_groups[] = {
  4245. "intc_irq0",
  4246. "intc_irq1",
  4247. "intc_irq2",
  4248. "intc_irq3",
  4249. };
  4250. static const char * const mlb_groups[] = {
  4251. "mlb_3pin",
  4252. };
  4253. static const char * const mmc0_groups[] = {
  4254. "mmc0_data1",
  4255. "mmc0_data4",
  4256. "mmc0_data8",
  4257. "mmc0_ctrl",
  4258. };
  4259. static const char * const mmc1_groups[] = {
  4260. "mmc1_data1",
  4261. "mmc1_data4",
  4262. "mmc1_data8",
  4263. "mmc1_ctrl",
  4264. };
  4265. static const char * const msiof0_groups[] = {
  4266. "msiof0_clk",
  4267. "msiof0_sync",
  4268. "msiof0_ss1",
  4269. "msiof0_ss2",
  4270. "msiof0_rx",
  4271. "msiof0_tx",
  4272. "msiof0_clk_b",
  4273. "msiof0_ss1_b",
  4274. "msiof0_ss2_b",
  4275. "msiof0_rx_b",
  4276. "msiof0_tx_b",
  4277. };
  4278. static const char * const msiof1_groups[] = {
  4279. "msiof1_clk",
  4280. "msiof1_sync",
  4281. "msiof1_ss1",
  4282. "msiof1_ss2",
  4283. "msiof1_rx",
  4284. "msiof1_tx",
  4285. "msiof1_clk_b",
  4286. "msiof1_ss1_b",
  4287. "msiof1_ss2_b",
  4288. "msiof1_rx_b",
  4289. "msiof1_tx_b",
  4290. };
  4291. static const char * const msiof2_groups[] = {
  4292. "msiof2_clk",
  4293. "msiof2_sync",
  4294. "msiof2_ss1",
  4295. "msiof2_ss2",
  4296. "msiof2_rx",
  4297. "msiof2_tx",
  4298. };
  4299. static const char * const msiof3_groups[] = {
  4300. "msiof3_clk",
  4301. "msiof3_sync",
  4302. "msiof3_ss1",
  4303. "msiof3_ss2",
  4304. "msiof3_rx",
  4305. "msiof3_tx",
  4306. "msiof3_clk_b",
  4307. "msiof3_sync_b",
  4308. "msiof3_rx_b",
  4309. "msiof3_tx_b",
  4310. };
  4311. static const char * const pwm0_groups[] = {
  4312. "pwm0",
  4313. "pwm0_b",
  4314. };
  4315. static const char * const pwm1_groups[] = {
  4316. "pwm1",
  4317. "pwm1_b",
  4318. };
  4319. static const char * const pwm2_groups[] = {
  4320. "pwm2",
  4321. };
  4322. static const char * const pwm3_groups[] = {
  4323. "pwm3",
  4324. };
  4325. static const char * const pwm4_groups[] = {
  4326. "pwm4",
  4327. };
  4328. static const char * const pwm5_groups[] = {
  4329. "pwm5",
  4330. };
  4331. static const char * const pwm6_groups[] = {
  4332. "pwm6",
  4333. };
  4334. static const char * const qspi_groups[] = {
  4335. "qspi_ctrl",
  4336. "qspi_data2",
  4337. "qspi_data4",
  4338. };
  4339. static const char * const scif0_groups[] = {
  4340. "scif0_data",
  4341. "scif0_clk",
  4342. "scif0_ctrl",
  4343. "scif0_data_b",
  4344. };
  4345. static const char * const scif1_groups[] = {
  4346. "scif1_data",
  4347. "scif1_clk",
  4348. "scif1_ctrl",
  4349. "scif1_data_b",
  4350. "scif1_data_c",
  4351. "scif1_data_d",
  4352. "scif1_clk_d",
  4353. "scif1_data_e",
  4354. "scif1_clk_e",
  4355. };
  4356. static const char * const scif2_groups[] = {
  4357. "scif2_data",
  4358. "scif2_clk",
  4359. "scif2_data_b",
  4360. };
  4361. static const char * const scifa0_groups[] = {
  4362. "scifa0_data",
  4363. "scifa0_clk",
  4364. "scifa0_ctrl",
  4365. "scifa0_data_b",
  4366. "scifa0_clk_b",
  4367. "scifa0_ctrl_b",
  4368. };
  4369. static const char * const scifa1_groups[] = {
  4370. "scifa1_data",
  4371. "scifa1_clk",
  4372. "scifa1_ctrl",
  4373. "scifa1_data_b",
  4374. "scifa1_clk_b",
  4375. "scifa1_ctrl_b",
  4376. "scifa1_data_c",
  4377. "scifa1_clk_c",
  4378. "scifa1_ctrl_c",
  4379. "scifa1_data_d",
  4380. "scifa1_clk_d",
  4381. "scifa1_ctrl_d",
  4382. };
  4383. static const char * const scifa2_groups[] = {
  4384. "scifa2_data",
  4385. "scifa2_clk",
  4386. "scifa2_ctrl",
  4387. "scifa2_data_b",
  4388. "scifa2_data_c",
  4389. "scifa2_clk_c",
  4390. };
  4391. static const char * const scifb0_groups[] = {
  4392. "scifb0_data",
  4393. "scifb0_clk",
  4394. "scifb0_ctrl",
  4395. "scifb0_data_b",
  4396. "scifb0_clk_b",
  4397. "scifb0_ctrl_b",
  4398. "scifb0_data_c",
  4399. };
  4400. static const char * const scifb1_groups[] = {
  4401. "scifb1_data",
  4402. "scifb1_clk",
  4403. "scifb1_ctrl",
  4404. "scifb1_data_b",
  4405. "scifb1_clk_b",
  4406. "scifb1_ctrl_b",
  4407. "scifb1_data_c",
  4408. "scifb1_data_d",
  4409. "scifb1_data_e",
  4410. "scifb1_clk_e",
  4411. "scifb1_data_f",
  4412. "scifb1_data_g",
  4413. "scifb1_clk_g",
  4414. };
  4415. static const char * const scifb2_groups[] = {
  4416. "scifb2_data",
  4417. "scifb2_clk",
  4418. "scifb2_ctrl",
  4419. "scifb2_data_b",
  4420. "scifb2_clk_b",
  4421. "scifb2_ctrl_b",
  4422. "scifb2_data_c",
  4423. };
  4424. static const char * const sdhi0_groups[] = {
  4425. "sdhi0_data1",
  4426. "sdhi0_data4",
  4427. "sdhi0_ctrl",
  4428. "sdhi0_cd",
  4429. "sdhi0_wp",
  4430. };
  4431. static const char * const sdhi1_groups[] = {
  4432. "sdhi1_data1",
  4433. "sdhi1_data4",
  4434. "sdhi1_ctrl",
  4435. "sdhi1_cd",
  4436. "sdhi1_wp",
  4437. };
  4438. static const char * const sdhi2_groups[] = {
  4439. "sdhi2_data1",
  4440. "sdhi2_data4",
  4441. "sdhi2_ctrl",
  4442. "sdhi2_cd",
  4443. "sdhi2_wp",
  4444. };
  4445. static const char * const sdhi3_groups[] = {
  4446. "sdhi3_data1",
  4447. "sdhi3_data4",
  4448. "sdhi3_ctrl",
  4449. "sdhi3_cd",
  4450. "sdhi3_wp",
  4451. };
  4452. static const char * const ssi_groups[] = {
  4453. "ssi0_data",
  4454. "ssi0129_ctrl",
  4455. "ssi1_data",
  4456. "ssi1_ctrl",
  4457. "ssi2_data",
  4458. "ssi2_ctrl",
  4459. "ssi3_data",
  4460. "ssi34_ctrl",
  4461. "ssi4_data",
  4462. "ssi4_ctrl",
  4463. "ssi5",
  4464. "ssi5_b",
  4465. "ssi5_c",
  4466. "ssi6",
  4467. "ssi6_b",
  4468. "ssi7_data",
  4469. "ssi7_b_data",
  4470. "ssi7_c_data",
  4471. "ssi78_ctrl",
  4472. "ssi78_b_ctrl",
  4473. "ssi78_c_ctrl",
  4474. "ssi8_data",
  4475. "ssi8_b_data",
  4476. "ssi8_c_data",
  4477. "ssi9_data",
  4478. "ssi9_ctrl",
  4479. };
  4480. static const char * const tpu0_groups[] = {
  4481. "tpu0_to0",
  4482. "tpu0_to1",
  4483. "tpu0_to2",
  4484. "tpu0_to3",
  4485. };
  4486. static const char * const usb0_groups[] = {
  4487. "usb0",
  4488. "usb0_ovc_vbus",
  4489. };
  4490. static const char * const usb1_groups[] = {
  4491. "usb1",
  4492. };
  4493. static const char * const usb2_groups[] = {
  4494. "usb2",
  4495. };
  4496. static const char * const vin0_groups[] = {
  4497. "vin0_data24",
  4498. "vin0_data20",
  4499. "vin0_data18",
  4500. "vin0_data16",
  4501. "vin0_data12",
  4502. "vin0_data10",
  4503. "vin0_data8",
  4504. "vin0_data4",
  4505. "vin0_sync",
  4506. "vin0_field",
  4507. "vin0_clkenb",
  4508. "vin0_clk",
  4509. };
  4510. static const char * const vin1_groups[] = {
  4511. "vin1_data24",
  4512. "vin1_data20",
  4513. "vin1_data18",
  4514. "vin1_data16",
  4515. "vin1_data12",
  4516. "vin1_data10",
  4517. "vin1_data8",
  4518. "vin1_data4",
  4519. "vin1_sync",
  4520. "vin1_field",
  4521. "vin1_clkenb",
  4522. "vin1_clk",
  4523. };
  4524. static const char * const vin2_groups[] = {
  4525. "vin2_data24",
  4526. "vin2_data18",
  4527. "vin2_data16",
  4528. "vin2_data8",
  4529. "vin2_data4",
  4530. "vin2_sync",
  4531. "vin2_field",
  4532. "vin2_clkenb",
  4533. "vin2_clk",
  4534. };
  4535. static const char * const vin3_groups[] = {
  4536. "vin3_data8",
  4537. "vin3_sync",
  4538. "vin3_field",
  4539. "vin3_clkenb",
  4540. "vin3_clk",
  4541. };
  4542. static const struct sh_pfc_function pinmux_functions[] = {
  4543. SH_PFC_FUNCTION(audio_clk),
  4544. SH_PFC_FUNCTION(avb),
  4545. SH_PFC_FUNCTION(du),
  4546. SH_PFC_FUNCTION(du0),
  4547. SH_PFC_FUNCTION(du1),
  4548. SH_PFC_FUNCTION(du2),
  4549. SH_PFC_FUNCTION(eth),
  4550. SH_PFC_FUNCTION(hscif0),
  4551. SH_PFC_FUNCTION(hscif1),
  4552. SH_PFC_FUNCTION(i2c0),
  4553. SH_PFC_FUNCTION(i2c1),
  4554. SH_PFC_FUNCTION(i2c2),
  4555. SH_PFC_FUNCTION(i2c3),
  4556. SH_PFC_FUNCTION(iic0),
  4557. SH_PFC_FUNCTION(iic1),
  4558. SH_PFC_FUNCTION(iic2),
  4559. SH_PFC_FUNCTION(iic3),
  4560. SH_PFC_FUNCTION(intc),
  4561. SH_PFC_FUNCTION(mlb),
  4562. SH_PFC_FUNCTION(mmc0),
  4563. SH_PFC_FUNCTION(mmc1),
  4564. SH_PFC_FUNCTION(msiof0),
  4565. SH_PFC_FUNCTION(msiof1),
  4566. SH_PFC_FUNCTION(msiof2),
  4567. SH_PFC_FUNCTION(msiof3),
  4568. SH_PFC_FUNCTION(pwm0),
  4569. SH_PFC_FUNCTION(pwm1),
  4570. SH_PFC_FUNCTION(pwm2),
  4571. SH_PFC_FUNCTION(pwm3),
  4572. SH_PFC_FUNCTION(pwm4),
  4573. SH_PFC_FUNCTION(pwm5),
  4574. SH_PFC_FUNCTION(pwm6),
  4575. SH_PFC_FUNCTION(qspi),
  4576. SH_PFC_FUNCTION(scif0),
  4577. SH_PFC_FUNCTION(scif1),
  4578. SH_PFC_FUNCTION(scif2),
  4579. SH_PFC_FUNCTION(scifa0),
  4580. SH_PFC_FUNCTION(scifa1),
  4581. SH_PFC_FUNCTION(scifa2),
  4582. SH_PFC_FUNCTION(scifb0),
  4583. SH_PFC_FUNCTION(scifb1),
  4584. SH_PFC_FUNCTION(scifb2),
  4585. SH_PFC_FUNCTION(sdhi0),
  4586. SH_PFC_FUNCTION(sdhi1),
  4587. SH_PFC_FUNCTION(sdhi2),
  4588. SH_PFC_FUNCTION(sdhi3),
  4589. SH_PFC_FUNCTION(ssi),
  4590. SH_PFC_FUNCTION(tpu0),
  4591. SH_PFC_FUNCTION(usb0),
  4592. SH_PFC_FUNCTION(usb1),
  4593. SH_PFC_FUNCTION(usb2),
  4594. SH_PFC_FUNCTION(vin0),
  4595. SH_PFC_FUNCTION(vin1),
  4596. SH_PFC_FUNCTION(vin2),
  4597. SH_PFC_FUNCTION(vin3),
  4598. };
  4599. static const struct pinmux_cfg_reg pinmux_config_regs[] = {
  4600. { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
  4601. GP_0_31_FN, FN_IP3_17_15,
  4602. GP_0_30_FN, FN_IP3_14_12,
  4603. GP_0_29_FN, FN_IP3_11_8,
  4604. GP_0_28_FN, FN_IP3_7_4,
  4605. GP_0_27_FN, FN_IP3_3_0,
  4606. GP_0_26_FN, FN_IP2_28_26,
  4607. GP_0_25_FN, FN_IP2_25_22,
  4608. GP_0_24_FN, FN_IP2_21_18,
  4609. GP_0_23_FN, FN_IP2_17_15,
  4610. GP_0_22_FN, FN_IP2_14_12,
  4611. GP_0_21_FN, FN_IP2_11_9,
  4612. GP_0_20_FN, FN_IP2_8_6,
  4613. GP_0_19_FN, FN_IP2_5_3,
  4614. GP_0_18_FN, FN_IP2_2_0,
  4615. GP_0_17_FN, FN_IP1_29_28,
  4616. GP_0_16_FN, FN_IP1_27_26,
  4617. GP_0_15_FN, FN_IP1_25_22,
  4618. GP_0_14_FN, FN_IP1_21_18,
  4619. GP_0_13_FN, FN_IP1_17_15,
  4620. GP_0_12_FN, FN_IP1_14_12,
  4621. GP_0_11_FN, FN_IP1_11_8,
  4622. GP_0_10_FN, FN_IP1_7_4,
  4623. GP_0_9_FN, FN_IP1_3_0,
  4624. GP_0_8_FN, FN_IP0_30_27,
  4625. GP_0_7_FN, FN_IP0_26_23,
  4626. GP_0_6_FN, FN_IP0_22_20,
  4627. GP_0_5_FN, FN_IP0_19_16,
  4628. GP_0_4_FN, FN_IP0_15_12,
  4629. GP_0_3_FN, FN_IP0_11_9,
  4630. GP_0_2_FN, FN_IP0_8_6,
  4631. GP_0_1_FN, FN_IP0_5_3,
  4632. GP_0_0_FN, FN_IP0_2_0 }
  4633. },
  4634. { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
  4635. 0, 0,
  4636. 0, 0,
  4637. GP_1_29_FN, FN_IP6_13_11,
  4638. GP_1_28_FN, FN_IP6_10_9,
  4639. GP_1_27_FN, FN_IP6_8_6,
  4640. GP_1_26_FN, FN_IP6_5_3,
  4641. GP_1_25_FN, FN_IP6_2_0,
  4642. GP_1_24_FN, FN_IP5_29_27,
  4643. GP_1_23_FN, FN_IP5_26_24,
  4644. GP_1_22_FN, FN_IP5_23_21,
  4645. GP_1_21_FN, FN_IP5_20_18,
  4646. GP_1_20_FN, FN_IP5_17_15,
  4647. GP_1_19_FN, FN_IP5_14_13,
  4648. GP_1_18_FN, FN_IP5_12_10,
  4649. GP_1_17_FN, FN_IP5_9_6,
  4650. GP_1_16_FN, FN_IP5_5_3,
  4651. GP_1_15_FN, FN_IP5_2_0,
  4652. GP_1_14_FN, FN_IP4_29_27,
  4653. GP_1_13_FN, FN_IP4_26_24,
  4654. GP_1_12_FN, FN_IP4_23_21,
  4655. GP_1_11_FN, FN_IP4_20_18,
  4656. GP_1_10_FN, FN_IP4_17_15,
  4657. GP_1_9_FN, FN_IP4_14_12,
  4658. GP_1_8_FN, FN_IP4_11_9,
  4659. GP_1_7_FN, FN_IP4_8_6,
  4660. GP_1_6_FN, FN_IP4_5_3,
  4661. GP_1_5_FN, FN_IP4_2_0,
  4662. GP_1_4_FN, FN_IP3_31_29,
  4663. GP_1_3_FN, FN_IP3_28_26,
  4664. GP_1_2_FN, FN_IP3_25_23,
  4665. GP_1_1_FN, FN_IP3_22_20,
  4666. GP_1_0_FN, FN_IP3_19_18, }
  4667. },
  4668. { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
  4669. 0, 0,
  4670. 0, 0,
  4671. GP_2_29_FN, FN_IP7_15_13,
  4672. GP_2_28_FN, FN_IP7_12_10,
  4673. GP_2_27_FN, FN_IP7_9_8,
  4674. GP_2_26_FN, FN_IP7_7_6,
  4675. GP_2_25_FN, FN_IP7_5_3,
  4676. GP_2_24_FN, FN_IP7_2_0,
  4677. GP_2_23_FN, FN_IP6_31_29,
  4678. GP_2_22_FN, FN_IP6_28_26,
  4679. GP_2_21_FN, FN_IP6_25_23,
  4680. GP_2_20_FN, FN_IP6_22_20,
  4681. GP_2_19_FN, FN_IP6_19_17,
  4682. GP_2_18_FN, FN_IP6_16_14,
  4683. GP_2_17_FN, FN_VI1_DATA7_VI1_B7,
  4684. GP_2_16_FN, FN_IP8_27,
  4685. GP_2_15_FN, FN_IP8_26,
  4686. GP_2_14_FN, FN_IP8_25_24,
  4687. GP_2_13_FN, FN_IP8_23_22,
  4688. GP_2_12_FN, FN_IP8_21_20,
  4689. GP_2_11_FN, FN_IP8_19_18,
  4690. GP_2_10_FN, FN_IP8_17_16,
  4691. GP_2_9_FN, FN_IP8_15_14,
  4692. GP_2_8_FN, FN_IP8_13_12,
  4693. GP_2_7_FN, FN_IP8_11_10,
  4694. GP_2_6_FN, FN_IP8_9_8,
  4695. GP_2_5_FN, FN_IP8_7_6,
  4696. GP_2_4_FN, FN_IP8_5_4,
  4697. GP_2_3_FN, FN_IP8_3_2,
  4698. GP_2_2_FN, FN_IP8_1_0,
  4699. GP_2_1_FN, FN_IP7_30_29,
  4700. GP_2_0_FN, FN_IP7_28_27 }
  4701. },
  4702. { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
  4703. GP_3_31_FN, FN_IP11_21_18,
  4704. GP_3_30_FN, FN_IP11_17_15,
  4705. GP_3_29_FN, FN_IP11_14_13,
  4706. GP_3_28_FN, FN_IP11_12_11,
  4707. GP_3_27_FN, FN_IP11_10_9,
  4708. GP_3_26_FN, FN_IP11_8_7,
  4709. GP_3_25_FN, FN_IP11_6_5,
  4710. GP_3_24_FN, FN_IP11_4,
  4711. GP_3_23_FN, FN_IP11_3_0,
  4712. GP_3_22_FN, FN_IP10_29_26,
  4713. GP_3_21_FN, FN_IP10_25_23,
  4714. GP_3_20_FN, FN_IP10_22_19,
  4715. GP_3_19_FN, FN_IP10_18_15,
  4716. GP_3_18_FN, FN_IP10_14_11,
  4717. GP_3_17_FN, FN_IP10_10_7,
  4718. GP_3_16_FN, FN_IP10_6_4,
  4719. GP_3_15_FN, FN_IP10_3_0,
  4720. GP_3_14_FN, FN_IP9_31_28,
  4721. GP_3_13_FN, FN_IP9_27_26,
  4722. GP_3_12_FN, FN_IP9_25_24,
  4723. GP_3_11_FN, FN_IP9_23_22,
  4724. GP_3_10_FN, FN_IP9_21_20,
  4725. GP_3_9_FN, FN_IP9_19_18,
  4726. GP_3_8_FN, FN_IP9_17_16,
  4727. GP_3_7_FN, FN_IP9_15_12,
  4728. GP_3_6_FN, FN_IP9_11_8,
  4729. GP_3_5_FN, FN_IP9_7_6,
  4730. GP_3_4_FN, FN_IP9_5_4,
  4731. GP_3_3_FN, FN_IP9_3_2,
  4732. GP_3_2_FN, FN_IP9_1_0,
  4733. GP_3_1_FN, FN_IP8_30_29,
  4734. GP_3_0_FN, FN_IP8_28 }
  4735. },
  4736. { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
  4737. GP_4_31_FN, FN_IP14_18_16,
  4738. GP_4_30_FN, FN_IP14_15_12,
  4739. GP_4_29_FN, FN_IP14_11_9,
  4740. GP_4_28_FN, FN_IP14_8_6,
  4741. GP_4_27_FN, FN_IP14_5_3,
  4742. GP_4_26_FN, FN_IP14_2_0,
  4743. GP_4_25_FN, FN_IP13_30_29,
  4744. GP_4_24_FN, FN_IP13_28_26,
  4745. GP_4_23_FN, FN_IP13_25_23,
  4746. GP_4_22_FN, FN_IP13_22_19,
  4747. GP_4_21_FN, FN_IP13_18_16,
  4748. GP_4_20_FN, FN_IP13_15_13,
  4749. GP_4_19_FN, FN_IP13_12_10,
  4750. GP_4_18_FN, FN_IP13_9_7,
  4751. GP_4_17_FN, FN_IP13_6_3,
  4752. GP_4_16_FN, FN_IP13_2_0,
  4753. GP_4_15_FN, FN_IP12_30_28,
  4754. GP_4_14_FN, FN_IP12_27_25,
  4755. GP_4_13_FN, FN_IP12_24_23,
  4756. GP_4_12_FN, FN_IP12_22_20,
  4757. GP_4_11_FN, FN_IP12_19_17,
  4758. GP_4_10_FN, FN_IP12_16_14,
  4759. GP_4_9_FN, FN_IP12_13_11,
  4760. GP_4_8_FN, FN_IP12_10_8,
  4761. GP_4_7_FN, FN_IP12_7_6,
  4762. GP_4_6_FN, FN_IP12_5_4,
  4763. GP_4_5_FN, FN_IP12_3_2,
  4764. GP_4_4_FN, FN_IP12_1_0,
  4765. GP_4_3_FN, FN_IP11_31_30,
  4766. GP_4_2_FN, FN_IP11_29_27,
  4767. GP_4_1_FN, FN_IP11_26_24,
  4768. GP_4_0_FN, FN_IP11_23_22 }
  4769. },
  4770. { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
  4771. GP_5_31_FN, FN_IP7_24_22,
  4772. GP_5_30_FN, FN_IP7_21_19,
  4773. GP_5_29_FN, FN_IP7_18_16,
  4774. GP_5_28_FN, FN_DU_DOTCLKIN2,
  4775. GP_5_27_FN, FN_IP7_26_25,
  4776. GP_5_26_FN, FN_DU_DOTCLKIN0,
  4777. GP_5_25_FN, FN_AVS2,
  4778. GP_5_24_FN, FN_AVS1,
  4779. GP_5_23_FN, FN_USB2_OVC,
  4780. GP_5_22_FN, FN_USB2_PWEN,
  4781. GP_5_21_FN, FN_IP16_7,
  4782. GP_5_20_FN, FN_IP16_6,
  4783. GP_5_19_FN, FN_USB0_OVC_VBUS,
  4784. GP_5_18_FN, FN_USB0_PWEN,
  4785. GP_5_17_FN, FN_IP16_5_3,
  4786. GP_5_16_FN, FN_IP16_2_0,
  4787. GP_5_15_FN, FN_IP15_29_28,
  4788. GP_5_14_FN, FN_IP15_27_26,
  4789. GP_5_13_FN, FN_IP15_25_23,
  4790. GP_5_12_FN, FN_IP15_22_20,
  4791. GP_5_11_FN, FN_IP15_19_18,
  4792. GP_5_10_FN, FN_IP15_17_16,
  4793. GP_5_9_FN, FN_IP15_15_14,
  4794. GP_5_8_FN, FN_IP15_13_12,
  4795. GP_5_7_FN, FN_IP15_11_9,
  4796. GP_5_6_FN, FN_IP15_8_6,
  4797. GP_5_5_FN, FN_IP15_5_3,
  4798. GP_5_4_FN, FN_IP15_2_0,
  4799. GP_5_3_FN, FN_IP14_30_28,
  4800. GP_5_2_FN, FN_IP14_27_25,
  4801. GP_5_1_FN, FN_IP14_24_22,
  4802. GP_5_0_FN, FN_IP14_21_19 }
  4803. },
  4804. { PINMUX_CFG_REG_VAR("IPSR0", 0xE6060020, 32,
  4805. 1, 4, 4, 3, 4, 4, 3, 3, 3, 3) {
  4806. /* IP0_31 [1] */
  4807. 0, 0,
  4808. /* IP0_30_27 [4] */
  4809. FN_D8, FN_SCIFA1_SCK_C, FN_AVB_TXD0, 0,
  4810. FN_VI0_G0, FN_VI0_G0_B, FN_VI2_DATA0_VI2_B0,
  4811. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4812. /* IP0_26_23 [4] */
  4813. FN_D7, FN_AD_DI_B, FN_IIC2_SDA_C,
  4814. FN_VI3_DATA7, FN_VI0_R3, FN_VI0_R3_B, FN_I2C2_SDA_C,
  4815. FN_TCLK1, 0, 0, 0, 0, 0, 0, 0, 0,
  4816. /* IP0_22_20 [3] */
  4817. FN_D6, FN_IIC2_SCL_C, FN_VI3_DATA6, FN_VI0_R2, FN_VI0_R2_B,
  4818. FN_I2C2_SCL_C, 0, 0,
  4819. /* IP0_19_16 [4] */
  4820. FN_D5, FN_SCIFB1_TXD_F, FN_SCIFB0_TXD_C, FN_VI3_DATA5,
  4821. FN_VI0_R1, FN_VI0_R1_B, FN_TX0_B,
  4822. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4823. /* IP0_15_12 [4] */
  4824. FN_D4, FN_SCIFB1_RXD_F, FN_SCIFB0_RXD_C, FN_VI3_DATA4,
  4825. FN_VI0_R0, FN_VI0_R0_B, FN_RX0_B,
  4826. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4827. /* IP0_11_9 [3] */
  4828. FN_D3, FN_MSIOF3_TXD_B, FN_VI3_DATA3, FN_VI0_G7, FN_VI0_G7_B,
  4829. 0, 0, 0,
  4830. /* IP0_8_6 [3] */
  4831. FN_D2, FN_MSIOF3_RXD_B, FN_VI3_DATA2, FN_VI0_G6, FN_VI0_G6_B,
  4832. 0, 0, 0,
  4833. /* IP0_5_3 [3] */
  4834. FN_D1, FN_MSIOF3_SYNC_B, FN_VI3_DATA1, FN_VI0_G5, FN_VI0_G5_B,
  4835. 0, 0, 0,
  4836. /* IP0_2_0 [3] */
  4837. FN_D0, FN_MSIOF3_SCK_B, FN_VI3_DATA0, FN_VI0_G4, FN_VI0_G4_B,
  4838. 0, 0, 0, }
  4839. },
  4840. { PINMUX_CFG_REG_VAR("IPSR1", 0xE6060024, 32,
  4841. 2, 2, 2, 4, 4, 3, 3, 4, 4, 4) {
  4842. /* IP1_31_30 [2] */
  4843. 0, 0, 0, 0,
  4844. /* IP1_29_28 [2] */
  4845. FN_A1, FN_PWM4, 0, 0,
  4846. /* IP1_27_26 [2] */
  4847. FN_A0, FN_PWM3, 0, 0,
  4848. /* IP1_25_22 [4] */
  4849. FN_D15, FN_SCIFB1_TXD_C, FN_AVB_TXD7, FN_TX1_B,
  4850. FN_VI0_FIELD, FN_VI0_FIELD_B, FN_VI2_DATA7_VI2_B7,
  4851. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4852. /* IP1_21_18 [4] */
  4853. FN_D14, FN_SCIFB1_RXD_C, FN_AVB_TXD6, FN_RX1_B,
  4854. FN_VI0_CLKENB, FN_VI0_CLKENB_B, FN_VI2_DATA6_VI2_B6,
  4855. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4856. /* IP1_17_15 [3] */
  4857. FN_D13, FN_AVB_TXD5, FN_VI0_VSYNC_N,
  4858. FN_VI0_VSYNC_N_B, FN_VI2_DATA5_VI2_B5,
  4859. 0, 0, 0,
  4860. /* IP1_14_12 [3] */
  4861. FN_D12, FN_SCIFA1_RTS_N_C, FN_AVB_TXD4,
  4862. FN_VI0_HSYNC_N, FN_VI0_HSYNC_N_B, FN_VI2_DATA4_VI2_B4,
  4863. 0, 0,
  4864. /* IP1_11_8 [4] */
  4865. FN_D11, FN_SCIFA1_CTS_N_C, FN_AVB_TXD3, 0,
  4866. FN_VI0_G3, FN_VI0_G3_B, FN_VI2_DATA3_VI2_B3,
  4867. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4868. /* IP1_7_4 [4] */
  4869. FN_D10, FN_SCIFA1_TXD_C, FN_AVB_TXD2, 0,
  4870. FN_VI0_G2, FN_VI0_G2_B, FN_VI2_DATA2_VI2_B2,
  4871. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4872. /* IP1_3_0 [4] */
  4873. FN_D9, FN_SCIFA1_RXD_C, FN_AVB_TXD1, 0,
  4874. FN_VI0_G1, FN_VI0_G1_B, FN_VI2_DATA1_VI2_B1,
  4875. 0, 0, 0, 0, 0, 0, 0, 0, 0, }
  4876. },
  4877. { PINMUX_CFG_REG_VAR("IPSR2", 0xE6060028, 32,
  4878. 3, 3, 4, 4, 3, 3, 3, 3, 3, 3) {
  4879. /* IP2_31_29 [3] */
  4880. 0, 0, 0, 0, 0, 0, 0, 0,
  4881. /* IP2_28_26 [3] */
  4882. FN_A10, FN_SSI_SDATA5_B, FN_MSIOF2_SYNC, FN_VI0_R6,
  4883. FN_VI0_R6_B, FN_VI2_DATA2_VI2_B2_B, 0, 0,
  4884. /* IP2_25_22 [4] */
  4885. FN_A9, FN_SCIFA1_CTS_N_B, FN_SSI_WS5_B, FN_VI0_R5,
  4886. FN_VI0_R5_B, FN_SCIFB2_TXD_C, FN_TX2_B, FN_VI2_DATA1_VI2_B1_B,
  4887. 0, 0, 0, 0, 0, 0, 0, 0,
  4888. /* IP2_21_18 [4] */
  4889. FN_A8, FN_SCIFA1_RXD_B, FN_SSI_SCK5_B, FN_VI0_R4,
  4890. FN_VI0_R4_B, FN_SCIFB2_RXD_C, FN_RX2_B, FN_VI2_DATA0_VI2_B0_B,
  4891. 0, 0, 0, 0, 0, 0, 0, 0,
  4892. /* IP2_17_15 [3] */
  4893. FN_A7, FN_SCIFA1_SCK_B, FN_AUDIO_CLKOUT_B, FN_TPU0TO3,
  4894. 0, 0, 0, 0,
  4895. /* IP2_14_12 [3] */
  4896. FN_A6, FN_SCIFA1_RTS_N_B, FN_TPU0TO2, 0, 0, 0, 0, 0,
  4897. /* IP2_11_9 [3] */
  4898. FN_A5, FN_SCIFA1_TXD_B, FN_TPU0TO1, 0, 0, 0, 0, 0,
  4899. /* IP2_8_6 [3] */
  4900. FN_A4, FN_MSIOF1_TXD_B, FN_TPU0TO0, 0, 0, 0, 0, 0,
  4901. /* IP2_5_3 [3] */
  4902. FN_A3, FN_PWM6, FN_MSIOF1_SS2_B, 0, 0, 0, 0, 0,
  4903. /* IP2_2_0 [3] */
  4904. FN_A2, FN_PWM5, FN_MSIOF1_SS1_B, 0, 0, 0, 0, 0, }
  4905. },
  4906. { PINMUX_CFG_REG_VAR("IPSR3", 0xE606002C, 32,
  4907. 3, 3, 3, 3, 2, 3, 3, 4, 4, 4) {
  4908. /* IP3_31_29 [3] */
  4909. FN_A20, FN_SPCLK, FN_VI1_R3, FN_VI1_R3_B, FN_VI2_G4,
  4910. 0, 0, 0,
  4911. /* IP3_28_26 [3] */
  4912. FN_A19, FN_AD_NCS_N_B, FN_ATACS01_N, FN_EX_WAIT0_B,
  4913. 0, 0, 0, 0,
  4914. /* IP3_25_23 [3] */
  4915. FN_A18, FN_AD_CLK_B, FN_ATAG1_N, 0, 0, 0, 0, 0,
  4916. /* IP3_22_20 [3] */
  4917. FN_A17, FN_AD_DO_B, FN_ATADIR1_N, 0, 0, 0, 0, 0,
  4918. /* IP3_19_18 [2] */
  4919. FN_A16, FN_ATAWR1_N, 0, 0,
  4920. /* IP3_17_15 [3] */
  4921. FN_A15, FN_SCIFB2_SCK_B, FN_ATARD1_N, FN_MSIOF2_SS2,
  4922. 0, 0, 0, 0,
  4923. /* IP3_14_12 [3] */
  4924. FN_A14, FN_SCIFB2_TXD_B, FN_ATACS11_N, FN_MSIOF2_SS1,
  4925. 0, 0, 0, 0,
  4926. /* IP3_11_8 [4] */
  4927. FN_A13, FN_SCIFB2_RTS_N_B, FN_EX_WAIT2,
  4928. FN_MSIOF2_RXD, FN_VI1_R2, FN_VI1_R2_B, FN_VI2_G2,
  4929. FN_VI2_DATA5_VI2_B5_B, 0, 0, 0, 0, 0, 0, 0, 0,
  4930. /* IP3_7_4 [4] */
  4931. FN_A12, FN_SCIFB2_RXD_B, FN_MSIOF2_TXD, FN_VI1_R1,
  4932. FN_VI1_R1_B, FN_VI2_G1, FN_VI2_DATA4_VI2_B4_B,
  4933. 0, 0, 0, 0, 0, 0, 0, 0, 0,
  4934. /* IP3_3_0 [4] */
  4935. FN_A11, FN_SCIFB2_CTS_N_B, FN_MSIOF2_SCK, FN_VI1_R0,
  4936. FN_VI1_R0_B, FN_VI2_G0, FN_VI2_DATA3_VI2_B3_B, 0,
  4937. 0, 0, 0, 0, 0, 0, 0, 0, }
  4938. },
  4939. { PINMUX_CFG_REG_VAR("IPSR4", 0xE6060030, 32,
  4940. 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
  4941. /* IP4_31_30 [2] */
  4942. 0, 0, 0, 0,
  4943. /* IP4_29_27 [3] */
  4944. FN_EX_CS2_N, FN_GPS_SIGN, FN_HRTS1_N_B,
  4945. FN_VI3_CLKENB, FN_VI1_G0, FN_VI1_G0_B, FN_VI2_R2, 0,
  4946. /* IP4_26_24 [3] */
  4947. FN_EX_CS1_N, FN_GPS_CLK, FN_HCTS1_N_B, FN_VI1_FIELD,
  4948. FN_VI1_FIELD_B, FN_VI2_R1, 0, 0,
  4949. /* IP4_23_21 [3] */
  4950. FN_EX_CS0_N, FN_HRX1_B, FN_VI1_G5, FN_VI1_G5_B, FN_VI2_R0,
  4951. FN_HTX0_B, FN_MSIOF0_SS1_B, 0,
  4952. /* IP4_20_18 [3] */
  4953. FN_CS1_N_A26, FN_SPEEDIN, FN_VI0_R7, FN_VI0_R7_B,
  4954. FN_VI2_CLK, FN_VI2_CLK_B, 0, 0,
  4955. /* IP4_17_15 [3] */
  4956. FN_CS0_N, FN_VI1_R6, FN_VI1_R6_B, FN_VI2_G3, FN_MSIOF0_SS2_B,
  4957. 0, 0, 0,
  4958. /* IP4_14_12 [3] */
  4959. FN_A25, FN_SSL, FN_VI1_G6, FN_VI1_G6_B, FN_VI2_FIELD,
  4960. FN_VI2_FIELD_B, 0, 0,
  4961. /* IP4_11_9 [3] */
  4962. FN_A24, FN_IO3, FN_VI1_R7, FN_VI1_R7_B, FN_VI2_CLKENB,
  4963. FN_VI2_CLKENB_B, 0, 0,
  4964. /* IP4_8_6 [3] */
  4965. FN_A23, FN_IO2, FN_VI1_G7, FN_VI1_G7_B, FN_VI2_G7, 0, 0, 0,
  4966. /* IP4_5_3 [3] */
  4967. FN_A22, FN_MISO_IO1, FN_VI1_R5, FN_VI1_R5_B, FN_VI2_G6, 0, 0, 0,
  4968. /* IP4_2_0 [3] */
  4969. FN_A21, FN_MOSI_IO0, FN_VI1_R4, FN_VI1_R4_B, FN_VI2_G5, 0, 0, 0,
  4970. }
  4971. },
  4972. { PINMUX_CFG_REG_VAR("IPSR5", 0xE6060034, 32,
  4973. 2, 3, 3, 3, 3, 3, 2, 3, 4, 3, 3) {
  4974. /* IP5_31_30 [2] */
  4975. 0, 0, 0, 0,
  4976. /* IP5_29_27 [3] */
  4977. FN_DREQ0_N, FN_VI1_HSYNC_N, FN_VI1_HSYNC_N_B, FN_VI2_R7,
  4978. FN_SSI_SCK78_C, FN_SSI_WS78_B, 0, 0,
  4979. /* IP5_26_24 [3] */
  4980. FN_EX_WAIT0, FN_IRQ3, FN_INTC_IRQ3_N,
  4981. FN_VI3_CLK, FN_SCIFA0_RTS_N_B, FN_HRX0_B,
  4982. FN_MSIOF0_SCK_B, 0,
  4983. /* IP5_23_21 [3] */
  4984. FN_WE1_N, FN_IERX, FN_CAN1_RX, FN_VI1_G4,
  4985. FN_VI1_G4_B, FN_VI2_R6, FN_SCIFA0_CTS_N_B, FN_IERX_C,
  4986. /* IP5_20_18 [3] */
  4987. FN_WE0_N, FN_IECLK, FN_CAN_CLK,
  4988. FN_VI2_VSYNC_N, FN_SCIFA0_TXD_B, FN_VI2_VSYNC_N_B, 0, 0,
  4989. /* IP5_17_15 [3] */
  4990. FN_RD_WR_N, FN_VI1_G3, FN_VI1_G3_B, FN_VI2_R5, FN_SCIFA0_RXD_B,
  4991. FN_INTC_IRQ4_N, 0, 0,
  4992. /* IP5_14_13 [2] */
  4993. FN_RD_N, FN_CAN0_TX, FN_SCIFA0_SCK_B, 0,
  4994. /* IP5_12_10 [3] */
  4995. FN_BS_N, FN_IETX, FN_HTX1_B, FN_CAN1_TX, FN_DRACK0, FN_IETX_C,
  4996. 0, 0,
  4997. /* IP5_9_6 [4] */
  4998. FN_EX_CS5_N, FN_CAN0_RX, FN_MSIOF1_RXD_B, FN_VI3_VSYNC_N,
  4999. FN_VI1_G2, FN_VI1_G2_B, FN_VI2_R4, FN_IIC1_SDA, FN_INTC_EN1_N,
  5000. FN_I2C1_SDA, 0, 0, 0, 0, 0, 0,
  5001. /* IP5_5_3 [3] */
  5002. FN_EX_CS4_N, FN_MSIOF1_SCK_B, FN_VI3_HSYNC_N,
  5003. FN_VI2_HSYNC_N, FN_IIC1_SCL, FN_VI2_HSYNC_N_B,
  5004. FN_INTC_EN0_N, FN_I2C1_SCL,
  5005. /* IP5_2_0 [3] */
  5006. FN_EX_CS3_N, FN_GPS_MAG, FN_VI3_FIELD, FN_VI1_G1, FN_VI1_G1_B,
  5007. FN_VI2_R3, 0, 0, }
  5008. },
  5009. { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
  5010. 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3) {
  5011. /* IP6_31_29 [3] */
  5012. FN_ETH_REF_CLK, 0, FN_HCTS0_N_E,
  5013. FN_STP_IVCXO27_1_B, FN_HRX0_F, 0, 0, 0,
  5014. /* IP6_28_26 [3] */
  5015. FN_ETH_LINK, 0, FN_HTX0_E,
  5016. FN_STP_IVCXO27_0_B, FN_SCIFB1_TXD_G, FN_TX1_E, 0, 0,
  5017. /* IP6_25_23 [3] */
  5018. FN_ETH_RXD1, 0, FN_HRX0_E, FN_STP_ISSYNC_0_B,
  5019. FN_TS_SCK0_D, FN_GLO_I1_C, FN_SCIFB1_RXD_G, FN_RX1_E,
  5020. /* IP6_22_20 [3] */
  5021. FN_ETH_RXD0, 0, FN_STP_ISEN_0_B, FN_TS_SDAT0_D,
  5022. FN_GLO_I0_C, FN_SCIFB1_SCK_G, FN_SCK1_E, 0,
  5023. /* IP6_19_17 [3] */
  5024. FN_ETH_RX_ER, 0, FN_STP_ISD_0_B,
  5025. FN_TS_SPSYNC0_D, FN_GLO_Q1_C, FN_IIC2_SDA_E, FN_I2C2_SDA_E, 0,
  5026. /* IP6_16_14 [3] */
  5027. FN_ETH_CRS_DV, 0, FN_STP_ISCLK_0_B,
  5028. FN_TS_SDEN0_D, FN_GLO_Q0_C, FN_IIC2_SCL_E,
  5029. FN_I2C2_SCL_E, 0,
  5030. /* IP6_13_11 [3] */
  5031. FN_DACK2, FN_IRQ2, FN_INTC_IRQ2_N,
  5032. FN_SSI_SDATA6_B, FN_HRTS0_N_B, FN_MSIOF0_RXD_B, 0, 0,
  5033. /* IP6_10_9 [2] */
  5034. FN_DREQ2_N, FN_HSCK1_B, FN_HCTS0_N_B, FN_MSIOF0_TXD_B,
  5035. /* IP6_8_6 [3] */
  5036. FN_DACK1, FN_IRQ1, FN_INTC_IRQ1_N, FN_SSI_WS6_B,
  5037. FN_SSI_SDATA8_C, 0, 0, 0,
  5038. /* IP6_5_3 [3] */
  5039. FN_DREQ1_N, FN_VI1_CLKENB, FN_VI1_CLKENB_B,
  5040. FN_SSI_SDATA7_C, FN_SSI_SCK78_B, 0, 0, 0,
  5041. /* IP6_2_0 [3] */
  5042. FN_DACK0, FN_IRQ0, FN_INTC_IRQ0_N, FN_SSI_SCK6_B,
  5043. FN_VI1_VSYNC_N, FN_VI1_VSYNC_N_B, FN_SSI_WS78_C, 0, }
  5044. },
  5045. { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
  5046. 1, 2, 2, 2, 3, 3, 3, 3, 3, 2, 2, 3, 3) {
  5047. /* IP7_31 [1] */
  5048. 0, 0,
  5049. /* IP7_30_29 [2] */
  5050. FN_VI0_DATA0_VI0_B0, FN_ATACS10_N, FN_AVB_RXD2, 0,
  5051. /* IP7_28_27 [2] */
  5052. FN_VI0_CLK, FN_ATACS00_N, FN_AVB_RXD1, 0,
  5053. /* IP7_26_25 [2] */
  5054. FN_DU_DOTCLKIN1, FN_AUDIO_CLKC, FN_AUDIO_CLKOUT_C, 0,
  5055. /* IP7_24_22 [3] */
  5056. FN_PWM2, FN_PWMFSW0, FN_SCIFA2_RXD_C, FN_PCMWE_N, FN_IECLK_C,
  5057. 0, 0, 0,
  5058. /* IP7_21_19 [3] */
  5059. FN_PWM1, FN_SCIFA2_TXD_C, FN_STP_ISSYNC_1_B, FN_TS_SCK1_C,
  5060. FN_GLO_RFON_C, FN_PCMOE_N, 0, 0,
  5061. /* IP7_18_16 [3] */
  5062. FN_PWM0, FN_SCIFA2_SCK_C, FN_STP_ISEN_1_B, FN_TS_SDAT1_C,
  5063. FN_GLO_SS_C, 0, 0, 0,
  5064. /* IP7_15_13 [3] */
  5065. FN_ETH_MDC, 0, FN_STP_ISD_1_B,
  5066. FN_TS_SPSYNC1_C, FN_GLO_SDATA_C, 0, 0, 0,
  5067. /* IP7_12_10 [3] */
  5068. FN_ETH_TXD0, 0, FN_STP_ISCLK_1_B, FN_TS_SDEN1_C,
  5069. FN_GLO_SCLK_C, 0, 0, 0,
  5070. /* IP7_9_8 [2] */
  5071. FN_ETH_MAGIC, 0, FN_SIM0_RST_C, 0,
  5072. /* IP7_7_6 [2] */
  5073. FN_ETH_TX_EN, 0, FN_SIM0_CLK_C, FN_HRTS0_N_F,
  5074. /* IP7_5_3 [3] */
  5075. FN_ETH_TXD1, 0, FN_HTX0_F, FN_BPFCLK_G, 0, 0, 0, 0,
  5076. /* IP7_2_0 [3] */
  5077. FN_ETH_MDIO, 0, FN_HRTS0_N_E,
  5078. FN_SIM0_D_C, FN_HCTS0_N_F, 0, 0, 0, }
  5079. },
  5080. { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
  5081. 1, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2,
  5082. 2, 2, 2, 2, 2, 2, 2) {
  5083. /* IP8_31 [1] */
  5084. 0, 0,
  5085. /* IP8_30_29 [2] */
  5086. FN_SD0_CMD, FN_SCIFB1_SCK_B, FN_VI1_DATA1_VI1_B1_B, 0,
  5087. /* IP8_28 [1] */
  5088. FN_SD0_CLK, FN_VI1_DATA0_VI1_B0_B,
  5089. /* IP8_27 [1] */
  5090. FN_VI1_DATA6_VI1_B6, FN_AVB_GTXREFCLK,
  5091. /* IP8_26 [1] */
  5092. FN_VI1_DATA5_VI1_B5, FN_AVB_PHY_INT,
  5093. /* IP8_25_24 [2] */
  5094. FN_VI1_DATA4_VI1_B4, FN_SCIFA1_RTS_N_D,
  5095. FN_AVB_MAGIC, 0,
  5096. /* IP8_23_22 [2] */
  5097. FN_VI1_DATA3_VI1_B3, FN_SCIFA1_CTS_N_D, FN_AVB_GTX_CLK, 0,
  5098. /* IP8_21_20 [2] */
  5099. FN_VI1_DATA2_VI1_B2, FN_SCIFA1_TXD_D, FN_AVB_MDIO, 0,
  5100. /* IP8_19_18 [2] */
  5101. FN_VI1_DATA1_VI1_B1, FN_SCIFA1_RXD_D, FN_AVB_MDC, 0,
  5102. /* IP8_17_16 [2] */
  5103. FN_VI1_DATA0_VI1_B0, FN_SCIFA1_SCK_D, FN_AVB_CRS, 0,
  5104. /* IP8_15_14 [2] */
  5105. FN_VI1_CLK, FN_AVB_RX_DV, 0, 0,
  5106. /* IP8_13_12 [2] */
  5107. FN_VI0_DATA7_VI0_B7, FN_AVB_RX_CLK, 0, 0,
  5108. /* IP8_11_10 [2] */
  5109. FN_VI0_DATA6_VI0_B6, FN_AVB_RX_ER, 0, 0,
  5110. /* IP8_9_8 [2] */
  5111. FN_VI0_DATA5_VI0_B5, FN_EX_WAIT1, FN_AVB_RXD7, 0,
  5112. /* IP8_7_6 [2] */
  5113. FN_VI0_DATA4_VI0_B4, FN_ATAG0_N, FN_AVB_RXD6, 0,
  5114. /* IP8_5_4 [2] */
  5115. FN_VI0_DATA3_VI0_B3, FN_ATADIR0_N, FN_AVB_RXD5, 0,
  5116. /* IP8_3_2 [2] */
  5117. FN_VI0_DATA2_VI0_B2, FN_ATAWR0_N, FN_AVB_RXD4, 0,
  5118. /* IP8_1_0 [2] */
  5119. FN_VI0_DATA1_VI0_B1, FN_ATARD0_N, FN_AVB_RXD3, 0, }
  5120. },
  5121. { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
  5122. 4, 2, 2, 2, 2, 2, 2, 4, 4, 2, 2, 2, 2) {
  5123. /* IP9_31_28 [4] */
  5124. FN_SD1_CD, FN_MMC1_D6, FN_TS_SDEN1, FN_USB1_EXTP,
  5125. FN_GLO_SS, FN_VI0_CLK_B, FN_IIC2_SCL_D, FN_I2C2_SCL_D,
  5126. FN_SIM0_CLK_B, FN_VI3_CLK_B, 0, 0, 0, 0, 0, 0,
  5127. /* IP9_27_26 [2] */
  5128. FN_SD1_DAT3, FN_AVB_RXD0, 0, FN_SCIFB0_RTS_N_B,
  5129. /* IP9_25_24 [2] */
  5130. FN_SD1_DAT2, FN_AVB_COL, 0, FN_SCIFB0_CTS_N_B,
  5131. /* IP9_23_22 [2] */
  5132. FN_SD1_DAT1, FN_AVB_LINK, 0, FN_SCIFB0_TXD_B,
  5133. /* IP9_21_20 [2] */
  5134. FN_SD1_DAT0, FN_AVB_TX_CLK, 0, FN_SCIFB0_RXD_B,
  5135. /* IP9_19_18 [2] */
  5136. FN_SD1_CMD, FN_AVB_TX_ER, 0, FN_SCIFB0_SCK_B,
  5137. /* IP9_17_16 [2] */
  5138. FN_SD1_CLK, FN_AVB_TX_EN, 0, 0,
  5139. /* IP9_15_12 [4] */
  5140. FN_SD0_WP, FN_MMC0_D7, FN_TS_SPSYNC0_B, FN_USB0_IDIN,
  5141. FN_GLO_SDATA, FN_VI1_DATA7_VI1_B7_B, FN_IIC1_SDA_B,
  5142. FN_I2C1_SDA_B, FN_VI2_DATA7_VI2_B7_B, 0, 0, 0, 0, 0, 0, 0,
  5143. /* IP9_11_8 [4] */
  5144. FN_SD0_CD, FN_MMC0_D6, FN_TS_SDEN0_B, FN_USB0_EXTP,
  5145. FN_GLO_SCLK, FN_VI1_DATA6_VI1_B6_B, FN_IIC1_SCL_B,
  5146. FN_I2C1_SCL_B, FN_VI2_DATA6_VI2_B6_B, 0, 0, 0, 0, 0, 0, 0,
  5147. /* IP9_7_6 [2] */
  5148. FN_SD0_DAT3, FN_SCIFB1_RTS_N_B, FN_VI1_DATA5_VI1_B5_B, 0,
  5149. /* IP9_5_4 [2] */
  5150. FN_SD0_DAT2, FN_SCIFB1_CTS_N_B, FN_VI1_DATA4_VI1_B4_B, 0,
  5151. /* IP9_3_2 [2] */
  5152. FN_SD0_DAT1, FN_SCIFB1_TXD_B, FN_VI1_DATA3_VI1_B3_B, 0,
  5153. /* IP9_1_0 [2] */
  5154. FN_SD0_DAT0, FN_SCIFB1_RXD_B, FN_VI1_DATA2_VI1_B2_B, 0, }
  5155. },
  5156. { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
  5157. 2, 4, 3, 4, 4, 4, 4, 3, 4) {
  5158. /* IP10_31_30 [2] */
  5159. 0, 0, 0, 0,
  5160. /* IP10_29_26 [4] */
  5161. FN_SD2_CD, FN_MMC0_D4, FN_TS_SDAT0_B, FN_USB2_EXTP, FN_GLO_I0,
  5162. FN_VI0_DATA6_VI0_B6_B, FN_HCTS0_N_D, FN_TS_SDAT1_B,
  5163. FN_GLO_I0_B, FN_VI3_DATA6_B, 0, 0, 0, 0, 0, 0,
  5164. /* IP10_25_23 [3] */
  5165. FN_SD2_DAT3, FN_MMC0_D3, FN_SIM0_RST, FN_VI0_DATA5_VI0_B5_B,
  5166. FN_HTX0_D, FN_TS_SPSYNC1_B, FN_GLO_Q1_B, FN_VI3_DATA5_B,
  5167. /* IP10_22_19 [4] */
  5168. FN_SD2_DAT2, FN_MMC0_D2, FN_BPFCLK_B, 0,
  5169. FN_VI0_DATA4_VI0_B4_B, FN_HRX0_D, FN_TS_SDEN1_B,
  5170. FN_GLO_Q0_B, FN_VI3_DATA4_B, 0, 0, 0, 0, 0, 0, 0,
  5171. /* IP10_18_15 [4] */
  5172. FN_SD2_DAT1, FN_MMC0_D1, FN_FMIN_B, 0,
  5173. FN_VI0_DATA3_VI0_B3_B, FN_SCIFB1_TXD_E, FN_TX1_D,
  5174. FN_TS_SCK0_C, FN_GLO_RFON_B, FN_VI3_DATA3_B,
  5175. 0, 0, 0, 0, 0, 0,
  5176. /* IP10_14_11 [4] */
  5177. FN_SD2_DAT0, FN_MMC0_D0, FN_FMCLK_B,
  5178. FN_VI0_DATA2_VI0_B2_B, FN_SCIFB1_RXD_E, FN_RX1_D,
  5179. FN_TS_SDAT0_C, FN_GLO_SS_B, FN_VI3_DATA2_B,
  5180. 0, 0, 0, 0, 0, 0, 0,
  5181. /* IP10_10_7 [4] */
  5182. FN_SD2_CMD, FN_MMC0_CMD, FN_SIM0_D,
  5183. FN_VI0_DATA1_VI0_B1_B, FN_SCIFB1_SCK_E, FN_SCK1_D,
  5184. FN_TS_SPSYNC0_C, FN_GLO_SDATA_B, FN_VI3_DATA1_B,
  5185. 0, 0, 0, 0, 0, 0, 0,
  5186. /* IP10_6_4 [3] */
  5187. FN_SD2_CLK, FN_MMC0_CLK, FN_SIM0_CLK,
  5188. FN_VI0_DATA0_VI0_B0_B, FN_TS_SDEN0_C, FN_GLO_SCLK_B,
  5189. FN_VI3_DATA0_B, 0,
  5190. /* IP10_3_0 [4] */
  5191. FN_SD1_WP, FN_MMC1_D7, FN_TS_SPSYNC1, FN_USB1_IDIN,
  5192. FN_GLO_RFON, FN_VI1_CLK_B, FN_IIC2_SDA_D, FN_I2C2_SDA_D,
  5193. FN_SIM0_D_B, 0, 0, 0, 0, 0, 0, 0, }
  5194. },
  5195. { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
  5196. 2, 3, 3, 2, 4, 3, 2, 2, 2, 2, 2, 1, 4) {
  5197. /* IP11_31_30 [2] */
  5198. FN_SSI_SCK0129, FN_CAN_CLK_B, FN_MOUT0, 0,
  5199. /* IP11_29_27 [3] */
  5200. FN_MLB_DAT, 0, FN_SCIFB1_TXD_D, FN_TX1_C, FN_BPFCLK_C,
  5201. 0, 0, 0,
  5202. /* IP11_26_24 [3] */
  5203. FN_MLB_SIG, FN_SCIFB1_RXD_D, FN_RX1_C, FN_IIC2_SDA_B, FN_I2C2_SDA_B,
  5204. 0, 0, 0,
  5205. /* IP11_23_22 [2] */
  5206. FN_MLB_CLK, FN_IIC2_SCL_B, FN_I2C2_SCL_B, 0,
  5207. /* IP11_21_18 [4] */
  5208. FN_SD3_WP, FN_MMC1_D5, FN_TS_SCK1, FN_GLO_Q1, FN_FMIN_C,
  5209. 0, FN_FMIN_E, 0, FN_FMIN_F, 0, 0, 0, 0, 0, 0, 0,
  5210. /* IP11_17_15 [3] */
  5211. FN_SD3_CD, FN_MMC1_D4, FN_TS_SDAT1,
  5212. FN_VSP, FN_GLO_Q0, FN_SIM0_RST_B, 0, 0,
  5213. /* IP11_14_13 [2] */
  5214. FN_SD3_DAT3, FN_MMC1_D3, FN_SCKZ, 0,
  5215. /* IP11_12_11 [2] */
  5216. FN_SD3_DAT2, FN_MMC1_D2, FN_SDATA, 0,
  5217. /* IP11_10_9 [2] */
  5218. FN_SD3_DAT1, FN_MMC1_D1, FN_MDATA, 0,
  5219. /* IP11_8_7 [2] */
  5220. FN_SD3_DAT0, FN_MMC1_D0, FN_STM_N, 0,
  5221. /* IP11_6_5 [2] */
  5222. FN_SD3_CMD, FN_MMC1_CMD, FN_MTS_N, 0,
  5223. /* IP11_4 [1] */
  5224. FN_SD3_CLK, FN_MMC1_CLK,
  5225. /* IP11_3_0 [4] */
  5226. FN_SD2_WP, FN_MMC0_D5, FN_TS_SCK0_B, FN_USB2_IDIN,
  5227. FN_GLO_I1, FN_VI0_DATA7_VI0_B7_B, FN_HRTS0_N_D,
  5228. FN_TS_SCK1_B, FN_GLO_I1_B, FN_VI3_DATA7_B, 0, 0, 0, 0, 0, 0, }
  5229. },
  5230. { PINMUX_CFG_REG_VAR("IPSR12", 0xE6060050, 32,
  5231. 1, 3, 3, 2, 3, 3, 3, 3, 3, 2, 2, 2, 2) {
  5232. /* IP12_31 [1] */
  5233. 0, 0,
  5234. /* IP12_30_28 [3] */
  5235. FN_SSI_WS5, FN_SCIFB1_RXD, FN_IECLK_B,
  5236. FN_DU2_EXVSYNC_DU2_VSYNC, FN_QSTB_QHE,
  5237. FN_CAN_DEBUGOUT4, 0, 0,
  5238. /* IP12_27_25 [3] */
  5239. FN_SSI_SCK5, FN_SCIFB1_SCK,
  5240. FN_IERX_B, FN_DU2_EXHSYNC_DU2_HSYNC, FN_QSTH_QHS,
  5241. FN_CAN_DEBUGOUT3, 0, 0,
  5242. /* IP12_24_23 [2] */
  5243. FN_SSI_SDATA4, FN_STP_ISSYNC_0, FN_MSIOF1_RXD,
  5244. FN_CAN_DEBUGOUT2,
  5245. /* IP12_22_20 [3] */
  5246. FN_SSI_WS4, FN_STP_ISEN_0, FN_SCIFB0_RTS_N,
  5247. FN_MSIOF1_TXD, FN_SSI_WS5_C, FN_CAN_DEBUGOUT1, 0, 0,
  5248. /* IP12_19_17 [3] */
  5249. FN_SSI_SCK4, FN_STP_ISD_0, FN_SCIFB0_CTS_N,
  5250. FN_MSIOF1_SS2, FN_SSI_SCK5_C, FN_CAN_DEBUGOUT0, 0, 0,
  5251. /* IP12_16_14 [3] */
  5252. FN_SSI_SDATA3, FN_STP_ISCLK_0,
  5253. FN_SCIFB0_TXD, FN_MSIOF1_SS1, FN_CAN_TXCLK, 0, 0, 0,
  5254. /* IP12_13_11 [3] */
  5255. FN_SSI_WS34, FN_STP_IVCXO27_0, FN_SCIFB0_RXD, FN_MSIOF1_SYNC,
  5256. FN_CAN_STEP0, 0, 0, 0,
  5257. /* IP12_10_8 [3] */
  5258. FN_SSI_SCK34, FN_STP_OPWM_0, FN_SCIFB0_SCK,
  5259. FN_MSIOF1_SCK, FN_CAN_DEBUG_HW_TRIGGER, 0, 0, 0,
  5260. /* IP12_7_6 [2] */
  5261. FN_SSI_SDATA2, FN_CAN1_RX_B, FN_SSI_SCK1, FN_MOUT6,
  5262. /* IP12_5_4 [2] */
  5263. FN_SSI_SDATA1, FN_CAN1_TX_B, FN_MOUT5, 0,
  5264. /* IP12_3_2 [2] */
  5265. FN_SSI_SDATA0, FN_CAN0_RX_B, FN_MOUT2, 0,
  5266. /* IP12_1_0 [2] */
  5267. FN_SSI_WS0129, FN_CAN0_TX_B, FN_MOUT1, 0, }
  5268. },
  5269. { PINMUX_CFG_REG_VAR("IPSR13", 0xE6060054, 32,
  5270. 1, 2, 3, 3, 4, 3, 3, 3, 3, 4, 3) {
  5271. /* IP13_31 [1] */
  5272. 0, 0,
  5273. /* IP13_30_29 [2] */
  5274. FN_AUDIO_CLKA, FN_SCIFB2_RTS_N, FN_CAN_DEBUGOUT14, 0,
  5275. /* IP13_28_26 [3] */
  5276. FN_SSI_SDATA9, FN_STP_ISSYNC_1, FN_SCIFB2_CTS_N, FN_SSI_WS1,
  5277. FN_SSI_SDATA5_C, FN_CAN_DEBUGOUT13, 0, 0,
  5278. /* IP13_25_23 [3] */
  5279. FN_SSI_SDATA8, FN_STP_ISEN_1, FN_SCIFB2_TXD, FN_CAN0_TX_C,
  5280. FN_CAN_DEBUGOUT12, FN_SSI_SDATA8_B, 0, 0,
  5281. /* IP13_22_19 [4] */
  5282. FN_SSI_SDATA7, FN_STP_ISD_1, FN_SCIFB2_RXD, FN_SCIFA2_RTS_N,
  5283. FN_TCLK2, FN_QSTVA_QVS, FN_CAN_DEBUGOUT11, FN_BPFCLK_E,
  5284. 0, FN_SSI_SDATA7_B, FN_FMIN_G, 0, 0, 0, 0, 0,
  5285. /* IP13_18_16 [3] */
  5286. FN_SSI_WS78, FN_STP_ISCLK_1, FN_SCIFB2_SCK, FN_SCIFA2_CTS_N,
  5287. FN_DU2_DR7, FN_LCDOUT7, FN_CAN_DEBUGOUT10, 0,
  5288. /* IP13_15_13 [3] */
  5289. FN_SSI_SCK78, FN_STP_IVCXO27_1, FN_SCK1, FN_SCIFA1_SCK,
  5290. FN_DU2_DR6, FN_LCDOUT6, FN_CAN_DEBUGOUT9, 0,
  5291. /* IP13_12_10 [3] */
  5292. FN_SSI_SDATA6, FN_FMIN_D, 0, FN_DU2_DR5, FN_LCDOUT5,
  5293. FN_CAN_DEBUGOUT8, 0, 0,
  5294. /* IP13_9_7 [3] */
  5295. FN_SSI_WS6, FN_SCIFB1_RTS_N, FN_CAN0_TX_D, FN_DU2_DR4,
  5296. FN_LCDOUT4, FN_CAN_DEBUGOUT7, 0, 0,
  5297. /* IP13_6_3 [4] */
  5298. FN_SSI_SCK6, FN_SCIFB1_CTS_N, FN_BPFCLK_D, 0,
  5299. FN_DU2_DR3, FN_LCDOUT3, FN_CAN_DEBUGOUT6,
  5300. FN_BPFCLK_F, 0, 0, 0, 0, 0, 0, 0, 0,
  5301. /* IP13_2_0 [3] */
  5302. FN_SSI_SDATA5, FN_SCIFB1_TXD, FN_IETX_B, FN_DU2_DR2,
  5303. FN_LCDOUT2, FN_CAN_DEBUGOUT5, 0, 0, }
  5304. },
  5305. { PINMUX_CFG_REG_VAR("IPSR14", 0xE6060058, 32,
  5306. 1, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3) {
  5307. /* IP14_30 [1] */
  5308. 0, 0,
  5309. /* IP14_30_28 [3] */
  5310. FN_SCIFA1_RTS_N, FN_AD_NCS_N, FN_RTS1_N,
  5311. FN_MSIOF3_TXD, FN_DU1_DOTCLKOUT, FN_QSTVB_QVE,
  5312. FN_HRTS0_N_C, 0,
  5313. /* IP14_27_25 [3] */
  5314. FN_SCIFA1_CTS_N, FN_AD_CLK, FN_CTS1_N, FN_MSIOF3_RXD,
  5315. FN_DU0_DOTCLKOUT, FN_QCLK, 0, 0,
  5316. /* IP14_24_22 [3] */
  5317. FN_SCIFA1_TXD, FN_AD_DO, FN_TX1, FN_DU2_DG1,
  5318. FN_LCDOUT9, 0, 0, 0,
  5319. /* IP14_21_19 [3] */
  5320. FN_SCIFA1_RXD, FN_AD_DI, FN_RX1,
  5321. FN_DU2_EXODDF_DU2_ODDF_DISP_CDE, FN_QCPV_QDE, 0, 0, 0,
  5322. /* IP14_18_16 [3] */
  5323. FN_SCIFA0_RTS_N, FN_HRTS1_N, FN_RTS0_N,
  5324. FN_MSIOF3_SS1, FN_DU2_DG0, FN_LCDOUT8, FN_PWM1_B, 0,
  5325. /* IP14_15_12 [4] */
  5326. FN_SCIFA0_CTS_N, FN_HCTS1_N, FN_CTS0_N, FN_MSIOF3_SYNC,
  5327. FN_DU2_DG3, FN_LCDOUT11, FN_PWM0_B, FN_IIC1_SCL_C, FN_I2C1_SCL_C,
  5328. 0, 0, 0, 0, 0, 0, 0,
  5329. /* IP14_11_9 [3] */
  5330. FN_SCIFA0_TXD, FN_HTX1, FN_TX0, FN_DU2_DR1, FN_LCDOUT1,
  5331. 0, 0, 0,
  5332. /* IP14_8_6 [3] */
  5333. FN_SCIFA0_RXD, FN_HRX1, FN_RX0, FN_DU2_DR0, FN_LCDOUT0,
  5334. 0, 0, 0,
  5335. /* IP14_5_3 [3] */
  5336. FN_SCIFA0_SCK, FN_HSCK1, FN_SCK0, FN_MSIOF3_SS2, FN_DU2_DG2,
  5337. FN_LCDOUT10, FN_IIC1_SDA_C, FN_I2C1_SDA_C,
  5338. /* IP14_2_0 [3] */
  5339. FN_AUDIO_CLKB, FN_SCIF_CLK, FN_CAN0_RX_D,
  5340. FN_DVC_MUTE, FN_CAN0_RX_C, FN_CAN_DEBUGOUT15,
  5341. FN_REMOCON, 0, }
  5342. },
  5343. { PINMUX_CFG_REG_VAR("IPSR15", 0xE606005C, 32,
  5344. 2, 2, 2, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3) {
  5345. /* IP15_31_30 [2] */
  5346. 0, 0, 0, 0,
  5347. /* IP15_29_28 [2] */
  5348. FN_MSIOF0_TXD, FN_ADICHS1, FN_DU2_DG6, FN_LCDOUT14,
  5349. /* IP15_27_26 [2] */
  5350. FN_MSIOF0_SS1, FN_ADICHS0, FN_DU2_DG5, FN_LCDOUT13,
  5351. /* IP15_25_23 [3] */
  5352. FN_MSIOF0_SYNC, FN_TS_SCK0, FN_SSI_SCK2, FN_ADIDATA,
  5353. FN_DU2_DB7, FN_LCDOUT23, FN_HRX0_C, 0,
  5354. /* IP15_22_20 [3] */
  5355. FN_MSIOF0_SCK, FN_TS_SDAT0, FN_ADICLK,
  5356. FN_DU2_DB6, FN_LCDOUT22, 0, 0, 0,
  5357. /* IP15_19_18 [2] */
  5358. FN_HRTS0_N, FN_SSI_WS9, FN_DU2_DB5, FN_LCDOUT21,
  5359. /* IP15_17_16 [2] */
  5360. FN_HCTS0_N, FN_SSI_SCK9, FN_DU2_DB4, FN_LCDOUT20,
  5361. /* IP15_15_14 [2] */
  5362. FN_HTX0, FN_DU2_DB3, FN_LCDOUT19, 0,
  5363. /* IP15_13_12 [2] */
  5364. FN_HRX0, FN_DU2_DB2, FN_LCDOUT18, 0,
  5365. /* IP15_11_9 [3] */
  5366. FN_HSCK0, FN_TS_SDEN0, FN_DU2_DG4, FN_LCDOUT12, FN_HCTS0_N_C,
  5367. 0, 0, 0,
  5368. /* IP15_8_6 [3] */
  5369. FN_SCIFA2_TXD, FN_BPFCLK, FN_RX2, FN_DU2_DB1, FN_LCDOUT17,
  5370. FN_IIC2_SDA, FN_I2C2_SDA, 0,
  5371. /* IP15_5_3 [3] */
  5372. FN_SCIFA2_RXD, FN_FMIN, FN_TX2, FN_DU2_DB0, FN_LCDOUT16,
  5373. FN_IIC2_SCL, FN_I2C2_SCL, 0,
  5374. /* IP15_2_0 [3] */
  5375. FN_SCIFA2_SCK, FN_FMCLK, FN_SCK2, FN_MSIOF3_SCK, FN_DU2_DG7,
  5376. FN_LCDOUT15, FN_SCIF_CLK_B, 0, }
  5377. },
  5378. { PINMUX_CFG_REG_VAR("IPSR16", 0xE6060160, 32,
  5379. 4, 4, 4, 4, 4, 4, 1, 1, 3, 3) {
  5380. /* IP16_31_28 [4] */
  5381. 0, 0, 0, 0, 0, 0, 0, 0,
  5382. 0, 0, 0, 0, 0, 0, 0, 0,
  5383. /* IP16_27_24 [4] */
  5384. 0, 0, 0, 0, 0, 0, 0, 0,
  5385. 0, 0, 0, 0, 0, 0, 0, 0,
  5386. /* IP16_23_20 [4] */
  5387. 0, 0, 0, 0, 0, 0, 0, 0,
  5388. 0, 0, 0, 0, 0, 0, 0, 0,
  5389. /* IP16_19_16 [4] */
  5390. 0, 0, 0, 0, 0, 0, 0, 0,
  5391. 0, 0, 0, 0, 0, 0, 0, 0,
  5392. /* IP16_15_12 [4] */
  5393. 0, 0, 0, 0, 0, 0, 0, 0,
  5394. 0, 0, 0, 0, 0, 0, 0, 0,
  5395. /* IP16_11_8 [4] */
  5396. 0, 0, 0, 0, 0, 0, 0, 0,
  5397. 0, 0, 0, 0, 0, 0, 0, 0,
  5398. /* IP16_7 [1] */
  5399. FN_USB1_OVC, FN_TCLK1_B,
  5400. /* IP16_6 [1] */
  5401. FN_USB1_PWEN, FN_AUDIO_CLKOUT_D,
  5402. /* IP16_5_3 [3] */
  5403. FN_MSIOF0_RXD, FN_TS_SPSYNC0, FN_SSI_WS2,
  5404. FN_ADICS_SAMP, FN_DU2_CDE, FN_QPOLB, FN_SCIFA2_RXD_B, 0,
  5405. /* IP16_2_0 [3] */
  5406. FN_MSIOF0_SS2, FN_AUDIO_CLKOUT, FN_ADICHS2,
  5407. FN_DU2_DISP, FN_QPOLA, FN_HTX0_C, FN_SCIFA2_TXD_B, 0, }
  5408. },
  5409. { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
  5410. 3, 2, 2, 3, 2, 1, 1, 1, 2, 1,
  5411. 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1) {
  5412. /* SEL_SCIF1 [3] */
  5413. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
  5414. FN_SEL_SCIF1_4, 0, 0, 0,
  5415. /* SEL_SCIFB [2] */
  5416. FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, 0,
  5417. /* SEL_SCIFB2 [2] */
  5418. FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2, 0,
  5419. /* SEL_SCIFB1 [3] */
  5420. FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2,
  5421. FN_SEL_SCIFB1_3, FN_SEL_SCIFB1_4, FN_SEL_SCIFB1_5,
  5422. FN_SEL_SCIFB1_6, 0,
  5423. /* SEL_SCIFA1 [2] */
  5424. FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2,
  5425. FN_SEL_SCIFA1_3,
  5426. /* SEL_SCIF0 [1] */
  5427. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1,
  5428. /* SEL_SCIFA [1] */
  5429. FN_SEL_SCFA_0, FN_SEL_SCFA_1,
  5430. /* SEL_SOF1 [1] */
  5431. FN_SEL_SOF1_0, FN_SEL_SOF1_1,
  5432. /* SEL_SSI7 [2] */
  5433. FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2, 0,
  5434. /* SEL_SSI6 [1] */
  5435. FN_SEL_SSI6_0, FN_SEL_SSI6_1,
  5436. /* SEL_SSI5 [2] */
  5437. FN_SEL_SSI5_0, FN_SEL_SSI5_1, FN_SEL_SSI5_2, 0,
  5438. /* SEL_VI3 [1] */
  5439. FN_SEL_VI3_0, FN_SEL_VI3_1,
  5440. /* SEL_VI2 [1] */
  5441. FN_SEL_VI2_0, FN_SEL_VI2_1,
  5442. /* SEL_VI1 [1] */
  5443. FN_SEL_VI1_0, FN_SEL_VI1_1,
  5444. /* SEL_VI0 [1] */
  5445. FN_SEL_VI0_0, FN_SEL_VI0_1,
  5446. /* SEL_TSIF1 [2] */
  5447. FN_SEL_TSIF1_0, FN_SEL_TSIF1_1, FN_SEL_TSIF1_2, 0,
  5448. /* RESERVED [1] */
  5449. 0, 0,
  5450. /* SEL_LBS [1] */
  5451. FN_SEL_LBS_0, FN_SEL_LBS_1,
  5452. /* SEL_TSIF0 [2] */
  5453. FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
  5454. /* SEL_SOF3 [1] */
  5455. FN_SEL_SOF3_0, FN_SEL_SOF3_1,
  5456. /* SEL_SOF0 [1] */
  5457. FN_SEL_SOF0_0, FN_SEL_SOF0_1, }
  5458. },
  5459. { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
  5460. 3, 1, 1, 1, 2, 1, 2, 1, 2,
  5461. 1, 1, 1, 3, 3, 2, 3, 2, 2) {
  5462. /* RESERVED [3] */
  5463. 0, 0, 0, 0, 0, 0, 0, 0,
  5464. /* SEL_TMU1 [1] */
  5465. FN_SEL_TMU1_0, FN_SEL_TMU1_1,
  5466. /* SEL_HSCIF1 [1] */
  5467. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
  5468. /* SEL_SCIFCLK [1] */
  5469. FN_SEL_SCIFCLK_0, FN_SEL_SCIFCLK_1,
  5470. /* SEL_CAN0 [2] */
  5471. FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
  5472. /* SEL_CANCLK [1] */
  5473. FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
  5474. /* SEL_SCIFA2 [2] */
  5475. FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1, FN_SEL_SCIFA2_2, 0,
  5476. /* SEL_CAN1 [1] */
  5477. FN_SEL_CAN1_0, FN_SEL_CAN1_1,
  5478. /* RESERVED [2] */
  5479. 0, 0, 0, 0,
  5480. /* SEL_SCIF2 [1] */
  5481. FN_SEL_SCIF2_0, FN_SEL_SCIF2_1,
  5482. /* SEL_ADI [1] */
  5483. FN_SEL_ADI_0, FN_SEL_ADI_1,
  5484. /* SEL_SSP [1] */
  5485. FN_SEL_SSP_0, FN_SEL_SSP_1,
  5486. /* SEL_FM [3] */
  5487. FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3,
  5488. FN_SEL_FM_4, FN_SEL_FM_5, FN_SEL_FM_6, 0,
  5489. /* SEL_HSCIF0 [3] */
  5490. FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2,
  5491. FN_SEL_HSCIF0_3, FN_SEL_HSCIF0_4, FN_SEL_HSCIF0_5, 0, 0,
  5492. /* SEL_GPS [2] */
  5493. FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, 0,
  5494. /* RESERVED [3] */
  5495. 0, 0, 0, 0, 0, 0, 0, 0,
  5496. /* SEL_SIM [2] */
  5497. FN_SEL_SIM_0, FN_SEL_SIM_1, FN_SEL_SIM_2, 0,
  5498. /* SEL_SSI8 [2] */
  5499. FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2, 0, }
  5500. },
  5501. { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
  5502. 1, 1, 2, 4, 4, 2, 2,
  5503. 4, 2, 3, 2, 3, 2) {
  5504. /* SEL_IICDVFS [1] */
  5505. FN_SEL_IICDVFS_0, FN_SEL_IICDVFS_1,
  5506. /* SEL_IIC0 [1] */
  5507. FN_SEL_IIC0_0, FN_SEL_IIC0_1,
  5508. /* RESERVED [2] */
  5509. 0, 0, 0, 0,
  5510. /* RESERVED [4] */
  5511. 0, 0, 0, 0, 0, 0, 0, 0,
  5512. 0, 0, 0, 0, 0, 0, 0, 0,
  5513. /* RESERVED [4] */
  5514. 0, 0, 0, 0, 0, 0, 0, 0,
  5515. 0, 0, 0, 0, 0, 0, 0, 0,
  5516. /* RESERVED [2] */
  5517. 0, 0, 0, 0,
  5518. /* SEL_IEB [2] */
  5519. FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, 0,
  5520. /* RESERVED [4] */
  5521. 0, 0, 0, 0, 0, 0, 0, 0,
  5522. 0, 0, 0, 0, 0, 0, 0, 0,
  5523. /* RESERVED [2] */
  5524. 0, 0, 0, 0,
  5525. /* SEL_IIC2 [3] */
  5526. FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
  5527. FN_SEL_IIC2_4, 0, 0, 0,
  5528. /* SEL_IIC1 [2] */
  5529. FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, 0,
  5530. /* SEL_I2C2 [3] */
  5531. FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
  5532. FN_SEL_I2C2_4, 0, 0, 0,
  5533. /* SEL_I2C1 [2] */
  5534. FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2, 0, }
  5535. },
  5536. { },
  5537. };
  5538. const struct sh_pfc_soc_info r8a7790_pinmux_info = {
  5539. .name = "r8a77900_pfc",
  5540. .unlock_reg = 0xe6060000, /* PMMR */
  5541. .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
  5542. .pins = pinmux_pins,
  5543. .nr_pins = ARRAY_SIZE(pinmux_pins),
  5544. .groups = pinmux_groups,
  5545. .nr_groups = ARRAY_SIZE(pinmux_groups),
  5546. .functions = pinmux_functions,
  5547. .nr_functions = ARRAY_SIZE(pinmux_functions),
  5548. .cfg_regs = pinmux_config_regs,
  5549. .pinmux_data = pinmux_data,
  5550. .pinmux_data_size = ARRAY_SIZE(pinmux_data),
  5551. };