reg_fw_sysctrl.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _REG_FW_SYSCTRL_H_
  13. #define _REG_FW_SYSCTRL_H_
  14. // Auto generated by dtools(see dtools.txt for its version).
  15. // Don't edit it manually!
  16. #define REG_REG_FW_SYSCTRL_BASE (0x51305000)
  17. typedef volatile struct
  18. {
  19. uint32_t reg_rd_ctrl_0; // 0x00000000
  20. uint32_t reg_rd_ctrl_1; // 0x00000004
  21. uint32_t reg_wr_ctrl_0; // 0x00000008
  22. uint32_t reg_wr_ctrl_1; // 0x0000000c
  23. uint32_t bit_ctrl_addr_array0; // 0x00000010
  24. uint32_t bit_ctrl_addr_array1; // 0x00000014
  25. uint32_t bit_ctrl_addr_array2; // 0x00000018
  26. uint32_t bit_ctrl_addr_array3; // 0x0000001c
  27. uint32_t bit_ctrl_addr_array4; // 0x00000020
  28. uint32_t bit_ctrl_addr_array5; // 0x00000024
  29. uint32_t bit_ctrl_addr_array6; // 0x00000028
  30. uint32_t bit_ctrl_addr_array7; // 0x0000002c
  31. uint32_t bit_ctrl_addr_array8; // 0x00000030
  32. uint32_t bit_ctrl_addr_array9; // 0x00000034
  33. uint32_t bit_ctrl_addr_array10; // 0x00000038
  34. uint32_t bit_ctrl_addr_array11; // 0x0000003c
  35. uint32_t bit_ctrl_addr_array12; // 0x00000040
  36. uint32_t bit_ctrl_addr_array13; // 0x00000044
  37. uint32_t bit_ctrl_addr_array14; // 0x00000048
  38. uint32_t bit_ctrl_addr_array15; // 0x0000004c
  39. uint32_t bit_ctrl_array0; // 0x00000050
  40. uint32_t bit_ctrl_array1; // 0x00000054
  41. uint32_t bit_ctrl_array2; // 0x00000058
  42. uint32_t bit_ctrl_array3; // 0x0000005c
  43. uint32_t bit_ctrl_array4; // 0x00000060
  44. uint32_t bit_ctrl_array5; // 0x00000064
  45. uint32_t bit_ctrl_array6; // 0x00000068
  46. uint32_t bit_ctrl_array7; // 0x0000006c
  47. uint32_t bit_ctrl_array8; // 0x00000070
  48. uint32_t bit_ctrl_array9; // 0x00000074
  49. uint32_t bit_ctrl_array10; // 0x00000078
  50. uint32_t bit_ctrl_array11; // 0x0000007c
  51. uint32_t bit_ctrl_array12; // 0x00000080
  52. uint32_t bit_ctrl_array13; // 0x00000084
  53. uint32_t bit_ctrl_array14; // 0x00000088
  54. uint32_t bit_ctrl_array15; // 0x0000008c
  55. } HWP_REG_FW_SYSCTRL_T;
  56. #define hwp_regFwSysctrl ((HWP_REG_FW_SYSCTRL_T *)REG_ACCESS_ADDRESS(REG_REG_FW_SYSCTRL_BASE))
  57. // reg_rd_ctrl_0
  58. typedef union {
  59. uint32_t v;
  60. struct
  61. {
  62. uint32_t aon_soft_rst_ctrl0_rd_sec : 1; // [0]
  63. uint32_t clken_lte_rd_sec : 1; // [1]
  64. uint32_t clken_lte_intf_rd_sec : 1; // [2]
  65. uint32_t rstctrl_lte_rd_sec : 1; // [3]
  66. uint32_t lte_autogate_mode_rd_sec : 1; // [4]
  67. uint32_t lte_autogate_en_rd_sec : 1; // [5]
  68. uint32_t lte_autogate_delay_num_rd_sec : 1; // [6]
  69. uint32_t aon_lpc_ctrl_rd_sec : 1; // [7]
  70. uint32_t aon_clock_en0_rd_sec : 1; // [8]
  71. uint32_t aon_clock_en1_rd_sec : 1; // [9]
  72. uint32_t aon_clock_auto_sel0_rd_sec : 1; // [10]
  73. uint32_t aon_clock_auto_sel1_rd_sec : 1; // [11]
  74. uint32_t aon_clock_auto_sel2_rd_sec : 1; // [12]
  75. uint32_t aon_clock_auto_sel3_rd_sec : 1; // [13]
  76. uint32_t aon_clock_force_en0_rd_sec : 1; // [14]
  77. uint32_t aon_clock_force_en1_rd_sec : 1; // [15]
  78. uint32_t aon_clock_force_en2_rd_sec : 1; // [16]
  79. uint32_t aon_clock_force_en3_rd_sec : 1; // [17]
  80. uint32_t aon_soft_rst_ctrl1_rd_sec : 1; // [18]
  81. uint32_t mipi_csi_cfg_reg_rd_sec : 1; // [19]
  82. uint32_t cfg_clk_uart2_rd_sec : 1; // [20]
  83. uint32_t cfg_clk_uart3_rd_sec : 1; // [21]
  84. uint32_t cfg_clk_debug_host_rd_sec : 1; // [22]
  85. uint32_t rc_calib_ctrl_rd_sec : 1; // [23]
  86. uint32_t rc_calib_th_val_rd_sec : 1; // [24]
  87. uint32_t rc_calib_out_val_rd_sec : 1; // [25]
  88. uint32_t emmc_slice_phy_ctrl_rd_sec : 1; // [26]
  89. uint32_t dma_req_ctrl_rd_sec : 1; // [27]
  90. uint32_t apt_trigger_sel_rd_sec : 1; // [28]
  91. uint32_t ahb2ahb_ab_funcdma_ctrl_rd_sec : 1; // [29]
  92. uint32_t ahb2ahb_ab_funcdma_sts_rd_sec : 1; // [30]
  93. uint32_t ahb2ahb_ab_dap_ctrl_rd_sec : 1; // [31]
  94. } b;
  95. } REG_REG_FW_SYSCTRL_REG_RD_CTRL_0_T;
  96. // reg_rd_ctrl_1
  97. typedef union {
  98. uint32_t v;
  99. struct
  100. {
  101. uint32_t ahb2ahb_ab_dap_sts_rd_sec : 1; // [0]
  102. uint32_t ahb2axi_pub_ctrl_rd_sec : 1; // [1]
  103. uint32_t ahb2axi_pub_sts_rd_sec : 1; // [2]
  104. uint32_t axi2axi_pub_sts_0_rd_sec : 1; // [3]
  105. uint32_t axi2axi_pub_sts_1_rd_sec : 1; // [4]
  106. uint32_t ahb2ahb_ab_aon2lps_ctrl_rd_sec : 1; // [5]
  107. uint32_t ahb2ahb_ab_aon2lps_sts_rd_sec : 1; // [6]
  108. uint32_t ahb2ahb_ab_lps2aon_ctrl_rd_sec : 1; // [7]
  109. uint32_t ahb2ahb_ab_lps2aon_sts_rd_sec : 1; // [8]
  110. uint32_t sysctrl_reg0_rd_sec : 1; // [9]
  111. uint32_t plls_sts_rd_sec : 1; // [10]
  112. uint32_t cfg_aon_anti_hang_rd_sec : 1; // [11]
  113. uint32_t cfg_aon_qos_rd_sec : 1; // [12]
  114. uint32_t aon_ahb_mtx_slice_autogate_en_rd_sec : 1; // [13]
  115. uint32_t dap_djtag_en_cfg_rd_sec : 1; // [14]
  116. uint32_t lte_ahb2ahb_sync_cfg_rd_sec : 1; // [15]
  117. uint32_t cfg_aon_io_core_ie_0_rd_sec : 1; // [16]
  118. uint32_t cfg_aon_io_core_ie_1_rd_sec : 1; // [17]
  119. uint32_t cfg_aon_io_core_ie_2_rd_sec : 1; // [18]
  120. uint32_t cfg_aon_io_core_ie_3_rd_sec : 1; // [19]
  121. uint32_t __31_20 : 12; // [31:20]
  122. } b;
  123. } REG_REG_FW_SYSCTRL_REG_RD_CTRL_1_T;
  124. // reg_wr_ctrl_0
  125. typedef union {
  126. uint32_t v;
  127. struct
  128. {
  129. uint32_t aon_soft_rst_ctrl0_wr_sec : 1; // [0]
  130. uint32_t clken_lte_wr_sec : 1; // [1]
  131. uint32_t clken_lte_intf_wr_sec : 1; // [2]
  132. uint32_t rstctrl_lte_wr_sec : 1; // [3]
  133. uint32_t lte_autogate_mode_wr_sec : 1; // [4]
  134. uint32_t lte_autogate_en_wr_sec : 1; // [5]
  135. uint32_t lte_autogate_delay_num_wr_sec : 1; // [6]
  136. uint32_t aon_lpc_ctrl_wr_sec : 1; // [7]
  137. uint32_t aon_clock_en0_wr_sec : 1; // [8]
  138. uint32_t aon_clock_en1_wr_sec : 1; // [9]
  139. uint32_t aon_clock_auto_sel0_wr_sec : 1; // [10]
  140. uint32_t aon_clock_auto_sel1_wr_sec : 1; // [11]
  141. uint32_t aon_clock_auto_sel2_wr_sec : 1; // [12]
  142. uint32_t aon_clock_auto_sel3_wr_sec : 1; // [13]
  143. uint32_t aon_clock_force_en0_wr_sec : 1; // [14]
  144. uint32_t aon_clock_force_en1_wr_sec : 1; // [15]
  145. uint32_t aon_clock_force_en2_wr_sec : 1; // [16]
  146. uint32_t aon_clock_force_en3_wr_sec : 1; // [17]
  147. uint32_t aon_soft_rst_ctrl1_wr_sec : 1; // [18]
  148. uint32_t mipi_csi_cfg_reg_wr_sec : 1; // [19]
  149. uint32_t cfg_clk_uart2_wr_sec : 1; // [20]
  150. uint32_t cfg_clk_uart3_wr_sec : 1; // [21]
  151. uint32_t cfg_clk_debug_host_wr_sec : 1; // [22]
  152. uint32_t rc_calib_ctrl_wr_sec : 1; // [23]
  153. uint32_t rc_calib_th_val_wr_sec : 1; // [24]
  154. uint32_t rc_calib_out_val_wr_sec : 1; // [25]
  155. uint32_t emmc_slice_phy_ctrl_wr_sec : 1; // [26]
  156. uint32_t dma_req_ctrl_wr_sec : 1; // [27]
  157. uint32_t apt_trigger_sel_wr_sec : 1; // [28]
  158. uint32_t ahb2ahb_ab_funcdma_ctrl_wr_sec : 1; // [29]
  159. uint32_t ahb2ahb_ab_funcdma_sts_wr_sec : 1; // [30]
  160. uint32_t ahb2ahb_ab_dap_ctrl_wr_sec : 1; // [31]
  161. } b;
  162. } REG_REG_FW_SYSCTRL_REG_WR_CTRL_0_T;
  163. // reg_wr_ctrl_1
  164. typedef union {
  165. uint32_t v;
  166. struct
  167. {
  168. uint32_t ahb2ahb_ab_dap_sts_wr_sec : 1; // [0]
  169. uint32_t ahb2axi_pub_ctrl_wr_sec : 1; // [1]
  170. uint32_t ahb2axi_pub_sts_wr_sec : 1; // [2]
  171. uint32_t axi2axi_pub_sts_0_wr_sec : 1; // [3]
  172. uint32_t axi2axi_pub_sts_1_wr_sec : 1; // [4]
  173. uint32_t ahb2ahb_ab_aon2lps_ctrl_wr_sec : 1; // [5]
  174. uint32_t ahb2ahb_ab_aon2lps_sts_wr_sec : 1; // [6]
  175. uint32_t ahb2ahb_ab_lps2aon_ctrl_wr_sec : 1; // [7]
  176. uint32_t ahb2ahb_ab_lps2aon_sts_wr_sec : 1; // [8]
  177. uint32_t sysctrl_reg0_wr_sec : 1; // [9]
  178. uint32_t plls_sts_wr_sec : 1; // [10]
  179. uint32_t cfg_aon_anti_hang_wr_sec : 1; // [11]
  180. uint32_t cfg_aon_qos_wr_sec : 1; // [12]
  181. uint32_t aon_ahb_mtx_slice_autogate_en_wr_sec : 1; // [13]
  182. uint32_t dap_djtag_en_cfg_wr_sec : 1; // [14]
  183. uint32_t lte_ahb2ahb_sync_cfg_wr_sec : 1; // [15]
  184. uint32_t cfg_aon_io_core_ie_0_wr_sec : 1; // [16]
  185. uint32_t cfg_aon_io_core_ie_1_wr_sec : 1; // [17]
  186. uint32_t cfg_aon_io_core_ie_2_wr_sec : 1; // [18]
  187. uint32_t cfg_aon_io_core_ie_3_wr_sec : 1; // [19]
  188. uint32_t __31_20 : 12; // [31:20]
  189. } b;
  190. } REG_REG_FW_SYSCTRL_REG_WR_CTRL_1_T;
  191. // bit_ctrl_addr_array0
  192. typedef union {
  193. uint32_t v;
  194. struct
  195. {
  196. uint32_t bit_ctrl_addr_array0 : 12; // [11:0]
  197. uint32_t __31_12 : 20; // [31:12]
  198. } b;
  199. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY0_T;
  200. // bit_ctrl_addr_array1
  201. typedef union {
  202. uint32_t v;
  203. struct
  204. {
  205. uint32_t bit_ctrl_addr_array1 : 12; // [11:0]
  206. uint32_t __31_12 : 20; // [31:12]
  207. } b;
  208. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY1_T;
  209. // bit_ctrl_addr_array2
  210. typedef union {
  211. uint32_t v;
  212. struct
  213. {
  214. uint32_t bit_ctrl_addr_array2 : 12; // [11:0]
  215. uint32_t __31_12 : 20; // [31:12]
  216. } b;
  217. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY2_T;
  218. // bit_ctrl_addr_array3
  219. typedef union {
  220. uint32_t v;
  221. struct
  222. {
  223. uint32_t bit_ctrl_addr_array3 : 12; // [11:0]
  224. uint32_t __31_12 : 20; // [31:12]
  225. } b;
  226. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY3_T;
  227. // bit_ctrl_addr_array4
  228. typedef union {
  229. uint32_t v;
  230. struct
  231. {
  232. uint32_t bit_ctrl_addr_array4 : 12; // [11:0]
  233. uint32_t __31_12 : 20; // [31:12]
  234. } b;
  235. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY4_T;
  236. // bit_ctrl_addr_array5
  237. typedef union {
  238. uint32_t v;
  239. struct
  240. {
  241. uint32_t bit_ctrl_addr_array5 : 12; // [11:0]
  242. uint32_t __31_12 : 20; // [31:12]
  243. } b;
  244. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY5_T;
  245. // bit_ctrl_addr_array6
  246. typedef union {
  247. uint32_t v;
  248. struct
  249. {
  250. uint32_t bit_ctrl_addr_array6 : 12; // [11:0]
  251. uint32_t __31_12 : 20; // [31:12]
  252. } b;
  253. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY6_T;
  254. // bit_ctrl_addr_array7
  255. typedef union {
  256. uint32_t v;
  257. struct
  258. {
  259. uint32_t bit_ctrl_addr_array7 : 12; // [11:0]
  260. uint32_t __31_12 : 20; // [31:12]
  261. } b;
  262. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY7_T;
  263. // bit_ctrl_addr_array8
  264. typedef union {
  265. uint32_t v;
  266. struct
  267. {
  268. uint32_t bit_ctrl_addr_array8 : 12; // [11:0]
  269. uint32_t __31_12 : 20; // [31:12]
  270. } b;
  271. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY8_T;
  272. // bit_ctrl_addr_array9
  273. typedef union {
  274. uint32_t v;
  275. struct
  276. {
  277. uint32_t bit_ctrl_addr_array9 : 12; // [11:0]
  278. uint32_t __31_12 : 20; // [31:12]
  279. } b;
  280. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY9_T;
  281. // bit_ctrl_addr_array10
  282. typedef union {
  283. uint32_t v;
  284. struct
  285. {
  286. uint32_t bit_ctrl_addr_array10 : 12; // [11:0]
  287. uint32_t __31_12 : 20; // [31:12]
  288. } b;
  289. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY10_T;
  290. // bit_ctrl_addr_array11
  291. typedef union {
  292. uint32_t v;
  293. struct
  294. {
  295. uint32_t bit_ctrl_addr_array11 : 12; // [11:0]
  296. uint32_t __31_12 : 20; // [31:12]
  297. } b;
  298. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY11_T;
  299. // bit_ctrl_addr_array12
  300. typedef union {
  301. uint32_t v;
  302. struct
  303. {
  304. uint32_t bit_ctrl_addr_array12 : 12; // [11:0]
  305. uint32_t __31_12 : 20; // [31:12]
  306. } b;
  307. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY12_T;
  308. // bit_ctrl_addr_array13
  309. typedef union {
  310. uint32_t v;
  311. struct
  312. {
  313. uint32_t bit_ctrl_addr_array13 : 12; // [11:0]
  314. uint32_t __31_12 : 20; // [31:12]
  315. } b;
  316. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY13_T;
  317. // bit_ctrl_addr_array14
  318. typedef union {
  319. uint32_t v;
  320. struct
  321. {
  322. uint32_t bit_ctrl_addr_array14 : 12; // [11:0]
  323. uint32_t __31_12 : 20; // [31:12]
  324. } b;
  325. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY14_T;
  326. // bit_ctrl_addr_array15
  327. typedef union {
  328. uint32_t v;
  329. struct
  330. {
  331. uint32_t bit_ctrl_addr_array15 : 12; // [11:0]
  332. uint32_t __31_12 : 20; // [31:12]
  333. } b;
  334. } REG_REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY15_T;
  335. // reg_rd_ctrl_0
  336. #define REG_FW_SYSCTRL_AON_SOFT_RST_CTRL0_RD_SEC (1 << 0)
  337. #define REG_FW_SYSCTRL_CLKEN_LTE_RD_SEC (1 << 1)
  338. #define REG_FW_SYSCTRL_CLKEN_LTE_INTF_RD_SEC (1 << 2)
  339. #define REG_FW_SYSCTRL_RSTCTRL_LTE_RD_SEC (1 << 3)
  340. #define REG_FW_SYSCTRL_LTE_AUTOGATE_MODE_RD_SEC (1 << 4)
  341. #define REG_FW_SYSCTRL_LTE_AUTOGATE_EN_RD_SEC (1 << 5)
  342. #define REG_FW_SYSCTRL_LTE_AUTOGATE_DELAY_NUM_RD_SEC (1 << 6)
  343. #define REG_FW_SYSCTRL_AON_LPC_CTRL_RD_SEC (1 << 7)
  344. #define REG_FW_SYSCTRL_AON_CLOCK_EN0_RD_SEC (1 << 8)
  345. #define REG_FW_SYSCTRL_AON_CLOCK_EN1_RD_SEC (1 << 9)
  346. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL0_RD_SEC (1 << 10)
  347. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL1_RD_SEC (1 << 11)
  348. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL2_RD_SEC (1 << 12)
  349. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL3_RD_SEC (1 << 13)
  350. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN0_RD_SEC (1 << 14)
  351. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN1_RD_SEC (1 << 15)
  352. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN2_RD_SEC (1 << 16)
  353. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN3_RD_SEC (1 << 17)
  354. #define REG_FW_SYSCTRL_AON_SOFT_RST_CTRL1_RD_SEC (1 << 18)
  355. #define REG_FW_SYSCTRL_MIPI_CSI_CFG_REG_RD_SEC (1 << 19)
  356. #define REG_FW_SYSCTRL_CFG_CLK_UART2_RD_SEC (1 << 20)
  357. #define REG_FW_SYSCTRL_CFG_CLK_UART3_RD_SEC (1 << 21)
  358. #define REG_FW_SYSCTRL_CFG_CLK_DEBUG_HOST_RD_SEC (1 << 22)
  359. #define REG_FW_SYSCTRL_RC_CALIB_CTRL_RD_SEC (1 << 23)
  360. #define REG_FW_SYSCTRL_RC_CALIB_TH_VAL_RD_SEC (1 << 24)
  361. #define REG_FW_SYSCTRL_RC_CALIB_OUT_VAL_RD_SEC (1 << 25)
  362. #define REG_FW_SYSCTRL_EMMC_SLICE_PHY_CTRL_RD_SEC (1 << 26)
  363. #define REG_FW_SYSCTRL_DMA_REQ_CTRL_RD_SEC (1 << 27)
  364. #define REG_FW_SYSCTRL_APT_TRIGGER_SEL_RD_SEC (1 << 28)
  365. #define REG_FW_SYSCTRL_AHB2AHB_AB_FUNCDMA_CTRL_RD_SEC (1 << 29)
  366. #define REG_FW_SYSCTRL_AHB2AHB_AB_FUNCDMA_STS_RD_SEC (1 << 30)
  367. #define REG_FW_SYSCTRL_AHB2AHB_AB_DAP_CTRL_RD_SEC (1 << 31)
  368. // reg_rd_ctrl_1
  369. #define REG_FW_SYSCTRL_AHB2AHB_AB_DAP_STS_RD_SEC (1 << 0)
  370. #define REG_FW_SYSCTRL_AHB2AXI_PUB_CTRL_RD_SEC (1 << 1)
  371. #define REG_FW_SYSCTRL_AHB2AXI_PUB_STS_RD_SEC (1 << 2)
  372. #define REG_FW_SYSCTRL_AXI2AXI_PUB_STS_0_RD_SEC (1 << 3)
  373. #define REG_FW_SYSCTRL_AXI2AXI_PUB_STS_1_RD_SEC (1 << 4)
  374. #define REG_FW_SYSCTRL_AHB2AHB_AB_AON2LPS_CTRL_RD_SEC (1 << 5)
  375. #define REG_FW_SYSCTRL_AHB2AHB_AB_AON2LPS_STS_RD_SEC (1 << 6)
  376. #define REG_FW_SYSCTRL_AHB2AHB_AB_LPS2AON_CTRL_RD_SEC (1 << 7)
  377. #define REG_FW_SYSCTRL_AHB2AHB_AB_LPS2AON_STS_RD_SEC (1 << 8)
  378. #define REG_FW_SYSCTRL_SYSCTRL_REG0_RD_SEC (1 << 9)
  379. #define REG_FW_SYSCTRL_PLLS_STS_RD_SEC (1 << 10)
  380. #define REG_FW_SYSCTRL_CFG_AON_ANTI_HANG_RD_SEC (1 << 11)
  381. #define REG_FW_SYSCTRL_CFG_AON_QOS_RD_SEC (1 << 12)
  382. #define REG_FW_SYSCTRL_AON_AHB_MTX_SLICE_AUTOGATE_EN_RD_SEC (1 << 13)
  383. #define REG_FW_SYSCTRL_DAP_DJTAG_EN_CFG_RD_SEC (1 << 14)
  384. #define REG_FW_SYSCTRL_LTE_AHB2AHB_SYNC_CFG_RD_SEC (1 << 15)
  385. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_0_RD_SEC (1 << 16)
  386. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_1_RD_SEC (1 << 17)
  387. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_2_RD_SEC (1 << 18)
  388. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_3_RD_SEC (1 << 19)
  389. // reg_wr_ctrl_0
  390. #define REG_FW_SYSCTRL_AON_SOFT_RST_CTRL0_WR_SEC (1 << 0)
  391. #define REG_FW_SYSCTRL_CLKEN_LTE_WR_SEC (1 << 1)
  392. #define REG_FW_SYSCTRL_CLKEN_LTE_INTF_WR_SEC (1 << 2)
  393. #define REG_FW_SYSCTRL_RSTCTRL_LTE_WR_SEC (1 << 3)
  394. #define REG_FW_SYSCTRL_LTE_AUTOGATE_MODE_WR_SEC (1 << 4)
  395. #define REG_FW_SYSCTRL_LTE_AUTOGATE_EN_WR_SEC (1 << 5)
  396. #define REG_FW_SYSCTRL_LTE_AUTOGATE_DELAY_NUM_WR_SEC (1 << 6)
  397. #define REG_FW_SYSCTRL_AON_LPC_CTRL_WR_SEC (1 << 7)
  398. #define REG_FW_SYSCTRL_AON_CLOCK_EN0_WR_SEC (1 << 8)
  399. #define REG_FW_SYSCTRL_AON_CLOCK_EN1_WR_SEC (1 << 9)
  400. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL0_WR_SEC (1 << 10)
  401. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL1_WR_SEC (1 << 11)
  402. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL2_WR_SEC (1 << 12)
  403. #define REG_FW_SYSCTRL_AON_CLOCK_AUTO_SEL3_WR_SEC (1 << 13)
  404. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN0_WR_SEC (1 << 14)
  405. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN1_WR_SEC (1 << 15)
  406. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN2_WR_SEC (1 << 16)
  407. #define REG_FW_SYSCTRL_AON_CLOCK_FORCE_EN3_WR_SEC (1 << 17)
  408. #define REG_FW_SYSCTRL_AON_SOFT_RST_CTRL1_WR_SEC (1 << 18)
  409. #define REG_FW_SYSCTRL_MIPI_CSI_CFG_REG_WR_SEC (1 << 19)
  410. #define REG_FW_SYSCTRL_CFG_CLK_UART2_WR_SEC (1 << 20)
  411. #define REG_FW_SYSCTRL_CFG_CLK_UART3_WR_SEC (1 << 21)
  412. #define REG_FW_SYSCTRL_CFG_CLK_DEBUG_HOST_WR_SEC (1 << 22)
  413. #define REG_FW_SYSCTRL_RC_CALIB_CTRL_WR_SEC (1 << 23)
  414. #define REG_FW_SYSCTRL_RC_CALIB_TH_VAL_WR_SEC (1 << 24)
  415. #define REG_FW_SYSCTRL_RC_CALIB_OUT_VAL_WR_SEC (1 << 25)
  416. #define REG_FW_SYSCTRL_EMMC_SLICE_PHY_CTRL_WR_SEC (1 << 26)
  417. #define REG_FW_SYSCTRL_DMA_REQ_CTRL_WR_SEC (1 << 27)
  418. #define REG_FW_SYSCTRL_APT_TRIGGER_SEL_WR_SEC (1 << 28)
  419. #define REG_FW_SYSCTRL_AHB2AHB_AB_FUNCDMA_CTRL_WR_SEC (1 << 29)
  420. #define REG_FW_SYSCTRL_AHB2AHB_AB_FUNCDMA_STS_WR_SEC (1 << 30)
  421. #define REG_FW_SYSCTRL_AHB2AHB_AB_DAP_CTRL_WR_SEC (1 << 31)
  422. // reg_wr_ctrl_1
  423. #define REG_FW_SYSCTRL_AHB2AHB_AB_DAP_STS_WR_SEC (1 << 0)
  424. #define REG_FW_SYSCTRL_AHB2AXI_PUB_CTRL_WR_SEC (1 << 1)
  425. #define REG_FW_SYSCTRL_AHB2AXI_PUB_STS_WR_SEC (1 << 2)
  426. #define REG_FW_SYSCTRL_AXI2AXI_PUB_STS_0_WR_SEC (1 << 3)
  427. #define REG_FW_SYSCTRL_AXI2AXI_PUB_STS_1_WR_SEC (1 << 4)
  428. #define REG_FW_SYSCTRL_AHB2AHB_AB_AON2LPS_CTRL_WR_SEC (1 << 5)
  429. #define REG_FW_SYSCTRL_AHB2AHB_AB_AON2LPS_STS_WR_SEC (1 << 6)
  430. #define REG_FW_SYSCTRL_AHB2AHB_AB_LPS2AON_CTRL_WR_SEC (1 << 7)
  431. #define REG_FW_SYSCTRL_AHB2AHB_AB_LPS2AON_STS_WR_SEC (1 << 8)
  432. #define REG_FW_SYSCTRL_SYSCTRL_REG0_WR_SEC (1 << 9)
  433. #define REG_FW_SYSCTRL_PLLS_STS_WR_SEC (1 << 10)
  434. #define REG_FW_SYSCTRL_CFG_AON_ANTI_HANG_WR_SEC (1 << 11)
  435. #define REG_FW_SYSCTRL_CFG_AON_QOS_WR_SEC (1 << 12)
  436. #define REG_FW_SYSCTRL_AON_AHB_MTX_SLICE_AUTOGATE_EN_WR_SEC (1 << 13)
  437. #define REG_FW_SYSCTRL_DAP_DJTAG_EN_CFG_WR_SEC (1 << 14)
  438. #define REG_FW_SYSCTRL_LTE_AHB2AHB_SYNC_CFG_WR_SEC (1 << 15)
  439. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_0_WR_SEC (1 << 16)
  440. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_1_WR_SEC (1 << 17)
  441. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_2_WR_SEC (1 << 18)
  442. #define REG_FW_SYSCTRL_CFG_AON_IO_CORE_IE_3_WR_SEC (1 << 19)
  443. // bit_ctrl_addr_array0
  444. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY0(n) (((n)&0xfff) << 0)
  445. // bit_ctrl_addr_array1
  446. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY1(n) (((n)&0xfff) << 0)
  447. // bit_ctrl_addr_array2
  448. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY2(n) (((n)&0xfff) << 0)
  449. // bit_ctrl_addr_array3
  450. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY3(n) (((n)&0xfff) << 0)
  451. // bit_ctrl_addr_array4
  452. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY4(n) (((n)&0xfff) << 0)
  453. // bit_ctrl_addr_array5
  454. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY5(n) (((n)&0xfff) << 0)
  455. // bit_ctrl_addr_array6
  456. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY6(n) (((n)&0xfff) << 0)
  457. // bit_ctrl_addr_array7
  458. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY7(n) (((n)&0xfff) << 0)
  459. // bit_ctrl_addr_array8
  460. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY8(n) (((n)&0xfff) << 0)
  461. // bit_ctrl_addr_array9
  462. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY9(n) (((n)&0xfff) << 0)
  463. // bit_ctrl_addr_array10
  464. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY10(n) (((n)&0xfff) << 0)
  465. // bit_ctrl_addr_array11
  466. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY11(n) (((n)&0xfff) << 0)
  467. // bit_ctrl_addr_array12
  468. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY12(n) (((n)&0xfff) << 0)
  469. // bit_ctrl_addr_array13
  470. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY13(n) (((n)&0xfff) << 0)
  471. // bit_ctrl_addr_array14
  472. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY14(n) (((n)&0xfff) << 0)
  473. // bit_ctrl_addr_array15
  474. #define REG_FW_SYSCTRL_BIT_CTRL_ADDR_ARRAY15(n) (((n)&0xfff) << 0)
  475. #endif // _REG_FW_SYSCTRL_H_