efuse_reg.h 110 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313
  1. /*
  2. * SPDX-FileCopyrightText: 2017-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef _SOC_EFUSE_REG_H_
  7. #define _SOC_EFUSE_REG_H_
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #include "soc.h"
  12. #define EFUSE_PGM_DATA0_REG (DR_REG_EFUSE_BASE + 0x000)
  13. /* EFUSE_WR_DIS : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
  14. /*description: Set this bit to disable eFuse programming.*/
  15. #define EFUSE_WR_DIS 0xFFFFFFFF
  16. #define EFUSE_WR_DIS_M ((EFUSE_WR_DIS_V)<<(EFUSE_WR_DIS_S))
  17. #define EFUSE_WR_DIS_V 0xFFFFFFFF
  18. #define EFUSE_WR_DIS_S 0
  19. #define EFUSE_PGM_DATA1_REG (DR_REG_EFUSE_BASE + 0x004)
  20. /* EFUSE_VDD_SPI_DREFH : R/W ;bitpos:[31:30] ;default: 2'h0 ; */
  21. /*description: SPI regulator high voltage reference.*/
  22. #define EFUSE_VDD_SPI_DREFH 0x00000003
  23. #define EFUSE_VDD_SPI_DREFH_M ((EFUSE_VDD_SPI_DREFH_V)<<(EFUSE_VDD_SPI_DREFH_S))
  24. #define EFUSE_VDD_SPI_DREFH_V 0x3
  25. #define EFUSE_VDD_SPI_DREFH_S 30
  26. /* EFUSE_VDD_SPI_MODECURLIM : R/W ;bitpos:[29] ;default: 1'h0 ; */
  27. /*description: SPI regulator switches current limit mode.*/
  28. #define EFUSE_VDD_SPI_MODECURLIM (BIT(29))
  29. #define EFUSE_VDD_SPI_MODECURLIM_M (BIT(29))
  30. #define EFUSE_VDD_SPI_MODECURLIM_V 0x1
  31. #define EFUSE_VDD_SPI_MODECURLIM_S 29
  32. /* EFUSE_RPT4_RESERVED0 : RO ;bitpos:[28:27] ;default: 2'h0 ; */
  33. /*description: Reserved (used for four backups method).*/
  34. #define EFUSE_RPT4_RESERVED0 0x00000003
  35. #define EFUSE_RPT4_RESERVED0_M ((EFUSE_RPT4_RESERVED0_V)<<(EFUSE_RPT4_RESERVED0_S))
  36. #define EFUSE_RPT4_RESERVED0_V 0x3
  37. #define EFUSE_RPT4_RESERVED0_S 27
  38. /* EFUSE_USB_FORCE_NOPERSIST : R/W ;bitpos:[26] ;default: 1'h0 ; */
  39. /*description: Force nopersist to 1.*/
  40. #define EFUSE_USB_FORCE_NOPERSIST (BIT(26))
  41. #define EFUSE_USB_FORCE_NOPERSIST_M (BIT(26))
  42. #define EFUSE_USB_FORCE_NOPERSIST_V 0x1
  43. #define EFUSE_USB_FORCE_NOPERSIST_S 26
  44. /* EFUSE_USB_EXT_PHY_ENABLE : R/W ;bitpos:[25] ;default: 1'h0 ; */
  45. /*description: Set this bit to enable external PHY.*/
  46. #define EFUSE_USB_EXT_PHY_ENABLE (BIT(25))
  47. #define EFUSE_USB_EXT_PHY_ENABLE_M (BIT(25))
  48. #define EFUSE_USB_EXT_PHY_ENABLE_V 0x1
  49. #define EFUSE_USB_EXT_PHY_ENABLE_S 25
  50. /* EFUSE_USB_EXCHG_PINS : R/W ;bitpos:[24] ;default: 1'h0 ; */
  51. /*description: Set this bit to exchange D+ and D- pins.*/
  52. #define EFUSE_USB_EXCHG_PINS (BIT(24))
  53. #define EFUSE_USB_EXCHG_PINS_M (BIT(24))
  54. #define EFUSE_USB_EXCHG_PINS_V 0x1
  55. #define EFUSE_USB_EXCHG_PINS_S 24
  56. /* EFUSE_USB_DREFL : R/W ;bitpos:[23:22] ;default: 2'h0 ; */
  57. /*description: Controls single-end input threshold vrefl 0.8 V to 1.04 V with
  58. step of 80 mV stored in eFuse.*/
  59. #define EFUSE_USB_DREFL 0x00000003
  60. #define EFUSE_USB_DREFL_M ((EFUSE_USB_DREFL_V)<<(EFUSE_USB_DREFL_S))
  61. #define EFUSE_USB_DREFL_V 0x3
  62. #define EFUSE_USB_DREFL_S 22
  63. /* EFUSE_USB_DREFH : R/W ;bitpos:[21:20] ;default: 2'h0 ; */
  64. /*description: Controls single-end input threshold vrefh 1.76 V to 2 V with
  65. step of 80 mV stored in eFuse.*/
  66. #define EFUSE_USB_DREFH 0x00000003
  67. #define EFUSE_USB_DREFH_M ((EFUSE_USB_DREFH_V)<<(EFUSE_USB_DREFH_S))
  68. #define EFUSE_USB_DREFH_V 0x3
  69. #define EFUSE_USB_DREFH_S 20
  70. /* EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT : R/W ;bitpos:[19] ;default: 1'h0 ; */
  71. /*description: Set this bit to disable flash encrypt function (except in SPI/HSPI/Legacy_SPI
  72. boot mode).*/
  73. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT (BIT(19))
  74. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_M (BIT(19))
  75. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_V 0x1
  76. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_S 19
  77. /* EFUSE_HARD_DIS_JTAG : R/W ;bitpos:[18] ;default: 1'h0 ; */
  78. /*description: Set this bit to disable JTAG in the hard way. JTAG is disabled permanently.*/
  79. #define EFUSE_HARD_DIS_JTAG (BIT(18))
  80. #define EFUSE_HARD_DIS_JTAG_M (BIT(18))
  81. #define EFUSE_HARD_DIS_JTAG_V 0x1
  82. #define EFUSE_HARD_DIS_JTAG_S 18
  83. /* EFUSE_SOFT_DIS_JTAG : R/W ;bitpos:[17] ;default: 1'h0 ; */
  84. /*description: Set this bit to disable JTAG in the soft way. JTAG can be enabled
  85. in HMAC module.*/
  86. #define EFUSE_SOFT_DIS_JTAG (BIT(17))
  87. #define EFUSE_SOFT_DIS_JTAG_M (BIT(17))
  88. #define EFUSE_SOFT_DIS_JTAG_V 0x1
  89. #define EFUSE_SOFT_DIS_JTAG_S 17
  90. /* EFUSE_DIS_EFUSE_ATE_WR : R/W ;bitpos:[16] ;default: 1'h0 ; */
  91. /*description: Set this bit to disable programming eFuse through ATE mode.*/
  92. #define EFUSE_DIS_EFUSE_ATE_WR (BIT(16))
  93. #define EFUSE_DIS_EFUSE_ATE_WR_M (BIT(16))
  94. #define EFUSE_DIS_EFUSE_ATE_WR_V 0x1
  95. #define EFUSE_DIS_EFUSE_ATE_WR_S 16
  96. /* EFUSE_DIS_BOOT_REMAP : R/W ;bitpos:[15] ;default: 1'h0 ; */
  97. /*description: Set this bit to disable boot remap from RAM to ROM.*/
  98. #define EFUSE_DIS_BOOT_REMAP (BIT(15))
  99. #define EFUSE_DIS_BOOT_REMAP_M (BIT(15))
  100. #define EFUSE_DIS_BOOT_REMAP_V 0x1
  101. #define EFUSE_DIS_BOOT_REMAP_S 15
  102. /* EFUSE_DIS_CAN : R/W ;bitpos:[14] ;default: 1'h0 ; */
  103. /*description: Set this bit to disable CAN function.*/
  104. #define EFUSE_DIS_CAN (BIT(14))
  105. #define EFUSE_DIS_CAN_M (BIT(14))
  106. #define EFUSE_DIS_CAN_V 0x1
  107. #define EFUSE_DIS_CAN_S 14
  108. /* EFUSE_DIS_USB : R/W ;bitpos:[13] ;default: 1'h0 ; */
  109. /*description: Set this bit to disable USB function.*/
  110. #define EFUSE_DIS_USB (BIT(13))
  111. #define EFUSE_DIS_USB_M (BIT(13))
  112. #define EFUSE_DIS_USB_V 0x1
  113. #define EFUSE_DIS_USB_S 13
  114. /* EFUSE_DIS_FORCE_DOWNLOAD : R/W ;bitpos:[12] ;default: 1'h0 ; */
  115. /*description: Set this bit to disable the function that forces chip into download mode.*/
  116. #define EFUSE_DIS_FORCE_DOWNLOAD (BIT(12))
  117. #define EFUSE_DIS_FORCE_DOWNLOAD_M (BIT(12))
  118. #define EFUSE_DIS_FORCE_DOWNLOAD_V 0x1
  119. #define EFUSE_DIS_FORCE_DOWNLOAD_S 12
  120. /* EFUSE_DIS_DOWNLOAD_DCACHE : R/W ;bitpos:[11] ;default: 1'h0 ; */
  121. /*description: Set this bit to disable Dcache in download mode ( boot_mode[3:0]
  122. is 0 1 2 3 6 7).*/
  123. #define EFUSE_DIS_DOWNLOAD_DCACHE (BIT(11))
  124. #define EFUSE_DIS_DOWNLOAD_DCACHE_M (BIT(11))
  125. #define EFUSE_DIS_DOWNLOAD_DCACHE_V 0x1
  126. #define EFUSE_DIS_DOWNLOAD_DCACHE_S 11
  127. /* EFUSE_DIS_DOWNLOAD_ICACHE : R/W ;bitpos:[10] ;default: 1'h0 ; */
  128. /*description: Set this bit to disable Icache in download mode (boot_mode[3:0]
  129. is 0 1 2 3 6 7).*/
  130. #define EFUSE_DIS_DOWNLOAD_ICACHE (BIT(10))
  131. #define EFUSE_DIS_DOWNLOAD_ICACHE_M (BIT(10))
  132. #define EFUSE_DIS_DOWNLOAD_ICACHE_V 0x1
  133. #define EFUSE_DIS_DOWNLOAD_ICACHE_S 10
  134. /* EFUSE_DIS_DCACHE : R/W ;bitpos:[9] ;default: 1'h0 ; */
  135. /*description: Set this bit to disable Dcache.*/
  136. #define EFUSE_DIS_DCACHE (BIT(9))
  137. #define EFUSE_DIS_DCACHE_M (BIT(9))
  138. #define EFUSE_DIS_DCACHE_V 0x1
  139. #define EFUSE_DIS_DCACHE_S 9
  140. /* EFUSE_DIS_ICACHE : R/W ;bitpos:[8] ;default: 1'h0 ; */
  141. /*description: Set this bit to disable Icache.*/
  142. #define EFUSE_DIS_ICACHE (BIT(8))
  143. #define EFUSE_DIS_ICACHE_M (BIT(8))
  144. #define EFUSE_DIS_ICACHE_V 0x1
  145. #define EFUSE_DIS_ICACHE_S 8
  146. /* EFUSE_DIS_RTC_RAM_BOOT : R/W ;bitpos:[7] ;default: 1'h0 ; */
  147. /*description: Set this bit to disable boot from RTC RAM.*/
  148. #define EFUSE_DIS_RTC_RAM_BOOT (BIT(7))
  149. #define EFUSE_DIS_RTC_RAM_BOOT_M (BIT(7))
  150. #define EFUSE_DIS_RTC_RAM_BOOT_V 0x1
  151. #define EFUSE_DIS_RTC_RAM_BOOT_S 7
  152. /* EFUSE_RD_DIS : R/W ;bitpos:[6:0] ;default: 7'h0 ; */
  153. /*description: Set this bit to disable reading from BlOCK4-10.*/
  154. #define EFUSE_RD_DIS 0x0000007F
  155. #define EFUSE_RD_DIS_M ((EFUSE_RD_DIS_V)<<(EFUSE_RD_DIS_S))
  156. #define EFUSE_RD_DIS_V 0x7F
  157. #define EFUSE_RD_DIS_S 0
  158. #define EFUSE_RD_DIS_KEY0 (1<<0)
  159. #define EFUSE_RD_DIS_KEY1 (1<<1)
  160. #define EFUSE_RD_DIS_KEY2 (1<<2)
  161. #define EFUSE_RD_DIS_KEY3 (1<<3)
  162. #define EFUSE_RD_DIS_KEY4 (1<<4)
  163. #define EFUSE_RD_DIS_KEY5 (1<<5)
  164. #define EFUSE_RD_DIS_SYS_DATA_PART2 (1<<6)
  165. #define EFUSE_PGM_DATA2_REG (DR_REG_EFUSE_BASE + 0x008)
  166. /* EFUSE_KEY_PURPOSE_1 : R/W ;bitpos:[31:28] ;default: 4'h0 ; */
  167. /*description: Purpose of Key1. Refer to Table KEY_PURPOSE Values.*/
  168. #define EFUSE_KEY_PURPOSE_1 0x0000000F
  169. #define EFUSE_KEY_PURPOSE_1_M ((EFUSE_KEY_PURPOSE_1_V)<<(EFUSE_KEY_PURPOSE_1_S))
  170. #define EFUSE_KEY_PURPOSE_1_V 0xF
  171. #define EFUSE_KEY_PURPOSE_1_S 28
  172. /* EFUSE_KEY_PURPOSE_0 : R/W ;bitpos:[27:24] ;default: 4'h0 ; */
  173. /*description: Purpose of Key0. Refer to Table KEY_PURPOSE Values.*/
  174. #define EFUSE_KEY_PURPOSE_0 0x0000000F
  175. #define EFUSE_KEY_PURPOSE_0_M ((EFUSE_KEY_PURPOSE_0_V)<<(EFUSE_KEY_PURPOSE_0_S))
  176. #define EFUSE_KEY_PURPOSE_0_V 0xF
  177. #define EFUSE_KEY_PURPOSE_0_S 24
  178. /* EFUSE_SECURE_BOOT_KEY_REVOKE2 : R/W ;bitpos:[23] ;default: 1'h0 ; */
  179. /*description: Set this bit to enable revoking third secure boot key.*/
  180. #define EFUSE_SECURE_BOOT_KEY_REVOKE2 (BIT(23))
  181. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_M (BIT(23))
  182. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_V 0x1
  183. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_S 23
  184. /* EFUSE_SECURE_BOOT_KEY_REVOKE1 : R/W ;bitpos:[22] ;default: 1'h0 ; */
  185. /*description: Set this bit to enable revoking second secure boot key.*/
  186. #define EFUSE_SECURE_BOOT_KEY_REVOKE1 (BIT(22))
  187. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_M (BIT(22))
  188. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_V 0x1
  189. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_S 22
  190. /* EFUSE_SECURE_BOOT_KEY_REVOKE0 : R/W ;bitpos:[21] ;default: 1'h0 ; */
  191. /*description: Set this bit to enable revoking first secure boot key.*/
  192. #define EFUSE_SECURE_BOOT_KEY_REVOKE0 (BIT(21))
  193. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_M (BIT(21))
  194. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_V 0x1
  195. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_S 21
  196. /* EFUSE_SPI_BOOT_CRYPT_CNT : R/W ;bitpos:[20:18] ;default: 3'h0 ; */
  197. /*description: Set this bit to enable SPI boot encrypt/decrypt. Odd number of 1: enable*/
  198. #define EFUSE_SPI_BOOT_CRYPT_CNT 0x00000007
  199. #define EFUSE_SPI_BOOT_CRYPT_CNT_M ((EFUSE_SPI_BOOT_CRYPT_CNT_V)<<(EFUSE_SPI_BOOT_CRYPT_CNT_S))
  200. #define EFUSE_SPI_BOOT_CRYPT_CNT_V 0x7
  201. #define EFUSE_SPI_BOOT_CRYPT_CNT_S 18
  202. /* EFUSE_WAT_DELAY_SEL : R/W ;bitpos:[17:16] ;default: 2'h0 ; */
  203. /*description: Selects RTC watchdog timeout threshold.*/
  204. #define EFUSE_WAT_DELAY_SEL 0x00000003
  205. #define EFUSE_WAT_DELAY_SEL_M ((EFUSE_WAT_DELAY_SEL_V)<<(EFUSE_WAT_DELAY_SEL_S))
  206. #define EFUSE_WAT_DELAY_SEL_V 0x3
  207. #define EFUSE_WAT_DELAY_SEL_S 16
  208. /* EFUSE_VDD_SPI_DCAP : R/W ;bitpos:[15:14] ;default: 2'h0 ; */
  209. /*description: Prevents SPI regulator from overshoot.*/
  210. #define EFUSE_VDD_SPI_DCAP 0x00000003
  211. #define EFUSE_VDD_SPI_DCAP_M ((EFUSE_VDD_SPI_DCAP_V)<<(EFUSE_VDD_SPI_DCAP_S))
  212. #define EFUSE_VDD_SPI_DCAP_V 0x3
  213. #define EFUSE_VDD_SPI_DCAP_S 14
  214. /* EFUSE_VDD_SPI_INIT : R/W ;bitpos:[13:12] ;default: 2'h0 ; */
  215. /*description: Adds resistor from LDO output to ground. 0: no resistance*/
  216. #define EFUSE_VDD_SPI_INIT 0x00000003
  217. #define EFUSE_VDD_SPI_INIT_M ((EFUSE_VDD_SPI_INIT_V)<<(EFUSE_VDD_SPI_INIT_S))
  218. #define EFUSE_VDD_SPI_INIT_V 0x3
  219. #define EFUSE_VDD_SPI_INIT_S 12
  220. /* EFUSE_VDD_SPI_DCURLIM : R/W ;bitpos:[11:9] ;default: 3'h0 ; */
  221. /*description: Tunes the current limit threshold of SPI regulator when tieh=0
  222. about 800 mA/(8+d).*/
  223. #define EFUSE_VDD_SPI_DCURLIM 0x00000007
  224. #define EFUSE_VDD_SPI_DCURLIM_M ((EFUSE_VDD_SPI_DCURLIM_V)<<(EFUSE_VDD_SPI_DCURLIM_S))
  225. #define EFUSE_VDD_SPI_DCURLIM_V 0x7
  226. #define EFUSE_VDD_SPI_DCURLIM_S 9
  227. /* EFUSE_VDD_SPI_ENCURLIM : R/W ;bitpos:[8] ;default: 1'h0 ; */
  228. /*description: Set SPI regulator to 1 to enable output current limit.*/
  229. #define EFUSE_VDD_SPI_ENCURLIM (BIT(8))
  230. #define EFUSE_VDD_SPI_ENCURLIM_M (BIT(8))
  231. #define EFUSE_VDD_SPI_ENCURLIM_V 0x1
  232. #define EFUSE_VDD_SPI_ENCURLIM_S 8
  233. /* EFUSE_VDD_SPI_EN_INIT : R/W ;bitpos:[7] ;default: 1'h0 ; */
  234. /*description: Set SPI regulator to 0 to configure init[1:0]=0.*/
  235. #define EFUSE_VDD_SPI_EN_INIT (BIT(7))
  236. #define EFUSE_VDD_SPI_EN_INIT_M (BIT(7))
  237. #define EFUSE_VDD_SPI_EN_INIT_V 0x1
  238. #define EFUSE_VDD_SPI_EN_INIT_S 7
  239. /* EFUSE_VDD_SPI_FORCE : R/W ;bitpos:[6] ;default: 1'h0 ; */
  240. /*description: Set this bit and force to use the configuration of eFuse to configure VDD_SPI.*/
  241. #define EFUSE_VDD_SPI_FORCE (BIT(6))
  242. #define EFUSE_VDD_SPI_FORCE_M (BIT(6))
  243. #define EFUSE_VDD_SPI_FORCE_V 0x1
  244. #define EFUSE_VDD_SPI_FORCE_S 6
  245. /* EFUSE_VDD_SPI_TIEH : R/W ;bitpos:[5] ;default: 1'h0 ; */
  246. /*description: SPI regulator output is short connected to VDD3P3_RTC_IO.*/
  247. #define EFUSE_VDD_SPI_TIEH (BIT(5))
  248. #define EFUSE_VDD_SPI_TIEH_M (BIT(5))
  249. #define EFUSE_VDD_SPI_TIEH_V 0x1
  250. #define EFUSE_VDD_SPI_TIEH_S 5
  251. /* EFUSE_VDD_SPI_XPD : R/W ;bitpos:[4] ;default: 1'h0 ; */
  252. /*description: SPI regulator power up signal.*/
  253. #define EFUSE_VDD_SPI_XPD (BIT(4))
  254. #define EFUSE_VDD_SPI_XPD_M (BIT(4))
  255. #define EFUSE_VDD_SPI_XPD_V 0x1
  256. #define EFUSE_VDD_SPI_XPD_S 4
  257. /* EFUSE_VDD_SPI_DREFL : R/W ;bitpos:[3:2] ;default: 2'h0 ; */
  258. /*description: SPI regulator low voltage reference.*/
  259. #define EFUSE_VDD_SPI_DREFL 0x00000003
  260. #define EFUSE_VDD_SPI_DREFL_M ((EFUSE_VDD_SPI_DREFL_V)<<(EFUSE_VDD_SPI_DREFL_S))
  261. #define EFUSE_VDD_SPI_DREFL_V 0x3
  262. #define EFUSE_VDD_SPI_DREFL_S 2
  263. /* EFUSE_VDD_SPI_DREFM : R/W ;bitpos:[1:0] ;default: 2'h0 ; */
  264. /*description: SPI regulator medium voltage reference.*/
  265. #define EFUSE_VDD_SPI_DREFM 0x00000003
  266. #define EFUSE_VDD_SPI_DREFM_M ((EFUSE_VDD_SPI_DREFM_V)<<(EFUSE_VDD_SPI_DREFM_S))
  267. #define EFUSE_VDD_SPI_DREFM_V 0x3
  268. #define EFUSE_VDD_SPI_DREFM_S 0
  269. #define EFUSE_PGM_DATA3_REG (DR_REG_EFUSE_BASE + 0x00c)
  270. /* EFUSE_FLASH_TPUW : R/W ;bitpos:[31:28] ;default: 4'h0 ; */
  271. /*description: Configures flash waiting time after power-up in unit of ms.
  272. When the value is 15 the waiting time is 30 ms.*/
  273. #define EFUSE_FLASH_TPUW 0x0000000F
  274. #define EFUSE_FLASH_TPUW_M ((EFUSE_FLASH_TPUW_V)<<(EFUSE_FLASH_TPUW_S))
  275. #define EFUSE_FLASH_TPUW_V 0xF
  276. #define EFUSE_FLASH_TPUW_S 28
  277. /* EFUSE_RPT4_RESERVED1 : RO ;bitpos:[27:22] ;default: 6'h0 ; */
  278. /*description: Reserved (used for four backups method).*/
  279. #define EFUSE_RPT4_RESERVED1 0x0000003F
  280. #define EFUSE_RPT4_RESERVED1_M ((EFUSE_RPT4_RESERVED1_V)<<(EFUSE_RPT4_RESERVED1_S))
  281. #define EFUSE_RPT4_RESERVED1_V 0x3F
  282. #define EFUSE_RPT4_RESERVED1_S 22
  283. /* EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE : R/W ;bitpos:[21] ;default: 1'h0 ; */
  284. /*description: Set this bit to enable revoking aggressive secure boot.*/
  285. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE (BIT(21))
  286. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_M (BIT(21))
  287. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_V 0x1
  288. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_S 21
  289. /* EFUSE_SECURE_BOOT_EN : R/W ;bitpos:[20] ;default: 1'h0 ; */
  290. /*description: Set this bit to enable secure boot.*/
  291. #define EFUSE_SECURE_BOOT_EN (BIT(20))
  292. #define EFUSE_SECURE_BOOT_EN_M (BIT(20))
  293. #define EFUSE_SECURE_BOOT_EN_V 0x1
  294. #define EFUSE_SECURE_BOOT_EN_S 20
  295. /* EFUSE_KEY_PURPOSE_6 : R/W ;bitpos:[19:16] ;default: 4'h0 ; */
  296. /*description: Purpose of Key6. Refer to Table KEY_PURPOSE Values.*/
  297. #define EFUSE_KEY_PURPOSE_6 0x0000000F
  298. #define EFUSE_KEY_PURPOSE_6_M ((EFUSE_KEY_PURPOSE_6_V)<<(EFUSE_KEY_PURPOSE_6_S))
  299. #define EFUSE_KEY_PURPOSE_6_V 0xF
  300. #define EFUSE_KEY_PURPOSE_6_S 16
  301. /* EFUSE_KEY_PURPOSE_5 : R/W ;bitpos:[15:12] ;default: 4'h0 ; */
  302. /*description: Purpose of Key5. Refer to Table KEY_PURPOSE Values.*/
  303. #define EFUSE_KEY_PURPOSE_5 0x0000000F
  304. #define EFUSE_KEY_PURPOSE_5_M ((EFUSE_KEY_PURPOSE_5_V)<<(EFUSE_KEY_PURPOSE_5_S))
  305. #define EFUSE_KEY_PURPOSE_5_V 0xF
  306. #define EFUSE_KEY_PURPOSE_5_S 12
  307. /* EFUSE_KEY_PURPOSE_4 : R/W ;bitpos:[11:8] ;default: 4'h0 ; */
  308. /*description: Purpose of Key4. Refer to Table KEY_PURPOSE Values.*/
  309. #define EFUSE_KEY_PURPOSE_4 0x0000000F
  310. #define EFUSE_KEY_PURPOSE_4_M ((EFUSE_KEY_PURPOSE_4_V)<<(EFUSE_KEY_PURPOSE_4_S))
  311. #define EFUSE_KEY_PURPOSE_4_V 0xF
  312. #define EFUSE_KEY_PURPOSE_4_S 8
  313. /* EFUSE_KEY_PURPOSE_3 : R/W ;bitpos:[7:4] ;default: 4'h0 ; */
  314. /*description: Purpose of Key3. Refer to Table KEY_PURPOSE Values.*/
  315. #define EFUSE_KEY_PURPOSE_3 0x0000000F
  316. #define EFUSE_KEY_PURPOSE_3_M ((EFUSE_KEY_PURPOSE_3_V)<<(EFUSE_KEY_PURPOSE_3_S))
  317. #define EFUSE_KEY_PURPOSE_3_V 0xF
  318. #define EFUSE_KEY_PURPOSE_3_S 4
  319. /* EFUSE_KEY_PURPOSE_2 : R/W ;bitpos:[3:0] ;default: 4'h0 ; */
  320. /*description: Purpose of Key2. Refer to Table KEY_PURPOSE Values.*/
  321. #define EFUSE_KEY_PURPOSE_2 0x0000000F
  322. #define EFUSE_KEY_PURPOSE_2_M ((EFUSE_KEY_PURPOSE_2_V)<<(EFUSE_KEY_PURPOSE_2_S))
  323. #define EFUSE_KEY_PURPOSE_2_V 0xF
  324. #define EFUSE_KEY_PURPOSE_2_S 0
  325. #define EFUSE_PGM_DATA4_REG (DR_REG_EFUSE_BASE + 0x010)
  326. /* EFUSE_RPT4_RESERVED2 : RO ;bitpos:[31:27] ;default: 5'h0 ; */
  327. /*description: Reserved (used for four backups method).*/
  328. #define EFUSE_RPT4_RESERVED2 0x0000001F
  329. #define EFUSE_RPT4_RESERVED2_M ((EFUSE_RPT4_RESERVED2_V)<<(EFUSE_RPT4_RESERVED2_S))
  330. #define EFUSE_RPT4_RESERVED2_V 0x1F
  331. #define EFUSE_RPT4_RESERVED2_S 27
  332. /* EFUSE_SECURE_VERSION : R/W ;bitpos:[26:11] ;default: 16'h0 ; */
  333. /*description: IDF secure version.*/
  334. #define EFUSE_SECURE_VERSION 0x0000FFFF
  335. #define EFUSE_SECURE_VERSION_M ((EFUSE_SECURE_VERSION_V)<<(EFUSE_SECURE_VERSION_S))
  336. #define EFUSE_SECURE_VERSION_V 0xFFFF
  337. #define EFUSE_SECURE_VERSION_S 11
  338. /* EFUSE_FORCE_SEND_RESUME : R/W ;bitpos:[10] ;default: 1'h0 ; */
  339. /*description: Set this bit to force ROM code to send a resume command during SPI boot.*/
  340. #define EFUSE_FORCE_SEND_RESUME (BIT(10))
  341. #define EFUSE_FORCE_SEND_RESUME_M (BIT(10))
  342. #define EFUSE_FORCE_SEND_RESUME_V 0x1
  343. #define EFUSE_FORCE_SEND_RESUME_S 10
  344. /* EFUSE_FLASH_TYPE : R/W ;bitpos:[9] ;default: 1'h0 ; */
  345. /*description: The type of the interfaced flash. 0: four data lines 1: eight data lines.*/
  346. #define EFUSE_FLASH_TYPE (BIT(9))
  347. #define EFUSE_FLASH_TYPE_M (BIT(9))
  348. #define EFUSE_FLASH_TYPE_V 0x1
  349. #define EFUSE_FLASH_TYPE_S 9
  350. /* EFUSE_PIN_POWER_SELECTION : R/W ;bitpos:[8] ;default: 1'h0 ; */
  351. /*description: GPIO33-GPIO37 power supply selection in ROM code. 0: VDD3P3_CPU*/
  352. #define EFUSE_PIN_POWER_SELECTION (BIT(8))
  353. #define EFUSE_PIN_POWER_SELECTION_M (BIT(8))
  354. #define EFUSE_PIN_POWER_SELECTION_V 0x1
  355. #define EFUSE_PIN_POWER_SELECTION_S 8
  356. /* EFUSE_UART_PRINT_CONTROL : R/W ;bitpos:[7:6] ;default: 2'h0 ; */
  357. /*description: The type of UART print control.00: Forces to print.01: Controlled
  358. by GPIO46 print at low level.10: Controlled by GPIO46 print at high level.11: Forces to disable print.*/
  359. #define EFUSE_UART_PRINT_CONTROL 0x00000003
  360. #define EFUSE_UART_PRINT_CONTROL_M ((EFUSE_UART_PRINT_CONTROL_V)<<(EFUSE_UART_PRINT_CONTROL_S))
  361. #define EFUSE_UART_PRINT_CONTROL_V 0x3
  362. #define EFUSE_UART_PRINT_CONTROL_S 6
  363. /* EFUSE_ENABLE_SECURITY_DOWNLOAD : R/W ;bitpos:[5] ;default: 1'h0 ; */
  364. /*description: Set this bit to enable security download mode.*/
  365. #define EFUSE_ENABLE_SECURITY_DOWNLOAD (BIT(5))
  366. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_M (BIT(5))
  367. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_V 0x1
  368. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_S 5
  369. /* EFUSE_DIS_USB_DOWNLOAD_MODE : R/W ;bitpos:[4] ;default: 1'h0 ; */
  370. /*description: Set this bit to disable download through USB.*/
  371. #define EFUSE_DIS_USB_DOWNLOAD_MODE (BIT(4))
  372. #define EFUSE_DIS_USB_DOWNLOAD_MODE_M (BIT(4))
  373. #define EFUSE_DIS_USB_DOWNLOAD_MODE_V 0x1
  374. #define EFUSE_DIS_USB_DOWNLOAD_MODE_S 4
  375. /* EFUSE_RPT4_RESERVED3 : R/W ;bitpos:[3] ;default: 1'h0 ; */
  376. /*description: Set this bit to disable tiny basic console in ROM.*/
  377. #define EFUSE_RPT4_RESERVED3 (BIT(3))
  378. #define EFUSE_RPT4_RESERVED3_M (BIT(3))
  379. #define EFUSE_RPT4_RESERVED3_V 0x1
  380. #define EFUSE_RPT4_RESERVED3_S 3
  381. /* EFUSE_UART_PRINT_CHANNEL : R/W ;bitpos:[2] ;default: 1'h0 ; */
  382. /*description: Selectes UART print channel. 0: UART0*/
  383. #define EFUSE_UART_PRINT_CHANNEL (BIT(2))
  384. #define EFUSE_UART_PRINT_CHANNEL_M (BIT(2))
  385. #define EFUSE_UART_PRINT_CHANNEL_V 0x1
  386. #define EFUSE_UART_PRINT_CHANNEL_S 2
  387. /* EFUSE_DIS_LEGACY_SPI_BOOT : R/W ;bitpos:[1] ;default: 1'h0 ; */
  388. /*description: Set this bit to disable Legacy SPI boot mode (boot_mode[3:0] = 4).*/
  389. #define EFUSE_DIS_LEGACY_SPI_BOOT (BIT(1))
  390. #define EFUSE_DIS_LEGACY_SPI_BOOT_M (BIT(1))
  391. #define EFUSE_DIS_LEGACY_SPI_BOOT_V 0x1
  392. #define EFUSE_DIS_LEGACY_SPI_BOOT_S 1
  393. /* EFUSE_DIS_DOWNLOAD_MODE : R/W ;bitpos:[0] ;default: 1'h0 ; */
  394. /*description: Set this bit to disable download mode (boot_mode[3:0] = 0 1 2 3 6 7).*/
  395. #define EFUSE_DIS_DOWNLOAD_MODE (BIT(0))
  396. #define EFUSE_DIS_DOWNLOAD_MODE_M (BIT(0))
  397. #define EFUSE_DIS_DOWNLOAD_MODE_V 0x1
  398. #define EFUSE_DIS_DOWNLOAD_MODE_S 0
  399. #define EFUSE_PGM_DATA5_REG (DR_REG_EFUSE_BASE + 0x014)
  400. /* EFUSE_RPT1_RESERVED0 : RO ;bitpos:[31:24] ;default: 8'h0 ; */
  401. /*description: Reserved.*/
  402. #define EFUSE_RPT1_RESERVED0 0x000000FF
  403. #define EFUSE_RPT1_RESERVED0_M ((EFUSE_RPT1_RESERVED0_V)<<(EFUSE_RPT1_RESERVED0_S))
  404. #define EFUSE_RPT1_RESERVED0_V 0xFF
  405. #define EFUSE_RPT1_RESERVED0_S 24
  406. /* EFUSE_RPT4_RESERVED4 : RO ;bitpos:[23:0] ;default: 24'h0 ; */
  407. /*description: Reserved (used for four backups method).*/
  408. #define EFUSE_RPT4_RESERVED4 0x00FFFFFF
  409. #define EFUSE_RPT4_RESERVED4_M ((EFUSE_RPT4_RESERVED4_V)<<(EFUSE_RPT4_RESERVED4_S))
  410. #define EFUSE_RPT4_RESERVED4_V 0xFFFFFF
  411. #define EFUSE_RPT4_RESERVED4_S 0
  412. #define EFUSE_PGM_DATA6_REG (DR_REG_EFUSE_BASE + 0x018)
  413. /* EFUSE_PGM_DATA_6 : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
  414. /*description: The content of the sixth 32-bit data to be programmed.*/
  415. #define EFUSE_PGM_DATA_6 0xFFFFFFFF
  416. #define EFUSE_PGM_DATA_6_M ((EFUSE_PGM_DATA_6_V)<<(EFUSE_PGM_DATA_6_S))
  417. #define EFUSE_PGM_DATA_6_V 0xFFFFFFFF
  418. #define EFUSE_PGM_DATA_6_S 0
  419. #define EFUSE_PGM_DATA7_REG (DR_REG_EFUSE_BASE + 0x01c)
  420. /* EFUSE_PGM_DATA_7 : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
  421. /*description: The value of pgm data 7.*/
  422. #define EFUSE_PGM_DATA_7 0xFFFFFFFF
  423. #define EFUSE_PGM_DATA_7_M ((EFUSE_PGM_DATA_7_V)<<(EFUSE_PGM_DATA_7_S))
  424. #define EFUSE_PGM_DATA_7_V 0xFFFFFFFF
  425. #define EFUSE_PGM_DATA_7_S 0
  426. #define EFUSE_PGM_CHECK_VALUE0_REG (DR_REG_EFUSE_BASE + 0x020)
  427. /* EFUSE_PGM_RS_DATA_0 : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
  428. /*description: The content of the 0th 32-bit RS code to be programmed.*/
  429. #define EFUSE_PGM_RS_DATA_0 0xFFFFFFFF
  430. #define EFUSE_PGM_RS_DATA_0_M ((EFUSE_PGM_RS_DATA_0_V)<<(EFUSE_PGM_RS_DATA_0_S))
  431. #define EFUSE_PGM_RS_DATA_0_V 0xFFFFFFFF
  432. #define EFUSE_PGM_RS_DATA_0_S 0
  433. #define EFUSE_PGM_CHECK_VALUE1_REG (DR_REG_EFUSE_BASE + 0x024)
  434. /* EFUSE_PGM_RS_DATA_1 : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
  435. /*description: The content of the first 32-bit RS code to be programmed.*/
  436. #define EFUSE_PGM_RS_DATA_1 0xFFFFFFFF
  437. #define EFUSE_PGM_RS_DATA_1_M ((EFUSE_PGM_RS_DATA_1_V)<<(EFUSE_PGM_RS_DATA_1_S))
  438. #define EFUSE_PGM_RS_DATA_1_V 0xFFFFFFFF
  439. #define EFUSE_PGM_RS_DATA_1_S 0
  440. #define EFUSE_PGM_CHECK_VALUE2_REG (DR_REG_EFUSE_BASE + 0x028)
  441. /* EFUSE_PGM_RS_DATA_2 : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
  442. /*description: The content of the second 32-bit RS code to be programmed.*/
  443. #define EFUSE_PGM_RS_DATA_2 0xFFFFFFFF
  444. #define EFUSE_PGM_RS_DATA_2_M ((EFUSE_PGM_RS_DATA_2_V)<<(EFUSE_PGM_RS_DATA_2_S))
  445. #define EFUSE_PGM_RS_DATA_2_V 0xFFFFFFFF
  446. #define EFUSE_PGM_RS_DATA_2_S 0
  447. #define EFUSE_RD_WR_DIS_REG (DR_REG_EFUSE_BASE + 0x02c)
  448. /* EFUSE_WR_DIS : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  449. /*description: The value of WR_DIS.*/
  450. #define EFUSE_WR_DIS 0xFFFFFFFF
  451. #define EFUSE_WR_DIS_M ((EFUSE_WR_DIS_V)<<(EFUSE_WR_DIS_S))
  452. #define EFUSE_WR_DIS_V 0xFFFFFFFF
  453. #define EFUSE_WR_DIS_S 0
  454. #define EFUSE_WR_DIS_RD_DIS (1<<0)
  455. #define EFUSE_WR_DIS_DIS_RTC_RAM_BOOT (1<<1)
  456. #define EFUSE_WR_DIS_GROUP_1 (1<<2)
  457. #define EFUSE_WR_DIS_GROUP_2 (1<<3)
  458. #define EFUSE_WR_DIS_SPI_BOOT_CRYPT_CNT (1<<4)
  459. #define EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE0 (1<<5)
  460. #define EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE1 (1<<6)
  461. #define EFUSE_WR_DIS_SECURE_BOOT_KEY_REVOKE2 (1<<7)
  462. #define EFUSE_WR_DIS_KEY0_PURPOSE (1<<8)
  463. #define EFUSE_WR_DIS_KEY1_PURPOSE (1<<9)
  464. #define EFUSE_WR_DIS_KEY2_PURPOSE (1<<10)
  465. #define EFUSE_WR_DIS_KEY3_PURPOSE (1<<11)
  466. #define EFUSE_WR_DIS_KEY4_PURPOSE (1<<12)
  467. #define EFUSE_WR_DIS_KEY5_PURPOSE (1<<13)
  468. #define EFUSE_WR_DIS_SECURE_BOOT_EN (1<<15)
  469. #define EFUSE_WR_DIS_SECURE_BOOT_AGGRESSIVE_REVOKE (1<<16)
  470. #define EFUSE_WR_DIS_GROUP_3 (1<<18)
  471. #define EFUSE_WR_DIS_BLK1 (1<<20)
  472. #define EFUSE_WR_DIS_SYS_DATA_PART1 (1<<21)
  473. #define EFUSE_WR_DIS_USER_DATA (1<<22)
  474. #define EFUSE_WR_DIS_KEY0 (1<<23)
  475. #define EFUSE_WR_DIS_KEY1 (1<<24)
  476. #define EFUSE_WR_DIS_KEY2 (1<<25)
  477. #define EFUSE_WR_DIS_KEY3 (1<<26)
  478. #define EFUSE_WR_DIS_KEY4 (1<<27)
  479. #define EFUSE_WR_DIS_KEY5 (1<<28)
  480. #define EFUSE_WR_DIS_SYS_DATA_PART2 (1<<29)
  481. #define EFUSE_WR_DIS_USB_EXCHG_PINS (1<<30)
  482. #define EFUSE_RD_REPEAT_DATA0_REG (DR_REG_EFUSE_BASE + 0x030)
  483. /* EFUSE_VDD_SPI_DREFH : RO ;bitpos:[31:30] ;default: 2'h0 ; */
  484. /*description: The value of VDD_SPI_DREFH.*/
  485. #define EFUSE_VDD_SPI_DREFH 0x00000003
  486. #define EFUSE_VDD_SPI_DREFH_M ((EFUSE_VDD_SPI_DREFH_V)<<(EFUSE_VDD_SPI_DREFH_S))
  487. #define EFUSE_VDD_SPI_DREFH_V 0x3
  488. #define EFUSE_VDD_SPI_DREFH_S 30
  489. /* EFUSE_VDD_SPI_MODECURLIM : RO ;bitpos:[29] ;default: 1'h0 ; */
  490. /*description: The value of VDD_SPI_MODECURLIM.*/
  491. #define EFUSE_VDD_SPI_MODECURLIM (BIT(29))
  492. #define EFUSE_VDD_SPI_MODECURLIM_M (BIT(29))
  493. #define EFUSE_VDD_SPI_MODECURLIM_V 0x1
  494. #define EFUSE_VDD_SPI_MODECURLIM_S 29
  495. /* EFUSE_RPT4_RESERVED0 : RO ;bitpos:[28:27] ;default: 2'h0 ; */
  496. /*description: Reserved.*/
  497. #define EFUSE_RPT4_RESERVED0 0x00000003
  498. #define EFUSE_RPT4_RESERVED0_M ((EFUSE_RPT4_RESERVED0_V)<<(EFUSE_RPT4_RESERVED0_S))
  499. #define EFUSE_RPT4_RESERVED0_V 0x3
  500. #define EFUSE_RPT4_RESERVED0_S 27
  501. /* EFUSE_USB_FORCE_NOPERSIST : RO ;bitpos:[26] ;default: 1'h0 ; */
  502. /*description: The value of usb_force_nopersist*/
  503. #define EFUSE_USB_FORCE_NOPERSIST (BIT(26))
  504. #define EFUSE_USB_FORCE_NOPERSIST_M (BIT(26))
  505. #define EFUSE_USB_FORCE_NOPERSIST_V 0x1
  506. #define EFUSE_USB_FORCE_NOPERSIST_S 26
  507. /* EFUSE_USB_EXT_PHY_ENABLE : RO ;bitpos:[25] ;default: 1'h0 ; */
  508. /*description: The value of EXT_PHY_ENABLE.*/
  509. #define EFUSE_USB_EXT_PHY_ENABLE (BIT(25))
  510. #define EFUSE_USB_EXT_PHY_ENABLE_M (BIT(25))
  511. #define EFUSE_USB_EXT_PHY_ENABLE_V 0x1
  512. #define EFUSE_USB_EXT_PHY_ENABLE_S 25
  513. /* EFUSE_USB_EXCHG_PINS : RO ;bitpos:[24] ;default: 1'h0 ; */
  514. /*description: Reserved.*/
  515. #define EFUSE_USB_EXCHG_PINS (BIT(24))
  516. #define EFUSE_USB_EXCHG_PINS_M (BIT(24))
  517. #define EFUSE_USB_EXCHG_PINS_V 0x1
  518. #define EFUSE_USB_EXCHG_PINS_S 24
  519. /* EFUSE_USB_DREFL : RO ;bitpos:[23:22] ;default: 2'h0 ; */
  520. /*description: The value of USB_DREFL.*/
  521. #define EFUSE_USB_DREFL 0x00000003
  522. #define EFUSE_USB_DREFL_M ((EFUSE_USB_DREFL_V)<<(EFUSE_USB_DREFL_S))
  523. #define EFUSE_USB_DREFL_V 0x3
  524. #define EFUSE_USB_DREFL_S 22
  525. /* EFUSE_USB_DREFH : RO ;bitpos:[21:20] ;default: 2'h0 ; */
  526. /*description: The value of USB_DREFH.*/
  527. #define EFUSE_USB_DREFH 0x00000003
  528. #define EFUSE_USB_DREFH_M ((EFUSE_USB_DREFH_V)<<(EFUSE_USB_DREFH_S))
  529. #define EFUSE_USB_DREFH_V 0x3
  530. #define EFUSE_USB_DREFH_S 20
  531. /* EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT : RO ;bitpos:[19] ;default: 1'h0 ; */
  532. /*description: The value of DIS_DOWNLOAD_MANUAL_ENCRYPT.*/
  533. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT (BIT(19))
  534. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_M (BIT(19))
  535. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_V 0x1
  536. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_S 19
  537. /* EFUSE_HARD_DIS_JTAG : RO ;bitpos:[18] ;default: 1'h0 ; */
  538. /*description: The value of HARD_DIS_JTAG.*/
  539. #define EFUSE_HARD_DIS_JTAG (BIT(18))
  540. #define EFUSE_HARD_DIS_JTAG_M (BIT(18))
  541. #define EFUSE_HARD_DIS_JTAG_V 0x1
  542. #define EFUSE_HARD_DIS_JTAG_S 18
  543. /* EFUSE_SOFT_DIS_JTAG : RO ;bitpos:[17] ;default: 1'h0 ; */
  544. /*description: The value of SOFT_DIS_JTAG.*/
  545. #define EFUSE_SOFT_DIS_JTAG (BIT(17))
  546. #define EFUSE_SOFT_DIS_JTAG_M (BIT(17))
  547. #define EFUSE_SOFT_DIS_JTAG_V 0x1
  548. #define EFUSE_SOFT_DIS_JTAG_S 17
  549. /* EFUSE_DIS_EFUSE_ATE_WR : RO ;bitpos:[16] ;default: 1'h0 ; */
  550. /*description: The value of DIS_EFUSE_ATE_WR.*/
  551. #define EFUSE_DIS_EFUSE_ATE_WR (BIT(16))
  552. #define EFUSE_DIS_EFUSE_ATE_WR_M (BIT(16))
  553. #define EFUSE_DIS_EFUSE_ATE_WR_V 0x1
  554. #define EFUSE_DIS_EFUSE_ATE_WR_S 16
  555. /* EFUSE_DIS_BOOT_REMAP : RO ;bitpos:[15] ;default: 1'h0 ; */
  556. /*description: The value of DIS_BOOT_REMAP.*/
  557. #define EFUSE_DIS_BOOT_REMAP (BIT(15))
  558. #define EFUSE_DIS_BOOT_REMAP_M (BIT(15))
  559. #define EFUSE_DIS_BOOT_REMAP_V 0x1
  560. #define EFUSE_DIS_BOOT_REMAP_S 15
  561. /* EFUSE_DIS_CAN : RO ;bitpos:[14] ;default: 1'h0 ; */
  562. /*description: The value of DIS_CAN.*/
  563. #define EFUSE_DIS_CAN (BIT(14))
  564. #define EFUSE_DIS_CAN_M (BIT(14))
  565. #define EFUSE_DIS_CAN_V 0x1
  566. #define EFUSE_DIS_CAN_S 14
  567. /* EFUSE_DIS_USB : RO ;bitpos:[13] ;default: 1'h0 ; */
  568. /*description: The value of DIS_USB.*/
  569. #define EFUSE_DIS_USB (BIT(13))
  570. #define EFUSE_DIS_USB_M (BIT(13))
  571. #define EFUSE_DIS_USB_V 0x1
  572. #define EFUSE_DIS_USB_S 13
  573. /* EFUSE_DIS_FORCE_DOWNLOAD : RO ;bitpos:[12] ;default: 1'h0 ; */
  574. /*description: The value of DIS_FORCE_DOWNLOAD.*/
  575. #define EFUSE_DIS_FORCE_DOWNLOAD (BIT(12))
  576. #define EFUSE_DIS_FORCE_DOWNLOAD_M (BIT(12))
  577. #define EFUSE_DIS_FORCE_DOWNLOAD_V 0x1
  578. #define EFUSE_DIS_FORCE_DOWNLOAD_S 12
  579. /* EFUSE_DIS_DOWNLOAD_DCACHE : RO ;bitpos:[11] ;default: 1'h0 ; */
  580. /*description: The value of DIS_DOWNLOAD_DCACHE.*/
  581. #define EFUSE_DIS_DOWNLOAD_DCACHE (BIT(11))
  582. #define EFUSE_DIS_DOWNLOAD_DCACHE_M (BIT(11))
  583. #define EFUSE_DIS_DOWNLOAD_DCACHE_V 0x1
  584. #define EFUSE_DIS_DOWNLOAD_DCACHE_S 11
  585. /* EFUSE_DIS_DOWNLOAD_ICACHE : RO ;bitpos:[10] ;default: 1'h0 ; */
  586. /*description: The value of DIS_DOWNLOAD_ICACHE.*/
  587. #define EFUSE_DIS_DOWNLOAD_ICACHE (BIT(10))
  588. #define EFUSE_DIS_DOWNLOAD_ICACHE_M (BIT(10))
  589. #define EFUSE_DIS_DOWNLOAD_ICACHE_V 0x1
  590. #define EFUSE_DIS_DOWNLOAD_ICACHE_S 10
  591. /* EFUSE_DIS_DCACHE : RO ;bitpos:[9] ;default: 1'h0 ; */
  592. /*description: The value of DIS_DCACHE.*/
  593. #define EFUSE_DIS_DCACHE (BIT(9))
  594. #define EFUSE_DIS_DCACHE_M (BIT(9))
  595. #define EFUSE_DIS_DCACHE_V 0x1
  596. #define EFUSE_DIS_DCACHE_S 9
  597. /* EFUSE_DIS_ICACHE : RO ;bitpos:[8] ;default: 1'h0 ; */
  598. /*description: The value of DIS_ICACHE.*/
  599. #define EFUSE_DIS_ICACHE (BIT(8))
  600. #define EFUSE_DIS_ICACHE_M (BIT(8))
  601. #define EFUSE_DIS_ICACHE_V 0x1
  602. #define EFUSE_DIS_ICACHE_S 8
  603. /* EFUSE_DIS_RTC_RAM_BOOT : RO ;bitpos:[7] ;default: 1'h0 ; */
  604. /*description: The value of DIS_RTC_RAM_BOOT.*/
  605. #define EFUSE_DIS_RTC_RAM_BOOT (BIT(7))
  606. #define EFUSE_DIS_RTC_RAM_BOOT_M (BIT(7))
  607. #define EFUSE_DIS_RTC_RAM_BOOT_V 0x1
  608. #define EFUSE_DIS_RTC_RAM_BOOT_S 7
  609. /* EFUSE_RD_DIS : RO ;bitpos:[6:0] ;default: 7'h0 ; */
  610. /*description: The value of RD_DIS.*/
  611. #define EFUSE_RD_DIS 0x0000007F
  612. #define EFUSE_RD_DIS_M ((EFUSE_RD_DIS_V)<<(EFUSE_RD_DIS_S))
  613. #define EFUSE_RD_DIS_V 0x7F
  614. #define EFUSE_RD_DIS_S 0
  615. #define EFUSE_RD_REPEAT_DATA1_REG (DR_REG_EFUSE_BASE + 0x034)
  616. /* EFUSE_KEY_PURPOSE_1 : RO ;bitpos:[31:28] ;default: 4'h0 ; */
  617. /*description: The value of KEY_PURPOSE_1.*/
  618. #define EFUSE_KEY_PURPOSE_1 0x0000000F
  619. #define EFUSE_KEY_PURPOSE_1_M ((EFUSE_KEY_PURPOSE_1_V)<<(EFUSE_KEY_PURPOSE_1_S))
  620. #define EFUSE_KEY_PURPOSE_1_V 0xF
  621. #define EFUSE_KEY_PURPOSE_1_S 28
  622. /* EFUSE_KEY_PURPOSE_0 : RO ;bitpos:[27:24] ;default: 4'h0 ; */
  623. /*description: The value of KEY_PURPOSE_0.*/
  624. #define EFUSE_KEY_PURPOSE_0 0x0000000F
  625. #define EFUSE_KEY_PURPOSE_0_M ((EFUSE_KEY_PURPOSE_0_V)<<(EFUSE_KEY_PURPOSE_0_S))
  626. #define EFUSE_KEY_PURPOSE_0_V 0xF
  627. #define EFUSE_KEY_PURPOSE_0_S 24
  628. /* EFUSE_SECURE_BOOT_KEY_REVOKE2 : RO ;bitpos:[23] ;default: 1'h0 ; */
  629. /*description: The value of SECURE_BOOT_KEY_REVOKE2.*/
  630. #define EFUSE_SECURE_BOOT_KEY_REVOKE2 (BIT(23))
  631. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_M (BIT(23))
  632. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_V 0x1
  633. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_S 23
  634. /* EFUSE_SECURE_BOOT_KEY_REVOKE1 : RO ;bitpos:[22] ;default: 1'h0 ; */
  635. /*description: The value of SECURE_BOOT_KEY_REVOKE1.*/
  636. #define EFUSE_SECURE_BOOT_KEY_REVOKE1 (BIT(22))
  637. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_M (BIT(22))
  638. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_V 0x1
  639. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_S 22
  640. /* EFUSE_SECURE_BOOT_KEY_REVOKE0 : RO ;bitpos:[21] ;default: 1'h0 ; */
  641. /*description: The value of SECURE_BOOT_KEY_REVOKE0.*/
  642. #define EFUSE_SECURE_BOOT_KEY_REVOKE0 (BIT(21))
  643. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_M (BIT(21))
  644. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_V 0x1
  645. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_S 21
  646. /* EFUSE_SPI_BOOT_CRYPT_CNT : RO ;bitpos:[20:18] ;default: 3'h0 ; */
  647. /*description: The value of SPI_BOOT_CRYPT_CNT.*/
  648. #define EFUSE_SPI_BOOT_CRYPT_CNT 0x00000007
  649. #define EFUSE_SPI_BOOT_CRYPT_CNT_M ((EFUSE_SPI_BOOT_CRYPT_CNT_V)<<(EFUSE_SPI_BOOT_CRYPT_CNT_S))
  650. #define EFUSE_SPI_BOOT_CRYPT_CNT_V 0x7
  651. #define EFUSE_SPI_BOOT_CRYPT_CNT_S 18
  652. /* EFUSE_WDT_DELAY_SEL : RO ;bitpos:[17:16] ;default: 2'h0 ; */
  653. /*description: The value of WDT_DELAY_SEL.*/
  654. #define EFUSE_WDT_DELAY_SEL 0x00000003
  655. #define EFUSE_WDT_DELAY_SEL_M ((EFUSE_WDT_DELAY_SEL_V)<<(EFUSE_WDT_DELAY_SEL_S))
  656. #define EFUSE_WDT_DELAY_SEL_V 0x3
  657. #define EFUSE_WDT_DELAY_SEL_S 16
  658. /* EFUSE_VDD_SPI_DCAP : RO ;bitpos:[15:14] ;default: 2'h0 ; */
  659. /*description: The value of REG_VDD_SPI_DCAP.*/
  660. #define EFUSE_VDD_SPI_DCAP 0x00000003
  661. #define EFUSE_VDD_SPI_DCAP_M ((EFUSE_VDD_SPI_DCAP_V)<<(EFUSE_VDD_SPI_DCAP_S))
  662. #define EFUSE_VDD_SPI_DCAP_V 0x3
  663. #define EFUSE_VDD_SPI_DCAP_S 14
  664. /* EFUSE_VDD_SPI_INIT : RO ;bitpos:[13:12] ;default: 2'h0 ; */
  665. /*description: The value of VDD_SPI_INIT.*/
  666. #define EFUSE_VDD_SPI_INIT 0x00000003
  667. #define EFUSE_VDD_SPI_INIT_M ((EFUSE_VDD_SPI_INIT_V)<<(EFUSE_VDD_SPI_INIT_S))
  668. #define EFUSE_VDD_SPI_INIT_V 0x3
  669. #define EFUSE_VDD_SPI_INIT_S 12
  670. /* EFUSE_VDD_SPI_DCURLIM : RO ;bitpos:[11:9] ;default: 3'h0 ; */
  671. /*description: The value of VDD_SPI_DCURLIM.*/
  672. #define EFUSE_VDD_SPI_DCURLIM 0x00000007
  673. #define EFUSE_VDD_SPI_DCURLIM_M ((EFUSE_VDD_SPI_DCURLIM_V)<<(EFUSE_VDD_SPI_DCURLIM_S))
  674. #define EFUSE_VDD_SPI_DCURLIM_V 0x7
  675. #define EFUSE_VDD_SPI_DCURLIM_S 9
  676. /* EFUSE_VDD_SPI_ENCURLIM : RO ;bitpos:[8] ;default: 1'h0 ; */
  677. /*description: The value of VDD_SPI_ENCURLIM.*/
  678. #define EFUSE_VDD_SPI_ENCURLIM (BIT(8))
  679. #define EFUSE_VDD_SPI_ENCURLIM_M (BIT(8))
  680. #define EFUSE_VDD_SPI_ENCURLIM_V 0x1
  681. #define EFUSE_VDD_SPI_ENCURLIM_S 8
  682. /* EFUSE_VDD_SPI_EN_INIT : RO ;bitpos:[7] ;default: 1'h0 ; */
  683. /*description: The value of VDD_SPI_EN_INIT.*/
  684. #define EFUSE_VDD_SPI_EN_INIT (BIT(7))
  685. #define EFUSE_VDD_SPI_EN_INIT_M (BIT(7))
  686. #define EFUSE_VDD_SPI_EN_INIT_V 0x1
  687. #define EFUSE_VDD_SPI_EN_INIT_S 7
  688. /* EFUSE_VDD_SPI_FORCE : RO ;bitpos:[6] ;default: 1'h0 ; */
  689. /*description: The value of VDD_SPI_FORCE.*/
  690. #define EFUSE_VDD_SPI_FORCE (BIT(6))
  691. #define EFUSE_VDD_SPI_FORCE_M (BIT(6))
  692. #define EFUSE_VDD_SPI_FORCE_V 0x1
  693. #define EFUSE_VDD_SPI_FORCE_S 6
  694. /* EFUSE_VDD_SPI_TIEH : RO ;bitpos:[5] ;default: 1'h0 ; */
  695. /*description: The value of VDD_SPI_TIEH.*/
  696. #define EFUSE_VDD_SPI_TIEH (BIT(5))
  697. #define EFUSE_VDD_SPI_TIEH_M (BIT(5))
  698. #define EFUSE_VDD_SPI_TIEH_V 0x1
  699. #define EFUSE_VDD_SPI_TIEH_S 5
  700. /* EFUSE_VDD_SPI_XPD : RO ;bitpos:[4] ;default: 1'h0 ; */
  701. /*description: The value of VDD_SPI_XPD.*/
  702. #define EFUSE_VDD_SPI_XPD (BIT(4))
  703. #define EFUSE_VDD_SPI_XPD_M (BIT(4))
  704. #define EFUSE_VDD_SPI_XPD_V 0x1
  705. #define EFUSE_VDD_SPI_XPD_S 4
  706. /* EFUSE_VDD_SPI_DREFL : RO ;bitpos:[3:2] ;default: 2'h0 ; */
  707. /*description: The value of VDD_SPI_DREFL.*/
  708. #define EFUSE_VDD_SPI_DREFL 0x00000003
  709. #define EFUSE_VDD_SPI_DREFL_M ((EFUSE_VDD_SPI_DREFL_V)<<(EFUSE_VDD_SPI_DREFL_S))
  710. #define EFUSE_VDD_SPI_DREFL_V 0x3
  711. #define EFUSE_VDD_SPI_DREFL_S 2
  712. /* EFUSE_VDD_SPI_DREFM : RO ;bitpos:[1:0] ;default: 2'h0 ; */
  713. /*description: The value of VDD_SPI_DREFM.*/
  714. #define EFUSE_VDD_SPI_DREFM 0x00000003
  715. #define EFUSE_VDD_SPI_DREFM_M ((EFUSE_VDD_SPI_DREFM_V)<<(EFUSE_VDD_SPI_DREFM_S))
  716. #define EFUSE_VDD_SPI_DREFM_V 0x3
  717. #define EFUSE_VDD_SPI_DREFM_S 0
  718. #define EFUSE_RD_REPEAT_DATA2_REG (DR_REG_EFUSE_BASE + 0x038)
  719. /* EFUSE_FLASH_TPUW : RO ;bitpos:[31:28] ;default: 4'h0 ; */
  720. /*description: The value of FLASH_TPUW.*/
  721. #define EFUSE_FLASH_TPUW 0x0000000F
  722. #define EFUSE_FLASH_TPUW_M ((EFUSE_FLASH_TPUW_V)<<(EFUSE_FLASH_TPUW_S))
  723. #define EFUSE_FLASH_TPUW_V 0xF
  724. #define EFUSE_FLASH_TPUW_S 28
  725. /* EFUSE_RPT4_RESERVED1 : RO ;bitpos:[27:22] ;default: 6'h0 ; */
  726. /*description: Reserved.*/
  727. #define EFUSE_RPT4_RESERVED1 0x0000003F
  728. #define EFUSE_RPT4_RESERVED1_M ((EFUSE_RPT4_RESERVED1_V)<<(EFUSE_RPT4_RESERVED1_S))
  729. #define EFUSE_RPT4_RESERVED1_V 0x3F
  730. #define EFUSE_RPT4_RESERVED1_S 22
  731. /* EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE : RO ;bitpos:[21] ;default: 1'h0 ; */
  732. /*description: The value of SECURE_BOOT_AGGRESSIVE_REVOKE.*/
  733. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE (BIT(21))
  734. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_M (BIT(21))
  735. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_V 0x1
  736. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_S 21
  737. /* EFUSE_SECURE_BOOT_EN : RO ;bitpos:[20] ;default: 1'h0 ; */
  738. /*description: The value of SECURE_BOOT_EN.*/
  739. #define EFUSE_SECURE_BOOT_EN (BIT(20))
  740. #define EFUSE_SECURE_BOOT_EN_M (BIT(20))
  741. #define EFUSE_SECURE_BOOT_EN_V 0x1
  742. #define EFUSE_SECURE_BOOT_EN_S 20
  743. /* EFUSE_KEY_PURPOSE_6 : RO ;bitpos:[19:16] ;default: 4'h0 ; */
  744. /*description: The value of KEY_PURPOSE_6.*/
  745. #define EFUSE_KEY_PURPOSE_6 0x0000000F
  746. #define EFUSE_KEY_PURPOSE_6_M ((EFUSE_KEY_PURPOSE_6_V)<<(EFUSE_KEY_PURPOSE_6_S))
  747. #define EFUSE_KEY_PURPOSE_6_V 0xF
  748. #define EFUSE_KEY_PURPOSE_6_S 16
  749. /* EFUSE_KEY_PURPOSE_5 : RO ;bitpos:[15:12] ;default: 4'h0 ; */
  750. /*description: The value of KEY_PURPOSE_5.*/
  751. #define EFUSE_KEY_PURPOSE_5 0x0000000F
  752. #define EFUSE_KEY_PURPOSE_5_M ((EFUSE_KEY_PURPOSE_5_V)<<(EFUSE_KEY_PURPOSE_5_S))
  753. #define EFUSE_KEY_PURPOSE_5_V 0xF
  754. #define EFUSE_KEY_PURPOSE_5_S 12
  755. /* EFUSE_KEY_PURPOSE_4 : RO ;bitpos:[11:8] ;default: 4'h0 ; */
  756. /*description: The value of KEY_PURPOSE_4.*/
  757. #define EFUSE_KEY_PURPOSE_4 0x0000000F
  758. #define EFUSE_KEY_PURPOSE_4_M ((EFUSE_KEY_PURPOSE_4_V)<<(EFUSE_KEY_PURPOSE_4_S))
  759. #define EFUSE_KEY_PURPOSE_4_V 0xF
  760. #define EFUSE_KEY_PURPOSE_4_S 8
  761. /* EFUSE_KEY_PURPOSE_3 : RO ;bitpos:[7:4] ;default: 4'h0 ; */
  762. /*description: The value of KEY_PURPOSE_3.*/
  763. #define EFUSE_KEY_PURPOSE_3 0x0000000F
  764. #define EFUSE_KEY_PURPOSE_3_M ((EFUSE_KEY_PURPOSE_3_V)<<(EFUSE_KEY_PURPOSE_3_S))
  765. #define EFUSE_KEY_PURPOSE_3_V 0xF
  766. #define EFUSE_KEY_PURPOSE_3_S 4
  767. /* EFUSE_KEY_PURPOSE_2 : RO ;bitpos:[3:0] ;default: 4'h0 ; */
  768. /*description: The value of KEY_PURPOSE_2.*/
  769. #define EFUSE_KEY_PURPOSE_2 0x0000000F
  770. #define EFUSE_KEY_PURPOSE_2_M ((EFUSE_KEY_PURPOSE_2_V)<<(EFUSE_KEY_PURPOSE_2_S))
  771. #define EFUSE_KEY_PURPOSE_2_V 0xF
  772. #define EFUSE_KEY_PURPOSE_2_S 0
  773. #define EFUSE_RD_REPEAT_DATA3_REG (DR_REG_EFUSE_BASE + 0x03c)
  774. /* EFUSE_RPT4_RESERVED2 : RO ;bitpos:[31:27] ;default: 5'h0 ; */
  775. /*description: Reserved.*/
  776. #define EFUSE_RPT4_RESERVED2 0x0000001F
  777. #define EFUSE_RPT4_RESERVED2_M ((EFUSE_RPT4_RESERVED2_V)<<(EFUSE_RPT4_RESERVED2_S))
  778. #define EFUSE_RPT4_RESERVED2_V 0x1F
  779. #define EFUSE_RPT4_RESERVED2_S 27
  780. /* EFUSE_SECURE_VERSION : RO ;bitpos:[26:11] ;default: 16'h0 ; */
  781. /*description: The value of SECURE_VERSION.*/
  782. #define EFUSE_SECURE_VERSION 0x0000FFFF
  783. #define EFUSE_SECURE_VERSION_M ((EFUSE_SECURE_VERSION_V)<<(EFUSE_SECURE_VERSION_S))
  784. #define EFUSE_SECURE_VERSION_V 0xFFFF
  785. #define EFUSE_SECURE_VERSION_S 11
  786. /* EFUSE_FORCE_SEND_RESUME : RO ;bitpos:[10] ;default: 1'h0 ; */
  787. /*description: The value of FORCE_SEND_RESUME.*/
  788. #define EFUSE_FORCE_SEND_RESUME (BIT(10))
  789. #define EFUSE_FORCE_SEND_RESUME_M (BIT(10))
  790. #define EFUSE_FORCE_SEND_RESUME_V 0x1
  791. #define EFUSE_FORCE_SEND_RESUME_S 10
  792. /* EFUSE_FLASH_TYPE : RO ;bitpos:[9] ;default: 1'h0 ; */
  793. /*description: The value of FLASH_TYPE.*/
  794. #define EFUSE_FLASH_TYPE (BIT(9))
  795. #define EFUSE_FLASH_TYPE_M (BIT(9))
  796. #define EFUSE_FLASH_TYPE_V 0x1
  797. #define EFUSE_FLASH_TYPE_S 9
  798. /* EFUSE_PIN_POWER_SELECTION : RO ;bitpos:[8] ;default: 1'h0 ; */
  799. /*description: The value of PIN_POWER_SELECTION.*/
  800. #define EFUSE_PIN_POWER_SELECTION (BIT(8))
  801. #define EFUSE_PIN_POWER_SELECTION_M (BIT(8))
  802. #define EFUSE_PIN_POWER_SELECTION_V 0x1
  803. #define EFUSE_PIN_POWER_SELECTION_S 8
  804. /* EFUSE_UART_PRINT_CONTROL : RO ;bitpos:[7:6] ;default: 2'h0 ; */
  805. /*description: The value of UART_PRINT_CONTROL.*/
  806. #define EFUSE_UART_PRINT_CONTROL 0x00000003
  807. #define EFUSE_UART_PRINT_CONTROL_M ((EFUSE_UART_PRINT_CONTROL_V)<<(EFUSE_UART_PRINT_CONTROL_S))
  808. #define EFUSE_UART_PRINT_CONTROL_V 0x3
  809. #define EFUSE_UART_PRINT_CONTROL_S 6
  810. /* EFUSE_ENABLE_SECURITY_DOWNLOAD : RO ;bitpos:[5] ;default: 1'h0 ; */
  811. /*description: The value of ENABLE_SECURITY_DOWNLOAD.*/
  812. #define EFUSE_ENABLE_SECURITY_DOWNLOAD (BIT(5))
  813. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_M (BIT(5))
  814. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_V 0x1
  815. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_S 5
  816. /* EFUSE_DIS_USB_DOWNLOAD_MODE : RO ;bitpos:[4] ;default: 1'h0 ; */
  817. /*description: The value of DIS_USB_DOWNLOAD_MODE.*/
  818. #define EFUSE_DIS_USB_DOWNLOAD_MODE (BIT(4))
  819. #define EFUSE_DIS_USB_DOWNLOAD_MODE_M (BIT(4))
  820. #define EFUSE_DIS_USB_DOWNLOAD_MODE_V 0x1
  821. #define EFUSE_DIS_USB_DOWNLOAD_MODE_S 4
  822. /* EFUSE_RPT4_RESERVED3 : RO ;bitpos:[3] ;default: 1'h0 ; */
  823. /*description: The value of RPT4_RESERVED4.*/
  824. #define EFUSE_RPT4_RESERVED3 (BIT(3))
  825. #define EFUSE_RPT4_RESERVED3_M (BIT(3))
  826. #define EFUSE_RPT4_RESERVED3_V 0x1
  827. #define EFUSE_RPT4_RESERVED3_S 3
  828. /* EFUSE_UART_PRINT_CHANNEL : RO ;bitpos:[2] ;default: 1'h0 ; */
  829. /*description: The value of UART_PRINT_CHANNEL.*/
  830. #define EFUSE_UART_PRINT_CHANNEL (BIT(2))
  831. #define EFUSE_UART_PRINT_CHANNEL_M (BIT(2))
  832. #define EFUSE_UART_PRINT_CHANNEL_V 0x1
  833. #define EFUSE_UART_PRINT_CHANNEL_S 2
  834. /* EFUSE_DIS_LEGACY_SPI_BOOT : RO ;bitpos:[1] ;default: 1'h0 ; */
  835. /*description: The value of DIS_LEGACY_SPI_BOOT.*/
  836. #define EFUSE_DIS_LEGACY_SPI_BOOT (BIT(1))
  837. #define EFUSE_DIS_LEGACY_SPI_BOOT_M (BIT(1))
  838. #define EFUSE_DIS_LEGACY_SPI_BOOT_V 0x1
  839. #define EFUSE_DIS_LEGACY_SPI_BOOT_S 1
  840. /* EFUSE_DIS_DOWNLOAD_MODE : RO ;bitpos:[0] ;default: 1'h0 ; */
  841. /*description: The value of DIS_DOWNLOAD_MODE.*/
  842. #define EFUSE_DIS_DOWNLOAD_MODE (BIT(0))
  843. #define EFUSE_DIS_DOWNLOAD_MODE_M (BIT(0))
  844. #define EFUSE_DIS_DOWNLOAD_MODE_V 0x1
  845. #define EFUSE_DIS_DOWNLOAD_MODE_S 0
  846. #define EFUSE_RD_REPEAT_DATA4_REG (DR_REG_EFUSE_BASE + 0x040)
  847. /* EFUSE_RPT1_RESERVED0 : RO ;bitpos:[31:24] ;default: 8'h0 ; */
  848. /*description: Reserved.*/
  849. #define EFUSE_RPT1_RESERVED0 0x000000FF
  850. #define EFUSE_RPT1_RESERVED0_M ((EFUSE_RPT1_RESERVED0_V)<<(EFUSE_RPT1_RESERVED0_S))
  851. #define EFUSE_RPT1_RESERVED0_V 0xFF
  852. #define EFUSE_RPT1_RESERVED0_S 24
  853. /* EFUSE_RPT4_RESERVED4 : RO ;bitpos:[23:0] ;default: 24'h0 ; */
  854. /*description: Reserved ( four backup method ).*/
  855. #define EFUSE_RPT4_RESERVED4 0x00FFFFFF
  856. #define EFUSE_RPT4_RESERVED4_M ((EFUSE_RPT4_RESERVED4_V)<<(EFUSE_RPT4_RESERVED4_S))
  857. #define EFUSE_RPT4_RESERVED4_V 0xFFFFFF
  858. #define EFUSE_RPT4_RESERVED4_S 0
  859. #define EFUSE_RD_MAC_SPI_SYS_0_REG (DR_REG_EFUSE_BASE + 0x044)
  860. /* EFUSE_MAC_0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  861. /*description: Stores the low 32 bits of MAC address.*/
  862. #define EFUSE_MAC_0 0xFFFFFFFF
  863. #define EFUSE_MAC_0_M ((EFUSE_MAC_0_V)<<(EFUSE_MAC_0_S))
  864. #define EFUSE_MAC_0_V 0xFFFFFFFF
  865. #define EFUSE_MAC_0_S 0
  866. #define EFUSE_RD_MAC_SPI_SYS_1_REG (DR_REG_EFUSE_BASE + 0x048)
  867. /* EFUSE_SPI_PAD_CONF_0 : RO ;bitpos:[31:16] ;default: 16'h0 ; */
  868. /*description: Stores the zeroth part of SPI_PAD_CONF.*/
  869. #define EFUSE_SPI_PAD_CONF_0 0x0000FFFF
  870. #define EFUSE_SPI_PAD_CONF_0_M ((EFUSE_SPI_PAD_CONF_0_V)<<(EFUSE_SPI_PAD_CONF_0_S))
  871. #define EFUSE_SPI_PAD_CONF_0_V 0xFFFF
  872. #define EFUSE_SPI_PAD_CONF_0_S 16
  873. /* EFUSE_MAC_1 : RO ;bitpos:[15:0] ;default: 16'h0 ; */
  874. /*description: Stores the high 16 bits of MAC address.*/
  875. #define EFUSE_MAC_1 0x0000FFFF
  876. #define EFUSE_MAC_1_M ((EFUSE_MAC_1_V)<<(EFUSE_MAC_1_S))
  877. #define EFUSE_MAC_1_V 0xFFFF
  878. #define EFUSE_MAC_1_S 0
  879. #define EFUSE_RD_MAC_SPI_SYS_2_REG (DR_REG_EFUSE_BASE + 0x04c)
  880. /* EFUSE_SPI_PAD_CONF_1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  881. /*description: Stores the first part of SPI_PAD_CONF.*/
  882. #define EFUSE_SPI_PAD_CONF_1 0xFFFFFFFF
  883. #define EFUSE_SPI_PAD_CONF_1_M ((EFUSE_SPI_PAD_CONF_1_V)<<(EFUSE_SPI_PAD_CONF_1_S))
  884. #define EFUSE_SPI_PAD_CONF_1_V 0xFFFFFFFF
  885. #define EFUSE_SPI_PAD_CONF_1_S 0
  886. #define EFUSE_RD_MAC_SPI_SYS_3_REG (DR_REG_EFUSE_BASE + 0x050)
  887. /* EFUSE_PSRAM_VERSION : RO ;bitpos:[31:28] ;default: 4'h0 ; */
  888. /*description: PSRAM version */
  889. #define EFUSE_PSRAM_VERSION 0x0000000F
  890. #define EFUSE_PSRAM_VERSION_M ((EFUSE_PSRAM_VERSION_V)<<(EFUSE_PSRAM_VERSION_S))
  891. #define EFUSE_PSRAM_VERSION_V 0xF
  892. #define EFUSE_PSRAM_VERSION_S 28
  893. /* EFUSE_FLASH_VERSION : RO ;bitpos:[24:21] ;default: 4'h0 ; */
  894. /*description: Flash version */
  895. #define EFUSE_FLASH_VERSION 0x0000000F
  896. #define EFUSE_FLASH_VERSION_M ((EFUSE_FLASH_VERSION_V)<<(EFUSE_FLASH_VERSION_S))
  897. #define EFUSE_FLASH_VERSION_V 0xF
  898. #define EFUSE_FLASH_VERSION_S 21
  899. /* EFUSE_WAFER_VERSION : RO ;bitpos:[20:18] ;default: 3'h0 ; */
  900. /*description: WAFER version 0:A */
  901. #define EFUSE_WAFER_VERSION 0x00000007
  902. #define EFUSE_WAFER_VERSION_M ((EFUSE_WAFER_VERSION_V)<<(EFUSE_WAFER_VERSION_S))
  903. #define EFUSE_WAFER_VERSION_V 0x7
  904. #define EFUSE_WAFER_VERSION_S 18
  905. /* EFUSE_SPI_PAD_CONF_2 : RO ;bitpos:[17:0] ;default: 18'h0 ; */
  906. /*description: Stores the second part of SPI_PAD_CONF.*/
  907. #define EFUSE_SPI_PAD_CONF_2 0x0003FFFF
  908. #define EFUSE_SPI_PAD_CONF_2_M ((EFUSE_SPI_PAD_CONF_2_V)<<(EFUSE_SPI_PAD_CONF_2_S))
  909. #define EFUSE_SPI_PAD_CONF_2_V 0x3FFFF
  910. #define EFUSE_SPI_PAD_CONF_2_S 0
  911. #define EFUSE_RD_MAC_SPI_SYS_4_REG (DR_REG_EFUSE_BASE + 0x054)
  912. /* EFUSE_SYS_DATA_PART0_1 : RO ;bitpos:[31:4] ;default: 28'h0 ; */
  913. /*description: Stores the fist 32 bits of the zeroth part of system data.*/
  914. #define EFUSE_SYS_DATA_PART0_1 0x0FFFFFFF
  915. #define EFUSE_SYS_DATA_PART0_1_M ((EFUSE_SYS_DATA_PART0_1_V)<<(EFUSE_SYS_DATA_PART0_1_S))
  916. #define EFUSE_SYS_DATA_PART0_1_V 0x0FFFFFFF
  917. #define EFUSE_SYS_DATA_PART0_1_S 4
  918. /* EFUSE_PKG_VERSION : RO ;bitpos:[3:0] ;default: 4'h0 ; */
  919. /*description: Package version */
  920. #define EFUSE_PKG_VERSION 0x0000000F
  921. #define EFUSE_PKG_VERSION_M ((EFUSE_PKG_VERSION_V)<<(EFUSE_PKG_VERSION_S))
  922. #define EFUSE_PKG_VERSION_V 0xF
  923. #define EFUSE_PKG_VERSION_S 0
  924. #define EFUSE_RD_MAC_SPI_SYS_5_REG (DR_REG_EFUSE_BASE + 0x058)
  925. /* EFUSE_SYS_DATA_PART0_2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  926. /*description: Stores the second 32 bits of the zeroth part of system data.*/
  927. #define EFUSE_SYS_DATA_PART0_2 0xFFFFFFFF
  928. #define EFUSE_SYS_DATA_PART0_2_M ((EFUSE_SYS_DATA_PART0_2_V)<<(EFUSE_SYS_DATA_PART0_2_S))
  929. #define EFUSE_SYS_DATA_PART0_2_V 0xFFFFFFFF
  930. #define EFUSE_SYS_DATA_PART0_2_S 0
  931. #define EFUSE_RD_SYS_PART1_DATA0_REG (DR_REG_EFUSE_BASE + 0x05c)
  932. /* EFUSE_SYS_DATA_PART1_0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  933. /*description: Stores the zeroth 32 bits of the first part of system data.*/
  934. #define EFUSE_SYS_DATA_PART1_0 0xFFFFFFFF
  935. #define EFUSE_SYS_DATA_PART1_0_M ((EFUSE_SYS_DATA_PART1_0_V)<<(EFUSE_SYS_DATA_PART1_0_S))
  936. #define EFUSE_SYS_DATA_PART1_0_V 0xFFFFFFFF
  937. #define EFUSE_SYS_DATA_PART1_0_S 0
  938. #define EFUSE_RD_SYS_PART1_DATA1_REG (DR_REG_EFUSE_BASE + 0x060)
  939. /* EFUSE_SYS_DATA_PART1_1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  940. /*description: Stores the first 32 bits of the first part of system data.*/
  941. #define EFUSE_SYS_DATA_PART1_1 0xFFFFFFFF
  942. #define EFUSE_SYS_DATA_PART1_1_M ((EFUSE_SYS_DATA_PART1_1_V)<<(EFUSE_SYS_DATA_PART1_1_S))
  943. #define EFUSE_SYS_DATA_PART1_1_V 0xFFFFFFFF
  944. #define EFUSE_SYS_DATA_PART1_1_S 0
  945. #define EFUSE_RD_SYS_PART1_DATA2_REG (DR_REG_EFUSE_BASE + 0x064)
  946. /* EFUSE_SYS_DATA_PART1_2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  947. /*description: Stores the second 32 bits of the first part of system data.*/
  948. #define EFUSE_SYS_DATA_PART1_2 0xFFFFFFFF
  949. #define EFUSE_SYS_DATA_PART1_2_M ((EFUSE_SYS_DATA_PART1_2_V)<<(EFUSE_SYS_DATA_PART1_2_S))
  950. #define EFUSE_SYS_DATA_PART1_2_V 0xFFFFFFFF
  951. #define EFUSE_SYS_DATA_PART1_2_S 0
  952. #define EFUSE_RD_SYS_PART1_DATA3_REG (DR_REG_EFUSE_BASE + 0x068)
  953. /* EFUSE_SYS_DATA_PART1_3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  954. /*description: Stores the third 32 bits of the first part of system data.*/
  955. #define EFUSE_SYS_DATA_PART1_3 0xFFFFFFFF
  956. #define EFUSE_SYS_DATA_PART1_3_M ((EFUSE_SYS_DATA_PART1_3_V)<<(EFUSE_SYS_DATA_PART1_3_S))
  957. #define EFUSE_SYS_DATA_PART1_3_V 0xFFFFFFFF
  958. #define EFUSE_SYS_DATA_PART1_3_S 0
  959. #define EFUSE_RD_SYS_PART1_DATA4_REG (DR_REG_EFUSE_BASE + 0x06c)
  960. /* EFUSE_SYS_DATA_PART1_4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  961. /*description: Stores the fourth 32 bits of the first part of system data.*/
  962. #define EFUSE_SYS_DATA_PART1_4 0xFFFFFFFF
  963. #define EFUSE_SYS_DATA_PART1_4_M ((EFUSE_SYS_DATA_PART1_4_V)<<(EFUSE_SYS_DATA_PART1_4_S))
  964. #define EFUSE_SYS_DATA_PART1_4_V 0xFFFFFFFF
  965. #define EFUSE_SYS_DATA_PART1_4_S 0
  966. #define EFUSE_RD_SYS_PART1_DATA5_REG (DR_REG_EFUSE_BASE + 0x070)
  967. /* EFUSE_SYS_DATA_PART1_5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  968. /*description: Stores the fifth 32 bits of the first part of system data.*/
  969. #define EFUSE_SYS_DATA_PART1_5 0xFFFFFFFF
  970. #define EFUSE_SYS_DATA_PART1_5_M ((EFUSE_SYS_DATA_PART1_5_V)<<(EFUSE_SYS_DATA_PART1_5_S))
  971. #define EFUSE_SYS_DATA_PART1_5_V 0xFFFFFFFF
  972. #define EFUSE_SYS_DATA_PART1_5_S 0
  973. #define EFUSE_RD_SYS_PART1_DATA6_REG (DR_REG_EFUSE_BASE + 0x074)
  974. /* EFUSE_SYS_DATA_PART1_6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  975. /*description: Stores the sixth 32 bits of the first part of system data.*/
  976. #define EFUSE_SYS_DATA_PART1_6 0xFFFFFFFF
  977. #define EFUSE_SYS_DATA_PART1_6_M ((EFUSE_SYS_DATA_PART1_6_V)<<(EFUSE_SYS_DATA_PART1_6_S))
  978. #define EFUSE_SYS_DATA_PART1_6_V 0xFFFFFFFF
  979. #define EFUSE_SYS_DATA_PART1_6_S 0
  980. #define EFUSE_RD_SYS_PART1_DATA7_REG (DR_REG_EFUSE_BASE + 0x078)
  981. /* EFUSE_SYS_DATA_PART1_7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  982. /*description: Stores the seventh 32 bits of the first part of system data.*/
  983. #define EFUSE_SYS_DATA_PART1_7 0xFFFFFFFF
  984. #define EFUSE_SYS_DATA_PART1_7_M ((EFUSE_SYS_DATA_PART1_7_V)<<(EFUSE_SYS_DATA_PART1_7_S))
  985. #define EFUSE_SYS_DATA_PART1_7_V 0xFFFFFFFF
  986. #define EFUSE_SYS_DATA_PART1_7_S 0
  987. #define EFUSE_RD_USR_DATA0_REG (DR_REG_EFUSE_BASE + 0x07c)
  988. /* EFUSE_USR_DATA0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  989. /*description: Stores the zeroth 32 bits of BLOCK3 (user).*/
  990. #define EFUSE_USR_DATA0 0xFFFFFFFF
  991. #define EFUSE_USR_DATA0_M ((EFUSE_USR_DATA0_V)<<(EFUSE_USR_DATA0_S))
  992. #define EFUSE_USR_DATA0_V 0xFFFFFFFF
  993. #define EFUSE_USR_DATA0_S 0
  994. #define EFUSE_RD_USR_DATA1_REG (DR_REG_EFUSE_BASE + 0x080)
  995. /* EFUSE_USR_DATA1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  996. /*description: Stores the first 32 bits of BLOCK3 (user).*/
  997. #define EFUSE_USR_DATA1 0xFFFFFFFF
  998. #define EFUSE_USR_DATA1_M ((EFUSE_USR_DATA1_V)<<(EFUSE_USR_DATA1_S))
  999. #define EFUSE_USR_DATA1_V 0xFFFFFFFF
  1000. #define EFUSE_USR_DATA1_S 0
  1001. #define EFUSE_RD_USR_DATA2_REG (DR_REG_EFUSE_BASE + 0x084)
  1002. /* EFUSE_USR_DATA2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1003. /*description: Stores the second 32 bits of BLOCK3 (user).*/
  1004. #define EFUSE_USR_DATA2 0xFFFFFFFF
  1005. #define EFUSE_USR_DATA2_M ((EFUSE_USR_DATA2_V)<<(EFUSE_USR_DATA2_S))
  1006. #define EFUSE_USR_DATA2_V 0xFFFFFFFF
  1007. #define EFUSE_USR_DATA2_S 0
  1008. #define EFUSE_RD_USR_DATA3_REG (DR_REG_EFUSE_BASE + 0x088)
  1009. /* EFUSE_USR_DATA3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1010. /*description: Stores the third 32 bits of BLOCK3 (user).*/
  1011. #define EFUSE_USR_DATA3 0xFFFFFFFF
  1012. #define EFUSE_USR_DATA3_M ((EFUSE_USR_DATA3_V)<<(EFUSE_USR_DATA3_S))
  1013. #define EFUSE_USR_DATA3_V 0xFFFFFFFF
  1014. #define EFUSE_USR_DATA3_S 0
  1015. #define EFUSE_RD_USR_DATA4_REG (DR_REG_EFUSE_BASE + 0x08c)
  1016. /* EFUSE_USR_DATA4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1017. /*description: Stores the fourth 32 bits of BLOCK3 (user).*/
  1018. #define EFUSE_USR_DATA4 0xFFFFFFFF
  1019. #define EFUSE_USR_DATA4_M ((EFUSE_USR_DATA4_V)<<(EFUSE_USR_DATA4_S))
  1020. #define EFUSE_USR_DATA4_V 0xFFFFFFFF
  1021. #define EFUSE_USR_DATA4_S 0
  1022. #define EFUSE_RD_USR_DATA5_REG (DR_REG_EFUSE_BASE + 0x090)
  1023. /* EFUSE_USR_DATA5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1024. /*description: Stores the fifth 32 bits of BLOCK3 (user).*/
  1025. #define EFUSE_USR_DATA5 0xFFFFFFFF
  1026. #define EFUSE_USR_DATA5_M ((EFUSE_USR_DATA5_V)<<(EFUSE_USR_DATA5_S))
  1027. #define EFUSE_USR_DATA5_V 0xFFFFFFFF
  1028. #define EFUSE_USR_DATA5_S 0
  1029. #define EFUSE_RD_USR_DATA6_REG (DR_REG_EFUSE_BASE + 0x094)
  1030. /* EFUSE_USR_DATA6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1031. /*description: Stores the sixth 32 bits of BLOCK3 (user).*/
  1032. #define EFUSE_USR_DATA6 0xFFFFFFFF
  1033. #define EFUSE_USR_DATA6_M ((EFUSE_USR_DATA6_V)<<(EFUSE_USR_DATA6_S))
  1034. #define EFUSE_USR_DATA6_V 0xFFFFFFFF
  1035. #define EFUSE_USR_DATA6_S 0
  1036. #define EFUSE_RD_USR_DATA7_REG (DR_REG_EFUSE_BASE + 0x098)
  1037. /* EFUSE_USR_DATA7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1038. /*description: Stores the seventh 32 bits of BLOCK3 (user).*/
  1039. #define EFUSE_USR_DATA7 0xFFFFFFFF
  1040. #define EFUSE_USR_DATA7_M ((EFUSE_USR_DATA7_V)<<(EFUSE_USR_DATA7_S))
  1041. #define EFUSE_USR_DATA7_V 0xFFFFFFFF
  1042. #define EFUSE_USR_DATA7_S 0
  1043. #define EFUSE_RD_KEY0_DATA0_REG (DR_REG_EFUSE_BASE + 0x09c)
  1044. /* EFUSE_KEY0_DATA0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1045. /*description: Stores the zeroth 32 bits of KEY0.*/
  1046. #define EFUSE_KEY0_DATA0 0xFFFFFFFF
  1047. #define EFUSE_KEY0_DATA0_M ((EFUSE_KEY0_DATA0_V)<<(EFUSE_KEY0_DATA0_S))
  1048. #define EFUSE_KEY0_DATA0_V 0xFFFFFFFF
  1049. #define EFUSE_KEY0_DATA0_S 0
  1050. #define EFUSE_RD_KEY0_DATA1_REG (DR_REG_EFUSE_BASE + 0x0a0)
  1051. /* EFUSE_KEY0_DATA1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1052. /*description: Stores the first 32 bits of KEY0.*/
  1053. #define EFUSE_KEY0_DATA1 0xFFFFFFFF
  1054. #define EFUSE_KEY0_DATA1_M ((EFUSE_KEY0_DATA1_V)<<(EFUSE_KEY0_DATA1_S))
  1055. #define EFUSE_KEY0_DATA1_V 0xFFFFFFFF
  1056. #define EFUSE_KEY0_DATA1_S 0
  1057. #define EFUSE_RD_KEY0_DATA2_REG (DR_REG_EFUSE_BASE + 0x0a4)
  1058. /* EFUSE_KEY0_DATA2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1059. /*description: Stores the second 32 bits of KEY0.*/
  1060. #define EFUSE_KEY0_DATA2 0xFFFFFFFF
  1061. #define EFUSE_KEY0_DATA2_M ((EFUSE_KEY0_DATA2_V)<<(EFUSE_KEY0_DATA2_S))
  1062. #define EFUSE_KEY0_DATA2_V 0xFFFFFFFF
  1063. #define EFUSE_KEY0_DATA2_S 0
  1064. #define EFUSE_RD_KEY0_DATA3_REG (DR_REG_EFUSE_BASE + 0x0a8)
  1065. /* EFUSE_KEY0_DATA3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1066. /*description: Stores the third 32 bits of KEY0.*/
  1067. #define EFUSE_KEY0_DATA3 0xFFFFFFFF
  1068. #define EFUSE_KEY0_DATA3_M ((EFUSE_KEY0_DATA3_V)<<(EFUSE_KEY0_DATA3_S))
  1069. #define EFUSE_KEY0_DATA3_V 0xFFFFFFFF
  1070. #define EFUSE_KEY0_DATA3_S 0
  1071. #define EFUSE_RD_KEY0_DATA4_REG (DR_REG_EFUSE_BASE + 0x0ac)
  1072. /* EFUSE_KEY0_DATA4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1073. /*description: Stores the fourth 32 bits of KEY0.*/
  1074. #define EFUSE_KEY0_DATA4 0xFFFFFFFF
  1075. #define EFUSE_KEY0_DATA4_M ((EFUSE_KEY0_DATA4_V)<<(EFUSE_KEY0_DATA4_S))
  1076. #define EFUSE_KEY0_DATA4_V 0xFFFFFFFF
  1077. #define EFUSE_KEY0_DATA4_S 0
  1078. #define EFUSE_RD_KEY0_DATA5_REG (DR_REG_EFUSE_BASE + 0x0b0)
  1079. /* EFUSE_KEY0_DATA5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1080. /*description: Stores the fifth 32 bits of KEY0.*/
  1081. #define EFUSE_KEY0_DATA5 0xFFFFFFFF
  1082. #define EFUSE_KEY0_DATA5_M ((EFUSE_KEY0_DATA5_V)<<(EFUSE_KEY0_DATA5_S))
  1083. #define EFUSE_KEY0_DATA5_V 0xFFFFFFFF
  1084. #define EFUSE_KEY0_DATA5_S 0
  1085. #define EFUSE_RD_KEY0_DATA6_REG (DR_REG_EFUSE_BASE + 0x0b4)
  1086. /* EFUSE_KEY0_DATA6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1087. /*description: Stores the sixth 32 bits of KEY0.*/
  1088. #define EFUSE_KEY0_DATA6 0xFFFFFFFF
  1089. #define EFUSE_KEY0_DATA6_M ((EFUSE_KEY0_DATA6_V)<<(EFUSE_KEY0_DATA6_S))
  1090. #define EFUSE_KEY0_DATA6_V 0xFFFFFFFF
  1091. #define EFUSE_KEY0_DATA6_S 0
  1092. #define EFUSE_RD_KEY0_DATA7_REG (DR_REG_EFUSE_BASE + 0x0b8)
  1093. /* EFUSE_KEY0_DATA7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1094. /*description: Stores the seventh 32 bits of KEY0.*/
  1095. #define EFUSE_KEY0_DATA7 0xFFFFFFFF
  1096. #define EFUSE_KEY0_DATA7_M ((EFUSE_KEY0_DATA7_V)<<(EFUSE_KEY0_DATA7_S))
  1097. #define EFUSE_KEY0_DATA7_V 0xFFFFFFFF
  1098. #define EFUSE_KEY0_DATA7_S 0
  1099. #define EFUSE_RD_KEY1_DATA0_REG (DR_REG_EFUSE_BASE + 0x0bc)
  1100. /* EFUSE_KEY1_DATA0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1101. /*description: Stores the zeroth 32 bits of KEY1.*/
  1102. #define EFUSE_KEY1_DATA0 0xFFFFFFFF
  1103. #define EFUSE_KEY1_DATA0_M ((EFUSE_KEY1_DATA0_V)<<(EFUSE_KEY1_DATA0_S))
  1104. #define EFUSE_KEY1_DATA0_V 0xFFFFFFFF
  1105. #define EFUSE_KEY1_DATA0_S 0
  1106. #define EFUSE_RD_KEY1_DATA1_REG (DR_REG_EFUSE_BASE + 0x0c0)
  1107. /* EFUSE_KEY1_DATA1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1108. /*description: Stores the first 32 bits of KEY1.*/
  1109. #define EFUSE_KEY1_DATA1 0xFFFFFFFF
  1110. #define EFUSE_KEY1_DATA1_M ((EFUSE_KEY1_DATA1_V)<<(EFUSE_KEY1_DATA1_S))
  1111. #define EFUSE_KEY1_DATA1_V 0xFFFFFFFF
  1112. #define EFUSE_KEY1_DATA1_S 0
  1113. #define EFUSE_RD_KEY1_DATA2_REG (DR_REG_EFUSE_BASE + 0x0c4)
  1114. /* EFUSE_KEY1_DATA2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1115. /*description: Stores the second 32 bits of KEY1.*/
  1116. #define EFUSE_KEY1_DATA2 0xFFFFFFFF
  1117. #define EFUSE_KEY1_DATA2_M ((EFUSE_KEY1_DATA2_V)<<(EFUSE_KEY1_DATA2_S))
  1118. #define EFUSE_KEY1_DATA2_V 0xFFFFFFFF
  1119. #define EFUSE_KEY1_DATA2_S 0
  1120. #define EFUSE_RD_KEY1_DATA3_REG (DR_REG_EFUSE_BASE + 0x0c8)
  1121. /* EFUSE_KEY1_DATA3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1122. /*description: Stores the third 32 bits of KEY1.*/
  1123. #define EFUSE_KEY1_DATA3 0xFFFFFFFF
  1124. #define EFUSE_KEY1_DATA3_M ((EFUSE_KEY1_DATA3_V)<<(EFUSE_KEY1_DATA3_S))
  1125. #define EFUSE_KEY1_DATA3_V 0xFFFFFFFF
  1126. #define EFUSE_KEY1_DATA3_S 0
  1127. #define EFUSE_RD_KEY1_DATA4_REG (DR_REG_EFUSE_BASE + 0x0cc)
  1128. /* EFUSE_KEY1_DATA4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1129. /*description: Stores the fourth 32 bits of KEY1.*/
  1130. #define EFUSE_KEY1_DATA4 0xFFFFFFFF
  1131. #define EFUSE_KEY1_DATA4_M ((EFUSE_KEY1_DATA4_V)<<(EFUSE_KEY1_DATA4_S))
  1132. #define EFUSE_KEY1_DATA4_V 0xFFFFFFFF
  1133. #define EFUSE_KEY1_DATA4_S 0
  1134. #define EFUSE_RD_KEY1_DATA5_REG (DR_REG_EFUSE_BASE + 0x0d0)
  1135. /* EFUSE_KEY1_DATA5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1136. /*description: Stores the fifth 32 bits of KEY1.*/
  1137. #define EFUSE_KEY1_DATA5 0xFFFFFFFF
  1138. #define EFUSE_KEY1_DATA5_M ((EFUSE_KEY1_DATA5_V)<<(EFUSE_KEY1_DATA5_S))
  1139. #define EFUSE_KEY1_DATA5_V 0xFFFFFFFF
  1140. #define EFUSE_KEY1_DATA5_S 0
  1141. #define EFUSE_RD_KEY1_DATA6_REG (DR_REG_EFUSE_BASE + 0x0d4)
  1142. /* EFUSE_KEY1_DATA6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1143. /*description: Stores the sixth 32 bits of KEY1.*/
  1144. #define EFUSE_KEY1_DATA6 0xFFFFFFFF
  1145. #define EFUSE_KEY1_DATA6_M ((EFUSE_KEY1_DATA6_V)<<(EFUSE_KEY1_DATA6_S))
  1146. #define EFUSE_KEY1_DATA6_V 0xFFFFFFFF
  1147. #define EFUSE_KEY1_DATA6_S 0
  1148. #define EFUSE_RD_KEY1_DATA7_REG (DR_REG_EFUSE_BASE + 0x0d8)
  1149. /* EFUSE_KEY1_DATA7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1150. /*description: Stores the seventh 32 bits of KEY1.*/
  1151. #define EFUSE_KEY1_DATA7 0xFFFFFFFF
  1152. #define EFUSE_KEY1_DATA7_M ((EFUSE_KEY1_DATA7_V)<<(EFUSE_KEY1_DATA7_S))
  1153. #define EFUSE_KEY1_DATA7_V 0xFFFFFFFF
  1154. #define EFUSE_KEY1_DATA7_S 0
  1155. #define EFUSE_RD_KEY2_DATA0_REG (DR_REG_EFUSE_BASE + 0x0dc)
  1156. /* EFUSE_KEY2_DATA0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1157. /*description: Stores the zeroth 32 bits of KEY2.*/
  1158. #define EFUSE_KEY2_DATA0 0xFFFFFFFF
  1159. #define EFUSE_KEY2_DATA0_M ((EFUSE_KEY2_DATA0_V)<<(EFUSE_KEY2_DATA0_S))
  1160. #define EFUSE_KEY2_DATA0_V 0xFFFFFFFF
  1161. #define EFUSE_KEY2_DATA0_S 0
  1162. #define EFUSE_RD_KEY2_DATA1_REG (DR_REG_EFUSE_BASE + 0x0e0)
  1163. /* EFUSE_KEY2_DATA1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1164. /*description: Stores the first 32 bits of KEY2.*/
  1165. #define EFUSE_KEY2_DATA1 0xFFFFFFFF
  1166. #define EFUSE_KEY2_DATA1_M ((EFUSE_KEY2_DATA1_V)<<(EFUSE_KEY2_DATA1_S))
  1167. #define EFUSE_KEY2_DATA1_V 0xFFFFFFFF
  1168. #define EFUSE_KEY2_DATA1_S 0
  1169. #define EFUSE_RD_KEY2_DATA2_REG (DR_REG_EFUSE_BASE + 0x0e4)
  1170. /* EFUSE_KEY2_DATA2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1171. /*description: Stores the second 32 bits of KEY2.*/
  1172. #define EFUSE_KEY2_DATA2 0xFFFFFFFF
  1173. #define EFUSE_KEY2_DATA2_M ((EFUSE_KEY2_DATA2_V)<<(EFUSE_KEY2_DATA2_S))
  1174. #define EFUSE_KEY2_DATA2_V 0xFFFFFFFF
  1175. #define EFUSE_KEY2_DATA2_S 0
  1176. #define EFUSE_RD_KEY2_DATA3_REG (DR_REG_EFUSE_BASE + 0x0e8)
  1177. /* EFUSE_KEY2_DATA3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1178. /*description: Stores the third 32 bits of KEY2.*/
  1179. #define EFUSE_KEY2_DATA3 0xFFFFFFFF
  1180. #define EFUSE_KEY2_DATA3_M ((EFUSE_KEY2_DATA3_V)<<(EFUSE_KEY2_DATA3_S))
  1181. #define EFUSE_KEY2_DATA3_V 0xFFFFFFFF
  1182. #define EFUSE_KEY2_DATA3_S 0
  1183. #define EFUSE_RD_KEY2_DATA4_REG (DR_REG_EFUSE_BASE + 0x0ec)
  1184. /* EFUSE_KEY2_DATA4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1185. /*description: Stores the fourth 32 bits of KEY2.*/
  1186. #define EFUSE_KEY2_DATA4 0xFFFFFFFF
  1187. #define EFUSE_KEY2_DATA4_M ((EFUSE_KEY2_DATA4_V)<<(EFUSE_KEY2_DATA4_S))
  1188. #define EFUSE_KEY2_DATA4_V 0xFFFFFFFF
  1189. #define EFUSE_KEY2_DATA4_S 0
  1190. #define EFUSE_RD_KEY2_DATA5_REG (DR_REG_EFUSE_BASE + 0x0f0)
  1191. /* EFUSE_KEY2_DATA5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1192. /*description: Stores the fifth 32 bits of KEY2.*/
  1193. #define EFUSE_KEY2_DATA5 0xFFFFFFFF
  1194. #define EFUSE_KEY2_DATA5_M ((EFUSE_KEY2_DATA5_V)<<(EFUSE_KEY2_DATA5_S))
  1195. #define EFUSE_KEY2_DATA5_V 0xFFFFFFFF
  1196. #define EFUSE_KEY2_DATA5_S 0
  1197. #define EFUSE_RD_KEY2_DATA6_REG (DR_REG_EFUSE_BASE + 0x0f4)
  1198. /* EFUSE_KEY2_DATA6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1199. /*description: Stores the sixth 32 bits of KEY2.*/
  1200. #define EFUSE_KEY2_DATA6 0xFFFFFFFF
  1201. #define EFUSE_KEY2_DATA6_M ((EFUSE_KEY2_DATA6_V)<<(EFUSE_KEY2_DATA6_S))
  1202. #define EFUSE_KEY2_DATA6_V 0xFFFFFFFF
  1203. #define EFUSE_KEY2_DATA6_S 0
  1204. #define EFUSE_RD_KEY2_DATA7_REG (DR_REG_EFUSE_BASE + 0x0f8)
  1205. /* EFUSE_KEY2_DATA7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1206. /*description: Stores the seventh 32 bits of KEY2.*/
  1207. #define EFUSE_KEY2_DATA7 0xFFFFFFFF
  1208. #define EFUSE_KEY2_DATA7_M ((EFUSE_KEY2_DATA7_V)<<(EFUSE_KEY2_DATA7_S))
  1209. #define EFUSE_KEY2_DATA7_V 0xFFFFFFFF
  1210. #define EFUSE_KEY2_DATA7_S 0
  1211. #define EFUSE_RD_KEY3_DATA0_REG (DR_REG_EFUSE_BASE + 0x0fc)
  1212. /* EFUSE_KEY3_DATA0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1213. /*description: Stores the zeroth 32 bits of KEY3.*/
  1214. #define EFUSE_KEY3_DATA0 0xFFFFFFFF
  1215. #define EFUSE_KEY3_DATA0_M ((EFUSE_KEY3_DATA0_V)<<(EFUSE_KEY3_DATA0_S))
  1216. #define EFUSE_KEY3_DATA0_V 0xFFFFFFFF
  1217. #define EFUSE_KEY3_DATA0_S 0
  1218. #define EFUSE_RD_KEY3_DATA1_REG (DR_REG_EFUSE_BASE + 0x100)
  1219. /* EFUSE_KEY3_DATA1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1220. /*description: Stores the first 32 bits of KEY3.*/
  1221. #define EFUSE_KEY3_DATA1 0xFFFFFFFF
  1222. #define EFUSE_KEY3_DATA1_M ((EFUSE_KEY3_DATA1_V)<<(EFUSE_KEY3_DATA1_S))
  1223. #define EFUSE_KEY3_DATA1_V 0xFFFFFFFF
  1224. #define EFUSE_KEY3_DATA1_S 0
  1225. #define EFUSE_RD_KEY3_DATA2_REG (DR_REG_EFUSE_BASE + 0x104)
  1226. /* EFUSE_KEY3_DATA2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1227. /*description: Stores the second 32 bits of KEY3.*/
  1228. #define EFUSE_KEY3_DATA2 0xFFFFFFFF
  1229. #define EFUSE_KEY3_DATA2_M ((EFUSE_KEY3_DATA2_V)<<(EFUSE_KEY3_DATA2_S))
  1230. #define EFUSE_KEY3_DATA2_V 0xFFFFFFFF
  1231. #define EFUSE_KEY3_DATA2_S 0
  1232. #define EFUSE_RD_KEY3_DATA3_REG (DR_REG_EFUSE_BASE + 0x108)
  1233. /* EFUSE_KEY3_DATA3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1234. /*description: Stores the third 32 bits of KEY3.*/
  1235. #define EFUSE_KEY3_DATA3 0xFFFFFFFF
  1236. #define EFUSE_KEY3_DATA3_M ((EFUSE_KEY3_DATA3_V)<<(EFUSE_KEY3_DATA3_S))
  1237. #define EFUSE_KEY3_DATA3_V 0xFFFFFFFF
  1238. #define EFUSE_KEY3_DATA3_S 0
  1239. #define EFUSE_RD_KEY3_DATA4_REG (DR_REG_EFUSE_BASE + 0x10c)
  1240. /* EFUSE_KEY3_DATA4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1241. /*description: Stores the fourth 32 bits of KEY3.*/
  1242. #define EFUSE_KEY3_DATA4 0xFFFFFFFF
  1243. #define EFUSE_KEY3_DATA4_M ((EFUSE_KEY3_DATA4_V)<<(EFUSE_KEY3_DATA4_S))
  1244. #define EFUSE_KEY3_DATA4_V 0xFFFFFFFF
  1245. #define EFUSE_KEY3_DATA4_S 0
  1246. #define EFUSE_RD_KEY3_DATA5_REG (DR_REG_EFUSE_BASE + 0x110)
  1247. /* EFUSE_KEY3_DATA5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1248. /*description: Stores the fifth 32 bits of KEY3.*/
  1249. #define EFUSE_KEY3_DATA5 0xFFFFFFFF
  1250. #define EFUSE_KEY3_DATA5_M ((EFUSE_KEY3_DATA5_V)<<(EFUSE_KEY3_DATA5_S))
  1251. #define EFUSE_KEY3_DATA5_V 0xFFFFFFFF
  1252. #define EFUSE_KEY3_DATA5_S 0
  1253. #define EFUSE_RD_KEY3_DATA6_REG (DR_REG_EFUSE_BASE + 0x114)
  1254. /* EFUSE_KEY3_DATA6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1255. /*description: Stores the sixth 32 bits of KEY3.*/
  1256. #define EFUSE_KEY3_DATA6 0xFFFFFFFF
  1257. #define EFUSE_KEY3_DATA6_M ((EFUSE_KEY3_DATA6_V)<<(EFUSE_KEY3_DATA6_S))
  1258. #define EFUSE_KEY3_DATA6_V 0xFFFFFFFF
  1259. #define EFUSE_KEY3_DATA6_S 0
  1260. #define EFUSE_RD_KEY3_DATA7_REG (DR_REG_EFUSE_BASE + 0x118)
  1261. /* EFUSE_KEY3_DATA7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1262. /*description: Stores the seventh 32 bits of KEY3.*/
  1263. #define EFUSE_KEY3_DATA7 0xFFFFFFFF
  1264. #define EFUSE_KEY3_DATA7_M ((EFUSE_KEY3_DATA7_V)<<(EFUSE_KEY3_DATA7_S))
  1265. #define EFUSE_KEY3_DATA7_V 0xFFFFFFFF
  1266. #define EFUSE_KEY3_DATA7_S 0
  1267. #define EFUSE_RD_KEY4_DATA0_REG (DR_REG_EFUSE_BASE + 0x11c)
  1268. /* EFUSE_KEY4_DATA0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1269. /*description: Stores the zeroth 32 bits of KEY4.*/
  1270. #define EFUSE_KEY4_DATA0 0xFFFFFFFF
  1271. #define EFUSE_KEY4_DATA0_M ((EFUSE_KEY4_DATA0_V)<<(EFUSE_KEY4_DATA0_S))
  1272. #define EFUSE_KEY4_DATA0_V 0xFFFFFFFF
  1273. #define EFUSE_KEY4_DATA0_S 0
  1274. #define EFUSE_RD_KEY4_DATA1_REG (DR_REG_EFUSE_BASE + 0x120)
  1275. /* EFUSE_KEY4_DATA1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1276. /*description: Stores the first 32 bits of KEY4.*/
  1277. #define EFUSE_KEY4_DATA1 0xFFFFFFFF
  1278. #define EFUSE_KEY4_DATA1_M ((EFUSE_KEY4_DATA1_V)<<(EFUSE_KEY4_DATA1_S))
  1279. #define EFUSE_KEY4_DATA1_V 0xFFFFFFFF
  1280. #define EFUSE_KEY4_DATA1_S 0
  1281. #define EFUSE_RD_KEY4_DATA2_REG (DR_REG_EFUSE_BASE + 0x124)
  1282. /* EFUSE_KEY4_DATA2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1283. /*description: Stores the second 32 bits of KEY4.*/
  1284. #define EFUSE_KEY4_DATA2 0xFFFFFFFF
  1285. #define EFUSE_KEY4_DATA2_M ((EFUSE_KEY4_DATA2_V)<<(EFUSE_KEY4_DATA2_S))
  1286. #define EFUSE_KEY4_DATA2_V 0xFFFFFFFF
  1287. #define EFUSE_KEY4_DATA2_S 0
  1288. #define EFUSE_RD_KEY4_DATA3_REG (DR_REG_EFUSE_BASE + 0x128)
  1289. /* EFUSE_KEY4_DATA3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1290. /*description: Stores the third 32 bits of KEY4.*/
  1291. #define EFUSE_KEY4_DATA3 0xFFFFFFFF
  1292. #define EFUSE_KEY4_DATA3_M ((EFUSE_KEY4_DATA3_V)<<(EFUSE_KEY4_DATA3_S))
  1293. #define EFUSE_KEY4_DATA3_V 0xFFFFFFFF
  1294. #define EFUSE_KEY4_DATA3_S 0
  1295. #define EFUSE_RD_KEY4_DATA4_REG (DR_REG_EFUSE_BASE + 0x12c)
  1296. /* EFUSE_KEY4_DATA4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1297. /*description: Stores the fourth 32 bits of KEY4.*/
  1298. #define EFUSE_KEY4_DATA4 0xFFFFFFFF
  1299. #define EFUSE_KEY4_DATA4_M ((EFUSE_KEY4_DATA4_V)<<(EFUSE_KEY4_DATA4_S))
  1300. #define EFUSE_KEY4_DATA4_V 0xFFFFFFFF
  1301. #define EFUSE_KEY4_DATA4_S 0
  1302. #define EFUSE_RD_KEY4_DATA5_REG (DR_REG_EFUSE_BASE + 0x130)
  1303. /* EFUSE_KEY4_DATA5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1304. /*description: Stores the fifth 32 bits of KEY4.*/
  1305. #define EFUSE_KEY4_DATA5 0xFFFFFFFF
  1306. #define EFUSE_KEY4_DATA5_M ((EFUSE_KEY4_DATA5_V)<<(EFUSE_KEY4_DATA5_S))
  1307. #define EFUSE_KEY4_DATA5_V 0xFFFFFFFF
  1308. #define EFUSE_KEY4_DATA5_S 0
  1309. #define EFUSE_RD_KEY4_DATA6_REG (DR_REG_EFUSE_BASE + 0x134)
  1310. /* EFUSE_KEY4_DATA6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1311. /*description: Stores the sixth 32 bits of KEY4.*/
  1312. #define EFUSE_KEY4_DATA6 0xFFFFFFFF
  1313. #define EFUSE_KEY4_DATA6_M ((EFUSE_KEY4_DATA6_V)<<(EFUSE_KEY4_DATA6_S))
  1314. #define EFUSE_KEY4_DATA6_V 0xFFFFFFFF
  1315. #define EFUSE_KEY4_DATA6_S 0
  1316. #define EFUSE_RD_KEY4_DATA7_REG (DR_REG_EFUSE_BASE + 0x138)
  1317. /* EFUSE_KEY4_DATA7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1318. /*description: Stores the seventh 32 bits of KEY4.*/
  1319. #define EFUSE_KEY4_DATA7 0xFFFFFFFF
  1320. #define EFUSE_KEY4_DATA7_M ((EFUSE_KEY4_DATA7_V)<<(EFUSE_KEY4_DATA7_S))
  1321. #define EFUSE_KEY4_DATA7_V 0xFFFFFFFF
  1322. #define EFUSE_KEY4_DATA7_S 0
  1323. #define EFUSE_RD_KEY5_DATA0_REG (DR_REG_EFUSE_BASE + 0x13c)
  1324. /* EFUSE_KEY5_DATA0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1325. /*description: Stores the zeroth 32 bits of KEY5.*/
  1326. #define EFUSE_KEY5_DATA0 0xFFFFFFFF
  1327. #define EFUSE_KEY5_DATA0_M ((EFUSE_KEY5_DATA0_V)<<(EFUSE_KEY5_DATA0_S))
  1328. #define EFUSE_KEY5_DATA0_V 0xFFFFFFFF
  1329. #define EFUSE_KEY5_DATA0_S 0
  1330. #define EFUSE_RD_KEY5_DATA1_REG (DR_REG_EFUSE_BASE + 0x140)
  1331. /* EFUSE_KEY5_DATA1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1332. /*description: Stores the first 32 bits of KEY5.*/
  1333. #define EFUSE_KEY5_DATA1 0xFFFFFFFF
  1334. #define EFUSE_KEY5_DATA1_M ((EFUSE_KEY5_DATA1_V)<<(EFUSE_KEY5_DATA1_S))
  1335. #define EFUSE_KEY5_DATA1_V 0xFFFFFFFF
  1336. #define EFUSE_KEY5_DATA1_S 0
  1337. #define EFUSE_RD_KEY5_DATA2_REG (DR_REG_EFUSE_BASE + 0x144)
  1338. /* EFUSE_KEY5_DATA2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1339. /*description: Stores the second 32 bits of KEY5.*/
  1340. #define EFUSE_KEY5_DATA2 0xFFFFFFFF
  1341. #define EFUSE_KEY5_DATA2_M ((EFUSE_KEY5_DATA2_V)<<(EFUSE_KEY5_DATA2_S))
  1342. #define EFUSE_KEY5_DATA2_V 0xFFFFFFFF
  1343. #define EFUSE_KEY5_DATA2_S 0
  1344. #define EFUSE_RD_KEY5_DATA3_REG (DR_REG_EFUSE_BASE + 0x148)
  1345. /* EFUSE_KEY5_DATA3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1346. /*description: Stores the third 32 bits of KEY5.*/
  1347. #define EFUSE_KEY5_DATA3 0xFFFFFFFF
  1348. #define EFUSE_KEY5_DATA3_M ((EFUSE_KEY5_DATA3_V)<<(EFUSE_KEY5_DATA3_S))
  1349. #define EFUSE_KEY5_DATA3_V 0xFFFFFFFF
  1350. #define EFUSE_KEY5_DATA3_S 0
  1351. #define EFUSE_RD_KEY5_DATA4_REG (DR_REG_EFUSE_BASE + 0x14c)
  1352. /* EFUSE_KEY5_DATA4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1353. /*description: Stores the fourth 32 bits of KEY5.*/
  1354. #define EFUSE_KEY5_DATA4 0xFFFFFFFF
  1355. #define EFUSE_KEY5_DATA4_M ((EFUSE_KEY5_DATA4_V)<<(EFUSE_KEY5_DATA4_S))
  1356. #define EFUSE_KEY5_DATA4_V 0xFFFFFFFF
  1357. #define EFUSE_KEY5_DATA4_S 0
  1358. #define EFUSE_RD_KEY5_DATA5_REG (DR_REG_EFUSE_BASE + 0x150)
  1359. /* EFUSE_KEY5_DATA5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1360. /*description: Stores the fifth 32 bits of KEY5.*/
  1361. #define EFUSE_KEY5_DATA5 0xFFFFFFFF
  1362. #define EFUSE_KEY5_DATA5_M ((EFUSE_KEY5_DATA5_V)<<(EFUSE_KEY5_DATA5_S))
  1363. #define EFUSE_KEY5_DATA5_V 0xFFFFFFFF
  1364. #define EFUSE_KEY5_DATA5_S 0
  1365. #define EFUSE_RD_KEY5_DATA6_REG (DR_REG_EFUSE_BASE + 0x154)
  1366. /* EFUSE_KEY5_DATA6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1367. /*description: Stores the sixth 32 bits of KEY5.*/
  1368. #define EFUSE_KEY5_DATA6 0xFFFFFFFF
  1369. #define EFUSE_KEY5_DATA6_M ((EFUSE_KEY5_DATA6_V)<<(EFUSE_KEY5_DATA6_S))
  1370. #define EFUSE_KEY5_DATA6_V 0xFFFFFFFF
  1371. #define EFUSE_KEY5_DATA6_S 0
  1372. #define EFUSE_RD_KEY5_DATA7_REG (DR_REG_EFUSE_BASE + 0x158)
  1373. /* EFUSE_KEY5_DATA7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1374. /*description: Stores the seventh 32 bits of KEY5.*/
  1375. #define EFUSE_KEY5_DATA7 0xFFFFFFFF
  1376. #define EFUSE_KEY5_DATA7_M ((EFUSE_KEY5_DATA7_V)<<(EFUSE_KEY5_DATA7_S))
  1377. #define EFUSE_KEY5_DATA7_V 0xFFFFFFFF
  1378. #define EFUSE_KEY5_DATA7_S 0
  1379. #define EFUSE_RD_SYS_PART2_DATA0_REG (DR_REG_EFUSE_BASE + 0x15c)
  1380. /* EFUSE_SYS_DATA_PART2_0 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1381. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1382. #define EFUSE_SYS_DATA_PART2_0 0xFFFFFFFF
  1383. #define EFUSE_SYS_DATA_PART2_0_M ((EFUSE_SYS_DATA_PART2_0_V)<<(EFUSE_SYS_DATA_PART2_0_S))
  1384. #define EFUSE_SYS_DATA_PART2_0_V 0xFFFFFFFF
  1385. #define EFUSE_SYS_DATA_PART2_0_S 0
  1386. #define EFUSE_RD_SYS_PART2_DATA1_REG (DR_REG_EFUSE_BASE + 0x160)
  1387. /* EFUSE_SYS_DATA_PART2_1 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1388. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1389. #define EFUSE_SYS_DATA_PART2_1 0xFFFFFFFF
  1390. #define EFUSE_SYS_DATA_PART2_1_M ((EFUSE_SYS_DATA_PART2_1_V)<<(EFUSE_SYS_DATA_PART2_1_S))
  1391. #define EFUSE_SYS_DATA_PART2_1_V 0xFFFFFFFF
  1392. #define EFUSE_SYS_DATA_PART2_1_S 0
  1393. #define EFUSE_RD_SYS_PART2_DATA2_REG (DR_REG_EFUSE_BASE + 0x164)
  1394. /* EFUSE_SYS_DATA_PART2_2 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1395. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1396. #define EFUSE_SYS_DATA_PART2_2 0xFFFFFFFF
  1397. #define EFUSE_SYS_DATA_PART2_2_M ((EFUSE_SYS_DATA_PART2_2_V)<<(EFUSE_SYS_DATA_PART2_2_S))
  1398. #define EFUSE_SYS_DATA_PART2_2_V 0xFFFFFFFF
  1399. #define EFUSE_SYS_DATA_PART2_2_S 0
  1400. #define EFUSE_RD_SYS_PART2_DATA3_REG (DR_REG_EFUSE_BASE + 0x168)
  1401. /* EFUSE_SYS_DATA_PART2_3 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1402. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1403. #define EFUSE_SYS_DATA_PART2_3 0xFFFFFFFF
  1404. #define EFUSE_SYS_DATA_PART2_3_M ((EFUSE_SYS_DATA_PART2_3_V)<<(EFUSE_SYS_DATA_PART2_3_S))
  1405. #define EFUSE_SYS_DATA_PART2_3_V 0xFFFFFFFF
  1406. #define EFUSE_SYS_DATA_PART2_3_S 0
  1407. #define EFUSE_RD_SYS_PART2_DATA4_REG (DR_REG_EFUSE_BASE + 0x16c)
  1408. /* EFUSE_SYS_DATA_PART2_4 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1409. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1410. #define EFUSE_SYS_DATA_PART2_4 0xFFFFFFFF
  1411. #define EFUSE_SYS_DATA_PART2_4_M ((EFUSE_SYS_DATA_PART2_4_V)<<(EFUSE_SYS_DATA_PART2_4_S))
  1412. #define EFUSE_SYS_DATA_PART2_4_V 0xFFFFFFFF
  1413. #define EFUSE_SYS_DATA_PART2_4_S 0
  1414. #define EFUSE_RD_SYS_PART2_DATA5_REG (DR_REG_EFUSE_BASE + 0x170)
  1415. /* EFUSE_SYS_DATA_PART2_5 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1416. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1417. #define EFUSE_SYS_DATA_PART2_5 0xFFFFFFFF
  1418. #define EFUSE_SYS_DATA_PART2_5_M ((EFUSE_SYS_DATA_PART2_5_V)<<(EFUSE_SYS_DATA_PART2_5_S))
  1419. #define EFUSE_SYS_DATA_PART2_5_V 0xFFFFFFFF
  1420. #define EFUSE_SYS_DATA_PART2_5_S 0
  1421. #define EFUSE_RD_SYS_PART2_DATA6_REG (DR_REG_EFUSE_BASE + 0x174)
  1422. /* EFUSE_SYS_DATA_PART2_6 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1423. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1424. #define EFUSE_SYS_DATA_PART2_6 0xFFFFFFFF
  1425. #define EFUSE_SYS_DATA_PART2_6_M ((EFUSE_SYS_DATA_PART2_6_V)<<(EFUSE_SYS_DATA_PART2_6_S))
  1426. #define EFUSE_SYS_DATA_PART2_6_V 0xFFFFFFFF
  1427. #define EFUSE_SYS_DATA_PART2_6_S 0
  1428. #define EFUSE_RD_SYS_PART2_DATA7_REG (DR_REG_EFUSE_BASE + 0x178)
  1429. /* EFUSE_SYS_DATA_PART2_7 : RO ;bitpos:[31:0] ;default: 32'h0 ; */
  1430. /*description: Stores the $nth 32 bits of the 2nd part of system data.*/
  1431. #define EFUSE_SYS_DATA_PART2_7 0xFFFFFFFF
  1432. #define EFUSE_SYS_DATA_PART2_7_M ((EFUSE_SYS_DATA_PART2_7_V)<<(EFUSE_SYS_DATA_PART2_7_S))
  1433. #define EFUSE_SYS_DATA_PART2_7_V 0xFFFFFFFF
  1434. #define EFUSE_SYS_DATA_PART2_7_S 0
  1435. #define EFUSE_RD_REPEAT_ERR0_REG (DR_REG_EFUSE_BASE + 0x17c)
  1436. /* EFUSE_VDD_SPI_DREFH_ERR : RO ;bitpos:[31:30] ;default: 2'h0 ; */
  1437. /*description: If any bit in VDD_SPI_DREFH is 1 then it indicates a programming error.*/
  1438. #define EFUSE_VDD_SPI_DREFH_ERR 0x00000003
  1439. #define EFUSE_VDD_SPI_DREFH_ERR_M ((EFUSE_VDD_SPI_DREFH_ERR_V)<<(EFUSE_VDD_SPI_DREFH_ERR_S))
  1440. #define EFUSE_VDD_SPI_DREFH_ERR_V 0x3
  1441. #define EFUSE_VDD_SPI_DREFH_ERR_S 30
  1442. /* EFUSE_VDD_SPI_MODECURLIM_ERR : RO ;bitpos:[29] ;default: 1'h0 ; */
  1443. /*description: If VDD_SPI_MODECURLIM is 1 then it indicates a programming error.*/
  1444. #define EFUSE_VDD_SPI_MODECURLIM_ERR (BIT(29))
  1445. #define EFUSE_VDD_SPI_MODECURLIM_ERR_M (BIT(29))
  1446. #define EFUSE_VDD_SPI_MODECURLIM_ERR_V 0x1
  1447. #define EFUSE_VDD_SPI_MODECURLIM_ERR_S 29
  1448. /* EFUSE_RPT4_RESERVED0_ERR : RO ;bitpos:[28:27] ;default: 2'h0 ; */
  1449. /*description: Reserved.*/
  1450. #define EFUSE_RPT4_RESERVED0_ERR 0x00000003
  1451. #define EFUSE_RPT4_RESERVED0_ERR_M ((EFUSE_RPT4_RESERVED0_ERR_V)<<(EFUSE_RPT4_RESERVED0_ERR_S))
  1452. #define EFUSE_RPT4_RESERVED0_ERR_V 0x3
  1453. #define EFUSE_RPT4_RESERVED0_ERR_S 27
  1454. /* EFUSE_USB_FORCE_NOPERSIST_ERR : RO ;bitpos:[26] ;default: 1'h0 ; */
  1455. /*description: Record error infomation of the burning result of usb_force_nopersist.*/
  1456. #define EFUSE_USB_FORCE_NOPERSIST_ERR (BIT(26))
  1457. #define EFUSE_USB_FORCE_NOPERSIST_ERR_M (BIT(26))
  1458. #define EFUSE_USB_FORCE_NOPERSIST_ERR_V 0x1
  1459. #define EFUSE_USB_FORCE_NOPERSIST_ERR_S 26
  1460. /* EFUSE_EXT_PHY_ENABLE_ERR : RO ;bitpos:[25] ;default: 1'h0 ; */
  1461. /*description: If EXT_PHY_ENABLE is 1 then it indicates a programming error.*/
  1462. #define EFUSE_EXT_PHY_ENABLE_ERR (BIT(25))
  1463. #define EFUSE_EXT_PHY_ENABLE_ERR_M (BIT(25))
  1464. #define EFUSE_EXT_PHY_ENABLE_ERR_V 0x1
  1465. #define EFUSE_EXT_PHY_ENABLE_ERR_S 25
  1466. /* EFUSE_USB_EXCHG_PINS_ERR : RO ;bitpos:[24] ;default: 1'h0 ; */
  1467. /*description: If USB_EXCHG_PINS is 1 then it indicates a programming error.*/
  1468. #define EFUSE_USB_EXCHG_PINS_ERR (BIT(24))
  1469. #define EFUSE_USB_EXCHG_PINS_ERR_M (BIT(24))
  1470. #define EFUSE_USB_EXCHG_PINS_ERR_V 0x1
  1471. #define EFUSE_USB_EXCHG_PINS_ERR_S 24
  1472. /* EFUSE_USB_DREFL_ERR : RO ;bitpos:[23:22] ;default: 2'h0 ; */
  1473. /*description: If any bit in USB_DREFL is 1 then it indicates a programming error.*/
  1474. #define EFUSE_USB_DREFL_ERR 0x00000003
  1475. #define EFUSE_USB_DREFL_ERR_M ((EFUSE_USB_DREFL_ERR_V)<<(EFUSE_USB_DREFL_ERR_S))
  1476. #define EFUSE_USB_DREFL_ERR_V 0x3
  1477. #define EFUSE_USB_DREFL_ERR_S 22
  1478. /* EFUSE_USB_DREFH_ERR : RO ;bitpos:[21:20] ;default: 2'h0 ; */
  1479. /*description: If any bit in USB_DREFH is 1 then it indicates a programming error.*/
  1480. #define EFUSE_USB_DREFH_ERR 0x00000003
  1481. #define EFUSE_USB_DREFH_ERR_M ((EFUSE_USB_DREFH_ERR_V)<<(EFUSE_USB_DREFH_ERR_S))
  1482. #define EFUSE_USB_DREFH_ERR_V 0x3
  1483. #define EFUSE_USB_DREFH_ERR_S 20
  1484. /* EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR : RO ;bitpos:[19] ;default: 1'h0 ; */
  1485. /*description: If DIS_DOWNLOAD_MANUAL_ENCRYPT is 1 then it indicates a programming error.*/
  1486. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR (BIT(19))
  1487. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR_M (BIT(19))
  1488. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR_V 0x1
  1489. #define EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR_S 19
  1490. /* EFUSE_HARD_DIS_JTAG_ERR : RO ;bitpos:[18] ;default: 1'h0 ; */
  1491. /*description: If HARD_DIS_JTAG is 1 then it indicates a programming error.*/
  1492. #define EFUSE_HARD_DIS_JTAG_ERR (BIT(18))
  1493. #define EFUSE_HARD_DIS_JTAG_ERR_M (BIT(18))
  1494. #define EFUSE_HARD_DIS_JTAG_ERR_V 0x1
  1495. #define EFUSE_HARD_DIS_JTAG_ERR_S 18
  1496. /* EFUSE_SOFT_DIS_JTAG_ERR : RO ;bitpos:[17] ;default: 1'h0 ; */
  1497. /*description: If SOFT_DIS_JTAG is 1 then it indicates a programming error.*/
  1498. #define EFUSE_SOFT_DIS_JTAG_ERR (BIT(17))
  1499. #define EFUSE_SOFT_DIS_JTAG_ERR_M (BIT(17))
  1500. #define EFUSE_SOFT_DIS_JTAG_ERR_V 0x1
  1501. #define EFUSE_SOFT_DIS_JTAG_ERR_S 17
  1502. /* EFUSE_DIS_EFUSE_ATE_WR_ERR : RO ;bitpos:[16] ;default: 1'h0 ; */
  1503. /*description: If DIS_EFUSE_ATE_WR is 1 then it indicates a programming error.*/
  1504. #define EFUSE_DIS_EFUSE_ATE_WR_ERR (BIT(16))
  1505. #define EFUSE_DIS_EFUSE_ATE_WR_ERR_M (BIT(16))
  1506. #define EFUSE_DIS_EFUSE_ATE_WR_ERR_V 0x1
  1507. #define EFUSE_DIS_EFUSE_ATE_WR_ERR_S 16
  1508. /* EFUSE_DIS_BOOT_REMAP_ERR : RO ;bitpos:[15] ;default: 1'h0 ; */
  1509. /*description: If DIS_BOOT_REMAP is 1 then it indicates a programming error.*/
  1510. #define EFUSE_DIS_BOOT_REMAP_ERR (BIT(15))
  1511. #define EFUSE_DIS_BOOT_REMAP_ERR_M (BIT(15))
  1512. #define EFUSE_DIS_BOOT_REMAP_ERR_V 0x1
  1513. #define EFUSE_DIS_BOOT_REMAP_ERR_S 15
  1514. /* EFUSE_DIS_CAN_ERR : RO ;bitpos:[14] ;default: 1'h0 ; */
  1515. /*description: If DIS_CAN is 1 then it indicates a programming error.*/
  1516. #define EFUSE_DIS_CAN_ERR (BIT(14))
  1517. #define EFUSE_DIS_CAN_ERR_M (BIT(14))
  1518. #define EFUSE_DIS_CAN_ERR_V 0x1
  1519. #define EFUSE_DIS_CAN_ERR_S 14
  1520. /* EFUSE_DIS_USB_ERR : RO ;bitpos:[13] ;default: 1'h0 ; */
  1521. /*description: If DIS_USB is 1 then it indicates a programming error.*/
  1522. #define EFUSE_DIS_USB_ERR (BIT(13))
  1523. #define EFUSE_DIS_USB_ERR_M (BIT(13))
  1524. #define EFUSE_DIS_USB_ERR_V 0x1
  1525. #define EFUSE_DIS_USB_ERR_S 13
  1526. /* EFUSE_DIS_FORCE_DOWNLOAD_ERR : RO ;bitpos:[12] ;default: 1'h0 ; */
  1527. /*description: If DIS_FORCE_DOWNLOAD is 1 then it indicates a programming error.*/
  1528. #define EFUSE_DIS_FORCE_DOWNLOAD_ERR (BIT(12))
  1529. #define EFUSE_DIS_FORCE_DOWNLOAD_ERR_M (BIT(12))
  1530. #define EFUSE_DIS_FORCE_DOWNLOAD_ERR_V 0x1
  1531. #define EFUSE_DIS_FORCE_DOWNLOAD_ERR_S 12
  1532. /* EFUSE_DIS_DOWNLOAD_DCACHE_ERR : RO ;bitpos:[11] ;default: 1'h0 ; */
  1533. /*description: If DIS_DOWNLOAD_DCACHE is 1 then it indicates a programming error.*/
  1534. #define EFUSE_DIS_DOWNLOAD_DCACHE_ERR (BIT(11))
  1535. #define EFUSE_DIS_DOWNLOAD_DCACHE_ERR_M (BIT(11))
  1536. #define EFUSE_DIS_DOWNLOAD_DCACHE_ERR_V 0x1
  1537. #define EFUSE_DIS_DOWNLOAD_DCACHE_ERR_S 11
  1538. /* EFUSE_DIS_DOWNLOAD_ICACHE_ERR : RO ;bitpos:[10] ;default: 1'h0 ; */
  1539. /*description: If DIS_DOWNLOAD_ICACHE is 1 then it indicates a programming error.*/
  1540. #define EFUSE_DIS_DOWNLOAD_ICACHE_ERR (BIT(10))
  1541. #define EFUSE_DIS_DOWNLOAD_ICACHE_ERR_M (BIT(10))
  1542. #define EFUSE_DIS_DOWNLOAD_ICACHE_ERR_V 0x1
  1543. #define EFUSE_DIS_DOWNLOAD_ICACHE_ERR_S 10
  1544. /* EFUSE_DIS_DCACHE_ERR : RO ;bitpos:[9] ;default: 1'h0 ; */
  1545. /*description: If DIS_DCACHE is 1 then it indicates a programming error.*/
  1546. #define EFUSE_DIS_DCACHE_ERR (BIT(9))
  1547. #define EFUSE_DIS_DCACHE_ERR_M (BIT(9))
  1548. #define EFUSE_DIS_DCACHE_ERR_V 0x1
  1549. #define EFUSE_DIS_DCACHE_ERR_S 9
  1550. /* EFUSE_DIS_ICACHE_ERR : RO ;bitpos:[8] ;default: 1'h0 ; */
  1551. /*description: If DIS_ICACHE is 1 then it indicates a programming error.*/
  1552. #define EFUSE_DIS_ICACHE_ERR (BIT(8))
  1553. #define EFUSE_DIS_ICACHE_ERR_M (BIT(8))
  1554. #define EFUSE_DIS_ICACHE_ERR_V 0x1
  1555. #define EFUSE_DIS_ICACHE_ERR_S 8
  1556. /* EFUSE_DIS_RTC_RAM_BOOT_ERR : RO ;bitpos:[7] ;default: 1'h0 ; */
  1557. /*description: If DIS_RTC_RAM_BOOT is 1 then it indicates a programming error.*/
  1558. #define EFUSE_DIS_RTC_RAM_BOOT_ERR (BIT(7))
  1559. #define EFUSE_DIS_RTC_RAM_BOOT_ERR_M (BIT(7))
  1560. #define EFUSE_DIS_RTC_RAM_BOOT_ERR_V 0x1
  1561. #define EFUSE_DIS_RTC_RAM_BOOT_ERR_S 7
  1562. /* EFUSE_RD_DIS_ERR : RO ;bitpos:[6:0] ;default: 7'h0 ; */
  1563. /*description: If any bit in RD_DIS is 1 then it indicates a programming error.*/
  1564. #define EFUSE_RD_DIS_ERR 0x0000007F
  1565. #define EFUSE_RD_DIS_ERR_M ((EFUSE_RD_DIS_ERR_V)<<(EFUSE_RD_DIS_ERR_S))
  1566. #define EFUSE_RD_DIS_ERR_V 0x7F
  1567. #define EFUSE_RD_DIS_ERR_S 0
  1568. #define EFUSE_RD_REPEAT_ERR1_REG (DR_REG_EFUSE_BASE + 0x180)
  1569. /* EFUSE_KEY_PURPOSE_1_ERR : RO ;bitpos:[31:28] ;default: 4'h0 ; */
  1570. /*description: If any bit in KEY_PURPOSE_1 is 1 then it indicates a programming error.*/
  1571. #define EFUSE_KEY_PURPOSE_1_ERR 0x0000000F
  1572. #define EFUSE_KEY_PURPOSE_1_ERR_M ((EFUSE_KEY_PURPOSE_1_ERR_V)<<(EFUSE_KEY_PURPOSE_1_ERR_S))
  1573. #define EFUSE_KEY_PURPOSE_1_ERR_V 0xF
  1574. #define EFUSE_KEY_PURPOSE_1_ERR_S 28
  1575. /* EFUSE_KEY_PURPOSE_0_ERR : RO ;bitpos:[27:24] ;default: 4'h0 ; */
  1576. /*description: If any bit in KEY_PURPOSE_0 is 1 then it indicates a programming error.*/
  1577. #define EFUSE_KEY_PURPOSE_0_ERR 0x0000000F
  1578. #define EFUSE_KEY_PURPOSE_0_ERR_M ((EFUSE_KEY_PURPOSE_0_ERR_V)<<(EFUSE_KEY_PURPOSE_0_ERR_S))
  1579. #define EFUSE_KEY_PURPOSE_0_ERR_V 0xF
  1580. #define EFUSE_KEY_PURPOSE_0_ERR_S 24
  1581. /* EFUSE_SECURE_BOOT_KEY_REVOKE2_ERR : RO ;bitpos:[23] ;default: 1'h0 ; */
  1582. /*description: If SECURE_BOOT_KEY_REVOKE2 is 1 then it indicates a programming error.*/
  1583. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_ERR (BIT(23))
  1584. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_ERR_M (BIT(23))
  1585. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_ERR_V 0x1
  1586. #define EFUSE_SECURE_BOOT_KEY_REVOKE2_ERR_S 23
  1587. /* EFUSE_SECURE_BOOT_KEY_REVOKE1_ERR : RO ;bitpos:[22] ;default: 1'h0 ; */
  1588. /*description: If SECURE_BOOT_KEY_REVOKE1 is 1 then it indicates a programming error.*/
  1589. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_ERR (BIT(22))
  1590. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_ERR_M (BIT(22))
  1591. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_ERR_V 0x1
  1592. #define EFUSE_SECURE_BOOT_KEY_REVOKE1_ERR_S 22
  1593. /* EFUSE_SECURE_BOOT_KEY_REVOKE0_ERR : RO ;bitpos:[21] ;default: 1'h0 ; */
  1594. /*description: If SECURE_BOOT_KEY_REVOKE0 is 1 then it indicates a programming error.*/
  1595. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_ERR (BIT(21))
  1596. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_ERR_M (BIT(21))
  1597. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_ERR_V 0x1
  1598. #define EFUSE_SECURE_BOOT_KEY_REVOKE0_ERR_S 21
  1599. /* EFUSE_SPI_BOOT_CRYPT_CNT_ERR : RO ;bitpos:[20:18] ;default: 3'h0 ; */
  1600. /*description: If any bit in SPI_BOOT_CRYPT_CNT is 1 then it indicates a programming error.*/
  1601. #define EFUSE_SPI_BOOT_CRYPT_CNT_ERR 0x00000007
  1602. #define EFUSE_SPI_BOOT_CRYPT_CNT_ERR_M ((EFUSE_SPI_BOOT_CRYPT_CNT_ERR_V)<<(EFUSE_SPI_BOOT_CRYPT_CNT_ERR_S))
  1603. #define EFUSE_SPI_BOOT_CRYPT_CNT_ERR_V 0x7
  1604. #define EFUSE_SPI_BOOT_CRYPT_CNT_ERR_S 18
  1605. /* EFUSE_WDT_DELAY_SEL_ERR : RO ;bitpos:[17:16] ;default: 2'h0 ; */
  1606. /*description: If any bit in WDT_DELAY_SEL is 1 then it indicates a programming error.*/
  1607. #define EFUSE_WDT_DELAY_SEL_ERR 0x00000003
  1608. #define EFUSE_WDT_DELAY_SEL_ERR_M ((EFUSE_WDT_DELAY_SEL_ERR_V)<<(EFUSE_WDT_DELAY_SEL_ERR_S))
  1609. #define EFUSE_WDT_DELAY_SEL_ERR_V 0x3
  1610. #define EFUSE_WDT_DELAY_SEL_ERR_S 16
  1611. /* EFUSE_VDD_SPI_DCAP_ERR : RO ;bitpos:[15:14] ;default: 2'h0 ; */
  1612. /*description: If any bit in VDD_SPI_DCAP is 1 then it indicates a programming error.*/
  1613. #define EFUSE_VDD_SPI_DCAP_ERR 0x00000003
  1614. #define EFUSE_VDD_SPI_DCAP_ERR_M ((EFUSE_VDD_SPI_DCAP_ERR_V)<<(EFUSE_VDD_SPI_DCAP_ERR_S))
  1615. #define EFUSE_VDD_SPI_DCAP_ERR_V 0x3
  1616. #define EFUSE_VDD_SPI_DCAP_ERR_S 14
  1617. /* EFUSE_VDD_SPI_INIT_ERR : RO ;bitpos:[13:12] ;default: 2'h0 ; */
  1618. /*description: If any bit in VDD_SPI_INIT is 1 then it indicates a programming error.*/
  1619. #define EFUSE_VDD_SPI_INIT_ERR 0x00000003
  1620. #define EFUSE_VDD_SPI_INIT_ERR_M ((EFUSE_VDD_SPI_INIT_ERR_V)<<(EFUSE_VDD_SPI_INIT_ERR_S))
  1621. #define EFUSE_VDD_SPI_INIT_ERR_V 0x3
  1622. #define EFUSE_VDD_SPI_INIT_ERR_S 12
  1623. /* EFUSE_VDD_SPI_DCURLIM_ERR : RO ;bitpos:[11:9] ;default: 3'h0 ; */
  1624. /*description: If any bit in VDD_SPI_DCURLIM is 1 then it indicates a programming error.*/
  1625. #define EFUSE_VDD_SPI_DCURLIM_ERR 0x00000007
  1626. #define EFUSE_VDD_SPI_DCURLIM_ERR_M ((EFUSE_VDD_SPI_DCURLIM_ERR_V)<<(EFUSE_VDD_SPI_DCURLIM_ERR_S))
  1627. #define EFUSE_VDD_SPI_DCURLIM_ERR_V 0x7
  1628. #define EFUSE_VDD_SPI_DCURLIM_ERR_S 9
  1629. /* EFUSE_VDD_SPI_ENCURLIM_ERR : RO ;bitpos:[8] ;default: 1'h0 ; */
  1630. /*description: If VDD_SPI_ENCURLIM is 1 then it indicates a programming error.*/
  1631. #define EFUSE_VDD_SPI_ENCURLIM_ERR (BIT(8))
  1632. #define EFUSE_VDD_SPI_ENCURLIM_ERR_M (BIT(8))
  1633. #define EFUSE_VDD_SPI_ENCURLIM_ERR_V 0x1
  1634. #define EFUSE_VDD_SPI_ENCURLIM_ERR_S 8
  1635. /* EFUSE_VDD_SPI_EN_INIT_ERR : RO ;bitpos:[7] ;default: 1'h0 ; */
  1636. /*description: If VDD_SPI_EN_INIT is 1 then it indicates a programming error.*/
  1637. #define EFUSE_VDD_SPI_EN_INIT_ERR (BIT(7))
  1638. #define EFUSE_VDD_SPI_EN_INIT_ERR_M (BIT(7))
  1639. #define EFUSE_VDD_SPI_EN_INIT_ERR_V 0x1
  1640. #define EFUSE_VDD_SPI_EN_INIT_ERR_S 7
  1641. /* EFUSE_VDD_SPI_FORCE_ERR : RO ;bitpos:[6] ;default: 1'h0 ; */
  1642. /*description: If VDD_SPI_FORCE is 1 then it indicates a programming error.*/
  1643. #define EFUSE_VDD_SPI_FORCE_ERR (BIT(6))
  1644. #define EFUSE_VDD_SPI_FORCE_ERR_M (BIT(6))
  1645. #define EFUSE_VDD_SPI_FORCE_ERR_V 0x1
  1646. #define EFUSE_VDD_SPI_FORCE_ERR_S 6
  1647. /* EFUSE_VDD_SPI_TIEH_ERR : RO ;bitpos:[5] ;default: 1'h0 ; */
  1648. /*description: If VDD_SPI_TIEH is 1 then it indicates a programming error.*/
  1649. #define EFUSE_VDD_SPI_TIEH_ERR (BIT(5))
  1650. #define EFUSE_VDD_SPI_TIEH_ERR_M (BIT(5))
  1651. #define EFUSE_VDD_SPI_TIEH_ERR_V 0x1
  1652. #define EFUSE_VDD_SPI_TIEH_ERR_S 5
  1653. /* EFUSE_VDD_SPI_XPD_ERR : RO ;bitpos:[4] ;default: 1'h0 ; */
  1654. /*description: If VDD_SPI_XPD is 1 then it indicates a programming error.*/
  1655. #define EFUSE_VDD_SPI_XPD_ERR (BIT(4))
  1656. #define EFUSE_VDD_SPI_XPD_ERR_M (BIT(4))
  1657. #define EFUSE_VDD_SPI_XPD_ERR_V 0x1
  1658. #define EFUSE_VDD_SPI_XPD_ERR_S 4
  1659. /* EFUSE_VDD_SPI_DREFL_ERR : RO ;bitpos:[3:2] ;default: 2'h0 ; */
  1660. /*description: If any bit in VDD_SPI_DREFL is 1 then it indicates a programming error.*/
  1661. #define EFUSE_VDD_SPI_DREFL_ERR 0x00000003
  1662. #define EFUSE_VDD_SPI_DREFL_ERR_M ((EFUSE_VDD_SPI_DREFL_ERR_V)<<(EFUSE_VDD_SPI_DREFL_ERR_S))
  1663. #define EFUSE_VDD_SPI_DREFL_ERR_V 0x3
  1664. #define EFUSE_VDD_SPI_DREFL_ERR_S 2
  1665. /* EFUSE_VDD_SPI_DREFM_ERR : RO ;bitpos:[1:0] ;default: 2'h0 ; */
  1666. /*description: If any bit in VDD_SPI_DREFM is 1 then it indicates a programming error.*/
  1667. #define EFUSE_VDD_SPI_DREFM_ERR 0x00000003
  1668. #define EFUSE_VDD_SPI_DREFM_ERR_M ((EFUSE_VDD_SPI_DREFM_ERR_V)<<(EFUSE_VDD_SPI_DREFM_ERR_S))
  1669. #define EFUSE_VDD_SPI_DREFM_ERR_V 0x3
  1670. #define EFUSE_VDD_SPI_DREFM_ERR_S 0
  1671. #define EFUSE_RD_REPEAT_ERR2_REG (DR_REG_EFUSE_BASE + 0x184)
  1672. /* EFUSE_FLASH_TPUW_ERR : RO ;bitpos:[31:28] ;default: 4'h0 ; */
  1673. /*description: If any bit in FLASH_TPUM is 1 then it indicates a programming error.*/
  1674. #define EFUSE_FLASH_TPUW_ERR 0x0000000F
  1675. #define EFUSE_FLASH_TPUW_ERR_M ((EFUSE_FLASH_TPUW_ERR_V)<<(EFUSE_FLASH_TPUW_ERR_S))
  1676. #define EFUSE_FLASH_TPUW_ERR_V 0xF
  1677. #define EFUSE_FLASH_TPUW_ERR_S 28
  1678. /* EFUSE_RPT4_RESERVED1_ERR : RO ;bitpos:[27:22] ;default: 6'h0 ; */
  1679. /*description: Reserved.*/
  1680. #define EFUSE_RPT4_RESERVED1_ERR 0x0000003F
  1681. #define EFUSE_RPT4_RESERVED1_ERR_M ((EFUSE_RPT4_RESERVED1_ERR_V)<<(EFUSE_RPT4_RESERVED1_ERR_S))
  1682. #define EFUSE_RPT4_RESERVED1_ERR_V 0x3F
  1683. #define EFUSE_RPT4_RESERVED1_ERR_S 22
  1684. /* EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_ERR : RO ;bitpos:[21] ;default: 1'h0 ; */
  1685. /*description: If SECURE_BOOT_AGGRESSIVE_REVOKE is 1 then it indicates a programming error.*/
  1686. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_ERR (BIT(21))
  1687. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_ERR_M (BIT(21))
  1688. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_ERR_V 0x1
  1689. #define EFUSE_SECURE_BOOT_AGGRESSIVE_REVOKE_ERR_S 21
  1690. /* EFUSE_SECURE_BOOT_EN_ERR : RO ;bitpos:[20] ;default: 1'h0 ; */
  1691. /*description: If SECURE_BOOT_EN is 1 then it indicates a programming error.*/
  1692. #define EFUSE_SECURE_BOOT_EN_ERR (BIT(20))
  1693. #define EFUSE_SECURE_BOOT_EN_ERR_M (BIT(20))
  1694. #define EFUSE_SECURE_BOOT_EN_ERR_V 0x1
  1695. #define EFUSE_SECURE_BOOT_EN_ERR_S 20
  1696. /* EFUSE_KEY_PURPOSE_6_ERR : RO ;bitpos:[19:16] ;default: 4'h0 ; */
  1697. /*description: If any bit in KEY_PURPOSE_6 is 1 then it indicates a programming error.*/
  1698. #define EFUSE_KEY_PURPOSE_6_ERR 0x0000000F
  1699. #define EFUSE_KEY_PURPOSE_6_ERR_M ((EFUSE_KEY_PURPOSE_6_ERR_V)<<(EFUSE_KEY_PURPOSE_6_ERR_S))
  1700. #define EFUSE_KEY_PURPOSE_6_ERR_V 0xF
  1701. #define EFUSE_KEY_PURPOSE_6_ERR_S 16
  1702. /* EFUSE_KEY_PURPOSE_5_ERR : RO ;bitpos:[15:12] ;default: 4'h0 ; */
  1703. /*description: If any bit in KEY_PURPOSE_5 is 1 then it indicates a programming error.*/
  1704. #define EFUSE_KEY_PURPOSE_5_ERR 0x0000000F
  1705. #define EFUSE_KEY_PURPOSE_5_ERR_M ((EFUSE_KEY_PURPOSE_5_ERR_V)<<(EFUSE_KEY_PURPOSE_5_ERR_S))
  1706. #define EFUSE_KEY_PURPOSE_5_ERR_V 0xF
  1707. #define EFUSE_KEY_PURPOSE_5_ERR_S 12
  1708. /* EFUSE_KEY_PURPOSE_4_ERR : RO ;bitpos:[11:8] ;default: 4'h0 ; */
  1709. /*description: If any bit in KEY_PURPOSE_4 is 1 then it indicates a programming error.*/
  1710. #define EFUSE_KEY_PURPOSE_4_ERR 0x0000000F
  1711. #define EFUSE_KEY_PURPOSE_4_ERR_M ((EFUSE_KEY_PURPOSE_4_ERR_V)<<(EFUSE_KEY_PURPOSE_4_ERR_S))
  1712. #define EFUSE_KEY_PURPOSE_4_ERR_V 0xF
  1713. #define EFUSE_KEY_PURPOSE_4_ERR_S 8
  1714. /* EFUSE_KEY_PURPOSE_3_ERR : RO ;bitpos:[7:4] ;default: 4'h0 ; */
  1715. /*description: If any bit in KEY_PURPOSE_3 is 1 then it indicates a programming error.*/
  1716. #define EFUSE_KEY_PURPOSE_3_ERR 0x0000000F
  1717. #define EFUSE_KEY_PURPOSE_3_ERR_M ((EFUSE_KEY_PURPOSE_3_ERR_V)<<(EFUSE_KEY_PURPOSE_3_ERR_S))
  1718. #define EFUSE_KEY_PURPOSE_3_ERR_V 0xF
  1719. #define EFUSE_KEY_PURPOSE_3_ERR_S 4
  1720. /* EFUSE_KEY_PURPOSE_2_ERR : RO ;bitpos:[3:0] ;default: 4'h0 ; */
  1721. /*description: If any bit in KEY_PURPOSE_2 is 1 then it indicates a programming error.*/
  1722. #define EFUSE_KEY_PURPOSE_2_ERR 0x0000000F
  1723. #define EFUSE_KEY_PURPOSE_2_ERR_M ((EFUSE_KEY_PURPOSE_2_ERR_V)<<(EFUSE_KEY_PURPOSE_2_ERR_S))
  1724. #define EFUSE_KEY_PURPOSE_2_ERR_V 0xF
  1725. #define EFUSE_KEY_PURPOSE_2_ERR_S 0
  1726. #define EFUSE_RD_REPEAT_ERR3_REG (DR_REG_EFUSE_BASE + 0x188)
  1727. /* EFUSE_RPT4_RESERVED2_ERR : RO ;bitpos:[31:27] ;default: 5'h0 ; */
  1728. /*description: Reserved.*/
  1729. #define EFUSE_RPT4_RESERVED2_ERR 0x0000001F
  1730. #define EFUSE_RPT4_RESERVED2_ERR_M ((EFUSE_RPT4_RESERVED2_ERR_V)<<(EFUSE_RPT4_RESERVED2_ERR_S))
  1731. #define EFUSE_RPT4_RESERVED2_ERR_V 0x1F
  1732. #define EFUSE_RPT4_RESERVED2_ERR_S 27
  1733. /* EFUSE_SECURE_VERSION_ERR : RO ;bitpos:[26:11] ;default: 16'h0 ; */
  1734. /*description: If any bit in SECURE_VERSION is 1 then it indicates a programming error.*/
  1735. #define EFUSE_SECURE_VERSION_ERR 0x0000FFFF
  1736. #define EFUSE_SECURE_VERSION_ERR_M ((EFUSE_SECURE_VERSION_ERR_V)<<(EFUSE_SECURE_VERSION_ERR_S))
  1737. #define EFUSE_SECURE_VERSION_ERR_V 0xFFFF
  1738. #define EFUSE_SECURE_VERSION_ERR_S 11
  1739. /* EFUSE_FORCE_SEND_RESUME_ERR : RO ;bitpos:[10] ;default: 1'h0 ; */
  1740. /*description: If FORCE_SEND_RESUME is 1 then it indicates a programming error.*/
  1741. #define EFUSE_FORCE_SEND_RESUME_ERR (BIT(10))
  1742. #define EFUSE_FORCE_SEND_RESUME_ERR_M (BIT(10))
  1743. #define EFUSE_FORCE_SEND_RESUME_ERR_V 0x1
  1744. #define EFUSE_FORCE_SEND_RESUME_ERR_S 10
  1745. /* EFUSE_FLASH_TYPE_ERR : RO ;bitpos:[9] ;default: 1'h0 ; */
  1746. /*description: If FLASH_TYPE is 1 then it indicates a programming error.*/
  1747. #define EFUSE_FLASH_TYPE_ERR (BIT(9))
  1748. #define EFUSE_FLASH_TYPE_ERR_M (BIT(9))
  1749. #define EFUSE_FLASH_TYPE_ERR_V 0x1
  1750. #define EFUSE_FLASH_TYPE_ERR_S 9
  1751. /* EFUSE_PIN_POWER_SELECTION_ERR : RO ;bitpos:[8] ;default: 1'h0 ; */
  1752. /*description: If PIN_POWER_SELECTION is 1 then it indicates a programming error.*/
  1753. #define EFUSE_PIN_POWER_SELECTION_ERR (BIT(8))
  1754. #define EFUSE_PIN_POWER_SELECTION_ERR_M (BIT(8))
  1755. #define EFUSE_PIN_POWER_SELECTION_ERR_V 0x1
  1756. #define EFUSE_PIN_POWER_SELECTION_ERR_S 8
  1757. /* EFUSE_UART_PRINT_CONTROL_ERR : RO ;bitpos:[7:6] ;default: 2'h0 ; */
  1758. /*description: If any bit in UART_PRINT_CONTROL is 1 then it indicates a programming error.*/
  1759. #define EFUSE_UART_PRINT_CONTROL_ERR 0x00000003
  1760. #define EFUSE_UART_PRINT_CONTROL_ERR_M ((EFUSE_UART_PRINT_CONTROL_ERR_V)<<(EFUSE_UART_PRINT_CONTROL_ERR_S))
  1761. #define EFUSE_UART_PRINT_CONTROL_ERR_V 0x3
  1762. #define EFUSE_UART_PRINT_CONTROL_ERR_S 6
  1763. /* EFUSE_ENABLE_SECURITY_DOWNLOAD_ERR : RO ;bitpos:[5] ;default: 1'h0 ; */
  1764. /*description: If ENABLE_SECURITY_DOWNLOAD is 1 then it indicates a programming error.*/
  1765. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_ERR (BIT(5))
  1766. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_ERR_M (BIT(5))
  1767. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_ERR_V 0x1
  1768. #define EFUSE_ENABLE_SECURITY_DOWNLOAD_ERR_S 5
  1769. /* EFUSE_DIS_USB_DOWNLOAD_MODE_ERR : RO ;bitpos:[4] ;default: 1'h0 ; */
  1770. /*description: If DIS_USB_DOWNLOAD_MODE is 1 then it indicates a programming error.*/
  1771. #define EFUSE_DIS_USB_DOWNLOAD_MODE_ERR (BIT(4))
  1772. #define EFUSE_DIS_USB_DOWNLOAD_MODE_ERR_M (BIT(4))
  1773. #define EFUSE_DIS_USB_DOWNLOAD_MODE_ERR_V 0x1
  1774. #define EFUSE_DIS_USB_DOWNLOAD_MODE_ERR_S 4
  1775. /* EFUSE_RPT4_RESERVED3_ERR : RO ;bitpos:[3] ;default: 1'h0 ; */
  1776. /*description: If RPT4_RESERVED3 is 1 then it indicates a programming error.*/
  1777. #define EFUSE_RPT4_RESERVED3_ERR (BIT(3))
  1778. #define EFUSE_RPT4_RESERVED3_ERR_M (BIT(3))
  1779. #define EFUSE_RPT4_RESERVED3_ERR_V 0x1
  1780. #define EFUSE_RPT4_RESERVED3_ERR_S 3
  1781. /* EFUSE_UART_PRINT_CHANNEL_ERR : RO ;bitpos:[2] ;default: 1'h0 ; */
  1782. /*description: If UART_PRINT_CHANNEL is 1 then it indicates a programming error.*/
  1783. #define EFUSE_UART_PRINT_CHANNEL_ERR (BIT(2))
  1784. #define EFUSE_UART_PRINT_CHANNEL_ERR_M (BIT(2))
  1785. #define EFUSE_UART_PRINT_CHANNEL_ERR_V 0x1
  1786. #define EFUSE_UART_PRINT_CHANNEL_ERR_S 2
  1787. /* EFUSE_DIS_LEGACY_SPI_BOOT_ERR : RO ;bitpos:[1] ;default: 1'h0 ; */
  1788. /*description: If DIS_LEGACY_SPI_BOOT is 1 then it indicates a programming error.*/
  1789. #define EFUSE_DIS_LEGACY_SPI_BOOT_ERR (BIT(1))
  1790. #define EFUSE_DIS_LEGACY_SPI_BOOT_ERR_M (BIT(1))
  1791. #define EFUSE_DIS_LEGACY_SPI_BOOT_ERR_V 0x1
  1792. #define EFUSE_DIS_LEGACY_SPI_BOOT_ERR_S 1
  1793. /* EFUSE_DIS_DOWNLOAD_MODE_ERR : RO ;bitpos:[0] ;default: 1'h0 ; */
  1794. /*description: If DIS_DOWNLOAD_MODE is 1 then it indicates a programming error.*/
  1795. #define EFUSE_DIS_DOWNLOAD_MODE_ERR (BIT(0))
  1796. #define EFUSE_DIS_DOWNLOAD_MODE_ERR_M (BIT(0))
  1797. #define EFUSE_DIS_DOWNLOAD_MODE_ERR_V 0x1
  1798. #define EFUSE_DIS_DOWNLOAD_MODE_ERR_S 0
  1799. #define EFUSE_RD_REPEAT_ERR4_REG (DR_REG_EFUSE_BASE + 0x18C)
  1800. /* EFUSE_RPT1_RESERVED0_ERR : RO ;bitpos:[31:24] ;default: 8'h0 ; */
  1801. /*description: Reserved.*/
  1802. #define EFUSE_RPT1_RESERVED0_ERR 0x000000FF
  1803. #define EFUSE_RPT1_RESERVED0_ERR_M ((EFUSE_RPT1_RESERVED0_ERR_V)<<(EFUSE_RPT1_RESERVED0_ERR_S))
  1804. #define EFUSE_RPT1_RESERVED0_ERR_V 0xFF
  1805. #define EFUSE_RPT1_RESERVED0_ERR_S 24
  1806. /* EFUSE_RPT4_RESERVED4_ERR : RO ;bitpos:[23:0] ;default: 24'h0 ; */
  1807. /*description: Reserved ( four backup method ).*/
  1808. #define EFUSE_RPT4_RESERVED4_ERR 0x00FFFFFF
  1809. #define EFUSE_RPT4_RESERVED4_ERR_M ((EFUSE_RPT4_RESERVED4_ERR_V)<<(EFUSE_RPT4_RESERVED4_ERR_S))
  1810. #define EFUSE_RPT4_RESERVED4_ERR_V 0xFFFFFF
  1811. #define EFUSE_RPT4_RESERVED4_ERR_S 0
  1812. #define EFUSE_RD_RS_ERR0_REG (DR_REG_EFUSE_BASE + 0x1c0)
  1813. /* EFUSE_KEY4_FAIL : RO ;bitpos:[31] ;default: 1'h0 ; */
  1814. /*description: 0: Means no failure and that the data of key$n is reliable*/
  1815. #define EFUSE_KEY4_FAIL (BIT(31))
  1816. #define EFUSE_KEY4_FAIL_M (BIT(31))
  1817. #define EFUSE_KEY4_FAIL_V 0x1
  1818. #define EFUSE_KEY4_FAIL_S 31
  1819. /* EFUSE_KEY4_ERR_NUM : RO ;bitpos:[30:28] ;default: 3'h0 ; */
  1820. /*description: The value of this signal means the number of error bytes.*/
  1821. #define EFUSE_KEY4_ERR_NUM 0x00000007
  1822. #define EFUSE_KEY4_ERR_NUM_M ((EFUSE_KEY4_ERR_NUM_V)<<(EFUSE_KEY4_ERR_NUM_S))
  1823. #define EFUSE_KEY4_ERR_NUM_V 0x7
  1824. #define EFUSE_KEY4_ERR_NUM_S 28
  1825. /* EFUSE_KEY3_FAIL : RO ;bitpos:[27] ;default: 1'h0 ; */
  1826. /*description: 0: Means no failure and that the data of key$n is reliable*/
  1827. #define EFUSE_KEY3_FAIL (BIT(27))
  1828. #define EFUSE_KEY3_FAIL_M (BIT(27))
  1829. #define EFUSE_KEY3_FAIL_V 0x1
  1830. #define EFUSE_KEY3_FAIL_S 27
  1831. /* EFUSE_KEY3_ERR_NUM : RO ;bitpos:[26:24] ;default: 3'h0 ; */
  1832. /*description: The value of this signal means the number of error bytes.*/
  1833. #define EFUSE_KEY3_ERR_NUM 0x00000007
  1834. #define EFUSE_KEY3_ERR_NUM_M ((EFUSE_KEY3_ERR_NUM_V)<<(EFUSE_KEY3_ERR_NUM_S))
  1835. #define EFUSE_KEY3_ERR_NUM_V 0x7
  1836. #define EFUSE_KEY3_ERR_NUM_S 24
  1837. /* EFUSE_KEY2_FAIL : RO ;bitpos:[23] ;default: 1'h0 ; */
  1838. /*description: 0: Means no failure and that the data of key$n is reliable*/
  1839. #define EFUSE_KEY2_FAIL (BIT(23))
  1840. #define EFUSE_KEY2_FAIL_M (BIT(23))
  1841. #define EFUSE_KEY2_FAIL_V 0x1
  1842. #define EFUSE_KEY2_FAIL_S 23
  1843. /* EFUSE_KEY2_ERR_NUM : RO ;bitpos:[22:20] ;default: 3'h0 ; */
  1844. /*description: The value of this signal means the number of error bytes.*/
  1845. #define EFUSE_KEY2_ERR_NUM 0x00000007
  1846. #define EFUSE_KEY2_ERR_NUM_M ((EFUSE_KEY2_ERR_NUM_V)<<(EFUSE_KEY2_ERR_NUM_S))
  1847. #define EFUSE_KEY2_ERR_NUM_V 0x7
  1848. #define EFUSE_KEY2_ERR_NUM_S 20
  1849. /* EFUSE_KEY1_FAIL : RO ;bitpos:[19] ;default: 1'h0 ; */
  1850. /*description: 0: Means no failure and that the data of key$n is reliable*/
  1851. #define EFUSE_KEY1_FAIL (BIT(19))
  1852. #define EFUSE_KEY1_FAIL_M (BIT(19))
  1853. #define EFUSE_KEY1_FAIL_V 0x1
  1854. #define EFUSE_KEY1_FAIL_S 19
  1855. /* EFUSE_KEY1_ERR_NUM : RO ;bitpos:[18:16] ;default: 3'h0 ; */
  1856. /*description: The value of this signal means the number of error bytes.*/
  1857. #define EFUSE_KEY1_ERR_NUM 0x00000007
  1858. #define EFUSE_KEY1_ERR_NUM_M ((EFUSE_KEY1_ERR_NUM_V)<<(EFUSE_KEY1_ERR_NUM_S))
  1859. #define EFUSE_KEY1_ERR_NUM_V 0x7
  1860. #define EFUSE_KEY1_ERR_NUM_S 16
  1861. /* EFUSE_KEY0_FAIL : RO ;bitpos:[15] ;default: 1'h0 ; */
  1862. /*description: 0: Means no failure and that the data of key$n is reliable*/
  1863. #define EFUSE_KEY0_FAIL (BIT(15))
  1864. #define EFUSE_KEY0_FAIL_M (BIT(15))
  1865. #define EFUSE_KEY0_FAIL_V 0x1
  1866. #define EFUSE_KEY0_FAIL_S 15
  1867. /* EFUSE_KEY0_ERR_NUM : RO ;bitpos:[14:12] ;default: 3'h0 ; */
  1868. /*description: The value of this signal means the number of error bytes.*/
  1869. #define EFUSE_KEY0_ERR_NUM 0x00000007
  1870. #define EFUSE_KEY0_ERR_NUM_M ((EFUSE_KEY0_ERR_NUM_V)<<(EFUSE_KEY0_ERR_NUM_S))
  1871. #define EFUSE_KEY0_ERR_NUM_V 0x7
  1872. #define EFUSE_KEY0_ERR_NUM_S 12
  1873. /* EFUSE_USR_DATA_FAIL : RO ;bitpos:[11] ;default: 1'h0 ; */
  1874. /*description: 0: Means no failure and that the user data is reliable*/
  1875. #define EFUSE_USR_DATA_FAIL (BIT(11))
  1876. #define EFUSE_USR_DATA_FAIL_M (BIT(11))
  1877. #define EFUSE_USR_DATA_FAIL_V 0x1
  1878. #define EFUSE_USR_DATA_FAIL_S 11
  1879. /* EFUSE_USR_DATA_ERR_NUM : RO ;bitpos:[10:8] ;default: 3'h0 ; */
  1880. /*description: The value of this signal means the number of error bytes.*/
  1881. #define EFUSE_USR_DATA_ERR_NUM 0x00000007
  1882. #define EFUSE_USR_DATA_ERR_NUM_M ((EFUSE_USR_DATA_ERR_NUM_V)<<(EFUSE_USR_DATA_ERR_NUM_S))
  1883. #define EFUSE_USR_DATA_ERR_NUM_V 0x7
  1884. #define EFUSE_USR_DATA_ERR_NUM_S 8
  1885. /* EFUSE_SYS_PART1_FAIL : RO ;bitpos:[7] ;default: 1'h0 ; */
  1886. /*description: 0: Means no failure and that the data of system part1 is reliable*/
  1887. #define EFUSE_SYS_PART1_FAIL (BIT(7))
  1888. #define EFUSE_SYS_PART1_FAIL_M (BIT(7))
  1889. #define EFUSE_SYS_PART1_FAIL_V 0x1
  1890. #define EFUSE_SYS_PART1_FAIL_S 7
  1891. /* EFUSE_SYS_PART1_NUM : RO ;bitpos:[6:4] ;default: 3'h0 ; */
  1892. /*description: The value of this signal means the number of error bytes.*/
  1893. #define EFUSE_SYS_PART1_NUM 0x00000007
  1894. #define EFUSE_SYS_PART1_NUM_M ((EFUSE_SYS_PART1_NUM_V)<<(EFUSE_SYS_PART1_NUM_S))
  1895. #define EFUSE_SYS_PART1_NUM_V 0x7
  1896. #define EFUSE_SYS_PART1_NUM_S 4
  1897. /* EFUSE_MAC_SPI_8M_FAIL : RO ;bitpos:[3] ;default: 1'h0 ; */
  1898. /*description: 0: Means no failure and that the data of MAC_SPI_8M is reliable*/
  1899. #define EFUSE_MAC_SPI_8M_FAIL (BIT(3))
  1900. #define EFUSE_MAC_SPI_8M_FAIL_M (BIT(3))
  1901. #define EFUSE_MAC_SPI_8M_FAIL_V 0x1
  1902. #define EFUSE_MAC_SPI_8M_FAIL_S 3
  1903. /* EFUSE_MAC_SPI_8M_ERR_NUM : RO ;bitpos:[2:0] ;default: 3'h0 ; */
  1904. /*description: The value of this signal means the number of error bytes.*/
  1905. #define EFUSE_MAC_SPI_8M_ERR_NUM 0x00000007
  1906. #define EFUSE_MAC_SPI_8M_ERR_NUM_M ((EFUSE_MAC_SPI_8M_ERR_NUM_V)<<(EFUSE_MAC_SPI_8M_ERR_NUM_S))
  1907. #define EFUSE_MAC_SPI_8M_ERR_NUM_V 0x7
  1908. #define EFUSE_MAC_SPI_8M_ERR_NUM_S 0
  1909. #define EFUSE_RD_RS_ERR1_REG (DR_REG_EFUSE_BASE + 0x1c4)
  1910. /* EFUSE_SYS_PART2_FAIL : RO ;bitpos:[7] ;default: 1'h0 ; */
  1911. /*description: 0: Means no failure and that the data of system part2 is reliable*/
  1912. #define EFUSE_SYS_PART2_FAIL (BIT(7))
  1913. #define EFUSE_SYS_PART2_FAIL_M (BIT(7))
  1914. #define EFUSE_SYS_PART2_FAIL_V 0x1
  1915. #define EFUSE_SYS_PART2_FAIL_S 7
  1916. /* EFUSE_SYS_PART2_ERR_NUM : RO ;bitpos:[6:4] ;default: 3'h0 ; */
  1917. /*description: The value of this signal means the number of error bytes.*/
  1918. #define EFUSE_SYS_PART2_ERR_NUM 0x00000007
  1919. #define EFUSE_SYS_PART2_ERR_NUM_M ((EFUSE_SYS_PART2_ERR_NUM_V)<<(EFUSE_SYS_PART2_ERR_NUM_S))
  1920. #define EFUSE_SYS_PART2_ERR_NUM_V 0x7
  1921. #define EFUSE_SYS_PART2_ERR_NUM_S 4
  1922. /* EFUSE_KEY5_FAIL : RO ;bitpos:[3] ;default: 1'h0 ; */
  1923. /*description: 0: Means no failure and that the data of KEY5 is reliable*/
  1924. #define EFUSE_KEY5_FAIL (BIT(3))
  1925. #define EFUSE_KEY5_FAIL_M (BIT(3))
  1926. #define EFUSE_KEY5_FAIL_V 0x1
  1927. #define EFUSE_KEY5_FAIL_S 3
  1928. /* EFUSE_KEY5_ERR_NUM : RO ;bitpos:[2:0] ;default: 3'h0 ; */
  1929. /*description: The value of this signal means the number of error bytes.*/
  1930. #define EFUSE_KEY5_ERR_NUM 0x00000007
  1931. #define EFUSE_KEY5_ERR_NUM_M ((EFUSE_KEY5_ERR_NUM_V)<<(EFUSE_KEY5_ERR_NUM_S))
  1932. #define EFUSE_KEY5_ERR_NUM_V 0x7
  1933. #define EFUSE_KEY5_ERR_NUM_S 0
  1934. #define EFUSE_CLK_REG (DR_REG_EFUSE_BASE + 0x1c8)
  1935. /* EFUSE_CLK_EN : R/W ;bitpos:[16] ;default: 1'h0 ; */
  1936. /*description: Set this bit and force to enable clock signal of eFuse memory.*/
  1937. #define EFUSE_CLK_EN (BIT(16))
  1938. #define EFUSE_CLK_EN_M (BIT(16))
  1939. #define EFUSE_CLK_EN_V 0x1
  1940. #define EFUSE_CLK_EN_S 16
  1941. /* EFUSE_MEM_FORCE_PU : R/W ;bitpos:[2] ;default: 1'h0 ; */
  1942. /*description: Set this bit to force eFuse SRAM into working mode.*/
  1943. #define EFUSE_MEM_FORCE_PU (BIT(2))
  1944. #define EFUSE_MEM_FORCE_PU_M (BIT(2))
  1945. #define EFUSE_MEM_FORCE_PU_V 0x1
  1946. #define EFUSE_MEM_FORCE_PU_S 2
  1947. /* EFUSE_MEM_CLK_FORCE_ON : R/W ;bitpos:[1] ;default: 1'h1 ; */
  1948. /*description: Set this bit and force to activate clock signal of eFuse SRAM.*/
  1949. #define EFUSE_MEM_CLK_FORCE_ON (BIT(1))
  1950. #define EFUSE_MEM_CLK_FORCE_ON_M (BIT(1))
  1951. #define EFUSE_MEM_CLK_FORCE_ON_V 0x1
  1952. #define EFUSE_MEM_CLK_FORCE_ON_S 1
  1953. /* EFUSE_MEM_FORCE_PD : R/W ;bitpos:[0] ;default: 1'h0 ; */
  1954. /*description: Set this bit to force eFuse SRAM into power-saving mode.*/
  1955. #define EFUSE_MEM_FORCE_PD (BIT(0))
  1956. #define EFUSE_MEM_FORCE_PD_M (BIT(0))
  1957. #define EFUSE_MEM_FORCE_PD_V 0x1
  1958. #define EFUSE_MEM_FORCE_PD_S 0
  1959. #define EFUSE_WRITE_OP_CODE 0x5a5a
  1960. #define EFUSE_READ_OP_CODE 0x5aa5
  1961. #define EFUSE_CONF_REG (DR_REG_EFUSE_BASE + 0x1cc)
  1962. /* EFUSE_OP_CODE : R/W ;bitpos:[15:0] ;default: 16'h0 ; */
  1963. /*description: 0x5A5A: Operate programming command*/
  1964. #define EFUSE_OP_CODE 0x0000FFFF
  1965. #define EFUSE_OP_CODE_M ((EFUSE_OP_CODE_V)<<(EFUSE_OP_CODE_S))
  1966. #define EFUSE_OP_CODE_V 0xFFFF
  1967. #define EFUSE_OP_CODE_S 0
  1968. #define EFUSE_STATUS_REG (DR_REG_EFUSE_BASE + 0x1d0)
  1969. /* EFUSE_REPEAT_ERR_CNT : RO ;bitpos:[17:10] ;default: 8'h0 ; */
  1970. /*description: Indicates the number of error bits during programming BLOCK0.*/
  1971. #define EFUSE_REPEAT_ERR_CNT 0x000000FF
  1972. #define EFUSE_REPEAT_ERR_CNT_M ((EFUSE_REPEAT_ERR_CNT_V)<<(EFUSE_REPEAT_ERR_CNT_S))
  1973. #define EFUSE_REPEAT_ERR_CNT_V 0xFF
  1974. #define EFUSE_REPEAT_ERR_CNT_S 10
  1975. /* EFUSE_OTP_VDDQ_IS_SW : RO ;bitpos:[9] ;default: 1'h0 ; */
  1976. /*description: The value of OTP_VDDQ_IS_SW.*/
  1977. #define EFUSE_OTP_VDDQ_IS_SW (BIT(9))
  1978. #define EFUSE_OTP_VDDQ_IS_SW_M (BIT(9))
  1979. #define EFUSE_OTP_VDDQ_IS_SW_V 0x1
  1980. #define EFUSE_OTP_VDDQ_IS_SW_S 9
  1981. /* EFUSE_OTP_PGENB_SW : RO ;bitpos:[8] ;default: 1'h0 ; */
  1982. /*description: The value of OTP_PGENB_SW.*/
  1983. #define EFUSE_OTP_PGENB_SW (BIT(8))
  1984. #define EFUSE_OTP_PGENB_SW_M (BIT(8))
  1985. #define EFUSE_OTP_PGENB_SW_V 0x1
  1986. #define EFUSE_OTP_PGENB_SW_S 8
  1987. /* EFUSE_OTP_CSB_SW : RO ;bitpos:[7] ;default: 1'h0 ; */
  1988. /*description: The value of OTP_CSB_SW.*/
  1989. #define EFUSE_OTP_CSB_SW (BIT(7))
  1990. #define EFUSE_OTP_CSB_SW_M (BIT(7))
  1991. #define EFUSE_OTP_CSB_SW_V 0x1
  1992. #define EFUSE_OTP_CSB_SW_S 7
  1993. /* EFUSE_OTP_STROBE_SW : RO ;bitpos:[6] ;default: 1'h0 ; */
  1994. /*description: The value of OTP_STROBE_SW.*/
  1995. #define EFUSE_OTP_STROBE_SW (BIT(6))
  1996. #define EFUSE_OTP_STROBE_SW_M (BIT(6))
  1997. #define EFUSE_OTP_STROBE_SW_V 0x1
  1998. #define EFUSE_OTP_STROBE_SW_S 6
  1999. /* EFUSE_OTP_VDDQ_C_SYNC2 : RO ;bitpos:[5] ;default: 1'h0 ; */
  2000. /*description: The value of OTP_VDDQ_C_SYNC2.*/
  2001. #define EFUSE_OTP_VDDQ_C_SYNC2 (BIT(5))
  2002. #define EFUSE_OTP_VDDQ_C_SYNC2_M (BIT(5))
  2003. #define EFUSE_OTP_VDDQ_C_SYNC2_V 0x1
  2004. #define EFUSE_OTP_VDDQ_C_SYNC2_S 5
  2005. /* EFUSE_OTP_LOAD_SW : RO ;bitpos:[4] ;default: 1'h0 ; */
  2006. /*description: The value of OTP_LOAD_SW.*/
  2007. #define EFUSE_OTP_LOAD_SW (BIT(4))
  2008. #define EFUSE_OTP_LOAD_SW_M (BIT(4))
  2009. #define EFUSE_OTP_LOAD_SW_V 0x1
  2010. #define EFUSE_OTP_LOAD_SW_S 4
  2011. /* EFUSE_STATE : RO ;bitpos:[3:0] ;default: 4'h0 ; */
  2012. /*description: Indicates the state of the eFuse state machine.*/
  2013. #define EFUSE_STATE 0x0000000F
  2014. #define EFUSE_STATE_M ((EFUSE_STATE_V)<<(EFUSE_STATE_S))
  2015. #define EFUSE_STATE_V 0xF
  2016. #define EFUSE_STATE_S 0
  2017. #define EFUSE_CMD_REG (DR_REG_EFUSE_BASE + 0x1d4)
  2018. /* EFUSE_BLK_NUM : R/W ;bitpos:[5:2] ;default: 4'h0 ; */
  2019. /*description: The serial number of the block to be programmed. Value 0-10 corresponds
  2020. to block number 0-10 respectively.*/
  2021. #define EFUSE_BLK_NUM 0x0000000F
  2022. #define EFUSE_BLK_NUM_M ((EFUSE_BLK_NUM_V)<<(EFUSE_BLK_NUM_S))
  2023. #define EFUSE_BLK_NUM_V 0xF
  2024. #define EFUSE_BLK_NUM_S 2
  2025. /* EFUSE_PGM_CMD : R/W ;bitpos:[1] ;default: 1'h0 ; */
  2026. /*description: Set this bit to send programming command.*/
  2027. #define EFUSE_PGM_CMD (BIT(1))
  2028. #define EFUSE_PGM_CMD_M (BIT(1))
  2029. #define EFUSE_PGM_CMD_V 0x1
  2030. #define EFUSE_PGM_CMD_S 1
  2031. /* EFUSE_READ_CMD : R/W ;bitpos:[0] ;default: 1'h0 ; */
  2032. /*description: Set this bit to send read command.*/
  2033. #define EFUSE_READ_CMD (BIT(0))
  2034. #define EFUSE_READ_CMD_M (BIT(0))
  2035. #define EFUSE_READ_CMD_V 0x1
  2036. #define EFUSE_READ_CMD_S 0
  2037. #define EFUSE_INT_RAW_REG (DR_REG_EFUSE_BASE + 0x1d8)
  2038. /* EFUSE_PGM_DONE_INT_RAW : RO ;bitpos:[1] ;default: 1'h0 ; */
  2039. /*description: The raw bit signal for pgm_done interrupt.*/
  2040. #define EFUSE_PGM_DONE_INT_RAW (BIT(1))
  2041. #define EFUSE_PGM_DONE_INT_RAW_M (BIT(1))
  2042. #define EFUSE_PGM_DONE_INT_RAW_V 0x1
  2043. #define EFUSE_PGM_DONE_INT_RAW_S 1
  2044. /* EFUSE_READ_DONE_INT_RAW : RO ;bitpos:[0] ;default: 1'h0 ; */
  2045. /*description: The raw bit signal for read_done interrupt.*/
  2046. #define EFUSE_READ_DONE_INT_RAW (BIT(0))
  2047. #define EFUSE_READ_DONE_INT_RAW_M (BIT(0))
  2048. #define EFUSE_READ_DONE_INT_RAW_V 0x1
  2049. #define EFUSE_READ_DONE_INT_RAW_S 0
  2050. #define EFUSE_INT_ST_REG (DR_REG_EFUSE_BASE + 0x1dc)
  2051. /* EFUSE_PGM_DONE_INT_ST : RO ;bitpos:[1] ;default: 1'h0 ; */
  2052. /*description: The status signal for pgm_done interrupt.*/
  2053. #define EFUSE_PGM_DONE_INT_ST (BIT(1))
  2054. #define EFUSE_PGM_DONE_INT_ST_M (BIT(1))
  2055. #define EFUSE_PGM_DONE_INT_ST_V 0x1
  2056. #define EFUSE_PGM_DONE_INT_ST_S 1
  2057. /* EFUSE_READ_DONE_INT_ST : RO ;bitpos:[0] ;default: 1'h0 ; */
  2058. /*description: The status signal for read_done interrupt.*/
  2059. #define EFUSE_READ_DONE_INT_ST (BIT(0))
  2060. #define EFUSE_READ_DONE_INT_ST_M (BIT(0))
  2061. #define EFUSE_READ_DONE_INT_ST_V 0x1
  2062. #define EFUSE_READ_DONE_INT_ST_S 0
  2063. #define EFUSE_INT_ENA_REG (DR_REG_EFUSE_BASE + 0x1e0)
  2064. /* EFUSE_PGM_DONE_INT_ENA : R/W ;bitpos:[1] ;default: 1'h0 ; */
  2065. /*description: The enable signal for pgm_done interrupt.*/
  2066. #define EFUSE_PGM_DONE_INT_ENA (BIT(1))
  2067. #define EFUSE_PGM_DONE_INT_ENA_M (BIT(1))
  2068. #define EFUSE_PGM_DONE_INT_ENA_V 0x1
  2069. #define EFUSE_PGM_DONE_INT_ENA_S 1
  2070. /* EFUSE_READ_DONE_INT_ENA : R/W ;bitpos:[0] ;default: 1'h0 ; */
  2071. /*description: The enable signal for read_done interrupt.*/
  2072. #define EFUSE_READ_DONE_INT_ENA (BIT(0))
  2073. #define EFUSE_READ_DONE_INT_ENA_M (BIT(0))
  2074. #define EFUSE_READ_DONE_INT_ENA_V 0x1
  2075. #define EFUSE_READ_DONE_INT_ENA_S 0
  2076. #define EFUSE_INT_CLR_REG (DR_REG_EFUSE_BASE + 0x1e4)
  2077. /* EFUSE_PGM_DONE_INT_CLR : WO ;bitpos:[1] ;default: 1'h0 ; */
  2078. /*description: The clear signal for pgm_done interrupt.*/
  2079. #define EFUSE_PGM_DONE_INT_CLR (BIT(1))
  2080. #define EFUSE_PGM_DONE_INT_CLR_M (BIT(1))
  2081. #define EFUSE_PGM_DONE_INT_CLR_V 0x1
  2082. #define EFUSE_PGM_DONE_INT_CLR_S 1
  2083. /* EFUSE_READ_DONE_INT_CLR : WO ;bitpos:[0] ;default: 1'h0 ; */
  2084. /*description: The clear signal for read_done interrupt.*/
  2085. #define EFUSE_READ_DONE_INT_CLR (BIT(0))
  2086. #define EFUSE_READ_DONE_INT_CLR_M (BIT(0))
  2087. #define EFUSE_READ_DONE_INT_CLR_V 0x1
  2088. #define EFUSE_READ_DONE_INT_CLR_S 0
  2089. #define EFUSE_DAC_CONF_REG (DR_REG_EFUSE_BASE + 0x1e8)
  2090. /* EFUSE_OE_CLR : R/W ;bitpos:[17] ;default: 1'h0 ; */
  2091. /*description: Reduces the power supply of the programming voltage.*/
  2092. #define EFUSE_OE_CLR (BIT(17))
  2093. #define EFUSE_OE_CLR_M (BIT(17))
  2094. #define EFUSE_OE_CLR_V 0x1
  2095. #define EFUSE_OE_CLR_S 17
  2096. /* EFUSE_DAC_NUM : R/W ;bitpos:[16:9] ;default: 8'd255 ; */
  2097. /*description: Controls the rising period of the programming voltage.*/
  2098. #define EFUSE_DAC_NUM 0x000000FF
  2099. #define EFUSE_DAC_NUM_M ((EFUSE_DAC_NUM_V)<<(EFUSE_DAC_NUM_S))
  2100. #define EFUSE_DAC_NUM_V 0xFF
  2101. #define EFUSE_DAC_NUM_S 9
  2102. /* EFUSE_DAC_CLK_PAD_SEL : R/W ;bitpos:[8] ;default: 1'h0 ; */
  2103. /*description: Don't care.*/
  2104. #define EFUSE_DAC_CLK_PAD_SEL (BIT(8))
  2105. #define EFUSE_DAC_CLK_PAD_SEL_M (BIT(8))
  2106. #define EFUSE_DAC_CLK_PAD_SEL_V 0x1
  2107. #define EFUSE_DAC_CLK_PAD_SEL_S 8
  2108. /* EFUSE_DAC_CLK_DIV : R/W ;bitpos:[7:0] ;default: 8'd28 ; */
  2109. /*description: Controls the division factor of the rising clock of the programming voltage.*/
  2110. #define EFUSE_DAC_CLK_DIV 0x000000FF
  2111. #define EFUSE_DAC_CLK_DIV_M ((EFUSE_DAC_CLK_DIV_V)<<(EFUSE_DAC_CLK_DIV_S))
  2112. #define EFUSE_DAC_CLK_DIV_V 0xFF
  2113. #define EFUSE_DAC_CLK_DIV_S 0
  2114. #define EFUSE_RD_TIM_CONF_REG (DR_REG_EFUSE_BASE + 0x1ec)
  2115. /* EFUSE_READ_INIT_NUM : R/W ;bitpos:[31:24] ;default: 8'h12 ; */
  2116. /*description: Configures the initial read time of eFuse.*/
  2117. #define EFUSE_READ_INIT_NUM 0x000000FF
  2118. #define EFUSE_READ_INIT_NUM_M ((EFUSE_READ_INIT_NUM_V)<<(EFUSE_READ_INIT_NUM_S))
  2119. #define EFUSE_READ_INIT_NUM_V 0xFF
  2120. #define EFUSE_READ_INIT_NUM_S 24
  2121. /* EFUSE_TSUR_A : R/W ;bitpos:[23:16] ;default: 8'h1 ; */
  2122. /*description: Configures the setup time of read operation.*/
  2123. #define EFUSE_TSUR_A 0x000000FF
  2124. #define EFUSE_TSUR_A_M ((EFUSE_TSUR_A_V)<<(EFUSE_TSUR_A_S))
  2125. #define EFUSE_TSUR_A_V 0xFF
  2126. #define EFUSE_TSUR_A_S 16
  2127. /* EFUSE_TRD : R/W ;bitpos:[15:8] ;default: 8'h1 ; */
  2128. /*description: Configures the length of pulse of read operation.*/
  2129. #define EFUSE_TRD 0x000000FF
  2130. #define EFUSE_TRD_M ((EFUSE_TRD_V)<<(EFUSE_TRD_S))
  2131. #define EFUSE_TRD_V 0xFF
  2132. #define EFUSE_TRD_S 8
  2133. /* EFUSE_THR_A : R/W ;bitpos:[7:0] ;default: 8'h1 ; */
  2134. /*description: Configures the hold time of read operation.*/
  2135. #define EFUSE_THR_A 0x000000FF
  2136. #define EFUSE_THR_A_M ((EFUSE_THR_A_V)<<(EFUSE_THR_A_S))
  2137. #define EFUSE_THR_A_V 0xFF
  2138. #define EFUSE_THR_A_S 0
  2139. #define EFUSE_WR_TIM_CONF0_REG (DR_REG_EFUSE_BASE + 0x1F0)
  2140. /* EFUSE_TPGM : R/W ;bitpos:[31:16] ;default: 16'hc8 ; */
  2141. /*description: Configures the length of pulse during programming 1 to eFuse.*/
  2142. #define EFUSE_TPGM 0x0000FFFF
  2143. #define EFUSE_TPGM_M ((EFUSE_TPGM_V)<<(EFUSE_TPGM_S))
  2144. #define EFUSE_TPGM_V 0xFFFF
  2145. #define EFUSE_TPGM_S 16
  2146. /* EFUSE_TPGM_INACTIVE : R/W ;bitpos:[15:8] ;default: 8'h1 ; */
  2147. /*description: Configures the length of pulse during programming 0 to eFuse.*/
  2148. #define EFUSE_TPGM_INACTIVE 0x000000FF
  2149. #define EFUSE_TPGM_INACTIVE_M ((EFUSE_TPGM_INACTIVE_V)<<(EFUSE_TPGM_INACTIVE_S))
  2150. #define EFUSE_TPGM_INACTIVE_V 0xFF
  2151. #define EFUSE_TPGM_INACTIVE_S 8
  2152. /* EFUSE_THP_A : R/W ;bitpos:[7:0] ;default: 8'h1 ; */
  2153. /*description: Configures the hold time of programming operation.*/
  2154. #define EFUSE_THP_A 0x000000FF
  2155. #define EFUSE_THP_A_M ((EFUSE_THP_A_V)<<(EFUSE_THP_A_S))
  2156. #define EFUSE_THP_A_V 0xFF
  2157. #define EFUSE_THP_A_S 0
  2158. #define EFUSE_WR_TIM_CONF1_REG (DR_REG_EFUSE_BASE + 0x1F4)
  2159. /* EFUSE_PWR_ON_NUM : R/W ;bitpos:[23:8] ;default: 16'h2880 ; */
  2160. /*description: Configures the power up time for VDDQ.*/
  2161. #define EFUSE_PWR_ON_NUM 0x0000FFFF
  2162. #define EFUSE_PWR_ON_NUM_M ((EFUSE_PWR_ON_NUM_V)<<(EFUSE_PWR_ON_NUM_S))
  2163. #define EFUSE_PWR_ON_NUM_V 0xFFFF
  2164. #define EFUSE_PWR_ON_NUM_S 8
  2165. /* EFUSE_TSUP_A : R/W ;bitpos:[7:0] ;default: 8'h1 ; */
  2166. /*description: Configures the setup time of programming operation.*/
  2167. #define EFUSE_TSUP_A 0x000000FF
  2168. #define EFUSE_TSUP_A_M ((EFUSE_TSUP_A_V)<<(EFUSE_TSUP_A_S))
  2169. #define EFUSE_TSUP_A_V 0xFF
  2170. #define EFUSE_TSUP_A_S 0
  2171. #define EFUSE_WR_TIM_CONF2_REG (DR_REG_EFUSE_BASE + 0x1F8)
  2172. /* EFUSE_PWR_OFF_NUM : R/W ;bitpos:[15:0] ;default: 16'h190 ; */
  2173. /*description: Configures the power outage time for VDDQ.*/
  2174. #define EFUSE_PWR_OFF_NUM 0x0000FFFF
  2175. #define EFUSE_PWR_OFF_NUM_M ((EFUSE_PWR_OFF_NUM_V)<<(EFUSE_PWR_OFF_NUM_S))
  2176. #define EFUSE_PWR_OFF_NUM_V 0xFFFF
  2177. #define EFUSE_PWR_OFF_NUM_S 0
  2178. #define EFUSE_DATE_REG (DR_REG_EFUSE_BASE + 0x1FC)
  2179. /* EFUSE_DATE : R/W ;bitpos:[31:0] ;default: 32'h19081100 ; */
  2180. /*description: Stores eFuse version.*/
  2181. #define EFUSE_DATE 0xFFFFFFFF
  2182. #define EFUSE_DATE_M ((EFUSE_DATE_V)<<(EFUSE_DATE_S))
  2183. #define EFUSE_DATE_V 0xFFFFFFFF
  2184. #define EFUSE_DATE_S 0
  2185. #ifdef __cplusplus
  2186. }
  2187. #endif
  2188. #endif /*_SOC_EFUSE_REG_H_ */