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