pfc-r8a7779.c 107 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646
  1. /*
  2. * r8a7779 processor support - PFC hardware block
  3. *
  4. * Copyright (C) 2011 Renesas Solutions Corp.
  5. * Copyright (C) 2011 Magnus Damm
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; version 2 of the License.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #include <linux/init.h>
  21. #include <linux/kernel.h>
  22. #include <linux/gpio.h>
  23. #include <linux/ioport.h>
  24. #include <mach/r8a7779.h>
  25. #define CPU_32_PORT(fn, pfx, sfx) \
  26. PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
  27. PORT_10(fn, pfx##2, sfx), PORT_1(fn, pfx##30, sfx), \
  28. PORT_1(fn, pfx##31, sfx)
  29. #define CPU_32_PORT6(fn, pfx, sfx) \
  30. PORT_1(fn, pfx##0, sfx), PORT_1(fn, pfx##1, sfx), \
  31. PORT_1(fn, pfx##2, sfx), PORT_1(fn, pfx##3, sfx), \
  32. PORT_1(fn, pfx##4, sfx), PORT_1(fn, pfx##5, sfx), \
  33. PORT_1(fn, pfx##6, sfx), PORT_1(fn, pfx##7, sfx), \
  34. PORT_1(fn, pfx##8, sfx)
  35. #define CPU_ALL_PORT(fn, pfx, sfx) \
  36. CPU_32_PORT(fn, pfx##_0_, sfx), \
  37. CPU_32_PORT(fn, pfx##_1_, sfx), \
  38. CPU_32_PORT(fn, pfx##_2_, sfx), \
  39. CPU_32_PORT(fn, pfx##_3_, sfx), \
  40. CPU_32_PORT(fn, pfx##_4_, sfx), \
  41. CPU_32_PORT(fn, pfx##_5_, sfx), \
  42. CPU_32_PORT6(fn, pfx##_6_, sfx)
  43. #define _GP_GPIO(pfx, sfx) PINMUX_GPIO(GPIO_GP##pfx, GP##pfx##_DATA)
  44. #define _GP_DATA(pfx, sfx) PINMUX_DATA(GP##pfx##_DATA, GP##pfx##_FN, \
  45. GP##pfx##_IN, GP##pfx##_OUT)
  46. #define _GP_INOUTSEL(pfx, sfx) GP##pfx##_IN, GP##pfx##_OUT
  47. #define _GP_INDT(pfx, sfx) GP##pfx##_DATA
  48. #define GP_ALL(str) CPU_ALL_PORT(_PORT_ALL, GP, str)
  49. #define PINMUX_GPIO_GP_ALL() CPU_ALL_PORT(_GP_GPIO, , unused)
  50. #define PINMUX_DATA_GP_ALL() CPU_ALL_PORT(_GP_DATA, , unused)
  51. #define PORT_10_REV(fn, pfx, sfx) \
  52. PORT_1(fn, pfx##9, sfx), PORT_1(fn, pfx##8, sfx), \
  53. PORT_1(fn, pfx##7, sfx), PORT_1(fn, pfx##6, sfx), \
  54. PORT_1(fn, pfx##5, sfx), PORT_1(fn, pfx##4, sfx), \
  55. PORT_1(fn, pfx##3, sfx), PORT_1(fn, pfx##2, sfx), \
  56. PORT_1(fn, pfx##1, sfx), PORT_1(fn, pfx##0, sfx)
  57. #define CPU_32_PORT_REV(fn, pfx, sfx) \
  58. PORT_1(fn, pfx##31, sfx), PORT_1(fn, pfx##30, sfx), \
  59. PORT_10_REV(fn, pfx##2, sfx), PORT_10_REV(fn, pfx##1, sfx), \
  60. PORT_10_REV(fn, pfx, sfx)
  61. #define GP_INOUTSEL(bank) CPU_32_PORT_REV(_GP_INOUTSEL, _##bank##_, unused)
  62. #define GP_INDT(bank) CPU_32_PORT_REV(_GP_INDT, _##bank##_, unused)
  63. #define PINMUX_IPSR_DATA(ipsr, fn) PINMUX_DATA(fn##_MARK, FN_##ipsr, FN_##fn)
  64. #define PINMUX_IPSR_MODSEL_DATA(ipsr, fn, ms) PINMUX_DATA(fn##_MARK, FN_##ms, \
  65. FN_##ipsr, FN_##fn)
  66. enum {
  67. PINMUX_RESERVED = 0,
  68. PINMUX_DATA_BEGIN,
  69. GP_ALL(DATA), /* GP_0_0_DATA -> GP_6_8_DATA */
  70. PINMUX_DATA_END,
  71. PINMUX_INPUT_BEGIN,
  72. GP_ALL(IN), /* GP_0_0_IN -> GP_6_8_IN */
  73. PINMUX_INPUT_END,
  74. PINMUX_OUTPUT_BEGIN,
  75. GP_ALL(OUT), /* GP_0_0_OUT -> GP_6_8_OUT */
  76. PINMUX_OUTPUT_END,
  77. PINMUX_FUNCTION_BEGIN,
  78. GP_ALL(FN), /* GP_0_0_FN -> GP_6_8_FN */
  79. /* GPSR0 */
  80. FN_AVS1, FN_AVS2, FN_IP0_7_6, FN_A17,
  81. FN_A18, FN_A19, FN_IP0_9_8, FN_IP0_11_10,
  82. FN_IP0_13_12, FN_IP0_15_14, FN_IP0_18_16, FN_IP0_22_19,
  83. FN_IP0_24_23, FN_IP0_25, FN_IP0_27_26, FN_IP1_1_0,
  84. FN_IP1_3_2, FN_IP1_6_4, FN_IP1_10_7, FN_IP1_14_11,
  85. FN_IP1_18_15, FN_IP0_5_3, FN_IP0_30_28, FN_IP2_18_16,
  86. FN_IP2_21_19, FN_IP2_30_28, FN_IP3_2_0, FN_IP3_11_9,
  87. FN_IP3_14_12, FN_IP3_22_21, FN_IP3_26_24, FN_IP3_31_29,
  88. /* GPSR1 */
  89. FN_IP4_1_0, FN_IP4_4_2, FN_IP4_7_5, FN_IP4_10_8,
  90. FN_IP4_11, FN_IP4_12, FN_IP4_13, FN_IP4_14,
  91. FN_IP4_15, FN_IP4_16, FN_IP4_19_17, FN_IP4_22_20,
  92. FN_IP4_23, FN_IP4_24, FN_IP4_25, FN_IP4_26,
  93. FN_IP4_27, FN_IP4_28, FN_IP4_31_29, FN_IP5_2_0,
  94. FN_IP5_3, FN_IP5_4, FN_IP5_5, FN_IP5_6,
  95. FN_IP5_7, FN_IP5_8, FN_IP5_10_9, FN_IP5_12_11,
  96. FN_IP5_14_13, FN_IP5_16_15, FN_IP5_20_17, FN_IP5_23_21,
  97. /* GPSR2 */
  98. FN_IP5_27_24, FN_IP8_20, FN_IP8_22_21, FN_IP8_24_23,
  99. FN_IP8_27_25, FN_IP8_30_28, FN_IP9_1_0, FN_IP9_3_2,
  100. FN_IP9_4, FN_IP9_5, FN_IP9_6, FN_IP9_7,
  101. FN_IP9_9_8, FN_IP9_11_10, FN_IP9_13_12, FN_IP9_15_14,
  102. FN_IP9_18_16, FN_IP9_21_19, FN_IP9_23_22, FN_IP9_25_24,
  103. FN_IP9_27_26, FN_IP9_29_28, FN_IP10_2_0, FN_IP10_5_3,
  104. FN_IP10_8_6, FN_IP10_11_9, FN_IP10_14_12, FN_IP10_17_15,
  105. FN_IP10_20_18, FN_IP10_23_21, FN_IP10_25_24, FN_IP10_28_26,
  106. /* GPSR3 */
  107. FN_IP10_31_29, FN_IP11_2_0, FN_IP11_5_3, FN_IP11_8_6,
  108. FN_IP11_11_9, FN_IP11_14_12, FN_IP11_17_15, FN_IP11_20_18,
  109. FN_IP11_23_21, FN_IP11_26_24, FN_IP11_29_27, FN_IP12_2_0,
  110. FN_IP12_5_3, FN_IP12_8_6, FN_IP12_11_9, FN_IP12_14_12,
  111. FN_IP12_17_15, FN_IP7_16_15, FN_IP7_18_17, FN_IP7_28_27,
  112. FN_IP7_30_29, FN_IP7_20_19, FN_IP7_22_21, FN_IP7_24_23,
  113. FN_IP7_26_25, FN_IP1_20_19, FN_IP1_22_21, FN_IP1_24_23,
  114. FN_IP5_28, FN_IP5_30_29, FN_IP6_1_0, FN_IP6_3_2,
  115. /* GPSR4 */
  116. FN_IP6_5_4, FN_IP6_7_6, FN_IP6_8, FN_IP6_11_9,
  117. FN_IP6_14_12, FN_IP6_17_15, FN_IP6_19_18, FN_IP6_22_20,
  118. FN_IP6_24_23, FN_IP6_26_25, FN_IP6_30_29, FN_IP7_1_0,
  119. FN_IP7_3_2, FN_IP7_6_4, FN_IP7_9_7, FN_IP7_12_10,
  120. FN_IP7_14_13, FN_IP2_7_4, FN_IP2_11_8, FN_IP2_15_12,
  121. FN_IP1_28_25, FN_IP2_3_0, FN_IP8_3_0, FN_IP8_7_4,
  122. FN_IP8_11_8, FN_IP8_15_12, FN_PENC0, FN_PENC1,
  123. FN_IP0_2_0, FN_IP8_17_16, FN_IP8_18, FN_IP8_19,
  124. /* GPSR5 */
  125. FN_A1, FN_A2, FN_A3, FN_A4,
  126. FN_A5, FN_A6, FN_A7, FN_A8,
  127. FN_A9, FN_A10, FN_A11, FN_A12,
  128. FN_A13, FN_A14, FN_A15, FN_A16,
  129. FN_RD, FN_WE0, FN_WE1, FN_EX_WAIT0,
  130. FN_IP3_23, FN_IP3_27, FN_IP3_28, FN_IP2_22,
  131. FN_IP2_23, FN_IP2_24, FN_IP2_25, FN_IP2_26,
  132. FN_IP2_27, FN_IP3_3, FN_IP3_4, FN_IP3_5,
  133. /* GPSR6 */
  134. FN_IP3_6, FN_IP3_7, FN_IP3_8, FN_IP3_15,
  135. FN_IP3_16, FN_IP3_17, FN_IP3_18, FN_IP3_19,
  136. FN_IP3_20,
  137. /* IPSR0 */
  138. FN_RD_WR, FN_FWE, FN_ATAG0, FN_VI1_R7,
  139. FN_HRTS1, FN_RX4_C,
  140. FN_CS1_A26, FN_HSPI_TX2, FN_SDSELF_B,
  141. FN_CS0, FN_HSPI_CS2_B,
  142. FN_CLKOUT, FN_TX3C_IRDA_TX_C, FN_PWM0_B,
  143. FN_A25, FN_SD1_WP, FN_MMC0_D5, FN_FD5,
  144. FN_HSPI_RX2, FN_VI1_R3, FN_TX5_B, FN_SSI_SDATA7_B,
  145. FN_CTS0_B,
  146. FN_A24, FN_SD1_CD, FN_MMC0_D4, FN_FD4,
  147. FN_HSPI_CS2, FN_VI1_R2, FN_SSI_WS78_B,
  148. FN_A23, FN_FCLE, FN_HSPI_CLK2, FN_VI1_R1,
  149. FN_A22, FN_RX5_D, FN_HSPI_RX2_B, FN_VI1_R0,
  150. FN_A21, FN_SCK5_D, FN_HSPI_CLK2_B,
  151. FN_A20, FN_TX5_D, FN_HSPI_TX2_B,
  152. FN_A0, FN_SD1_DAT3, FN_MMC0_D3, FN_FD3,
  153. FN_BS, FN_SD1_DAT2, FN_MMC0_D2, FN_FD2,
  154. FN_ATADIR0, FN_SDSELF, FN_HCTS1, FN_TX4_C,
  155. FN_PENC2, FN_SCK0, FN_PWM1, FN_PWMFSW0,
  156. FN_SCIF_CLK, FN_TCLK0_C,
  157. /* IPSR1 */
  158. FN_EX_CS0, FN_RX3_C_IRDA_RX_C, FN_MMC0_D6,
  159. FN_FD6, FN_EX_CS1, FN_MMC0_D7, FN_FD7,
  160. FN_EX_CS2, FN_SD1_CLK, FN_MMC0_CLK, FN_FALE,
  161. FN_ATACS00, FN_EX_CS3, FN_SD1_CMD, FN_MMC0_CMD,
  162. FN_FRE, FN_ATACS10, FN_VI1_R4, FN_RX5_B,
  163. FN_HSCK1, FN_SSI_SDATA8_B, FN_RTS0_B_TANS_B, FN_SSI_SDATA9,
  164. FN_EX_CS4, FN_SD1_DAT0, FN_MMC0_D0, FN_FD0,
  165. FN_ATARD0, FN_VI1_R5, FN_SCK5_B, FN_HTX1,
  166. FN_TX2_E, FN_TX0_B, FN_SSI_SCK9, FN_EX_CS5,
  167. FN_SD1_DAT1, FN_MMC0_D1, FN_FD1, FN_ATAWR0,
  168. FN_VI1_R6, FN_HRX1, FN_RX2_E, FN_RX0_B,
  169. FN_SSI_WS9, FN_MLB_CLK, FN_PWM2, FN_SCK4,
  170. FN_MLB_SIG, FN_PWM3, FN_TX4, FN_MLB_DAT,
  171. FN_PWM4, FN_RX4, FN_HTX0, FN_TX1,
  172. FN_SDATA, FN_CTS0_C, FN_SUB_TCK, FN_CC5_STATE2,
  173. FN_CC5_STATE10, FN_CC5_STATE18, FN_CC5_STATE26, FN_CC5_STATE34,
  174. /* IPSR2 */
  175. FN_HRX0, FN_RX1, FN_SCKZ, FN_RTS0_C_TANS_C,
  176. FN_SUB_TDI, FN_CC5_STATE3, FN_CC5_STATE11, FN_CC5_STATE19,
  177. FN_CC5_STATE27, FN_CC5_STATE35, FN_HSCK0, FN_SCK1,
  178. FN_MTS, FN_PWM5, FN_SCK0_C, FN_SSI_SDATA9_B,
  179. FN_SUB_TDO, FN_CC5_STATE0, FN_CC5_STATE8, FN_CC5_STATE16,
  180. FN_CC5_STATE24, FN_CC5_STATE32, FN_HCTS0, FN_CTS1,
  181. FN_STM, FN_PWM0_D, FN_RX0_C, FN_SCIF_CLK_C,
  182. FN_SUB_TRST, FN_TCLK1_B, FN_CC5_OSCOUT, FN_HRTS0,
  183. FN_RTS1_TANS, FN_MDATA, FN_TX0_C, FN_SUB_TMS,
  184. FN_CC5_STATE1, FN_CC5_STATE9, FN_CC5_STATE17, FN_CC5_STATE25,
  185. FN_CC5_STATE33, FN_DU0_DR0, FN_LCDOUT0, FN_DREQ0,
  186. FN_GPS_CLK_B, FN_AUDATA0, FN_TX5_C, FN_DU0_DR1,
  187. FN_LCDOUT1, FN_DACK0, FN_DRACK0, FN_GPS_SIGN_B,
  188. FN_AUDATA1, FN_RX5_C, FN_DU0_DR2, FN_LCDOUT2,
  189. FN_DU0_DR3, FN_LCDOUT3, FN_DU0_DR4, FN_LCDOUT4,
  190. FN_DU0_DR5, FN_LCDOUT5, FN_DU0_DR6, FN_LCDOUT6,
  191. FN_DU0_DR7, FN_LCDOUT7, FN_DU0_DG0, FN_LCDOUT8,
  192. FN_DREQ1, FN_SCL2, FN_AUDATA2,
  193. /* IPSR3 */
  194. FN_DU0_DG1, FN_LCDOUT9, FN_DACK1, FN_SDA2,
  195. FN_AUDATA3, FN_DU0_DG2, FN_LCDOUT10, FN_DU0_DG3,
  196. FN_LCDOUT11, FN_DU0_DG4, FN_LCDOUT12, FN_DU0_DG5,
  197. FN_LCDOUT13, FN_DU0_DG6, FN_LCDOUT14, FN_DU0_DG7,
  198. FN_LCDOUT15, FN_DU0_DB0, FN_LCDOUT16, FN_EX_WAIT1,
  199. FN_SCL1, FN_TCLK1, FN_AUDATA4, FN_DU0_DB1,
  200. FN_LCDOUT17, FN_EX_WAIT2, FN_SDA1, FN_GPS_MAG_B,
  201. FN_AUDATA5, FN_SCK5_C, FN_DU0_DB2, FN_LCDOUT18,
  202. FN_DU0_DB3, FN_LCDOUT19, FN_DU0_DB4, FN_LCDOUT20,
  203. FN_DU0_DB5, FN_LCDOUT21, FN_DU0_DB6, FN_LCDOUT22,
  204. FN_DU0_DB7, FN_LCDOUT23, FN_DU0_DOTCLKIN, FN_QSTVA_QVS,
  205. FN_TX3_D_IRDA_TX_D, FN_SCL3_B, FN_DU0_DOTCLKOUT0, FN_QCLK,
  206. FN_DU0_DOTCLKOUT1, FN_QSTVB_QVE, FN_RX3_D_IRDA_RX_D, FN_SDA3_B,
  207. FN_SDA2_C, FN_DACK0_B, FN_DRACK0_B, FN_DU0_EXHSYNC_DU0_HSYNC,
  208. FN_QSTH_QHS, FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE,
  209. FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, FN_CAN1_TX,
  210. FN_TX2_C, FN_SCL2_C, FN_REMOCON,
  211. /* IPSR4 */
  212. FN_DU0_DISP, FN_QPOLA, FN_CAN_CLK_C, FN_SCK2_C,
  213. FN_DU0_CDE, FN_QPOLB, FN_CAN1_RX, FN_RX2_C,
  214. FN_DREQ0_B, FN_SSI_SCK78_B, FN_SCK0_B, FN_DU1_DR0,
  215. FN_VI2_DATA0_VI2_B0, FN_PWM6, FN_SD3_CLK, FN_TX3_E_IRDA_TX_E,
  216. FN_AUDCK, FN_PWMFSW0_B, FN_DU1_DR1, FN_VI2_DATA1_VI2_B1,
  217. FN_PWM0, FN_SD3_CMD, FN_RX3_E_IRDA_RX_E, FN_AUDSYNC,
  218. FN_CTS0_D, FN_DU1_DR2, FN_VI2_G0, FN_DU1_DR3,
  219. FN_VI2_G1, FN_DU1_DR4, FN_VI2_G2, FN_DU1_DR5,
  220. FN_VI2_G3, FN_DU1_DR6, FN_VI2_G4, FN_DU1_DR7,
  221. FN_VI2_G5, FN_DU1_DG0, FN_VI2_DATA2_VI2_B2, FN_SCL1_B,
  222. FN_SD3_DAT2, FN_SCK3_E, FN_AUDATA6, FN_TX0_D,
  223. FN_DU1_DG1, FN_VI2_DATA3_VI2_B3, FN_SDA1_B, FN_SD3_DAT3,
  224. FN_SCK5, FN_AUDATA7, FN_RX0_D, FN_DU1_DG2,
  225. FN_VI2_G6, FN_DU1_DG3, FN_VI2_G7, FN_DU1_DG4,
  226. FN_VI2_R0, FN_DU1_DG5, FN_VI2_R1, FN_DU1_DG6,
  227. FN_VI2_R2, FN_DU1_DG7, FN_VI2_R3, FN_DU1_DB0,
  228. FN_VI2_DATA4_VI2_B4, FN_SCL2_B, FN_SD3_DAT0, FN_TX5,
  229. FN_SCK0_D,
  230. /* IPSR5 */
  231. FN_DU1_DB1, FN_VI2_DATA5_VI2_B5, FN_SDA2_B, FN_SD3_DAT1,
  232. FN_RX5, FN_RTS0_D_TANS_D, FN_DU1_DB2, FN_VI2_R4,
  233. FN_DU1_DB3, FN_VI2_R5, FN_DU1_DB4, FN_VI2_R6,
  234. FN_DU1_DB5, FN_VI2_R7, FN_DU1_DB6, FN_SCL2_D,
  235. FN_DU1_DB7, FN_SDA2_D, FN_DU1_DOTCLKIN, FN_VI2_CLKENB,
  236. FN_HSPI_CS1, FN_SCL1_D, FN_DU1_DOTCLKOUT, FN_VI2_FIELD,
  237. FN_SDA1_D, FN_DU1_EXHSYNC_DU1_HSYNC, FN_VI2_HSYNC,
  238. FN_VI3_HSYNC, FN_DU1_EXVSYNC_DU1_VSYNC, FN_VI2_VSYNC, FN_VI3_VSYNC,
  239. FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_VI2_CLK, FN_TX3_B_IRDA_TX_B,
  240. FN_SD3_CD, FN_HSPI_TX1, FN_VI1_CLKENB, FN_VI3_CLKENB,
  241. FN_AUDIO_CLKC, FN_TX2_D, FN_SPEEDIN, FN_GPS_SIGN_D,
  242. FN_DU1_DISP, FN_VI2_DATA6_VI2_B6, FN_TCLK0, FN_QSTVA_B_QVS_B,
  243. FN_HSPI_CLK1, FN_SCK2_D, FN_AUDIO_CLKOUT_B, FN_GPS_MAG_D,
  244. FN_DU1_CDE, FN_VI2_DATA7_VI2_B7, FN_RX3_B_IRDA_RX_B,
  245. FN_SD3_WP, FN_HSPI_RX1, FN_VI1_FIELD, FN_VI3_FIELD,
  246. FN_AUDIO_CLKOUT, FN_RX2_D, FN_GPS_CLK_C, FN_GPS_CLK_D,
  247. FN_AUDIO_CLKA, FN_CAN_TXCLK, FN_AUDIO_CLKB, FN_USB_OVC2,
  248. FN_CAN_DEBUGOUT0, FN_MOUT0,
  249. /* IPSR6 */
  250. FN_SSI_SCK0129, FN_CAN_DEBUGOUT1, FN_MOUT1, FN_SSI_WS0129,
  251. FN_CAN_DEBUGOUT2, FN_MOUT2, FN_SSI_SDATA0, FN_CAN_DEBUGOUT3,
  252. FN_MOUT5, FN_SSI_SDATA1, FN_CAN_DEBUGOUT4, FN_MOUT6,
  253. FN_SSI_SDATA2, FN_CAN_DEBUGOUT5, FN_SSI_SCK34, FN_CAN_DEBUGOUT6,
  254. FN_CAN0_TX_B, FN_IERX, FN_SSI_SCK9_C, FN_SSI_WS34,
  255. FN_CAN_DEBUGOUT7, FN_CAN0_RX_B, FN_IETX, FN_SSI_WS9_C,
  256. FN_SSI_SDATA3, FN_PWM0_C, FN_CAN_DEBUGOUT8, FN_CAN_CLK_B,
  257. FN_IECLK, FN_SCIF_CLK_B, FN_TCLK0_B, FN_SSI_SDATA4,
  258. FN_CAN_DEBUGOUT9, FN_SSI_SDATA9_C, FN_SSI_SCK5, FN_ADICLK,
  259. FN_CAN_DEBUGOUT10, FN_SCK3, FN_TCLK0_D, FN_SSI_WS5,
  260. FN_ADICS_SAMP, FN_CAN_DEBUGOUT11, FN_TX3_IRDA_TX, FN_SSI_SDATA5,
  261. FN_ADIDATA, FN_CAN_DEBUGOUT12, FN_RX3_IRDA_RX, FN_SSI_SCK6,
  262. FN_ADICHS0, FN_CAN0_TX, FN_IERX_B,
  263. /* IPSR7 */
  264. FN_SSI_WS6, FN_ADICHS1, FN_CAN0_RX, FN_IETX_B,
  265. FN_SSI_SDATA6, FN_ADICHS2, FN_CAN_CLK, FN_IECLK_B,
  266. FN_SSI_SCK78, FN_CAN_DEBUGOUT13, FN_IRQ0_B, FN_SSI_SCK9_B,
  267. FN_HSPI_CLK1_C, FN_SSI_WS78, FN_CAN_DEBUGOUT14, FN_IRQ1_B,
  268. FN_SSI_WS9_B, FN_HSPI_CS1_C, FN_SSI_SDATA7, FN_CAN_DEBUGOUT15,
  269. FN_IRQ2_B, FN_TCLK1_C, FN_HSPI_TX1_C, FN_SSI_SDATA8,
  270. FN_VSP, FN_IRQ3_B, FN_HSPI_RX1_C, FN_SD0_CLK,
  271. FN_ATACS01, FN_SCK1_B, FN_SD0_CMD, FN_ATACS11,
  272. FN_TX1_B, FN_CC5_TDO, FN_SD0_DAT0, FN_ATADIR1,
  273. FN_RX1_B, FN_CC5_TRST, FN_SD0_DAT1, FN_ATAG1,
  274. FN_SCK2_B, FN_CC5_TMS, FN_SD0_DAT2, FN_ATARD1,
  275. FN_TX2_B, FN_CC5_TCK, FN_SD0_DAT3, FN_ATAWR1,
  276. FN_RX2_B, FN_CC5_TDI, FN_SD0_CD, FN_DREQ2,
  277. FN_RTS1_B_TANS_B, FN_SD0_WP, FN_DACK2, FN_CTS1_B,
  278. /* IPSR8 */
  279. FN_HSPI_CLK0, FN_CTS0, FN_USB_OVC0, FN_AD_CLK,
  280. FN_CC5_STATE4, FN_CC5_STATE12, FN_CC5_STATE20, FN_CC5_STATE28,
  281. FN_CC5_STATE36, FN_HSPI_CS0, FN_RTS0_TANS, FN_USB_OVC1,
  282. FN_AD_DI, FN_CC5_STATE5, FN_CC5_STATE13, FN_CC5_STATE21,
  283. FN_CC5_STATE29, FN_CC5_STATE37, FN_HSPI_TX0, FN_TX0,
  284. FN_CAN_DEBUG_HW_TRIGGER, FN_AD_DO, FN_CC5_STATE6, FN_CC5_STATE14,
  285. FN_CC5_STATE22, FN_CC5_STATE30, FN_CC5_STATE38, FN_HSPI_RX0,
  286. FN_RX0, FN_CAN_STEP0, FN_AD_NCS, FN_CC5_STATE7,
  287. FN_CC5_STATE15, FN_CC5_STATE23, FN_CC5_STATE31, FN_CC5_STATE39,
  288. FN_FMCLK, FN_RDS_CLK, FN_PCMOE, FN_BPFCLK,
  289. FN_PCMWE, FN_FMIN, FN_RDS_DATA, FN_VI0_CLK,
  290. FN_MMC1_CLK, FN_VI0_CLKENB, FN_TX1_C, FN_HTX1_B,
  291. FN_MT1_SYNC, FN_VI0_FIELD, FN_RX1_C, FN_HRX1_B,
  292. FN_VI0_HSYNC, FN_VI0_DATA0_B_VI0_B0_B, FN_CTS1_C, FN_TX4_D,
  293. FN_MMC1_CMD, FN_HSCK1_B, FN_VI0_VSYNC, FN_VI0_DATA1_B_VI0_B1_B,
  294. FN_RTS1_C_TANS_C, FN_RX4_D, FN_PWMFSW0_C,
  295. /* IPSR9 */
  296. FN_VI0_DATA0_VI0_B0, FN_HRTS1_B, FN_MT1_VCXO, FN_VI0_DATA1_VI0_B1,
  297. FN_HCTS1_B, FN_MT1_PWM, FN_VI0_DATA2_VI0_B2, FN_MMC1_D0,
  298. FN_VI0_DATA3_VI0_B3, FN_MMC1_D1, FN_VI0_DATA4_VI0_B4, FN_MMC1_D2,
  299. FN_VI0_DATA5_VI0_B5, FN_MMC1_D3, FN_VI0_DATA6_VI0_B6, FN_MMC1_D4,
  300. FN_ARM_TRACEDATA_0, FN_VI0_DATA7_VI0_B7, FN_MMC1_D5,
  301. FN_ARM_TRACEDATA_1, FN_VI0_G0, FN_SSI_SCK78_C, FN_IRQ0,
  302. FN_ARM_TRACEDATA_2, FN_VI0_G1, FN_SSI_WS78_C, FN_IRQ1,
  303. FN_ARM_TRACEDATA_3, FN_VI0_G2, FN_ETH_TXD1, FN_MMC1_D6,
  304. FN_ARM_TRACEDATA_4, FN_TS_SPSYNC0, FN_VI0_G3, FN_ETH_CRS_DV,
  305. FN_MMC1_D7, FN_ARM_TRACEDATA_5, FN_TS_SDAT0, FN_VI0_G4,
  306. FN_ETH_TX_EN, FN_SD2_DAT0_B, FN_ARM_TRACEDATA_6, FN_VI0_G5,
  307. FN_ETH_RX_ER, FN_SD2_DAT1_B, FN_ARM_TRACEDATA_7, FN_VI0_G6,
  308. FN_ETH_RXD0, FN_SD2_DAT2_B, FN_ARM_TRACEDATA_8, FN_VI0_G7,
  309. FN_ETH_RXD1, FN_SD2_DAT3_B, FN_ARM_TRACEDATA_9,
  310. /* IPSR10 */
  311. FN_VI0_R0, FN_SSI_SDATA7_C, FN_SCK1_C, FN_DREQ1_B,
  312. FN_ARM_TRACEDATA_10, FN_DREQ0_C, FN_VI0_R1, FN_SSI_SDATA8_C,
  313. FN_DACK1_B, FN_ARM_TRACEDATA_11, FN_DACK0_C, FN_DRACK0_C,
  314. FN_VI0_R2, FN_ETH_LINK, FN_SD2_CLK_B, FN_IRQ2,
  315. FN_ARM_TRACEDATA_12, FN_VI0_R3, FN_ETH_MAGIC, FN_SD2_CMD_B,
  316. FN_IRQ3, FN_ARM_TRACEDATA_13, FN_VI0_R4, FN_ETH_REFCLK,
  317. FN_SD2_CD_B, FN_HSPI_CLK1_B, FN_ARM_TRACEDATA_14, FN_MT1_CLK,
  318. FN_TS_SCK0, FN_VI0_R5, FN_ETH_TXD0, FN_SD2_WP_B, FN_HSPI_CS1_B,
  319. FN_ARM_TRACEDATA_15, FN_MT1_D, FN_TS_SDEN0, FN_VI0_R6,
  320. FN_ETH_MDC, FN_DREQ2_C, FN_HSPI_TX1_B, FN_TRACECLK,
  321. FN_MT1_BEN, FN_PWMFSW0_D, FN_VI0_R7, FN_ETH_MDIO,
  322. FN_DACK2_C, FN_HSPI_RX1_B, FN_SCIF_CLK_D, FN_TRACECTL,
  323. FN_MT1_PEN, FN_VI1_CLK, FN_SIM_D, FN_SDA3,
  324. FN_VI1_HSYNC, FN_VI3_CLK, FN_SSI_SCK4, FN_GPS_SIGN_C,
  325. FN_PWMFSW0_E, FN_VI1_VSYNC, FN_AUDIO_CLKOUT_C, FN_SSI_WS4,
  326. FN_SIM_CLK, FN_GPS_MAG_C, FN_SPV_TRST, FN_SCL3,
  327. /* IPSR11 */
  328. FN_VI1_DATA0_VI1_B0, FN_SD2_DAT0, FN_SIM_RST, FN_SPV_TCK,
  329. FN_ADICLK_B, FN_VI1_DATA1_VI1_B1, FN_SD2_DAT1, FN_MT0_CLK,
  330. FN_SPV_TMS, FN_ADICS_B_SAMP_B, FN_VI1_DATA2_VI1_B2, FN_SD2_DAT2,
  331. FN_MT0_D, FN_SPVTDI, FN_ADIDATA_B, FN_VI1_DATA3_VI1_B3,
  332. FN_SD2_DAT3, FN_MT0_BEN, FN_SPV_TDO, FN_ADICHS0_B,
  333. FN_VI1_DATA4_VI1_B4, FN_SD2_CLK, FN_MT0_PEN, FN_SPA_TRST,
  334. FN_HSPI_CLK1_D, FN_ADICHS1_B, FN_VI1_DATA5_VI1_B5, FN_SD2_CMD,
  335. FN_MT0_SYNC, FN_SPA_TCK, FN_HSPI_CS1_D, FN_ADICHS2_B,
  336. FN_VI1_DATA6_VI1_B6, FN_SD2_CD, FN_MT0_VCXO, FN_SPA_TMS,
  337. FN_HSPI_TX1_D, FN_VI1_DATA7_VI1_B7, FN_SD2_WP, FN_MT0_PWM,
  338. FN_SPA_TDI, FN_HSPI_RX1_D, FN_VI1_G0, FN_VI3_DATA0,
  339. FN_DU1_DOTCLKOUT1, FN_TS_SCK1, FN_DREQ2_B, FN_TX2,
  340. FN_SPA_TDO, FN_HCTS0_B, FN_VI1_G1, FN_VI3_DATA1,
  341. FN_SSI_SCK1, FN_TS_SDEN1, FN_DACK2_B, FN_RX2, FN_HRTS0_B,
  342. /* IPSR12 */
  343. FN_VI1_G2, FN_VI3_DATA2, FN_SSI_WS1, FN_TS_SPSYNC1,
  344. FN_SCK2, FN_HSCK0_B, FN_VI1_G3, FN_VI3_DATA3,
  345. FN_SSI_SCK2, FN_TS_SDAT1, FN_SCL1_C, FN_HTX0_B,
  346. FN_VI1_G4, FN_VI3_DATA4, FN_SSI_WS2, FN_SDA1_C,
  347. FN_SIM_RST_B, FN_HRX0_B, FN_VI1_G5, FN_VI3_DATA5,
  348. FN_GPS_CLK, FN_FSE, FN_TX4_B, FN_SIM_D_B,
  349. FN_VI1_G6, FN_VI3_DATA6, FN_GPS_SIGN, FN_FRB,
  350. FN_RX4_B, FN_SIM_CLK_B, FN_VI1_G7, FN_VI3_DATA7,
  351. FN_GPS_MAG, FN_FCE, FN_SCK4_B,
  352. FN_SEL_SCIF5_0, FN_SEL_SCIF5_1, FN_SEL_SCIF5_2, FN_SEL_SCIF5_3,
  353. FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
  354. FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2,
  355. FN_SEL_SCIF3_3, FN_SEL_SCIF3_4,
  356. FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2,
  357. FN_SEL_SCIF2_3, FN_SEL_SCIF2_4,
  358. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2,
  359. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
  360. FN_SEL_SSI9_0, FN_SEL_SSI9_1, FN_SEL_SSI9_2,
  361. FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2,
  362. FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2,
  363. FN_SEL_VI0_0, FN_SEL_VI0_1,
  364. FN_SEL_SD2_0, FN_SEL_SD2_1,
  365. FN_SEL_INT3_0, FN_SEL_INT3_1,
  366. FN_SEL_INT2_0, FN_SEL_INT2_1,
  367. FN_SEL_INT1_0, FN_SEL_INT1_1,
  368. FN_SEL_INT0_0, FN_SEL_INT0_1,
  369. FN_SEL_IE_0, FN_SEL_IE_1,
  370. FN_SEL_EXBUS2_0, FN_SEL_EXBUS2_1, FN_SEL_EXBUS2_2,
  371. FN_SEL_EXBUS1_0, FN_SEL_EXBUS1_1,
  372. FN_SEL_EXBUS0_0, FN_SEL_EXBUS0_1, FN_SEL_EXBUS0_2,
  373. FN_SEL_TMU1_0, FN_SEL_TMU1_1, FN_SEL_TMU1_2,
  374. FN_SEL_TMU0_0, FN_SEL_TMU0_1, FN_SEL_TMU0_2, FN_SEL_TMU0_3,
  375. FN_SEL_SCIF_0, FN_SEL_SCIF_1, FN_SEL_SCIF_2, FN_SEL_SCIF_3,
  376. FN_SEL_CANCLK_0, FN_SEL_CANCLK_1, FN_SEL_CANCLK_2,
  377. FN_SEL_CAN0_0, FN_SEL_CAN0_1,
  378. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
  379. FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1,
  380. FN_SEL_PWMFSW_0, FN_SEL_PWMFSW_1, FN_SEL_PWMFSW_2,
  381. FN_SEL_PWMFSW_3, FN_SEL_PWMFSW_4,
  382. FN_SEL_ADI_0, FN_SEL_ADI_1,
  383. FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
  384. FN_SEL_SIM_0, FN_SEL_SIM_1,
  385. FN_SEL_HSPI2_0, FN_SEL_HSPI2_1,
  386. FN_SEL_HSPI1_0, FN_SEL_HSPI1_1, FN_SEL_HSPI1_2, FN_SEL_HSPI1_3,
  387. FN_SEL_I2C3_0, FN_SEL_I2C3_1,
  388. FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
  389. FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2, FN_SEL_I2C1_3,
  390. PINMUX_FUNCTION_END,
  391. PINMUX_MARK_BEGIN,
  392. AVS1_MARK, AVS2_MARK, A17_MARK, A18_MARK,
  393. A19_MARK,
  394. RD_WR_MARK, FWE_MARK, ATAG0_MARK, VI1_R7_MARK,
  395. HRTS1_MARK, RX4_C_MARK,
  396. CS1_A26_MARK, HSPI_TX2_MARK, SDSELF_B_MARK,
  397. CS0_MARK, HSPI_CS2_B_MARK,
  398. CLKOUT_MARK, TX3C_IRDA_TX_C_MARK, PWM0_B_MARK,
  399. A25_MARK, SD1_WP_MARK, MMC0_D5_MARK, FD5_MARK,
  400. HSPI_RX2_MARK, VI1_R3_MARK, TX5_B_MARK, SSI_SDATA7_B_MARK, CTS0_B_MARK,
  401. A24_MARK, SD1_CD_MARK, MMC0_D4_MARK, FD4_MARK,
  402. HSPI_CS2_MARK, VI1_R2_MARK, SSI_WS78_B_MARK,
  403. A23_MARK, FCLE_MARK, HSPI_CLK2_MARK, VI1_R1_MARK,
  404. A22_MARK, RX5_D_MARK, HSPI_RX2_B_MARK, VI1_R0_MARK,
  405. A21_MARK, SCK5_D_MARK, HSPI_CLK2_B_MARK,
  406. A20_MARK, TX5_D_MARK, HSPI_TX2_B_MARK,
  407. A0_MARK, SD1_DAT3_MARK, MMC0_D3_MARK, FD3_MARK,
  408. BS_MARK, SD1_DAT2_MARK, MMC0_D2_MARK, FD2_MARK,
  409. ATADIR0_MARK, SDSELF_MARK, HCTS1_MARK, TX4_C_MARK,
  410. PENC2_MARK, SCK0_MARK, PWM1_MARK, PWMFSW0_MARK,
  411. SCIF_CLK_MARK, TCLK0_C_MARK,
  412. EX_CS0_MARK, RX3_C_IRDA_RX_C_MARK, MMC0_D6_MARK,
  413. FD6_MARK, EX_CS1_MARK, MMC0_D7_MARK, FD7_MARK,
  414. EX_CS2_MARK, SD1_CLK_MARK, MMC0_CLK_MARK, FALE_MARK,
  415. ATACS00_MARK, EX_CS3_MARK, SD1_CMD_MARK, MMC0_CMD_MARK,
  416. FRE_MARK, ATACS10_MARK, VI1_R4_MARK, RX5_B_MARK,
  417. HSCK1_MARK, SSI_SDATA8_B_MARK, RTS0_B_TANS_B_MARK, SSI_SDATA9_MARK,
  418. EX_CS4_MARK, SD1_DAT0_MARK, MMC0_D0_MARK, FD0_MARK,
  419. ATARD0_MARK, VI1_R5_MARK, SCK5_B_MARK, HTX1_MARK,
  420. TX2_E_MARK, TX0_B_MARK, SSI_SCK9_MARK, EX_CS5_MARK,
  421. SD1_DAT1_MARK, MMC0_D1_MARK, FD1_MARK, ATAWR0_MARK,
  422. VI1_R6_MARK, HRX1_MARK, RX2_E_MARK, RX0_B_MARK,
  423. SSI_WS9_MARK, MLB_CLK_MARK, PWM2_MARK, SCK4_MARK,
  424. MLB_SIG_MARK, PWM3_MARK, TX4_MARK, MLB_DAT_MARK,
  425. PWM4_MARK, RX4_MARK, HTX0_MARK, TX1_MARK,
  426. SDATA_MARK, CTS0_C_MARK, SUB_TCK_MARK, CC5_STATE2_MARK,
  427. CC5_STATE10_MARK, CC5_STATE18_MARK, CC5_STATE26_MARK, CC5_STATE34_MARK,
  428. HRX0_MARK, RX1_MARK, SCKZ_MARK, RTS0_C_TANS_C_MARK,
  429. SUB_TDI_MARK, CC5_STATE3_MARK, CC5_STATE11_MARK, CC5_STATE19_MARK,
  430. CC5_STATE27_MARK, CC5_STATE35_MARK, HSCK0_MARK, SCK1_MARK,
  431. MTS_MARK, PWM5_MARK, SCK0_C_MARK, SSI_SDATA9_B_MARK,
  432. SUB_TDO_MARK, CC5_STATE0_MARK, CC5_STATE8_MARK, CC5_STATE16_MARK,
  433. CC5_STATE24_MARK, CC5_STATE32_MARK, HCTS0_MARK, CTS1_MARK,
  434. STM_MARK, PWM0_D_MARK, RX0_C_MARK, SCIF_CLK_C_MARK,
  435. SUB_TRST_MARK, TCLK1_B_MARK, CC5_OSCOUT_MARK, HRTS0_MARK,
  436. RTS1_TANS_MARK, MDATA_MARK, TX0_C_MARK, SUB_TMS_MARK,
  437. CC5_STATE1_MARK, CC5_STATE9_MARK, CC5_STATE17_MARK, CC5_STATE25_MARK,
  438. CC5_STATE33_MARK, DU0_DR0_MARK, LCDOUT0_MARK, DREQ0_MARK,
  439. GPS_CLK_B_MARK, AUDATA0_MARK, TX5_C_MARK, DU0_DR1_MARK,
  440. LCDOUT1_MARK, DACK0_MARK, DRACK0_MARK, GPS_SIGN_B_MARK,
  441. AUDATA1_MARK, RX5_C_MARK, DU0_DR2_MARK, LCDOUT2_MARK,
  442. DU0_DR3_MARK, LCDOUT3_MARK, DU0_DR4_MARK, LCDOUT4_MARK,
  443. DU0_DR5_MARK, LCDOUT5_MARK, DU0_DR6_MARK, LCDOUT6_MARK,
  444. DU0_DR7_MARK, LCDOUT7_MARK, DU0_DG0_MARK, LCDOUT8_MARK,
  445. DREQ1_MARK, SCL2_MARK, AUDATA2_MARK,
  446. DU0_DG1_MARK, LCDOUT9_MARK, DACK1_MARK, SDA2_MARK,
  447. AUDATA3_MARK, DU0_DG2_MARK, LCDOUT10_MARK, DU0_DG3_MARK,
  448. LCDOUT11_MARK, DU0_DG4_MARK, LCDOUT12_MARK, DU0_DG5_MARK,
  449. LCDOUT13_MARK, DU0_DG6_MARK, LCDOUT14_MARK, DU0_DG7_MARK,
  450. LCDOUT15_MARK, DU0_DB0_MARK, LCDOUT16_MARK, EX_WAIT1_MARK,
  451. SCL1_MARK, TCLK1_MARK, AUDATA4_MARK, DU0_DB1_MARK,
  452. LCDOUT17_MARK, EX_WAIT2_MARK, SDA1_MARK, GPS_MAG_B_MARK,
  453. AUDATA5_MARK, SCK5_C_MARK, DU0_DB2_MARK, LCDOUT18_MARK,
  454. DU0_DB3_MARK, LCDOUT19_MARK, DU0_DB4_MARK, LCDOUT20_MARK,
  455. DU0_DB5_MARK, LCDOUT21_MARK, DU0_DB6_MARK, LCDOUT22_MARK,
  456. DU0_DB7_MARK, LCDOUT23_MARK, DU0_DOTCLKIN_MARK, QSTVA_QVS_MARK,
  457. TX3_D_IRDA_TX_D_MARK, SCL3_B_MARK, DU0_DOTCLKOUT0_MARK, QCLK_MARK,
  458. DU0_DOTCLKOUT1_MARK, QSTVB_QVE_MARK, RX3_D_IRDA_RX_D_MARK, SDA3_B_MARK,
  459. SDA2_C_MARK, DACK0_B_MARK, DRACK0_B_MARK, DU0_EXHSYNC_DU0_HSYNC_MARK,
  460. QSTH_QHS_MARK, DU0_EXVSYNC_DU0_VSYNC_MARK, QSTB_QHE_MARK,
  461. DU0_EXODDF_DU0_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK, CAN1_TX_MARK,
  462. TX2_C_MARK, SCL2_C_MARK, REMOCON_MARK,
  463. DU0_DISP_MARK, QPOLA_MARK, CAN_CLK_C_MARK, SCK2_C_MARK,
  464. DU0_CDE_MARK, QPOLB_MARK, CAN1_RX_MARK, RX2_C_MARK,
  465. DREQ0_B_MARK, SSI_SCK78_B_MARK, SCK0_B_MARK, DU1_DR0_MARK,
  466. VI2_DATA0_VI2_B0_MARK, PWM6_MARK, SD3_CLK_MARK, TX3_E_IRDA_TX_E_MARK,
  467. AUDCK_MARK, PWMFSW0_B_MARK, DU1_DR1_MARK, VI2_DATA1_VI2_B1_MARK,
  468. PWM0_MARK, SD3_CMD_MARK, RX3_E_IRDA_RX_E_MARK, AUDSYNC_MARK,
  469. CTS0_D_MARK, DU1_DR2_MARK, VI2_G0_MARK, DU1_DR3_MARK,
  470. VI2_G1_MARK, DU1_DR4_MARK, VI2_G2_MARK, DU1_DR5_MARK,
  471. VI2_G3_MARK, DU1_DR6_MARK, VI2_G4_MARK, DU1_DR7_MARK,
  472. VI2_G5_MARK, DU1_DG0_MARK, VI2_DATA2_VI2_B2_MARK, SCL1_B_MARK,
  473. SD3_DAT2_MARK, SCK3_E_MARK, AUDATA6_MARK, TX0_D_MARK,
  474. DU1_DG1_MARK, VI2_DATA3_VI2_B3_MARK, SDA1_B_MARK, SD3_DAT3_MARK,
  475. SCK5_MARK, AUDATA7_MARK, RX0_D_MARK, DU1_DG2_MARK,
  476. VI2_G6_MARK, DU1_DG3_MARK, VI2_G7_MARK, DU1_DG4_MARK,
  477. VI2_R0_MARK, DU1_DG5_MARK, VI2_R1_MARK, DU1_DG6_MARK,
  478. VI2_R2_MARK, DU1_DG7_MARK, VI2_R3_MARK, DU1_DB0_MARK,
  479. VI2_DATA4_VI2_B4_MARK, SCL2_B_MARK, SD3_DAT0_MARK, TX5_MARK,
  480. SCK0_D_MARK,
  481. DU1_DB1_MARK, VI2_DATA5_VI2_B5_MARK, SDA2_B_MARK, SD3_DAT1_MARK,
  482. RX5_MARK, RTS0_D_TANS_D_MARK, DU1_DB2_MARK, VI2_R4_MARK,
  483. DU1_DB3_MARK, VI2_R5_MARK, DU1_DB4_MARK, VI2_R6_MARK,
  484. DU1_DB5_MARK, VI2_R7_MARK, DU1_DB6_MARK, SCL2_D_MARK,
  485. DU1_DB7_MARK, SDA2_D_MARK, DU1_DOTCLKIN_MARK, VI2_CLKENB_MARK,
  486. HSPI_CS1_MARK, SCL1_D_MARK, DU1_DOTCLKOUT_MARK, VI2_FIELD_MARK,
  487. SDA1_D_MARK, DU1_EXHSYNC_DU1_HSYNC_MARK, VI2_HSYNC_MARK,
  488. VI3_HSYNC_MARK, DU1_EXVSYNC_DU1_VSYNC_MARK, VI2_VSYNC_MARK,
  489. VI3_VSYNC_MARK, DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK, VI2_CLK_MARK,
  490. TX3_B_IRDA_TX_B_MARK, SD3_CD_MARK, HSPI_TX1_MARK, VI1_CLKENB_MARK,
  491. VI3_CLKENB_MARK, AUDIO_CLKC_MARK, TX2_D_MARK, SPEEDIN_MARK,
  492. GPS_SIGN_D_MARK, DU1_DISP_MARK, VI2_DATA6_VI2_B6_MARK, TCLK0_MARK,
  493. QSTVA_B_QVS_B_MARK, HSPI_CLK1_MARK, SCK2_D_MARK, AUDIO_CLKOUT_B_MARK,
  494. GPS_MAG_D_MARK, DU1_CDE_MARK, VI2_DATA7_VI2_B7_MARK,
  495. RX3_B_IRDA_RX_B_MARK, SD3_WP_MARK, HSPI_RX1_MARK, VI1_FIELD_MARK,
  496. VI3_FIELD_MARK, AUDIO_CLKOUT_MARK, RX2_D_MARK, GPS_CLK_C_MARK,
  497. GPS_CLK_D_MARK, AUDIO_CLKA_MARK, CAN_TXCLK_MARK, AUDIO_CLKB_MARK,
  498. USB_OVC2_MARK, CAN_DEBUGOUT0_MARK, MOUT0_MARK,
  499. SSI_SCK0129_MARK, CAN_DEBUGOUT1_MARK, MOUT1_MARK, SSI_WS0129_MARK,
  500. CAN_DEBUGOUT2_MARK, MOUT2_MARK, SSI_SDATA0_MARK, CAN_DEBUGOUT3_MARK,
  501. MOUT5_MARK, SSI_SDATA1_MARK, CAN_DEBUGOUT4_MARK, MOUT6_MARK,
  502. SSI_SDATA2_MARK, CAN_DEBUGOUT5_MARK, SSI_SCK34_MARK,
  503. CAN_DEBUGOUT6_MARK, CAN0_TX_B_MARK, IERX_MARK, SSI_SCK9_C_MARK,
  504. SSI_WS34_MARK, CAN_DEBUGOUT7_MARK, CAN0_RX_B_MARK, IETX_MARK,
  505. SSI_WS9_C_MARK, SSI_SDATA3_MARK, PWM0_C_MARK, CAN_DEBUGOUT8_MARK,
  506. CAN_CLK_B_MARK, IECLK_MARK, SCIF_CLK_B_MARK, TCLK0_B_MARK,
  507. SSI_SDATA4_MARK, CAN_DEBUGOUT9_MARK, SSI_SDATA9_C_MARK, SSI_SCK5_MARK,
  508. ADICLK_MARK, CAN_DEBUGOUT10_MARK, SCK3_MARK, TCLK0_D_MARK,
  509. SSI_WS5_MARK, ADICS_SAMP_MARK, CAN_DEBUGOUT11_MARK, TX3_IRDA_TX_MARK,
  510. SSI_SDATA5_MARK, ADIDATA_MARK, CAN_DEBUGOUT12_MARK, RX3_IRDA_RX_MARK,
  511. SSI_SCK6_MARK, ADICHS0_MARK, CAN0_TX_MARK, IERX_B_MARK,
  512. SSI_WS6_MARK, ADICHS1_MARK, CAN0_RX_MARK, IETX_B_MARK,
  513. SSI_SDATA6_MARK, ADICHS2_MARK, CAN_CLK_MARK, IECLK_B_MARK,
  514. SSI_SCK78_MARK, CAN_DEBUGOUT13_MARK, IRQ0_B_MARK, SSI_SCK9_B_MARK,
  515. HSPI_CLK1_C_MARK, SSI_WS78_MARK, CAN_DEBUGOUT14_MARK, IRQ1_B_MARK,
  516. SSI_WS9_B_MARK, HSPI_CS1_C_MARK, SSI_SDATA7_MARK, CAN_DEBUGOUT15_MARK,
  517. IRQ2_B_MARK, TCLK1_C_MARK, HSPI_TX1_C_MARK, SSI_SDATA8_MARK,
  518. VSP_MARK, IRQ3_B_MARK, HSPI_RX1_C_MARK, SD0_CLK_MARK,
  519. ATACS01_MARK, SCK1_B_MARK, SD0_CMD_MARK, ATACS11_MARK,
  520. TX1_B_MARK, CC5_TDO_MARK, SD0_DAT0_MARK, ATADIR1_MARK,
  521. RX1_B_MARK, CC5_TRST_MARK, SD0_DAT1_MARK, ATAG1_MARK,
  522. SCK2_B_MARK, CC5_TMS_MARK, SD0_DAT2_MARK, ATARD1_MARK,
  523. TX2_B_MARK, CC5_TCK_MARK, SD0_DAT3_MARK, ATAWR1_MARK,
  524. RX2_B_MARK, CC5_TDI_MARK, SD0_CD_MARK, DREQ2_MARK,
  525. RTS1_B_TANS_B_MARK, SD0_WP_MARK, DACK2_MARK, CTS1_B_MARK,
  526. HSPI_CLK0_MARK, CTS0_MARK, USB_OVC0_MARK, AD_CLK_MARK,
  527. CC5_STATE4_MARK, CC5_STATE12_MARK, CC5_STATE20_MARK, CC5_STATE28_MARK,
  528. CC5_STATE36_MARK, HSPI_CS0_MARK, RTS0_TANS_MARK, USB_OVC1_MARK,
  529. AD_DI_MARK, CC5_STATE5_MARK, CC5_STATE13_MARK, CC5_STATE21_MARK,
  530. CC5_STATE29_MARK, CC5_STATE37_MARK, HSPI_TX0_MARK, TX0_MARK,
  531. CAN_DEBUG_HW_TRIGGER_MARK, AD_DO_MARK, CC5_STATE6_MARK,
  532. CC5_STATE14_MARK, CC5_STATE22_MARK, CC5_STATE30_MARK,
  533. CC5_STATE38_MARK, HSPI_RX0_MARK, RX0_MARK, CAN_STEP0_MARK,
  534. AD_NCS_MARK, CC5_STATE7_MARK, CC5_STATE15_MARK, CC5_STATE23_MARK,
  535. CC5_STATE31_MARK, CC5_STATE39_MARK, FMCLK_MARK, RDS_CLK_MARK,
  536. PCMOE_MARK, BPFCLK_MARK, PCMWE_MARK, FMIN_MARK, RDS_DATA_MARK,
  537. VI0_CLK_MARK, MMC1_CLK_MARK, VI0_CLKENB_MARK, TX1_C_MARK, HTX1_B_MARK,
  538. MT1_SYNC_MARK, VI0_FIELD_MARK, RX1_C_MARK, HRX1_B_MARK,
  539. VI0_HSYNC_MARK, VI0_DATA0_B_VI0_B0_B_MARK, CTS1_C_MARK, TX4_D_MARK,
  540. MMC1_CMD_MARK, HSCK1_B_MARK, VI0_VSYNC_MARK, VI0_DATA1_B_VI0_B1_B_MARK,
  541. RTS1_C_TANS_C_MARK, RX4_D_MARK, PWMFSW0_C_MARK,
  542. VI0_DATA0_VI0_B0_MARK, HRTS1_B_MARK, MT1_VCXO_MARK,
  543. VI0_DATA1_VI0_B1_MARK, HCTS1_B_MARK, MT1_PWM_MARK,
  544. VI0_DATA2_VI0_B2_MARK, MMC1_D0_MARK, VI0_DATA3_VI0_B3_MARK,
  545. MMC1_D1_MARK, VI0_DATA4_VI0_B4_MARK, MMC1_D2_MARK,
  546. VI0_DATA5_VI0_B5_MARK, MMC1_D3_MARK, VI0_DATA6_VI0_B6_MARK,
  547. MMC1_D4_MARK, ARM_TRACEDATA_0_MARK, VI0_DATA7_VI0_B7_MARK,
  548. MMC1_D5_MARK, ARM_TRACEDATA_1_MARK, VI0_G0_MARK, SSI_SCK78_C_MARK,
  549. IRQ0_MARK, ARM_TRACEDATA_2_MARK, VI0_G1_MARK, SSI_WS78_C_MARK,
  550. IRQ1_MARK, ARM_TRACEDATA_3_MARK, VI0_G2_MARK, ETH_TXD1_MARK,
  551. MMC1_D6_MARK, ARM_TRACEDATA_4_MARK, TS_SPSYNC0_MARK, VI0_G3_MARK,
  552. ETH_CRS_DV_MARK, MMC1_D7_MARK, ARM_TRACEDATA_5_MARK, TS_SDAT0_MARK,
  553. VI0_G4_MARK, ETH_TX_EN_MARK, SD2_DAT0_B_MARK, ARM_TRACEDATA_6_MARK,
  554. VI0_G5_MARK, ETH_RX_ER_MARK, SD2_DAT1_B_MARK, ARM_TRACEDATA_7_MARK,
  555. VI0_G6_MARK, ETH_RXD0_MARK, SD2_DAT2_B_MARK, ARM_TRACEDATA_8_MARK,
  556. VI0_G7_MARK, ETH_RXD1_MARK, SD2_DAT3_B_MARK, ARM_TRACEDATA_9_MARK,
  557. VI0_R0_MARK, SSI_SDATA7_C_MARK, SCK1_C_MARK, DREQ1_B_MARK,
  558. ARM_TRACEDATA_10_MARK, DREQ0_C_MARK, VI0_R1_MARK, SSI_SDATA8_C_MARK,
  559. DACK1_B_MARK, ARM_TRACEDATA_11_MARK, DACK0_C_MARK, DRACK0_C_MARK,
  560. VI0_R2_MARK, ETH_LINK_MARK, SD2_CLK_B_MARK, IRQ2_MARK,
  561. ARM_TRACEDATA_12_MARK, VI0_R3_MARK, ETH_MAGIC_MARK, SD2_CMD_B_MARK,
  562. IRQ3_MARK, ARM_TRACEDATA_13_MARK, VI0_R4_MARK, ETH_REFCLK_MARK,
  563. SD2_CD_B_MARK, HSPI_CLK1_B_MARK, ARM_TRACEDATA_14_MARK, MT1_CLK_MARK,
  564. TS_SCK0_MARK, VI0_R5_MARK, ETH_TXD0_MARK, SD2_WP_B_MARK,
  565. HSPI_CS1_B_MARK, ARM_TRACEDATA_15_MARK, MT1_D_MARK, TS_SDEN0_MARK,
  566. VI0_R6_MARK, ETH_MDC_MARK, DREQ2_C_MARK, HSPI_TX1_B_MARK,
  567. TRACECLK_MARK, MT1_BEN_MARK, PWMFSW0_D_MARK, VI0_R7_MARK,
  568. ETH_MDIO_MARK, DACK2_C_MARK, HSPI_RX1_B_MARK, SCIF_CLK_D_MARK,
  569. TRACECTL_MARK, MT1_PEN_MARK, VI1_CLK_MARK, SIM_D_MARK, SDA3_MARK,
  570. VI1_HSYNC_MARK, VI3_CLK_MARK, SSI_SCK4_MARK, GPS_SIGN_C_MARK,
  571. PWMFSW0_E_MARK, VI1_VSYNC_MARK, AUDIO_CLKOUT_C_MARK, SSI_WS4_MARK,
  572. SIM_CLK_MARK, GPS_MAG_C_MARK, SPV_TRST_MARK, SCL3_MARK,
  573. VI1_DATA0_VI1_B0_MARK, SD2_DAT0_MARK, SIM_RST_MARK, SPV_TCK_MARK,
  574. ADICLK_B_MARK, VI1_DATA1_VI1_B1_MARK, SD2_DAT1_MARK, MT0_CLK_MARK,
  575. SPV_TMS_MARK, ADICS_B_SAMP_B_MARK, VI1_DATA2_VI1_B2_MARK,
  576. SD2_DAT2_MARK, MT0_D_MARK, SPVTDI_MARK, ADIDATA_B_MARK,
  577. VI1_DATA3_VI1_B3_MARK, SD2_DAT3_MARK, MT0_BEN_MARK, SPV_TDO_MARK,
  578. ADICHS0_B_MARK, VI1_DATA4_VI1_B4_MARK, SD2_CLK_MARK, MT0_PEN_MARK,
  579. SPA_TRST_MARK, HSPI_CLK1_D_MARK, ADICHS1_B_MARK,
  580. VI1_DATA5_VI1_B5_MARK, SD2_CMD_MARK, MT0_SYNC_MARK, SPA_TCK_MARK,
  581. HSPI_CS1_D_MARK, ADICHS2_B_MARK, VI1_DATA6_VI1_B6_MARK, SD2_CD_MARK,
  582. MT0_VCXO_MARK, SPA_TMS_MARK, HSPI_TX1_D_MARK, VI1_DATA7_VI1_B7_MARK,
  583. SD2_WP_MARK, MT0_PWM_MARK, SPA_TDI_MARK, HSPI_RX1_D_MARK,
  584. VI1_G0_MARK, VI3_DATA0_MARK, DU1_DOTCLKOUT1_MARK, TS_SCK1_MARK,
  585. DREQ2_B_MARK, TX2_MARK, SPA_TDO_MARK, HCTS0_B_MARK,
  586. VI1_G1_MARK, VI3_DATA1_MARK, SSI_SCK1_MARK, TS_SDEN1_MARK,
  587. DACK2_B_MARK, RX2_MARK, HRTS0_B_MARK,
  588. VI1_G2_MARK, VI3_DATA2_MARK, SSI_WS1_MARK, TS_SPSYNC1_MARK,
  589. SCK2_MARK, HSCK0_B_MARK, VI1_G3_MARK, VI3_DATA3_MARK,
  590. SSI_SCK2_MARK, TS_SDAT1_MARK, SCL1_C_MARK, HTX0_B_MARK,
  591. VI1_G4_MARK, VI3_DATA4_MARK, SSI_WS2_MARK, SDA1_C_MARK,
  592. SIM_RST_B_MARK, HRX0_B_MARK, VI1_G5_MARK, VI3_DATA5_MARK,
  593. GPS_CLK_MARK, FSE_MARK, TX4_B_MARK, SIM_D_B_MARK,
  594. VI1_G6_MARK, VI3_DATA6_MARK, GPS_SIGN_MARK, FRB_MARK,
  595. RX4_B_MARK, SIM_CLK_B_MARK, VI1_G7_MARK, VI3_DATA7_MARK,
  596. GPS_MAG_MARK, FCE_MARK, SCK4_B_MARK,
  597. PINMUX_MARK_END,
  598. };
  599. static pinmux_enum_t pinmux_data[] = {
  600. PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
  601. PINMUX_DATA(AVS1_MARK, FN_AVS1),
  602. PINMUX_DATA(AVS1_MARK, FN_AVS1),
  603. PINMUX_DATA(A17_MARK, FN_A17),
  604. PINMUX_DATA(A18_MARK, FN_A18),
  605. PINMUX_DATA(A19_MARK, FN_A19),
  606. PINMUX_IPSR_DATA(IP0_2_0, PENC2),
  607. PINMUX_IPSR_MODSEL_DATA(IP0_2_0, SCK0, SEL_SCIF0_0),
  608. PINMUX_IPSR_DATA(IP0_2_0, PWM1),
  609. PINMUX_IPSR_MODSEL_DATA(IP0_2_0, PWMFSW0, SEL_PWMFSW_0),
  610. PINMUX_IPSR_MODSEL_DATA(IP0_2_0, SCIF_CLK, SEL_SCIF_0),
  611. PINMUX_IPSR_MODSEL_DATA(IP0_2_0, TCLK0_C, SEL_TMU0_2),
  612. PINMUX_IPSR_DATA(IP0_5_3, BS),
  613. PINMUX_IPSR_DATA(IP0_5_3, SD1_DAT2),
  614. PINMUX_IPSR_DATA(IP0_5_3, MMC0_D2),
  615. PINMUX_IPSR_DATA(IP0_5_3, FD2),
  616. PINMUX_IPSR_DATA(IP0_5_3, ATADIR0),
  617. PINMUX_IPSR_DATA(IP0_5_3, SDSELF),
  618. PINMUX_IPSR_MODSEL_DATA(IP0_5_3, HCTS1, SEL_HSCIF1_0),
  619. PINMUX_IPSR_DATA(IP0_5_3, TX4_C),
  620. PINMUX_IPSR_DATA(IP0_7_6, A0),
  621. PINMUX_IPSR_DATA(IP0_7_6, SD1_DAT3),
  622. PINMUX_IPSR_DATA(IP0_7_6, MMC0_D3),
  623. PINMUX_IPSR_DATA(IP0_7_6, FD3),
  624. PINMUX_IPSR_DATA(IP0_9_8, A20),
  625. PINMUX_IPSR_DATA(IP0_9_8, TX5_D),
  626. PINMUX_IPSR_DATA(IP0_9_8, HSPI_TX2_B),
  627. PINMUX_IPSR_DATA(IP0_11_10, A21),
  628. PINMUX_IPSR_MODSEL_DATA(IP0_11_10, SCK5_D, SEL_SCIF5_3),
  629. PINMUX_IPSR_MODSEL_DATA(IP0_11_10, HSPI_CLK2_B, SEL_HSPI2_1),
  630. PINMUX_IPSR_DATA(IP0_13_12, A22),
  631. PINMUX_IPSR_MODSEL_DATA(IP0_13_12, RX5_D, SEL_SCIF5_3),
  632. PINMUX_IPSR_MODSEL_DATA(IP0_13_12, HSPI_RX2_B, SEL_HSPI2_1),
  633. PINMUX_IPSR_DATA(IP0_13_12, VI1_R0),
  634. PINMUX_IPSR_DATA(IP0_15_14, A23),
  635. PINMUX_IPSR_DATA(IP0_15_14, FCLE),
  636. PINMUX_IPSR_MODSEL_DATA(IP0_15_14, HSPI_CLK2, SEL_HSPI2_0),
  637. PINMUX_IPSR_DATA(IP0_15_14, VI1_R1),
  638. PINMUX_IPSR_DATA(IP0_18_16, A24),
  639. PINMUX_IPSR_DATA(IP0_18_16, SD1_CD),
  640. PINMUX_IPSR_DATA(IP0_18_16, MMC0_D4),
  641. PINMUX_IPSR_DATA(IP0_18_16, FD4),
  642. PINMUX_IPSR_MODSEL_DATA(IP0_18_16, HSPI_CS2, SEL_HSPI2_0),
  643. PINMUX_IPSR_DATA(IP0_18_16, VI1_R2),
  644. PINMUX_IPSR_MODSEL_DATA(IP0_18_16, SSI_WS78_B, SEL_SSI7_1),
  645. PINMUX_IPSR_DATA(IP0_22_19, A25),
  646. PINMUX_IPSR_DATA(IP0_22_19, SD1_WP),
  647. PINMUX_IPSR_DATA(IP0_22_19, MMC0_D5),
  648. PINMUX_IPSR_DATA(IP0_22_19, FD5),
  649. PINMUX_IPSR_MODSEL_DATA(IP0_22_19, HSPI_RX2, SEL_HSPI2_0),
  650. PINMUX_IPSR_DATA(IP0_22_19, VI1_R3),
  651. PINMUX_IPSR_DATA(IP0_22_19, TX5_B),
  652. PINMUX_IPSR_MODSEL_DATA(IP0_22_19, SSI_SDATA7_B, SEL_SSI7_1),
  653. PINMUX_IPSR_MODSEL_DATA(IP0_22_19, CTS0_B, SEL_SCIF0_1),
  654. PINMUX_IPSR_DATA(IP0_24_23, CLKOUT),
  655. PINMUX_IPSR_DATA(IP0_24_23, TX3C_IRDA_TX_C),
  656. PINMUX_IPSR_DATA(IP0_24_23, PWM0_B),
  657. PINMUX_IPSR_DATA(IP0_25, CS0),
  658. PINMUX_IPSR_MODSEL_DATA(IP0_25, HSPI_CS2_B, SEL_HSPI2_1),
  659. PINMUX_IPSR_DATA(IP0_27_26, CS1_A26),
  660. PINMUX_IPSR_DATA(IP0_27_26, HSPI_TX2),
  661. PINMUX_IPSR_DATA(IP0_27_26, SDSELF_B),
  662. PINMUX_IPSR_DATA(IP0_30_28, RD_WR),
  663. PINMUX_IPSR_DATA(IP0_30_28, FWE),
  664. PINMUX_IPSR_DATA(IP0_30_28, ATAG0),
  665. PINMUX_IPSR_DATA(IP0_30_28, VI1_R7),
  666. PINMUX_IPSR_MODSEL_DATA(IP0_30_28, HRTS1, SEL_HSCIF1_0),
  667. PINMUX_IPSR_MODSEL_DATA(IP0_30_28, RX4_C, SEL_SCIF4_2),
  668. PINMUX_IPSR_DATA(IP1_1_0, EX_CS0),
  669. PINMUX_IPSR_MODSEL_DATA(IP1_1_0, RX3_C_IRDA_RX_C, SEL_SCIF3_2),
  670. PINMUX_IPSR_DATA(IP1_1_0, MMC0_D6),
  671. PINMUX_IPSR_DATA(IP1_1_0, FD6),
  672. PINMUX_IPSR_DATA(IP1_3_2, EX_CS1),
  673. PINMUX_IPSR_DATA(IP1_3_2, MMC0_D7),
  674. PINMUX_IPSR_DATA(IP1_3_2, FD7),
  675. PINMUX_IPSR_DATA(IP1_6_4, EX_CS2),
  676. PINMUX_IPSR_DATA(IP1_6_4, SD1_CLK),
  677. PINMUX_IPSR_DATA(IP1_6_4, MMC0_CLK),
  678. PINMUX_IPSR_DATA(IP1_6_4, FALE),
  679. PINMUX_IPSR_DATA(IP1_6_4, ATACS00),
  680. PINMUX_IPSR_DATA(IP1_10_7, EX_CS3),
  681. PINMUX_IPSR_DATA(IP1_10_7, SD1_CMD),
  682. PINMUX_IPSR_DATA(IP1_10_7, MMC0_CMD),
  683. PINMUX_IPSR_DATA(IP1_10_7, FRE),
  684. PINMUX_IPSR_DATA(IP1_10_7, ATACS10),
  685. PINMUX_IPSR_DATA(IP1_10_7, VI1_R4),
  686. PINMUX_IPSR_MODSEL_DATA(IP1_10_7, RX5_B, SEL_SCIF5_1),
  687. PINMUX_IPSR_MODSEL_DATA(IP1_10_7, HSCK1, SEL_HSCIF1_0),
  688. PINMUX_IPSR_MODSEL_DATA(IP1_10_7, SSI_SDATA8_B, SEL_SSI8_1),
  689. PINMUX_IPSR_MODSEL_DATA(IP1_10_7, RTS0_B_TANS_B, SEL_SCIF0_1),
  690. PINMUX_IPSR_MODSEL_DATA(IP1_10_7, SSI_SDATA9, SEL_SSI9_0),
  691. PINMUX_IPSR_DATA(IP1_14_11, EX_CS4),
  692. PINMUX_IPSR_DATA(IP1_14_11, SD1_DAT0),
  693. PINMUX_IPSR_DATA(IP1_14_11, MMC0_D0),
  694. PINMUX_IPSR_DATA(IP1_14_11, FD0),
  695. PINMUX_IPSR_DATA(IP1_14_11, ATARD0),
  696. PINMUX_IPSR_DATA(IP1_14_11, VI1_R5),
  697. PINMUX_IPSR_MODSEL_DATA(IP1_14_11, SCK5_B, SEL_SCIF5_1),
  698. PINMUX_IPSR_DATA(IP1_14_11, HTX1),
  699. PINMUX_IPSR_DATA(IP1_14_11, TX2_E),
  700. PINMUX_IPSR_DATA(IP1_14_11, TX0_B),
  701. PINMUX_IPSR_MODSEL_DATA(IP1_14_11, SSI_SCK9, SEL_SSI9_0),
  702. PINMUX_IPSR_DATA(IP1_18_15, EX_CS5),
  703. PINMUX_IPSR_DATA(IP1_18_15, SD1_DAT1),
  704. PINMUX_IPSR_DATA(IP1_18_15, MMC0_D1),
  705. PINMUX_IPSR_DATA(IP1_18_15, FD1),
  706. PINMUX_IPSR_DATA(IP1_18_15, ATAWR0),
  707. PINMUX_IPSR_DATA(IP1_18_15, VI1_R6),
  708. PINMUX_IPSR_MODSEL_DATA(IP1_18_15, HRX1, SEL_HSCIF1_0),
  709. PINMUX_IPSR_MODSEL_DATA(IP1_18_15, RX2_E, SEL_SCIF2_4),
  710. PINMUX_IPSR_MODSEL_DATA(IP1_18_15, RX0_B, SEL_SCIF0_1),
  711. PINMUX_IPSR_MODSEL_DATA(IP1_18_15, SSI_WS9, SEL_SSI9_0),
  712. PINMUX_IPSR_DATA(IP1_20_19, MLB_CLK),
  713. PINMUX_IPSR_DATA(IP1_20_19, PWM2),
  714. PINMUX_IPSR_MODSEL_DATA(IP1_20_19, SCK4, SEL_SCIF4_0),
  715. PINMUX_IPSR_DATA(IP1_22_21, MLB_SIG),
  716. PINMUX_IPSR_DATA(IP1_22_21, PWM3),
  717. PINMUX_IPSR_DATA(IP1_22_21, TX4),
  718. PINMUX_IPSR_DATA(IP1_24_23, MLB_DAT),
  719. PINMUX_IPSR_DATA(IP1_24_23, PWM4),
  720. PINMUX_IPSR_MODSEL_DATA(IP1_24_23, RX4, SEL_SCIF4_0),
  721. PINMUX_IPSR_DATA(IP1_28_25, HTX0),
  722. PINMUX_IPSR_DATA(IP1_28_25, TX1),
  723. PINMUX_IPSR_DATA(IP1_28_25, SDATA),
  724. PINMUX_IPSR_MODSEL_DATA(IP1_28_25, CTS0_C, SEL_SCIF0_2),
  725. PINMUX_IPSR_DATA(IP1_28_25, SUB_TCK),
  726. PINMUX_IPSR_DATA(IP1_28_25, CC5_STATE2),
  727. PINMUX_IPSR_DATA(IP1_28_25, CC5_STATE10),
  728. PINMUX_IPSR_DATA(IP1_28_25, CC5_STATE18),
  729. PINMUX_IPSR_DATA(IP1_28_25, CC5_STATE26),
  730. PINMUX_IPSR_DATA(IP1_28_25, CC5_STATE34),
  731. PINMUX_IPSR_MODSEL_DATA(IP2_3_0, HRX0, SEL_HSCIF0_0),
  732. PINMUX_IPSR_MODSEL_DATA(IP2_3_0, RX1, SEL_SCIF1_0),
  733. PINMUX_IPSR_DATA(IP2_3_0, SCKZ),
  734. PINMUX_IPSR_MODSEL_DATA(IP2_3_0, RTS0_C_TANS_C, SEL_SCIF0_2),
  735. PINMUX_IPSR_DATA(IP2_3_0, SUB_TDI),
  736. PINMUX_IPSR_DATA(IP2_3_0, CC5_STATE3),
  737. PINMUX_IPSR_DATA(IP2_3_0, CC5_STATE11),
  738. PINMUX_IPSR_DATA(IP2_3_0, CC5_STATE19),
  739. PINMUX_IPSR_DATA(IP2_3_0, CC5_STATE27),
  740. PINMUX_IPSR_DATA(IP2_3_0, CC5_STATE35),
  741. PINMUX_IPSR_MODSEL_DATA(IP2_7_4, HSCK0, SEL_HSCIF0_0),
  742. PINMUX_IPSR_MODSEL_DATA(IP2_7_4, SCK1, SEL_SCIF1_0),
  743. PINMUX_IPSR_DATA(IP2_7_4, MTS),
  744. PINMUX_IPSR_DATA(IP2_7_4, PWM5),
  745. PINMUX_IPSR_MODSEL_DATA(IP2_7_4, SCK0_C, SEL_SCIF0_2),
  746. PINMUX_IPSR_MODSEL_DATA(IP2_7_4, SSI_SDATA9_B, SEL_SSI9_1),
  747. PINMUX_IPSR_DATA(IP2_7_4, SUB_TDO),
  748. PINMUX_IPSR_DATA(IP2_7_4, CC5_STATE0),
  749. PINMUX_IPSR_DATA(IP2_7_4, CC5_STATE8),
  750. PINMUX_IPSR_DATA(IP2_7_4, CC5_STATE16),
  751. PINMUX_IPSR_DATA(IP2_7_4, CC5_STATE24),
  752. PINMUX_IPSR_DATA(IP2_7_4, CC5_STATE32),
  753. PINMUX_IPSR_MODSEL_DATA(IP2_11_8, HCTS0, SEL_HSCIF0_0),
  754. PINMUX_IPSR_MODSEL_DATA(IP2_11_8, CTS1, SEL_SCIF1_0),
  755. PINMUX_IPSR_DATA(IP2_11_8, STM),
  756. PINMUX_IPSR_DATA(IP2_11_8, PWM0_D),
  757. PINMUX_IPSR_MODSEL_DATA(IP2_11_8, RX0_C, SEL_SCIF0_2),
  758. PINMUX_IPSR_MODSEL_DATA(IP2_11_8, SCIF_CLK_C, SEL_SCIF_2),
  759. PINMUX_IPSR_DATA(IP2_11_8, SUB_TRST),
  760. PINMUX_IPSR_MODSEL_DATA(IP2_11_8, TCLK1_B, SEL_TMU1_1),
  761. PINMUX_IPSR_DATA(IP2_11_8, CC5_OSCOUT),
  762. PINMUX_IPSR_MODSEL_DATA(IP2_15_12, HRTS0, SEL_HSCIF0_0),
  763. PINMUX_IPSR_MODSEL_DATA(IP2_15_12, RTS1_TANS, SEL_SCIF1_0),
  764. PINMUX_IPSR_DATA(IP2_15_12, MDATA),
  765. PINMUX_IPSR_DATA(IP2_15_12, TX0_C),
  766. PINMUX_IPSR_DATA(IP2_15_12, SUB_TMS),
  767. PINMUX_IPSR_DATA(IP2_15_12, CC5_STATE1),
  768. PINMUX_IPSR_DATA(IP2_15_12, CC5_STATE9),
  769. PINMUX_IPSR_DATA(IP2_15_12, CC5_STATE17),
  770. PINMUX_IPSR_DATA(IP2_15_12, CC5_STATE25),
  771. PINMUX_IPSR_DATA(IP2_15_12, CC5_STATE33),
  772. PINMUX_IPSR_DATA(IP2_18_16, DU0_DR0),
  773. PINMUX_IPSR_DATA(IP2_18_16, LCDOUT0),
  774. PINMUX_IPSR_MODSEL_DATA(IP2_18_16, DREQ0, SEL_EXBUS0_0),
  775. PINMUX_IPSR_MODSEL_DATA(IP2_18_16, GPS_CLK_B, SEL_GPS_1),
  776. PINMUX_IPSR_DATA(IP2_18_16, AUDATA0),
  777. PINMUX_IPSR_DATA(IP2_18_16, TX5_C),
  778. PINMUX_IPSR_DATA(IP2_21_19, DU0_DR1),
  779. PINMUX_IPSR_DATA(IP2_21_19, LCDOUT1),
  780. PINMUX_IPSR_DATA(IP2_21_19, DACK0),
  781. PINMUX_IPSR_DATA(IP2_21_19, DRACK0),
  782. PINMUX_IPSR_MODSEL_DATA(IP2_21_19, GPS_SIGN_B, SEL_GPS_1),
  783. PINMUX_IPSR_DATA(IP2_21_19, AUDATA1),
  784. PINMUX_IPSR_MODSEL_DATA(IP2_21_19, RX5_C, SEL_SCIF5_2),
  785. PINMUX_IPSR_DATA(IP2_22, DU0_DR2),
  786. PINMUX_IPSR_DATA(IP2_22, LCDOUT2),
  787. PINMUX_IPSR_DATA(IP2_23, DU0_DR3),
  788. PINMUX_IPSR_DATA(IP2_23, LCDOUT3),
  789. PINMUX_IPSR_DATA(IP2_24, DU0_DR4),
  790. PINMUX_IPSR_DATA(IP2_24, LCDOUT4),
  791. PINMUX_IPSR_DATA(IP2_25, DU0_DR5),
  792. PINMUX_IPSR_DATA(IP2_25, LCDOUT5),
  793. PINMUX_IPSR_DATA(IP2_26, DU0_DR6),
  794. PINMUX_IPSR_DATA(IP2_26, LCDOUT6),
  795. PINMUX_IPSR_DATA(IP2_27, DU0_DR7),
  796. PINMUX_IPSR_DATA(IP2_27, LCDOUT7),
  797. PINMUX_IPSR_DATA(IP2_30_28, DU0_DG0),
  798. PINMUX_IPSR_DATA(IP2_30_28, LCDOUT8),
  799. PINMUX_IPSR_MODSEL_DATA(IP2_30_28, DREQ1, SEL_EXBUS1_0),
  800. PINMUX_IPSR_MODSEL_DATA(IP2_30_28, SCL2, SEL_I2C2_0),
  801. PINMUX_IPSR_DATA(IP2_30_28, AUDATA2),
  802. PINMUX_IPSR_DATA(IP3_2_0, DU0_DG1),
  803. PINMUX_IPSR_DATA(IP3_2_0, LCDOUT9),
  804. PINMUX_IPSR_DATA(IP3_2_0, DACK1),
  805. PINMUX_IPSR_MODSEL_DATA(IP3_2_0, SDA2, SEL_I2C2_0),
  806. PINMUX_IPSR_DATA(IP3_2_0, AUDATA3),
  807. PINMUX_IPSR_DATA(IP3_3, DU0_DG2),
  808. PINMUX_IPSR_DATA(IP3_3, LCDOUT10),
  809. PINMUX_IPSR_DATA(IP3_4, DU0_DG3),
  810. PINMUX_IPSR_DATA(IP3_4, LCDOUT11),
  811. PINMUX_IPSR_DATA(IP3_5, DU0_DG4),
  812. PINMUX_IPSR_DATA(IP3_5, LCDOUT12),
  813. PINMUX_IPSR_DATA(IP3_6, DU0_DG5),
  814. PINMUX_IPSR_DATA(IP3_6, LCDOUT13),
  815. PINMUX_IPSR_DATA(IP3_7, DU0_DG6),
  816. PINMUX_IPSR_DATA(IP3_7, LCDOUT14),
  817. PINMUX_IPSR_DATA(IP3_8, DU0_DG7),
  818. PINMUX_IPSR_DATA(IP3_8, LCDOUT15),
  819. PINMUX_IPSR_DATA(IP3_11_9, DU0_DB0),
  820. PINMUX_IPSR_DATA(IP3_11_9, LCDOUT16),
  821. PINMUX_IPSR_DATA(IP3_11_9, EX_WAIT1),
  822. PINMUX_IPSR_MODSEL_DATA(IP3_11_9, SCL1, SEL_I2C1_0),
  823. PINMUX_IPSR_MODSEL_DATA(IP3_11_9, TCLK1, SEL_TMU1_0),
  824. PINMUX_IPSR_DATA(IP3_11_9, AUDATA4),
  825. PINMUX_IPSR_DATA(IP3_14_12, DU0_DB1),
  826. PINMUX_IPSR_DATA(IP3_14_12, LCDOUT17),
  827. PINMUX_IPSR_DATA(IP3_14_12, EX_WAIT2),
  828. PINMUX_IPSR_MODSEL_DATA(IP3_14_12, SDA1, SEL_I2C1_0),
  829. PINMUX_IPSR_MODSEL_DATA(IP3_14_12, GPS_MAG_B, SEL_GPS_1),
  830. PINMUX_IPSR_DATA(IP3_14_12, AUDATA5),
  831. PINMUX_IPSR_MODSEL_DATA(IP3_14_12, SCK5_C, SEL_SCIF5_2),
  832. PINMUX_IPSR_DATA(IP3_15, DU0_DB2),
  833. PINMUX_IPSR_DATA(IP3_15, LCDOUT18),
  834. PINMUX_IPSR_DATA(IP3_16, DU0_DB3),
  835. PINMUX_IPSR_DATA(IP3_16, LCDOUT19),
  836. PINMUX_IPSR_DATA(IP3_17, DU0_DB4),
  837. PINMUX_IPSR_DATA(IP3_17, LCDOUT20),
  838. PINMUX_IPSR_DATA(IP3_18, DU0_DB5),
  839. PINMUX_IPSR_DATA(IP3_18, LCDOUT21),
  840. PINMUX_IPSR_DATA(IP3_19, DU0_DB6),
  841. PINMUX_IPSR_DATA(IP3_19, LCDOUT22),
  842. PINMUX_IPSR_DATA(IP3_20, DU0_DB7),
  843. PINMUX_IPSR_DATA(IP3_20, LCDOUT23),
  844. PINMUX_IPSR_DATA(IP3_22_21, DU0_DOTCLKIN),
  845. PINMUX_IPSR_DATA(IP3_22_21, QSTVA_QVS),
  846. PINMUX_IPSR_DATA(IP3_22_21, TX3_D_IRDA_TX_D),
  847. PINMUX_IPSR_MODSEL_DATA(IP3_22_21, SCL3_B, SEL_I2C3_1),
  848. PINMUX_IPSR_DATA(IP3_23, DU0_DOTCLKOUT0),
  849. PINMUX_IPSR_DATA(IP3_23, QCLK),
  850. PINMUX_IPSR_DATA(IP3_26_24, DU0_DOTCLKOUT1),
  851. PINMUX_IPSR_DATA(IP3_26_24, QSTVB_QVE),
  852. PINMUX_IPSR_MODSEL_DATA(IP3_26_24, RX3_D_IRDA_RX_D, SEL_SCIF3_3),
  853. PINMUX_IPSR_MODSEL_DATA(IP3_26_24, SDA3_B, SEL_I2C3_1),
  854. PINMUX_IPSR_MODSEL_DATA(IP3_26_24, SDA2_C, SEL_I2C2_2),
  855. PINMUX_IPSR_DATA(IP3_26_24, DACK0_B),
  856. PINMUX_IPSR_DATA(IP3_26_24, DRACK0_B),
  857. PINMUX_IPSR_DATA(IP3_27, DU0_EXHSYNC_DU0_HSYNC),
  858. PINMUX_IPSR_DATA(IP3_27, QSTH_QHS),
  859. PINMUX_IPSR_DATA(IP3_28, DU0_EXVSYNC_DU0_VSYNC),
  860. PINMUX_IPSR_DATA(IP3_28, QSTB_QHE),
  861. PINMUX_IPSR_DATA(IP3_31_29, DU0_EXODDF_DU0_ODDF_DISP_CDE),
  862. PINMUX_IPSR_DATA(IP3_31_29, QCPV_QDE),
  863. PINMUX_IPSR_DATA(IP3_31_29, CAN1_TX),
  864. PINMUX_IPSR_DATA(IP3_31_29, TX2_C),
  865. PINMUX_IPSR_MODSEL_DATA(IP3_31_29, SCL2_C, SEL_I2C2_2),
  866. PINMUX_IPSR_DATA(IP3_31_29, REMOCON),
  867. PINMUX_IPSR_DATA(IP4_1_0, DU0_DISP),
  868. PINMUX_IPSR_DATA(IP4_1_0, QPOLA),
  869. PINMUX_IPSR_MODSEL_DATA(IP4_1_0, CAN_CLK_C, SEL_CANCLK_2),
  870. PINMUX_IPSR_MODSEL_DATA(IP4_1_0, SCK2_C, SEL_SCIF2_2),
  871. PINMUX_IPSR_DATA(IP4_4_2, DU0_CDE),
  872. PINMUX_IPSR_DATA(IP4_4_2, QPOLB),
  873. PINMUX_IPSR_DATA(IP4_4_2, CAN1_RX),
  874. PINMUX_IPSR_MODSEL_DATA(IP4_4_2, RX2_C, SEL_SCIF2_2),
  875. PINMUX_IPSR_MODSEL_DATA(IP4_4_2, DREQ0_B, SEL_EXBUS0_1),
  876. PINMUX_IPSR_MODSEL_DATA(IP4_4_2, SSI_SCK78_B, SEL_SSI7_1),
  877. PINMUX_IPSR_MODSEL_DATA(IP4_4_2, SCK0_B, SEL_SCIF0_1),
  878. PINMUX_IPSR_DATA(IP4_7_5, DU1_DR0),
  879. PINMUX_IPSR_DATA(IP4_7_5, VI2_DATA0_VI2_B0),
  880. PINMUX_IPSR_DATA(IP4_7_5, PWM6),
  881. PINMUX_IPSR_DATA(IP4_7_5, SD3_CLK),
  882. PINMUX_IPSR_DATA(IP4_7_5, TX3_E_IRDA_TX_E),
  883. PINMUX_IPSR_DATA(IP4_7_5, AUDCK),
  884. PINMUX_IPSR_MODSEL_DATA(IP4_7_5, PWMFSW0_B, SEL_PWMFSW_1),
  885. PINMUX_IPSR_DATA(IP4_10_8, DU1_DR1),
  886. PINMUX_IPSR_DATA(IP4_10_8, VI2_DATA1_VI2_B1),
  887. PINMUX_IPSR_DATA(IP4_10_8, PWM0),
  888. PINMUX_IPSR_DATA(IP4_10_8, SD3_CMD),
  889. PINMUX_IPSR_MODSEL_DATA(IP4_10_8, RX3_E_IRDA_RX_E, SEL_SCIF3_4),
  890. PINMUX_IPSR_DATA(IP4_10_8, AUDSYNC),
  891. PINMUX_IPSR_MODSEL_DATA(IP4_10_8, CTS0_D, SEL_SCIF0_3),
  892. PINMUX_IPSR_DATA(IP4_11, DU1_DR2),
  893. PINMUX_IPSR_DATA(IP4_11, VI2_G0),
  894. PINMUX_IPSR_DATA(IP4_12, DU1_DR3),
  895. PINMUX_IPSR_DATA(IP4_12, VI2_G1),
  896. PINMUX_IPSR_DATA(IP4_13, DU1_DR4),
  897. PINMUX_IPSR_DATA(IP4_13, VI2_G2),
  898. PINMUX_IPSR_DATA(IP4_14, DU1_DR5),
  899. PINMUX_IPSR_DATA(IP4_14, VI2_G3),
  900. PINMUX_IPSR_DATA(IP4_15, DU1_DR6),
  901. PINMUX_IPSR_DATA(IP4_15, VI2_G4),
  902. PINMUX_IPSR_DATA(IP4_16, DU1_DR7),
  903. PINMUX_IPSR_DATA(IP4_16, VI2_G5),
  904. PINMUX_IPSR_DATA(IP4_19_17, DU1_DG0),
  905. PINMUX_IPSR_DATA(IP4_19_17, VI2_DATA2_VI2_B2),
  906. PINMUX_IPSR_MODSEL_DATA(IP4_19_17, SCL1_B, SEL_I2C1_1),
  907. PINMUX_IPSR_DATA(IP4_19_17, SD3_DAT2),
  908. PINMUX_IPSR_MODSEL_DATA(IP4_19_17, SCK3_E, SEL_SCIF3_4),
  909. PINMUX_IPSR_DATA(IP4_19_17, AUDATA6),
  910. PINMUX_IPSR_DATA(IP4_19_17, TX0_D),
  911. PINMUX_IPSR_DATA(IP4_22_20, DU1_DG1),
  912. PINMUX_IPSR_DATA(IP4_22_20, VI2_DATA3_VI2_B3),
  913. PINMUX_IPSR_MODSEL_DATA(IP4_22_20, SDA1_B, SEL_I2C1_1),
  914. PINMUX_IPSR_DATA(IP4_22_20, SD3_DAT3),
  915. PINMUX_IPSR_MODSEL_DATA(IP4_22_20, SCK5, SEL_SCIF5_0),
  916. PINMUX_IPSR_DATA(IP4_22_20, AUDATA7),
  917. PINMUX_IPSR_MODSEL_DATA(IP4_22_20, RX0_D, SEL_SCIF0_3),
  918. PINMUX_IPSR_DATA(IP4_23, DU1_DG2),
  919. PINMUX_IPSR_DATA(IP4_23, VI2_G6),
  920. PINMUX_IPSR_DATA(IP4_24, DU1_DG3),
  921. PINMUX_IPSR_DATA(IP4_24, VI2_G7),
  922. PINMUX_IPSR_DATA(IP4_25, DU1_DG4),
  923. PINMUX_IPSR_DATA(IP4_25, VI2_R0),
  924. PINMUX_IPSR_DATA(IP4_26, DU1_DG5),
  925. PINMUX_IPSR_DATA(IP4_26, VI2_R1),
  926. PINMUX_IPSR_DATA(IP4_27, DU1_DG6),
  927. PINMUX_IPSR_DATA(IP4_27, VI2_R2),
  928. PINMUX_IPSR_DATA(IP4_28, DU1_DG7),
  929. PINMUX_IPSR_DATA(IP4_28, VI2_R3),
  930. PINMUX_IPSR_DATA(IP4_31_29, DU1_DB0),
  931. PINMUX_IPSR_DATA(IP4_31_29, VI2_DATA4_VI2_B4),
  932. PINMUX_IPSR_MODSEL_DATA(IP4_31_29, SCL2_B, SEL_I2C2_1),
  933. PINMUX_IPSR_DATA(IP4_31_29, SD3_DAT0),
  934. PINMUX_IPSR_DATA(IP4_31_29, TX5),
  935. PINMUX_IPSR_MODSEL_DATA(IP4_31_29, SCK0_D, SEL_SCIF0_3),
  936. PINMUX_IPSR_DATA(IP5_2_0, DU1_DB1),
  937. PINMUX_IPSR_DATA(IP5_2_0, VI2_DATA5_VI2_B5),
  938. PINMUX_IPSR_MODSEL_DATA(IP5_2_0, SDA2_B, SEL_I2C2_1),
  939. PINMUX_IPSR_DATA(IP5_2_0, SD3_DAT1),
  940. PINMUX_IPSR_MODSEL_DATA(IP5_2_0, RX5, SEL_SCIF5_0),
  941. PINMUX_IPSR_MODSEL_DATA(IP5_2_0, RTS0_D_TANS_D, SEL_SCIF0_3),
  942. PINMUX_IPSR_DATA(IP5_3, DU1_DB2),
  943. PINMUX_IPSR_DATA(IP5_3, VI2_R4),
  944. PINMUX_IPSR_DATA(IP5_4, DU1_DB3),
  945. PINMUX_IPSR_DATA(IP5_4, VI2_R5),
  946. PINMUX_IPSR_DATA(IP5_5, DU1_DB4),
  947. PINMUX_IPSR_DATA(IP5_5, VI2_R6),
  948. PINMUX_IPSR_DATA(IP5_6, DU1_DB5),
  949. PINMUX_IPSR_DATA(IP5_6, VI2_R7),
  950. PINMUX_IPSR_DATA(IP5_7, DU1_DB6),
  951. PINMUX_IPSR_MODSEL_DATA(IP5_7, SCL2_D, SEL_I2C2_3),
  952. PINMUX_IPSR_DATA(IP5_8, DU1_DB7),
  953. PINMUX_IPSR_MODSEL_DATA(IP5_8, SDA2_D, SEL_I2C2_3),
  954. PINMUX_IPSR_DATA(IP5_10_9, DU1_DOTCLKIN),
  955. PINMUX_IPSR_DATA(IP5_10_9, VI2_CLKENB),
  956. PINMUX_IPSR_MODSEL_DATA(IP5_10_9, HSPI_CS1, SEL_HSPI1_0),
  957. PINMUX_IPSR_MODSEL_DATA(IP5_10_9, SCL1_D, SEL_I2C1_3),
  958. PINMUX_IPSR_DATA(IP5_12_11, DU1_DOTCLKOUT),
  959. PINMUX_IPSR_DATA(IP5_12_11, VI2_FIELD),
  960. PINMUX_IPSR_MODSEL_DATA(IP5_12_11, SDA1_D, SEL_I2C1_3),
  961. PINMUX_IPSR_DATA(IP5_14_13, DU1_EXHSYNC_DU1_HSYNC),
  962. PINMUX_IPSR_DATA(IP5_14_13, VI2_HSYNC),
  963. PINMUX_IPSR_DATA(IP5_14_13, VI3_HSYNC),
  964. PINMUX_IPSR_DATA(IP5_16_15, DU1_EXVSYNC_DU1_VSYNC),
  965. PINMUX_IPSR_DATA(IP5_16_15, VI2_VSYNC),
  966. PINMUX_IPSR_DATA(IP5_16_15, VI3_VSYNC),
  967. PINMUX_IPSR_DATA(IP5_20_17, DU1_EXODDF_DU1_ODDF_DISP_CDE),
  968. PINMUX_IPSR_DATA(IP5_20_17, VI2_CLK),
  969. PINMUX_IPSR_DATA(IP5_20_17, TX3_B_IRDA_TX_B),
  970. PINMUX_IPSR_DATA(IP5_20_17, SD3_CD),
  971. PINMUX_IPSR_DATA(IP5_20_17, HSPI_TX1),
  972. PINMUX_IPSR_DATA(IP5_20_17, VI1_CLKENB),
  973. PINMUX_IPSR_DATA(IP5_20_17, VI3_CLKENB),
  974. PINMUX_IPSR_DATA(IP5_20_17, AUDIO_CLKC),
  975. PINMUX_IPSR_DATA(IP5_20_17, TX2_D),
  976. PINMUX_IPSR_DATA(IP5_20_17, SPEEDIN),
  977. PINMUX_IPSR_MODSEL_DATA(IP5_20_17, GPS_SIGN_D, SEL_GPS_3),
  978. PINMUX_IPSR_DATA(IP5_23_21, DU1_DISP),
  979. PINMUX_IPSR_DATA(IP5_23_21, VI2_DATA6_VI2_B6),
  980. PINMUX_IPSR_MODSEL_DATA(IP5_23_21, TCLK0, SEL_TMU0_0),
  981. PINMUX_IPSR_DATA(IP5_23_21, QSTVA_B_QVS_B),
  982. PINMUX_IPSR_MODSEL_DATA(IP5_23_21, HSPI_CLK1, SEL_HSPI1_0),
  983. PINMUX_IPSR_MODSEL_DATA(IP5_23_21, SCK2_D, SEL_SCIF2_3),
  984. PINMUX_IPSR_DATA(IP5_23_21, AUDIO_CLKOUT_B),
  985. PINMUX_IPSR_MODSEL_DATA(IP5_23_21, GPS_MAG_D, SEL_GPS_3),
  986. PINMUX_IPSR_DATA(IP5_27_24, DU1_CDE),
  987. PINMUX_IPSR_DATA(IP5_27_24, VI2_DATA7_VI2_B7),
  988. PINMUX_IPSR_MODSEL_DATA(IP5_27_24, RX3_B_IRDA_RX_B, SEL_SCIF3_1),
  989. PINMUX_IPSR_DATA(IP5_27_24, SD3_WP),
  990. PINMUX_IPSR_MODSEL_DATA(IP5_27_24, HSPI_RX1, SEL_HSPI1_0),
  991. PINMUX_IPSR_DATA(IP5_27_24, VI1_FIELD),
  992. PINMUX_IPSR_DATA(IP5_27_24, VI3_FIELD),
  993. PINMUX_IPSR_DATA(IP5_27_24, AUDIO_CLKOUT),
  994. PINMUX_IPSR_MODSEL_DATA(IP5_27_24, RX2_D, SEL_SCIF2_3),
  995. PINMUX_IPSR_MODSEL_DATA(IP5_27_24, GPS_CLK_C, SEL_GPS_2),
  996. PINMUX_IPSR_MODSEL_DATA(IP5_27_24, GPS_CLK_D, SEL_GPS_3),
  997. PINMUX_IPSR_DATA(IP5_28, AUDIO_CLKA),
  998. PINMUX_IPSR_DATA(IP5_28, CAN_TXCLK),
  999. PINMUX_IPSR_DATA(IP5_30_29, AUDIO_CLKB),
  1000. PINMUX_IPSR_DATA(IP5_30_29, USB_OVC2),
  1001. PINMUX_IPSR_DATA(IP5_30_29, CAN_DEBUGOUT0),
  1002. PINMUX_IPSR_DATA(IP5_30_29, MOUT0),
  1003. PINMUX_IPSR_DATA(IP6_1_0, SSI_SCK0129),
  1004. PINMUX_IPSR_DATA(IP6_1_0, CAN_DEBUGOUT1),
  1005. PINMUX_IPSR_DATA(IP6_1_0, MOUT1),
  1006. PINMUX_IPSR_DATA(IP6_3_2, SSI_WS0129),
  1007. PINMUX_IPSR_DATA(IP6_3_2, CAN_DEBUGOUT2),
  1008. PINMUX_IPSR_DATA(IP6_3_2, MOUT2),
  1009. PINMUX_IPSR_DATA(IP6_5_4, SSI_SDATA0),
  1010. PINMUX_IPSR_DATA(IP6_5_4, CAN_DEBUGOUT3),
  1011. PINMUX_IPSR_DATA(IP6_5_4, MOUT5),
  1012. PINMUX_IPSR_DATA(IP6_7_6, SSI_SDATA1),
  1013. PINMUX_IPSR_DATA(IP6_7_6, CAN_DEBUGOUT4),
  1014. PINMUX_IPSR_DATA(IP6_7_6, MOUT6),
  1015. PINMUX_IPSR_DATA(IP6_8, SSI_SDATA2),
  1016. PINMUX_IPSR_DATA(IP6_8, CAN_DEBUGOUT5),
  1017. PINMUX_IPSR_DATA(IP6_11_9, SSI_SCK34),
  1018. PINMUX_IPSR_DATA(IP6_11_9, CAN_DEBUGOUT6),
  1019. PINMUX_IPSR_DATA(IP6_11_9, CAN0_TX_B),
  1020. PINMUX_IPSR_MODSEL_DATA(IP6_11_9, IERX, SEL_IE_0),
  1021. PINMUX_IPSR_MODSEL_DATA(IP6_11_9, SSI_SCK9_C, SEL_SSI9_2),
  1022. PINMUX_IPSR_DATA(IP6_14_12, SSI_WS34),
  1023. PINMUX_IPSR_DATA(IP6_14_12, CAN_DEBUGOUT7),
  1024. PINMUX_IPSR_MODSEL_DATA(IP6_14_12, CAN0_RX_B, SEL_CAN0_1),
  1025. PINMUX_IPSR_DATA(IP6_14_12, IETX),
  1026. PINMUX_IPSR_MODSEL_DATA(IP6_14_12, SSI_WS9_C, SEL_SSI9_2),
  1027. PINMUX_IPSR_DATA(IP6_17_15, SSI_SDATA3),
  1028. PINMUX_IPSR_DATA(IP6_17_15, PWM0_C),
  1029. PINMUX_IPSR_DATA(IP6_17_15, CAN_DEBUGOUT8),
  1030. PINMUX_IPSR_MODSEL_DATA(IP6_17_15, CAN_CLK_B, SEL_CANCLK_1),
  1031. PINMUX_IPSR_MODSEL_DATA(IP6_17_15, IECLK, SEL_IE_0),
  1032. PINMUX_IPSR_MODSEL_DATA(IP6_17_15, SCIF_CLK_B, SEL_SCIF_1),
  1033. PINMUX_IPSR_MODSEL_DATA(IP6_17_15, TCLK0_B, SEL_TMU0_1),
  1034. PINMUX_IPSR_DATA(IP6_19_18, SSI_SDATA4),
  1035. PINMUX_IPSR_DATA(IP6_19_18, CAN_DEBUGOUT9),
  1036. PINMUX_IPSR_MODSEL_DATA(IP6_19_18, SSI_SDATA9_C, SEL_SSI9_2),
  1037. PINMUX_IPSR_DATA(IP6_22_20, SSI_SCK5),
  1038. PINMUX_IPSR_DATA(IP6_22_20, ADICLK),
  1039. PINMUX_IPSR_DATA(IP6_22_20, CAN_DEBUGOUT10),
  1040. PINMUX_IPSR_MODSEL_DATA(IP6_22_20, SCK3, SEL_SCIF3_0),
  1041. PINMUX_IPSR_MODSEL_DATA(IP6_22_20, TCLK0_D, SEL_TMU0_3),
  1042. PINMUX_IPSR_DATA(IP6_24_23, SSI_WS5),
  1043. PINMUX_IPSR_MODSEL_DATA(IP6_24_23, ADICS_SAMP, SEL_ADI_0),
  1044. PINMUX_IPSR_DATA(IP6_24_23, CAN_DEBUGOUT11),
  1045. PINMUX_IPSR_DATA(IP6_24_23, TX3_IRDA_TX),
  1046. PINMUX_IPSR_DATA(IP6_26_25, SSI_SDATA5),
  1047. PINMUX_IPSR_MODSEL_DATA(IP6_26_25, ADIDATA, SEL_ADI_0),
  1048. PINMUX_IPSR_DATA(IP6_26_25, CAN_DEBUGOUT12),
  1049. PINMUX_IPSR_MODSEL_DATA(IP6_26_25, RX3_IRDA_RX, SEL_SCIF3_0),
  1050. PINMUX_IPSR_DATA(IP6_30_29, SSI_SCK6),
  1051. PINMUX_IPSR_DATA(IP6_30_29, ADICHS0),
  1052. PINMUX_IPSR_DATA(IP6_30_29, CAN0_TX),
  1053. PINMUX_IPSR_MODSEL_DATA(IP6_30_29, IERX_B, SEL_IE_1),
  1054. PINMUX_IPSR_DATA(IP7_1_0, SSI_WS6),
  1055. PINMUX_IPSR_DATA(IP7_1_0, ADICHS1),
  1056. PINMUX_IPSR_MODSEL_DATA(IP7_1_0, CAN0_RX, SEL_CAN0_0),
  1057. PINMUX_IPSR_DATA(IP7_1_0, IETX_B),
  1058. PINMUX_IPSR_DATA(IP7_3_2, SSI_SDATA6),
  1059. PINMUX_IPSR_DATA(IP7_3_2, ADICHS2),
  1060. PINMUX_IPSR_MODSEL_DATA(IP7_3_2, CAN_CLK, SEL_CANCLK_0),
  1061. PINMUX_IPSR_MODSEL_DATA(IP7_3_2, IECLK_B, SEL_IE_1),
  1062. PINMUX_IPSR_MODSEL_DATA(IP7_6_4, SSI_SCK78, SEL_SSI7_0),
  1063. PINMUX_IPSR_DATA(IP7_6_4, CAN_DEBUGOUT13),
  1064. PINMUX_IPSR_MODSEL_DATA(IP7_6_4, IRQ0_B, SEL_INT0_1),
  1065. PINMUX_IPSR_MODSEL_DATA(IP7_6_4, SSI_SCK9_B, SEL_SSI9_1),
  1066. PINMUX_IPSR_MODSEL_DATA(IP7_6_4, HSPI_CLK1_C, SEL_HSPI1_2),
  1067. PINMUX_IPSR_MODSEL_DATA(IP7_9_7, SSI_WS78, SEL_SSI7_0),
  1068. PINMUX_IPSR_DATA(IP7_9_7, CAN_DEBUGOUT14),
  1069. PINMUX_IPSR_MODSEL_DATA(IP7_9_7, IRQ1_B, SEL_INT1_1),
  1070. PINMUX_IPSR_MODSEL_DATA(IP7_9_7, SSI_WS9_B, SEL_SSI9_1),
  1071. PINMUX_IPSR_MODSEL_DATA(IP7_9_7, HSPI_CS1_C, SEL_HSPI1_2),
  1072. PINMUX_IPSR_MODSEL_DATA(IP7_12_10, SSI_SDATA7, SEL_SSI7_0),
  1073. PINMUX_IPSR_DATA(IP7_12_10, CAN_DEBUGOUT15),
  1074. PINMUX_IPSR_MODSEL_DATA(IP7_12_10, IRQ2_B, SEL_INT2_1),
  1075. PINMUX_IPSR_MODSEL_DATA(IP7_12_10, TCLK1_C, SEL_TMU1_2),
  1076. PINMUX_IPSR_DATA(IP7_12_10, HSPI_TX1_C),
  1077. PINMUX_IPSR_MODSEL_DATA(IP7_14_13, SSI_SDATA8, SEL_SSI8_0),
  1078. PINMUX_IPSR_DATA(IP7_14_13, VSP),
  1079. PINMUX_IPSR_MODSEL_DATA(IP7_14_13, IRQ3_B, SEL_INT3_1),
  1080. PINMUX_IPSR_MODSEL_DATA(IP7_14_13, HSPI_RX1_C, SEL_HSPI1_2),
  1081. PINMUX_IPSR_DATA(IP7_16_15, SD0_CLK),
  1082. PINMUX_IPSR_DATA(IP7_16_15, ATACS01),
  1083. PINMUX_IPSR_MODSEL_DATA(IP7_16_15, SCK1_B, SEL_SCIF1_1),
  1084. PINMUX_IPSR_DATA(IP7_18_17, SD0_CMD),
  1085. PINMUX_IPSR_DATA(IP7_18_17, ATACS11),
  1086. PINMUX_IPSR_DATA(IP7_18_17, TX1_B),
  1087. PINMUX_IPSR_DATA(IP7_18_17, CC5_TDO),
  1088. PINMUX_IPSR_DATA(IP7_20_19, SD0_DAT0),
  1089. PINMUX_IPSR_DATA(IP7_20_19, ATADIR1),
  1090. PINMUX_IPSR_MODSEL_DATA(IP7_20_19, RX1_B, SEL_SCIF1_1),
  1091. PINMUX_IPSR_DATA(IP7_20_19, CC5_TRST),
  1092. PINMUX_IPSR_DATA(IP7_22_21, SD0_DAT1),
  1093. PINMUX_IPSR_DATA(IP7_22_21, ATAG1),
  1094. PINMUX_IPSR_MODSEL_DATA(IP7_22_21, SCK2_B, SEL_SCIF2_1),
  1095. PINMUX_IPSR_DATA(IP7_22_21, CC5_TMS),
  1096. PINMUX_IPSR_DATA(IP7_24_23, SD0_DAT2),
  1097. PINMUX_IPSR_DATA(IP7_24_23, ATARD1),
  1098. PINMUX_IPSR_DATA(IP7_24_23, TX2_B),
  1099. PINMUX_IPSR_DATA(IP7_24_23, CC5_TCK),
  1100. PINMUX_IPSR_DATA(IP7_26_25, SD0_DAT3),
  1101. PINMUX_IPSR_DATA(IP7_26_25, ATAWR1),
  1102. PINMUX_IPSR_MODSEL_DATA(IP7_26_25, RX2_B, SEL_SCIF2_1),
  1103. PINMUX_IPSR_DATA(IP7_26_25, CC5_TDI),
  1104. PINMUX_IPSR_DATA(IP7_28_27, SD0_CD),
  1105. PINMUX_IPSR_MODSEL_DATA(IP7_28_27, DREQ2, SEL_EXBUS2_0),
  1106. PINMUX_IPSR_MODSEL_DATA(IP7_28_27, RTS1_B_TANS_B, SEL_SCIF1_1),
  1107. PINMUX_IPSR_DATA(IP7_30_29, SD0_WP),
  1108. PINMUX_IPSR_DATA(IP7_30_29, DACK2),
  1109. PINMUX_IPSR_MODSEL_DATA(IP7_30_29, CTS1_B, SEL_SCIF1_1),
  1110. PINMUX_IPSR_DATA(IP8_3_0, HSPI_CLK0),
  1111. PINMUX_IPSR_MODSEL_DATA(IP8_3_0, CTS0, SEL_SCIF0_0),
  1112. PINMUX_IPSR_DATA(IP8_3_0, USB_OVC0),
  1113. PINMUX_IPSR_DATA(IP8_3_0, AD_CLK),
  1114. PINMUX_IPSR_DATA(IP8_3_0, CC5_STATE4),
  1115. PINMUX_IPSR_DATA(IP8_3_0, CC5_STATE12),
  1116. PINMUX_IPSR_DATA(IP8_3_0, CC5_STATE20),
  1117. PINMUX_IPSR_DATA(IP8_3_0, CC5_STATE28),
  1118. PINMUX_IPSR_DATA(IP8_3_0, CC5_STATE36),
  1119. PINMUX_IPSR_DATA(IP8_7_4, HSPI_CS0),
  1120. PINMUX_IPSR_MODSEL_DATA(IP8_7_4, RTS0_TANS, SEL_SCIF0_0),
  1121. PINMUX_IPSR_DATA(IP8_7_4, USB_OVC1),
  1122. PINMUX_IPSR_DATA(IP8_7_4, AD_DI),
  1123. PINMUX_IPSR_DATA(IP8_7_4, CC5_STATE5),
  1124. PINMUX_IPSR_DATA(IP8_7_4, CC5_STATE13),
  1125. PINMUX_IPSR_DATA(IP8_7_4, CC5_STATE21),
  1126. PINMUX_IPSR_DATA(IP8_7_4, CC5_STATE29),
  1127. PINMUX_IPSR_DATA(IP8_7_4, CC5_STATE37),
  1128. PINMUX_IPSR_DATA(IP8_11_8, HSPI_TX0),
  1129. PINMUX_IPSR_DATA(IP8_11_8, TX0),
  1130. PINMUX_IPSR_DATA(IP8_11_8, CAN_DEBUG_HW_TRIGGER),
  1131. PINMUX_IPSR_DATA(IP8_11_8, AD_DO),
  1132. PINMUX_IPSR_DATA(IP8_11_8, CC5_STATE6),
  1133. PINMUX_IPSR_DATA(IP8_11_8, CC5_STATE14),
  1134. PINMUX_IPSR_DATA(IP8_11_8, CC5_STATE22),
  1135. PINMUX_IPSR_DATA(IP8_11_8, CC5_STATE30),
  1136. PINMUX_IPSR_DATA(IP8_11_8, CC5_STATE38),
  1137. PINMUX_IPSR_DATA(IP8_15_12, HSPI_RX0),
  1138. PINMUX_IPSR_MODSEL_DATA(IP8_15_12, RX0, SEL_SCIF0_0),
  1139. PINMUX_IPSR_DATA(IP8_15_12, CAN_STEP0),
  1140. PINMUX_IPSR_DATA(IP8_15_12, AD_NCS),
  1141. PINMUX_IPSR_DATA(IP8_15_12, CC5_STATE7),
  1142. PINMUX_IPSR_DATA(IP8_15_12, CC5_STATE15),
  1143. PINMUX_IPSR_DATA(IP8_15_12, CC5_STATE23),
  1144. PINMUX_IPSR_DATA(IP8_15_12, CC5_STATE31),
  1145. PINMUX_IPSR_DATA(IP8_15_12, CC5_STATE39),
  1146. PINMUX_IPSR_DATA(IP8_17_16, FMCLK),
  1147. PINMUX_IPSR_DATA(IP8_17_16, RDS_CLK),
  1148. PINMUX_IPSR_DATA(IP8_17_16, PCMOE),
  1149. PINMUX_IPSR_DATA(IP8_18, BPFCLK),
  1150. PINMUX_IPSR_DATA(IP8_18, PCMWE),
  1151. PINMUX_IPSR_DATA(IP8_19, FMIN),
  1152. PINMUX_IPSR_DATA(IP8_19, RDS_DATA),
  1153. PINMUX_IPSR_DATA(IP8_20, VI0_CLK),
  1154. PINMUX_IPSR_DATA(IP8_20, MMC1_CLK),
  1155. PINMUX_IPSR_DATA(IP8_22_21, VI0_CLKENB),
  1156. PINMUX_IPSR_DATA(IP8_22_21, TX1_C),
  1157. PINMUX_IPSR_DATA(IP8_22_21, HTX1_B),
  1158. PINMUX_IPSR_DATA(IP8_22_21, MT1_SYNC),
  1159. PINMUX_IPSR_DATA(IP8_24_23, VI0_FIELD),
  1160. PINMUX_IPSR_MODSEL_DATA(IP8_24_23, RX1_C, SEL_SCIF1_2),
  1161. PINMUX_IPSR_MODSEL_DATA(IP8_24_23, HRX1_B, SEL_HSCIF1_1),
  1162. PINMUX_IPSR_DATA(IP8_27_25, VI0_HSYNC),
  1163. PINMUX_IPSR_MODSEL_DATA(IP8_27_25, VI0_DATA0_B_VI0_B0_B, SEL_VI0_1),
  1164. PINMUX_IPSR_MODSEL_DATA(IP8_27_25, CTS1_C, SEL_SCIF1_2),
  1165. PINMUX_IPSR_DATA(IP8_27_25, TX4_D),
  1166. PINMUX_IPSR_DATA(IP8_27_25, MMC1_CMD),
  1167. PINMUX_IPSR_MODSEL_DATA(IP8_27_25, HSCK1_B, SEL_HSCIF1_1),
  1168. PINMUX_IPSR_DATA(IP8_30_28, VI0_VSYNC),
  1169. PINMUX_IPSR_MODSEL_DATA(IP8_30_28, VI0_DATA1_B_VI0_B1_B, SEL_VI0_1),
  1170. PINMUX_IPSR_MODSEL_DATA(IP8_30_28, RTS1_C_TANS_C, SEL_SCIF1_2),
  1171. PINMUX_IPSR_MODSEL_DATA(IP8_30_28, RX4_D, SEL_SCIF4_3),
  1172. PINMUX_IPSR_MODSEL_DATA(IP8_30_28, PWMFSW0_C, SEL_PWMFSW_2),
  1173. PINMUX_IPSR_MODSEL_DATA(IP9_1_0, VI0_DATA0_VI0_B0, SEL_VI0_0),
  1174. PINMUX_IPSR_MODSEL_DATA(IP9_1_0, HRTS1_B, SEL_HSCIF1_1),
  1175. PINMUX_IPSR_DATA(IP9_1_0, MT1_VCXO),
  1176. PINMUX_IPSR_MODSEL_DATA(IP9_3_2, VI0_DATA1_VI0_B1, SEL_VI0_0),
  1177. PINMUX_IPSR_MODSEL_DATA(IP9_3_2, HCTS1_B, SEL_HSCIF1_1),
  1178. PINMUX_IPSR_DATA(IP9_3_2, MT1_PWM),
  1179. PINMUX_IPSR_DATA(IP9_4, VI0_DATA2_VI0_B2),
  1180. PINMUX_IPSR_DATA(IP9_4, MMC1_D0),
  1181. PINMUX_IPSR_DATA(IP9_5, VI0_DATA3_VI0_B3),
  1182. PINMUX_IPSR_DATA(IP9_5, MMC1_D1),
  1183. PINMUX_IPSR_DATA(IP9_6, VI0_DATA4_VI0_B4),
  1184. PINMUX_IPSR_DATA(IP9_6, MMC1_D2),
  1185. PINMUX_IPSR_DATA(IP9_7, VI0_DATA5_VI0_B5),
  1186. PINMUX_IPSR_DATA(IP9_7, MMC1_D3),
  1187. PINMUX_IPSR_DATA(IP9_9_8, VI0_DATA6_VI0_B6),
  1188. PINMUX_IPSR_DATA(IP9_9_8, MMC1_D4),
  1189. PINMUX_IPSR_DATA(IP9_9_8, ARM_TRACEDATA_0),
  1190. PINMUX_IPSR_DATA(IP9_11_10, VI0_DATA7_VI0_B7),
  1191. PINMUX_IPSR_DATA(IP9_11_10, MMC1_D5),
  1192. PINMUX_IPSR_DATA(IP9_11_10, ARM_TRACEDATA_1),
  1193. PINMUX_IPSR_DATA(IP9_13_12, VI0_G0),
  1194. PINMUX_IPSR_MODSEL_DATA(IP9_13_12, SSI_SCK78_C, SEL_SSI7_2),
  1195. PINMUX_IPSR_MODSEL_DATA(IP9_13_12, IRQ0, SEL_INT0_0),
  1196. PINMUX_IPSR_DATA(IP9_13_12, ARM_TRACEDATA_2),
  1197. PINMUX_IPSR_DATA(IP9_15_14, VI0_G1),
  1198. PINMUX_IPSR_MODSEL_DATA(IP9_15_14, SSI_WS78_C, SEL_SSI7_2),
  1199. PINMUX_IPSR_MODSEL_DATA(IP9_15_14, IRQ1, SEL_INT1_0),
  1200. PINMUX_IPSR_DATA(IP9_15_14, ARM_TRACEDATA_3),
  1201. PINMUX_IPSR_DATA(IP9_18_16, VI0_G2),
  1202. PINMUX_IPSR_DATA(IP9_18_16, ETH_TXD1),
  1203. PINMUX_IPSR_DATA(IP9_18_16, MMC1_D6),
  1204. PINMUX_IPSR_DATA(IP9_18_16, ARM_TRACEDATA_4),
  1205. PINMUX_IPSR_DATA(IP9_18_16, TS_SPSYNC0),
  1206. PINMUX_IPSR_DATA(IP9_21_19, VI0_G3),
  1207. PINMUX_IPSR_DATA(IP9_21_19, ETH_CRS_DV),
  1208. PINMUX_IPSR_DATA(IP9_21_19, MMC1_D7),
  1209. PINMUX_IPSR_DATA(IP9_21_19, ARM_TRACEDATA_5),
  1210. PINMUX_IPSR_DATA(IP9_21_19, TS_SDAT0),
  1211. PINMUX_IPSR_DATA(IP9_23_22, VI0_G4),
  1212. PINMUX_IPSR_DATA(IP9_23_22, ETH_TX_EN),
  1213. PINMUX_IPSR_MODSEL_DATA(IP9_23_22, SD2_DAT0_B, SEL_SD2_1),
  1214. PINMUX_IPSR_DATA(IP9_23_22, ARM_TRACEDATA_6),
  1215. PINMUX_IPSR_DATA(IP9_25_24, VI0_G5),
  1216. PINMUX_IPSR_DATA(IP9_25_24, ETH_RX_ER),
  1217. PINMUX_IPSR_MODSEL_DATA(IP9_25_24, SD2_DAT1_B, SEL_SD2_1),
  1218. PINMUX_IPSR_DATA(IP9_25_24, ARM_TRACEDATA_7),
  1219. PINMUX_IPSR_DATA(IP9_27_26, VI0_G6),
  1220. PINMUX_IPSR_DATA(IP9_27_26, ETH_RXD0),
  1221. PINMUX_IPSR_MODSEL_DATA(IP9_27_26, SD2_DAT2_B, SEL_SD2_1),
  1222. PINMUX_IPSR_DATA(IP9_27_26, ARM_TRACEDATA_8),
  1223. PINMUX_IPSR_DATA(IP9_29_28, VI0_G7),
  1224. PINMUX_IPSR_DATA(IP9_29_28, ETH_RXD1),
  1225. PINMUX_IPSR_MODSEL_DATA(IP9_29_28, SD2_DAT3_B, SEL_SD2_1),
  1226. PINMUX_IPSR_DATA(IP9_29_28, ARM_TRACEDATA_9),
  1227. PINMUX_IPSR_DATA(IP10_2_0, VI0_R0),
  1228. PINMUX_IPSR_MODSEL_DATA(IP10_2_0, SSI_SDATA7_C, SEL_SSI7_2),
  1229. PINMUX_IPSR_MODSEL_DATA(IP10_2_0, SCK1_C, SEL_SCIF1_2),
  1230. PINMUX_IPSR_MODSEL_DATA(IP10_2_0, DREQ1_B, SEL_EXBUS1_0),
  1231. PINMUX_IPSR_DATA(IP10_2_0, ARM_TRACEDATA_10),
  1232. PINMUX_IPSR_MODSEL_DATA(IP10_2_0, DREQ0_C, SEL_EXBUS0_2),
  1233. PINMUX_IPSR_DATA(IP10_5_3, VI0_R1),
  1234. PINMUX_IPSR_MODSEL_DATA(IP10_5_3, SSI_SDATA8_C, SEL_SSI8_2),
  1235. PINMUX_IPSR_DATA(IP10_5_3, DACK1_B),
  1236. PINMUX_IPSR_DATA(IP10_5_3, ARM_TRACEDATA_11),
  1237. PINMUX_IPSR_DATA(IP10_5_3, DACK0_C),
  1238. PINMUX_IPSR_DATA(IP10_5_3, DRACK0_C),
  1239. PINMUX_IPSR_DATA(IP10_8_6, VI0_R2),
  1240. PINMUX_IPSR_DATA(IP10_8_6, ETH_LINK),
  1241. PINMUX_IPSR_DATA(IP10_8_6, SD2_CLK_B),
  1242. PINMUX_IPSR_MODSEL_DATA(IP10_8_6, IRQ2, SEL_INT2_0),
  1243. PINMUX_IPSR_DATA(IP10_8_6, ARM_TRACEDATA_12),
  1244. PINMUX_IPSR_DATA(IP10_11_9, VI0_R3),
  1245. PINMUX_IPSR_DATA(IP10_11_9, ETH_MAGIC),
  1246. PINMUX_IPSR_MODSEL_DATA(IP10_11_9, SD2_CMD_B, SEL_SD2_1),
  1247. PINMUX_IPSR_MODSEL_DATA(IP10_11_9, IRQ3, SEL_INT3_0),
  1248. PINMUX_IPSR_DATA(IP10_11_9, ARM_TRACEDATA_13),
  1249. PINMUX_IPSR_DATA(IP10_14_12, VI0_R4),
  1250. PINMUX_IPSR_DATA(IP10_14_12, ETH_REFCLK),
  1251. PINMUX_IPSR_MODSEL_DATA(IP10_14_12, SD2_CD_B, SEL_SD2_1),
  1252. PINMUX_IPSR_MODSEL_DATA(IP10_14_12, HSPI_CLK1_B, SEL_HSPI1_1),
  1253. PINMUX_IPSR_DATA(IP10_14_12, ARM_TRACEDATA_14),
  1254. PINMUX_IPSR_DATA(IP10_14_12, MT1_CLK),
  1255. PINMUX_IPSR_DATA(IP10_14_12, TS_SCK0),
  1256. PINMUX_IPSR_DATA(IP10_17_15, VI0_R5),
  1257. PINMUX_IPSR_DATA(IP10_17_15, ETH_TXD0),
  1258. PINMUX_IPSR_MODSEL_DATA(IP10_17_15, SD2_WP_B, SEL_SD2_1),
  1259. PINMUX_IPSR_MODSEL_DATA(IP10_17_15, HSPI_CS1_B, SEL_HSPI1_1),
  1260. PINMUX_IPSR_DATA(IP10_17_15, ARM_TRACEDATA_15),
  1261. PINMUX_IPSR_DATA(IP10_17_15, MT1_D),
  1262. PINMUX_IPSR_DATA(IP10_17_15, TS_SDEN0),
  1263. PINMUX_IPSR_DATA(IP10_20_18, VI0_R6),
  1264. PINMUX_IPSR_DATA(IP10_20_18, ETH_MDC),
  1265. PINMUX_IPSR_MODSEL_DATA(IP10_20_18, DREQ2_C, SEL_EXBUS2_2),
  1266. PINMUX_IPSR_DATA(IP10_20_18, HSPI_TX1_B),
  1267. PINMUX_IPSR_DATA(IP10_20_18, TRACECLK),
  1268. PINMUX_IPSR_DATA(IP10_20_18, MT1_BEN),
  1269. PINMUX_IPSR_MODSEL_DATA(IP10_20_18, PWMFSW0_D, SEL_PWMFSW_3),
  1270. PINMUX_IPSR_DATA(IP10_23_21, VI0_R7),
  1271. PINMUX_IPSR_DATA(IP10_23_21, ETH_MDIO),
  1272. PINMUX_IPSR_DATA(IP10_23_21, DACK2_C),
  1273. PINMUX_IPSR_MODSEL_DATA(IP10_23_21, HSPI_RX1_B, SEL_HSPI1_1),
  1274. PINMUX_IPSR_MODSEL_DATA(IP10_23_21, SCIF_CLK_D, SEL_SCIF_3),
  1275. PINMUX_IPSR_DATA(IP10_23_21, TRACECTL),
  1276. PINMUX_IPSR_DATA(IP10_23_21, MT1_PEN),
  1277. PINMUX_IPSR_DATA(IP10_25_24, VI1_CLK),
  1278. PINMUX_IPSR_MODSEL_DATA(IP10_25_24, SIM_D, SEL_SIM_0),
  1279. PINMUX_IPSR_MODSEL_DATA(IP10_25_24, SDA3, SEL_I2C3_0),
  1280. PINMUX_IPSR_DATA(IP10_28_26, VI1_HSYNC),
  1281. PINMUX_IPSR_DATA(IP10_28_26, VI3_CLK),
  1282. PINMUX_IPSR_DATA(IP10_28_26, SSI_SCK4),
  1283. PINMUX_IPSR_MODSEL_DATA(IP10_28_26, GPS_SIGN_C, SEL_GPS_2),
  1284. PINMUX_IPSR_MODSEL_DATA(IP10_28_26, PWMFSW0_E, SEL_PWMFSW_4),
  1285. PINMUX_IPSR_DATA(IP10_31_29, VI1_VSYNC),
  1286. PINMUX_IPSR_DATA(IP10_31_29, AUDIO_CLKOUT_C),
  1287. PINMUX_IPSR_DATA(IP10_31_29, SSI_WS4),
  1288. PINMUX_IPSR_DATA(IP10_31_29, SIM_CLK),
  1289. PINMUX_IPSR_MODSEL_DATA(IP10_31_29, GPS_MAG_C, SEL_GPS_2),
  1290. PINMUX_IPSR_DATA(IP10_31_29, SPV_TRST),
  1291. PINMUX_IPSR_MODSEL_DATA(IP10_31_29, SCL3, SEL_I2C3_0),
  1292. PINMUX_IPSR_DATA(IP11_2_0, VI1_DATA0_VI1_B0),
  1293. PINMUX_IPSR_MODSEL_DATA(IP11_2_0, SD2_DAT0, SEL_SD2_0),
  1294. PINMUX_IPSR_DATA(IP11_2_0, SIM_RST),
  1295. PINMUX_IPSR_DATA(IP11_2_0, SPV_TCK),
  1296. PINMUX_IPSR_DATA(IP11_2_0, ADICLK_B),
  1297. PINMUX_IPSR_DATA(IP11_5_3, VI1_DATA1_VI1_B1),
  1298. PINMUX_IPSR_MODSEL_DATA(IP11_5_3, SD2_DAT1, SEL_SD2_0),
  1299. PINMUX_IPSR_DATA(IP11_5_3, MT0_CLK),
  1300. PINMUX_IPSR_DATA(IP11_5_3, SPV_TMS),
  1301. PINMUX_IPSR_MODSEL_DATA(IP11_5_3, ADICS_B_SAMP_B, SEL_ADI_1),
  1302. PINMUX_IPSR_DATA(IP11_8_6, VI1_DATA2_VI1_B2),
  1303. PINMUX_IPSR_MODSEL_DATA(IP11_8_6, SD2_DAT2, SEL_SD2_0),
  1304. PINMUX_IPSR_DATA(IP11_8_6, MT0_D),
  1305. PINMUX_IPSR_DATA(IP11_8_6, SPVTDI),
  1306. PINMUX_IPSR_MODSEL_DATA(IP11_8_6, ADIDATA_B, SEL_ADI_1),
  1307. PINMUX_IPSR_DATA(IP11_11_9, VI1_DATA3_VI1_B3),
  1308. PINMUX_IPSR_MODSEL_DATA(IP11_11_9, SD2_DAT3, SEL_SD2_0),
  1309. PINMUX_IPSR_DATA(IP11_11_9, MT0_BEN),
  1310. PINMUX_IPSR_DATA(IP11_11_9, SPV_TDO),
  1311. PINMUX_IPSR_DATA(IP11_11_9, ADICHS0_B),
  1312. PINMUX_IPSR_DATA(IP11_14_12, VI1_DATA4_VI1_B4),
  1313. PINMUX_IPSR_DATA(IP11_14_12, SD2_CLK),
  1314. PINMUX_IPSR_DATA(IP11_14_12, MT0_PEN),
  1315. PINMUX_IPSR_DATA(IP11_14_12, SPA_TRST),
  1316. PINMUX_IPSR_MODSEL_DATA(IP11_14_12, HSPI_CLK1_D, SEL_HSPI1_3),
  1317. PINMUX_IPSR_DATA(IP11_14_12, ADICHS1_B),
  1318. PINMUX_IPSR_DATA(IP11_17_15, VI1_DATA5_VI1_B5),
  1319. PINMUX_IPSR_MODSEL_DATA(IP11_17_15, SD2_CMD, SEL_SD2_0),
  1320. PINMUX_IPSR_DATA(IP11_17_15, MT0_SYNC),
  1321. PINMUX_IPSR_DATA(IP11_17_15, SPA_TCK),
  1322. PINMUX_IPSR_MODSEL_DATA(IP11_17_15, HSPI_CS1_D, SEL_HSPI1_3),
  1323. PINMUX_IPSR_DATA(IP11_17_15, ADICHS2_B),
  1324. PINMUX_IPSR_DATA(IP11_20_18, VI1_DATA6_VI1_B6),
  1325. PINMUX_IPSR_MODSEL_DATA(IP11_20_18, SD2_CD, SEL_SD2_0),
  1326. PINMUX_IPSR_DATA(IP11_20_18, MT0_VCXO),
  1327. PINMUX_IPSR_DATA(IP11_20_18, SPA_TMS),
  1328. PINMUX_IPSR_DATA(IP11_20_18, HSPI_TX1_D),
  1329. PINMUX_IPSR_DATA(IP11_23_21, VI1_DATA7_VI1_B7),
  1330. PINMUX_IPSR_MODSEL_DATA(IP11_23_21, SD2_WP, SEL_SD2_0),
  1331. PINMUX_IPSR_DATA(IP11_23_21, MT0_PWM),
  1332. PINMUX_IPSR_DATA(IP11_23_21, SPA_TDI),
  1333. PINMUX_IPSR_MODSEL_DATA(IP11_23_21, HSPI_RX1_D, SEL_HSPI1_3),
  1334. PINMUX_IPSR_DATA(IP11_26_24, VI1_G0),
  1335. PINMUX_IPSR_DATA(IP11_26_24, VI3_DATA0),
  1336. PINMUX_IPSR_DATA(IP11_26_24, DU1_DOTCLKOUT1),
  1337. PINMUX_IPSR_DATA(IP11_26_24, TS_SCK1),
  1338. PINMUX_IPSR_MODSEL_DATA(IP11_26_24, DREQ2_B, SEL_EXBUS2_1),
  1339. PINMUX_IPSR_DATA(IP11_26_24, TX2),
  1340. PINMUX_IPSR_DATA(IP11_26_24, SPA_TDO),
  1341. PINMUX_IPSR_MODSEL_DATA(IP11_26_24, HCTS0_B, SEL_HSCIF0_1),
  1342. PINMUX_IPSR_DATA(IP11_29_27, VI1_G1),
  1343. PINMUX_IPSR_DATA(IP11_29_27, VI3_DATA1),
  1344. PINMUX_IPSR_DATA(IP11_29_27, SSI_SCK1),
  1345. PINMUX_IPSR_DATA(IP11_29_27, TS_SDEN1),
  1346. PINMUX_IPSR_DATA(IP11_29_27, DACK2_B),
  1347. PINMUX_IPSR_MODSEL_DATA(IP11_29_27, RX2, SEL_SCIF2_0),
  1348. PINMUX_IPSR_MODSEL_DATA(IP11_29_27, HRTS0_B, SEL_HSCIF0_1),
  1349. PINMUX_IPSR_DATA(IP12_2_0, VI1_G2),
  1350. PINMUX_IPSR_DATA(IP12_2_0, VI3_DATA2),
  1351. PINMUX_IPSR_DATA(IP12_2_0, SSI_WS1),
  1352. PINMUX_IPSR_DATA(IP12_2_0, TS_SPSYNC1),
  1353. PINMUX_IPSR_MODSEL_DATA(IP12_2_0, SCK2, SEL_SCIF2_0),
  1354. PINMUX_IPSR_MODSEL_DATA(IP12_2_0, HSCK0_B, SEL_HSCIF0_1),
  1355. PINMUX_IPSR_DATA(IP12_5_3, VI1_G3),
  1356. PINMUX_IPSR_DATA(IP12_5_3, VI3_DATA3),
  1357. PINMUX_IPSR_DATA(IP12_5_3, SSI_SCK2),
  1358. PINMUX_IPSR_DATA(IP12_5_3, TS_SDAT1),
  1359. PINMUX_IPSR_MODSEL_DATA(IP12_5_3, SCL1_C, SEL_I2C1_2),
  1360. PINMUX_IPSR_DATA(IP12_5_3, HTX0_B),
  1361. PINMUX_IPSR_DATA(IP12_8_6, VI1_G4),
  1362. PINMUX_IPSR_DATA(IP12_8_6, VI3_DATA4),
  1363. PINMUX_IPSR_DATA(IP12_8_6, SSI_WS2),
  1364. PINMUX_IPSR_MODSEL_DATA(IP12_8_6, SDA1_C, SEL_I2C1_2),
  1365. PINMUX_IPSR_DATA(IP12_8_6, SIM_RST_B),
  1366. PINMUX_IPSR_MODSEL_DATA(IP12_8_6, HRX0_B, SEL_HSCIF0_1),
  1367. PINMUX_IPSR_DATA(IP12_11_9, VI1_G5),
  1368. PINMUX_IPSR_DATA(IP12_11_9, VI3_DATA5),
  1369. PINMUX_IPSR_MODSEL_DATA(IP12_11_9, GPS_CLK, SEL_GPS_0),
  1370. PINMUX_IPSR_DATA(IP12_11_9, FSE),
  1371. PINMUX_IPSR_DATA(IP12_11_9, TX4_B),
  1372. PINMUX_IPSR_MODSEL_DATA(IP12_11_9, SIM_D_B, SEL_SIM_1),
  1373. PINMUX_IPSR_DATA(IP12_14_12, VI1_G6),
  1374. PINMUX_IPSR_DATA(IP12_14_12, VI3_DATA6),
  1375. PINMUX_IPSR_MODSEL_DATA(IP12_14_12, GPS_SIGN, SEL_GPS_0),
  1376. PINMUX_IPSR_DATA(IP12_14_12, FRB),
  1377. PINMUX_IPSR_MODSEL_DATA(IP12_14_12, RX4_B, SEL_SCIF4_1),
  1378. PINMUX_IPSR_DATA(IP12_14_12, SIM_CLK_B),
  1379. PINMUX_IPSR_DATA(IP12_17_15, VI1_G7),
  1380. PINMUX_IPSR_DATA(IP12_17_15, VI3_DATA7),
  1381. PINMUX_IPSR_MODSEL_DATA(IP12_17_15, GPS_MAG, SEL_GPS_0),
  1382. PINMUX_IPSR_DATA(IP12_17_15, FCE),
  1383. PINMUX_IPSR_MODSEL_DATA(IP12_17_15, SCK4_B, SEL_SCIF4_1),
  1384. };
  1385. static struct pinmux_gpio pinmux_gpios[] = {
  1386. PINMUX_GPIO_GP_ALL(),
  1387. GPIO_FN(AVS1), GPIO_FN(AVS2), GPIO_FN(A17), GPIO_FN(A18),
  1388. GPIO_FN(A19),
  1389. /* IPSR0 */
  1390. GPIO_FN(PENC2), GPIO_FN(SCK0), GPIO_FN(PWM1), GPIO_FN(PWMFSW0),
  1391. GPIO_FN(SCIF_CLK), GPIO_FN(TCLK0_C), GPIO_FN(BS), GPIO_FN(SD1_DAT2),
  1392. GPIO_FN(MMC0_D2), GPIO_FN(FD2), GPIO_FN(ATADIR0), GPIO_FN(SDSELF),
  1393. GPIO_FN(HCTS1), GPIO_FN(TX4_C), GPIO_FN(A0), GPIO_FN(SD1_DAT3),
  1394. GPIO_FN(MMC0_D3), GPIO_FN(FD3), GPIO_FN(A20), GPIO_FN(TX5_D),
  1395. GPIO_FN(HSPI_TX2_B), GPIO_FN(A21), GPIO_FN(SCK5_D),
  1396. GPIO_FN(HSPI_CLK2_B), GPIO_FN(A22), GPIO_FN(RX5_D),
  1397. GPIO_FN(HSPI_RX2_B), GPIO_FN(VI1_R0), GPIO_FN(A23), GPIO_FN(FCLE),
  1398. GPIO_FN(HSPI_CLK2), GPIO_FN(VI1_R1), GPIO_FN(A24), GPIO_FN(SD1_CD),
  1399. GPIO_FN(MMC0_D4), GPIO_FN(FD4), GPIO_FN(HSPI_CS2), GPIO_FN(VI1_R2),
  1400. GPIO_FN(SSI_WS78_B), GPIO_FN(A25), GPIO_FN(SD1_WP), GPIO_FN(MMC0_D5),
  1401. GPIO_FN(FD5), GPIO_FN(HSPI_RX2), GPIO_FN(VI1_R3), GPIO_FN(TX5_B),
  1402. GPIO_FN(SSI_SDATA7_B), GPIO_FN(CTS0_B), GPIO_FN(CLKOUT),
  1403. GPIO_FN(TX3C_IRDA_TX_C), GPIO_FN(PWM0_B), GPIO_FN(CS0),
  1404. GPIO_FN(HSPI_CS2_B), GPIO_FN(CS1_A26), GPIO_FN(HSPI_TX2),
  1405. GPIO_FN(SDSELF_B), GPIO_FN(RD_WR), GPIO_FN(FWE), GPIO_FN(ATAG0),
  1406. GPIO_FN(VI1_R7), GPIO_FN(HRTS1), GPIO_FN(RX4_C),
  1407. /* IPSR1 */
  1408. GPIO_FN(EX_CS0), GPIO_FN(RX3_C_IRDA_RX_C), GPIO_FN(MMC0_D6),
  1409. GPIO_FN(FD6), GPIO_FN(EX_CS1), GPIO_FN(MMC0_D7), GPIO_FN(FD7),
  1410. GPIO_FN(EX_CS2), GPIO_FN(SD1_CLK), GPIO_FN(MMC0_CLK), GPIO_FN(FALE),
  1411. GPIO_FN(ATACS00), GPIO_FN(EX_CS3), GPIO_FN(SD1_CMD), GPIO_FN(MMC0_CMD),
  1412. GPIO_FN(FRE), GPIO_FN(ATACS10), GPIO_FN(VI1_R4), GPIO_FN(RX5_B),
  1413. GPIO_FN(HSCK1), GPIO_FN(SSI_SDATA8_B), GPIO_FN(RTS0_B_TANS_B),
  1414. GPIO_FN(SSI_SDATA9), GPIO_FN(EX_CS4), GPIO_FN(SD1_DAT0),
  1415. GPIO_FN(MMC0_D0), GPIO_FN(FD0), GPIO_FN(ATARD0), GPIO_FN(VI1_R5),
  1416. GPIO_FN(SCK5_B), GPIO_FN(HTX1), GPIO_FN(TX2_E), GPIO_FN(TX0_B),
  1417. GPIO_FN(SSI_SCK9), GPIO_FN(EX_CS5), GPIO_FN(SD1_DAT1),
  1418. GPIO_FN(MMC0_D1), GPIO_FN(FD1), GPIO_FN(ATAWR0), GPIO_FN(VI1_R6),
  1419. GPIO_FN(HRX1), GPIO_FN(RX2_E), GPIO_FN(RX0_B), GPIO_FN(SSI_WS9),
  1420. GPIO_FN(MLB_CLK), GPIO_FN(PWM2), GPIO_FN(SCK4), GPIO_FN(MLB_SIG),
  1421. GPIO_FN(PWM3), GPIO_FN(TX4), GPIO_FN(MLB_DAT), GPIO_FN(PWM4),
  1422. GPIO_FN(RX4), GPIO_FN(HTX0), GPIO_FN(TX1), GPIO_FN(SDATA),
  1423. GPIO_FN(CTS0_C), GPIO_FN(SUB_TCK), GPIO_FN(CC5_STATE2),
  1424. GPIO_FN(CC5_STATE10), GPIO_FN(CC5_STATE18), GPIO_FN(CC5_STATE26),
  1425. GPIO_FN(CC5_STATE34),
  1426. /* IPSR2 */
  1427. GPIO_FN(HRX0), GPIO_FN(RX1), GPIO_FN(SCKZ), GPIO_FN(RTS0_C_TANS_C),
  1428. GPIO_FN(SUB_TDI), GPIO_FN(CC5_STATE3), GPIO_FN(CC5_STATE11),
  1429. GPIO_FN(CC5_STATE19), GPIO_FN(CC5_STATE27), GPIO_FN(CC5_STATE35),
  1430. GPIO_FN(HSCK0), GPIO_FN(SCK1), GPIO_FN(MTS), GPIO_FN(PWM5),
  1431. GPIO_FN(SCK0_C), GPIO_FN(SSI_SDATA9_B), GPIO_FN(SUB_TDO),
  1432. GPIO_FN(CC5_STATE0), GPIO_FN(CC5_STATE8), GPIO_FN(CC5_STATE16),
  1433. GPIO_FN(CC5_STATE24), GPIO_FN(CC5_STATE32), GPIO_FN(HCTS0),
  1434. GPIO_FN(CTS1), GPIO_FN(STM), GPIO_FN(PWM0_D), GPIO_FN(RX0_C),
  1435. GPIO_FN(SCIF_CLK_C), GPIO_FN(SUB_TRST), GPIO_FN(TCLK1_B),
  1436. GPIO_FN(CC5_OSCOUT), GPIO_FN(HRTS0), GPIO_FN(RTS1_TANS),
  1437. GPIO_FN(MDATA), GPIO_FN(TX0_C), GPIO_FN(SUB_TMS), GPIO_FN(CC5_STATE1),
  1438. GPIO_FN(CC5_STATE9), GPIO_FN(CC5_STATE17), GPIO_FN(CC5_STATE25),
  1439. GPIO_FN(CC5_STATE33), GPIO_FN(DU0_DR0), GPIO_FN(LCDOUT0),
  1440. GPIO_FN(DREQ0), GPIO_FN(GPS_CLK_B), GPIO_FN(AUDATA0),
  1441. GPIO_FN(TX5_C), GPIO_FN(DU0_DR1), GPIO_FN(LCDOUT1), GPIO_FN(DACK0),
  1442. GPIO_FN(DRACK0), GPIO_FN(GPS_SIGN_B), GPIO_FN(AUDATA1), GPIO_FN(RX5_C),
  1443. GPIO_FN(DU0_DR2), GPIO_FN(LCDOUT2), GPIO_FN(DU0_DR3), GPIO_FN(LCDOUT3),
  1444. GPIO_FN(DU0_DR4), GPIO_FN(LCDOUT4), GPIO_FN(DU0_DR5), GPIO_FN(LCDOUT5),
  1445. GPIO_FN(DU0_DR6), GPIO_FN(LCDOUT6), GPIO_FN(DU0_DR7), GPIO_FN(LCDOUT7),
  1446. GPIO_FN(DU0_DG0), GPIO_FN(LCDOUT8), GPIO_FN(DREQ1), GPIO_FN(SCL2),
  1447. GPIO_FN(AUDATA2),
  1448. /* IPSR3 */
  1449. GPIO_FN(DU0_DG1), GPIO_FN(LCDOUT9), GPIO_FN(DACK1), GPIO_FN(SDA2),
  1450. GPIO_FN(AUDATA3), GPIO_FN(DU0_DG2), GPIO_FN(LCDOUT10),
  1451. GPIO_FN(DU0_DG3), GPIO_FN(LCDOUT11), GPIO_FN(DU0_DG4),
  1452. GPIO_FN(LCDOUT12), GPIO_FN(DU0_DG5), GPIO_FN(LCDOUT13),
  1453. GPIO_FN(DU0_DG6), GPIO_FN(LCDOUT14), GPIO_FN(DU0_DG7),
  1454. GPIO_FN(LCDOUT15), GPIO_FN(DU0_DB0), GPIO_FN(LCDOUT16),
  1455. GPIO_FN(EX_WAIT1), GPIO_FN(SCL1), GPIO_FN(TCLK1), GPIO_FN(AUDATA4),
  1456. GPIO_FN(DU0_DB1), GPIO_FN(LCDOUT17), GPIO_FN(EX_WAIT2), GPIO_FN(SDA1),
  1457. GPIO_FN(GPS_MAG_B), GPIO_FN(AUDATA5), GPIO_FN(SCK5_C),
  1458. GPIO_FN(DU0_DB2), GPIO_FN(LCDOUT18), GPIO_FN(DU0_DB3),
  1459. GPIO_FN(LCDOUT19), GPIO_FN(DU0_DB4), GPIO_FN(LCDOUT20),
  1460. GPIO_FN(DU0_DB5), GPIO_FN(LCDOUT21), GPIO_FN(DU0_DB6),
  1461. GPIO_FN(LCDOUT22), GPIO_FN(DU0_DB7), GPIO_FN(LCDOUT23),
  1462. GPIO_FN(DU0_DOTCLKIN), GPIO_FN(QSTVA_QVS), GPIO_FN(TX3_D_IRDA_TX_D),
  1463. GPIO_FN(SCL3_B), GPIO_FN(DU0_DOTCLKOUT0), GPIO_FN(QCLK),
  1464. GPIO_FN(DU0_DOTCLKOUT1), GPIO_FN(QSTVB_QVE), GPIO_FN(RX3_D_IRDA_RX_D),
  1465. GPIO_FN(SDA3_B), GPIO_FN(SDA2_C), GPIO_FN(DACK0_B), GPIO_FN(DRACK0_B),
  1466. GPIO_FN(DU0_EXHSYNC_DU0_HSYNC), GPIO_FN(QSTH_QHS),
  1467. GPIO_FN(DU0_EXVSYNC_DU0_VSYNC), GPIO_FN(QSTB_QHE),
  1468. GPIO_FN(DU0_EXODDF_DU0_ODDF_DISP_CDE), GPIO_FN(QCPV_QDE),
  1469. GPIO_FN(CAN1_TX), GPIO_FN(TX2_C), GPIO_FN(SCL2_C), GPIO_FN(REMOCON),
  1470. /* IPSR4 */
  1471. GPIO_FN(DU0_DISP), GPIO_FN(QPOLA), GPIO_FN(CAN_CLK_C), GPIO_FN(SCK2_C),
  1472. GPIO_FN(DU0_CDE), GPIO_FN(QPOLB), GPIO_FN(CAN1_RX), GPIO_FN(RX2_C),
  1473. GPIO_FN(DREQ0_B), GPIO_FN(SSI_SCK78_B), GPIO_FN(SCK0_B),
  1474. GPIO_FN(DU1_DR0), GPIO_FN(VI2_DATA0_VI2_B0), GPIO_FN(PWM6),
  1475. GPIO_FN(SD3_CLK), GPIO_FN(TX3_E_IRDA_TX_E), GPIO_FN(AUDCK),
  1476. GPIO_FN(PWMFSW0_B), GPIO_FN(DU1_DR1), GPIO_FN(VI2_DATA1_VI2_B1),
  1477. GPIO_FN(PWM0), GPIO_FN(SD3_CMD), GPIO_FN(RX3_E_IRDA_RX_E),
  1478. GPIO_FN(AUDSYNC), GPIO_FN(CTS0_D), GPIO_FN(DU1_DR2), GPIO_FN(VI2_G0),
  1479. GPIO_FN(DU1_DR3), GPIO_FN(VI2_G1), GPIO_FN(DU1_DR4), GPIO_FN(VI2_G2),
  1480. GPIO_FN(DU1_DR5), GPIO_FN(VI2_G3), GPIO_FN(DU1_DR6), GPIO_FN(VI2_G4),
  1481. GPIO_FN(DU1_DR7), GPIO_FN(VI2_G5), GPIO_FN(DU1_DG0),
  1482. GPIO_FN(VI2_DATA2_VI2_B2), GPIO_FN(SCL1_B), GPIO_FN(SD3_DAT2),
  1483. GPIO_FN(SCK3_E), GPIO_FN(AUDATA6), GPIO_FN(TX0_D), GPIO_FN(DU1_DG1),
  1484. GPIO_FN(VI2_DATA3_VI2_B3), GPIO_FN(SDA1_B), GPIO_FN(SD3_DAT3),
  1485. GPIO_FN(SCK5), GPIO_FN(AUDATA7), GPIO_FN(RX0_D), GPIO_FN(DU1_DG2),
  1486. GPIO_FN(VI2_G6), GPIO_FN(DU1_DG3), GPIO_FN(VI2_G7), GPIO_FN(DU1_DG4),
  1487. GPIO_FN(VI2_R0), GPIO_FN(DU1_DG5), GPIO_FN(VI2_R1), GPIO_FN(DU1_DG6),
  1488. GPIO_FN(VI2_R2), GPIO_FN(DU1_DG7), GPIO_FN(VI2_R3), GPIO_FN(DU1_DB0),
  1489. GPIO_FN(VI2_DATA4_VI2_B4), GPIO_FN(SCL2_B), GPIO_FN(SD3_DAT0),
  1490. GPIO_FN(TX5), GPIO_FN(SCK0_D),
  1491. /* IPSR5 */
  1492. GPIO_FN(DU1_DB1), GPIO_FN(VI2_DATA5_VI2_B5), GPIO_FN(SDA2_B),
  1493. GPIO_FN(SD3_DAT1), GPIO_FN(RX5), GPIO_FN(RTS0_D_TANS_D),
  1494. GPIO_FN(DU1_DB2), GPIO_FN(VI2_R4), GPIO_FN(DU1_DB3), GPIO_FN(VI2_R5),
  1495. GPIO_FN(DU1_DB4), GPIO_FN(VI2_R6), GPIO_FN(DU1_DB5), GPIO_FN(VI2_R7),
  1496. GPIO_FN(DU1_DB6), GPIO_FN(SCL2_D), GPIO_FN(DU1_DB7), GPIO_FN(SDA2_D),
  1497. GPIO_FN(DU1_DOTCLKIN), GPIO_FN(VI2_CLKENB), GPIO_FN(HSPI_CS1),
  1498. GPIO_FN(SCL1_D), GPIO_FN(DU1_DOTCLKOUT), GPIO_FN(VI2_FIELD),
  1499. GPIO_FN(SDA1_D), GPIO_FN(DU1_EXHSYNC_DU1_HSYNC), GPIO_FN(VI2_HSYNC),
  1500. GPIO_FN(VI3_HSYNC), GPIO_FN(DU1_EXVSYNC_DU1_VSYNC), GPIO_FN(VI2_VSYNC),
  1501. GPIO_FN(VI3_VSYNC), GPIO_FN(DU1_EXODDF_DU1_ODDF_DISP_CDE),
  1502. GPIO_FN(VI2_CLK), GPIO_FN(TX3_B_IRDA_TX_B), GPIO_FN(SD3_CD),
  1503. GPIO_FN(HSPI_TX1), GPIO_FN(VI1_CLKENB), GPIO_FN(VI3_CLKENB),
  1504. GPIO_FN(AUDIO_CLKC), GPIO_FN(TX2_D), GPIO_FN(SPEEDIN),
  1505. GPIO_FN(GPS_SIGN_D), GPIO_FN(DU1_DISP), GPIO_FN(VI2_DATA6_VI2_B6),
  1506. GPIO_FN(TCLK0), GPIO_FN(QSTVA_B_QVS_B), GPIO_FN(HSPI_CLK1),
  1507. GPIO_FN(SCK2_D), GPIO_FN(AUDIO_CLKOUT_B), GPIO_FN(GPS_MAG_D),
  1508. GPIO_FN(DU1_CDE), GPIO_FN(VI2_DATA7_VI2_B7), GPIO_FN(RX3_B_IRDA_RX_B),
  1509. GPIO_FN(SD3_WP), GPIO_FN(HSPI_RX1), GPIO_FN(VI1_FIELD),
  1510. GPIO_FN(VI3_FIELD), GPIO_FN(AUDIO_CLKOUT), GPIO_FN(RX2_D),
  1511. GPIO_FN(GPS_CLK_C), GPIO_FN(GPS_CLK_D), GPIO_FN(AUDIO_CLKA),
  1512. GPIO_FN(CAN_TXCLK), GPIO_FN(AUDIO_CLKB), GPIO_FN(USB_OVC2),
  1513. GPIO_FN(CAN_DEBUGOUT0), GPIO_FN(MOUT0),
  1514. /* IPSR6 */
  1515. GPIO_FN(SSI_SCK0129), GPIO_FN(CAN_DEBUGOUT1), GPIO_FN(MOUT1),
  1516. GPIO_FN(SSI_WS0129), GPIO_FN(CAN_DEBUGOUT2), GPIO_FN(MOUT2),
  1517. GPIO_FN(SSI_SDATA0), GPIO_FN(CAN_DEBUGOUT3), GPIO_FN(MOUT5),
  1518. GPIO_FN(SSI_SDATA1), GPIO_FN(CAN_DEBUGOUT4), GPIO_FN(MOUT6),
  1519. GPIO_FN(SSI_SDATA2), GPIO_FN(CAN_DEBUGOUT5), GPIO_FN(SSI_SCK34),
  1520. GPIO_FN(CAN_DEBUGOUT6), GPIO_FN(CAN0_TX_B), GPIO_FN(IERX),
  1521. GPIO_FN(SSI_SCK9_C), GPIO_FN(SSI_WS34), GPIO_FN(CAN_DEBUGOUT7),
  1522. GPIO_FN(CAN0_RX_B), GPIO_FN(IETX), GPIO_FN(SSI_WS9_C),
  1523. GPIO_FN(SSI_SDATA3), GPIO_FN(PWM0_C), GPIO_FN(CAN_DEBUGOUT8),
  1524. GPIO_FN(CAN_CLK_B), GPIO_FN(IECLK), GPIO_FN(SCIF_CLK_B),
  1525. GPIO_FN(TCLK0_B), GPIO_FN(SSI_SDATA4), GPIO_FN(CAN_DEBUGOUT9),
  1526. GPIO_FN(SSI_SDATA9_C), GPIO_FN(SSI_SCK5), GPIO_FN(ADICLK),
  1527. GPIO_FN(CAN_DEBUGOUT10), GPIO_FN(SCK3), GPIO_FN(TCLK0_D),
  1528. GPIO_FN(SSI_WS5), GPIO_FN(ADICS_SAMP), GPIO_FN(CAN_DEBUGOUT11),
  1529. GPIO_FN(TX3_IRDA_TX), GPIO_FN(SSI_SDATA5), GPIO_FN(ADIDATA),
  1530. GPIO_FN(CAN_DEBUGOUT12), GPIO_FN(RX3_IRDA_RX), GPIO_FN(SSI_SCK6),
  1531. GPIO_FN(ADICHS0), GPIO_FN(CAN0_TX), GPIO_FN(IERX_B),
  1532. /* IPSR7 */
  1533. GPIO_FN(SSI_WS6), GPIO_FN(ADICHS1), GPIO_FN(CAN0_RX), GPIO_FN(IETX_B),
  1534. GPIO_FN(SSI_SDATA6), GPIO_FN(ADICHS2), GPIO_FN(CAN_CLK),
  1535. GPIO_FN(IECLK_B), GPIO_FN(SSI_SCK78), GPIO_FN(CAN_DEBUGOUT13),
  1536. GPIO_FN(IRQ0_B), GPIO_FN(SSI_SCK9_B), GPIO_FN(HSPI_CLK1_C),
  1537. GPIO_FN(SSI_WS78), GPIO_FN(CAN_DEBUGOUT14), GPIO_FN(IRQ1_B),
  1538. GPIO_FN(SSI_WS9_B), GPIO_FN(HSPI_CS1_C), GPIO_FN(SSI_SDATA7),
  1539. GPIO_FN(CAN_DEBUGOUT15), GPIO_FN(IRQ2_B), GPIO_FN(TCLK1_C),
  1540. GPIO_FN(HSPI_TX1_C), GPIO_FN(SSI_SDATA8), GPIO_FN(VSP),
  1541. GPIO_FN(IRQ3_B), GPIO_FN(HSPI_RX1_C), GPIO_FN(SD0_CLK),
  1542. GPIO_FN(ATACS01), GPIO_FN(SCK1_B), GPIO_FN(SD0_CMD), GPIO_FN(ATACS11),
  1543. GPIO_FN(TX1_B), GPIO_FN(CC5_TDO), GPIO_FN(SD0_DAT0), GPIO_FN(ATADIR1),
  1544. GPIO_FN(RX1_B), GPIO_FN(CC5_TRST), GPIO_FN(SD0_DAT1), GPIO_FN(ATAG1),
  1545. GPIO_FN(SCK2_B), GPIO_FN(CC5_TMS), GPIO_FN(SD0_DAT2), GPIO_FN(ATARD1),
  1546. GPIO_FN(TX2_B), GPIO_FN(CC5_TCK), GPIO_FN(SD0_DAT3), GPIO_FN(ATAWR1),
  1547. GPIO_FN(RX2_B), GPIO_FN(CC5_TDI), GPIO_FN(SD0_CD), GPIO_FN(DREQ2),
  1548. GPIO_FN(RTS1_B_TANS_B), GPIO_FN(SD0_WP), GPIO_FN(DACK2),
  1549. GPIO_FN(CTS1_B),
  1550. /* IPSR8 */
  1551. GPIO_FN(HSPI_CLK0), GPIO_FN(CTS0), GPIO_FN(USB_OVC0), GPIO_FN(AD_CLK),
  1552. GPIO_FN(CC5_STATE4), GPIO_FN(CC5_STATE12), GPIO_FN(CC5_STATE20),
  1553. GPIO_FN(CC5_STATE28), GPIO_FN(CC5_STATE36), GPIO_FN(HSPI_CS0),
  1554. GPIO_FN(RTS0_TANS), GPIO_FN(USB_OVC1), GPIO_FN(AD_DI),
  1555. GPIO_FN(CC5_STATE5), GPIO_FN(CC5_STATE13), GPIO_FN(CC5_STATE21),
  1556. GPIO_FN(CC5_STATE29), GPIO_FN(CC5_STATE37), GPIO_FN(HSPI_TX0),
  1557. GPIO_FN(TX0), GPIO_FN(CAN_DEBUG_HW_TRIGGER), GPIO_FN(AD_DO),
  1558. GPIO_FN(CC5_STATE6), GPIO_FN(CC5_STATE14), GPIO_FN(CC5_STATE22),
  1559. GPIO_FN(CC5_STATE30), GPIO_FN(CC5_STATE38), GPIO_FN(HSPI_RX0),
  1560. GPIO_FN(RX0), GPIO_FN(CAN_STEP0), GPIO_FN(AD_NCS), GPIO_FN(CC5_STATE7),
  1561. GPIO_FN(CC5_STATE15), GPIO_FN(CC5_STATE23), GPIO_FN(CC5_STATE31),
  1562. GPIO_FN(CC5_STATE39), GPIO_FN(FMCLK), GPIO_FN(RDS_CLK), GPIO_FN(PCMOE),
  1563. GPIO_FN(BPFCLK), GPIO_FN(PCMWE), GPIO_FN(FMIN), GPIO_FN(RDS_DATA),
  1564. GPIO_FN(VI0_CLK), GPIO_FN(MMC1_CLK), GPIO_FN(VI0_CLKENB),
  1565. GPIO_FN(TX1_C), GPIO_FN(HTX1_B), GPIO_FN(MT1_SYNC),
  1566. GPIO_FN(VI0_FIELD), GPIO_FN(RX1_C), GPIO_FN(HRX1_B),
  1567. GPIO_FN(VI0_HSYNC), GPIO_FN(VI0_DATA0_B_VI0_B0_B), GPIO_FN(CTS1_C),
  1568. GPIO_FN(TX4_D), GPIO_FN(MMC1_CMD), GPIO_FN(HSCK1_B),
  1569. GPIO_FN(VI0_VSYNC), GPIO_FN(VI0_DATA1_B_VI0_B1_B),
  1570. GPIO_FN(RTS1_C_TANS_C), GPIO_FN(RX4_D), GPIO_FN(PWMFSW0_C),
  1571. /* IPSR9 */
  1572. GPIO_FN(VI0_DATA0_VI0_B0), GPIO_FN(HRTS1_B), GPIO_FN(MT1_VCXO),
  1573. GPIO_FN(VI0_DATA1_VI0_B1), GPIO_FN(HCTS1_B), GPIO_FN(MT1_PWM),
  1574. GPIO_FN(VI0_DATA2_VI0_B2), GPIO_FN(MMC1_D0), GPIO_FN(VI0_DATA3_VI0_B3),
  1575. GPIO_FN(MMC1_D1), GPIO_FN(VI0_DATA4_VI0_B4), GPIO_FN(MMC1_D2),
  1576. GPIO_FN(VI0_DATA5_VI0_B5), GPIO_FN(MMC1_D3), GPIO_FN(VI0_DATA6_VI0_B6),
  1577. GPIO_FN(MMC1_D4), GPIO_FN(ARM_TRACEDATA_0), GPIO_FN(VI0_DATA7_VI0_B7),
  1578. GPIO_FN(MMC1_D5), GPIO_FN(ARM_TRACEDATA_1), GPIO_FN(VI0_G0),
  1579. GPIO_FN(SSI_SCK78_C), GPIO_FN(IRQ0), GPIO_FN(ARM_TRACEDATA_2),
  1580. GPIO_FN(VI0_G1), GPIO_FN(SSI_WS78_C), GPIO_FN(IRQ1),
  1581. GPIO_FN(ARM_TRACEDATA_3), GPIO_FN(VI0_G2), GPIO_FN(ETH_TXD1),
  1582. GPIO_FN(MMC1_D6), GPIO_FN(ARM_TRACEDATA_4), GPIO_FN(TS_SPSYNC0),
  1583. GPIO_FN(VI0_G3), GPIO_FN(ETH_CRS_DV), GPIO_FN(MMC1_D7),
  1584. GPIO_FN(ARM_TRACEDATA_5), GPIO_FN(TS_SDAT0), GPIO_FN(VI0_G4),
  1585. GPIO_FN(ETH_TX_EN), GPIO_FN(SD2_DAT0_B), GPIO_FN(ARM_TRACEDATA_6),
  1586. GPIO_FN(VI0_G5), GPIO_FN(ETH_RX_ER), GPIO_FN(SD2_DAT1_B),
  1587. GPIO_FN(ARM_TRACEDATA_7), GPIO_FN(VI0_G6), GPIO_FN(ETH_RXD0),
  1588. GPIO_FN(SD2_DAT2_B), GPIO_FN(ARM_TRACEDATA_8), GPIO_FN(VI0_G7),
  1589. GPIO_FN(ETH_RXD1), GPIO_FN(SD2_DAT3_B), GPIO_FN(ARM_TRACEDATA_9),
  1590. /* IPSR10 */
  1591. GPIO_FN(VI0_R0), GPIO_FN(SSI_SDATA7_C), GPIO_FN(SCK1_C),
  1592. GPIO_FN(DREQ1_B), GPIO_FN(ARM_TRACEDATA_10), GPIO_FN(DREQ0_C),
  1593. GPIO_FN(VI0_R1), GPIO_FN(SSI_SDATA8_C), GPIO_FN(DACK1_B),
  1594. GPIO_FN(ARM_TRACEDATA_11), GPIO_FN(DACK0_C), GPIO_FN(DRACK0_C),
  1595. GPIO_FN(VI0_R2), GPIO_FN(ETH_LINK), GPIO_FN(SD2_CLK_B), GPIO_FN(IRQ2),
  1596. GPIO_FN(ARM_TRACEDATA_12), GPIO_FN(VI0_R3), GPIO_FN(ETH_MAGIC),
  1597. GPIO_FN(SD2_CMD_B), GPIO_FN(IRQ3), GPIO_FN(ARM_TRACEDATA_13),
  1598. GPIO_FN(VI0_R4), GPIO_FN(ETH_REFCLK), GPIO_FN(SD2_CD_B),
  1599. GPIO_FN(HSPI_CLK1_B), GPIO_FN(ARM_TRACEDATA_14), GPIO_FN(MT1_CLK),
  1600. GPIO_FN(TS_SCK0), GPIO_FN(VI0_R5), GPIO_FN(ETH_TXD0),
  1601. GPIO_FN(SD2_WP_B), GPIO_FN(HSPI_CS1_B), GPIO_FN(ARM_TRACEDATA_15),
  1602. GPIO_FN(MT1_D), GPIO_FN(TS_SDEN0), GPIO_FN(VI0_R6), GPIO_FN(ETH_MDC),
  1603. GPIO_FN(DREQ2_C), GPIO_FN(HSPI_TX1_B), GPIO_FN(TRACECLK),
  1604. GPIO_FN(MT1_BEN), GPIO_FN(PWMFSW0_D), GPIO_FN(VI0_R7),
  1605. GPIO_FN(ETH_MDIO), GPIO_FN(DACK2_C), GPIO_FN(HSPI_RX1_B),
  1606. GPIO_FN(SCIF_CLK_D), GPIO_FN(TRACECTL), GPIO_FN(MT1_PEN),
  1607. GPIO_FN(VI1_CLK), GPIO_FN(SIM_D), GPIO_FN(SDA3), GPIO_FN(VI1_HSYNC),
  1608. GPIO_FN(VI3_CLK), GPIO_FN(SSI_SCK4), GPIO_FN(GPS_SIGN_C),
  1609. GPIO_FN(PWMFSW0_E), GPIO_FN(VI1_VSYNC), GPIO_FN(AUDIO_CLKOUT_C),
  1610. GPIO_FN(SSI_WS4), GPIO_FN(SIM_CLK), GPIO_FN(GPS_MAG_C),
  1611. GPIO_FN(SPV_TRST), GPIO_FN(SCL3),
  1612. /* IPSR11 */
  1613. GPIO_FN(VI1_DATA0_VI1_B0), GPIO_FN(SD2_DAT0), GPIO_FN(SIM_RST),
  1614. GPIO_FN(SPV_TCK), GPIO_FN(ADICLK_B), GPIO_FN(VI1_DATA1_VI1_B1),
  1615. GPIO_FN(SD2_DAT1), GPIO_FN(MT0_CLK), GPIO_FN(SPV_TMS),
  1616. GPIO_FN(ADICS_B_SAMP_B), GPIO_FN(VI1_DATA2_VI1_B2), GPIO_FN(SD2_DAT2),
  1617. GPIO_FN(MT0_D), GPIO_FN(SPVTDI), GPIO_FN(ADIDATA_B),
  1618. GPIO_FN(VI1_DATA3_VI1_B3), GPIO_FN(SD2_DAT3), GPIO_FN(MT0_BEN),
  1619. GPIO_FN(SPV_TDO), GPIO_FN(ADICHS0_B), GPIO_FN(VI1_DATA4_VI1_B4),
  1620. GPIO_FN(SD2_CLK), GPIO_FN(MT0_PEN), GPIO_FN(SPA_TRST),
  1621. GPIO_FN(HSPI_CLK1_D), GPIO_FN(ADICHS1_B), GPIO_FN(VI1_DATA5_VI1_B5),
  1622. GPIO_FN(SD2_CMD), GPIO_FN(MT0_SYNC), GPIO_FN(SPA_TCK),
  1623. GPIO_FN(HSPI_CS1_D), GPIO_FN(ADICHS2_B), GPIO_FN(VI1_DATA6_VI1_B6),
  1624. GPIO_FN(SD2_CD), GPIO_FN(MT0_VCXO), GPIO_FN(SPA_TMS),
  1625. GPIO_FN(HSPI_TX1_D), GPIO_FN(VI1_DATA7_VI1_B7), GPIO_FN(SD2_WP),
  1626. GPIO_FN(MT0_PWM), GPIO_FN(SPA_TDI), GPIO_FN(HSPI_RX1_D),
  1627. GPIO_FN(VI1_G0), GPIO_FN(VI3_DATA0), GPIO_FN(DU1_DOTCLKOUT1),
  1628. GPIO_FN(TS_SCK1), GPIO_FN(DREQ2_B), GPIO_FN(TX2), GPIO_FN(SPA_TDO),
  1629. GPIO_FN(HCTS0_B), GPIO_FN(VI1_G1), GPIO_FN(VI3_DATA1),
  1630. GPIO_FN(SSI_SCK1), GPIO_FN(TS_SDEN1), GPIO_FN(DACK2_B), GPIO_FN(RX2),
  1631. GPIO_FN(HRTS0_B),
  1632. /* IPSR12 */
  1633. GPIO_FN(VI1_G2), GPIO_FN(VI3_DATA2), GPIO_FN(SSI_WS1),
  1634. GPIO_FN(TS_SPSYNC1), GPIO_FN(SCK2), GPIO_FN(HSCK0_B), GPIO_FN(VI1_G3),
  1635. GPIO_FN(VI3_DATA3), GPIO_FN(SSI_SCK2), GPIO_FN(TS_SDAT1),
  1636. GPIO_FN(SCL1_C), GPIO_FN(HTX0_B), GPIO_FN(VI1_G4), GPIO_FN(VI3_DATA4),
  1637. GPIO_FN(SSI_WS2), GPIO_FN(SDA1_C), GPIO_FN(SIM_RST_B),
  1638. GPIO_FN(HRX0_B), GPIO_FN(VI1_G5), GPIO_FN(VI3_DATA5),
  1639. GPIO_FN(GPS_CLK), GPIO_FN(FSE), GPIO_FN(TX4_B), GPIO_FN(SIM_D_B),
  1640. GPIO_FN(VI1_G6), GPIO_FN(VI3_DATA6), GPIO_FN(GPS_SIGN), GPIO_FN(FRB),
  1641. GPIO_FN(RX4_B), GPIO_FN(SIM_CLK_B), GPIO_FN(VI1_G7),
  1642. GPIO_FN(VI3_DATA7), GPIO_FN(GPS_MAG), GPIO_FN(FCE), GPIO_FN(SCK4_B),
  1643. };
  1644. static struct pinmux_cfg_reg pinmux_config_regs[] = {
  1645. { PINMUX_CFG_REG("GPSR0", 0xfffc0004, 32, 1) {
  1646. GP_0_31_FN, FN_IP3_31_29,
  1647. GP_0_30_FN, FN_IP3_26_24,
  1648. GP_0_29_FN, FN_IP3_22_21,
  1649. GP_0_28_FN, FN_IP3_14_12,
  1650. GP_0_27_FN, FN_IP3_11_9,
  1651. GP_0_26_FN, FN_IP3_2_0,
  1652. GP_0_25_FN, FN_IP2_30_28,
  1653. GP_0_24_FN, FN_IP2_21_19,
  1654. GP_0_23_FN, FN_IP2_18_16,
  1655. GP_0_22_FN, FN_IP0_30_28,
  1656. GP_0_21_FN, FN_IP0_5_3,
  1657. GP_0_20_FN, FN_IP1_18_15,
  1658. GP_0_19_FN, FN_IP1_14_11,
  1659. GP_0_18_FN, FN_IP1_10_7,
  1660. GP_0_17_FN, FN_IP1_6_4,
  1661. GP_0_16_FN, FN_IP1_3_2,
  1662. GP_0_15_FN, FN_IP1_1_0,
  1663. GP_0_14_FN, FN_IP0_27_26,
  1664. GP_0_13_FN, FN_IP0_25,
  1665. GP_0_12_FN, FN_IP0_24_23,
  1666. GP_0_11_FN, FN_IP0_22_19,
  1667. GP_0_10_FN, FN_IP0_18_16,
  1668. GP_0_9_FN, FN_IP0_15_14,
  1669. GP_0_8_FN, FN_IP0_13_12,
  1670. GP_0_7_FN, FN_IP0_11_10,
  1671. GP_0_6_FN, FN_IP0_9_8,
  1672. GP_0_5_FN, FN_A19,
  1673. GP_0_4_FN, FN_A18,
  1674. GP_0_3_FN, FN_A17,
  1675. GP_0_2_FN, FN_IP0_7_6,
  1676. GP_0_1_FN, FN_AVS2,
  1677. GP_0_0_FN, FN_AVS1 }
  1678. },
  1679. { PINMUX_CFG_REG("GPSR1", 0xfffc0008, 32, 1) {
  1680. GP_1_31_FN, FN_IP5_23_21,
  1681. GP_1_30_FN, FN_IP5_20_17,
  1682. GP_1_29_FN, FN_IP5_16_15,
  1683. GP_1_28_FN, FN_IP5_14_13,
  1684. GP_1_27_FN, FN_IP5_12_11,
  1685. GP_1_26_FN, FN_IP5_10_9,
  1686. GP_1_25_FN, FN_IP5_8,
  1687. GP_1_24_FN, FN_IP5_7,
  1688. GP_1_23_FN, FN_IP5_6,
  1689. GP_1_22_FN, FN_IP5_5,
  1690. GP_1_21_FN, FN_IP5_4,
  1691. GP_1_20_FN, FN_IP5_3,
  1692. GP_1_19_FN, FN_IP5_2_0,
  1693. GP_1_18_FN, FN_IP4_31_29,
  1694. GP_1_17_FN, FN_IP4_28,
  1695. GP_1_16_FN, FN_IP4_27,
  1696. GP_1_15_FN, FN_IP4_26,
  1697. GP_1_14_FN, FN_IP4_25,
  1698. GP_1_13_FN, FN_IP4_24,
  1699. GP_1_12_FN, FN_IP4_23,
  1700. GP_1_11_FN, FN_IP4_22_20,
  1701. GP_1_10_FN, FN_IP4_19_17,
  1702. GP_1_9_FN, FN_IP4_16,
  1703. GP_1_8_FN, FN_IP4_15,
  1704. GP_1_7_FN, FN_IP4_14,
  1705. GP_1_6_FN, FN_IP4_13,
  1706. GP_1_5_FN, FN_IP4_12,
  1707. GP_1_4_FN, FN_IP4_11,
  1708. GP_1_3_FN, FN_IP4_10_8,
  1709. GP_1_2_FN, FN_IP4_7_5,
  1710. GP_1_1_FN, FN_IP4_4_2,
  1711. GP_1_0_FN, FN_IP4_1_0 }
  1712. },
  1713. { PINMUX_CFG_REG("GPSR2", 0xfffc000c, 32, 1) {
  1714. GP_2_31_FN, FN_IP10_28_26,
  1715. GP_2_30_FN, FN_IP10_25_24,
  1716. GP_2_29_FN, FN_IP10_23_21,
  1717. GP_2_28_FN, FN_IP10_20_18,
  1718. GP_2_27_FN, FN_IP10_17_15,
  1719. GP_2_26_FN, FN_IP10_14_12,
  1720. GP_2_25_FN, FN_IP10_11_9,
  1721. GP_2_24_FN, FN_IP10_8_6,
  1722. GP_2_23_FN, FN_IP10_5_3,
  1723. GP_2_22_FN, FN_IP10_2_0,
  1724. GP_2_21_FN, FN_IP9_29_28,
  1725. GP_2_20_FN, FN_IP9_27_26,
  1726. GP_2_19_FN, FN_IP9_25_24,
  1727. GP_2_18_FN, FN_IP9_23_22,
  1728. GP_2_17_FN, FN_IP9_21_19,
  1729. GP_2_16_FN, FN_IP9_18_16,
  1730. GP_2_15_FN, FN_IP9_15_14,
  1731. GP_2_14_FN, FN_IP9_13_12,
  1732. GP_2_13_FN, FN_IP9_11_10,
  1733. GP_2_12_FN, FN_IP9_9_8,
  1734. GP_2_11_FN, FN_IP9_7,
  1735. GP_2_10_FN, FN_IP9_6,
  1736. GP_2_9_FN, FN_IP9_5,
  1737. GP_2_8_FN, FN_IP9_4,
  1738. GP_2_7_FN, FN_IP9_3_2,
  1739. GP_2_6_FN, FN_IP9_1_0,
  1740. GP_2_5_FN, FN_IP8_30_28,
  1741. GP_2_4_FN, FN_IP8_27_25,
  1742. GP_2_3_FN, FN_IP8_24_23,
  1743. GP_2_2_FN, FN_IP8_22_21,
  1744. GP_2_1_FN, FN_IP8_20,
  1745. GP_2_0_FN, FN_IP5_27_24 }
  1746. },
  1747. { PINMUX_CFG_REG("GPSR3", 0xfffc0010, 32, 1) {
  1748. GP_3_31_FN, FN_IP6_3_2,
  1749. GP_3_30_FN, FN_IP6_1_0,
  1750. GP_3_29_FN, FN_IP5_30_29,
  1751. GP_3_28_FN, FN_IP5_28,
  1752. GP_3_27_FN, FN_IP1_24_23,
  1753. GP_3_26_FN, FN_IP1_22_21,
  1754. GP_3_25_FN, FN_IP1_20_19,
  1755. GP_3_24_FN, FN_IP7_26_25,
  1756. GP_3_23_FN, FN_IP7_24_23,
  1757. GP_3_22_FN, FN_IP7_22_21,
  1758. GP_3_21_FN, FN_IP7_20_19,
  1759. GP_3_20_FN, FN_IP7_30_29,
  1760. GP_3_19_FN, FN_IP7_28_27,
  1761. GP_3_18_FN, FN_IP7_18_17,
  1762. GP_3_17_FN, FN_IP7_16_15,
  1763. GP_3_16_FN, FN_IP12_17_15,
  1764. GP_3_15_FN, FN_IP12_14_12,
  1765. GP_3_14_FN, FN_IP12_11_9,
  1766. GP_3_13_FN, FN_IP12_8_6,
  1767. GP_3_12_FN, FN_IP12_5_3,
  1768. GP_3_11_FN, FN_IP12_2_0,
  1769. GP_3_10_FN, FN_IP11_29_27,
  1770. GP_3_9_FN, FN_IP11_26_24,
  1771. GP_3_8_FN, FN_IP11_23_21,
  1772. GP_3_7_FN, FN_IP11_20_18,
  1773. GP_3_6_FN, FN_IP11_17_15,
  1774. GP_3_5_FN, FN_IP11_14_12,
  1775. GP_3_4_FN, FN_IP11_11_9,
  1776. GP_3_3_FN, FN_IP11_8_6,
  1777. GP_3_2_FN, FN_IP11_5_3,
  1778. GP_3_1_FN, FN_IP11_2_0,
  1779. GP_3_0_FN, FN_IP10_31_29 }
  1780. },
  1781. { PINMUX_CFG_REG("GPSR4", 0xfffc0014, 32, 1) {
  1782. GP_4_31_FN, FN_IP8_19,
  1783. GP_4_30_FN, FN_IP8_18,
  1784. GP_4_29_FN, FN_IP8_17_16,
  1785. GP_4_28_FN, FN_IP0_2_0,
  1786. GP_4_27_FN, FN_PENC1,
  1787. GP_4_26_FN, FN_PENC0,
  1788. GP_4_25_FN, FN_IP8_15_12,
  1789. GP_4_24_FN, FN_IP8_11_8,
  1790. GP_4_23_FN, FN_IP8_7_4,
  1791. GP_4_22_FN, FN_IP8_3_0,
  1792. GP_4_21_FN, FN_IP2_3_0,
  1793. GP_4_20_FN, FN_IP1_28_25,
  1794. GP_4_19_FN, FN_IP2_15_12,
  1795. GP_4_18_FN, FN_IP2_11_8,
  1796. GP_4_17_FN, FN_IP2_7_4,
  1797. GP_4_16_FN, FN_IP7_14_13,
  1798. GP_4_15_FN, FN_IP7_12_10,
  1799. GP_4_14_FN, FN_IP7_9_7,
  1800. GP_4_13_FN, FN_IP7_6_4,
  1801. GP_4_12_FN, FN_IP7_3_2,
  1802. GP_4_11_FN, FN_IP7_1_0,
  1803. GP_4_10_FN, FN_IP6_30_29,
  1804. GP_4_9_FN, FN_IP6_26_25,
  1805. GP_4_8_FN, FN_IP6_24_23,
  1806. GP_4_7_FN, FN_IP6_22_20,
  1807. GP_4_6_FN, FN_IP6_19_18,
  1808. GP_4_5_FN, FN_IP6_17_15,
  1809. GP_4_4_FN, FN_IP6_14_12,
  1810. GP_4_3_FN, FN_IP6_11_9,
  1811. GP_4_2_FN, FN_IP6_8,
  1812. GP_4_1_FN, FN_IP6_7_6,
  1813. GP_4_0_FN, FN_IP6_5_4 }
  1814. },
  1815. { PINMUX_CFG_REG("GPSR5", 0xfffc0018, 32, 1) {
  1816. GP_5_31_FN, FN_IP3_5,
  1817. GP_5_30_FN, FN_IP3_4,
  1818. GP_5_29_FN, FN_IP3_3,
  1819. GP_5_28_FN, FN_IP2_27,
  1820. GP_5_27_FN, FN_IP2_26,
  1821. GP_5_26_FN, FN_IP2_25,
  1822. GP_5_25_FN, FN_IP2_24,
  1823. GP_5_24_FN, FN_IP2_23,
  1824. GP_5_23_FN, FN_IP2_22,
  1825. GP_5_22_FN, FN_IP3_28,
  1826. GP_5_21_FN, FN_IP3_27,
  1827. GP_5_20_FN, FN_IP3_23,
  1828. GP_5_19_FN, FN_EX_WAIT0,
  1829. GP_5_18_FN, FN_WE1,
  1830. GP_5_17_FN, FN_WE0,
  1831. GP_5_16_FN, FN_RD,
  1832. GP_5_15_FN, FN_A16,
  1833. GP_5_14_FN, FN_A15,
  1834. GP_5_13_FN, FN_A14,
  1835. GP_5_12_FN, FN_A13,
  1836. GP_5_11_FN, FN_A12,
  1837. GP_5_10_FN, FN_A11,
  1838. GP_5_9_FN, FN_A10,
  1839. GP_5_8_FN, FN_A9,
  1840. GP_5_7_FN, FN_A8,
  1841. GP_5_6_FN, FN_A7,
  1842. GP_5_5_FN, FN_A6,
  1843. GP_5_4_FN, FN_A5,
  1844. GP_5_3_FN, FN_A4,
  1845. GP_5_2_FN, FN_A3,
  1846. GP_5_1_FN, FN_A2,
  1847. GP_5_0_FN, FN_A1 }
  1848. },
  1849. { PINMUX_CFG_REG("GPSR6", 0xfffc001c, 32, 1) {
  1850. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1851. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1852. 0, 0, 0, 0, 0, 0, 0, 0,
  1853. 0, 0,
  1854. 0, 0,
  1855. 0, 0,
  1856. GP_6_8_FN, FN_IP3_20,
  1857. GP_6_7_FN, FN_IP3_19,
  1858. GP_6_6_FN, FN_IP3_18,
  1859. GP_6_5_FN, FN_IP3_17,
  1860. GP_6_4_FN, FN_IP3_16,
  1861. GP_6_3_FN, FN_IP3_15,
  1862. GP_6_2_FN, FN_IP3_8,
  1863. GP_6_1_FN, FN_IP3_7,
  1864. GP_6_0_FN, FN_IP3_6 }
  1865. },
  1866. { PINMUX_CFG_REG_VAR("IPSR0", 0xfffc0020, 32,
  1867. 1, 3, 2, 1, 2, 4, 3, 2, 2, 2, 2, 2, 3, 3) {
  1868. /* IP0_31 [1] */
  1869. 0, 0,
  1870. /* IP0_30_28 [3] */
  1871. FN_RD_WR, FN_FWE, FN_ATAG0, FN_VI1_R7,
  1872. FN_HRTS1, FN_RX4_C, 0, 0,
  1873. /* IP0_27_26 [2] */
  1874. FN_CS1_A26, FN_HSPI_TX2, FN_SDSELF_B, 0,
  1875. /* IP0_25 [1] */
  1876. FN_CS0, FN_HSPI_CS2_B,
  1877. /* IP0_24_23 [2] */
  1878. FN_CLKOUT, FN_TX3C_IRDA_TX_C, FN_PWM0_B, 0,
  1879. /* IP0_22_19 [4] */
  1880. FN_A25, FN_SD1_WP, FN_MMC0_D5, FN_FD5,
  1881. FN_HSPI_RX2, FN_VI1_R3, FN_TX5_B, FN_SSI_SDATA7_B,
  1882. FN_CTS0_B, 0, 0, 0,
  1883. 0, 0, 0, 0,
  1884. /* IP0_18_16 [3] */
  1885. FN_A24, FN_SD1_CD, FN_MMC0_D4, FN_FD4,
  1886. FN_HSPI_CS2, FN_VI1_R2, FN_SSI_WS78_B, 0,
  1887. /* IP0_15_14 [2] */
  1888. FN_A23, FN_FCLE, FN_HSPI_CLK2, FN_VI1_R1,
  1889. /* IP0_13_12 [2] */
  1890. FN_A22, FN_RX5_D, FN_HSPI_RX2_B, FN_VI1_R0,
  1891. /* IP0_11_10 [2] */
  1892. FN_A21, FN_SCK5_D, FN_HSPI_CLK2_B, 0,
  1893. /* IP0_9_8 [2] */
  1894. FN_A20, FN_TX5_D, FN_HSPI_TX2_B, 0,
  1895. /* IP0_7_6 [2] */
  1896. FN_A0, FN_SD1_DAT3, FN_MMC0_D3, FN_FD3,
  1897. /* IP0_5_3 [3] */
  1898. FN_BS, FN_SD1_DAT2, FN_MMC0_D2, FN_FD2,
  1899. FN_ATADIR0, FN_SDSELF, FN_HCTS1, FN_TX4_C,
  1900. /* IP0_2_0 [3] */
  1901. FN_PENC2, FN_SCK0, FN_PWM1, FN_PWMFSW0,
  1902. FN_SCIF_CLK, FN_TCLK0_C, 0, 0 }
  1903. },
  1904. { PINMUX_CFG_REG_VAR("IPSR1", 0xfffc0024, 32,
  1905. 3, 4, 2, 2, 2, 4, 4, 4, 3, 2, 2) {
  1906. /* IP1_31_29 [3] */
  1907. 0, 0, 0, 0, 0, 0, 0, 0,
  1908. /* IP1_28_25 [4] */
  1909. FN_HTX0, FN_TX1, FN_SDATA, FN_CTS0_C,
  1910. FN_SUB_TCK, FN_CC5_STATE2, FN_CC5_STATE10, FN_CC5_STATE18,
  1911. FN_CC5_STATE26, FN_CC5_STATE34, 0, 0,
  1912. 0, 0, 0, 0,
  1913. /* IP1_24_23 [2] */
  1914. FN_MLB_DAT, FN_PWM4, FN_RX4, 0,
  1915. /* IP1_22_21 [2] */
  1916. FN_MLB_SIG, FN_PWM3, FN_TX4, 0,
  1917. /* IP1_20_19 [2] */
  1918. FN_MLB_CLK, FN_PWM2, FN_SCK4, 0,
  1919. /* IP1_18_15 [4] */
  1920. FN_EX_CS5, FN_SD1_DAT1, FN_MMC0_D1, FN_FD1,
  1921. FN_ATAWR0, FN_VI1_R6, FN_HRX1, FN_RX2_E,
  1922. FN_RX0_B, FN_SSI_WS9, 0, 0,
  1923. 0, 0, 0, 0,
  1924. /* IP1_14_11 [4] */
  1925. FN_EX_CS4, FN_SD1_DAT0, FN_MMC0_D0, FN_FD0,
  1926. FN_ATARD0, FN_VI1_R5, FN_SCK5_B, FN_HTX1,
  1927. FN_TX2_E, FN_TX0_B, FN_SSI_SCK9, 0,
  1928. 0, 0, 0, 0,
  1929. /* IP1_10_7 [4] */
  1930. FN_EX_CS3, FN_SD1_CMD, FN_MMC0_CMD, FN_FRE,
  1931. FN_ATACS10, FN_VI1_R4, FN_RX5_B, FN_HSCK1,
  1932. FN_SSI_SDATA8_B, FN_RTS0_B_TANS_B, FN_SSI_SDATA9, 0,
  1933. 0, 0, 0, 0,
  1934. /* IP1_6_4 [3] */
  1935. FN_EX_CS2, FN_SD1_CLK, FN_MMC0_CLK, FN_FALE,
  1936. FN_ATACS00, 0, 0, 0,
  1937. /* IP1_3_2 [2] */
  1938. FN_EX_CS1, FN_MMC0_D7, FN_FD7, 0,
  1939. /* IP1_1_0 [2] */
  1940. FN_EX_CS0, FN_RX3_C_IRDA_RX_C, FN_MMC0_D6, FN_FD6 }
  1941. },
  1942. { PINMUX_CFG_REG_VAR("IPSR2", 0xfffc0028, 32,
  1943. 1, 3, 1, 1, 1, 1, 1, 1, 3, 3, 4, 4, 4, 4) {
  1944. /* IP2_31 [1] */
  1945. 0, 0,
  1946. /* IP2_30_28 [3] */
  1947. FN_DU0_DG0, FN_LCDOUT8, FN_DREQ1, FN_SCL2,
  1948. FN_AUDATA2, 0, 0, 0,
  1949. /* IP2_27 [1] */
  1950. FN_DU0_DR7, FN_LCDOUT7,
  1951. /* IP2_26 [1] */
  1952. FN_DU0_DR6, FN_LCDOUT6,
  1953. /* IP2_25 [1] */
  1954. FN_DU0_DR5, FN_LCDOUT5,
  1955. /* IP2_24 [1] */
  1956. FN_DU0_DR4, FN_LCDOUT4,
  1957. /* IP2_23 [1] */
  1958. FN_DU0_DR3, FN_LCDOUT3,
  1959. /* IP2_22 [1] */
  1960. FN_DU0_DR2, FN_LCDOUT2,
  1961. /* IP2_21_19 [3] */
  1962. FN_DU0_DR1, FN_LCDOUT1, FN_DACK0, FN_DRACK0,
  1963. FN_GPS_SIGN_B, FN_AUDATA1, FN_RX5_C, 0,
  1964. /* IP2_18_16 [3] */
  1965. FN_DU0_DR0, FN_LCDOUT0, FN_DREQ0, FN_GPS_CLK_B,
  1966. FN_AUDATA0, FN_TX5_C, 0, 0,
  1967. /* IP2_15_12 [4] */
  1968. FN_HRTS0, FN_RTS1_TANS, FN_MDATA, FN_TX0_C,
  1969. FN_SUB_TMS, FN_CC5_STATE1, FN_CC5_STATE9, FN_CC5_STATE17,
  1970. FN_CC5_STATE25, FN_CC5_STATE33, 0, 0,
  1971. 0, 0, 0, 0,
  1972. /* IP2_11_8 [4] */
  1973. FN_HCTS0, FN_CTS1, FN_STM, FN_PWM0_D,
  1974. FN_RX0_C, FN_SCIF_CLK_C, FN_SUB_TRST, FN_TCLK1_B,
  1975. FN_CC5_OSCOUT, 0, 0, 0,
  1976. 0, 0, 0, 0,
  1977. /* IP2_7_4 [4] */
  1978. FN_HSCK0, FN_SCK1, FN_MTS, FN_PWM5,
  1979. FN_SCK0_C, FN_SSI_SDATA9_B, FN_SUB_TDO, FN_CC5_STATE0,
  1980. FN_CC5_STATE8, FN_CC5_STATE16, FN_CC5_STATE24, FN_CC5_STATE32,
  1981. 0, 0, 0, 0,
  1982. /* IP2_3_0 [4] */
  1983. FN_HRX0, FN_RX1, FN_SCKZ, FN_RTS0_C_TANS_C,
  1984. FN_SUB_TDI, FN_CC5_STATE3, FN_CC5_STATE11, FN_CC5_STATE19,
  1985. FN_CC5_STATE27, FN_CC5_STATE35, 0, 0,
  1986. 0, 0, 0, 0 }
  1987. },
  1988. { PINMUX_CFG_REG_VAR("IPSR3", 0xfffc002c, 32,
  1989. 3, 1, 1, 3, 1, 2, 1, 1, 1, 1, 1,
  1990. 1, 3, 3, 1, 1, 1, 1, 1, 1, 3) {
  1991. /* IP3_31_29 [3] */
  1992. FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, FN_CAN1_TX, FN_TX2_C,
  1993. FN_SCL2_C, FN_REMOCON, 0, 0,
  1994. /* IP3_28 [1] */
  1995. FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE,
  1996. /* IP3_27 [1] */
  1997. FN_DU0_EXHSYNC_DU0_HSYNC, FN_QSTH_QHS,
  1998. /* IP3_26_24 [3] */
  1999. FN_DU0_DOTCLKOUT1, FN_QSTVB_QVE, FN_RX3_D_IRDA_RX_D, FN_SDA3_B,
  2000. FN_SDA2_C, FN_DACK0_B, FN_DRACK0_B, 0,
  2001. /* IP3_23 [1] */
  2002. FN_DU0_DOTCLKOUT0, FN_QCLK,
  2003. /* IP3_22_21 [2] */
  2004. FN_DU0_DOTCLKIN, FN_QSTVA_QVS, FN_TX3_D_IRDA_TX_D, FN_SCL3_B,
  2005. /* IP3_20 [1] */
  2006. FN_DU0_DB7, FN_LCDOUT23,
  2007. /* IP3_19 [1] */
  2008. FN_DU0_DB6, FN_LCDOUT22,
  2009. /* IP3_18 [1] */
  2010. FN_DU0_DB5, FN_LCDOUT21,
  2011. /* IP3_17 [1] */
  2012. FN_DU0_DB4, FN_LCDOUT20,
  2013. /* IP3_16 [1] */
  2014. FN_DU0_DB3, FN_LCDOUT19,
  2015. /* IP3_15 [1] */
  2016. FN_DU0_DB2, FN_LCDOUT18,
  2017. /* IP3_14_12 [3] */
  2018. FN_DU0_DB1, FN_LCDOUT17, FN_EX_WAIT2, FN_SDA1,
  2019. FN_GPS_MAG_B, FN_AUDATA5, FN_SCK5_C, 0,
  2020. /* IP3_11_9 [3] */
  2021. FN_DU0_DB0, FN_LCDOUT16, FN_EX_WAIT1, FN_SCL1,
  2022. FN_TCLK1, FN_AUDATA4, 0, 0,
  2023. /* IP3_8 [1] */
  2024. FN_DU0_DG7, FN_LCDOUT15,
  2025. /* IP3_7 [1] */
  2026. FN_DU0_DG6, FN_LCDOUT14,
  2027. /* IP3_6 [1] */
  2028. FN_DU0_DG5, FN_LCDOUT13,
  2029. /* IP3_5 [1] */
  2030. FN_DU0_DG4, FN_LCDOUT12,
  2031. /* IP3_4 [1] */
  2032. FN_DU0_DG3, FN_LCDOUT11,
  2033. /* IP3_3 [1] */
  2034. FN_DU0_DG2, FN_LCDOUT10,
  2035. /* IP3_2_0 [3] */
  2036. FN_DU0_DG1, FN_LCDOUT9, FN_DACK1, FN_SDA2,
  2037. FN_AUDATA3, 0, 0, 0 }
  2038. },
  2039. { PINMUX_CFG_REG_VAR("IPSR4", 0xfffc0030, 32,
  2040. 3, 1, 1, 1, 1, 1, 1, 3, 3,
  2041. 1, 1, 1, 1, 1, 1, 3, 3, 3, 2) {
  2042. /* IP4_31_29 [3] */
  2043. FN_DU1_DB0, FN_VI2_DATA4_VI2_B4, FN_SCL2_B, FN_SD3_DAT0,
  2044. FN_TX5, FN_SCK0_D, 0, 0,
  2045. /* IP4_28 [1] */
  2046. FN_DU1_DG7, FN_VI2_R3,
  2047. /* IP4_27 [1] */
  2048. FN_DU1_DG6, FN_VI2_R2,
  2049. /* IP4_26 [1] */
  2050. FN_DU1_DG5, FN_VI2_R1,
  2051. /* IP4_25 [1] */
  2052. FN_DU1_DG4, FN_VI2_R0,
  2053. /* IP4_24 [1] */
  2054. FN_DU1_DG3, FN_VI2_G7,
  2055. /* IP4_23 [1] */
  2056. FN_DU1_DG2, FN_VI2_G6,
  2057. /* IP4_22_20 [3] */
  2058. FN_DU1_DG1, FN_VI2_DATA3_VI2_B3, FN_SDA1_B, FN_SD3_DAT3,
  2059. FN_SCK5, FN_AUDATA7, FN_RX0_D, 0,
  2060. /* IP4_19_17 [3] */
  2061. FN_DU1_DG0, FN_VI2_DATA2_VI2_B2, FN_SCL1_B, FN_SD3_DAT2,
  2062. FN_SCK3_E, FN_AUDATA6, FN_TX0_D, 0,
  2063. /* IP4_16 [1] */
  2064. FN_DU1_DR7, FN_VI2_G5,
  2065. /* IP4_15 [1] */
  2066. FN_DU1_DR6, FN_VI2_G4,
  2067. /* IP4_14 [1] */
  2068. FN_DU1_DR5, FN_VI2_G3,
  2069. /* IP4_13 [1] */
  2070. FN_DU1_DR4, FN_VI2_G2,
  2071. /* IP4_12 [1] */
  2072. FN_DU1_DR3, FN_VI2_G1,
  2073. /* IP4_11 [1] */
  2074. FN_DU1_DR2, FN_VI2_G0,
  2075. /* IP4_10_8 [3] */
  2076. FN_DU1_DR1, FN_VI2_DATA1_VI2_B1, FN_PWM0, FN_SD3_CMD,
  2077. FN_RX3_E_IRDA_RX_E, FN_AUDSYNC, FN_CTS0_D, 0,
  2078. /* IP4_7_5 [3] */
  2079. FN_DU1_DR0, FN_VI2_DATA0_VI2_B0, FN_PWM6, FN_SD3_CLK,
  2080. FN_TX3_E_IRDA_TX_E, FN_AUDCK, FN_PWMFSW0_B, 0,
  2081. /* IP4_4_2 [3] */
  2082. FN_DU0_CDE, FN_QPOLB, FN_CAN1_RX, FN_RX2_C,
  2083. FN_DREQ0_B, FN_SSI_SCK78_B, FN_SCK0_B, 0,
  2084. /* IP4_1_0 [2] */
  2085. FN_DU0_DISP, FN_QPOLA, FN_CAN_CLK_C, FN_SCK2_C }
  2086. },
  2087. { PINMUX_CFG_REG_VAR("IPSR5", 0xfffc0034, 32,
  2088. 1, 2, 1, 4, 3, 4, 2, 2,
  2089. 2, 2, 1, 1, 1, 1, 1, 1, 3) {
  2090. /* IP5_31 [1] */
  2091. 0, 0,
  2092. /* IP5_30_29 [2] */
  2093. FN_AUDIO_CLKB, FN_USB_OVC2, FN_CAN_DEBUGOUT0, FN_MOUT0,
  2094. /* IP5_28 [1] */
  2095. FN_AUDIO_CLKA, FN_CAN_TXCLK,
  2096. /* IP5_27_24 [4] */
  2097. FN_DU1_CDE, FN_VI2_DATA7_VI2_B7, FN_RX3_B_IRDA_RX_B, FN_SD3_WP,
  2098. FN_HSPI_RX1, FN_VI1_FIELD, FN_VI3_FIELD, FN_AUDIO_CLKOUT,
  2099. FN_RX2_D, FN_GPS_CLK_C, FN_GPS_CLK_D, 0,
  2100. 0, 0, 0, 0,
  2101. /* IP5_23_21 [3] */
  2102. FN_DU1_DISP, FN_VI2_DATA6_VI2_B6, FN_TCLK0, FN_QSTVA_B_QVS_B,
  2103. FN_HSPI_CLK1, FN_SCK2_D, FN_AUDIO_CLKOUT_B, FN_GPS_MAG_D,
  2104. /* IP5_20_17 [4] */
  2105. FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_VI2_CLK, FN_TX3_B_IRDA_TX_B,
  2106. FN_SD3_CD, FN_HSPI_TX1, FN_VI1_CLKENB, FN_VI3_CLKENB,
  2107. FN_AUDIO_CLKC, FN_TX2_D, FN_SPEEDIN, FN_GPS_SIGN_D, 0,
  2108. 0, 0, 0, 0,
  2109. /* IP5_16_15 [2] */
  2110. FN_DU1_EXVSYNC_DU1_VSYNC, FN_VI2_VSYNC, FN_VI3_VSYNC, 0,
  2111. /* IP5_14_13 [2] */
  2112. FN_DU1_EXHSYNC_DU1_HSYNC, FN_VI2_HSYNC, FN_VI3_HSYNC, 0,
  2113. /* IP5_12_11 [2] */
  2114. FN_DU1_DOTCLKOUT, FN_VI2_FIELD, FN_SDA1_D, 0,
  2115. /* IP5_10_9 [2] */
  2116. FN_DU1_DOTCLKIN, FN_VI2_CLKENB, FN_HSPI_CS1, FN_SCL1_D,
  2117. /* IP5_8 [1] */
  2118. FN_DU1_DB7, FN_SDA2_D,
  2119. /* IP5_7 [1] */
  2120. FN_DU1_DB6, FN_SCL2_D,
  2121. /* IP5_6 [1] */
  2122. FN_DU1_DB5, FN_VI2_R7,
  2123. /* IP5_5 [1] */
  2124. FN_DU1_DB4, FN_VI2_R6,
  2125. /* IP5_4 [1] */
  2126. FN_DU1_DB3, FN_VI2_R5,
  2127. /* IP5_3 [1] */
  2128. FN_DU1_DB2, FN_VI2_R4,
  2129. /* IP5_2_0 [3] */
  2130. FN_DU1_DB1, FN_VI2_DATA5_VI2_B5, FN_SDA2_B, FN_SD3_DAT1,
  2131. FN_RX5, FN_RTS0_D_TANS_D, 0, 0 }
  2132. },
  2133. { PINMUX_CFG_REG_VAR("IPSR6", 0xfffc0038, 32,
  2134. 1, 2, 2, 2, 2, 3, 2, 3, 3, 3, 1, 2, 2, 2, 2) {
  2135. /* IP6_31 [1] */
  2136. 0, 0,
  2137. /* IP6_30_29 [2] */
  2138. FN_SSI_SCK6, FN_ADICHS0, FN_CAN0_TX, FN_IERX_B,
  2139. /* IP_28_27 [2] */
  2140. 0, 0, 0, 0,
  2141. /* IP6_26_25 [2] */
  2142. FN_SSI_SDATA5, FN_ADIDATA, FN_CAN_DEBUGOUT12, FN_RX3_IRDA_RX,
  2143. /* IP6_24_23 [2] */
  2144. FN_SSI_WS5, FN_ADICS_SAMP, FN_CAN_DEBUGOUT11, FN_TX3_IRDA_TX,
  2145. /* IP6_22_20 [3] */
  2146. FN_SSI_SCK5, FN_ADICLK, FN_CAN_DEBUGOUT10, FN_SCK3,
  2147. FN_TCLK0_D, 0, 0, 0,
  2148. /* IP6_19_18 [2] */
  2149. FN_SSI_SDATA4, FN_CAN_DEBUGOUT9, FN_SSI_SDATA9_C, 0,
  2150. /* IP6_17_15 [3] */
  2151. FN_SSI_SDATA3, FN_PWM0_C, FN_CAN_DEBUGOUT8, FN_CAN_CLK_B,
  2152. FN_IECLK, FN_SCIF_CLK_B, FN_TCLK0_B, 0,
  2153. /* IP6_14_12 [3] */
  2154. FN_SSI_WS34, FN_CAN_DEBUGOUT7, FN_CAN0_RX_B, FN_IETX,
  2155. FN_SSI_WS9_C, 0, 0, 0,
  2156. /* IP6_11_9 [3] */
  2157. FN_SSI_SCK34, FN_CAN_DEBUGOUT6, FN_CAN0_TX_B, FN_IERX,
  2158. FN_SSI_SCK9_C, 0, 0, 0,
  2159. /* IP6_8 [1] */
  2160. FN_SSI_SDATA2, FN_CAN_DEBUGOUT5,
  2161. /* IP6_7_6 [2] */
  2162. FN_SSI_SDATA1, FN_CAN_DEBUGOUT4, FN_MOUT6, 0,
  2163. /* IP6_5_4 [2] */
  2164. FN_SSI_SDATA0, FN_CAN_DEBUGOUT3, FN_MOUT5, 0,
  2165. /* IP6_3_2 [2] */
  2166. FN_SSI_WS0129, FN_CAN_DEBUGOUT2, FN_MOUT2, 0,
  2167. /* IP6_1_0 [2] */
  2168. FN_SSI_SCK0129, FN_CAN_DEBUGOUT1, FN_MOUT1, 0 }
  2169. },
  2170. { PINMUX_CFG_REG_VAR("IPSR7", 0xfffc003c, 32,
  2171. 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 2, 2) {
  2172. /* IP7_31 [1] */
  2173. 0, 0,
  2174. /* IP7_30_29 [2] */
  2175. FN_SD0_WP, FN_DACK2, FN_CTS1_B, 0,
  2176. /* IP7_28_27 [2] */
  2177. FN_SD0_CD, FN_DREQ2, FN_RTS1_B_TANS_B, 0,
  2178. /* IP7_26_25 [2] */
  2179. FN_SD0_DAT3, FN_ATAWR1, FN_RX2_B, FN_CC5_TDI,
  2180. /* IP7_24_23 [2] */
  2181. FN_SD0_DAT2, FN_ATARD1, FN_TX2_B, FN_CC5_TCK,
  2182. /* IP7_22_21 [2] */
  2183. FN_SD0_DAT1, FN_ATAG1, FN_SCK2_B, FN_CC5_TMS,
  2184. /* IP7_20_19 [2] */
  2185. FN_SD0_DAT0, FN_ATADIR1, FN_RX1_B, FN_CC5_TRST,
  2186. /* IP7_18_17 [2] */
  2187. FN_SD0_CMD, FN_ATACS11, FN_TX1_B, FN_CC5_TDO,
  2188. /* IP7_16_15 [2] */
  2189. FN_SD0_CLK, FN_ATACS01, FN_SCK1_B, 0,
  2190. /* IP7_14_13 [2] */
  2191. FN_SSI_SDATA8, FN_VSP, FN_IRQ3_B, FN_HSPI_RX1_C,
  2192. /* IP7_12_10 [3] */
  2193. FN_SSI_SDATA7, FN_CAN_DEBUGOUT15, FN_IRQ2_B, FN_TCLK1_C,
  2194. FN_HSPI_TX1_C, 0, 0, 0,
  2195. /* IP7_9_7 [3] */
  2196. FN_SSI_WS78, FN_CAN_DEBUGOUT14, FN_IRQ1_B, FN_SSI_WS9_B,
  2197. FN_HSPI_CS1_C, 0, 0, 0,
  2198. /* IP7_6_4 [3] */
  2199. FN_SSI_SCK78, FN_CAN_DEBUGOUT13, FN_IRQ0_B, FN_SSI_SCK9_B,
  2200. FN_HSPI_CLK1_C, 0, 0, 0,
  2201. /* IP7_3_2 [2] */
  2202. FN_SSI_SDATA6, FN_ADICHS2, FN_CAN_CLK, FN_IECLK_B,
  2203. /* IP7_1_0 [2] */
  2204. FN_SSI_WS6, FN_ADICHS1, FN_CAN0_RX, FN_IETX_B }
  2205. },
  2206. { PINMUX_CFG_REG_VAR("IPSR8", 0xfffc0040, 32,
  2207. 1, 3, 3, 2, 2, 1, 1, 1, 2, 4, 4, 4, 4) {
  2208. /* IP8_31 [1] */
  2209. 0, 0,
  2210. /* IP8_30_28 [3] */
  2211. FN_VI0_VSYNC, FN_VI0_DATA1_B_VI0_B1_B, FN_RTS1_C_TANS_C, FN_RX4_D,
  2212. FN_PWMFSW0_C, 0, 0, 0,
  2213. /* IP8_27_25 [3] */
  2214. FN_VI0_HSYNC, FN_VI0_DATA0_B_VI0_B0_B, FN_CTS1_C, FN_TX4_D,
  2215. FN_MMC1_CMD, FN_HSCK1_B, 0, 0,
  2216. /* IP8_24_23 [2] */
  2217. FN_VI0_FIELD, FN_RX1_C, FN_HRX1_B, 0,
  2218. /* IP8_22_21 [2] */
  2219. FN_VI0_CLKENB, FN_TX1_C, FN_HTX1_B, FN_MT1_SYNC,
  2220. /* IP8_20 [1] */
  2221. FN_VI0_CLK, FN_MMC1_CLK,
  2222. /* IP8_19 [1] */
  2223. FN_FMIN, FN_RDS_DATA,
  2224. /* IP8_18 [1] */
  2225. FN_BPFCLK, FN_PCMWE,
  2226. /* IP8_17_16 [2] */
  2227. FN_FMCLK, FN_RDS_CLK, FN_PCMOE, 0,
  2228. /* IP8_15_12 [4] */
  2229. FN_HSPI_RX0, FN_RX0, FN_CAN_STEP0, FN_AD_NCS,
  2230. FN_CC5_STATE7, FN_CC5_STATE15, FN_CC5_STATE23, FN_CC5_STATE31,
  2231. FN_CC5_STATE39, 0, 0, 0,
  2232. 0, 0, 0, 0,
  2233. /* IP8_11_8 [4] */
  2234. FN_HSPI_TX0, FN_TX0, FN_CAN_DEBUG_HW_TRIGGER, FN_AD_DO,
  2235. FN_CC5_STATE6, FN_CC5_STATE14, FN_CC5_STATE22, FN_CC5_STATE30,
  2236. FN_CC5_STATE38, 0, 0, 0,
  2237. 0, 0, 0, 0,
  2238. /* IP8_7_4 [4] */
  2239. FN_HSPI_CS0, FN_RTS0_TANS, FN_USB_OVC1, FN_AD_DI,
  2240. FN_CC5_STATE5, FN_CC5_STATE13, FN_CC5_STATE21, FN_CC5_STATE29,
  2241. FN_CC5_STATE37, 0, 0, 0,
  2242. 0, 0, 0, 0,
  2243. /* IP8_3_0 [4] */
  2244. FN_HSPI_CLK0, FN_CTS0, FN_USB_OVC0, FN_AD_CLK,
  2245. FN_CC5_STATE4, FN_CC5_STATE12, FN_CC5_STATE20, FN_CC5_STATE28,
  2246. FN_CC5_STATE36, 0, 0, 0,
  2247. 0, 0, 0, 0 }
  2248. },
  2249. { PINMUX_CFG_REG_VAR("IPSR9", 0xfffc0044, 32,
  2250. 2, 2, 2, 2, 2, 3, 3, 2, 2,
  2251. 2, 2, 1, 1, 1, 1, 2, 2) {
  2252. /* IP9_31_30 [2] */
  2253. 0, 0, 0, 0,
  2254. /* IP9_29_28 [2] */
  2255. FN_VI0_G7, FN_ETH_RXD1, FN_SD2_DAT3_B, FN_ARM_TRACEDATA_9,
  2256. /* IP9_27_26 [2] */
  2257. FN_VI0_G6, FN_ETH_RXD0, FN_SD2_DAT2_B, FN_ARM_TRACEDATA_8,
  2258. /* IP9_25_24 [2] */
  2259. FN_VI0_G5, FN_ETH_RX_ER, FN_SD2_DAT1_B, FN_ARM_TRACEDATA_7,
  2260. /* IP9_23_22 [2] */
  2261. FN_VI0_G4, FN_ETH_TX_EN, FN_SD2_DAT0_B, FN_ARM_TRACEDATA_6,
  2262. /* IP9_21_19 [3] */
  2263. FN_VI0_G3, FN_ETH_CRS_DV, FN_MMC1_D7, FN_ARM_TRACEDATA_5,
  2264. FN_TS_SDAT0, 0, 0, 0,
  2265. /* IP9_18_16 [3] */
  2266. FN_VI0_G2, FN_ETH_TXD1, FN_MMC1_D6, FN_ARM_TRACEDATA_4,
  2267. FN_TS_SPSYNC0, 0, 0, 0,
  2268. /* IP9_15_14 [2] */
  2269. FN_VI0_G1, FN_SSI_WS78_C, FN_IRQ1, FN_ARM_TRACEDATA_3,
  2270. /* IP9_13_12 [2] */
  2271. FN_VI0_G0, FN_SSI_SCK78_C, FN_IRQ0, FN_ARM_TRACEDATA_2,
  2272. /* IP9_11_10 [2] */
  2273. FN_VI0_DATA7_VI0_B7, FN_MMC1_D5, FN_ARM_TRACEDATA_1, 0,
  2274. /* IP9_9_8 [2] */
  2275. FN_VI0_DATA6_VI0_B6, FN_MMC1_D4, FN_ARM_TRACEDATA_0, 0,
  2276. /* IP9_7 [1] */
  2277. FN_VI0_DATA5_VI0_B5, FN_MMC1_D3,
  2278. /* IP9_6 [1] */
  2279. FN_VI0_DATA4_VI0_B4, FN_MMC1_D2,
  2280. /* IP9_5 [1] */
  2281. FN_VI0_DATA3_VI0_B3, FN_MMC1_D1,
  2282. /* IP9_4 [1] */
  2283. FN_VI0_DATA2_VI0_B2, FN_MMC1_D0,
  2284. /* IP9_3_2 [2] */
  2285. FN_VI0_DATA1_VI0_B1, FN_HCTS1_B, FN_MT1_PWM, 0,
  2286. /* IP9_1_0 [2] */
  2287. FN_VI0_DATA0_VI0_B0, FN_HRTS1_B, FN_MT1_VCXO, 0 }
  2288. },
  2289. { PINMUX_CFG_REG_VAR("IPSR10", 0xfffc0048, 32,
  2290. 3, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3) {
  2291. /* IP10_31_29 [3] */
  2292. FN_VI1_VSYNC, FN_AUDIO_CLKOUT_C, FN_SSI_WS4, FN_SIM_CLK,
  2293. FN_GPS_MAG_C, FN_SPV_TRST, FN_SCL3, 0,
  2294. /* IP10_28_26 [3] */
  2295. FN_VI1_HSYNC, FN_VI3_CLK, FN_SSI_SCK4, FN_GPS_SIGN_C,
  2296. FN_PWMFSW0_E, 0, 0, 0,
  2297. /* IP10_25_24 [2] */
  2298. FN_VI1_CLK, FN_SIM_D, FN_SDA3, 0,
  2299. /* IP10_23_21 [3] */
  2300. FN_VI0_R7, FN_ETH_MDIO, FN_DACK2_C, FN_HSPI_RX1_B,
  2301. FN_SCIF_CLK_D, FN_TRACECTL, FN_MT1_PEN, 0,
  2302. /* IP10_20_18 [3] */
  2303. FN_VI0_R6, FN_ETH_MDC, FN_DREQ2_C, FN_HSPI_TX1_B,
  2304. FN_TRACECLK, FN_MT1_BEN, FN_PWMFSW0_D, 0,
  2305. /* IP10_17_15 [3] */
  2306. FN_VI0_R5, FN_ETH_TXD0, FN_SD2_WP_B, FN_HSPI_CS1_B,
  2307. FN_ARM_TRACEDATA_15, FN_MT1_D, FN_TS_SDEN0, 0,
  2308. /* IP10_14_12 [3] */
  2309. FN_VI0_R4, FN_ETH_REFCLK, FN_SD2_CD_B, FN_HSPI_CLK1_B,
  2310. FN_ARM_TRACEDATA_14, FN_MT1_CLK, FN_TS_SCK0, 0,
  2311. /* IP10_11_9 [3] */
  2312. FN_VI0_R3, FN_ETH_MAGIC, FN_SD2_CMD_B, FN_IRQ3,
  2313. FN_ARM_TRACEDATA_13, 0, 0, 0,
  2314. /* IP10_8_6 [3] */
  2315. FN_VI0_R2, FN_ETH_LINK, FN_SD2_CLK_B, FN_IRQ2,
  2316. FN_ARM_TRACEDATA_12, 0, 0, 0,
  2317. /* IP10_5_3 [3] */
  2318. FN_VI0_R1, FN_SSI_SDATA8_C, FN_DACK1_B, FN_ARM_TRACEDATA_11,
  2319. FN_DACK0_C, FN_DRACK0_C, 0, 0,
  2320. /* IP10_2_0 [3] */
  2321. FN_VI0_R0, FN_SSI_SDATA7_C, FN_SCK1_C, FN_DREQ1_B,
  2322. FN_ARM_TRACEDATA_10, FN_DREQ0_C, 0, 0 }
  2323. },
  2324. { PINMUX_CFG_REG_VAR("IPSR11", 0xfffc004c, 32,
  2325. 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
  2326. /* IP11_31_30 [2] */
  2327. 0, 0, 0, 0,
  2328. /* IP11_29_27 [3] */
  2329. FN_VI1_G1, FN_VI3_DATA1, FN_SSI_SCK1, FN_TS_SDEN1,
  2330. FN_DACK2_B, FN_RX2, FN_HRTS0_B, 0,
  2331. /* IP11_26_24 [3] */
  2332. FN_VI1_G0, FN_VI3_DATA0, FN_DU1_DOTCLKOUT1, FN_TS_SCK1,
  2333. FN_DREQ2_B, FN_TX2, FN_SPA_TDO, FN_HCTS0_B,
  2334. /* IP11_23_21 [3] */
  2335. FN_VI1_DATA7_VI1_B7, FN_SD2_WP, FN_MT0_PWM, FN_SPA_TDI,
  2336. FN_HSPI_RX1_D, 0, 0, 0,
  2337. /* IP11_20_18 [3] */
  2338. FN_VI1_DATA6_VI1_B6, FN_SD2_CD, FN_MT0_VCXO, FN_SPA_TMS,
  2339. FN_HSPI_TX1_D, 0, 0, 0,
  2340. /* IP11_17_15 [3] */
  2341. FN_VI1_DATA5_VI1_B5, FN_SD2_CMD, FN_MT0_SYNC, FN_SPA_TCK,
  2342. FN_HSPI_CS1_D, FN_ADICHS2_B, 0, 0,
  2343. /* IP11_14_12 [3] */
  2344. FN_VI1_DATA4_VI1_B4, FN_SD2_CLK, FN_MT0_PEN, FN_SPA_TRST,
  2345. FN_HSPI_CLK1_D, FN_ADICHS1_B, 0, 0,
  2346. /* IP11_11_9 [3] */
  2347. FN_VI1_DATA3_VI1_B3, FN_SD2_DAT3, FN_MT0_BEN, FN_SPV_TDO,
  2348. FN_ADICHS0_B, 0, 0, 0,
  2349. /* IP11_8_6 [3] */
  2350. FN_VI1_DATA2_VI1_B2, FN_SD2_DAT2, FN_MT0_D, FN_SPVTDI,
  2351. FN_ADIDATA_B, 0, 0, 0,
  2352. /* IP11_5_3 [3] */
  2353. FN_VI1_DATA1_VI1_B1, FN_SD2_DAT1, FN_MT0_CLK, FN_SPV_TMS,
  2354. FN_ADICS_B_SAMP_B, 0, 0, 0,
  2355. /* IP11_2_0 [3] */
  2356. FN_VI1_DATA0_VI1_B0, FN_SD2_DAT0, FN_SIM_RST, FN_SPV_TCK,
  2357. FN_ADICLK_B, 0, 0, 0 }
  2358. },
  2359. { PINMUX_CFG_REG_VAR("IPSR12", 0xfffc0050, 32,
  2360. 4, 4, 4, 2, 3, 3, 3, 3, 3, 3) {
  2361. /* IP12_31_28 [4] */
  2362. 0, 0, 0, 0, 0, 0, 0, 0,
  2363. 0, 0, 0, 0, 0, 0, 0, 0,
  2364. /* IP12_27_24 [4] */
  2365. 0, 0, 0, 0, 0, 0, 0, 0,
  2366. 0, 0, 0, 0, 0, 0, 0, 0,
  2367. /* IP12_23_20 [4] */
  2368. 0, 0, 0, 0, 0, 0, 0, 0,
  2369. 0, 0, 0, 0, 0, 0, 0, 0,
  2370. /* IP12_19_18 [2] */
  2371. 0, 0, 0, 0,
  2372. /* IP12_17_15 [3] */
  2373. FN_VI1_G7, FN_VI3_DATA7, FN_GPS_MAG, FN_FCE,
  2374. FN_SCK4_B, 0, 0, 0,
  2375. /* IP12_14_12 [3] */
  2376. FN_VI1_G6, FN_VI3_DATA6, FN_GPS_SIGN, FN_FRB,
  2377. FN_RX4_B, FN_SIM_CLK_B, 0, 0,
  2378. /* IP12_11_9 [3] */
  2379. FN_VI1_G5, FN_VI3_DATA5, FN_GPS_CLK, FN_FSE,
  2380. FN_TX4_B, FN_SIM_D_B, 0, 0,
  2381. /* IP12_8_6 [3] */
  2382. FN_VI1_G4, FN_VI3_DATA4, FN_SSI_WS2, FN_SDA1_C,
  2383. FN_SIM_RST_B, FN_HRX0_B, 0, 0,
  2384. /* IP12_5_3 [3] */
  2385. FN_VI1_G3, FN_VI3_DATA3, FN_SSI_SCK2, FN_TS_SDAT1,
  2386. FN_SCL1_C, FN_HTX0_B, 0, 0,
  2387. /* IP12_2_0 [3] */
  2388. FN_VI1_G2, FN_VI3_DATA2, FN_SSI_WS1, FN_TS_SPSYNC1,
  2389. FN_SCK2, FN_HSCK0_B, 0, 0 }
  2390. },
  2391. { PINMUX_CFG_REG_VAR("MOD_SEL", 0xfffc0090, 32,
  2392. 2, 2, 3, 3, 2, 2, 2, 2, 2,
  2393. 1, 1, 1, 1, 1, 1, 1, 2, 1, 2) {
  2394. /* SEL_SCIF5 [2] */
  2395. FN_SEL_SCIF5_0, FN_SEL_SCIF5_1, FN_SEL_SCIF5_2, FN_SEL_SCIF5_3,
  2396. /* SEL_SCIF4 [2] */
  2397. FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
  2398. /* SEL_SCIF3 [3] */
  2399. FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
  2400. FN_SEL_SCIF3_4, 0, 0, 0,
  2401. /* SEL_SCIF2 [3] */
  2402. FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, FN_SEL_SCIF2_3,
  2403. FN_SEL_SCIF2_4, 0, 0, 0,
  2404. /* SEL_SCIF1 [2] */
  2405. FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, 0,
  2406. /* SEL_SCIF0 [2] */
  2407. FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
  2408. /* SEL_SSI9 [2] */
  2409. FN_SEL_SSI9_0, FN_SEL_SSI9_1, FN_SEL_SSI9_2, 0,
  2410. /* SEL_SSI8 [2] */
  2411. FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2, 0,
  2412. /* SEL_SSI7 [2] */
  2413. FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2, 0,
  2414. /* SEL_VI0 [1] */
  2415. FN_SEL_VI0_0, FN_SEL_VI0_1,
  2416. /* SEL_SD2 [1] */
  2417. FN_SEL_SD2_0, FN_SEL_SD2_1,
  2418. /* SEL_INT3 [1] */
  2419. FN_SEL_INT3_0, FN_SEL_INT3_1,
  2420. /* SEL_INT2 [1] */
  2421. FN_SEL_INT2_0, FN_SEL_INT2_1,
  2422. /* SEL_INT1 [1] */
  2423. FN_SEL_INT1_0, FN_SEL_INT1_1,
  2424. /* SEL_INT0 [1] */
  2425. FN_SEL_INT0_0, FN_SEL_INT0_1,
  2426. /* SEL_IE [1] */
  2427. FN_SEL_IE_0, FN_SEL_IE_1,
  2428. /* SEL_EXBUS2 [2] */
  2429. FN_SEL_EXBUS2_0, FN_SEL_EXBUS2_1, FN_SEL_EXBUS2_2, 0,
  2430. /* SEL_EXBUS1 [1] */
  2431. FN_SEL_EXBUS1_0, FN_SEL_EXBUS1_1,
  2432. /* SEL_EXBUS0 [2] */
  2433. FN_SEL_EXBUS0_0, FN_SEL_EXBUS0_1, FN_SEL_EXBUS0_2, 0 }
  2434. },
  2435. { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xfffc0094, 32,
  2436. 2, 2, 2, 2, 1, 1, 1, 3, 1,
  2437. 2, 2, 2, 2, 1, 1, 2, 1, 2, 2) {
  2438. /* SEL_TMU1 [2] */
  2439. FN_SEL_TMU1_0, FN_SEL_TMU1_1, FN_SEL_TMU1_2, 0,
  2440. /* SEL_TMU0 [2] */
  2441. FN_SEL_TMU0_0, FN_SEL_TMU0_1, FN_SEL_TMU0_2, FN_SEL_TMU0_3,
  2442. /* SEL_SCIF [2] */
  2443. FN_SEL_SCIF_0, FN_SEL_SCIF_1, FN_SEL_SCIF_2, FN_SEL_SCIF_3,
  2444. /* SEL_CANCLK [2] */
  2445. FN_SEL_CANCLK_0, FN_SEL_CANCLK_1, FN_SEL_CANCLK_2,
  2446. /* SEL_CAN0 [1] */
  2447. FN_SEL_CAN0_0, FN_SEL_CAN0_1,
  2448. /* SEL_HSCIF1 [1] */
  2449. FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
  2450. /* SEL_HSCIF0 [1] */
  2451. FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1,
  2452. /* SEL_PWMFSW [3] */
  2453. FN_SEL_PWMFSW_0, FN_SEL_PWMFSW_1, FN_SEL_PWMFSW_2,
  2454. FN_SEL_PWMFSW_3, FN_SEL_PWMFSW_4, 0, 0, 0,
  2455. /* SEL_ADI [1] */
  2456. FN_SEL_ADI_0, FN_SEL_ADI_1,
  2457. /* [2] */
  2458. 0, 0, 0, 0,
  2459. /* [2] */
  2460. 0, 0, 0, 0,
  2461. /* [2] */
  2462. 0, 0, 0, 0,
  2463. /* SEL_GPS [2] */
  2464. FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
  2465. /* SEL_SIM [1] */
  2466. FN_SEL_SIM_0, FN_SEL_SIM_1,
  2467. /* SEL_HSPI2 [1] */
  2468. FN_SEL_HSPI2_0, FN_SEL_HSPI2_1,
  2469. /* SEL_HSPI1 [2] */
  2470. FN_SEL_HSPI1_0, FN_SEL_HSPI1_1, FN_SEL_HSPI1_2, FN_SEL_HSPI1_3,
  2471. /* SEL_I2C3 [1] */
  2472. FN_SEL_I2C3_0, FN_SEL_I2C3_1,
  2473. /* SEL_I2C2 [2] */
  2474. FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
  2475. /* SEL_I2C1 [2] */
  2476. FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2, FN_SEL_I2C1_3 }
  2477. },
  2478. { PINMUX_CFG_REG("INOUTSEL0", 0xffc40004, 32, 1) { GP_INOUTSEL(0) } },
  2479. { PINMUX_CFG_REG("INOUTSEL1", 0xffc41004, 32, 1) { GP_INOUTSEL(1) } },
  2480. { PINMUX_CFG_REG("INOUTSEL2", 0xffc42004, 32, 1) { GP_INOUTSEL(2) } },
  2481. { PINMUX_CFG_REG("INOUTSEL3", 0xffc43004, 32, 1) { GP_INOUTSEL(3) } },
  2482. { PINMUX_CFG_REG("INOUTSEL4", 0xffc44004, 32, 1) { GP_INOUTSEL(4) } },
  2483. { PINMUX_CFG_REG("INOUTSEL5", 0xffc45004, 32, 1) { GP_INOUTSEL(5) } },
  2484. { PINMUX_CFG_REG("INOUTSEL6", 0xffc46004, 32, 1) {
  2485. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  2486. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  2487. 0, 0, 0, 0, 0, 0, 0, 0,
  2488. 0, 0,
  2489. 0, 0,
  2490. 0, 0,
  2491. GP_6_8_IN, GP_6_8_OUT,
  2492. GP_6_7_IN, GP_6_7_OUT,
  2493. GP_6_6_IN, GP_6_6_OUT,
  2494. GP_6_5_IN, GP_6_5_OUT,
  2495. GP_6_4_IN, GP_6_4_OUT,
  2496. GP_6_3_IN, GP_6_3_OUT,
  2497. GP_6_2_IN, GP_6_2_OUT,
  2498. GP_6_1_IN, GP_6_1_OUT,
  2499. GP_6_0_IN, GP_6_0_OUT, }
  2500. },
  2501. { },
  2502. };
  2503. static struct pinmux_data_reg pinmux_data_regs[] = {
  2504. { PINMUX_DATA_REG("INDT0", 0xffc40008, 32) { GP_INDT(0) } },
  2505. { PINMUX_DATA_REG("INDT1", 0xffc41008, 32) { GP_INDT(1) } },
  2506. { PINMUX_DATA_REG("INDT2", 0xffc42008, 32) { GP_INDT(2) } },
  2507. { PINMUX_DATA_REG("INDT3", 0xffc43008, 32) { GP_INDT(3) } },
  2508. { PINMUX_DATA_REG("INDT4", 0xffc44008, 32) { GP_INDT(4) } },
  2509. { PINMUX_DATA_REG("INDT5", 0xffc45008, 32) { GP_INDT(5) } },
  2510. { PINMUX_DATA_REG("INDT6", 0xffc46008, 32) {
  2511. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  2512. 0, 0, 0, 0, 0, 0, 0, GP_6_8_DATA,
  2513. GP_6_7_DATA, GP_6_6_DATA, GP_6_5_DATA, GP_6_4_DATA,
  2514. GP_6_3_DATA, GP_6_2_DATA, GP_6_1_DATA, GP_6_0_DATA }
  2515. },
  2516. { },
  2517. };
  2518. static struct resource r8a7779_pfc_resources[] = {
  2519. [0] = {
  2520. .start = 0xfffc0000,
  2521. .end = 0xfffc023b,
  2522. .flags = IORESOURCE_MEM,
  2523. },
  2524. [1] = {
  2525. .start = 0xffc40000,
  2526. .end = 0xffc46fff,
  2527. .flags = IORESOURCE_MEM,
  2528. }
  2529. };
  2530. static struct pinmux_info r8a7779_pinmux_info = {
  2531. .name = "r8a7779_pfc",
  2532. .resource = r8a7779_pfc_resources,
  2533. .num_resources = ARRAY_SIZE(r8a7779_pfc_resources),
  2534. .unlock_reg = 0xfffc0000, /* PMMR */
  2535. .reserved_id = PINMUX_RESERVED,
  2536. .data = { PINMUX_DATA_BEGIN, PINMUX_DATA_END },
  2537. .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END },
  2538. .output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END },
  2539. .mark = { PINMUX_MARK_BEGIN, PINMUX_MARK_END },
  2540. .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
  2541. .first_gpio = GPIO_GP_0_0,
  2542. .last_gpio = GPIO_FN_SCK4_B,
  2543. .gpios = pinmux_gpios,
  2544. .cfg_regs = pinmux_config_regs,
  2545. .data_regs = pinmux_data_regs,
  2546. .gpio_data = pinmux_data,
  2547. .gpio_data_size = ARRAY_SIZE(pinmux_data),
  2548. };
  2549. void r8a7779_pinmux_init(void)
  2550. {
  2551. register_pinmux(&r8a7779_pinmux_info);
  2552. }