pfc-r8a7794.c 149 KB

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