hw_ocp_shared.h 215 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445
  1. //*****************************************************************************
  2. //
  3. // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
  4. //
  5. //
  6. // Redistribution and use in source and binary forms, with or without
  7. // modification, are permitted provided that the following conditions
  8. // are met:
  9. //
  10. // Redistributions of source code must retain the above copyright
  11. // notice, this list of conditions and the following disclaimer.
  12. //
  13. // Redistributions in binary form must reproduce the above copyright
  14. // notice, this list of conditions and the following disclaimer in the
  15. // documentation and/or other materials provided with the
  16. // distribution.
  17. //
  18. // Neither the name of Texas Instruments Incorporated nor the names of
  19. // its contributors may be used to endorse or promote products derived
  20. // from this software without specific prior written permission.
  21. //
  22. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  23. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  24. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  25. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  26. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  27. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  28. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  29. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  30. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  31. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  32. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. //
  34. //*****************************************************************************
  35. #ifndef __HW_OCP_SHARED_H__
  36. #define __HW_OCP_SHARED_H__
  37. //*****************************************************************************
  38. //
  39. // The following are defines for the OCP_SHARED register offsets.
  40. //
  41. //*****************************************************************************
  42. #define OCP_SHARED_O_SEMAPHORE1 0x00000000
  43. #define OCP_SHARED_O_SEMAPHORE2 0x00000004
  44. #define OCP_SHARED_O_SEMAPHORE3 0x00000008
  45. #define OCP_SHARED_O_SEMAPHORE4 0x0000000C
  46. #define OCP_SHARED_O_SEMAPHORE5 0x00000010
  47. #define OCP_SHARED_O_SEMAPHORE6 0x00000014
  48. #define OCP_SHARED_O_SEMAPHORE7 0x00000018
  49. #define OCP_SHARED_O_SEMAPHORE8 0x0000001C
  50. #define OCP_SHARED_O_SEMAPHORE9 0x00000020
  51. #define OCP_SHARED_O_SEMAPHORE10 \
  52. 0x00000024
  53. #define OCP_SHARED_O_SEMAPHORE11 \
  54. 0x00000028
  55. #define OCP_SHARED_O_SEMAPHORE12 \
  56. 0x0000002C
  57. #define OCP_SHARED_O_IC_LOCKER_ID \
  58. 0x00000030
  59. #define OCP_SHARED_O_MCU_SEMAPHORE_PEND \
  60. 0x00000034
  61. #define OCP_SHARED_O_WL_SEMAPHORE_PEND \
  62. 0x00000038
  63. #define OCP_SHARED_O_PLATFORM_DETECTION_RD_ONLY \
  64. 0x0000003C
  65. #define OCP_SHARED_O_SEMAPHORES_STATUS_RD_ONLY \
  66. 0x00000040
  67. #define OCP_SHARED_O_CC3XX_CONFIG_CTRL \
  68. 0x00000044
  69. #define OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_LSB \
  70. 0x00000048
  71. #define OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_MSB \
  72. 0x0000004C
  73. #define OCP_SHARED_O_WLAN_ELP_WAKE_EN \
  74. 0x00000050
  75. #define OCP_SHARED_O_DEVINIT_ROM_START_ADDR \
  76. 0x00000054
  77. #define OCP_SHARED_O_DEVINIT_ROM_END_ADDR \
  78. 0x00000058
  79. #define OCP_SHARED_O_SSBD_SEED 0x0000005C
  80. #define OCP_SHARED_O_SSBD_CHK 0x00000060
  81. #define OCP_SHARED_O_SSBD_POLY_SEL \
  82. 0x00000064
  83. #define OCP_SHARED_O_SPARE_REG_0 \
  84. 0x00000068
  85. #define OCP_SHARED_O_SPARE_REG_1 \
  86. 0x0000006C
  87. #define OCP_SHARED_O_SPARE_REG_2 \
  88. 0x00000070
  89. #define OCP_SHARED_O_SPARE_REG_3 \
  90. 0x00000074
  91. #define OCP_SHARED_O_GPIO_PAD_CONFIG_0 \
  92. 0x000000A0
  93. #define OCP_SHARED_O_GPIO_PAD_CONFIG_1 \
  94. 0x000000A4
  95. #define OCP_SHARED_O_GPIO_PAD_CONFIG_2 \
  96. 0x000000A8
  97. #define OCP_SHARED_O_GPIO_PAD_CONFIG_3 \
  98. 0x000000AC
  99. #define OCP_SHARED_O_GPIO_PAD_CONFIG_4 \
  100. 0x000000B0
  101. #define OCP_SHARED_O_GPIO_PAD_CONFIG_5 \
  102. 0x000000B4
  103. #define OCP_SHARED_O_GPIO_PAD_CONFIG_6 \
  104. 0x000000B8
  105. #define OCP_SHARED_O_GPIO_PAD_CONFIG_7 \
  106. 0x000000BC
  107. #define OCP_SHARED_O_GPIO_PAD_CONFIG_8 \
  108. 0x000000C0
  109. #define OCP_SHARED_O_GPIO_PAD_CONFIG_9 \
  110. 0x000000C4
  111. #define OCP_SHARED_O_GPIO_PAD_CONFIG_10 \
  112. 0x000000C8
  113. #define OCP_SHARED_O_GPIO_PAD_CONFIG_11 \
  114. 0x000000CC
  115. #define OCP_SHARED_O_GPIO_PAD_CONFIG_12 \
  116. 0x000000D0
  117. #define OCP_SHARED_O_GPIO_PAD_CONFIG_13 \
  118. 0x000000D4
  119. #define OCP_SHARED_O_GPIO_PAD_CONFIG_14 \
  120. 0x000000D8
  121. #define OCP_SHARED_O_GPIO_PAD_CONFIG_15 \
  122. 0x000000DC
  123. #define OCP_SHARED_O_GPIO_PAD_CONFIG_16 \
  124. 0x000000E0
  125. #define OCP_SHARED_O_GPIO_PAD_CONFIG_17 \
  126. 0x000000E4
  127. #define OCP_SHARED_O_GPIO_PAD_CONFIG_18 \
  128. 0x000000E8
  129. #define OCP_SHARED_O_GPIO_PAD_CONFIG_19 \
  130. 0x000000EC
  131. #define OCP_SHARED_O_GPIO_PAD_CONFIG_20 \
  132. 0x000000F0
  133. #define OCP_SHARED_O_GPIO_PAD_CONFIG_21 \
  134. 0x000000F4
  135. #define OCP_SHARED_O_GPIO_PAD_CONFIG_22 \
  136. 0x000000F8
  137. #define OCP_SHARED_O_GPIO_PAD_CONFIG_23 \
  138. 0x000000FC
  139. #define OCP_SHARED_O_GPIO_PAD_CONFIG_24 \
  140. 0x00000100
  141. #define OCP_SHARED_O_GPIO_PAD_CONFIG_25 \
  142. 0x00000104
  143. #define OCP_SHARED_O_GPIO_PAD_CONFIG_26 \
  144. 0x00000108
  145. #define OCP_SHARED_O_GPIO_PAD_CONFIG_27 \
  146. 0x0000010C
  147. #define OCP_SHARED_O_GPIO_PAD_CONFIG_28 \
  148. 0x00000110
  149. #define OCP_SHARED_O_GPIO_PAD_CONFIG_29 \
  150. 0x00000114
  151. #define OCP_SHARED_O_GPIO_PAD_CONFIG_30 \
  152. 0x00000118
  153. #define OCP_SHARED_O_GPIO_PAD_CONFIG_31 \
  154. 0x0000011C
  155. #define OCP_SHARED_O_GPIO_PAD_CONFIG_32 \
  156. 0x00000120
  157. #define OCP_SHARED_O_GPIO_PAD_CONFIG_33 \
  158. 0x00000124
  159. #define OCP_SHARED_O_GPIO_PAD_CONFIG_34 \
  160. 0x00000128
  161. #define OCP_SHARED_O_GPIO_PAD_CONFIG_35 \
  162. 0x0000012C
  163. #define OCP_SHARED_O_GPIO_PAD_CONFIG_36 \
  164. 0x00000130
  165. #define OCP_SHARED_O_GPIO_PAD_CONFIG_37 \
  166. 0x00000134
  167. #define OCP_SHARED_O_GPIO_PAD_CONFIG_38 \
  168. 0x00000138
  169. #define OCP_SHARED_O_GPIO_PAD_CONFIG_39 \
  170. 0x0000013C
  171. #define OCP_SHARED_O_GPIO_PAD_CONFIG_40 \
  172. 0x00000140
  173. #define OCP_SHARED_O_GPIO_PAD_CMN_CONFIG \
  174. 0x00000144 // This register provide control to
  175. // GPIO_CC3XXV1 IO PAD. Common
  176. // control signals to all bottom Die
  177. // IO's are controlled via this.
  178. #define OCP_SHARED_O_D2D_DEV_PAD_CMN_CONFIG \
  179. 0x00000148
  180. #define OCP_SHARED_O_D2D_TOSTACK_PAD_CONF \
  181. 0x0000014C
  182. #define OCP_SHARED_O_D2D_MISC_PAD_CONF \
  183. 0x00000150
  184. #define OCP_SHARED_O_SOP_CONF_OVERRIDE \
  185. 0x00000154
  186. #define OCP_SHARED_O_CC3XX_DEBUGSS_STATUS \
  187. 0x00000158
  188. #define OCP_SHARED_O_CC3XX_DEBUGMUX_SEL \
  189. 0x0000015C
  190. #define OCP_SHARED_O_ALT_PC_VAL_NW \
  191. 0x00000160
  192. #define OCP_SHARED_O_ALT_PC_VAL_APPS \
  193. 0x00000164
  194. #define OCP_SHARED_O_SPARE_REG_4 \
  195. 0x00000168
  196. #define OCP_SHARED_O_SPARE_REG_5 \
  197. 0x0000016C
  198. #define OCP_SHARED_O_SH_SPI_CS_MASK \
  199. 0x00000170
  200. #define OCP_SHARED_O_CC3XX_DEVICE_TYPE \
  201. 0x00000174
  202. #define OCP_SHARED_O_MEM_TOPMUXCTRL_IFORCE \
  203. 0x00000178
  204. #define OCP_SHARED_O_CC3XX_DEV_PACKAGE_DETECT \
  205. 0x0000017C
  206. #define OCP_SHARED_O_AUTONMS_SPICLK_SEL \
  207. 0x00000180
  208. #define OCP_SHARED_O_CC3XX_DEV_PADCONF \
  209. 0x00000184
  210. #define OCP_SHARED_O_SPARE_REG_8 \
  211. 0x00000188
  212. #define OCP_SHARED_O_SPARE_REG_6 \
  213. 0x0000018C
  214. #define OCP_SHARED_O_SPARE_REG_7 \
  215. 0x00000190
  216. #define OCP_SHARED_O_APPS_WLAN_ORBIT \
  217. 0x00000194
  218. #define OCP_SHARED_O_APPS_WLAN_SCRATCH_PAD \
  219. 0x00000198
  220. //******************************************************************************
  221. //
  222. // The following are defines for the bit fields in the
  223. // OCP_SHARED_O_SEMAPHORE1 register.
  224. //
  225. //******************************************************************************
  226. #define OCP_SHARED_SEMAPHORE1_MEM_SEMAPHORE1_M \
  227. 0x00000003 // General Purpose Semaphore for SW
  228. // Usage. If any of the 2 bits of a
  229. // given register is set to 1, it
  230. // means that the semaphore is
  231. // locked by one of the masters.
  232. // Each bit represents a master IP
  233. // as follows: {WLAN,NWP}. The JTAG
  234. // cannot capture the semaphore but
  235. // it can release it. As a master IP
  236. // reads the semaphore, it will be
  237. // caputed and the masters
  238. // correlating bit will be set to 1
  239. // (set upon read). As any IP writes
  240. // to this address (independent of
  241. // the written data) the semaphore
  242. // will be set to 2'b00.
  243. #define OCP_SHARED_SEMAPHORE1_MEM_SEMAPHORE1_S 0
  244. //******************************************************************************
  245. //
  246. // The following are defines for the bit fields in the
  247. // OCP_SHARED_O_SEMAPHORE2 register.
  248. //
  249. //******************************************************************************
  250. #define OCP_SHARED_SEMAPHORE2_MEM_SEMAPHORE2_M \
  251. 0x00000003 // General Purpose Semaphore for SW
  252. // Usage. If any of the 2 bits of a
  253. // given register is set to 1, it
  254. // means that the semaphore is
  255. // locked by one of the masters.
  256. // Each bit represents a master IP
  257. // as follows: {WLAN,NWP}. The JTAG
  258. // cannot capture the semaphore but
  259. // it can release it. As a master IP
  260. // reads the semaphore, it will be
  261. // caputed and the masters
  262. // correlating bit will be set to 1
  263. // (set upon read). As any IP writes
  264. // to this address (independent of
  265. // the written data) the semaphore
  266. // will be set to 2'b00.
  267. #define OCP_SHARED_SEMAPHORE2_MEM_SEMAPHORE2_S 0
  268. //******************************************************************************
  269. //
  270. // The following are defines for the bit fields in the
  271. // OCP_SHARED_O_SEMAPHORE3 register.
  272. //
  273. //******************************************************************************
  274. #define OCP_SHARED_SEMAPHORE3_MEM_SEMAPHORE3_M \
  275. 0x00000003 // General Purpose Semaphore for SW
  276. // Usage. If any of the 2 bits of a
  277. // given register is set to 1, it
  278. // means that the semaphore is
  279. // locked by one of the masters.
  280. // Each bit represents a master IP
  281. // as follows: {WLAN,NWP}. The JTAG
  282. // cannot capture the semaphore but
  283. // it can release it. As a master IP
  284. // reads the semaphore, it will be
  285. // caputed and the masters
  286. // correlating bit will be set to 1
  287. // (set upon read). As any IP writes
  288. // to this address (independent of
  289. // the written data) the semaphore
  290. // will be set to 2'b00.
  291. #define OCP_SHARED_SEMAPHORE3_MEM_SEMAPHORE3_S 0
  292. //******************************************************************************
  293. //
  294. // The following are defines for the bit fields in the
  295. // OCP_SHARED_O_SEMAPHORE4 register.
  296. //
  297. //******************************************************************************
  298. #define OCP_SHARED_SEMAPHORE4_MEM_SEMAPHORE4_M \
  299. 0x00000003 // General Purpose Semaphore for SW
  300. // Usage. If any of the 2 bits of a
  301. // given register is set to 1, it
  302. // means that the semaphore is
  303. // locked by one of the masters.
  304. // Each bit represents a master IP
  305. // as follows: {WLAN,NWP}. The JTAG
  306. // cannot capture the semaphore but
  307. // it can release it. As a master IP
  308. // reads the semaphore, it will be
  309. // caputed and the masters
  310. // correlating bit will be set to 1
  311. // (set upon read). As any IP writes
  312. // to this address (independent of
  313. // the written data) the semaphore
  314. // will be set to 2'b00.
  315. #define OCP_SHARED_SEMAPHORE4_MEM_SEMAPHORE4_S 0
  316. //******************************************************************************
  317. //
  318. // The following are defines for the bit fields in the
  319. // OCP_SHARED_O_SEMAPHORE5 register.
  320. //
  321. //******************************************************************************
  322. #define OCP_SHARED_SEMAPHORE5_MEM_SEMAPHORE5_M \
  323. 0x00000003 // General Purpose Semaphore for SW
  324. // Usage. If any of the 2 bits of a
  325. // given register is set to 1, it
  326. // means that the semaphore is
  327. // locked by one of the masters.
  328. // Each bit represents a master IP
  329. // as follows: {WLAN,NWP}. The JTAG
  330. // cannot capture the semaphore but
  331. // it can release it. As a master IP
  332. // reads the semaphore, it will be
  333. // caputed and the masters
  334. // correlating bit will be set to 1
  335. // (set upon read). As any IP writes
  336. // to this address (independent of
  337. // the written data) the semaphore
  338. // will be set to 2'b00.
  339. #define OCP_SHARED_SEMAPHORE5_MEM_SEMAPHORE5_S 0
  340. //******************************************************************************
  341. //
  342. // The following are defines for the bit fields in the
  343. // OCP_SHARED_O_SEMAPHORE6 register.
  344. //
  345. //******************************************************************************
  346. #define OCP_SHARED_SEMAPHORE6_MEM_SEMAPHORE6_M \
  347. 0x00000003 // General Purpose Semaphore for SW
  348. // Usage. If any of the 2 bits of a
  349. // given register is set to 1, it
  350. // means that the semaphore is
  351. // locked by one of the masters.
  352. // Each bit represents a master IP
  353. // as follows: {WLAN,NWP}. The JTAG
  354. // cannot capture the semaphore but
  355. // it can release it. As a master IP
  356. // reads the semaphore, it will be
  357. // caputed and the masters
  358. // correlating bit will be set to 1
  359. // (set upon read). As any IP writes
  360. // to this address (independent of
  361. // the written data) the semaphore
  362. // will be set to 2'b00.
  363. #define OCP_SHARED_SEMAPHORE6_MEM_SEMAPHORE6_S 0
  364. //******************************************************************************
  365. //
  366. // The following are defines for the bit fields in the
  367. // OCP_SHARED_O_SEMAPHORE7 register.
  368. //
  369. //******************************************************************************
  370. #define OCP_SHARED_SEMAPHORE7_MEM_SEMAPHORE7_M \
  371. 0x00000003 // General Purpose Semaphore for SW
  372. // Usage. If any of the 2 bits of a
  373. // given register is set to 1, it
  374. // means that the semaphore is
  375. // locked by one of the masters.
  376. // Each bit represents a master IP
  377. // as follows: {WLAN,NWP}. The JTAG
  378. // cannot capture the semaphore but
  379. // it can release it. As a master IP
  380. // reads the semaphore, it will be
  381. // caputed and the masters
  382. // correlating bit will be set to 1
  383. // (set upon read). As any IP writes
  384. // to this address (independent of
  385. // the written data) the semaphore
  386. // will be set to 2'b00.
  387. #define OCP_SHARED_SEMAPHORE7_MEM_SEMAPHORE7_S 0
  388. //******************************************************************************
  389. //
  390. // The following are defines for the bit fields in the
  391. // OCP_SHARED_O_SEMAPHORE8 register.
  392. //
  393. //******************************************************************************
  394. #define OCP_SHARED_SEMAPHORE8_MEM_SEMAPHORE8_M \
  395. 0x00000003 // General Purpose Semaphore for SW
  396. // Usage. If any of the 2 bits of a
  397. // given register is set to 1, it
  398. // means that the semaphore is
  399. // locked by one of the masters.
  400. // Each bit represents a master IP
  401. // as follows: {WLAN,NWP}. The JTAG
  402. // cannot capture the semaphore but
  403. // it can release it. As a master IP
  404. // reads the semaphore, it will be
  405. // caputed and the masters
  406. // correlating bit will be set to 1
  407. // (set upon read). As any IP writes
  408. // to this address (independent of
  409. // the written data) the semaphore
  410. // will be set to 2'b00.
  411. #define OCP_SHARED_SEMAPHORE8_MEM_SEMAPHORE8_S 0
  412. //******************************************************************************
  413. //
  414. // The following are defines for the bit fields in the
  415. // OCP_SHARED_O_SEMAPHORE9 register.
  416. //
  417. //******************************************************************************
  418. #define OCP_SHARED_SEMAPHORE9_MEM_SEMAPHORE9_M \
  419. 0x00000003 // General Purpose Semaphore for SW
  420. // Usage. If any of the 2 bits of a
  421. // given register is set to 1, it
  422. // means that the semaphore is
  423. // locked by one of the masters.
  424. // Each bit represents a master IP
  425. // as follows: {WLAN,NWP}. The JTAG
  426. // cannot capture the semaphore but
  427. // it can release it. As a master IP
  428. // reads the semaphore, it will be
  429. // caputed and the masters
  430. // correlating bit will be set to 1
  431. // (set upon read). As any IP writes
  432. // to this address (independent of
  433. // the written data) the semaphore
  434. // will be set to 2'b00.
  435. #define OCP_SHARED_SEMAPHORE9_MEM_SEMAPHORE9_S 0
  436. //******************************************************************************
  437. //
  438. // The following are defines for the bit fields in the
  439. // OCP_SHARED_O_SEMAPHORE10 register.
  440. //
  441. //******************************************************************************
  442. #define OCP_SHARED_SEMAPHORE10_MEM_SEMAPHORE10_M \
  443. 0x00000003 // General Purpose Semaphore for SW
  444. // Usage. If any of the 2 bits of a
  445. // given register is set to 1, it
  446. // means that the semaphore is
  447. // locked by one of the masters.
  448. // Each bit represents a master IP
  449. // as follows: {WLAN,NWP}. The JTAG
  450. // cannot capture the semaphore but
  451. // it can release it. As a master IP
  452. // reads the semaphore, it will be
  453. // caputed and the masters
  454. // correlating bit will be set to 1
  455. // (set upon read). As any IP writes
  456. // to this address (independent of
  457. // the written data) the semaphore
  458. // will be set to 2'b00.
  459. #define OCP_SHARED_SEMAPHORE10_MEM_SEMAPHORE10_S 0
  460. //******************************************************************************
  461. //
  462. // The following are defines for the bit fields in the
  463. // OCP_SHARED_O_SEMAPHORE11 register.
  464. //
  465. //******************************************************************************
  466. #define OCP_SHARED_SEMAPHORE11_MEM_SEMAPHORE11_M \
  467. 0x00000003 // General Purpose Semaphore for SW
  468. // Usage. If any of the 2 bits of a
  469. // given register is set to 1, it
  470. // means that the semaphore is
  471. // locked by one of the masters.
  472. // Each bit represents a master IP
  473. // as follows: {WLAN,NWP}. The JTAG
  474. // cannot capture the semaphore but
  475. // it can release it. As a master IP
  476. // reads the semaphore, it will be
  477. // caputed and the masters
  478. // correlating bit will be set to 1
  479. // (set upon read). As any IP writes
  480. // to this address (independent of
  481. // the written data) the semaphore
  482. // will be set to 2'b00.
  483. #define OCP_SHARED_SEMAPHORE11_MEM_SEMAPHORE11_S 0
  484. //******************************************************************************
  485. //
  486. // The following are defines for the bit fields in the
  487. // OCP_SHARED_O_SEMAPHORE12 register.
  488. //
  489. //******************************************************************************
  490. #define OCP_SHARED_SEMAPHORE12_MEM_SEMAPHORE12_M \
  491. 0x00000003 // General Purpose Semaphore for SW
  492. // Usage. If any of the 2 bits of a
  493. // given register is set to 1, it
  494. // means that the semaphore is
  495. // locked by one of the masters.
  496. // Each bit represents a master IP
  497. // as follows: {WLAN,NWP}. The JTAG
  498. // cannot capture the semaphore but
  499. // it can release it. As a master IP
  500. // reads the semaphore, it will be
  501. // caputed and the masters
  502. // correlating bit will be set to 1
  503. // (set upon read). As any IP writes
  504. // to this address (independent of
  505. // the written data) the semaphore
  506. // will be set to 2'b00.
  507. #define OCP_SHARED_SEMAPHORE12_MEM_SEMAPHORE12_S 0
  508. //******************************************************************************
  509. //
  510. // The following are defines for the bit fields in the
  511. // OCP_SHARED_O_IC_LOCKER_ID register.
  512. //
  513. //******************************************************************************
  514. #define OCP_SHARED_IC_LOCKER_ID_MEM_IC_LOCKER_ID_M \
  515. 0x00000007 // This register is used for
  516. // allowing only one master OCP to
  517. // perform write transactions to the
  518. // OCP slaves. Each bit represents
  519. // an IP in the following format: {
  520. // JTAG,WLAN, NWP mcu}. As any of
  521. // the bits is set to one, the
  522. // correlating IP is preventing the
  523. // other IP's from performing write
  524. // transactions to the slaves. As
  525. // the Inter Connect is locked, the
  526. // only the locking IP can write to
  527. // the register and by that
  528. // releasing the lock. 3'b000 => IC
  529. // is not locked. 3'b001 => IC is
  530. // locked by NWP mcu. 3'b010 => IC
  531. // is locked by WLAN. 3'b100 => IC
  532. // is locked by JTAG.
  533. #define OCP_SHARED_IC_LOCKER_ID_MEM_IC_LOCKER_ID_S 0
  534. //******************************************************************************
  535. //
  536. // The following are defines for the bit fields in the
  537. // OCP_SHARED_O_MCU_SEMAPHORE_PEND register.
  538. //
  539. //******************************************************************************
  540. #define OCP_SHARED_MCU_SEMAPHORE_PEND_MEM_MCU_SEMAPHORE_PEND_M \
  541. 0x0000FFFF // This register specifies the
  542. // semaphore for which the NWP mcu
  543. // is waiting to be released. It is
  544. // set to the serial number of a
  545. // given locked semaphore after it
  546. // was read by the NWP mcu. Only
  547. // [11:0] is used.
  548. #define OCP_SHARED_MCU_SEMAPHORE_PEND_MEM_MCU_SEMAPHORE_PEND_S 0
  549. //******************************************************************************
  550. //
  551. // The following are defines for the bit fields in the
  552. // OCP_SHARED_O_WL_SEMAPHORE_PEND register.
  553. //
  554. //******************************************************************************
  555. #define OCP_SHARED_WL_SEMAPHORE_PEND_MEM_WL_SEMAPHORE_PEND_M \
  556. 0x0000FFFF // This register specifies the
  557. // semaphore for which the WLAN is
  558. // waiting to be released. It is set
  559. // to the serial number of a given
  560. // locked semaphore after it was
  561. // read by the WLAN. Only [11:0] is
  562. // used.
  563. #define OCP_SHARED_WL_SEMAPHORE_PEND_MEM_WL_SEMAPHORE_PEND_S 0
  564. //******************************************************************************
  565. //
  566. // The following are defines for the bit fields in the
  567. // OCP_SHARED_O_PLATFORM_DETECTION_RD_ONLY register.
  568. //
  569. //******************************************************************************
  570. #define OCP_SHARED_PLATFORM_DETECTION_RD_ONLY_PLATFORM_DETECTION_M \
  571. 0x0000FFFF // This information serves the IPs
  572. // for knowing in which platform are
  573. // they integrated at: 0 = CC31XX.
  574. #define OCP_SHARED_PLATFORM_DETECTION_RD_ONLY_PLATFORM_DETECTION_S 0
  575. //******************************************************************************
  576. //
  577. // The following are defines for the bit fields in the
  578. // OCP_SHARED_O_SEMAPHORES_STATUS_RD_ONLY register.
  579. //
  580. //******************************************************************************
  581. #define OCP_SHARED_SEMAPHORES_STATUS_RD_ONLY_SEMAPHORES_STATUS_M \
  582. 0x00000FFF // Captured/released semaphores
  583. // status for the 12 semaphores.
  584. // Each bit of the 12 bits
  585. // represents a semaphore. 0 =>
  586. // Semaphore Free. 1 => Semaphore
  587. // Captured.
  588. #define OCP_SHARED_SEMAPHORES_STATUS_RD_ONLY_SEMAPHORES_STATUS_S 0
  589. //******************************************************************************
  590. //
  591. // The following are defines for the bit fields in the
  592. // OCP_SHARED_O_CC3XX_CONFIG_CTRL register.
  593. //
  594. //******************************************************************************
  595. #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_IC_TO_EN \
  596. 0x00000010 // This bit is used to enable
  597. // timeout mechanism for top_ocp_ic
  598. // (for debug puropse). When 1 value
  599. // , in case any ocp slave doesn't
  600. // give sresponse within 16 cylcles
  601. // top_ic will give error response
  602. // itself to avoid bus hange.
  603. #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_ALT_PC_EN_APPS \
  604. 0x00000008 // 1 bit should be accessible only
  605. // in devinit. This will enable 0x4
  606. // hack for apps processor
  607. #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_ALT_PC_EN_NW \
  608. 0x00000004 // 1 bit, should be accessible only
  609. // in devinit. This will enable 0x4
  610. // hack for nw processor
  611. #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_EXTEND_NW_ROM \
  612. 0x00000002 // When set NW can take over apps
  613. // rom and flash via IDCODE bus.
  614. // Apps will able to access this
  615. // register only during devinit and
  616. // reset value should be 0.
  617. #define OCP_SHARED_CC3XX_CONFIG_CTRL_MEM_WLAN_HOST_INTF_SEL \
  618. 0x00000001 // When this bit is set to 0 WPSI
  619. // host interface wil be selected,
  620. // when this bit is set to 1 , WLAN
  621. // host async bridge will be
  622. // selected.
  623. //******************************************************************************
  624. //
  625. // The following are defines for the bit fields in the
  626. // OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_LSB register.
  627. //
  628. //******************************************************************************
  629. #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_LSB_MEM_SHARED_MEM_SEL_LSB_M \
  630. 0x3FFFFFFF // This register provides memss RAM
  631. // column configuration for column 0
  632. // to 9. 3 bits are allocated per
  633. // column. This register is required
  634. // to be configured before starting
  635. // RAM access. Changing register
  636. // setting while code is running
  637. // will result into unpredictable
  638. // memory behaviour. Register is
  639. // supported to configured ones
  640. // after core is booted up. 3 bit
  641. // encoding per column is as
  642. // follows: when 000 : WLAN, 001:
  643. // NWP, 010: APPS, 011: PHY, 100:
  644. // OCLA column 0 select: bit [2:0]
  645. // :when 000 -> WLAN,001 -> NWP,010
  646. // -> APPS, 011 -> PHY, 100 -> OCLA
  647. // column 1 select: bit [5:3]
  648. // :column 2 select: bit [8 : 6]:
  649. // column 3 select : bit [11: 9]
  650. // column 4 select : bit [14:12]
  651. // column 5 select : bit [17:15]
  652. // column 6 select : bit [20:18]
  653. // column 7 select : bit [23:21]
  654. // column 8 select : bit [26:24]
  655. // column 9 select : bit [29:27]
  656. // column 10 select
  657. #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_LSB_MEM_SHARED_MEM_SEL_LSB_S 0
  658. //******************************************************************************
  659. //
  660. // The following are defines for the bit fields in the
  661. // OCP_SHARED_O_CC3XX_SHARED_MEM_SEL_MSB register.
  662. //
  663. //******************************************************************************
  664. #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_MSB_MEM_SHARED_MEM_SEL_MSB_M \
  665. 0x00000FFF // This register provides memss RAM
  666. // column configuration for column
  667. // 10 to 15. 3 bits are allocated
  668. // per column. This register is
  669. // required to be configured before
  670. // starting RAM access. Changing
  671. // register setting while code is
  672. // running will result into
  673. // unpredictable memory behaviour.
  674. // Register is supported to
  675. // configured ones after core is
  676. // booted up. 3 bit encoding per
  677. // column is as follows: when 000 :
  678. // WLAN, 001: NWP, 010: APPS, 011:
  679. // PHY, 100: OCLA column 11 select :
  680. // bit [2:0] column 12 select : bit
  681. // [5:3] column 13 select : bit [8 :
  682. // 6] column 14 select :
  683. #define OCP_SHARED_CC3XX_SHARED_MEM_SEL_MSB_MEM_SHARED_MEM_SEL_MSB_S 0
  684. //******************************************************************************
  685. //
  686. // The following are defines for the bit fields in the
  687. // OCP_SHARED_O_WLAN_ELP_WAKE_EN register.
  688. //
  689. //******************************************************************************
  690. #define OCP_SHARED_WLAN_ELP_WAKE_EN_MEM_WLAN_ELP_WAKE_EN \
  691. 0x00000001 // when '1' : signal will enabled
  692. // ELP power doamin when '0': ELP is
  693. // not powered up.
  694. //******************************************************************************
  695. //
  696. // The following are defines for the bit fields in the
  697. // OCP_SHARED_O_DEVINIT_ROM_START_ADDR register.
  698. //
  699. //******************************************************************************
  700. #define OCP_SHARED_DEVINIT_ROM_START_ADDR_MEM_DEVINIT_ROM_START_ADDR_M \
  701. 0xFFFFFFFF // 32 bit, Writable only during
  702. // devinit, and whole 32 bit should
  703. // be output of the config register
  704. // module. This register is not used
  705. // , similar register availble in
  706. // GPRCM space.
  707. #define OCP_SHARED_DEVINIT_ROM_START_ADDR_MEM_DEVINIT_ROM_START_ADDR_S 0
  708. //******************************************************************************
  709. //
  710. // The following are defines for the bit fields in the
  711. // OCP_SHARED_O_DEVINIT_ROM_END_ADDR register.
  712. //
  713. //******************************************************************************
  714. #define OCP_SHARED_DEVINIT_ROM_END_ADDR_MEM_DEVINIT_ROM_END_ADDR_M \
  715. 0xFFFFFFFF // 32 bit, Writable only during
  716. // devinit, and whole 32 bit should
  717. // be output of the config register
  718. // module.
  719. #define OCP_SHARED_DEVINIT_ROM_END_ADDR_MEM_DEVINIT_ROM_END_ADDR_S 0
  720. //******************************************************************************
  721. //
  722. // The following are defines for the bit fields in the
  723. // OCP_SHARED_O_SSBD_SEED register.
  724. //
  725. //******************************************************************************
  726. #define OCP_SHARED_SSBD_SEED_MEM_SSBD_SEED_M \
  727. 0xFFFFFFFF // 32 bit, Writable only during
  728. // devinit, and whole 32 bit should
  729. // be output of the config register
  730. // module.
  731. #define OCP_SHARED_SSBD_SEED_MEM_SSBD_SEED_S 0
  732. //******************************************************************************
  733. //
  734. // The following are defines for the bit fields in the
  735. // OCP_SHARED_O_SSBD_CHK register.
  736. //
  737. //******************************************************************************
  738. #define OCP_SHARED_SSBD_CHK_MEM_SSBD_CHK_M \
  739. 0xFFFFFFFF // 32 bit, Writable only during
  740. // devinit, and whole 32 bit should
  741. // be output of the config register
  742. // module.
  743. #define OCP_SHARED_SSBD_CHK_MEM_SSBD_CHK_S 0
  744. //******************************************************************************
  745. //
  746. // The following are defines for the bit fields in the
  747. // OCP_SHARED_O_SSBD_POLY_SEL register.
  748. //
  749. //******************************************************************************
  750. #define OCP_SHARED_SSBD_POLY_SEL_MEM_SSBD_POLY_SEL_M \
  751. 0x00000003 // 2 bit, Writable only during
  752. // devinit, and whole 2 bit should
  753. // be output of the config register
  754. // module.
  755. #define OCP_SHARED_SSBD_POLY_SEL_MEM_SSBD_POLY_SEL_S 0
  756. //******************************************************************************
  757. //
  758. // The following are defines for the bit fields in the
  759. // OCP_SHARED_O_SPARE_REG_0 register.
  760. //
  761. //******************************************************************************
  762. #define OCP_SHARED_SPARE_REG_0_MEM_SPARE_REG_0_M \
  763. 0xFFFFFFFF // Devinit code should look for
  764. // whether corresponding fuse is
  765. // blown and if blown write to the
  766. // 11th bit of this register to
  767. // disable flshtst interface
  768. #define OCP_SHARED_SPARE_REG_0_MEM_SPARE_REG_0_S 0
  769. //******************************************************************************
  770. //
  771. // The following are defines for the bit fields in the
  772. // OCP_SHARED_O_SPARE_REG_1 register.
  773. //
  774. //******************************************************************************
  775. #define OCP_SHARED_SPARE_REG_1_MEM_SPARE_REG_1_M \
  776. 0xFFFFFFFF // NWP Software register
  777. #define OCP_SHARED_SPARE_REG_1_MEM_SPARE_REG_1_S 0
  778. //******************************************************************************
  779. //
  780. // The following are defines for the bit fields in the
  781. // OCP_SHARED_O_SPARE_REG_2 register.
  782. //
  783. //******************************************************************************
  784. #define OCP_SHARED_SPARE_REG_2_MEM_SPARE_REG_2_M \
  785. 0xFFFFFFFF // NWP Software register
  786. #define OCP_SHARED_SPARE_REG_2_MEM_SPARE_REG_2_S 0
  787. //******************************************************************************
  788. //
  789. // The following are defines for the bit fields in the
  790. // OCP_SHARED_O_SPARE_REG_3 register.
  791. //
  792. //******************************************************************************
  793. #define OCP_SHARED_SPARE_REG_3_MEM_SPARE_REG_3_M \
  794. 0xFFFFFFFF // APPS Software register
  795. #define OCP_SHARED_SPARE_REG_3_MEM_SPARE_REG_3_S 0
  796. //******************************************************************************
  797. //
  798. // The following are defines for the bit fields in the
  799. // OCP_SHARED_O_GPIO_PAD_CONFIG_0 register.
  800. //
  801. //******************************************************************************
  802. #define OCP_SHARED_GPIO_PAD_CONFIG_0_MEM_GPIO_PAD_CONFIG_0_M \
  803. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  804. // used for PAD IO mode selection.
  805. // io_register={ "" 0 =>
  806. // """"CONFMODE[0]"""""" "" 1 =>
  807. // """"CONFMODE[1]"""""" "" 2 =>
  808. // """"CONFMODE[2]"""""" "" 3 =>
  809. // """"CONFMODE[3]"""" 4 =>
  810. // """"IODEN"""" --> When level ‘1’
  811. // this disables the PMOS xtors of
  812. // the output stages making them
  813. // open-drain type." "For example in
  814. // case of I2C Value gets latched at
  815. // rising edge of RET33.""" """ 5 =>
  816. // """"I2MAEN"""" --> Level ‘1’
  817. // enables the approx 2mA output
  818. // stage""" """ 6 => """"I4MAEN""""
  819. // --> Level ‘1’ enables the approx
  820. // 4mA output stage""" """ 7 =>
  821. // """"I8MAEN"""" --> Level ‘1’
  822. // enables the approx 8mA output
  823. // stage. Note: any drive strength
  824. // between 2mA and 14mA can be
  825. // obtained with combination of 2mA
  826. // 4mA and 8mA.""" """ 8 =>
  827. // """"IWKPUEN"""" --> 10uA pull up
  828. // (weak strength)""" """ 9 =>
  829. // """"IWKPDEN"""" --> 10uA pull
  830. // down (weak strength)""" """ 10 =>
  831. // """"IOE_N"""" --> output enable
  832. // value. level ‘0’ enables the IDO
  833. // to PAD path. Else PAD is
  834. // tristated (except for the PU/PD
  835. // which are independent)." "Value
  836. // gets latched at rising edge of
  837. // RET33""" """ 11 =>""""
  838. // IOE_N_OV"""" --> output enable
  839. // overirde. when bit is set to
  840. // logic '1' IOE_N (bit 4) value
  841. // will control IO IOE_N signal else
  842. // IOE_N is control via selected HW
  843. // logic. strong PULL UP and PULL
  844. // Down control is disabled for all
  845. // IO's. both controls are tied to
  846. // logic level '0'.
  847. #define OCP_SHARED_GPIO_PAD_CONFIG_0_MEM_GPIO_PAD_CONFIG_0_S 0
  848. //******************************************************************************
  849. //
  850. // The following are defines for the bit fields in the
  851. // OCP_SHARED_O_GPIO_PAD_CONFIG_1 register.
  852. //
  853. //******************************************************************************
  854. #define OCP_SHARED_GPIO_PAD_CONFIG_1_MEM_GPIO_PAD_CONFIG_1_M \
  855. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  856. // used for PAD IO mode selection.
  857. // io_register={ "" 0 =>
  858. // """"CONFMODE[0]"""""" "" 1 =>
  859. // """"CONFMODE[1]"""""" "" 2 =>
  860. // """"CONFMODE[2]"""""" "" 3 =>
  861. // """"CONFMODE[3]"""" 4 =>
  862. // """"IODEN"""" --> When level ‘1’
  863. // this disables the PMOS xtors of
  864. // the output stages making them
  865. // open-drain type." it can be used
  866. // for I2C type of peripherals. 5 =>
  867. // """"I2MAEN"""" --> Level ‘1’
  868. // enables the approx 2mA output
  869. // stage""" """ 6 => """"I4MAEN""""
  870. // --> Level ‘1’ enables the approx
  871. // 4mA output stage""" """ 7 =>
  872. // """"I8MAEN"""" --> Level ‘1’
  873. // enables the approx 8mA output
  874. // stage. Note: any drive strength
  875. // between 2mA and 14mA can be
  876. // obtained with combination of 2mA
  877. // 4mA and 8mA.""" """ 8 =>
  878. // """"IWKPUEN"""" --> 10uA pull up
  879. // (weak strength)""" """ 9 =>
  880. // """"IWKPDEN"""" --> 10uA pull
  881. // down (weak strength)""" """ 10 =>
  882. // """"IOE_N"""" --> output enable
  883. // value. level ‘0’ enables the IDO
  884. // to PAD path. Else PAD is
  885. // tristated (except for the PU/PD
  886. // which are independent)." "Value
  887. // gets latched at rising edge of
  888. // RET33""" """ 11 =>""""
  889. // IOE_N_OV"""" --> output enable
  890. // overirde. when bit is set to
  891. // logic '1' IOE_N (bit 4) value
  892. // will control IO IOE_N signal else
  893. // IOE_N is control via selected HW
  894. // logic. strong PULL UP and PULL
  895. // Down control is disabled for all
  896. // IO's. both controls are tied to
  897. // logic level '0'.
  898. #define OCP_SHARED_GPIO_PAD_CONFIG_1_MEM_GPIO_PAD_CONFIG_1_S 0
  899. //******************************************************************************
  900. //
  901. // The following are defines for the bit fields in the
  902. // OCP_SHARED_O_GPIO_PAD_CONFIG_2 register.
  903. //
  904. //******************************************************************************
  905. #define OCP_SHARED_GPIO_PAD_CONFIG_2_MEM_GPIO_PAD_CONFIG_2_M \
  906. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  907. // used for PAD IO mode selection.
  908. // io_register={ "" 0 =>
  909. // """"CONFMODE[0]"""""" "" 1 =>
  910. // """"CONFMODE[1]"""""" "" 2 =>
  911. // """"CONFMODE[2]"""""" "" 3 =>
  912. // """"CONFMODE[3]"""" 4 =>
  913. // """"IODEN"""" --> When level ‘1’
  914. // this disables the PMOS xtors of
  915. // the output stages making them
  916. // open-drain type." it can be used
  917. // for I2C type of peripherals. 5 =>
  918. // """"I2MAEN"""" --> Level ‘1’
  919. // enables the approx 2mA output
  920. // stage""" """ 6 => """"I4MAEN""""
  921. // --> Level ‘1’ enables the approx
  922. // 4mA output stage""" """ 7 =>
  923. // """"I8MAEN"""" --> Level ‘1’
  924. // enables the approx 8mA output
  925. // stage. Note: any drive strength
  926. // between 2mA and 14mA can be
  927. // obtained with combination of 2mA
  928. // 4mA and 8mA.""" """ 8 =>
  929. // """"IWKPUEN"""" --> 10uA pull up
  930. // (weak strength)""" """ 9 =>
  931. // """"IWKPDEN"""" --> 10uA pull
  932. // down (weak strength)""" """ 10 =>
  933. // """"IOE_N"""" --> output enable
  934. // value. level ‘0’ enables the IDO
  935. // to PAD path. Else PAD is
  936. // tristated (except for the PU/PD
  937. // which are independent)." "Value
  938. // gets latched at rising edge of
  939. // RET33""" """ 11 =>""""
  940. // IOE_N_OV"""" --> output enable
  941. // overirde. when bit is set to
  942. // logic '1' IOE_N (bit 4) value
  943. // will control IO IOE_N signal else
  944. // IOE_N is control via selected HW
  945. // logic. strong PULL UP and PULL
  946. // Down control is disabled for all
  947. // IO's. both controls are tied to
  948. // logic level '0'.
  949. #define OCP_SHARED_GPIO_PAD_CONFIG_2_MEM_GPIO_PAD_CONFIG_2_S 0
  950. //******************************************************************************
  951. //
  952. // The following are defines for the bit fields in the
  953. // OCP_SHARED_O_GPIO_PAD_CONFIG_3 register.
  954. //
  955. //******************************************************************************
  956. #define OCP_SHARED_GPIO_PAD_CONFIG_3_MEM_GPIO_PAD_CONFIG_3_M \
  957. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  958. // used for PAD IO mode selection.
  959. // io_register={ "" 0 =>
  960. // """"CONFMODE[0]"""""" "" 1 =>
  961. // """"CONFMODE[1]"""""" "" 2 =>
  962. // """"CONFMODE[2]"""""" "" 3 =>
  963. // """"CONFMODE[3]"""" 4 =>
  964. // """"IODEN"""" --> When level ‘1’
  965. // this disables the PMOS xtors of
  966. // the output stages making them
  967. // open-drain type." it can be used
  968. // for I2C type of peripherals. 5 =>
  969. // """"I2MAEN"""" --> Level ‘1’
  970. // enables the approx 2mA output
  971. // stage""" """ 6 => """"I4MAEN""""
  972. // --> Level ‘1’ enables the approx
  973. // 4mA output stage""" """ 7 =>
  974. // """"I8MAEN"""" --> Level ‘1’
  975. // enables the approx 8mA output
  976. // stage. Note: any drive strength
  977. // between 2mA and 14mA can be
  978. // obtained with combination of 2mA
  979. // 4mA and 8mA.""" """ 8 =>
  980. // """"IWKPUEN"""" --> 10uA pull up
  981. // (weak strength)""" """ 9 =>
  982. // """"IWKPDEN"""" --> 10uA pull
  983. // down (weak strength)""" """ 10 =>
  984. // """"IOE_N"""" --> output enable
  985. // value. level ‘0’ enables the IDO
  986. // to PAD path. Else PAD is
  987. // tristated (except for the PU/PD
  988. // which are independent)." "Value
  989. // gets latched at rising edge of
  990. // RET33""" """ 11 =>""""
  991. // IOE_N_OV"""" --> output enable
  992. // overirde. when bit is set to
  993. // logic '1' IOE_N (bit 4) value
  994. // will control IO IOE_N signal else
  995. // IOE_N is control via selected HW
  996. // logic. strong PULL UP and PULL
  997. // Down control is disabled for all
  998. // IO's. both controls are tied to
  999. // logic level '0'.
  1000. #define OCP_SHARED_GPIO_PAD_CONFIG_3_MEM_GPIO_PAD_CONFIG_3_S 0
  1001. //******************************************************************************
  1002. //
  1003. // The following are defines for the bit fields in the
  1004. // OCP_SHARED_O_GPIO_PAD_CONFIG_4 register.
  1005. //
  1006. //******************************************************************************
  1007. #define OCP_SHARED_GPIO_PAD_CONFIG_4_MEM_GPIO_PAD_CONFIG_4_M \
  1008. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1009. // used for PAD IO mode selection.
  1010. // io_register={ "" 0 =>
  1011. // """"CONFMODE[0]"""""" "" 1 =>
  1012. // """"CONFMODE[1]"""""" "" 2 =>
  1013. // """"CONFMODE[2]"""""" "" 3 =>
  1014. // """"CONFMODE[3]"""" 4 =>
  1015. // """"IODEN"""" --> When level ‘1’
  1016. // this disables the PMOS xtors of
  1017. // the output stages making them
  1018. // open-drain type." it can be used
  1019. // for I2C type of peripherals. 5 =>
  1020. // """"I2MAEN"""" --> Level ‘1’
  1021. // enables the approx 2mA output
  1022. // stage""" """ 6 => """"I4MAEN""""
  1023. // --> Level ‘1’ enables the approx
  1024. // 4mA output stage""" """ 7 =>
  1025. // """"I8MAEN"""" --> Level ‘1’
  1026. // enables the approx 8mA output
  1027. // stage. Note: any drive strength
  1028. // between 2mA and 14mA can be
  1029. // obtained with combination of 2mA
  1030. // 4mA and 8mA.""" """ 8 =>
  1031. // """"IWKPUEN"""" --> 10uA pull up
  1032. // (weak strength)""" """ 9 =>
  1033. // """"IWKPDEN"""" --> 10uA pull
  1034. // down (weak strength)""" """ 10 =>
  1035. // """"IOE_N"""" --> output enable
  1036. // value. level ‘0’ enables the IDO
  1037. // to PAD path. Else PAD is
  1038. // tristated (except for the PU/PD
  1039. // which are independent)." "Value
  1040. // gets latched at rising edge of
  1041. // RET33""" """ 11 =>""""
  1042. // IOE_N_OV"""" --> output enable
  1043. // overirde. when bit is set to
  1044. // logic '1' IOE_N (bit 4) value
  1045. // will control IO IOE_N signal else
  1046. // IOE_N is control via selected HW
  1047. // logic. strong PULL UP and PULL
  1048. // Down control is disabled for all
  1049. // IO's. both controls are tied to
  1050. // logic level '0'.
  1051. #define OCP_SHARED_GPIO_PAD_CONFIG_4_MEM_GPIO_PAD_CONFIG_4_S 0
  1052. //******************************************************************************
  1053. //
  1054. // The following are defines for the bit fields in the
  1055. // OCP_SHARED_O_GPIO_PAD_CONFIG_5 register.
  1056. //
  1057. //******************************************************************************
  1058. #define OCP_SHARED_GPIO_PAD_CONFIG_5_MEM_GPIO_PAD_CONFIG_5_M \
  1059. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1060. // used for PAD IO mode selection.
  1061. // io_register={ "" 0 =>
  1062. // """"CONFMODE[0]"""""" "" 1 =>
  1063. // """"CONFMODE[1]"""""" "" 2 =>
  1064. // """"CONFMODE[2]"""""" "" 3 =>
  1065. // """"CONFMODE[3]"""" 4 =>
  1066. // """"IODEN"""" --> When level ‘1’
  1067. // this disables the PMOS xtors of
  1068. // the output stages making them
  1069. // open-drain type." it can be used
  1070. // for I2C type of peripherals. 5 =>
  1071. // """"I2MAEN"""" --> Level ‘1’
  1072. // enables the approx 2mA output
  1073. // stage""" """ 6 => """"I4MAEN""""
  1074. // --> Level ‘1’ enables the approx
  1075. // 4mA output stage""" """ 7 =>
  1076. // """"I8MAEN"""" --> Level ‘1’
  1077. // enables the approx 8mA output
  1078. // stage. Note: any drive strength
  1079. // between 2mA and 14mA can be
  1080. // obtained with combination of 2mA
  1081. // 4mA and 8mA.""" """ 8 =>
  1082. // """"IWKPUEN"""" --> 10uA pull up
  1083. // (weak strength)""" """ 9 =>
  1084. // """"IWKPDEN"""" --> 10uA pull
  1085. // down (weak strength)""" """ 10 =>
  1086. // """"IOE_N"""" --> output enable
  1087. // value. level ‘0’ enables the IDO
  1088. // to PAD path. Else PAD is
  1089. // tristated (except for the PU/PD
  1090. // which are independent)." "Value
  1091. // gets latched at rising edge of
  1092. // RET33""" """ 11 =>""""
  1093. // IOE_N_OV"""" --> output enable
  1094. // overirde. when bit is set to
  1095. // logic '1' IOE_N (bit 4) value
  1096. // will control IO IOE_N signal else
  1097. // IOE_N is control via selected HW
  1098. // logic. strong PULL UP and PULL
  1099. // Down control is disabled for all
  1100. // IO's. both controls are tied to
  1101. // logic level '0'.
  1102. #define OCP_SHARED_GPIO_PAD_CONFIG_5_MEM_GPIO_PAD_CONFIG_5_S 0
  1103. //******************************************************************************
  1104. //
  1105. // The following are defines for the bit fields in the
  1106. // OCP_SHARED_O_GPIO_PAD_CONFIG_6 register.
  1107. //
  1108. //******************************************************************************
  1109. #define OCP_SHARED_GPIO_PAD_CONFIG_6_MEM_GPIO_PAD_CONFIG_6_M \
  1110. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1111. // used for PAD IO mode selection.
  1112. // io_register={ "" 0 =>
  1113. // """"CONFMODE[0]"""""" "" 1 =>
  1114. // """"CONFMODE[1]"""""" "" 2 =>
  1115. // """"CONFMODE[2]"""""" "" 3 =>
  1116. // """"CONFMODE[3]"""" 4 =>
  1117. // """"IODEN"""" --> When level ‘1’
  1118. // this disables the PMOS xtors of
  1119. // the output stages making them
  1120. // open-drain type." it can be used
  1121. // for I2C type of peripherals. 5 =>
  1122. // """"I2MAEN"""" --> Level ‘1’
  1123. // enables the approx 2mA output
  1124. // stage""" """ 6 => """"I4MAEN""""
  1125. // --> Level ‘1’ enables the approx
  1126. // 4mA output stage""" """ 7 =>
  1127. // """"I8MAEN"""" --> Level ‘1’
  1128. // enables the approx 8mA output
  1129. // stage. Note: any drive strength
  1130. // between 2mA and 14mA can be
  1131. // obtained with combination of 2mA
  1132. // 4mA and 8mA.""" """ 8 =>
  1133. // """"IWKPUEN"""" --> 10uA pull up
  1134. // (weak strength)""" """ 9 =>
  1135. // """"IWKPDEN"""" --> 10uA pull
  1136. // down (weak strength)""" """ 10 =>
  1137. // """"IOE_N"""" --> output enable
  1138. // value. level ‘0’ enables the IDO
  1139. // to PAD path. Else PAD is
  1140. // tristated (except for the PU/PD
  1141. // which are independent)." "Value
  1142. // gets latched at rising edge of
  1143. // RET33""" """ 11 =>""""
  1144. // IOE_N_OV"""" --> output enable
  1145. // overirde. when bit is set to
  1146. // logic '1' IOE_N (bit 4) value
  1147. // will control IO IOE_N signal else
  1148. // IOE_N is control via selected HW
  1149. // logic. strong PULL UP and PULL
  1150. // Down control is disabled for all
  1151. // IO's. both controls are tied to
  1152. // logic level '0'.
  1153. #define OCP_SHARED_GPIO_PAD_CONFIG_6_MEM_GPIO_PAD_CONFIG_6_S 0
  1154. //******************************************************************************
  1155. //
  1156. // The following are defines for the bit fields in the
  1157. // OCP_SHARED_O_GPIO_PAD_CONFIG_7 register.
  1158. //
  1159. //******************************************************************************
  1160. #define OCP_SHARED_GPIO_PAD_CONFIG_7_MEM_GPIO_PAD_CONFIG_7_M \
  1161. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1162. // used for PAD IO mode selection.
  1163. // io_register={ "" 0 =>
  1164. // """"CONFMODE[0]"""""" "" 1 =>
  1165. // """"CONFMODE[1]"""""" "" 2 =>
  1166. // """"CONFMODE[2]"""""" "" 3 =>
  1167. // """"CONFMODE[3]"""" 4 =>
  1168. // """"IODEN"""" --> When level ‘1’
  1169. // this disables the PMOS xtors of
  1170. // the output stages making them
  1171. // open-drain type." it can be used
  1172. // for I2C type of peripherals. 5 =>
  1173. // """"I2MAEN"""" --> Level ‘1’
  1174. // enables the approx 2mA output
  1175. // stage""" """ 6 => """"I4MAEN""""
  1176. // --> Level ‘1’ enables the approx
  1177. // 4mA output stage""" """ 7 =>
  1178. // """"I8MAEN"""" --> Level ‘1’
  1179. // enables the approx 8mA output
  1180. // stage. Note: any drive strength
  1181. // between 2mA and 14mA can be
  1182. // obtained with combination of 2mA
  1183. // 4mA and 8mA.""" """ 8 =>
  1184. // """"IWKPUEN"""" --> 10uA pull up
  1185. // (weak strength)""" """ 9 =>
  1186. // """"IWKPDEN"""" --> 10uA pull
  1187. // down (weak strength)""" """ 10 =>
  1188. // """"IOE_N"""" --> output enable
  1189. // value. level ‘0’ enables the IDO
  1190. // to PAD path. Else PAD is
  1191. // tristated (except for the PU/PD
  1192. // which are independent)." "Value
  1193. // gets latched at rising edge of
  1194. // RET33""" """ 11 =>""""
  1195. // IOE_N_OV"""" --> output enable
  1196. // overirde. when bit is set to
  1197. // logic '1' IOE_N (bit 4) value
  1198. // will control IO IOE_N signal else
  1199. // IOE_N is control via selected HW
  1200. // logic. strong PULL UP and PULL
  1201. // Down control is disabled for all
  1202. // IO's. both controls are tied to
  1203. // logic level '0'.
  1204. #define OCP_SHARED_GPIO_PAD_CONFIG_7_MEM_GPIO_PAD_CONFIG_7_S 0
  1205. //******************************************************************************
  1206. //
  1207. // The following are defines for the bit fields in the
  1208. // OCP_SHARED_O_GPIO_PAD_CONFIG_8 register.
  1209. //
  1210. //******************************************************************************
  1211. #define OCP_SHARED_GPIO_PAD_CONFIG_8_MEM_GPIO_PAD_CONFIG_8_M \
  1212. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1213. // used for PAD IO mode selection.
  1214. // io_register={ "" 0 =>
  1215. // """"CONFMODE[0]"""""" "" 1 =>
  1216. // """"CONFMODE[1]"""""" "" 2 =>
  1217. // """"CONFMODE[2]"""""" "" 3 =>
  1218. // """"CONFMODE[3]"""" 4 =>
  1219. // """"IODEN"""" --> When level ‘1’
  1220. // this disables the PMOS xtors of
  1221. // the output stages making them
  1222. // open-drain type." it can be used
  1223. // for I2C type of peripherals. 5 =>
  1224. // """"I2MAEN"""" --> Level ‘1’
  1225. // enables the approx 2mA output
  1226. // stage""" """ 6 => """"I4MAEN""""
  1227. // --> Level ‘1’ enables the approx
  1228. // 4mA output stage""" """ 7 =>
  1229. // """"I8MAEN"""" --> Level ‘1’
  1230. // enables the approx 8mA output
  1231. // stage. Note: any drive strength
  1232. // between 2mA and 14mA can be
  1233. // obtained with combination of 2mA
  1234. // 4mA and 8mA.""" """ 8 =>
  1235. // """"IWKPUEN"""" --> 10uA pull up
  1236. // (weak strength)""" """ 9 =>
  1237. // """"IWKPDEN"""" --> 10uA pull
  1238. // down (weak strength)""" """ 10 =>
  1239. // """"IOE_N"""" --> output enable
  1240. // value. level ‘0’ enables the IDO
  1241. // to PAD path. Else PAD is
  1242. // tristated (except for the PU/PD
  1243. // which are independent)." "Value
  1244. // gets latched at rising edge of
  1245. // RET33""" """ 11 =>""""
  1246. // IOE_N_OV"""" --> output enable
  1247. // overirde. when bit is set to
  1248. // logic '1' IOE_N (bit 4) value
  1249. // will control IO IOE_N signal else
  1250. // IOE_N is control via selected HW
  1251. // logic. strong PULL UP and PULL
  1252. // Down control is disabled for all
  1253. // IO's. both controls are tied to
  1254. // logic level '0'.
  1255. #define OCP_SHARED_GPIO_PAD_CONFIG_8_MEM_GPIO_PAD_CONFIG_8_S 0
  1256. //******************************************************************************
  1257. //
  1258. // The following are defines for the bit fields in the
  1259. // OCP_SHARED_O_GPIO_PAD_CONFIG_9 register.
  1260. //
  1261. //******************************************************************************
  1262. #define OCP_SHARED_GPIO_PAD_CONFIG_9_MEM_GPIO_PAD_CONFIG_9_M \
  1263. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1264. // used for PAD IO mode selection.
  1265. // io_register={ "" 0 =>
  1266. // """"CONFMODE[0]"""""" "" 1 =>
  1267. // """"CONFMODE[1]"""""" "" 2 =>
  1268. // """"CONFMODE[2]"""""" "" 3 =>
  1269. // """"CONFMODE[3]"""" 4 =>
  1270. // """"IODEN"""" --> When level ‘1’
  1271. // this disables the PMOS xtors of
  1272. // the output stages making them
  1273. // open-drain type." it can be used
  1274. // for I2C type of peripherals. 5 =>
  1275. // """"I2MAEN"""" --> Level ‘1’
  1276. // enables the approx 2mA output
  1277. // stage""" """ 6 => """"I4MAEN""""
  1278. // --> Level ‘1’ enables the approx
  1279. // 4mA output stage""" """ 7 =>
  1280. // """"I8MAEN"""" --> Level ‘1’
  1281. // enables the approx 8mA output
  1282. // stage. Note: any drive strength
  1283. // between 2mA and 14mA can be
  1284. // obtained with combination of 2mA
  1285. // 4mA and 8mA.""" """ 8 =>
  1286. // """"IWKPUEN"""" --> 10uA pull up
  1287. // (weak strength)""" """ 9 =>
  1288. // """"IWKPDEN"""" --> 10uA pull
  1289. // down (weak strength)""" """ 10 =>
  1290. // """"IOE_N"""" --> output enable
  1291. // value. level ‘0’ enables the IDO
  1292. // to PAD path. Else PAD is
  1293. // tristated (except for the PU/PD
  1294. // which are independent)." "Value
  1295. // gets latched at rising edge of
  1296. // RET33""" """ 11 =>""""
  1297. // IOE_N_OV"""" --> output enable
  1298. // overirde. when bit is set to
  1299. // logic '1' IOE_N (bit 4) value
  1300. // will control IO IOE_N signal else
  1301. // IOE_N is control via selected HW
  1302. // logic. strong PULL UP and PULL
  1303. // Down control is disabled for all
  1304. // IO's. both controls are tied to
  1305. // logic level '0'.
  1306. #define OCP_SHARED_GPIO_PAD_CONFIG_9_MEM_GPIO_PAD_CONFIG_9_S 0
  1307. //******************************************************************************
  1308. //
  1309. // The following are defines for the bit fields in the
  1310. // OCP_SHARED_O_GPIO_PAD_CONFIG_10 register.
  1311. //
  1312. //******************************************************************************
  1313. #define OCP_SHARED_GPIO_PAD_CONFIG_10_MEM_GPIO_PAD_CONFIG_10_M \
  1314. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1315. // used for PAD IO mode selection.
  1316. // io_register={ "" 0 =>
  1317. // """"CONFMODE[0]"""""" "" 1 =>
  1318. // """"CONFMODE[1]"""""" "" 2 =>
  1319. // """"CONFMODE[2]"""""" "" 3 =>
  1320. // """"CONFMODE[3]"""" 4 =>
  1321. // """"IODEN"""" --> When level ‘1’
  1322. // this disables the PMOS xtors of
  1323. // the output stages making them
  1324. // open-drain type." it can be used
  1325. // for I2C type of peripherals. 5 =>
  1326. // """"I2MAEN"""" --> Level ‘1’
  1327. // enables the approx 2mA output
  1328. // stage""" """ 6 => """"I4MAEN""""
  1329. // --> Level ‘1’ enables the approx
  1330. // 4mA output stage""" """ 7 =>
  1331. // """"I8MAEN"""" --> Level ‘1’
  1332. // enables the approx 8mA output
  1333. // stage. Note: any drive strength
  1334. // between 2mA and 14mA can be
  1335. // obtained with combination of 2mA
  1336. // 4mA and 8mA.""" """ 8 =>
  1337. // """"IWKPUEN"""" --> 10uA pull up
  1338. // (weak strength)""" """ 9 =>
  1339. // """"IWKPDEN"""" --> 10uA pull
  1340. // down (weak strength)""" """ 10 =>
  1341. // """"IOE_N"""" --> output enable
  1342. // value. level ‘0’ enables the IDO
  1343. // to PAD path. Else PAD is
  1344. // tristated (except for the PU/PD
  1345. // which are independent)." "Value
  1346. // gets latched at rising edge of
  1347. // RET33""" """ 11 =>""""
  1348. // IOE_N_OV"""" --> output enable
  1349. // overirde. when bit is set to
  1350. // logic '1' IOE_N (bit 4) value
  1351. // will control IO IOE_N signal else
  1352. // IOE_N is control via selected HW
  1353. // logic. strong PULL UP and PULL
  1354. // Down control is disabled for all
  1355. // IO's. both controls are tied to
  1356. // logic level '0'.
  1357. #define OCP_SHARED_GPIO_PAD_CONFIG_10_MEM_GPIO_PAD_CONFIG_10_S 0
  1358. //******************************************************************************
  1359. //
  1360. // The following are defines for the bit fields in the
  1361. // OCP_SHARED_O_GPIO_PAD_CONFIG_11 register.
  1362. //
  1363. //******************************************************************************
  1364. #define OCP_SHARED_GPIO_PAD_CONFIG_11_MEM_GPIO_PAD_CONFIG_11_M \
  1365. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1366. // used for PAD IO mode selection.
  1367. // io_register={ "" 0 =>
  1368. // """"CONFMODE[0]"""""" "" 1 =>
  1369. // """"CONFMODE[1]"""""" "" 2 =>
  1370. // """"CONFMODE[2]"""""" "" 3 =>
  1371. // """"CONFMODE[3]"""" 4 =>
  1372. // """"IODEN"""" --> When level ‘1’
  1373. // this disables the PMOS xtors of
  1374. // the output stages making them
  1375. // open-drain type." it can be used
  1376. // for I2C type of peripherals. 5 =>
  1377. // """"I2MAEN"""" --> Level ‘1’
  1378. // enables the approx 2mA output
  1379. // stage""" """ 6 => """"I4MAEN""""
  1380. // --> Level ‘1’ enables the approx
  1381. // 4mA output stage""" """ 7 =>
  1382. // """"I8MAEN"""" --> Level ‘1’
  1383. // enables the approx 8mA output
  1384. // stage. Note: any drive strength
  1385. // between 2mA and 14mA can be
  1386. // obtained with combination of 2mA
  1387. // 4mA and 8mA.""" """ 8 =>
  1388. // """"IWKPUEN"""" --> 10uA pull up
  1389. // (weak strength)""" """ 9 =>
  1390. // """"IWKPDEN"""" --> 10uA pull
  1391. // down (weak strength)""" """ 10 =>
  1392. // """"IOE_N"""" --> output enable
  1393. // value. level ‘0’ enables the IDO
  1394. // to PAD path. Else PAD is
  1395. // tristated (except for the PU/PD
  1396. // which are independent)." "Value
  1397. // gets latched at rising edge of
  1398. // RET33""" """ 11 =>""""
  1399. // IOE_N_OV"""" --> output enable
  1400. // overirde. when bit is set to
  1401. // logic '1' IOE_N (bit 4) value
  1402. // will control IO IOE_N signal else
  1403. // IOE_N is control via selected HW
  1404. // logic. strong PULL UP and PULL
  1405. // Down control is disabled for all
  1406. // IO's. both controls are tied to
  1407. // logic level '0'.
  1408. #define OCP_SHARED_GPIO_PAD_CONFIG_11_MEM_GPIO_PAD_CONFIG_11_S 0
  1409. //******************************************************************************
  1410. //
  1411. // The following are defines for the bit fields in the
  1412. // OCP_SHARED_O_GPIO_PAD_CONFIG_12 register.
  1413. //
  1414. //******************************************************************************
  1415. #define OCP_SHARED_GPIO_PAD_CONFIG_12_MEM_GPIO_PAD_CONFIG_12_M \
  1416. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1417. // used for PAD IO mode selection.
  1418. // io_register={ "" 0 =>
  1419. // """"CONFMODE[0]"""""" "" 1 =>
  1420. // """"CONFMODE[1]"""""" "" 2 =>
  1421. // """"CONFMODE[2]"""""" "" 3 =>
  1422. // """"CONFMODE[3]"""" 4 =>
  1423. // """"IODEN"""" --> When level ‘1’
  1424. // this disables the PMOS xtors of
  1425. // the output stages making them
  1426. // open-drain type." it can be used
  1427. // for I2C type of peripherals. 5 =>
  1428. // """"I2MAEN"""" --> Level ‘1’
  1429. // enables the approx 2mA output
  1430. // stage""" """ 6 => """"I4MAEN""""
  1431. // --> Level ‘1’ enables the approx
  1432. // 4mA output stage""" """ 7 =>
  1433. // """"I8MAEN"""" --> Level ‘1’
  1434. // enables the approx 8mA output
  1435. // stage. Note: any drive strength
  1436. // between 2mA and 14mA can be
  1437. // obtained with combination of 2mA
  1438. // 4mA and 8mA.""" """ 8 =>
  1439. // """"IWKPUEN"""" --> 10uA pull up
  1440. // (weak strength)""" """ 9 =>
  1441. // """"IWKPDEN"""" --> 10uA pull
  1442. // down (weak strength)""" """ 10 =>
  1443. // """"IOE_N"""" --> output enable
  1444. // value. level ‘0’ enables the IDO
  1445. // to PAD path. Else PAD is
  1446. // tristated (except for the PU/PD
  1447. // which are independent)." "Value
  1448. // gets latched at rising edge of
  1449. // RET33""" """ 11 =>""""
  1450. // IOE_N_OV"""" --> output enable
  1451. // overirde. when bit is set to
  1452. // logic '1' IOE_N (bit 4) value
  1453. // will control IO IOE_N signal else
  1454. // IOE_N is control via selected HW
  1455. // logic. strong PULL UP and PULL
  1456. // Down control is disabled for all
  1457. // IO's. both controls are tied to
  1458. // logic level '0'.
  1459. #define OCP_SHARED_GPIO_PAD_CONFIG_12_MEM_GPIO_PAD_CONFIG_12_S 0
  1460. //******************************************************************************
  1461. //
  1462. // The following are defines for the bit fields in the
  1463. // OCP_SHARED_O_GPIO_PAD_CONFIG_13 register.
  1464. //
  1465. //******************************************************************************
  1466. #define OCP_SHARED_GPIO_PAD_CONFIG_13_MEM_GPIO_PAD_CONFIG_13_M \
  1467. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1468. // used for PAD IO mode selection.
  1469. // io_register={ "" 0 =>
  1470. // """"CONFMODE[0]"""""" "" 1 =>
  1471. // """"CONFMODE[1]"""""" "" 2 =>
  1472. // """"CONFMODE[2]"""""" "" 3 =>
  1473. // """"CONFMODE[3]"""" 4 =>
  1474. // """"IODEN"""" --> When level ‘1’
  1475. // this disables the PMOS xtors of
  1476. // the output stages making them
  1477. // open-drain type." it can be used
  1478. // for I2C type of peripherals. 5 =>
  1479. // """"I2MAEN"""" --> Level ‘1’
  1480. // enables the approx 2mA output
  1481. // stage""" """ 6 => """"I4MAEN""""
  1482. // --> Level ‘1’ enables the approx
  1483. // 4mA output stage""" """ 7 =>
  1484. // """"I8MAEN"""" --> Level ‘1’
  1485. // enables the approx 8mA output
  1486. // stage. Note: any drive strength
  1487. // between 2mA and 14mA can be
  1488. // obtained with combination of 2mA
  1489. // 4mA and 8mA.""" """ 8 =>
  1490. // """"IWKPUEN"""" --> 10uA pull up
  1491. // (weak strength)""" """ 9 =>
  1492. // """"IWKPDEN"""" --> 10uA pull
  1493. // down (weak strength)""" """ 10 =>
  1494. // """"IOE_N"""" --> output enable
  1495. // value. level ‘0’ enables the IDO
  1496. // to PAD path. Else PAD is
  1497. // tristated (except for the PU/PD
  1498. // which are independent)." "Value
  1499. // gets latched at rising edge of
  1500. // RET33""" """ 11 =>""""
  1501. // IOE_N_OV"""" --> output enable
  1502. // overirde. when bit is set to
  1503. // logic '1' IOE_N (bit 4) value
  1504. // will control IO IOE_N signal else
  1505. // IOE_N is control via selected HW
  1506. // logic. strong PULL UP and PULL
  1507. // Down control is disabled for all
  1508. // IO's. both controls are tied to
  1509. // logic level '0'.
  1510. #define OCP_SHARED_GPIO_PAD_CONFIG_13_MEM_GPIO_PAD_CONFIG_13_S 0
  1511. //******************************************************************************
  1512. //
  1513. // The following are defines for the bit fields in the
  1514. // OCP_SHARED_O_GPIO_PAD_CONFIG_14 register.
  1515. //
  1516. //******************************************************************************
  1517. #define OCP_SHARED_GPIO_PAD_CONFIG_14_MEM_GPIO_PAD_CONFIG_14_M \
  1518. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1519. // used for PAD IO mode selection.
  1520. // io_register={ "" 0 =>
  1521. // """"CONFMODE[0]"""""" "" 1 =>
  1522. // """"CONFMODE[1]"""""" "" 2 =>
  1523. // """"CONFMODE[2]"""""" "" 3 =>
  1524. // """"CONFMODE[3]"""" 4 =>
  1525. // """"IODEN"""" --> When level ‘1’
  1526. // this disables the PMOS xtors of
  1527. // the output stages making them
  1528. // open-drain type." it can be used
  1529. // for I2C type of peripherals. 5 =>
  1530. // """"I2MAEN"""" --> Level ‘1’
  1531. // enables the approx 2mA output
  1532. // stage""" """ 6 => """"I4MAEN""""
  1533. // --> Level ‘1’ enables the approx
  1534. // 4mA output stage""" """ 7 =>
  1535. // """"I8MAEN"""" --> Level ‘1’
  1536. // enables the approx 8mA output
  1537. // stage. Note: any drive strength
  1538. // between 2mA and 14mA can be
  1539. // obtained with combination of 2mA
  1540. // 4mA and 8mA.""" """ 8 =>
  1541. // """"IWKPUEN"""" --> 10uA pull up
  1542. // (weak strength)""" """ 9 =>
  1543. // """"IWKPDEN"""" --> 10uA pull
  1544. // down (weak strength)""" """ 10 =>
  1545. // """"IOE_N"""" --> output enable
  1546. // value. level ‘0’ enables the IDO
  1547. // to PAD path. Else PAD is
  1548. // tristated (except for the PU/PD
  1549. // which are independent)." "Value
  1550. // gets latched at rising edge of
  1551. // RET33""" """ 11 =>""""
  1552. // IOE_N_OV"""" --> output enable
  1553. // overirde. when bit is set to
  1554. // logic '1' IOE_N (bit 4) value
  1555. // will control IO IOE_N signal else
  1556. // IOE_N is control via selected HW
  1557. // logic. strong PULL UP and PULL
  1558. // Down control is disabled for all
  1559. // IO's. both controls are tied to
  1560. // logic level '0'.
  1561. #define OCP_SHARED_GPIO_PAD_CONFIG_14_MEM_GPIO_PAD_CONFIG_14_S 0
  1562. //******************************************************************************
  1563. //
  1564. // The following are defines for the bit fields in the
  1565. // OCP_SHARED_O_GPIO_PAD_CONFIG_15 register.
  1566. //
  1567. //******************************************************************************
  1568. #define OCP_SHARED_GPIO_PAD_CONFIG_15_MEM_GPIO_PAD_CONFIG_15_M \
  1569. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1570. // used for PAD IO mode selection.
  1571. // io_register={ "" 0 =>
  1572. // """"CONFMODE[0]"""""" "" 1 =>
  1573. // """"CONFMODE[1]"""""" "" 2 =>
  1574. // """"CONFMODE[2]"""""" "" 3 =>
  1575. // """"CONFMODE[3]"""" 4 =>
  1576. // """"IODEN"""" --> When level ‘1’
  1577. // this disables the PMOS xtors of
  1578. // the output stages making them
  1579. // open-drain type." it can be used
  1580. // for I2C type of peripherals. 5 =>
  1581. // """"I2MAEN"""" --> Level ‘1’
  1582. // enables the approx 2mA output
  1583. // stage""" """ 6 => """"I4MAEN""""
  1584. // --> Level ‘1’ enables the approx
  1585. // 4mA output stage""" """ 7 =>
  1586. // """"I8MAEN"""" --> Level ‘1’
  1587. // enables the approx 8mA output
  1588. // stage. Note: any drive strength
  1589. // between 2mA and 14mA can be
  1590. // obtained with combination of 2mA
  1591. // 4mA and 8mA.""" """ 8 =>
  1592. // """"IWKPUEN"""" --> 10uA pull up
  1593. // (weak strength)""" """ 9 =>
  1594. // """"IWKPDEN"""" --> 10uA pull
  1595. // down (weak strength)""" """ 10 =>
  1596. // """"IOE_N"""" --> output enable
  1597. // value. level ‘0’ enables the IDO
  1598. // to PAD path. Else PAD is
  1599. // tristated (except for the PU/PD
  1600. // which are independent)." "Value
  1601. // gets latched at rising edge of
  1602. // RET33""" """ 11 =>""""
  1603. // IOE_N_OV"""" --> output enable
  1604. // overirde. when bit is set to
  1605. // logic '1' IOE_N (bit 4) value
  1606. // will control IO IOE_N signal else
  1607. // IOE_N is control via selected HW
  1608. // logic. strong PULL UP and PULL
  1609. // Down control is disabled for all
  1610. // IO's. both controls are tied to
  1611. // logic level '0'.
  1612. #define OCP_SHARED_GPIO_PAD_CONFIG_15_MEM_GPIO_PAD_CONFIG_15_S 0
  1613. //******************************************************************************
  1614. //
  1615. // The following are defines for the bit fields in the
  1616. // OCP_SHARED_O_GPIO_PAD_CONFIG_16 register.
  1617. //
  1618. //******************************************************************************
  1619. #define OCP_SHARED_GPIO_PAD_CONFIG_16_MEM_GPIO_PAD_CONFIG_16_M \
  1620. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1621. // used for PAD IO mode selection.
  1622. // io_register={ "" 0 =>
  1623. // """"CONFMODE[0]"""""" "" 1 =>
  1624. // """"CONFMODE[1]"""""" "" 2 =>
  1625. // """"CONFMODE[2]"""""" "" 3 =>
  1626. // """"CONFMODE[3]"""" 4 =>
  1627. // """"IODEN"""" --> When level ‘1’
  1628. // this disables the PMOS xtors of
  1629. // the output stages making them
  1630. // open-drain type." it can be used
  1631. // for I2C type of peripherals. 5 =>
  1632. // """"I2MAEN"""" --> Level ‘1’
  1633. // enables the approx 2mA output
  1634. // stage""" """ 6 => """"I4MAEN""""
  1635. // --> Level ‘1’ enables the approx
  1636. // 4mA output stage""" """ 7 =>
  1637. // """"I8MAEN"""" --> Level ‘1’
  1638. // enables the approx 8mA output
  1639. // stage. Note: any drive strength
  1640. // between 2mA and 14mA can be
  1641. // obtained with combination of 2mA
  1642. // 4mA and 8mA.""" """ 8 =>
  1643. // """"IWKPUEN"""" --> 10uA pull up
  1644. // (weak strength)""" """ 9 =>
  1645. // """"IWKPDEN"""" --> 10uA pull
  1646. // down (weak strength)""" """ 10 =>
  1647. // """"IOE_N"""" --> output enable
  1648. // value. level ‘0’ enables the IDO
  1649. // to PAD path. Else PAD is
  1650. // tristated (except for the PU/PD
  1651. // which are independent)." "Value
  1652. // gets latched at rising edge of
  1653. // RET33""" """ 11 =>""""
  1654. // IOE_N_OV"""" --> output enable
  1655. // overirde. when bit is set to
  1656. // logic '1' IOE_N (bit 4) value
  1657. // will control IO IOE_N signal else
  1658. // IOE_N is control via selected HW
  1659. // logic. strong PULL UP and PULL
  1660. // Down control is disabled for all
  1661. // IO's. both controls are tied to
  1662. // logic level '0'.
  1663. #define OCP_SHARED_GPIO_PAD_CONFIG_16_MEM_GPIO_PAD_CONFIG_16_S 0
  1664. //******************************************************************************
  1665. //
  1666. // The following are defines for the bit fields in the
  1667. // OCP_SHARED_O_GPIO_PAD_CONFIG_17 register.
  1668. //
  1669. //******************************************************************************
  1670. #define OCP_SHARED_GPIO_PAD_CONFIG_17_MEM_GPIO_PAD_CONFIG_17_M \
  1671. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1672. // used for PAD IO mode selection.
  1673. // io_register={ "" 0 =>
  1674. // """"CONFMODE[0]"""""" "" 1 =>
  1675. // """"CONFMODE[1]"""""" "" 2 =>
  1676. // """"CONFMODE[2]"""""" "" 3 =>
  1677. // """"CONFMODE[3]"""" 4 =>
  1678. // """"IODEN"""" --> When level ‘1’
  1679. // this disables the PMOS xtors of
  1680. // the output stages making them
  1681. // open-drain type." it can be used
  1682. // for I2C type of peripherals. 5 =>
  1683. // """"I2MAEN"""" --> Level ‘1’
  1684. // enables the approx 2mA output
  1685. // stage""" """ 6 => """"I4MAEN""""
  1686. // --> Level ‘1’ enables the approx
  1687. // 4mA output stage""" """ 7 =>
  1688. // """"I8MAEN"""" --> Level ‘1’
  1689. // enables the approx 8mA output
  1690. // stage. Note: any drive strength
  1691. // between 2mA and 14mA can be
  1692. // obtained with combination of 2mA
  1693. // 4mA and 8mA.""" """ 8 =>
  1694. // """"IWKPUEN"""" --> 10uA pull up
  1695. // (weak strength)""" """ 9 =>
  1696. // """"IWKPDEN"""" --> 10uA pull
  1697. // down (weak strength)""" """ 10 =>
  1698. // """"IOE_N"""" --> output enable
  1699. // value. level ‘0’ enables the IDO
  1700. // to PAD path. Else PAD is
  1701. // tristated (except for the PU/PD
  1702. // which are independent)." "Value
  1703. // gets latched at rising edge of
  1704. // RET33""" """ 11 =>""""
  1705. // IOE_N_OV"""" --> output enable
  1706. // overirde. when bit is set to
  1707. // logic '1' IOE_N (bit 4) value
  1708. // will control IO IOE_N signal else
  1709. // IOE_N is control via selected HW
  1710. // logic. strong PULL UP and PULL
  1711. // Down control is disabled for all
  1712. // IO's. both controls are tied to
  1713. // logic level '0'.
  1714. #define OCP_SHARED_GPIO_PAD_CONFIG_17_MEM_GPIO_PAD_CONFIG_17_S 0
  1715. //******************************************************************************
  1716. //
  1717. // The following are defines for the bit fields in the
  1718. // OCP_SHARED_O_GPIO_PAD_CONFIG_18 register.
  1719. //
  1720. //******************************************************************************
  1721. #define OCP_SHARED_GPIO_PAD_CONFIG_18_MEM_GPIO_PAD_CONFIG_18_M \
  1722. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1723. // used for PAD IO mode selection.
  1724. // io_register={ "" 0 =>
  1725. // """"CONFMODE[0]"""""" "" 1 =>
  1726. // """"CONFMODE[1]"""""" "" 2 =>
  1727. // """"CONFMODE[2]"""""" "" 3 =>
  1728. // """"CONFMODE[3]"""" 4 =>
  1729. // """"IODEN"""" --> When level ‘1’
  1730. // this disables the PMOS xtors of
  1731. // the output stages making them
  1732. // open-drain type." it can be used
  1733. // for I2C type of peripherals. 5 =>
  1734. // """"I2MAEN"""" --> Level ‘1’
  1735. // enables the approx 2mA output
  1736. // stage""" """ 6 => """"I4MAEN""""
  1737. // --> Level ‘1’ enables the approx
  1738. // 4mA output stage""" """ 7 =>
  1739. // """"I8MAEN"""" --> Level ‘1’
  1740. // enables the approx 8mA output
  1741. // stage. Note: any drive strength
  1742. // between 2mA and 14mA can be
  1743. // obtained with combination of 2mA
  1744. // 4mA and 8mA.""" """ 8 =>
  1745. // """"IWKPUEN"""" --> 10uA pull up
  1746. // (weak strength)""" """ 9 =>
  1747. // """"IWKPDEN"""" --> 10uA pull
  1748. // down (weak strength)""" """ 10 =>
  1749. // """"IOE_N"""" --> output enable
  1750. // value. level ‘0’ enables the IDO
  1751. // to PAD path. Else PAD is
  1752. // tristated (except for the PU/PD
  1753. // which are independent)." "Value
  1754. // gets latched at rising edge of
  1755. // RET33""" """ 11 =>""""
  1756. // IOE_N_OV"""" --> output enable
  1757. // overirde. when bit is set to
  1758. // logic '1' IOE_N (bit 4) value
  1759. // will control IO IOE_N signal else
  1760. // IOE_N is control via selected HW
  1761. // logic. strong PULL UP and PULL
  1762. // Down control is disabled for all
  1763. // IO's. both controls are tied to
  1764. // logic level '0'.
  1765. #define OCP_SHARED_GPIO_PAD_CONFIG_18_MEM_GPIO_PAD_CONFIG_18_S 0
  1766. //******************************************************************************
  1767. //
  1768. // The following are defines for the bit fields in the
  1769. // OCP_SHARED_O_GPIO_PAD_CONFIG_19 register.
  1770. //
  1771. //******************************************************************************
  1772. #define OCP_SHARED_GPIO_PAD_CONFIG_19_MEM_GPIO_PAD_CONFIG_19_M \
  1773. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1774. // used for PAD IO mode selection.
  1775. // io_register={ "" 0 =>
  1776. // """"CONFMODE[0]"""""" "" 1 =>
  1777. // """"CONFMODE[1]"""""" "" 2 =>
  1778. // """"CONFMODE[2]"""""" "" 3 =>
  1779. // """"CONFMODE[3]"""" 4 =>
  1780. // """"IODEN"""" --> When level ‘1’
  1781. // this disables the PMOS xtors of
  1782. // the output stages making them
  1783. // open-drain type." it can be used
  1784. // for I2C type of peripherals. 5 =>
  1785. // """"I2MAEN"""" --> Level ‘1’
  1786. // enables the approx 2mA output
  1787. // stage""" """ 6 => """"I4MAEN""""
  1788. // --> Level ‘1’ enables the approx
  1789. // 4mA output stage""" """ 7 =>
  1790. // """"I8MAEN"""" --> Level ‘1’
  1791. // enables the approx 8mA output
  1792. // stage. Note: any drive strength
  1793. // between 2mA and 14mA can be
  1794. // obtained with combination of 2mA
  1795. // 4mA and 8mA.""" """ 8 =>
  1796. // """"IWKPUEN"""" --> 10uA pull up
  1797. // (weak strength)""" """ 9 =>
  1798. // """"IWKPDEN"""" --> 10uA pull
  1799. // down (weak strength)""" """ 10 =>
  1800. // """"IOE_N"""" --> output enable
  1801. // value. level ‘0’ enables the IDO
  1802. // to PAD path. Else PAD is
  1803. // tristated (except for the PU/PD
  1804. // which are independent)." "Value
  1805. // gets latched at rising edge of
  1806. // RET33""" """ 11 =>""""
  1807. // IOE_N_OV"""" --> output enable
  1808. // overirde. when bit is set to
  1809. // logic '1' IOE_N (bit 4) value
  1810. // will control IO IOE_N signal else
  1811. // IOE_N is control via selected HW
  1812. // logic. strong PULL UP and PULL
  1813. // Down control is disabled for all
  1814. // IO's. both controls are tied to
  1815. // logic level '0'.
  1816. #define OCP_SHARED_GPIO_PAD_CONFIG_19_MEM_GPIO_PAD_CONFIG_19_S 0
  1817. //******************************************************************************
  1818. //
  1819. // The following are defines for the bit fields in the
  1820. // OCP_SHARED_O_GPIO_PAD_CONFIG_20 register.
  1821. //
  1822. //******************************************************************************
  1823. #define OCP_SHARED_GPIO_PAD_CONFIG_20_MEM_GPIO_PAD_CONFIG_20_M \
  1824. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1825. // used for PAD IO mode selection.
  1826. // io_register={ "" 0 =>
  1827. // """"CONFMODE[0]"""""" "" 1 =>
  1828. // """"CONFMODE[1]"""""" "" 2 =>
  1829. // """"CONFMODE[2]"""""" "" 3 =>
  1830. // """"CONFMODE[3]"""" 4 =>
  1831. // """"IODEN"""" --> When level ‘1’
  1832. // this disables the PMOS xtors of
  1833. // the output stages making them
  1834. // open-drain type." it can be used
  1835. // for I2C type of peripherals. 5 =>
  1836. // """"I2MAEN"""" --> Level ‘1’
  1837. // enables the approx 2mA output
  1838. // stage""" """ 6 => """"I4MAEN""""
  1839. // --> Level ‘1’ enables the approx
  1840. // 4mA output stage""" """ 7 =>
  1841. // """"I8MAEN"""" --> Level ‘1’
  1842. // enables the approx 8mA output
  1843. // stage. Note: any drive strength
  1844. // between 2mA and 14mA can be
  1845. // obtained with combination of 2mA
  1846. // 4mA and 8mA.""" """ 8 =>
  1847. // """"IWKPUEN"""" --> 10uA pull up
  1848. // (weak strength)""" """ 9 =>
  1849. // """"IWKPDEN"""" --> 10uA pull
  1850. // down (weak strength)""" """ 10 =>
  1851. // """"IOE_N"""" --> output enable
  1852. // value. level ‘0’ enables the IDO
  1853. // to PAD path. Else PAD is
  1854. // tristated (except for the PU/PD
  1855. // which are independent)." "Value
  1856. // gets latched at rising edge of
  1857. // RET33""" """ 11 =>""""
  1858. // IOE_N_OV"""" --> output enable
  1859. // overirde. when bit is set to
  1860. // logic '1' IOE_N (bit 4) value
  1861. // will control IO IOE_N signal else
  1862. // IOE_N is control via selected HW
  1863. // logic. strong PULL UP and PULL
  1864. // Down control is disabled for all
  1865. // IO's. both controls are tied to
  1866. // logic level '0'.
  1867. #define OCP_SHARED_GPIO_PAD_CONFIG_20_MEM_GPIO_PAD_CONFIG_20_S 0
  1868. //******************************************************************************
  1869. //
  1870. // The following are defines for the bit fields in the
  1871. // OCP_SHARED_O_GPIO_PAD_CONFIG_21 register.
  1872. //
  1873. //******************************************************************************
  1874. #define OCP_SHARED_GPIO_PAD_CONFIG_21_MEM_GPIO_PAD_CONFIG_21_M \
  1875. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1876. // used for PAD IO mode selection.
  1877. // io_register={ "" 0 =>
  1878. // """"CONFMODE[0]"""""" "" 1 =>
  1879. // """"CONFMODE[1]"""""" "" 2 =>
  1880. // """"CONFMODE[2]"""""" "" 3 =>
  1881. // """"CONFMODE[3]"""" 4 =>
  1882. // """"IODEN"""" --> When level ‘1’
  1883. // this disables the PMOS xtors of
  1884. // the output stages making them
  1885. // open-drain type." it can be used
  1886. // for I2C type of peripherals. 5 =>
  1887. // """"I2MAEN"""" --> Level ‘1’
  1888. // enables the approx 2mA output
  1889. // stage""" """ 6 => """"I4MAEN""""
  1890. // --> Level ‘1’ enables the approx
  1891. // 4mA output stage""" """ 7 =>
  1892. // """"I8MAEN"""" --> Level ‘1’
  1893. // enables the approx 8mA output
  1894. // stage. Note: any drive strength
  1895. // between 2mA and 14mA can be
  1896. // obtained with combination of 2mA
  1897. // 4mA and 8mA.""" """ 8 =>
  1898. // """"IWKPUEN"""" --> 10uA pull up
  1899. // (weak strength)""" """ 9 =>
  1900. // """"IWKPDEN"""" --> 10uA pull
  1901. // down (weak strength)""" """ 10 =>
  1902. // """"IOE_N"""" --> output enable
  1903. // value. level ‘0’ enables the IDO
  1904. // to PAD path. Else PAD is
  1905. // tristated (except for the PU/PD
  1906. // which are independent)." "Value
  1907. // gets latched at rising edge of
  1908. // RET33""" """ 11 =>""""
  1909. // IOE_N_OV"""" --> output enable
  1910. // overirde. when bit is set to
  1911. // logic '1' IOE_N (bit 4) value
  1912. // will control IO IOE_N signal else
  1913. // IOE_N is control via selected HW
  1914. // logic. strong PULL UP and PULL
  1915. // Down control is disabled for all
  1916. // IO's. both controls are tied to
  1917. // logic level '0'.
  1918. #define OCP_SHARED_GPIO_PAD_CONFIG_21_MEM_GPIO_PAD_CONFIG_21_S 0
  1919. //******************************************************************************
  1920. //
  1921. // The following are defines for the bit fields in the
  1922. // OCP_SHARED_O_GPIO_PAD_CONFIG_22 register.
  1923. //
  1924. //******************************************************************************
  1925. #define OCP_SHARED_GPIO_PAD_CONFIG_22_MEM_GPIO_PAD_CONFIG_22_M \
  1926. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1927. // used for PAD IO mode selection.
  1928. // io_register={ "" 0 =>
  1929. // """"CONFMODE[0]"""""" "" 1 =>
  1930. // """"CONFMODE[1]"""""" "" 2 =>
  1931. // """"CONFMODE[2]"""""" "" 3 =>
  1932. // """"CONFMODE[3]"""" 4 =>
  1933. // """"IODEN"""" --> When level ‘1’
  1934. // this disables the PMOS xtors of
  1935. // the output stages making them
  1936. // open-drain type." it can be used
  1937. // for I2C type of peripherals. 5 =>
  1938. // """"I2MAEN"""" --> Level ‘1’
  1939. // enables the approx 2mA output
  1940. // stage""" """ 6 => """"I4MAEN""""
  1941. // --> Level ‘1’ enables the approx
  1942. // 4mA output stage""" """ 7 =>
  1943. // """"I8MAEN"""" --> Level ‘1’
  1944. // enables the approx 8mA output
  1945. // stage. Note: any drive strength
  1946. // between 2mA and 14mA can be
  1947. // obtained with combination of 2mA
  1948. // 4mA and 8mA.""" """ 8 =>
  1949. // """"IWKPUEN"""" --> 10uA pull up
  1950. // (weak strength)""" """ 9 =>
  1951. // """"IWKPDEN"""" --> 10uA pull
  1952. // down (weak strength)""" """ 10 =>
  1953. // """"IOE_N"""" --> output enable
  1954. // value. level ‘0’ enables the IDO
  1955. // to PAD path. Else PAD is
  1956. // tristated (except for the PU/PD
  1957. // which are independent)." "Value
  1958. // gets latched at rising edge of
  1959. // RET33""" """ 11 =>""""
  1960. // IOE_N_OV"""" --> output enable
  1961. // overirde. when bit is set to
  1962. // logic '1' IOE_N (bit 4) value
  1963. // will control IO IOE_N signal else
  1964. // IOE_N is control via selected HW
  1965. // logic. strong PULL UP and PULL
  1966. // Down control is disabled for all
  1967. // IO's. both controls are tied to
  1968. // logic level '0'.
  1969. #define OCP_SHARED_GPIO_PAD_CONFIG_22_MEM_GPIO_PAD_CONFIG_22_S 0
  1970. //******************************************************************************
  1971. //
  1972. // The following are defines for the bit fields in the
  1973. // OCP_SHARED_O_GPIO_PAD_CONFIG_23 register.
  1974. //
  1975. //******************************************************************************
  1976. #define OCP_SHARED_GPIO_PAD_CONFIG_23_MEM_GPIO_PAD_CONFIG_23_M \
  1977. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  1978. // used for PAD IO mode selection.
  1979. // io_register={ "" 0 =>
  1980. // """"CONFMODE[0]"""""" "" 1 =>
  1981. // """"CONFMODE[1]"""""" "" 2 =>
  1982. // """"CONFMODE[2]"""""" "" 3 =>
  1983. // """"CONFMODE[3]"""" 4 =>
  1984. // """"IODEN"""" --> When level ‘1’
  1985. // this disables the PMOS xtors of
  1986. // the output stages making them
  1987. // open-drain type." it can be used
  1988. // for I2C type of peripherals. 5 =>
  1989. // """"I2MAEN"""" --> Level ‘1’
  1990. // enables the approx 2mA output
  1991. // stage""" """ 6 => """"I4MAEN""""
  1992. // --> Level ‘1’ enables the approx
  1993. // 4mA output stage""" """ 7 =>
  1994. // """"I8MAEN"""" --> Level ‘1’
  1995. // enables the approx 8mA output
  1996. // stage. Note: any drive strength
  1997. // between 2mA and 14mA can be
  1998. // obtained with combination of 2mA
  1999. // 4mA and 8mA.""" """ 8 =>
  2000. // """"IWKPUEN"""" --> 10uA pull up
  2001. // (weak strength)""" """ 9 =>
  2002. // """"IWKPDEN"""" --> 10uA pull
  2003. // down (weak strength)""" """ 10 =>
  2004. // """"IOE_N"""" --> output enable
  2005. // value. level ‘0’ enables the IDO
  2006. // to PAD path. Else PAD is
  2007. // tristated (except for the PU/PD
  2008. // which are independent)." "Value
  2009. // gets latched at rising edge of
  2010. // RET33""" """ 11 =>""""
  2011. // IOE_N_OV"""" --> output enable
  2012. // overirde. when bit is set to
  2013. // logic '1' IOE_N (bit 4) value
  2014. // will control IO IOE_N signal else
  2015. // IOE_N is control via selected HW
  2016. // logic. strong PULL UP and PULL
  2017. // Down control is disabled for all
  2018. // IO's. both controls are tied to
  2019. // logic level '0'.
  2020. #define OCP_SHARED_GPIO_PAD_CONFIG_23_MEM_GPIO_PAD_CONFIG_23_S 0
  2021. //******************************************************************************
  2022. //
  2023. // The following are defines for the bit fields in the
  2024. // OCP_SHARED_O_GPIO_PAD_CONFIG_24 register.
  2025. //
  2026. //******************************************************************************
  2027. #define OCP_SHARED_GPIO_PAD_CONFIG_24_MEM_GPIO_PAD_CONFIG_24_M \
  2028. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2029. // used for PAD IO mode selection.
  2030. // io_register={ "" 0 =>
  2031. // """"CONFMODE[0]"""""" "" 1 =>
  2032. // """"CONFMODE[1]"""""" "" 2 =>
  2033. // """"CONFMODE[2]"""""" "" 3 =>
  2034. // """"CONFMODE[3]"""" 4 =>
  2035. // """"IODEN"""" --> When level ‘1’
  2036. // this disables the PMOS xtors of
  2037. // the output stages making them
  2038. // open-drain type." it can be used
  2039. // for I2C type of peripherals. 5 =>
  2040. // """"I2MAEN"""" --> Level ‘1’
  2041. // enables the approx 2mA output
  2042. // stage""" """ 6 => """"I4MAEN""""
  2043. // --> Level ‘1’ enables the approx
  2044. // 4mA output stage""" """ 7 =>
  2045. // """"I8MAEN"""" --> Level ‘1’
  2046. // enables the approx 8mA output
  2047. // stage. Note: any drive strength
  2048. // between 2mA and 14mA can be
  2049. // obtained with combination of 2mA
  2050. // 4mA and 8mA.""" """ 8 =>
  2051. // """"IWKPUEN"""" --> 10uA pull up
  2052. // (weak strength)""" """ 9 =>
  2053. // """"IWKPDEN"""" --> 10uA pull
  2054. // down (weak strength)""" """ 10 =>
  2055. // """"IOE_N"""" --> output enable
  2056. // value. level ‘0’ enables the IDO
  2057. // to PAD path. Else PAD is
  2058. // tristated (except for the PU/PD
  2059. // which are independent)." "Value
  2060. // gets latched at rising edge of
  2061. // RET33""" """ 11 =>""""
  2062. // IOE_N_OV"""" --> output enable
  2063. // overirde. when bit is set to
  2064. // logic '1' IOE_N (bit 4) value
  2065. // will control IO IOE_N signal else
  2066. // IOE_N is control via selected HW
  2067. // logic. strong PULL UP and PULL
  2068. // Down control is disabled for all
  2069. // IO's. both controls are tied to
  2070. // logic level '0'.
  2071. #define OCP_SHARED_GPIO_PAD_CONFIG_24_MEM_GPIO_PAD_CONFIG_24_S 0
  2072. //******************************************************************************
  2073. //
  2074. // The following are defines for the bit fields in the
  2075. // OCP_SHARED_O_GPIO_PAD_CONFIG_25 register.
  2076. //
  2077. //******************************************************************************
  2078. #define OCP_SHARED_GPIO_PAD_CONFIG_25_MEM_GPIO_PAD_CONFIG_25_M \
  2079. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2080. // used for PAD IO mode selection.
  2081. // io_register={ "" 0 =>
  2082. // """"CONFMODE[0]"""""" "" 1 =>
  2083. // """"CONFMODE[1]"""""" "" 2 =>
  2084. // """"CONFMODE[2]"""""" "" 3 =>
  2085. // """"CONFMODE[3]"""" 4 =>
  2086. // """"IODEN"""" --> When level ‘1’
  2087. // this disables the PMOS xtors of
  2088. // the output stages making them
  2089. // open-drain type." it can be used
  2090. // for I2C type of peripherals. 5 =>
  2091. // """"I2MAEN"""" --> Level ‘1’
  2092. // enables the approx 2mA output
  2093. // stage""" """ 6 => """"I4MAEN""""
  2094. // --> Level ‘1’ enables the approx
  2095. // 4mA output stage""" """ 7 =>
  2096. // """"I8MAEN"""" --> Level ‘1’
  2097. // enables the approx 8mA output
  2098. // stage. Note: any drive strength
  2099. // between 2mA and 14mA can be
  2100. // obtained with combination of 2mA
  2101. // 4mA and 8mA.""" """ 8 =>
  2102. // """"IWKPUEN"""" --> 10uA pull up
  2103. // (weak strength)""" """ 9 =>
  2104. // """"IWKPDEN"""" --> 10uA pull
  2105. // down (weak strength)""" """ 10 =>
  2106. // """"IOE_N"""" --> output enable
  2107. // value. level ‘0’ enables the IDO
  2108. // to PAD path. Else PAD is
  2109. // tristated (except for the PU/PD
  2110. // which are independent)." "Value
  2111. // gets latched at rising edge of
  2112. // RET33""" """ 11 =>""""
  2113. // IOE_N_OV"""" --> output enable
  2114. // overirde. when bit is set to
  2115. // logic '1' IOE_N (bit 4) value
  2116. // will control IO IOE_N signal else
  2117. // IOE_N is control via selected HW
  2118. // logic. strong PULL UP and PULL
  2119. // Down control is disabled for all
  2120. // IO's. both controls are tied to
  2121. // logic level '0'.
  2122. #define OCP_SHARED_GPIO_PAD_CONFIG_25_MEM_GPIO_PAD_CONFIG_25_S 0
  2123. //******************************************************************************
  2124. //
  2125. // The following are defines for the bit fields in the
  2126. // OCP_SHARED_O_GPIO_PAD_CONFIG_26 register.
  2127. //
  2128. //******************************************************************************
  2129. #define OCP_SHARED_GPIO_PAD_CONFIG_26_MEM_GPIO_PAD_CONFIG_26_M \
  2130. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2131. // used for PAD IO mode selection.
  2132. // io_register={ "" 0 =>
  2133. // """"CONFMODE[0]"""""" "" 1 =>
  2134. // """"CONFMODE[1]"""""" "" 2 =>
  2135. // """"CONFMODE[2]"""""" "" 3 =>
  2136. // """"CONFMODE[3]"""" 4 =>
  2137. // """"IODEN"""" --> When level ‘1’
  2138. // this disables the PMOS xtors of
  2139. // the output stages making them
  2140. // open-drain type." it can be used
  2141. // for I2C type of peripherals. 5 =>
  2142. // """"I2MAEN"""" --> Level ‘1’
  2143. // enables the approx 2mA output
  2144. // stage""" """ 6 => """"I4MAEN""""
  2145. // --> Level ‘1’ enables the approx
  2146. // 4mA output stage""" """ 7 =>
  2147. // """"I8MAEN"""" --> Level ‘1’
  2148. // enables the approx 8mA output
  2149. // stage. Note: any drive strength
  2150. // between 2mA and 14mA can be
  2151. // obtained with combination of 2mA
  2152. // 4mA and 8mA.""" """ 8 =>
  2153. // """"IWKPUEN"""" --> 10uA pull up
  2154. // (weak strength)""" """ 9 =>
  2155. // """"IWKPDEN"""" --> 10uA pull
  2156. // down (weak strength)""" """ 10 =>
  2157. // """"IOE_N"""" --> output enable
  2158. // value. level ‘0’ enables the IDO
  2159. // to PAD path. Else PAD is
  2160. // tristated (except for the PU/PD
  2161. // which are independent)." "Value
  2162. // gets latched at rising edge of
  2163. // RET33""" """ 11 =>""""
  2164. // IOE_N_OV"""" --> output enable
  2165. // overirde. when bit is set to
  2166. // logic '1' IOE_N (bit 4) value
  2167. // will control IO IOE_N signal else
  2168. // IOE_N is control via selected HW
  2169. // logic. strong PULL UP and PULL
  2170. // Down control is disabled for all
  2171. // IO's. both controls are tied to
  2172. // logic level '0'.
  2173. #define OCP_SHARED_GPIO_PAD_CONFIG_26_MEM_GPIO_PAD_CONFIG_26_S 0
  2174. //******************************************************************************
  2175. //
  2176. // The following are defines for the bit fields in the
  2177. // OCP_SHARED_O_GPIO_PAD_CONFIG_27 register.
  2178. //
  2179. //******************************************************************************
  2180. #define OCP_SHARED_GPIO_PAD_CONFIG_27_MEM_GPIO_PAD_CONFIG_27_M \
  2181. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2182. // used for PAD IO mode selection.
  2183. // io_register={ "" 0 =>
  2184. // """"CONFMODE[0]"""""" "" 1 =>
  2185. // """"CONFMODE[1]"""""" "" 2 =>
  2186. // """"CONFMODE[2]"""""" "" 3 =>
  2187. // """"CONFMODE[3]"""" 4 =>
  2188. // """"IODEN"""" --> When level ‘1’
  2189. // this disables the PMOS xtors of
  2190. // the output stages making them
  2191. // open-drain type." it can be used
  2192. // for I2C type of peripherals. 5 =>
  2193. // """"I2MAEN"""" --> Level ‘1’
  2194. // enables the approx 2mA output
  2195. // stage""" """ 6 => """"I4MAEN""""
  2196. // --> Level ‘1’ enables the approx
  2197. // 4mA output stage""" """ 7 =>
  2198. // """"I8MAEN"""" --> Level ‘1’
  2199. // enables the approx 8mA output
  2200. // stage. Note: any drive strength
  2201. // between 2mA and 14mA can be
  2202. // obtained with combination of 2mA
  2203. // 4mA and 8mA.""" """ 8 =>
  2204. // """"IWKPUEN"""" --> 10uA pull up
  2205. // (weak strength)""" """ 9 =>
  2206. // """"IWKPDEN"""" --> 10uA pull
  2207. // down (weak strength)""" """ 10 =>
  2208. // """"IOE_N"""" --> output enable
  2209. // value. level ‘0’ enables the IDO
  2210. // to PAD path. Else PAD is
  2211. // tristated (except for the PU/PD
  2212. // which are independent)." "Value
  2213. // gets latched at rising edge of
  2214. // RET33""" """ 11 =>""""
  2215. // IOE_N_OV"""" --> output enable
  2216. // overirde. when bit is set to
  2217. // logic '1' IOE_N (bit 4) value
  2218. // will control IO IOE_N signal else
  2219. // IOE_N is control via selected HW
  2220. // logic. strong PULL UP and PULL
  2221. // Down control is disabled for all
  2222. // IO's. both controls are tied to
  2223. // logic level '0'.
  2224. #define OCP_SHARED_GPIO_PAD_CONFIG_27_MEM_GPIO_PAD_CONFIG_27_S 0
  2225. //******************************************************************************
  2226. //
  2227. // The following are defines for the bit fields in the
  2228. // OCP_SHARED_O_GPIO_PAD_CONFIG_28 register.
  2229. //
  2230. //******************************************************************************
  2231. #define OCP_SHARED_GPIO_PAD_CONFIG_28_MEM_GPIO_PAD_CONFIG_28_M \
  2232. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2233. // used for PAD IO mode selection.
  2234. // io_register={ "" 0 =>
  2235. // """"CONFMODE[0]"""""" "" 1 =>
  2236. // """"CONFMODE[1]"""""" "" 2 =>
  2237. // """"CONFMODE[2]"""""" "" 3 =>
  2238. // """"CONFMODE[3]"""" 4 =>
  2239. // """"IODEN"""" --> When level ‘1’
  2240. // this disables the PMOS xtors of
  2241. // the output stages making them
  2242. // open-drain type." it can be used
  2243. // for I2C type of peripherals. 5 =>
  2244. // """"I2MAEN"""" --> Level ‘1’
  2245. // enables the approx 2mA output
  2246. // stage""" """ 6 => """"I4MAEN""""
  2247. // --> Level ‘1’ enables the approx
  2248. // 4mA output stage""" """ 7 =>
  2249. // """"I8MAEN"""" --> Level ‘1’
  2250. // enables the approx 8mA output
  2251. // stage. Note: any drive strength
  2252. // between 2mA and 14mA can be
  2253. // obtained with combination of 2mA
  2254. // 4mA and 8mA.""" """ 8 =>
  2255. // """"IWKPUEN"""" --> 10uA pull up
  2256. // (weak strength)""" """ 9 =>
  2257. // """"IWKPDEN"""" --> 10uA pull
  2258. // down (weak strength)""" """ 10 =>
  2259. // """"IOE_N"""" --> output enable
  2260. // value. level ‘0’ enables the IDO
  2261. // to PAD path. Else PAD is
  2262. // tristated (except for the PU/PD
  2263. // which are independent)." "Value
  2264. // gets latched at rising edge of
  2265. // RET33""" """ 11 =>""""
  2266. // IOE_N_OV"""" --> output enable
  2267. // overirde. when bit is set to
  2268. // logic '1' IOE_N (bit 4) value
  2269. // will control IO IOE_N signal else
  2270. // IOE_N is control via selected HW
  2271. // logic. strong PULL UP and PULL
  2272. // Down control is disabled for all
  2273. // IO's. both controls are tied to
  2274. // logic level '0'.
  2275. #define OCP_SHARED_GPIO_PAD_CONFIG_28_MEM_GPIO_PAD_CONFIG_28_S 0
  2276. //******************************************************************************
  2277. //
  2278. // The following are defines for the bit fields in the
  2279. // OCP_SHARED_O_GPIO_PAD_CONFIG_29 register.
  2280. //
  2281. //******************************************************************************
  2282. #define OCP_SHARED_GPIO_PAD_CONFIG_29_MEM_GPIO_PAD_CONFIG_29_M \
  2283. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2284. // used for PAD IO mode selection.
  2285. // io_register={ "" 0 =>
  2286. // """"CONFMODE[0]"""""" "" 1 =>
  2287. // """"CONFMODE[1]"""""" "" 2 =>
  2288. // """"CONFMODE[2]"""""" "" 3 =>
  2289. // """"CONFMODE[3]"""" 4 =>
  2290. // """"IODEN"""" --> When level ‘1’
  2291. // this disables the PMOS xtors of
  2292. // the output stages making them
  2293. // open-drain type." it can be used
  2294. // for I2C type of peripherals. 5 =>
  2295. // """"I2MAEN"""" --> Level ‘1’
  2296. // enables the approx 2mA output
  2297. // stage""" """ 6 => """"I4MAEN""""
  2298. // --> Level ‘1’ enables the approx
  2299. // 4mA output stage""" """ 7 =>
  2300. // """"I8MAEN"""" --> Level ‘1’
  2301. // enables the approx 8mA output
  2302. // stage. Note: any drive strength
  2303. // between 2mA and 14mA can be
  2304. // obtained with combination of 2mA
  2305. // 4mA and 8mA.""" """ 8 =>
  2306. // """"IWKPUEN"""" --> 10uA pull up
  2307. // (weak strength)""" """ 9 =>
  2308. // """"IWKPDEN"""" --> 10uA pull
  2309. // down (weak strength)""" """ 10 =>
  2310. // """"IOE_N"""" --> output enable
  2311. // value. level ‘0’ enables the IDO
  2312. // to PAD path. Else PAD is
  2313. // tristated (except for the PU/PD
  2314. // which are independent)." "Value
  2315. // gets latched at rising edge of
  2316. // RET33""" """ 11 =>""""
  2317. // IOE_N_OV"""" --> output enable
  2318. // overirde. when bit is set to
  2319. // logic '1' IOE_N (bit 4) value
  2320. // will control IO IOE_N signal else
  2321. // IOE_N is control via selected HW
  2322. // logic. strong PULL UP and PULL
  2323. // Down control is disabled for all
  2324. // IO's. both controls are tied to
  2325. // logic level '0'.
  2326. #define OCP_SHARED_GPIO_PAD_CONFIG_29_MEM_GPIO_PAD_CONFIG_29_S 0
  2327. //******************************************************************************
  2328. //
  2329. // The following are defines for the bit fields in the
  2330. // OCP_SHARED_O_GPIO_PAD_CONFIG_30 register.
  2331. //
  2332. //******************************************************************************
  2333. #define OCP_SHARED_GPIO_PAD_CONFIG_30_MEM_GPIO_PAD_CONFIG_30_M \
  2334. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2335. // used for PAD IO mode selection.
  2336. // io_register={ "" 0 =>
  2337. // """"CONFMODE[0]"""""" "" 1 =>
  2338. // """"CONFMODE[1]"""""" "" 2 =>
  2339. // """"CONFMODE[2]"""""" "" 3 =>
  2340. // """"CONFMODE[3]"""" 4 =>
  2341. // """"IODEN"""" --> When level ‘1’
  2342. // this disables the PMOS xtors of
  2343. // the output stages making them
  2344. // open-drain type." it can be used
  2345. // for I2C type of peripherals. 5 =>
  2346. // """"I2MAEN"""" --> Level ‘1’
  2347. // enables the approx 2mA output
  2348. // stage""" """ 6 => """"I4MAEN""""
  2349. // --> Level ‘1’ enables the approx
  2350. // 4mA output stage""" """ 7 =>
  2351. // """"I8MAEN"""" --> Level ‘1’
  2352. // enables the approx 8mA output
  2353. // stage. Note: any drive strength
  2354. // between 2mA and 14mA can be
  2355. // obtained with combination of 2mA
  2356. // 4mA and 8mA.""" """ 8 =>
  2357. // """"IWKPUEN"""" --> 10uA pull up
  2358. // (weak strength)""" """ 9 =>
  2359. // """"IWKPDEN"""" --> 10uA pull
  2360. // down (weak strength)""" """ 10 =>
  2361. // """"IOE_N"""" --> output enable
  2362. // value. level ‘0’ enables the IDO
  2363. // to PAD path. Else PAD is
  2364. // tristated (except for the PU/PD
  2365. // which are independent)." "Value
  2366. // gets latched at rising edge of
  2367. // RET33""" """ 11 =>""""
  2368. // IOE_N_OV"""" --> output enable
  2369. // overirde. when bit is set to
  2370. // logic '1' IOE_N (bit 4) value
  2371. // will control IO IOE_N signal else
  2372. // IOE_N is control via selected HW
  2373. // logic. strong PULL UP and PULL
  2374. // Down control is disabled for all
  2375. // IO's. both controls are tied to
  2376. // logic level '0'.
  2377. #define OCP_SHARED_GPIO_PAD_CONFIG_30_MEM_GPIO_PAD_CONFIG_30_S 0
  2378. //******************************************************************************
  2379. //
  2380. // The following are defines for the bit fields in the
  2381. // OCP_SHARED_O_GPIO_PAD_CONFIG_31 register.
  2382. //
  2383. //******************************************************************************
  2384. #define OCP_SHARED_GPIO_PAD_CONFIG_31_MEM_GPIO_PAD_CONFIG_31_M \
  2385. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2386. // used for PAD IO mode selection.
  2387. // io_register={ "" 0 =>
  2388. // """"CONFMODE[0]"""""" "" 1 =>
  2389. // """"CONFMODE[1]"""""" "" 2 =>
  2390. // """"CONFMODE[2]"""""" "" 3 =>
  2391. // """"CONFMODE[3]"""" 4 =>
  2392. // """"IODEN"""" --> When level ‘1’
  2393. // this disables the PMOS xtors of
  2394. // the output stages making them
  2395. // open-drain type." it can be used
  2396. // for I2C type of peripherals. 5 =>
  2397. // """"I2MAEN"""" --> Level ‘1’
  2398. // enables the approx 2mA output
  2399. // stage""" """ 6 => """"I4MAEN""""
  2400. // --> Level ‘1’ enables the approx
  2401. // 4mA output stage""" """ 7 =>
  2402. // """"I8MAEN"""" --> Level ‘1’
  2403. // enables the approx 8mA output
  2404. // stage. Note: any drive strength
  2405. // between 2mA and 14mA can be
  2406. // obtained with combination of 2mA
  2407. // 4mA and 8mA.""" """ 8 =>
  2408. // """"IWKPUEN"""" --> 10uA pull up
  2409. // (weak strength)""" """ 9 =>
  2410. // """"IWKPDEN"""" --> 10uA pull
  2411. // down (weak strength)""" """ 10 =>
  2412. // """"IOE_N"""" --> output enable
  2413. // value. level ‘0’ enables the IDO
  2414. // to PAD path. Else PAD is
  2415. // tristated (except for the PU/PD
  2416. // which are independent)." "Value
  2417. // gets latched at rising edge of
  2418. // RET33""" """ 11 =>""""
  2419. // IOE_N_OV"""" --> output enable
  2420. // overirde. when bit is set to
  2421. // logic '1' IOE_N (bit 4) value
  2422. // will control IO IOE_N signal else
  2423. // IOE_N is control via selected HW
  2424. // logic. strong PULL UP and PULL
  2425. // Down control is disabled for all
  2426. // IO's. both controls are tied to
  2427. // logic level '0'.
  2428. #define OCP_SHARED_GPIO_PAD_CONFIG_31_MEM_GPIO_PAD_CONFIG_31_S 0
  2429. //******************************************************************************
  2430. //
  2431. // The following are defines for the bit fields in the
  2432. // OCP_SHARED_O_GPIO_PAD_CONFIG_32 register.
  2433. //
  2434. //******************************************************************************
  2435. #define OCP_SHARED_GPIO_PAD_CONFIG_32_MEM_GPIO_PAD_CONFIG_32_M \
  2436. 0x00000FFF // GPIO 0 register: "Bit 0 - 3 is
  2437. // used for PAD IO mode selection.
  2438. // io_register={ "" 0 =>
  2439. // """"CONFMODE[0]"""""" "" 1 =>
  2440. // """"CONFMODE[1]"""""" "" 2 =>
  2441. // """"CONFMODE[2]"""""" "" 3 =>
  2442. // """"CONFMODE[3]"""" 4 =>
  2443. // """"IODEN"""" --> When level ‘1’
  2444. // this disables the PMOS xtors of
  2445. // the output stages making them
  2446. // open-drain type." it can be used
  2447. // for I2C type of peripherals. 5 =>
  2448. // """"I2MAEN"""" --> Level ‘1’
  2449. // enables the approx 2mA output
  2450. // stage""" """ 6 => """"I4MAEN""""
  2451. // --> Level ‘1’ enables the approx
  2452. // 4mA output stage""" """ 7 =>
  2453. // """"I8MAEN"""" --> Level ‘1’
  2454. // enables the approx 8mA output
  2455. // stage. Note: any drive strength
  2456. // between 2mA and 14mA can be
  2457. // obtained with combination of 2mA
  2458. // 4mA and 8mA.""" """ 8 =>
  2459. // """"IWKPUEN"""" --> 10uA pull up
  2460. // (weak strength)""" """ 9 =>
  2461. // """"IWKPDEN"""" --> 10uA pull
  2462. // down (weak strength)""" """ 10 =>
  2463. // """"IOE_N"""" --> output enable
  2464. // value. level ‘0’ enables the IDO
  2465. // to PAD path. Else PAD is
  2466. // tristated (except for the PU/PD
  2467. // which are independent)." "Value
  2468. // gets latched at rising edge of
  2469. // RET33""" """ 11 =>""""
  2470. // IOE_N_OV"""" --> output enable
  2471. // overirde. when bit is set to
  2472. // logic '1' IOE_N (bit 4) value
  2473. // will control IO IOE_N signal else
  2474. // IOE_N is control via selected HW
  2475. // logic. strong PULL UP and PULL
  2476. // Down control is disabled for all
  2477. // IO's. both controls are tied to
  2478. // logic level '0'.
  2479. #define OCP_SHARED_GPIO_PAD_CONFIG_32_MEM_GPIO_PAD_CONFIG_32_S 0
  2480. //******************************************************************************
  2481. //
  2482. // The following are defines for the bit fields in the
  2483. // OCP_SHARED_O_GPIO_PAD_CONFIG_33 register.
  2484. //
  2485. //******************************************************************************
  2486. #define OCP_SHARED_GPIO_PAD_CONFIG_33_MEM_GPIO_PAD_CONFIG_33_M \
  2487. 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
  2488. // used for PAD IO mode selection.
  2489. // io_register={ "" 0 =>
  2490. // """"CONFMODE[0]"""""" "" 1 =>
  2491. // """"CONFMODE[1]"""""" "" 2 =>
  2492. // """"CONFMODE[2]"""""" "" 3 =>
  2493. // """"CONFMODE[3]"""" 4 =>
  2494. // """"IOE_N"""" --> output enable
  2495. // value. level ‘0’ enables the IDO
  2496. // to PAD path. Else PAD is
  2497. // tristated (except for the PU/PD
  2498. // which are independent)." "Value
  2499. // gets latched at rising edge of
  2500. // RET33""" """ 5 =>""""
  2501. // IOE_N_OV"""" --> output enable
  2502. // overirde. when bit is set to
  2503. // logic '1' IOE_N (bit 4) value
  2504. // will control IO IOE_N signal else
  2505. // IOE_N is control via selected HW
  2506. // logic. strong PULL UP and PULL
  2507. // Down control is disabled for all
  2508. // IO's. both controls are tied to
  2509. // logic level '0'. IODEN and I8MAEN
  2510. // is diesabled for all development
  2511. // IO's. These signals are tied to
  2512. // logic level '0'. common control
  2513. // is implemented for I2MAEN,
  2514. // I4MAEN, WKPU, WKPD control .
  2515. // refer dev_pad_cmn_config register
  2516. // bits.
  2517. #define OCP_SHARED_GPIO_PAD_CONFIG_33_MEM_GPIO_PAD_CONFIG_33_S 0
  2518. //******************************************************************************
  2519. //
  2520. // The following are defines for the bit fields in the
  2521. // OCP_SHARED_O_GPIO_PAD_CONFIG_34 register.
  2522. //
  2523. //******************************************************************************
  2524. #define OCP_SHARED_GPIO_PAD_CONFIG_34_MEM_GPIO_PAD_CONFIG_34_M \
  2525. 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
  2526. // used for PAD IO mode selection.
  2527. // io_register={ "" 0 =>
  2528. // """"CONFMODE[0]"""""" "" 1 =>
  2529. // """"CONFMODE[1]"""""" "" 2 =>
  2530. // """"CONFMODE[2]"""""" "" 3 =>
  2531. // """"CONFMODE[3]"""" 4 =>
  2532. // """"IOE_N"""" --> output enable
  2533. // value. level ‘0’ enables the IDO
  2534. // to PAD path. Else PAD is
  2535. // tristated (except for the PU/PD
  2536. // which are independent)." "Value
  2537. // gets latched at rising edge of
  2538. // RET33""" """ 5 =>""""
  2539. // IOE_N_OV"""" --> output enable
  2540. // overirde. when bit is set to
  2541. // logic '1' IOE_N (bit 4) value
  2542. // will control IO IOE_N signal else
  2543. // IOE_N is control via selected HW
  2544. // logic. strong PULL UP and PULL
  2545. // Down control is disabled for all
  2546. // IO's. both controls are tied to
  2547. // logic level '0'. IODEN and I8MAEN
  2548. // is diesabled for all development
  2549. // IO's. These signals are tied to
  2550. // logic level '0'. common control
  2551. // is implemented for I2MAEN,
  2552. // I4MAEN, WKPU, WKPD control .
  2553. // refer dev_pad_cmn_config register
  2554. // bits.
  2555. #define OCP_SHARED_GPIO_PAD_CONFIG_34_MEM_GPIO_PAD_CONFIG_34_S 0
  2556. //******************************************************************************
  2557. //
  2558. // The following are defines for the bit fields in the
  2559. // OCP_SHARED_O_GPIO_PAD_CONFIG_35 register.
  2560. //
  2561. //******************************************************************************
  2562. #define OCP_SHARED_GPIO_PAD_CONFIG_35_MEM_GPIO_PAD_CONFIG_35_M \
  2563. 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
  2564. // used for PAD IO mode selection.
  2565. // io_register={ "" 0 =>
  2566. // """"CONFMODE[0]"""""" "" 1 =>
  2567. // """"CONFMODE[1]"""""" "" 2 =>
  2568. // """"CONFMODE[2]"""""" "" 3 =>
  2569. // """"CONFMODE[3]"""" 4 =>
  2570. // """"IOE_N"""" --> output enable
  2571. // value. level ‘0’ enables the IDO
  2572. // to PAD path. Else PAD is
  2573. // tristated (except for the PU/PD
  2574. // which are independent)." "Value
  2575. // gets latched at rising edge of
  2576. // RET33""" """ 5 =>""""
  2577. // IOE_N_OV"""" --> output enable
  2578. // overirde. when bit is set to
  2579. // logic '1' IOE_N (bit 4) value
  2580. // will control IO IOE_N signal else
  2581. // IOE_N is control via selected HW
  2582. // logic. strong PULL UP and PULL
  2583. // Down control is disabled for all
  2584. // IO's. both controls are tied to
  2585. // logic level '0'. IODEN and I8MAEN
  2586. // is diesabled for all development
  2587. // IO's. These signals are tied to
  2588. // logic level '0'. common control
  2589. // is implemented for I2MAEN,
  2590. // I4MAEN, WKPU, WKPD control .
  2591. // refer dev_pad_cmn_config register
  2592. // bits.
  2593. #define OCP_SHARED_GPIO_PAD_CONFIG_35_MEM_GPIO_PAD_CONFIG_35_S 0
  2594. //******************************************************************************
  2595. //
  2596. // The following are defines for the bit fields in the
  2597. // OCP_SHARED_O_GPIO_PAD_CONFIG_36 register.
  2598. //
  2599. //******************************************************************************
  2600. #define OCP_SHARED_GPIO_PAD_CONFIG_36_MEM_GPIO_PAD_CONFIG_36_M \
  2601. 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
  2602. // used for PAD IO mode selection.
  2603. // io_register={ "" 0 =>
  2604. // """"CONFMODE[0]"""""" "" 1 =>
  2605. // """"CONFMODE[1]"""""" "" 2 =>
  2606. // """"CONFMODE[2]"""""" "" 3 =>
  2607. // """"CONFMODE[3]"""" 4 =>
  2608. // """"IOE_N"""" --> output enable
  2609. // value. level ‘0’ enables the IDO
  2610. // to PAD path. Else PAD is
  2611. // tristated (except for the PU/PD
  2612. // which are independent)." "Value
  2613. // gets latched at rising edge of
  2614. // RET33""" """ 5 =>""""
  2615. // IOE_N_OV"""" --> output enable
  2616. // overirde. when bit is set to
  2617. // logic '1' IOE_N (bit 4) value
  2618. // will control IO IOE_N signal else
  2619. // IOE_N is control via selected HW
  2620. // logic. strong PULL UP and PULL
  2621. // Down control is disabled for all
  2622. // IO's. both controls are tied to
  2623. // logic level '0'. IODEN and I8MAEN
  2624. // is diesabled for all development
  2625. // IO's. These signals are tied to
  2626. // logic level '0'. common control
  2627. // is implemented for I2MAEN,
  2628. // I4MAEN, WKPU, WKPD control .
  2629. // refer dev_pad_cmn_config register
  2630. // bits.
  2631. #define OCP_SHARED_GPIO_PAD_CONFIG_36_MEM_GPIO_PAD_CONFIG_36_S 0
  2632. //******************************************************************************
  2633. //
  2634. // The following are defines for the bit fields in the
  2635. // OCP_SHARED_O_GPIO_PAD_CONFIG_37 register.
  2636. //
  2637. //******************************************************************************
  2638. #define OCP_SHARED_GPIO_PAD_CONFIG_37_MEM_GPIO_PAD_CONFIG_37_M \
  2639. 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
  2640. // used for PAD IO mode selection.
  2641. // io_register={ "" 0 =>
  2642. // """"CONFMODE[0]"""""" "" 1 =>
  2643. // """"CONFMODE[1]"""""" "" 2 =>
  2644. // """"CONFMODE[2]"""""" "" 3 =>
  2645. // """"CONFMODE[3]"""" 4 =>
  2646. // """"IOE_N"""" --> output enable
  2647. // value. level ‘0’ enables the IDO
  2648. // to PAD path. Else PAD is
  2649. // tristated (except for the PU/PD
  2650. // which are independent)." "Value
  2651. // gets latched at rising edge of
  2652. // RET33""" """ 5 =>""""
  2653. // IOE_N_OV"""" --> output enable
  2654. // overirde. when bit is set to
  2655. // logic '1' IOE_N (bit 4) value
  2656. // will control IO IOE_N signal else
  2657. // IOE_N is control via selected HW
  2658. // logic. strong PULL UP and PULL
  2659. // Down control is disabled for all
  2660. // IO's. both controls are tied to
  2661. // logic level '0'. IODEN and I8MAEN
  2662. // is diesabled for all development
  2663. // IO's. These signals are tied to
  2664. // logic level '0'. common control
  2665. // is implemented for I2MAEN,
  2666. // I4MAEN, WKPU, WKPD control .
  2667. // refer dev_pad_cmn_config register
  2668. // bits.
  2669. #define OCP_SHARED_GPIO_PAD_CONFIG_37_MEM_GPIO_PAD_CONFIG_37_S 0
  2670. //******************************************************************************
  2671. //
  2672. // The following are defines for the bit fields in the
  2673. // OCP_SHARED_O_GPIO_PAD_CONFIG_38 register.
  2674. //
  2675. //******************************************************************************
  2676. #define OCP_SHARED_GPIO_PAD_CONFIG_38_MEM_GPIO_PAD_CONFIG_38_M \
  2677. 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
  2678. // used for PAD IO mode selection.
  2679. // io_register={ "" 0 =>
  2680. // """"CONFMODE[0]"""""" "" 1 =>
  2681. // """"CONFMODE[1]"""""" "" 2 =>
  2682. // """"CONFMODE[2]"""""" "" 3 =>
  2683. // """"CONFMODE[3]"""" 4 =>
  2684. // """"IOE_N"""" --> output enable
  2685. // value. level ‘0’ enables the IDO
  2686. // to PAD path. Else PAD is
  2687. // tristated (except for the PU/PD
  2688. // which are independent)." "Value
  2689. // gets latched at rising edge of
  2690. // RET33""" """ 5 =>""""
  2691. // IOE_N_OV"""" --> output enable
  2692. // overirde. when bit is set to
  2693. // logic '1' IOE_N (bit 4) value
  2694. // will control IO IOE_N signal else
  2695. // IOE_N is control via selected HW
  2696. // logic. strong PULL UP and PULL
  2697. // Down control is disabled for all
  2698. // IO's. both controls are tied to
  2699. // logic level '0'. IODEN and I8MAEN
  2700. // is diesabled for all development
  2701. // IO's. These signals are tied to
  2702. // logic level '0'. common control
  2703. // is implemented for I2MAEN,
  2704. // I4MAEN, WKPU, WKPD control .
  2705. // refer dev_pad_cmn_config register
  2706. // bits.
  2707. #define OCP_SHARED_GPIO_PAD_CONFIG_38_MEM_GPIO_PAD_CONFIG_38_S 0
  2708. //******************************************************************************
  2709. //
  2710. // The following are defines for the bit fields in the
  2711. // OCP_SHARED_O_GPIO_PAD_CONFIG_39 register.
  2712. //
  2713. //******************************************************************************
  2714. #define OCP_SHARED_GPIO_PAD_CONFIG_39_MEM_GPIO_PAD_CONFIG_39_M \
  2715. 0x0000003F // GPIO 0 register: "Bit 0 - 3 is
  2716. // used for PAD IO mode selection.
  2717. // io_register={ "" 0 =>
  2718. // """"CONFMODE[0]"""""" "" 1 =>
  2719. // """"CONFMODE[1]"""""" "" 2 =>
  2720. // """"CONFMODE[2]"""""" "" 3 =>
  2721. // """"CONFMODE[3]"""" 4 =>
  2722. // """"IOE_N"""" --> output enable
  2723. // value. level ‘0’ enables the IDO
  2724. // to PAD path. Else PAD is
  2725. // tristated (except for the PU/PD
  2726. // which are independent)." "Value
  2727. // gets latched at rising edge of
  2728. // RET33""" """ 5 =>""""
  2729. // IOE_N_OV"""" --> output enable
  2730. // overirde. when bit is set to
  2731. // logic '1' IOE_N (bit 4) value
  2732. // will control IO IOE_N signal else
  2733. // IOE_N is control via selected HW
  2734. // logic. strong PULL UP and PULL
  2735. // Down control is disabled for all
  2736. // IO's. both controls are tied to
  2737. // logic level '0'. IODEN and I8MAEN
  2738. // is diesabled for all development
  2739. // IO's. These signals are tied to
  2740. // logic level '0'. common control
  2741. // is implemented for I2MAEN,
  2742. // I4MAEN, WKPU, WKPD control .
  2743. // refer dev_pad_cmn_config register
  2744. // bits.
  2745. #define OCP_SHARED_GPIO_PAD_CONFIG_39_MEM_GPIO_PAD_CONFIG_39_S 0
  2746. //******************************************************************************
  2747. //
  2748. // The following are defines for the bit fields in the
  2749. // OCP_SHARED_O_GPIO_PAD_CONFIG_40 register.
  2750. //
  2751. //******************************************************************************
  2752. #define OCP_SHARED_GPIO_PAD_CONFIG_40_MEM_GPIO_PAD_CONFIG_40_M \
  2753. 0x0007FFFF // GPIO 0 register: "Bit 0 - 3 is
  2754. // used for PAD IO mode selection.
  2755. // io_register={ "" 0 =>
  2756. // """"CONFMODE[0]"""""" "" 1 =>
  2757. // """"CONFMODE[1]"""""" "" 2 =>
  2758. // """"CONFMODE[2]"""""" "" 3 =>
  2759. // """"CONFMODE[3]"""" 4 =>
  2760. // """"IODEN"""" --> When level ‘1’
  2761. // this disables the PMOS xtors of
  2762. // the output stages making them
  2763. // open-drain type." "For example in
  2764. // case of I2C Value gets latched at
  2765. // rising edge of RET33.""" """ 5 =>
  2766. // """"I2MAEN"""" --> Level ‘1’
  2767. // enables the approx 2mA output
  2768. // stage""" """ 6 => """"I4MAEN""""
  2769. // --> Level ‘1’ enables the approx
  2770. // 4mA output stage""" """ 7 =>
  2771. // """"I8MAEN"""" --> Level ‘1’
  2772. // enables the approx 8mA output
  2773. // stage. Note: any drive strength
  2774. // between 2mA and 14mA can be
  2775. // obtained with combination of 2mA
  2776. // 4mA and 8mA.""" """ 8 =>
  2777. // """"IWKPUEN"""" --> 10uA pull up
  2778. // (weak strength)""" """ 9 =>
  2779. // """"IWKPDEN"""" --> 10uA pull
  2780. // down (weak strength)""" """ 10 =>
  2781. // """"IOE_N"""" --> output enable
  2782. // value. level ‘0’ enables the IDO
  2783. // to PAD path. Else PAD is
  2784. // tristated (except for the PU/PD
  2785. // which are independent)." "Value
  2786. // gets latched at rising edge of
  2787. // RET33""" """ 11 =>""""
  2788. // IOE_N_OV"""" --> output enable
  2789. // overirde. when bit is set to
  2790. // logic '1' IOE_N (bit 4) value
  2791. // will control IO IOE_N signal else
  2792. // IOE_N is control via selected HW
  2793. // logic. strong PULL UP and PULL
  2794. // Down control is disabled for all
  2795. // IO's. both controls are tied to
  2796. // logic level '0'.
  2797. #define OCP_SHARED_GPIO_PAD_CONFIG_40_MEM_GPIO_PAD_CONFIG_40_S 0
  2798. //******************************************************************************
  2799. //
  2800. // The following are defines for the bit fields in the
  2801. // OCP_SHARED_O_GPIO_PAD_CMN_CONFIG register.
  2802. //
  2803. //******************************************************************************
  2804. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_D2D_ISO_A_EN \
  2805. 0x00000080 // when '1' enable ISO A control to
  2806. // D2D Pads else ISO is disabled.
  2807. // For these PADS to be functional
  2808. // this signals should be set 0.
  2809. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_D2D_ISO_Y_EN \
  2810. 0x00000040 // when '1' enable ISO Y control to
  2811. // D2D Pads else ISO is disabled.
  2812. // For these PADS to be functional
  2813. // this signals should be set 0.
  2814. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_JTAG_IDIEN \
  2815. 0x00000020 // If level ‘1’ enables the PAD to
  2816. // ODI path for JTAG PADS [PAD 23,
  2817. // 24, 28, 29]. Else ODI is pulled
  2818. // ‘Low’ regardless of PAD level."
  2819. // "Value gets latched at rising
  2820. // edge of RET33.""" """
  2821. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_HYSTVAL_M \
  2822. 0x00000018 // 00’: hysteriris = 10% of VDDS
  2823. // (difference between upper and
  2824. // lower threshold of the schmit
  2825. // trigger) ‘01’: hysteriris = 20%
  2826. // of VDDS (difference between upper
  2827. // and lower threshold of the schmit
  2828. // trigger) ‘10’: hysteriris = 30%
  2829. // of VDDS (difference between upper
  2830. // and lower threshold of the schmit
  2831. // trigger) ‘11’: hysteriris = 40%
  2832. // of VDDS (difference between upper
  2833. // and lower threshold of the schmit
  2834. // trigger)" """
  2835. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_HYSTVAL_S 3
  2836. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_HYSTEN \
  2837. 0x00000004 // If logic ‘0’ there is no
  2838. // hysteresis. Set to ‘1’ to enable
  2839. // hysteresis. Leave the choice to
  2840. // customers"""
  2841. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_IBIASEN \
  2842. 0x00000002 // Normal functional operation set
  2843. // this to logic ‘1’ to increase the
  2844. // speed of the o/p buffer at the
  2845. // cost of 0.2uA static current
  2846. // consumption per IO. During IDDQ
  2847. // test and during Hibernate this
  2848. // would be forced to logic ‘0’.
  2849. // Value is not latched at rising
  2850. // edge of RET33.""
  2851. #define OCP_SHARED_GPIO_PAD_CMN_CONFIG_MEM_PAD_IDIEN \
  2852. 0x00000001 // If level ‘1’ enables the PAD to
  2853. // ODI path. Else ODI is pulled
  2854. // ‘Low’ regardless of PAD level."
  2855. // "Value gets latched at rising
  2856. // edge of RET33.""" """
  2857. //******************************************************************************
  2858. //
  2859. // The following are defines for the bit fields in the
  2860. // OCP_SHARED_O_D2D_DEV_PAD_CMN_CONFIG register.
  2861. //
  2862. //******************************************************************************
  2863. #define OCP_SHARED_D2D_DEV_PAD_CMN_CONFIG_MEM_DEV_PAD_CMN_CONF_M \
  2864. 0x0000003F // this register implements common
  2865. // IO control to all devement mode
  2866. // PADs; these PADs are DEV_PAD33 to
  2867. // DEV_PAD39. Bit [1:0] : Drive
  2868. // strength control. These 2 bits
  2869. // are connected to DEV PAD drive
  2870. // strength control. possible drive
  2871. // stregnths are 2MA, 4MA and 6 MA
  2872. // for the these IO's. bit 0: when
  2873. // set to logic value '1' enable 2MA
  2874. // drive strength for DEVPAD01 to 07
  2875. // bit 1: when set to logic value
  2876. // '1' enable 4MA drive strength for
  2877. // DEVPAD01 to 07. bit[3:2] : WK
  2878. // PULL UP and PULL down control.
  2879. // These 2 bits provide IWKPUEN and
  2880. // IWKPDEN control for all DEV IO's.
  2881. // bit 2: when set to logic value
  2882. // '1' enable WKPU to DEVPAD01 to 07
  2883. // bit 3: when set to logic value
  2884. // '1' enable WKPD to DEVPAD01 to
  2885. // 07. bit 4: WK PULL control for
  2886. // DEV_PKG_DETECT pin. when '1'
  2887. // pullup enabled else it is
  2888. // disable. bit 5: when set to logic
  2889. // value '1' enable 8MA drive
  2890. // strength for DEVPAD01 to 07.
  2891. #define OCP_SHARED_D2D_DEV_PAD_CMN_CONFIG_MEM_DEV_PAD_CMN_CONF_S 0
  2892. //******************************************************************************
  2893. //
  2894. // The following are defines for the bit fields in the
  2895. // OCP_SHARED_O_D2D_TOSTACK_PAD_CONF register.
  2896. //
  2897. //******************************************************************************
  2898. #define OCP_SHARED_D2D_TOSTACK_PAD_CONF_MEM_D2D_TOSTACK_PAD_CONF_M \
  2899. 0x1FFFFFFF // OEN/OEN2X control. When 0 : Act
  2900. // as input buffer else output
  2901. // buffer with drive strength 2.
  2902. // this register control OEN2X pin
  2903. // of D2D TOSTACK PAD: OEN1X and
  2904. // OEN2X decoding is as follows:
  2905. // "when ""00"" :" "when ""01"" :
  2906. // dirve strength is '1' and output
  2907. // buffer enabled." "when ""10"" :
  2908. // drive strength is 2 and output
  2909. // buffer is disabled." "when ""11""
  2910. // : dirve strength is '3' and
  2911. // output buffer enabled."
  2912. #define OCP_SHARED_D2D_TOSTACK_PAD_CONF_MEM_D2D_TOSTACK_PAD_CONF_S 0
  2913. //******************************************************************************
  2914. //
  2915. // The following are defines for the bit fields in the
  2916. // OCP_SHARED_O_D2D_MISC_PAD_CONF register.
  2917. //
  2918. //******************************************************************************
  2919. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_POR_RESET_N \
  2920. 0x00000200 // This register provide OEN2X
  2921. // control to D2D PADS OEN/OEN2X
  2922. // control. When 0 : Act as input
  2923. // buffer else output buffer with
  2924. // drive strength 2.
  2925. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_RESET_N \
  2926. 0x00000100 // OEN/OEN2X control. When 0 : Act
  2927. // as input buffer else output
  2928. // buffer with drive strength 2.
  2929. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_HCLK \
  2930. 0x00000080 // OEN/OEN2X control. When 0 : Act
  2931. // as input buffer else output
  2932. // buffer with drive strength 2.
  2933. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_JTAG_TCK \
  2934. 0x00000040 // OEN/OEN2X control. When 0 : Act
  2935. // as input buffer else output
  2936. // buffer with drive strength 2.
  2937. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_JTAG_TMS \
  2938. 0x00000020 // OEN/OEN2X control. When 0 : Act
  2939. // as input buffer else output
  2940. // buffer with drive strength 2.
  2941. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_JTAG_TDI \
  2942. 0x00000010 // OEN/OEN2X control. When 0 : Act
  2943. // as input buffer else output
  2944. // buffer with drive strength 2.
  2945. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_PIOSC \
  2946. 0x00000008 // OEN/OEN2X control. When 0 : Act
  2947. // as input buffer else output
  2948. // buffer with drive strength 2.
  2949. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_SPARE_M \
  2950. 0x00000007 // D2D SPARE PAD OEN/OEN2X control.
  2951. // When 0: Act as input buffer else
  2952. // output buffer with drive strength
  2953. // 2.
  2954. #define OCP_SHARED_D2D_MISC_PAD_CONF_MEM_D2D_SPARE_S 0
  2955. //******************************************************************************
  2956. //
  2957. // The following are defines for the bit fields in the
  2958. // OCP_SHARED_O_SOP_CONF_OVERRIDE register.
  2959. //
  2960. //******************************************************************************
  2961. #define OCP_SHARED_SOP_CONF_OVERRIDE_MEM_SOP_CONF_OVERRIDE \
  2962. 0x00000001 // when '1' : signal will ovberride
  2963. // SoP setting of JTAG PADS. when
  2964. // '0': SoP setting will control
  2965. // JTAG PADs [ TDI, TDO, TMS, TCK]
  2966. //******************************************************************************
  2967. //
  2968. // The following are defines for the bit fields in the
  2969. // OCP_SHARED_O_CC3XX_DEBUGSS_STATUS register.
  2970. //
  2971. //******************************************************************************
  2972. #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_APPS_MCU_JTAGNSW \
  2973. 0x00000020 // This register contains debug
  2974. // subsystem status bits From APPS
  2975. // MCU status bit to indicates
  2976. // whether serial wire or 4 pins
  2977. // jtag select.
  2978. #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_CJTAG_BYPASS_STATUS \
  2979. 0x00000010 // cjtag bypass bit select
  2980. #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_SW_INTERFACE_SEL_STATUS \
  2981. 0x00000008 // serial wire interface bit select
  2982. #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_APPS_TAP_ENABLE_STATUS \
  2983. 0x00000004 // apps tap enable status
  2984. #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_TAPS_ENABLE_STATUS \
  2985. 0x00000002 // tap enable status
  2986. #define OCP_SHARED_CC3XX_DEBUGSS_STATUS_SSBD_UNLOCK \
  2987. 0x00000001 // ssbd unlock status
  2988. //******************************************************************************
  2989. //
  2990. // The following are defines for the bit fields in the
  2991. // OCP_SHARED_O_CC3XX_DEBUGMUX_SEL register.
  2992. //
  2993. //******************************************************************************
  2994. #define OCP_SHARED_CC3XX_DEBUGMUX_SEL_MEM_CC3XX_DEBUGMUX_SEL_M \
  2995. 0x0000FFFF // debug mux select register. Upper
  2996. // 8 bits are used for debug module
  2997. // selection. Lower 8 bit [7:0] used
  2998. // inside debug module for selecting
  2999. // module specific signals.
  3000. // Bits[15:8: when set x"00" : GPRCM
  3001. // debug bus. When "o1" : SDIO debug
  3002. // debug bus when x"02" :
  3003. // autonoumous SPI when x"03" :
  3004. // TOPIC when x"04": memss when
  3005. // x"25": mcu debug bus : APPS debug
  3006. // when x"45": mcu debug bus : NWP
  3007. // debug when x"65": mcu debug bus :
  3008. // AHB2VBUS debug when x"85": mcu
  3009. // debug bus : VBUS2HAB debug when
  3010. // x"95": mcu debug bus : RCM debug
  3011. // when x"A5": mcu debug bus :
  3012. // crypto debug when x"06": WLAN
  3013. // debug bus when x"07": debugss bus
  3014. // when x"08": ADC debug when x"09":
  3015. // SDIO PHY debug bus then "others"
  3016. // : no debug is selected
  3017. #define OCP_SHARED_CC3XX_DEBUGMUX_SEL_MEM_CC3XX_DEBUGMUX_SEL_S 0
  3018. //******************************************************************************
  3019. //
  3020. // The following are defines for the bit fields in the
  3021. // OCP_SHARED_O_ALT_PC_VAL_NW register.
  3022. //
  3023. //******************************************************************************
  3024. #define OCP_SHARED_ALT_PC_VAL_NW_MEM_ALT_PC_VAL_NW_M \
  3025. 0xFFFFFFFF // 32 bit. Program counter value
  3026. // for 0x4 address when Alt_pc_en_nw
  3027. // is set.
  3028. #define OCP_SHARED_ALT_PC_VAL_NW_MEM_ALT_PC_VAL_NW_S 0
  3029. //******************************************************************************
  3030. //
  3031. // The following are defines for the bit fields in the
  3032. // OCP_SHARED_O_ALT_PC_VAL_APPS register.
  3033. //
  3034. //******************************************************************************
  3035. #define OCP_SHARED_ALT_PC_VAL_APPS_MEM_ALT_PC_VAL_APPS_M \
  3036. 0xFFFFFFFF // 32 bit. Program counter value
  3037. // for 0x4 address when
  3038. // Alt_pc_en_apps is set
  3039. #define OCP_SHARED_ALT_PC_VAL_APPS_MEM_ALT_PC_VAL_APPS_S 0
  3040. //******************************************************************************
  3041. //
  3042. // The following are defines for the bit fields in the
  3043. // OCP_SHARED_O_SPARE_REG_4 register.
  3044. //
  3045. //******************************************************************************
  3046. #define OCP_SHARED_SPARE_REG_4_MEM_SPARE_REG_4_M \
  3047. 0xFFFFFFFE // HW register
  3048. #define OCP_SHARED_SPARE_REG_4_MEM_SPARE_REG_4_S 1
  3049. #define OCP_SHARED_SPARE_REG_4_INVERT_D2D_INTERFACE \
  3050. 0x00000001 // Data to the top die launched at
  3051. // negative edge instead of positive
  3052. // edge.
  3053. //******************************************************************************
  3054. //
  3055. // The following are defines for the bit fields in the
  3056. // OCP_SHARED_O_SPARE_REG_5 register.
  3057. //
  3058. //******************************************************************************
  3059. #define OCP_SHARED_SPARE_REG_5_MEM_SPARE_REG_5_M \
  3060. 0xFFFFFFFF // HW register
  3061. #define OCP_SHARED_SPARE_REG_5_MEM_SPARE_REG_5_S 0
  3062. //******************************************************************************
  3063. //
  3064. // The following are defines for the bit fields in the
  3065. // OCP_SHARED_O_SH_SPI_CS_MASK register.
  3066. //
  3067. //******************************************************************************
  3068. #define OCP_SHARED_SH_SPI_CS_MASK_MEM_SH_SPI_CS_MASK_M \
  3069. 0x0000000F // ( chip select 0 is unmasked
  3070. // after reset. When ‘1’ : CS is
  3071. // unmasked or else masked. Valid
  3072. // configurations are 1000, 0100,
  3073. // 0010 or 0001. Any other setting
  3074. // can lead to unpredictable
  3075. // behavior.
  3076. #define OCP_SHARED_SH_SPI_CS_MASK_MEM_SH_SPI_CS_MASK_S 0
  3077. //******************************************************************************
  3078. //
  3079. // The following are defines for the bit fields in the
  3080. // OCP_SHARED_O_CC3XX_DEVICE_TYPE register.
  3081. //
  3082. //******************************************************************************
  3083. #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_reserved_M \
  3084. 0x00000060 // reserved bits tied off "00".
  3085. #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_reserved_S 5
  3086. #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_M \
  3087. 0x0000001F // CC3XX Device type information.
  3088. #define OCP_SHARED_CC3XX_DEVICE_TYPE_DEVICE_TYPE_S 0
  3089. //******************************************************************************
  3090. //
  3091. // The following are defines for the bit fields in the
  3092. // OCP_SHARED_O_MEM_TOPMUXCTRL_IFORCE register.
  3093. //
  3094. //******************************************************************************
  3095. #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE1_M \
  3096. 0x000000F0 // [4] 1: switch between
  3097. // WLAN_I2C_SCL and
  3098. // TOP_GPIO_PORT4_I2C closes 0:
  3099. // switch opens [5] 1: switch
  3100. // between WLAN_I2C_SCL and
  3101. // TOP_VSENSE_PORT closes 0: switch
  3102. // opens [6] 1: switch between
  3103. // WLAN_I2C_SCL and WLAN_ANA_TP4
  3104. // closes 0: switch opens [7]
  3105. // Reserved
  3106. #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE1_S 4
  3107. #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE_M \
  3108. 0x0000000F // [0] 1: switch between
  3109. // WLAN_I2C_SDA and
  3110. // TOP_GPIO_PORT3_I2C closes 0:
  3111. // switch opens [1] 1: switch
  3112. // between WLAN_I2C_SDA and
  3113. // TOP_IFORCE_PORT closes 0: switch
  3114. // opens [2] 1: switch between
  3115. // WLAN_I2C_SDA and WLAN_ANA_TP3
  3116. // closes 0: switch opens [3]
  3117. // Reserved
  3118. #define OCP_SHARED_MEM_TOPMUXCTRL_IFORCE_MEM_TOPMUXCTRL_IFORCE_S 0
  3119. //******************************************************************************
  3120. //
  3121. // The following are defines for the bit fields in the
  3122. // OCP_SHARED_O_CC3XX_DEV_PACKAGE_DETECT register.
  3123. //
  3124. //******************************************************************************
  3125. #define OCP_SHARED_CC3XX_DEV_PACKAGE_DETECT_DEV_PKG_DETECT \
  3126. 0x00000001 // when '0' indicates package type
  3127. // is development.
  3128. //******************************************************************************
  3129. //
  3130. // The following are defines for the bit fields in the
  3131. // OCP_SHARED_O_AUTONMS_SPICLK_SEL register.
  3132. //
  3133. //******************************************************************************
  3134. #define OCP_SHARED_AUTONMS_SPICLK_SEL_MEM_AUTONOMOUS_BYPASS \
  3135. 0x00000002 // This bit is used to bypass MCPSI
  3136. // autonomous mode .if this bit is 1
  3137. // autonomous MCSPI logic will be
  3138. // bypassed and it will act as link
  3139. // SPI
  3140. #define OCP_SHARED_AUTONMS_SPICLK_SEL_MEM_AUTONMS_SPICLK_SEL \
  3141. 0x00000001 // This bit is used in SPI
  3142. // Autonomous mode to switch clock
  3143. // from system clock to SPI clk that
  3144. // is coming from PAD. When value 1
  3145. // PAD SPI clk is used as system
  3146. // clock in LPDS mode by SPI as well
  3147. // as autonomous wrapper logic.
  3148. //******************************************************************************
  3149. //
  3150. // The following are defines for the bit fields in the
  3151. // OCP_SHARED_O_CC3XX_DEV_PADCONF register.
  3152. //
  3153. //******************************************************************************
  3154. #define OCP_SHARED_CC3XX_DEV_PADCONF_MEM_CC3XX_DEV_PADCONF_M \
  3155. 0x0000FFFF
  3156. #define OCP_SHARED_CC3XX_DEV_PADCONF_MEM_CC3XX_DEV_PADCONF_S 0
  3157. //******************************************************************************
  3158. //
  3159. // The following are defines for the bit fields in the
  3160. // OCP_SHARED_O_IDMEM_TIM_UPDATE register.
  3161. //
  3162. //******************************************************************************
  3163. #define OCP_SHARED_IDMEM_TIM_UPDATE_MEM_IDMEM_TIM_UPDATE_M \
  3164. 0xFFFFFFFF
  3165. #define OCP_SHARED_IDMEM_TIM_UPDATE_MEM_IDMEM_TIM_UPDATE_S 0
  3166. //******************************************************************************
  3167. //
  3168. // The following are defines for the bit fields in the
  3169. // OCP_SHARED_O_SPARE_REG_6 register.
  3170. //
  3171. //******************************************************************************
  3172. #define OCP_SHARED_SPARE_REG_6_MEM_SPARE_REG_6_M \
  3173. 0xFFFFFFFF // NWP Software register
  3174. #define OCP_SHARED_SPARE_REG_6_MEM_SPARE_REG_6_S 0
  3175. //******************************************************************************
  3176. //
  3177. // The following are defines for the bit fields in the
  3178. // OCP_SHARED_O_SPARE_REG_7 register.
  3179. //
  3180. //******************************************************************************
  3181. #define OCP_SHARED_SPARE_REG_7_MEM_SPARE_REG_7_M \
  3182. 0xFFFFFFFF // NWP Software register
  3183. #define OCP_SHARED_SPARE_REG_7_MEM_SPARE_REG_7_S 0
  3184. //******************************************************************************
  3185. //
  3186. // The following are defines for the bit fields in the
  3187. // OCP_SHARED_O_APPS_WLAN_ORBIT register.
  3188. //
  3189. //******************************************************************************
  3190. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_spare_M \
  3191. 0xFFFFFC00 // Spare bit
  3192. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_spare_S 10
  3193. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_status \
  3194. 0x00000200 // A rising edge on this bit
  3195. // indicates that the test case
  3196. // passes. This bit would be brought
  3197. // out on the pin interface during
  3198. // ORBIT.
  3199. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_exec \
  3200. 0x00000100 // This register bit is writable by
  3201. // the FW and when set to 1 it
  3202. // indicates the start of a test
  3203. // execution. A failing edge on this
  3204. // bit indicates that the test
  3205. // execution is complete. This bit
  3206. // would be brought out on the pin
  3207. // interface during ORBIT.
  3208. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_id_M \
  3209. 0x000000FC // Implies the test case ID that
  3210. // needs to run.
  3211. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_id_S 2
  3212. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_halt_proc \
  3213. 0x00000002 // This bit is used to trigger the
  3214. // execution of test cases within
  3215. // the (ROM based) IP.
  3216. #define OCP_SHARED_APPS_WLAN_ORBIT_mem_orbit_test_mode \
  3217. 0x00000001 // When this bit is 1 it implies
  3218. // ORBIT mode of operation and the
  3219. // (ROM based) IP start the
  3220. // execution from a test case
  3221. // perspective
  3222. //******************************************************************************
  3223. //
  3224. // The following are defines for the bit fields in the
  3225. // OCP_SHARED_O_APPS_WLAN_SCRATCH_PAD register.
  3226. //
  3227. //******************************************************************************
  3228. #define OCP_SHARED_APPS_WLAN_SCRATCH_PAD_MEM_APPS_WLAN_SCRATCH_PAD_M \
  3229. 0xFFFFFFFF // scratch pad register.
  3230. #define OCP_SHARED_APPS_WLAN_SCRATCH_PAD_MEM_APPS_WLAN_SCRATCH_PAD_S 0
  3231. #endif // __HW_OCP_SHARED_H__