power.h 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729
  1. /*
  2. * Copyright (C) 2011 Samsung Electronics
  3. * Heungjun Kim <riverful.kim@samsung.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __ASM_ARM_ARCH_POWER_H_
  8. #define __ASM_ARM_ARCH_POWER_H_
  9. #ifndef __ASSEMBLY__
  10. struct exynos4_power {
  11. unsigned int om_stat;
  12. unsigned char res1[0x8];
  13. unsigned int rtc_clko_sel;
  14. unsigned int gnss_rtc_out_ctrl;
  15. unsigned char res2[0x1ec];
  16. unsigned int system_power_down_ctrl;
  17. unsigned int res3;
  18. unsigned int system_power_down_option;
  19. unsigned char res4[0x1f4];
  20. unsigned int swreset;
  21. unsigned int rst_stat;
  22. unsigned char res5[0x1f8];
  23. unsigned int wakeup_stat;
  24. unsigned int eint_wakeup_mask;
  25. unsigned int wakeup_mask;
  26. unsigned char res6[0xf4];
  27. unsigned int hdmi_phy_control;
  28. unsigned int usbdevice_phy_control;
  29. unsigned int usbhost_phy_control;
  30. unsigned int dac_phy_control;
  31. unsigned int mipi_phy0_control;
  32. unsigned int mipi_phy1_control;
  33. unsigned int adc_phy_control;
  34. unsigned int pcie_phy_control;
  35. unsigned int sata_phy_control;
  36. unsigned char res7[0xdc];
  37. unsigned int inform0;
  38. unsigned int inform1;
  39. unsigned int inform2;
  40. unsigned int inform3;
  41. unsigned int inform4;
  42. unsigned int inform5;
  43. unsigned int inform6;
  44. unsigned int inform7;
  45. unsigned char res8[0x1e0];
  46. unsigned int pmu_debug;
  47. unsigned char res9[0x5fc];
  48. unsigned int arm_core0_sys_pwr_reg;
  49. unsigned char res10[0xc];
  50. unsigned int arm_core1_sys_pwr_reg;
  51. unsigned char res11[0x6c];
  52. unsigned int arm_common_sys_pwr_reg;
  53. unsigned char res12[0x3c];
  54. unsigned int arm_cpu_l2_0_sys_pwr_reg;
  55. unsigned int arm_cpu_l2_1_sys_pwr_reg;
  56. unsigned char res13[0x38];
  57. unsigned int cmu_aclkstop_sys_pwr_reg;
  58. unsigned int cmu_sclkstop_sys_pwr_reg;
  59. unsigned char res14[0x4];
  60. unsigned int cmu_reset_sys_pwr_reg;
  61. unsigned char res15[0x10];
  62. unsigned int apll_sysclk_sys_pwr_reg;
  63. unsigned int mpll_sysclk_sys_pwr_reg;
  64. unsigned int vpll_sysclk_sys_pwr_reg;
  65. unsigned int epll_sysclk_sys_pwr_reg;
  66. unsigned char res16[0x8];
  67. unsigned int cmu_clkstop_gps_alive_sys_pwr_reg;
  68. unsigned int cmu_reset_gps_alive_sys_pwr_reg;
  69. unsigned int cmu_clkstop_cam_sys_pwr_reg;
  70. unsigned int cmu_clkstop_tv_sys_pwr_reg;
  71. unsigned int cmu_clkstop_mfc_sys_pwr_reg;
  72. unsigned int cmu_clkstop_g3d_sys_pwr_reg;
  73. unsigned int cmu_clkstop_lcd0_sys_pwr_reg;
  74. unsigned int cmu_clkstop_lcd1_sys_pwr_reg;
  75. unsigned int cmu_clkstop_maudio_sys_pwr_reg;
  76. unsigned int cmu_clkstop_gps_sys_pwr_reg;
  77. unsigned int cmu_reset_cam_sys_pwr_reg;
  78. unsigned int cmu_reset_tv_sys_pwr_reg;
  79. unsigned int cmu_reset_mfc_sys_pwr_reg;
  80. unsigned int cmu_reset_g3d_sys_pwr_reg;
  81. unsigned int cmu_reset_lcd0_sys_pwr_reg;
  82. unsigned int cmu_reset_lcd1_sys_pwr_reg;
  83. unsigned int cmu_reset_maudio_sys_pwr_reg;
  84. unsigned int cmu_reset_gps_sys_pwr_reg;
  85. unsigned int top_bus_sys_pwr_reg;
  86. unsigned int top_retention_sys_pwr_reg;
  87. unsigned int top_pwr_sys_pwr_reg;
  88. unsigned char res17[0x1c];
  89. unsigned int logic_reset_sys_pwr_reg;
  90. unsigned char res18[0x14];
  91. unsigned int onenandxl_mem_sys_pwr_reg;
  92. unsigned int modemif_mem_sys_pwr_reg;
  93. unsigned char res19[0x4];
  94. unsigned int usbdevice_mem_sys_pwr_reg;
  95. unsigned int sdmmc_mem_sys_pwr_reg;
  96. unsigned int cssys_mem_sys_pwr_reg;
  97. unsigned int secss_mem_sys_pwr_reg;
  98. unsigned char res20[0x4];
  99. unsigned int pcie_mem_sys_pwr_reg;
  100. unsigned int sata_mem_sys_pwr_reg;
  101. unsigned char res21[0x18];
  102. unsigned int pad_retention_dram_sys_pwr_reg;
  103. unsigned int pad_retention_maudio_sys_pwr_reg;
  104. unsigned char res22[0x18];
  105. unsigned int pad_retention_gpio_sys_pwr_reg;
  106. unsigned int pad_retention_uart_sys_pwr_reg;
  107. unsigned int pad_retention_mmca_sys_pwr_reg;
  108. unsigned int pad_retention_mmcb_sys_pwr_reg;
  109. unsigned int pad_retention_ebia_sys_pwr_reg;
  110. unsigned int pad_retention_ebib_sys_pwr_reg;
  111. unsigned char res23[0x8];
  112. unsigned int pad_isolation_sys_pwr_reg;
  113. unsigned char res24[0x1c];
  114. unsigned int pad_alv_sel_sys_pwr_reg;
  115. unsigned char res25[0x1c];
  116. unsigned int xusbxti_sys_pwr_reg;
  117. unsigned int xxti_sys_pwr_reg;
  118. unsigned char res26[0x38];
  119. unsigned int ext_regulator_sys_pwr_reg;
  120. unsigned char res27[0x3c];
  121. unsigned int gpio_mode_sys_pwr_reg;
  122. unsigned char res28[0x3c];
  123. unsigned int gpio_mode_maudio_sys_pwr_reg;
  124. unsigned char res29[0x3c];
  125. unsigned int cam_sys_pwr_reg;
  126. unsigned int tv_sys_pwr_reg;
  127. unsigned int mfc_sys_pwr_reg;
  128. unsigned int g3d_sys_pwr_reg;
  129. unsigned int lcd0_sys_pwr_reg;
  130. unsigned int lcd1_sys_pwr_reg;
  131. unsigned int maudio_sys_pwr_reg;
  132. unsigned int gps_sys_pwr_reg;
  133. unsigned int gps_alive_sys_pwr_reg;
  134. unsigned char res30[0xc5c];
  135. unsigned int arm_core0_configuration;
  136. unsigned int arm_core0_status;
  137. unsigned int arm_core0_option;
  138. unsigned char res31[0x74];
  139. unsigned int arm_core1_configuration;
  140. unsigned int arm_core1_status;
  141. unsigned int arm_core1_option;
  142. unsigned char res32[0x37c];
  143. unsigned int arm_common_option;
  144. unsigned char res33[0x1f4];
  145. unsigned int arm_cpu_l2_0_configuration;
  146. unsigned int arm_cpu_l2_0_status;
  147. unsigned char res34[0x18];
  148. unsigned int arm_cpu_l2_1_configuration;
  149. unsigned int arm_cpu_l2_1_status;
  150. unsigned char res35[0xa00];
  151. unsigned int pad_retention_maudio_option;
  152. unsigned char res36[0xdc];
  153. unsigned int pad_retention_gpio_option;
  154. unsigned char res37[0x1c];
  155. unsigned int pad_retention_uart_option;
  156. unsigned char res38[0x1c];
  157. unsigned int pad_retention_mmca_option;
  158. unsigned char res39[0x1c];
  159. unsigned int pad_retention_mmcb_option;
  160. unsigned char res40[0x1c];
  161. unsigned int pad_retention_ebia_option;
  162. unsigned char res41[0x1c];
  163. unsigned int pad_retention_ebib_option;
  164. unsigned char res42[0x160];
  165. unsigned int ps_hold_control;
  166. unsigned char res43[0xf0];
  167. unsigned int xusbxti_configuration;
  168. unsigned int xusbxti_status;
  169. unsigned char res44[0x14];
  170. unsigned int xusbxti_duration;
  171. unsigned int xxti_configuration;
  172. unsigned int xxti_status;
  173. unsigned char res45[0x14];
  174. unsigned int xxti_duration;
  175. unsigned char res46[0x1dc];
  176. unsigned int ext_regulator_duration;
  177. unsigned char res47[0x5e0];
  178. unsigned int cam_configuration;
  179. unsigned int cam_status;
  180. unsigned int cam_option;
  181. unsigned char res48[0x14];
  182. unsigned int tv_configuration;
  183. unsigned int tv_status;
  184. unsigned int tv_option;
  185. unsigned char res49[0x14];
  186. unsigned int mfc_configuration;
  187. unsigned int mfc_status;
  188. unsigned int mfc_option;
  189. unsigned char res50[0x14];
  190. unsigned int g3d_configuration;
  191. unsigned int g3d_status;
  192. unsigned int g3d_option;
  193. unsigned char res51[0x14];
  194. unsigned int lcd0_configuration;
  195. unsigned int lcd0_status;
  196. unsigned int lcd0_option;
  197. unsigned char res52[0x14];
  198. unsigned int lcd1_configuration;
  199. unsigned int lcd1_status;
  200. unsigned int lcd1_option;
  201. unsigned char res53[0x34];
  202. unsigned int gps_configuration;
  203. unsigned int gps_status;
  204. unsigned int gps_option;
  205. unsigned char res54[0x14];
  206. unsigned int gps_alive_configuration;
  207. unsigned int gps_alive_status;
  208. unsigned int gps_alive_option;
  209. };
  210. struct exynos5_power {
  211. unsigned int om_stat;
  212. unsigned char res1[0x18];
  213. unsigned int rtc_clko_sel;
  214. unsigned int gnss_rtc_out_ctrl;
  215. unsigned char res2[0x1dc];
  216. unsigned int central_seq_configuration;
  217. unsigned int central_seq_status;
  218. unsigned int central_seq_option;
  219. unsigned char res3[0x14];
  220. unsigned int seq_transition0;
  221. unsigned int seq_transition1;
  222. unsigned int seq_transition2;
  223. unsigned int seq_transition3;
  224. unsigned int seq_transition4;
  225. unsigned int seq_transition5;
  226. unsigned int seq_transition6;
  227. unsigned int seq_transition7;
  228. unsigned int central_seq_dmc_configuration;
  229. unsigned int central_seq_dmc_status;
  230. unsigned int central_seq_dmc_option;
  231. unsigned char res4[0x14];
  232. unsigned int seq_dmc_transition0;
  233. unsigned int seq_dmc_transition1;
  234. unsigned int seq_dmc_transition2;
  235. unsigned int seq_dmc_transition3;
  236. unsigned int seq_dmc_transition4;
  237. unsigned int seq_dmc_transition5;
  238. unsigned int seq_dmc_transition6;
  239. unsigned int seq_dmc_transition7;
  240. unsigned char res5[0x180];
  241. unsigned int swreset;
  242. unsigned int rst_stat;
  243. unsigned int automatic_wdt_reset_disable;
  244. unsigned int mask_wdt_reset_request;
  245. unsigned int mask_wreset_request;
  246. unsigned char res6[0xec];
  247. unsigned int reset_sequencer_configuration;
  248. unsigned int reset_sequencer_status;
  249. unsigned int reset_sequencer_option;
  250. unsigned char res7[0xf4];
  251. unsigned int wakeup_stat;
  252. unsigned int eint_wakeup_mask;
  253. unsigned int wakeup_mask;
  254. unsigned int wakeup_interrupt;
  255. unsigned char res8[0x10];
  256. unsigned int wakeup_stat_dmc;
  257. unsigned int eint_wakeup_mask_dmc;
  258. unsigned int wakeup_mask_dmc;
  259. unsigned int wakeup_interrupt_dmc;
  260. unsigned char res9[0xd0];
  261. unsigned int hdmi_phy_control;
  262. unsigned int usbdrd_phy_control;
  263. unsigned int usbhost_phy_control;
  264. unsigned int efnand_phy_control;
  265. unsigned int mipi_phy0_control;
  266. unsigned int mipi_phy1_control;
  267. unsigned int adc_phy_control;
  268. unsigned int mtcadc_phy_control;
  269. unsigned int dptx_phy_control;
  270. unsigned int sata_phy_control;
  271. unsigned char res10[0xd8];
  272. unsigned int inform0;
  273. unsigned int inform1;
  274. unsigned int inform2;
  275. unsigned int inform3;
  276. unsigned int sysip_dat0;
  277. unsigned int sysip_dat1;
  278. unsigned int sysip_dat2;
  279. unsigned int sysip_dat3;
  280. unsigned char res11[0xe0];
  281. unsigned int pmu_spare0;
  282. unsigned int pmu_spare1;
  283. unsigned int pmu_spare2;
  284. unsigned int pmu_spare3;
  285. unsigned char res12[0x70];
  286. unsigned int irom_data_reg0;
  287. unsigned int irom_data_reg1;
  288. unsigned int irom_data_reg2;
  289. unsigned int irom_data_reg3;
  290. unsigned char res13[0x70];
  291. unsigned int pmu_debug;
  292. unsigned char res14[0x5fc];
  293. unsigned int arm_core0_sys_pwr_reg;
  294. unsigned int dis_irq_arm_core0_local_sys_pwr_reg;
  295. unsigned int dis_irq_arm_core0_central_sys_pwr_reg;
  296. unsigned char res15[0x4];
  297. unsigned int arm_core1_sys_pwr_reg;
  298. unsigned int dis_irq_arm_core1_local_sys_pwr_reg;
  299. unsigned int dis_irq_arm_core1_central_sys_pwr_reg;
  300. unsigned char res16[0x24];
  301. unsigned int fsys_arm_sys_pwr_reg;
  302. unsigned int dis_irq_fsys_arm_local_sys_pwr_reg;
  303. unsigned int dis_irq_fsys_arm_central_sys_pwr_reg;
  304. unsigned char res17[0x4];
  305. unsigned int isp_arm_sys_pwr_reg;
  306. unsigned int dis_irq_isp_arm_local_sys_pwr_reg;
  307. unsigned int dis_irq_isp_arm_central_sys_pwr_reg;
  308. unsigned char res18[0x24];
  309. unsigned int arm_common_sys_pwr_reg;
  310. unsigned char res19[0x3c];
  311. unsigned int arm_l2_sys_pwr_reg;
  312. unsigned char res20[0x3c];
  313. unsigned int cmu_aclkstop_sys_pwr_reg;
  314. unsigned int cmu_sclkstop_sys_pwr_reg;
  315. unsigned char res21[0x4];
  316. unsigned int cmu_reset_sys_pwr_reg;
  317. unsigned char res22[0x10];
  318. unsigned int cmu_aclkstop_dmc_sys_pwr_reg;
  319. unsigned int cmu_sclkstop_dmc_sys_pwr_reg;
  320. unsigned char res23[0x4];
  321. unsigned int cmu_reset_dmc_sys_pwr_reg;
  322. unsigned char res24[0x8];
  323. unsigned int ddrphy_dlllock_sys_pwr_reg;
  324. unsigned char res25[0x4];
  325. unsigned int apll_sysclk_sys_pwr_reg;
  326. unsigned int mpll_sysclk_sys_pwr_reg;
  327. unsigned int vpll_sysclk_sys_pwr_reg;
  328. unsigned int epll_sysclk_sys_pwr_reg;
  329. unsigned int bpll_sysclk_sys_pwr_reg;
  330. unsigned int cpll_sysclk_sys_pwr_reg;
  331. unsigned int gpll_sysclk_sys_pwr_reg;
  332. unsigned char res26[0x8];
  333. unsigned int mplluser_sysclk_sys_pwr_reg;
  334. unsigned char res27[0x8];
  335. unsigned int bplluser_sysclk_sys_pwr_reg;
  336. unsigned char res28[0xc];
  337. unsigned int top_bus_sys_pwr_reg;
  338. unsigned int top_retention_sys_pwr_reg;
  339. unsigned int top_pwr_sys_pwr_reg;
  340. unsigned char res29[0x4];
  341. unsigned int top_bus_dmc_sys_pwr_reg;
  342. unsigned int top_retention_dmc_sys_pwr_reg;
  343. unsigned int top_pwr_dmc_sys_pwr_reg;
  344. unsigned char res30[0x4];
  345. unsigned int logic_reset_sys_pwr_reg;
  346. unsigned int oscclk_gate_sys_pwr_reg;
  347. unsigned char res31[0x8];
  348. unsigned int logic_reset_dmc_sys_pwr_reg;
  349. unsigned int oscclk_gate_dmc_sys_pwr_reg;
  350. unsigned char res32[0x8];
  351. unsigned int usbotg_mem_sys_pwr_reg;
  352. unsigned char res33[0x4];
  353. unsigned int g2d_mem_sys_pwr_reg;
  354. unsigned int usbdrd_mem_sys_pwr_reg;
  355. unsigned int efnand_mem_sys_pwr_reg;
  356. unsigned int cssys_mem_sys_pwr_reg;
  357. unsigned int secss_mem_sys_pwr_reg;
  358. unsigned int rotator_mem_sys_pwr_reg;
  359. unsigned int intram_mem_sys_pwr_reg;
  360. unsigned int introm_mem_sys_pwr_reg;
  361. unsigned int jpeg_mem_sys_pwr_reg;
  362. unsigned int hsi_mem_sys_pwr_reg;
  363. unsigned char res34[0x4];
  364. unsigned int mcuiop_mem_sys_pwr_reg;
  365. unsigned char res35[0x4];
  366. unsigned int sata_mem_sys_pwr_reg;
  367. unsigned int pad_retention_dram_sys_pwr_reg;
  368. unsigned int pad_retention_mau_sys_pwr_reg;
  369. unsigned int pad_retention_jtag_sys_pwr_reg;
  370. unsigned char res36[0xc];
  371. unsigned int pad_retention_mmc2_sys_pwr_reg;
  372. unsigned int pad_retention_mmc3_sys_pwr_reg;
  373. unsigned int pad_retention_gpio_sys_pwr_reg;
  374. unsigned int pad_retention_uart_sys_pwr_reg;
  375. unsigned int pad_retention_mmc0_sys_pwr_reg;
  376. unsigned int pad_retention_mmc1_sys_pwr_reg;
  377. unsigned int pad_retention_ebia_sys_pwr_reg;
  378. unsigned int pad_retention_ebib_sys_pwr_reg;
  379. unsigned int pad_retention_spi_sys_pwr_reg;
  380. unsigned int pad_retention_gpio_dmc_sys_pwr_reg;
  381. unsigned int pad_isolation_sys_pwr_reg;
  382. unsigned char res37[0xc];
  383. unsigned int pad_isolation_dmc_sys_pwr_reg;
  384. unsigned char res38[0xc];
  385. unsigned int pad_alv_sel_sys_pwr_reg;
  386. unsigned char res39[0x20];
  387. unsigned int xxti_sys_pwr_reg;
  388. unsigned char res40[0x38];
  389. unsigned int ext_regulator_sys_pwr_reg;
  390. unsigned char res41[0x3c];
  391. unsigned int gpio_mode_sys_pwr_reg;
  392. unsigned char res42[0x1c];
  393. unsigned int gpio_mode_dmc_sys_pwr_reg;
  394. unsigned char res43[0x1c];
  395. unsigned int gpio_mode_mau_sys_pwr_reg;
  396. unsigned int top_asb_reset_sys_pwr_reg;
  397. unsigned int top_asb_isolation_sys_pwr_reg;
  398. unsigned char res44[0xb4];
  399. unsigned int gscl_sys_pwr_reg;
  400. unsigned int isp_sys_pwr_reg;
  401. unsigned int mfc_sys_pwr_reg;
  402. unsigned int g3d_sys_pwr_reg;
  403. unsigned char res45[0x4];
  404. unsigned int disp1_sys_pwr_reg;
  405. unsigned int mau_sys_pwr_reg;
  406. unsigned char res46[0x64];
  407. unsigned int cmu_clkstop_gscl_sys_pwr_reg;
  408. unsigned int cmu_clkstop_isp_sys_pwr_reg;
  409. unsigned int cmu_clkstop_mfc_sys_pwr_reg;
  410. unsigned int cmu_clkstop_g3d_sys_pwr_reg;
  411. unsigned char res47[0x4];
  412. unsigned int cmu_clkstop_disp1_sys_pwr_reg;
  413. unsigned int cmu_clkstop_mau_sys_pwr_reg;
  414. unsigned char res48[0x24];
  415. unsigned int cmu_sysclk_gscl_sys_pwr_reg;
  416. unsigned int cmu_sysclk_isp_sys_pwr_reg;
  417. unsigned int cmu_sysclk_mfc_sys_pwr_reg;
  418. unsigned int cmu_sysclk_g3d_sys_pwr_reg;
  419. unsigned char res49[0x4];
  420. unsigned int cmu_sysclk_disp1_sys_pwr_reg;
  421. unsigned int cmu_sysclk_mau_sys_pwr_reg;
  422. unsigned char res50[0xa4];
  423. unsigned int cmu_reset_gscl_sys_pwr_reg;
  424. unsigned int cmu_reset_isp_sys_pwr_reg;
  425. unsigned int cmu_reset_mfc_sys_pwr_reg;
  426. unsigned int cmu_reset_g3d_sys_pwr_reg;
  427. unsigned char res51[0x4];
  428. unsigned int cmu_reset_disp1_sys_pwr_reg;
  429. unsigned int cmu_reset_mau_sys_pwr_reg;
  430. unsigned char res52[0xa64];
  431. unsigned int arm_core0_configuration;
  432. unsigned int arm_core0_status;
  433. unsigned int arm_core0_option;
  434. unsigned char res53[0x14];
  435. unsigned int dis_irq_arm_core0_local_configuration;
  436. unsigned int dis_irq_arm_core0_local_status;
  437. unsigned int dis_irq_arm_core0_local_option;
  438. unsigned char res54[0x14];
  439. unsigned int dis_irq_arm_core0_central_configuration;
  440. unsigned int dis_irq_arm_core0_central_status;
  441. unsigned int dis_irq_arm_core0_central_option;
  442. unsigned char res55[0x34];
  443. unsigned int arm_core1_configuration;
  444. unsigned int arm_core1_status;
  445. unsigned int arm_core1_option;
  446. unsigned char res56[0x14];
  447. unsigned int dis_irq_arm_core1_local_configuration;
  448. unsigned int dis_irq_arm_core1_local_status;
  449. unsigned int dis_irq_arm_core1_local_option;
  450. unsigned char res57[0x14];
  451. unsigned int dis_irq_arm_core1_central_configuration;
  452. unsigned int dis_irq_arm_core1_central_status;
  453. unsigned int dis_irq_arm_core1_central_option;
  454. unsigned char res58[0x134];
  455. unsigned int fsys_arm_configuration;
  456. unsigned int fsys_arm_status;
  457. unsigned int fsys_arm_option;
  458. unsigned char res59[0x14];
  459. unsigned int dis_irq_fsys_arm_local_configuration;
  460. unsigned int dis_irq_fsys_arm_local_status;
  461. unsigned int dis_irq_fsys_arm_local_option;
  462. unsigned char res60[0x14];
  463. unsigned int dis_irq_fsys_arm_central_configuration;
  464. unsigned int dis_irq_fsys_arm_central_status;
  465. unsigned int dis_irq_fsys_arm_central_option;
  466. unsigned char res61[0x34];
  467. unsigned int isp_arm_configuration;
  468. unsigned int isp_arm_status;
  469. unsigned int isp_arm_option;
  470. unsigned char res62[0x14];
  471. unsigned int dis_irq_isp_arm_local_configuration;
  472. unsigned int dis_irq_isp_arm_local_status;
  473. unsigned int dis_irq_isp_arm_local_option;
  474. unsigned char res63[0x14];
  475. unsigned int dis_irq_isp_arm_central_configuration;
  476. unsigned int dis_irq_isp_arm_central_status;
  477. unsigned int dis_irq_isp_arm_central_option;
  478. unsigned char res64[0x134];
  479. unsigned int arm_common_configuration;
  480. unsigned int arm_common_status;
  481. unsigned int arm_common_option;
  482. unsigned char res65[0x1f4];
  483. unsigned int arm_l2_configuration;
  484. unsigned int arm_l2_status;
  485. unsigned int arm_l2_option;
  486. unsigned char res66[0x1f4];
  487. unsigned int cmu_aclkstop_configuration;
  488. unsigned int cmu_aclkstop_status;
  489. unsigned int cmu_aclkstop_option;
  490. unsigned char res67[0x14];
  491. unsigned int cmu_sclkstop_configuration;
  492. unsigned int cmu_sclkstop_status;
  493. unsigned int cmu_sclkstop_option;
  494. unsigned char res68[0x34];
  495. unsigned int cmu_reset_configuration;
  496. unsigned int cmu_reset_status;
  497. unsigned int cmu_reset_option;
  498. unsigned char res69[0x94];
  499. unsigned int cmu_aclkstop_dmc_configuration;
  500. unsigned int cmu_aclkstop_dmc_status;
  501. unsigned int cmu_aclkstop_dmc_option;
  502. unsigned char res70[0x14];
  503. unsigned int cmu_sclkstop_dmc_configuration;
  504. unsigned int cmu_sclkstop_dmc_status;
  505. unsigned int cmu_sclkstop_dmc_option;
  506. unsigned char res71[0x34];
  507. unsigned int cmu_reset_dmc_configuration;
  508. unsigned int cmu_reset_dmc_status;
  509. unsigned int cmu_reset_dmc_option;
  510. unsigned char res72[0x54];
  511. unsigned int ddrphy_dlllock_configuration;
  512. unsigned int ddrphy_dlllock_status;
  513. unsigned int ddrphy_dlllock_option;
  514. unsigned char res73[0x34];
  515. unsigned int apll_sysclk_configuration;
  516. unsigned int apll_sysclk_status;
  517. unsigned int apll_sysclk_option;
  518. unsigned char res74[0x18];
  519. unsigned int mpll_sysclk_status;
  520. unsigned int mpll_sysclk_option;
  521. unsigned char res75[0x14];
  522. unsigned int vpll_sysclk_configuration;
  523. unsigned int vpll_sysclk_status;
  524. unsigned int vpll_sysclk_option;
  525. unsigned char res76[0x14];
  526. unsigned int epll_sysclk_configuration;
  527. unsigned int epll_sysclk_status;
  528. unsigned int epll_sysclk_option;
  529. unsigned char res77[0x14];
  530. unsigned int bpll_sysclk_configuration;
  531. unsigned int bpll_sysclk_status;
  532. unsigned int bpll_sysclk_option;
  533. unsigned char res78[0x14];
  534. unsigned int cpll_sysclk_configuration;
  535. unsigned int cpll_sysclk_status;
  536. unsigned int cpll_sysclk_option;
  537. unsigned char res79[0x14];
  538. unsigned int gpll_sysclk_configuration;
  539. unsigned int gpll_sysclk_status;
  540. unsigned int gpll_sysclk_option;
  541. unsigned char res80[0x54];
  542. unsigned int mplluser_sysclk_configuration;
  543. unsigned int mplluser_sysclk_status;
  544. unsigned int mplluser_sysclk_option;
  545. unsigned char res81[0x54];
  546. unsigned int bplluser_sysclk_configuration;
  547. unsigned int bplluser_sysclk_status;
  548. unsigned int bplluser_sysclk_option;
  549. unsigned char res82[0x74];
  550. unsigned int top_bus_configuration;
  551. unsigned int top_bus_status;
  552. unsigned int top_bus_option;
  553. unsigned char res83[0x14];
  554. unsigned int top_retention_configuration;
  555. unsigned int top_retention_status;
  556. unsigned int top_retention_option;
  557. unsigned char res84[0x14];
  558. unsigned int top_pwr_configuration;
  559. unsigned int top_pwr_status;
  560. unsigned int top_pwr_option;
  561. unsigned char res85[0x34];
  562. unsigned int top_bus_dmc_configuration;
  563. unsigned int top_bus_dmc_status;
  564. unsigned int top_bus_dmc_option;
  565. unsigned char res86[0x14];
  566. unsigned int top_retention_dmc_configuration;
  567. unsigned int top_retention_dmc_status;
  568. unsigned int top_retention_dmc_option;
  569. unsigned char res87[0x14];
  570. unsigned int top_pwr_dmc_configuration;
  571. unsigned int top_pwr_dmc_status;
  572. unsigned int top_pwr_dmc_option;
  573. unsigned char res88[0x34];
  574. unsigned int logic_reset_configuration;
  575. unsigned int logic_reset_status;
  576. unsigned int logic_reset_option;
  577. unsigned char res89[0x14];
  578. unsigned int oscclk_gate_configuration;
  579. unsigned int oscclk_gate_status;
  580. unsigned int oscclk_gate_option;
  581. unsigned char res90[0x54];
  582. unsigned int logic_reset_dmc_configuration;
  583. unsigned int logic_reset_dmc_status;
  584. unsigned int logic_reset_dmc_option;
  585. unsigned char res91[0x14];
  586. unsigned int oscclk_gate_dmc_configuration;
  587. unsigned int oscclk_gate_dmc_status;
  588. unsigned int oscclk_gate_dmc_option;
  589. unsigned char res92[0x54];
  590. unsigned int usbotg_mem_configuration;
  591. unsigned int usbotg_mem_status;
  592. unsigned int usbotg_mem_option;
  593. unsigned char res93[0x34];
  594. unsigned int g2d_mem_configuration;
  595. unsigned int g2d_mem_status;
  596. unsigned int g2d_mem_option;
  597. unsigned char res94[0x14];
  598. unsigned int usbdrd_mem_configuration;
  599. unsigned int usbdrd_mem_status;
  600. unsigned int usbdrd_mem_option;
  601. unsigned char res95[0x14];
  602. unsigned int efnand_mem_configuration;
  603. unsigned int efnand_mem_status;
  604. unsigned int efnand_mem_option;
  605. unsigned char res96[0x14];
  606. unsigned int cssys_mem_configuration;
  607. unsigned int cssys_mem_status;
  608. unsigned int cssys_mem_option;
  609. unsigned char res97[0x14];
  610. unsigned int secss_mem_configuration;
  611. unsigned int secss_mem_status;
  612. unsigned int secss_mem_option;
  613. unsigned char res98[0x14];
  614. unsigned int rotator_mem_configuration;
  615. unsigned int rotator_mem_status;
  616. unsigned int rotator_mem_option;
  617. unsigned char res99[0x14];
  618. unsigned int intram_mem_configuration;
  619. unsigned int intram_mem_status;
  620. unsigned int intram_mem_option;
  621. unsigned char res100[0x14];
  622. unsigned int introm_mem_configuration;
  623. unsigned int introm_mem_status;
  624. unsigned int introm_mem_option;
  625. unsigned char res101[0x14];
  626. unsigned int jpeg_mem_configuration;
  627. unsigned int jpeg_mem_status;
  628. unsigned int jpeg_mem_option;
  629. unsigned char res102[0x14];
  630. unsigned int hsi_mem_configuration;
  631. unsigned int hsi_mem_status;
  632. unsigned int hsi_mem_option;
  633. unsigned char res103[0x34];
  634. unsigned int mcuiop_mem_configuration;
  635. unsigned int mcuiop_mem_status;
  636. unsigned int mcuiop_mem_option;
  637. unsigned char res104[0x14];
  638. unsigned int sata_mem_configuration;
  639. unsigned int sata_mem_status;
  640. unsigned int sata_mem_option;
  641. unsigned char res105[0x34];
  642. unsigned int pad_retention_dram_configuration;
  643. unsigned int pad_retention_dram_status;
  644. unsigned int pad_retention_dram_option;
  645. unsigned char res106[0x14];
  646. unsigned int pad_retention_mau_configuration;
  647. unsigned int pad_retention_mau_status;
  648. unsigned int pad_retention_mau_option;
  649. unsigned char res107[0x14];
  650. unsigned int pad_retention_jtag_configuration;
  651. unsigned int pad_retention_jtag_status;
  652. unsigned int pad_retention_jtag_option;
  653. unsigned char res108[0x74];
  654. unsigned int pad_retention_mmc2_configuration;
  655. unsigned int pad_retention_mmc2_status;
  656. unsigned int pad_retention_mmc2_option;
  657. unsigned char res109[0x14];
  658. unsigned int pad_retention_mmc3_configuration;
  659. unsigned int pad_retention_mmc3_status;
  660. unsigned int pad_retention_mmc3_option;
  661. unsigned char res110[0x14];
  662. unsigned int pad_retention_gpio_configuration;
  663. unsigned int pad_retention_gpio_status;
  664. unsigned int pad_retention_gpio_option;
  665. unsigned char res111[0x14];
  666. unsigned int pad_retention_uart_configuration;
  667. unsigned int pad_retention_uart_status;
  668. unsigned int pad_retention_uart_option;
  669. unsigned char res112[0x14];
  670. unsigned int pad_retention_mmc0_configuration;
  671. unsigned int pad_retention_mmc0_status;
  672. unsigned int pad_retention_mmc0_option;
  673. unsigned char res113[0x14];
  674. unsigned int pad_retention_mmc1_configuration;
  675. unsigned int pad_retention_mmc1_status;
  676. unsigned int pad_retention_mmc1_option;
  677. unsigned char res114[0x14];
  678. unsigned int pad_retention_ebia_configuration;
  679. unsigned int pad_retention_ebia_status;
  680. unsigned int pad_retention_ebia_option;
  681. unsigned char res115[0x14];
  682. unsigned int pad_retention_ebib_configuration;
  683. unsigned int pad_retention_ebib_status;
  684. unsigned int pad_retention_ebib_option;
  685. unsigned char res116[0x14];
  686. unsigned int pad_retention_spi_configuration;
  687. unsigned int pad_retention_spi_status;
  688. unsigned int pad_retention_spi_option;
  689. unsigned char res117[0x14];
  690. unsigned int pad_retention_gpio_dmc_configuration;
  691. unsigned int pad_retention_gpio_dmc_status;
  692. unsigned int pad_retention_gpio_dmc_option;
  693. unsigned char res118[0x14];
  694. unsigned int pad_isolation_configuration;
  695. unsigned int pad_isolation_status;
  696. unsigned int pad_isolation_option;
  697. unsigned char res119[0x74];
  698. unsigned int pad_isolation_dmc_configuration;
  699. unsigned int pad_isolation_dmc_status;
  700. unsigned int pad_isolation_dmc_option;
  701. unsigned char res120[0x74];
  702. unsigned int pad_alv_sel_configuration;
  703. unsigned int pad_alv_sel_status;
  704. unsigned int pad_alv_sel_option0;
  705. unsigned int ps_hold_control;
  706. unsigned char res130[0x110];
  707. unsigned int xxti_configuration;
  708. unsigned int xxti_status;
  709. unsigned int xxti_option;
  710. unsigned char res131[0x10];
  711. unsigned int xxti_duration3;
  712. unsigned char res132[0x1c0];
  713. unsigned int ext_regulator_configuration;
  714. unsigned int ext_regulator_status;
  715. unsigned int ext_regulator_option;
  716. unsigned char res133[0x10];
  717. unsigned int ext_regulator_duration3;
  718. unsigned char res134[0x1e0];
  719. unsigned int gpio_mode_configuration;
  720. unsigned int gpio_mode_status;
  721. unsigned int gpio_mode_option;
  722. unsigned char res135[0xf4];
  723. unsigned int gpio_mode_dmc_configuration;
  724. unsigned int gpio_mode_dmc_status;
  725. unsigned int gpio_mode_dmc_option;
  726. unsigned char res136[0xd4];
  727. unsigned int gpio_mode_mau_configuration;
  728. unsigned int gpio_mode_mau_status;
  729. unsigned int gpio_mode_mau_option;
  730. unsigned char res137[0x14];
  731. unsigned int top_asb_reset_configuration;
  732. unsigned int top_asb_reset_status;
  733. unsigned int top_asb_reset_option;
  734. unsigned char res138[0x14];
  735. unsigned int top_asb_isolation_configuration;
  736. unsigned int top_asb_isolation_status;
  737. unsigned int top_asb_isolation_option;
  738. unsigned char res139[0x5d4];
  739. unsigned int gscl_configuration;
  740. unsigned int gscl_status;
  741. unsigned int gscl_option;
  742. unsigned char res140[0x14];
  743. unsigned int isp_configuration;
  744. unsigned int isp_status;
  745. unsigned int isp_option;
  746. unsigned char res141[0x14];
  747. unsigned int mfc_configuration;
  748. unsigned int mfc_status;
  749. unsigned int mfc_option;
  750. unsigned char res142[0x14];
  751. unsigned int g3d_configuration;
  752. unsigned int g3d_status;
  753. unsigned int g3d_option;
  754. unsigned char res143[0x34];
  755. unsigned int disp1_configuration;
  756. unsigned int disp1_status;
  757. unsigned int disp1_option;
  758. unsigned char res144[0x14];
  759. unsigned int mau_configuration;
  760. unsigned int mau_status;
  761. unsigned int mau_option;
  762. unsigned char res145[0x334];
  763. unsigned int cmu_clkstop_gscl_configuration;
  764. unsigned int cmu_clkstop_gscl_status;
  765. unsigned int cmu_clkstop_gscl_option;
  766. unsigned char res146[0x14];
  767. unsigned int cmu_clkstop_isp_configuration;
  768. unsigned int cmu_clkstop_isp_status;
  769. unsigned int cmu_clkstop_isp_option;
  770. unsigned char res147[0x14];
  771. unsigned int cmu_clkstop_mfc_configuration;
  772. unsigned int cmu_clkstop_mfc_status;
  773. unsigned int cmu_clkstop_mfc_option;
  774. unsigned char res148[0x14];
  775. unsigned int cmu_clkstop_g3d_configuration;
  776. unsigned int cmu_clkstop_g3d_status;
  777. unsigned int cmu_clkstop_g3d_option;
  778. unsigned char res149[0x34];
  779. unsigned int cmu_clkstop_disp1_configuration;
  780. unsigned int cmu_clkstop_disp1_status;
  781. unsigned int cmu_clkstop_disp1_option;
  782. unsigned char res150[0x14];
  783. unsigned int cmu_clkstop_mau_configuration;
  784. unsigned int cmu_clkstop_mau_status;
  785. unsigned int cmu_clkstop_mau_option;
  786. unsigned char res151[0x134];
  787. unsigned int cmu_sysclk_gscl_configuration;
  788. unsigned int cmu_sysclk_gscl_status;
  789. unsigned int cmu_sysclk_gscl_option;
  790. unsigned char res152[0x18];
  791. unsigned int cmu_sysclk_isp_status;
  792. unsigned int cmu_sysclk_isp_option;
  793. unsigned char res153[0x18];
  794. unsigned int cmu_sysclk_mfc_status;
  795. unsigned int cmu_sysclk_mfc_option;
  796. unsigned char res154[0x18];
  797. unsigned int cmu_sysclk_g3d_status;
  798. unsigned int cmu_sysclk_g3d_option;
  799. unsigned char res155[0x38];
  800. unsigned int cmu_sysclk_disp1_status;
  801. unsigned int cmu_sysclk_disp1_option;
  802. unsigned char res156[0x18];
  803. unsigned int cmu_sysclk_mau_status;
  804. unsigned int cmu_sysclk_mau_option;
  805. unsigned char res157[0x534];
  806. unsigned int cmu_reset_gscl_configuration;
  807. unsigned int cmu_reset_gscl_status;
  808. unsigned int cmu_reset_gscl_option;
  809. unsigned char res158[0x14];
  810. unsigned int cmu_reset_isp_configuration;
  811. unsigned int cmu_reset_isp_status;
  812. unsigned int cmu_reset_isp_option;
  813. unsigned char res159[0x14];
  814. unsigned int cmu_reset_mfc_configuration;
  815. unsigned int cmu_reset_mfc_status;
  816. unsigned int cmu_reset_mfc_option;
  817. unsigned char res160[0x14];
  818. unsigned int cmu_reset_g3d_configuration;
  819. unsigned int cmu_reset_g3d_status;
  820. unsigned int cmu_reset_g3d_option;
  821. unsigned char res161[0x34];
  822. unsigned int cmu_reset_disp1_configuration;
  823. unsigned int cmu_reset_disp1_status;
  824. unsigned int cmu_reset_disp1_option;
  825. unsigned char res162[0x14];
  826. unsigned int cmu_reset_mau_configuration;
  827. unsigned int cmu_reset_mau_status;
  828. unsigned int cmu_reset_mau_option;
  829. unsigned char res163[0x24];
  830. };
  831. struct exynos5420_power {
  832. unsigned int om_stat;
  833. unsigned int lpi_mask0;
  834. unsigned int lpi_mask1;
  835. unsigned char res1[0x10];
  836. unsigned int rtc_clko_sel;
  837. unsigned char res2[0x1e0];
  838. unsigned int central_seq_configuration;
  839. unsigned int central_seq_status;
  840. unsigned int central_seq_option;
  841. unsigned char res3[0x14];
  842. unsigned int seq_transition0;
  843. unsigned int seq_transition1;
  844. unsigned int seq_transition2;
  845. unsigned int seq_transition3;
  846. unsigned int seq_transition4;
  847. unsigned int seq_transition5;
  848. unsigned int seq_transition6;
  849. unsigned int seq_transition7;
  850. unsigned int central_seq_coreblk_configuration;
  851. unsigned int central_seq_coreblk_status;
  852. unsigned int central_seq_coreblk_option;
  853. unsigned char res4[0x14];
  854. unsigned int seq_coreblk_transition0;
  855. unsigned int seq_coreblk_transition1;
  856. unsigned int seq_coreblk_transition2;
  857. unsigned int seq_coreblk_transition3;
  858. unsigned int seq_coreblk_transition4;
  859. unsigned int seq_coreblk_transition5;
  860. unsigned int seq_coreblk_transition6;
  861. unsigned int seq_coreblk_transition7;
  862. unsigned char res5[0x180];
  863. unsigned int swreset;
  864. unsigned int rst_stat;
  865. unsigned int automatic_wdt_reset_disable;
  866. unsigned int mask_wdt_reset_request;
  867. unsigned int mask_wreset_request;
  868. unsigned char res6[0xec];
  869. unsigned int reset_sequencer_configuration;
  870. unsigned int reset_sequencer_status;
  871. unsigned int reset_sequencer_option;
  872. unsigned char res7[0xf4];
  873. unsigned int wakeup_stat;
  874. unsigned int eint_wakeup_mask;
  875. unsigned int wakeup_mask;
  876. unsigned int wakeup_interrupt;
  877. unsigned char res8[0x10];
  878. unsigned int wakeup_stat_coreblk;
  879. unsigned int eint_wakeup_mask_coreblk;
  880. unsigned int wakeup_mask_coreblk;
  881. unsigned int wakeup_interrupt_coreblk;
  882. unsigned char res9[0xd0];
  883. unsigned int hdmi_phy_control;
  884. unsigned int usbdev_phy_control;
  885. unsigned int usbdev1_phy_control;
  886. unsigned int usbhost_phy_control;
  887. unsigned char res104[0x4];
  888. unsigned int mipi_phy0_control;
  889. unsigned int mipi_phy1_control;
  890. unsigned int mipi_phy2_control;
  891. unsigned int adc_phy_control;
  892. unsigned int mtcadc_phy_control;
  893. unsigned int dptx_phy_control;
  894. unsigned char res10[0xd4];
  895. unsigned int inform0;
  896. unsigned int inform1;
  897. unsigned int inform2;
  898. unsigned int inform3;
  899. unsigned int sysip_dat0;
  900. unsigned int sysip_dat1;
  901. unsigned int sysip_dat2;
  902. unsigned int sysip_dat3;
  903. unsigned char res11[0xe0];
  904. unsigned int pmu_spare0;
  905. unsigned int pmu_spare1;
  906. unsigned int pmu_spare2;
  907. unsigned int pmu_spare3;
  908. unsigned char res12[0x4];
  909. unsigned int cg_status0;
  910. unsigned int cg_status1;
  911. unsigned int cg_status2;
  912. unsigned int cg_status3;
  913. unsigned int cg_status4;
  914. unsigned char res200[0x58];
  915. unsigned int irom_data_reg0;
  916. unsigned int irom_data_reg1;
  917. unsigned int irom_data_reg2;
  918. unsigned int irom_data_reg3;
  919. unsigned char res13[0x70];
  920. unsigned int pmu_debug;
  921. unsigned char res14[0x5fc];
  922. unsigned int arm_core0_sys_pwr_reg;
  923. unsigned char res500[0xc];
  924. unsigned int arm_core1_sys_pwr_reg;
  925. unsigned char res501[0xc];
  926. unsigned int arm_core2_sys_pwr_reg;
  927. unsigned char res502[0xc];
  928. unsigned int arm_core3_sys_pwr_reg;
  929. unsigned char res503[0xc];
  930. unsigned int kfc_core0_sys_pwr_reg;
  931. unsigned char res504[0xc];
  932. unsigned int kfc_core1_sys_pwr_reg;
  933. unsigned char res505[0xc];
  934. unsigned int kfc_core2_sys_pwr_reg;
  935. unsigned char res506[0xc];
  936. unsigned int kfc_core3_sys_pwr_reg;
  937. unsigned char res507[0x1c];
  938. unsigned int isp_arm_sys_pwr_reg;
  939. unsigned char res18[0xc];
  940. unsigned int arm_common_sys_pwr_reg;
  941. unsigned char res508[0xc];
  942. unsigned int kfc_common_sys_pwr_reg;
  943. unsigned char res19[0xc];
  944. unsigned int arm_l2_sys_pwr_reg;
  945. unsigned char res509[0xc];
  946. unsigned int kfc_l2_sys_pwr_reg;
  947. unsigned char res20[0xc];
  948. unsigned int cmu_cpu_aclkstop_sys_pwr_reg;
  949. unsigned int cmu_cpu_sclkstop_sys_pwr_reg;
  950. unsigned char res510[0x8];
  951. unsigned int cmu_kfc_aclkstop_sys_pwr_reg;
  952. unsigned char res511[0xc];
  953. unsigned int cmu_aclkstop_sys_pwr_reg;
  954. unsigned int cmu_sclkstop_sys_pwr_reg;
  955. unsigned char res21[0x4];
  956. unsigned int cmu_reset_sys_pwr_reg;
  957. unsigned char res22[0x10];
  958. unsigned int cmu_aclkstop_coreblk_sys_pwr_reg;
  959. unsigned int cmu_sclkstop_coreblk_sys_pwr_reg;
  960. unsigned char res23[0x4];
  961. unsigned int cmu_reset_coreblk_sys_pwr_reg;
  962. unsigned int dram_freq_down_sys_pwr_reg;
  963. unsigned int ddrphy_dlloff_sys_pwr_reg;
  964. unsigned int ddrphy_dlllock_sys_pwr_reg;
  965. unsigned char res25[0x4];
  966. unsigned int apll_sysclk_sys_pwr_reg;
  967. unsigned int mpll_sysclk_sys_pwr_reg;
  968. unsigned int vpll_sysclk_sys_pwr_reg;
  969. unsigned int epll_sysclk_sys_pwr_reg;
  970. unsigned int bpll_sysclk_sys_pwr_reg;
  971. unsigned int cpll_sysclk_sys_pwr_reg;
  972. unsigned int dpll_sysclk_sys_pwr_reg;
  973. unsigned int ipll_sysclk_sys_pwr_reg;
  974. unsigned int kpll_sysclk_sys_pwr_reg;
  975. unsigned int mplluser_sysclk_sys_pwr_reg;
  976. unsigned char res512[0x8];
  977. unsigned int bplluser_sysclk_sys_pwr_reg;
  978. unsigned int rpll_sysclk_sys_pwr_reg;
  979. unsigned int spll_sysclk_sys_pwr_reg;
  980. unsigned char res26[0x4];
  981. unsigned int top_bus_sys_pwr_reg;
  982. unsigned int top_retention_sys_pwr_reg;
  983. unsigned int top_pwr_sys_pwr_reg;
  984. unsigned char res29[0x4];
  985. unsigned int top_bus_coreblk_sys_pwr_reg;
  986. unsigned int top_retention_coreblk_sys_pwr_reg;
  987. unsigned int top_pwr_coreblk_sys_pwr_reg;
  988. unsigned char res30[0x4];
  989. unsigned int logic_reset_sys_pwr_reg;
  990. unsigned int oscclk_gate_sys_pwr_reg;
  991. unsigned char res31[0x8];
  992. unsigned int logic_reset_coreblk_sys_pwr_reg;
  993. unsigned int oscclk_gate_coreblk_sys_pwr_reg;
  994. unsigned int intram_mem_sys_pwr_reg;
  995. unsigned int introm_mem_sys_pwr_reg;
  996. unsigned char res32[0x44];
  997. unsigned int pad_retention_mau_sys_pwr_reg;
  998. unsigned int pad_retention_jtag_sys_pwr_reg;
  999. unsigned char res36[0x4];
  1000. unsigned int pad_retention_dram_sys_pwr_reg;
  1001. unsigned int pad_retention_uart_sys_pwr_reg;
  1002. unsigned int pad_retention_mmca_sys_pwr_reg;
  1003. unsigned int pad_retention_mmcb_sys_pwr_reg;
  1004. unsigned int pad_retention_mmcc_sys_pwr_reg;
  1005. unsigned int pad_retention_hsi_sys_pwr_reg;
  1006. unsigned int pad_retention_ebia_sys_pwr_reg;
  1007. unsigned int pad_retention_ebib_sys_pwr_reg;
  1008. unsigned int pad_retention_spi_sys_pwr_reg;
  1009. unsigned int pad_retention_dram_coreblk_sys_pwr_reg;
  1010. unsigned char res28[0x8];
  1011. unsigned int pad_isolation_sys_pwr_reg;
  1012. unsigned char res37[0xc];
  1013. unsigned int pad_isolation_coreblk_sys_pwr_reg;
  1014. unsigned char res38[0xc];
  1015. unsigned int pad_alv_sel_sys_pwr_reg;
  1016. unsigned char res39[0x1c];
  1017. unsigned int xusbxti_sys_pwr_reg;
  1018. unsigned int xxti_sys_pwr_reg;
  1019. unsigned char res40[0x38];
  1020. unsigned int ext_regulator_sys_pwr_reg;
  1021. unsigned char res41[0x3c];
  1022. unsigned int gpio_mode_sys_pwr_reg;
  1023. unsigned char res42[0x1c];
  1024. unsigned int gpio_mode_coreblk_sys_pwr_reg;
  1025. unsigned char res43[0x1c];
  1026. unsigned int gpio_mode_mau_sys_pwr_reg;
  1027. unsigned int top_asb_reset_sys_pwr_reg;
  1028. unsigned int top_asb_isolation_sys_pwr_reg;
  1029. unsigned char res44[0xb4];
  1030. unsigned int gscl_sys_pwr_reg;
  1031. unsigned int isp_sys_pwr_reg;
  1032. unsigned int mfc_sys_pwr_reg;
  1033. unsigned int g3d_sys_pwr_reg;
  1034. unsigned int disp1_sys_pwr_reg;
  1035. unsigned int mau_sys_pwr_reg;
  1036. unsigned int g2d_sys_pwr_reg;
  1037. unsigned int msc_sys_pwr_reg;
  1038. unsigned int fsys_sys_pwr_reg;
  1039. unsigned int fsys2_sys_pwr_reg;
  1040. unsigned int psgen_sys_pwr_reg;
  1041. unsigned int peric_sys_pwr_reg;
  1042. unsigned int wcore_sys_pwr_reg;
  1043. unsigned char res46[0x4c];
  1044. unsigned int cmu_clkstop_gscl_sys_pwr_reg;
  1045. unsigned int cmu_clkstop_isp_sys_pwr_reg;
  1046. unsigned int cmu_clkstop_mfc_sys_pwr_reg;
  1047. unsigned int cmu_clkstop_g3d_sys_pwr_reg;
  1048. unsigned int cmu_clkstop_disp1_sys_pwr_reg;
  1049. unsigned int cmu_clkstop_mau_sys_pwr_reg;
  1050. unsigned int cmu_clkstop_g2d_sys_pwr_reg;
  1051. unsigned int cmu_clkstop_msc_sys_pwr_reg;
  1052. unsigned int cmu_clkstop_fsys_sys_pwr_reg;
  1053. unsigned int cmu_clkstop_fsys2_sys_pwr_reg;
  1054. unsigned int cmu_clkstop_psgen_sys_pwr_reg;
  1055. unsigned int cmu_clkstop_peric_sys_pwr_reg;
  1056. unsigned int cmu_clkstop_wcore_sys_pwr_reg;
  1057. unsigned char res48[0x8];
  1058. unsigned int cmu_sysclk_toppwr_sys_pwr_reg;
  1059. unsigned int cmu_sysclk_gscl_sys_pwr_reg;
  1060. unsigned int cmu_sysclk_isp_sys_pwr_reg;
  1061. unsigned int cmu_sysclk_mfc_sys_pwr_reg;
  1062. unsigned int cmu_sysclk_g3d_sys_pwr_reg;
  1063. unsigned int cmu_sysclk_disp1_sys_pwr_reg;
  1064. unsigned int cmu_sysclk_mau_sys_pwr_reg;
  1065. unsigned int cmu_sysclk_g2d_sys_pwr_reg;
  1066. unsigned int cmu_sysclk_msc_sys_pwr_reg;
  1067. unsigned int cmu_sysclk_fsys_sys_pwr_reg;
  1068. unsigned int cmu_sysclk_fsys2_sys_pwr_reg;
  1069. unsigned int cmu_sysclk_psgen_sys_pwr_reg;
  1070. unsigned int cmu_sysclk_peric_sys_pwr_reg;
  1071. unsigned int cmu_sysclk_wcore_sys_pwr_reg;
  1072. unsigned int cmu_sysclk_coreblk_toppwr_sys_pwr_reg;
  1073. unsigned char res50[0x78];
  1074. unsigned int cmu_reset_fsys2_sys_pwr_reg;
  1075. unsigned int cmu_reset_psgen_sys_pwr_reg;
  1076. unsigned int cmu_reset_peric_sys_pwr_reg;
  1077. unsigned int cmu_reset_wcore_sys_pwr_reg;
  1078. unsigned int cmu_reset_gscl_sys_pwr_reg;
  1079. unsigned int cmu_reset_isp_sys_pwr_reg;
  1080. unsigned int cmu_reset_mfc_sys_pwr_reg;
  1081. unsigned int cmu_reset_g3d_sys_pwr_reg;
  1082. unsigned int cmu_reset_disp1_sys_pwr_reg;
  1083. unsigned int cmu_reset_mau_sys_pwr_reg;
  1084. unsigned int cmu_reset_g2d_sys_pwr_reg;
  1085. unsigned int cmu_reset_msc_sys_pwr_reg;
  1086. unsigned int cmu_reset_fsys_sys_pwr_reg;
  1087. unsigned char res52[0xa5c];
  1088. unsigned int arm_core0_configuration;
  1089. unsigned int arm_core0_status;
  1090. unsigned int arm_core0_option;
  1091. unsigned char res53[0x14];
  1092. unsigned int dis_irq_arm_core0_local_configuration;
  1093. unsigned int dis_irq_arm_core0_local_status;
  1094. unsigned int dis_irq_arm_core0_local_option;
  1095. unsigned char res54[0x14];
  1096. unsigned int dis_irq_arm_core0_central_configuration;
  1097. unsigned int dis_irq_arm_core0_central_status;
  1098. unsigned int dis_irq_arm_core0_central_option;
  1099. unsigned char res55[0x34];
  1100. unsigned int arm_core1_configuration;
  1101. unsigned int arm_core1_status;
  1102. unsigned int arm_core1_option;
  1103. unsigned char res56[0x14];
  1104. unsigned int dis_irq_arm_core1_local_configuration;
  1105. unsigned int dis_irq_arm_core1_local_status;
  1106. unsigned int dis_irq_arm_core1_local_option;
  1107. unsigned char res57[0x14];
  1108. unsigned int dis_irq_arm_core1_central_configuration;
  1109. unsigned int dis_irq_arm_core1_central_status;
  1110. unsigned int dis_irq_arm_core1_central_option;
  1111. unsigned char res600[0x34];
  1112. unsigned int arm_core2_configuration;
  1113. unsigned int arm_core2_status;
  1114. unsigned int arm_core2_option;
  1115. unsigned char res601[0x14];
  1116. unsigned int dis_irq_arm_core2_local_configuration;
  1117. unsigned int dis_irq_arm_core2_local_status;
  1118. unsigned int dis_irq_arm_core2_local_option;
  1119. unsigned char res602[0x14];
  1120. unsigned int dis_irq_arm_core2_central_configuration;
  1121. unsigned int dis_irq_arm_core2_central_status;
  1122. unsigned int dis_irq_arm_core2_central_option;
  1123. unsigned char res603[0x34];
  1124. unsigned int arm_core3_configuration;
  1125. unsigned int arm_core3_status;
  1126. unsigned int arm_core3_option;
  1127. unsigned char res900[0x14];
  1128. unsigned int dis_irq_arm_core3_local_configuration;
  1129. unsigned int dis_irq_arm_core3_local_status;
  1130. unsigned int dis_irq_arm_core3_local_option;
  1131. unsigned char res901[0x14];
  1132. unsigned int dis_irq_arm_core3_central_configuration;
  1133. unsigned int dis_irq_arm_core3_central_status;
  1134. unsigned int dis_irq_arm_core3_central_option;
  1135. unsigned char res604[0x34];
  1136. unsigned int kfc_core0_configuration;
  1137. unsigned int kfc_core0_status;
  1138. unsigned int kfc_core0_option;
  1139. unsigned char res605[0x14];
  1140. unsigned int dis_irq_kfc_core0_local_configuration;
  1141. unsigned int dis_irq_kfc_core0_local_status;
  1142. unsigned int dis_irq_kfc_core0_local_option;
  1143. unsigned char res606[0x14];
  1144. unsigned int dis_irq_kfc_core0_central_configuration;
  1145. unsigned int dis_irq_kfc_core0_central_status;
  1146. unsigned int dis_irq_kfc_core0_central_option;
  1147. unsigned char res607[0x34];
  1148. unsigned int kfc_core1_configuration;
  1149. unsigned int kfc_core1_status;
  1150. unsigned int kfc_core1_option;
  1151. unsigned char res608[0x14];
  1152. unsigned int dis_irq_kfc_core1_local_configuration;
  1153. unsigned int dis_irq_kfc_core1_local_status;
  1154. unsigned int dis_irq_kfc_core1_local_option;
  1155. unsigned char res609[0x14];
  1156. unsigned int dis_irq_kfc_core1_central_configuration;
  1157. unsigned int dis_irq_kfc_core1_central_status;
  1158. unsigned int dis_irq_kfc_core1_central_option;
  1159. unsigned char res610[0x34];
  1160. unsigned int kfc_core2_configuration;
  1161. unsigned int kfc_core2_status;
  1162. unsigned int kfc_core2_option;
  1163. unsigned char res611[0x14];
  1164. unsigned int dis_irq_kfc_core2_local_configuration;
  1165. unsigned int dis_irq_kfc_core2_local_status;
  1166. unsigned int dis_irq_kfc_core2_local_option;
  1167. unsigned char res612[0x14];
  1168. unsigned int dis_irq_kfc_core2_central_configuration;
  1169. unsigned int dis_irq_kfc_core2_central_status;
  1170. unsigned int dis_irq_kfc_core2_central_option;
  1171. unsigned char res613[0x34];
  1172. unsigned int kfc_core3_configuration;
  1173. unsigned int kfc_core3_status;
  1174. unsigned int kfc_core3_option;
  1175. unsigned char res614[0x14];
  1176. unsigned int dis_irq_kfc_core3_local_configuration;
  1177. unsigned int dis_irq_kfc_core3_local_status;
  1178. unsigned int dis_irq_kfc_core3_local_option;
  1179. unsigned char res615[0x14];
  1180. unsigned int dis_irq_kfc_core3_central_configuration;
  1181. unsigned int dis_irq_kfc_core3_central_status;
  1182. unsigned int dis_irq_kfc_core3_central_option;
  1183. unsigned char res61[0xb4];
  1184. unsigned int isp_arm_configuration;
  1185. unsigned int isp_arm_status;
  1186. unsigned int isp_arm_option;
  1187. unsigned char res62[0x14];
  1188. unsigned int dis_irq_isp_arm_local_configuration;
  1189. unsigned int dis_irq_isp_arm_local_status;
  1190. unsigned int dis_irq_isp_arm_local_option;
  1191. unsigned char res63[0x14];
  1192. unsigned int dis_irq_isp_arm_central_configuration;
  1193. unsigned int dis_irq_isp_arm_central_status;
  1194. unsigned int dis_irq_isp_arm_central_option;
  1195. unsigned char res64[0x34];
  1196. unsigned int arm_common_configuration;
  1197. unsigned int arm_common_status;
  1198. unsigned int arm_common_option;
  1199. unsigned char res616[0x74];
  1200. unsigned int kfc_common_configuration;
  1201. unsigned int kfc_common_status;
  1202. unsigned int kfc_common_option;
  1203. unsigned char res65[0x74];
  1204. unsigned int arm_l2_configuration;
  1205. unsigned int arm_l2_status;
  1206. unsigned int arm_l2_option;
  1207. unsigned char res617[0x74];
  1208. unsigned int kfc_l2_configuration;
  1209. unsigned int kfc_l2_status;
  1210. unsigned int kfc_l2_option;
  1211. unsigned char res66[0x74];
  1212. unsigned int cmu_cpu_aclkstop_configuration;
  1213. unsigned int cmu_cpu_aclkstop_status;
  1214. unsigned int cmu_cpu_aclkstop_option;
  1215. unsigned char res67[0x14];
  1216. unsigned int cmu_cpu_sclkstop_configuration;
  1217. unsigned int cmu_cpu_sclkstop_status;
  1218. unsigned int cmu_cpu_sclkstop_option;
  1219. unsigned char res618[0x4];
  1220. unsigned int cmu_kfc_aclkstop_configuration;
  1221. unsigned int cmu_kfc_aclkstop_status;
  1222. unsigned int cmu_kfc_aclkstop_option;
  1223. unsigned char res619[0xc4];
  1224. unsigned int cmu_aclkstop_configuration;
  1225. unsigned int cmu_aclkstop_status;
  1226. unsigned int cmu_aclkstop_option;
  1227. unsigned char res620[0x14];
  1228. unsigned int cmu_sclkstop_configuration;
  1229. unsigned int cmu_sclkstop_status;
  1230. unsigned int cmu_sclkstop_option;
  1231. unsigned char res68[0x34];
  1232. unsigned int cmu_reset_configuration;
  1233. unsigned int cmu_reset_status;
  1234. unsigned int cmu_reset_option;
  1235. unsigned char res69[0x94];
  1236. unsigned int cmu_aclkstop_coreblk_configuration;
  1237. unsigned int cmu_aclkstop_coreblk_status;
  1238. unsigned int cmu_aclkstop_coreblk_option;
  1239. unsigned char res70[0x14];
  1240. unsigned int cmu_sclkstop_coreblk_configuration;
  1241. unsigned int cmu_sclkstop_coreblk_status;
  1242. unsigned int cmu_sclkstop_coreblk_option;
  1243. unsigned char res71[0x34];
  1244. unsigned int cmu_reset_coreblk_configuration;
  1245. unsigned int cmu_reset_coreblk_status;
  1246. unsigned int cmu_reset_coreblk_option;
  1247. unsigned char res621[0x14];
  1248. unsigned int dram_freq_down_configuration;
  1249. unsigned int dram_freq_down_status;
  1250. unsigned int dram_freq_down_option;
  1251. unsigned char res622[0x14];
  1252. unsigned int ddrphy_dlloff_configuration;
  1253. unsigned int ddrphy_dlloff_status;
  1254. unsigned int ddrphy_dlloff_option;
  1255. unsigned char res72[0x14];
  1256. unsigned int ddrphy_dlllock_configuration;
  1257. unsigned int ddrphy_dlllock_status;
  1258. unsigned int ddrphy_dlllock_option;
  1259. unsigned char res73[0x34];
  1260. unsigned int apll_sysclk_configuration;
  1261. unsigned int apll_sysclk_status;
  1262. unsigned int apll_sysclk_option;
  1263. unsigned char res74[0x18];
  1264. unsigned int mpll_sysclk_status;
  1265. unsigned int mpll_sysclk_option;
  1266. unsigned char res75[0x14];
  1267. unsigned int vpll_sysclk_configuration;
  1268. unsigned int vpll_sysclk_status;
  1269. unsigned int vpll_sysclk_option;
  1270. unsigned char res76[0x14];
  1271. unsigned int epll_sysclk_configuration;
  1272. unsigned int epll_sysclk_status;
  1273. unsigned int epll_sysclk_option;
  1274. unsigned char res77[0x14];
  1275. unsigned int bpll_sysclk_configuration;
  1276. unsigned int bpll_sysclk_status;
  1277. unsigned int bpll_sysclk_option;
  1278. unsigned char res78[0x14];
  1279. unsigned int cpll_sysclk_configuration;
  1280. unsigned int cpll_sysclk_status;
  1281. unsigned int cpll_sysclk_option;
  1282. unsigned char res79[0x14];
  1283. unsigned int dpll_sysclk_configuration;
  1284. unsigned int dpll_sysclk_status;
  1285. unsigned int dpll_sysclk_option;
  1286. unsigned char res700[0x14];
  1287. unsigned int ipll_sysclk_configuration;
  1288. unsigned int ipll_sysclk_status;
  1289. unsigned int ipll_sysclk_option;
  1290. unsigned char res903[0x14];
  1291. unsigned int kpll_sysclk_configuration;
  1292. unsigned int kpll_sysclk_status;
  1293. unsigned int kpll_sysclk_option;
  1294. unsigned char res80[0x14];
  1295. unsigned int mplluser_sysclk_configuration;
  1296. unsigned int mplluser_sysclk_status;
  1297. unsigned int mplluser_sysclk_option;
  1298. unsigned char res81[0x54];
  1299. unsigned int bplluser_sysclk_configuration;
  1300. unsigned int bplluser_sysclk_status;
  1301. unsigned int bplluser_sysclk_option;
  1302. unsigned char res701[0x14];
  1303. unsigned int rplluser_sysclk_configuration;
  1304. unsigned int rplluser_sysclk_status;
  1305. unsigned int rplluser_sysclk_option;
  1306. unsigned char res702[0x14];
  1307. unsigned int splluser_sysclk_configuration;
  1308. unsigned int splluser_sysclk_status;
  1309. unsigned int splluser_sysclk_option;
  1310. unsigned char res82[0x34];
  1311. unsigned int top_bus_configuration;
  1312. unsigned int top_bus_status;
  1313. unsigned int top_bus_option;
  1314. unsigned char res83[0x14];
  1315. unsigned int top_retention_configuration;
  1316. unsigned int top_retention_status;
  1317. unsigned int top_retention_option;
  1318. unsigned char res84[0x14];
  1319. unsigned int top_pwr_configuration;
  1320. unsigned int top_pwr_status;
  1321. unsigned int top_pwr_option;
  1322. unsigned char res85[0x34];
  1323. unsigned int top_bus_coreblk_configuration;
  1324. unsigned int top_bus_coreblk_status;
  1325. unsigned int top_bus_coreblk_option;
  1326. unsigned char res86[0x14];
  1327. unsigned int top_retention_coreblk_configuration;
  1328. unsigned int top_retention_coreblk_status;
  1329. unsigned int top_retention_coreblk_option;
  1330. unsigned char res87[0x14];
  1331. unsigned int top_pwr_coreblk_configuration;
  1332. unsigned int top_pwr_coreblk_status;
  1333. unsigned int top_pwr_coreblk_option;
  1334. unsigned char res88[0x34];
  1335. unsigned int logic_reset_configuration;
  1336. unsigned int logic_reset_status;
  1337. unsigned int logic_reset_option;
  1338. unsigned char res89[0x14];
  1339. unsigned int oscclk_gate_configuration;
  1340. unsigned int oscclk_gate_status;
  1341. unsigned int oscclk_gate_option;
  1342. unsigned char res90[0x54];
  1343. unsigned int logic_reset_coreblk_configuration;
  1344. unsigned int logic_reset_coreblk_status;
  1345. unsigned int logic_reset_coreblk_option;
  1346. unsigned char res91[0x14];
  1347. unsigned int oscclk_gate_coreblk_configuration;
  1348. unsigned int oscclk_gate_coreblk_status;
  1349. unsigned int oscclk_gate_coreblk_option;
  1350. unsigned char res99[0x174];
  1351. unsigned int intram_mem_configuration;
  1352. unsigned int intram_mem_status;
  1353. unsigned int intram_mem_option;
  1354. unsigned char res100[0x14];
  1355. unsigned int introm_mem_configuration;
  1356. unsigned int introm_mem_status;
  1357. unsigned int introm_mem_option;
  1358. unsigned char res101[0xb4];
  1359. unsigned int pad_retention_dram_configuration;
  1360. unsigned int pad_retention_dram_status;
  1361. unsigned int pad_retention_dram_option;
  1362. unsigned char res106[0x14];
  1363. unsigned int pad_retention_mau_configuration;
  1364. unsigned int pad_retention_mau_status;
  1365. unsigned int pad_retention_mau_option;
  1366. unsigned char res107[0x14];
  1367. unsigned int pad_retention_jtag_configuration;
  1368. unsigned int pad_retention_jtag_status;
  1369. unsigned int pad_retention_jtag_option;
  1370. unsigned char res92[0x74];
  1371. unsigned int pad_retention_dram_configuration_2;
  1372. unsigned int pad_retention_dram_status_2;
  1373. unsigned int pad_retention_dram_option_2;
  1374. unsigned char res111[0x14];
  1375. unsigned int pad_retention_uart_configuration;
  1376. unsigned int pad_retention_uart_status;
  1377. unsigned int pad_retention_uart_option;
  1378. unsigned char res112[0x14];
  1379. unsigned int pad_retention_mmca_configuration;
  1380. unsigned int pad_retention_mmca_status;
  1381. unsigned int pad_retention_mmca_option;
  1382. unsigned char res113[0x14];
  1383. unsigned int pad_retention_mmcb_configuration;
  1384. unsigned int pad_retention_mmcb_status;
  1385. unsigned int pad_retention_mmcb_option;
  1386. unsigned char res93[0x14];
  1387. unsigned int pad_retention_mmcc_configuration;
  1388. unsigned int pad_retention_mmcc_status;
  1389. unsigned int pad_retention_mmcc_option;
  1390. unsigned char res94[0x14];
  1391. unsigned int pad_retention_hsi_configuration;
  1392. unsigned int pad_retention_hsi_status;
  1393. unsigned int pad_retention_hsi_option;
  1394. unsigned char res114[0x14];
  1395. unsigned int pad_retention_ebia_configuration;
  1396. unsigned int pad_retention_ebia_status;
  1397. unsigned int pad_retention_ebia_option;
  1398. unsigned char res115[0x14];
  1399. unsigned int pad_retention_ebib_configuration;
  1400. unsigned int pad_retention_ebib_status;
  1401. unsigned int pad_retention_ebib_option;
  1402. unsigned char res116[0x14];
  1403. unsigned int pad_retention_spi_configuration;
  1404. unsigned int pad_retention_spi_status;
  1405. unsigned int pad_retention_spi_option;
  1406. unsigned char res117[0x14];
  1407. unsigned int pad_retention_dram_coreblk_configuration;
  1408. unsigned int pad_retention_dram_coreblk_status;
  1409. unsigned int pad_retention_dram_coreblk_option;
  1410. unsigned char res118[0x14];
  1411. unsigned int pad_isolation_configuration;
  1412. unsigned int pad_isolation_status;
  1413. unsigned int pad_isolation_option;
  1414. unsigned char res119[0x74];
  1415. unsigned int pad_isolation_coreblk_configuration;
  1416. unsigned int pad_isolation_coreblk_status;
  1417. unsigned int pad_isolation_coreblk_option;
  1418. unsigned char res120[0x74];
  1419. unsigned int pad_alv_sel_configuration;
  1420. unsigned int pad_alv_sel_status;
  1421. unsigned int pad_alv_sel_option0;
  1422. unsigned int ps_hold_control;
  1423. unsigned char res130[0xf0];
  1424. unsigned int xusbxti_configuration;
  1425. unsigned int xusbxti_status;
  1426. unsigned int xusbxti_option;
  1427. unsigned char res910[0x10];
  1428. unsigned int xusbxti_duration3;
  1429. unsigned int xxti_configuration;
  1430. unsigned int xxti_status;
  1431. unsigned int xxti_option;
  1432. unsigned char res131[0x10];
  1433. unsigned int xxti_duration3;
  1434. unsigned char res132[0x1c0];
  1435. unsigned int ext_regulator_configuration;
  1436. unsigned int ext_regulator_status;
  1437. unsigned int ext_regulator_option;
  1438. unsigned char res133[0x10];
  1439. unsigned int ext_regulator_duration3;
  1440. unsigned char res134[0x1e0];
  1441. unsigned int gpio_mode_configuration;
  1442. unsigned int gpio_mode_status;
  1443. unsigned int gpio_mode_option;
  1444. unsigned char res135[0xf4];
  1445. unsigned int gpio_mode_coreblk_configuration;
  1446. unsigned int gpio_mode_coreblk_status;
  1447. unsigned int gpio_mode_coreblk_option;
  1448. unsigned char res136[0xd4];
  1449. unsigned int gpio_mode_mau_configuration;
  1450. unsigned int gpio_mode_mau_status;
  1451. unsigned int gpio_mode_mau_option;
  1452. unsigned char res137[0x14];
  1453. unsigned int top_asb_reset_configuration;
  1454. unsigned int top_asb_reset_status;
  1455. unsigned int top_asb_reset_option;
  1456. unsigned char res138[0x14];
  1457. unsigned int top_asb_isolation_configuration;
  1458. unsigned int top_asb_isolation_status;
  1459. unsigned int top_asb_isolation_option;
  1460. unsigned char res139[0x5d4];
  1461. unsigned int gscl_configuration;
  1462. unsigned int gscl_status;
  1463. unsigned int gscl_option;
  1464. unsigned char res140[0x14];
  1465. unsigned int isp_configuration;
  1466. unsigned int isp_status;
  1467. unsigned int isp_option;
  1468. unsigned char res141[0x34];
  1469. unsigned int mfc_configuration;
  1470. unsigned int mfc_status;
  1471. unsigned int mfc_option;
  1472. unsigned char res142[0x14];
  1473. unsigned int g3d_configuration;
  1474. unsigned int g3d_status;
  1475. unsigned int g3d_option;
  1476. unsigned char res143[0x34];
  1477. unsigned int disp1_configuration;
  1478. unsigned int disp1_status;
  1479. unsigned int disp1_option;
  1480. unsigned char res144[0x14];
  1481. unsigned int mau_configuration;
  1482. unsigned int mau_status;
  1483. unsigned int mau_option;
  1484. unsigned char res800[0x14];
  1485. unsigned int g2d_configuration;
  1486. unsigned int g2d_status;
  1487. unsigned int g2d_option;
  1488. unsigned char res801[0x14];
  1489. unsigned int msc_configuration;
  1490. unsigned int msc_status;
  1491. unsigned int msc_option;
  1492. unsigned char res802[0x14];
  1493. unsigned int fsys_configuration;
  1494. unsigned int fsys_status;
  1495. unsigned int fsys_option;
  1496. unsigned char res803[0x14];
  1497. unsigned int fsys2_configuration;
  1498. unsigned int fsys2_status;
  1499. unsigned int fsys2_option;
  1500. unsigned char res804[0x14];
  1501. unsigned int psgen_configuration;
  1502. unsigned int psgen_status;
  1503. unsigned int psgen_option;
  1504. unsigned char res805[0x14];
  1505. unsigned int peric_configuration;
  1506. unsigned int peric_status;
  1507. unsigned int peric_option;
  1508. unsigned char res806[0x14];
  1509. unsigned int wcore_configuration;
  1510. unsigned int wcore_status;
  1511. unsigned int wcore_option;
  1512. unsigned char res145[0x234];
  1513. unsigned int cmu_clkstop_gscl_configuration;
  1514. unsigned int cmu_clkstop_gscl_status;
  1515. unsigned int cmu_clkstop_gscl_option;
  1516. unsigned char res146[0x14];
  1517. unsigned int cmu_clkstop_isp_configuration;
  1518. unsigned int cmu_clkstop_isp_status;
  1519. unsigned int cmu_clkstop_isp_option;
  1520. unsigned char res147[0x34];
  1521. unsigned int cmu_clkstop_mfc_configuration;
  1522. unsigned int cmu_clkstop_mfc_status;
  1523. unsigned int cmu_clkstop_mfc_option;
  1524. unsigned char res148[0x14];
  1525. unsigned int cmu_clkstop_g3d_configuration;
  1526. unsigned int cmu_clkstop_g3d_status;
  1527. unsigned int cmu_clkstop_g3d_option;
  1528. unsigned char res149[0x34];
  1529. unsigned int cmu_clkstop_disp1_configuration;
  1530. unsigned int cmu_clkstop_disp1_status;
  1531. unsigned int cmu_clkstop_disp1_option;
  1532. unsigned char res150[0x14];
  1533. unsigned int cmu_clkstop_mau_configuration;
  1534. unsigned int cmu_clkstop_mau_status;
  1535. unsigned int cmu_clkstop_mau_option;
  1536. unsigned char res807[0x14];
  1537. unsigned int cmu_clkstop_g2d_configuration;
  1538. unsigned int cmu_clkstop_g2d_status;
  1539. unsigned int cmu_clkstop_g2d_option;
  1540. unsigned char res808[0x14];
  1541. unsigned int cmu_clkstop_msc_configuration;
  1542. unsigned int cmu_clkstop_msc_status;
  1543. unsigned int cmu_clkstop_msc_option;
  1544. unsigned char res809[0x14];
  1545. unsigned int cmu_clkstop_fsys_configuration;
  1546. unsigned int cmu_clkstop_fsys_status;
  1547. unsigned int cmu_clkstop_fsys_option;
  1548. unsigned char res810[0x14];
  1549. unsigned int cmu_clkstop_fsys2_configuration;
  1550. unsigned int cmu_clkstop_fsys2_status;
  1551. unsigned int cmu_clkstop_fsys2_option;
  1552. unsigned char res811[0x14];
  1553. unsigned int cmu_clkstop_psgen_configuration;
  1554. unsigned int cmu_clkstop_psgen_status;
  1555. unsigned int cmu_clkstop_psgen_option;
  1556. unsigned char res812[0x14];
  1557. unsigned int cmu_clkstop_peric_configuration;
  1558. unsigned int cmu_clkstop_peric_status;
  1559. unsigned int cmu_clkstop_peric_option;
  1560. unsigned char res813[0x14];
  1561. unsigned int cmu_clkstop_wcore_configuration;
  1562. unsigned int cmu_clkstop_wcore_status;
  1563. unsigned int cmu_clkstop_wcore_option;
  1564. unsigned char res151[0x14];
  1565. unsigned int cmu_sysclk_toppwr_configuration;
  1566. unsigned int cmu_sysclk_toppwr_status;
  1567. unsigned int cmu_sysclk_toppwr_option;
  1568. unsigned char res920[0x18];
  1569. unsigned int cmu_sysclk_gscl_status;
  1570. unsigned int cmu_sysclk_gscl_option;
  1571. unsigned char res152[0x18];
  1572. unsigned int cmu_sysclk_isp_status;
  1573. unsigned int cmu_sysclk_isp_option;
  1574. unsigned char res153[0x38];
  1575. unsigned int cmu_sysclk_mfc_status;
  1576. unsigned int cmu_sysclk_mfc_option;
  1577. unsigned char res154[0x18];
  1578. unsigned int cmu_sysclk_g3d_status;
  1579. unsigned int cmu_sysclk_g3d_option;
  1580. unsigned char res155[0x38];
  1581. unsigned int cmu_sysclk_disp1_status;
  1582. unsigned int cmu_sysclk_disp1_option;
  1583. unsigned char res156[0x18];
  1584. unsigned int cmu_sysclk_mau_status;
  1585. unsigned int cmu_sysclk_mau_option;
  1586. unsigned char res814[0x18];
  1587. unsigned int cmu_sysclk_g2d_status;
  1588. unsigned int cmu_sysclk_g2d_option;
  1589. unsigned char res815[0x18];
  1590. unsigned int cmu_sysclk_msc_status;
  1591. unsigned int cmu_sysclk_msc_option;
  1592. unsigned char res922[0x18];
  1593. unsigned int cmu_sysclk_fsys_status;
  1594. unsigned int cmu_sysclk_fsys_option;
  1595. unsigned char res816[0x18];
  1596. unsigned int cmu_sysclk_fsys2_status;
  1597. unsigned int cmu_sysclk_fsys2_option;
  1598. unsigned char res817[0x18];
  1599. unsigned int cmu_sysclk_psgen_status;
  1600. unsigned int cmu_sysclk_psgen_option;
  1601. unsigned char res950[0x18];
  1602. unsigned int cmu_sysclk_peric_status;
  1603. unsigned int cmu_sysclk_peric_option;
  1604. unsigned char res818[0x18];
  1605. unsigned int cmu_sysclk_wcore_status;
  1606. unsigned int cmu_sysclk_wcore_option;
  1607. unsigned char res819[0x18];
  1608. unsigned int cmu_sysclk_coreblk_toppwr_status;
  1609. unsigned int cmu_sysclk_coreblk_toppwr_option;
  1610. unsigned char res157[0x414];
  1611. unsigned int cmu_reset_gscl_configuration;
  1612. unsigned int cmu_reset_gscl_status;
  1613. unsigned int cmu_reset_gscl_option;
  1614. unsigned char res158[0x14];
  1615. unsigned int cmu_reset_isp_configuration;
  1616. unsigned int cmu_reset_isp_status;
  1617. unsigned int cmu_reset_isp_option;
  1618. unsigned char res159[0x34];
  1619. unsigned int cmu_reset_mfc_configuration;
  1620. unsigned int cmu_reset_mfc_status;
  1621. unsigned int cmu_reset_mfc_option;
  1622. unsigned char res160[0x14];
  1623. unsigned int cmu_reset_g3d_configuration;
  1624. unsigned int cmu_reset_g3d_status;
  1625. unsigned int cmu_reset_g3d_option;
  1626. unsigned char res161[0x34];
  1627. unsigned int cmu_reset_disp1_configuration;
  1628. unsigned int cmu_reset_disp1_status;
  1629. unsigned int cmu_reset_disp1_option;
  1630. unsigned char res162[0x14];
  1631. unsigned int cmu_reset_mau_configuration;
  1632. unsigned int cmu_reset_mau_status;
  1633. unsigned int cmu_reset_mau_option;
  1634. unsigned char res163[0x14];
  1635. unsigned int version_info;
  1636. unsigned int i2s_bypass;
  1637. unsigned int kfc_swreset_mask_from_eagle;
  1638. unsigned char res164[0xf4];
  1639. unsigned int cmu_reset_g2d_configuration;
  1640. unsigned int cmu_reset_g2d_status;
  1641. unsigned int cmu_reset_g2d_option;
  1642. unsigned char res165[0x14];
  1643. unsigned int cmu_reset_msc_configuration;
  1644. unsigned int cmu_reset_msc_status;
  1645. unsigned int cmu_reset_msc_option;
  1646. unsigned char res166[0x14];
  1647. unsigned int cmu_reset_fsys_configuration;
  1648. unsigned int cmu_reset_fsys_status;
  1649. unsigned int cmu_reset_fsys_option;
  1650. unsigned char res167[0x14];
  1651. unsigned int cmu_reset_fsys2_configuration;
  1652. unsigned int cmu_reset_fsys2_status;
  1653. unsigned int cmu_reset_fsys2_option;
  1654. unsigned char res168[0x14];
  1655. unsigned int cmu_reset_psgen_configuration;
  1656. unsigned int cmu_reset_psgen_status;
  1657. unsigned int cmu_reset_psgen_option;
  1658. unsigned char res169[0x14];
  1659. unsigned int cmu_reset_peric_configuration;
  1660. unsigned int cmu_reset_peric_status;
  1661. unsigned int cmu_reset_peric_option;
  1662. unsigned char res170[0x14];
  1663. unsigned int cmu_reset_wcore_configuration;
  1664. unsigned int cmu_reset_wcore_status;
  1665. unsigned int cmu_reset_wcore_option;
  1666. };
  1667. #endif /* __ASSEMBLY__ */
  1668. void set_mipi_phy_ctrl(unsigned int dev_index, unsigned int enable);
  1669. #define EXYNOS_MIPI_PHY_ENABLE (1 << 0)
  1670. #define EXYNOS_MIPI_PHY_SRESETN (1 << 1)
  1671. #define EXYNOS_MIPI_PHY_MRESETN (1 << 2)
  1672. void set_usbhost_phy_ctrl(unsigned int enable);
  1673. /* Enables hardware tripping to power off the system when TMU fails */
  1674. void set_hw_thermal_trip(void);
  1675. #define POWER_USB_HOST_PHY_CTRL_EN (1 << 0)
  1676. #define POWER_USB_HOST_PHY_CTRL_DISABLE (0 << 0)
  1677. void set_usbdrd_phy_ctrl(unsigned int enable);
  1678. #define POWER_USB_DRD_PHY_CTRL_EN (1 << 0)
  1679. #define POWER_USB_DRD_PHY_CTRL_DISABLE (0 << 0)
  1680. void set_dp_phy_ctrl(unsigned int enable);
  1681. #define EXYNOS_DP_PHY_ENABLE (1 << 0)
  1682. #define EXYNOS_PS_HOLD_CONTROL_DATA_HIGH (1 << 8)
  1683. #define POWER_ENABLE_HW_TRIP (1UL << 31)
  1684. /*
  1685. * Set ps_hold data driving value high
  1686. * This enables the machine to stay powered on
  1687. * after the initial power-on condition goes away
  1688. * (e.g. power button).
  1689. */
  1690. void set_ps_hold_ctrl(void);
  1691. /* PMU_DEBUG bits [12:8] = 0x1000 selects XXTI clock source */
  1692. #define PMU_DEBUG_XXTI 0x1000
  1693. /* Mask bit[12:8] for xxti clock selection */
  1694. #define PMU_DEBUG_CLKOUT_SEL_MASK 0x1f00
  1695. /*
  1696. * Pmu debug is used for xclkout, enable xclkout with
  1697. * source as XXTI
  1698. */
  1699. void set_xclkout(void);
  1700. /*
  1701. * Read inform1 to get the reset status.
  1702. * @return: the value can be either S5P_CHECK_SLEEP or
  1703. * S5P_CHECK_DIDLE or S5P_CHECK_LPA as stored in inform1
  1704. * if none of these then its normal booting.
  1705. */
  1706. uint32_t get_reset_status(void);
  1707. /* Read the resume function and call it */
  1708. void power_exit_wakeup(void);
  1709. #endif