arch:arm:exynos: power.h define exynos4x12 power subsystem structure
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 26 Mar 2014 15:00:54 +0000 (16:00 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 00:42:33 +0000 (09:42 +0900)
Change-Id: Icf6cb80529f3fb5511e440f572e0870359e6e37c
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
arch/arm/mach-exynos/include/mach/power.h

index a3d8974..4562dba 100644 (file)
@@ -216,6 +216,230 @@ struct exynos4412_power {
        unsigned int    hsic2_phy_control;
 };
 
+struct exynos4x12_power {
+       unsigned int    om_stat;
+       unsigned char   res1[0xc];
+       unsigned int    rtc_clko_sel;
+       unsigned int    gnss_rtc_out_ctrl;
+       unsigned char   res2[0x3e8];
+       unsigned int    swreset;
+       unsigned int    rst_stat;
+       unsigned char   res5[0x1f8];
+       unsigned int    wakeup_stat;
+       unsigned int    eint_wakeup_mask;
+       unsigned int    wakeup_mask;
+       unsigned char   res6[0xf4];
+       unsigned int    hdmi_phy_control;
+       unsigned int    usb_phy_control;
+       unsigned int    hsic_1_phy_control;
+       unsigned int    hsic_2_phy_control;
+       unsigned int    mipi_phy0_control;
+       unsigned int    mipi_phy1_control;
+       unsigned int    adc_phy_control;
+       unsigned char   res7[0xe4];
+       unsigned int    inform0;
+       unsigned int    inform1;
+       unsigned int    inform2;
+       unsigned int    inform3;
+       unsigned int    inform4;
+       unsigned int    inform5;
+       unsigned int    inform6;
+       unsigned int    inform7;
+       unsigned char   res8[0x1e0];
+       unsigned int    pmu_debug;
+       unsigned char   res9[0x5fc];
+       unsigned int    arm_core0_sys_pwr_reg;
+       unsigned char   res10[0xc];
+       unsigned int    arm_core1_sys_pwr_reg;
+       unsigned char   res11[0xc];
+       unsigned int    arm_core2_sys_pwr_reg;
+       unsigned char   res12[0xc];
+       unsigned int    arm_core3_sys_pwr_reg;
+       unsigned char   res13[0x4c];
+       unsigned int    arm_common_sys_pwr_reg;
+       unsigned char   res14[0x3c];
+       unsigned int    arm_cpu_l2_0_sys_pwr_reg;
+       unsigned int    arm_cpu_l2_1_sys_pwr_reg;
+       unsigned char   res15[0x38];
+       unsigned int    cmu_aclkstop_sys_pwr_reg;
+       unsigned int    cmu_sclkstop_sys_pwr_reg;
+       unsigned char   res16[0x4];
+       unsigned int    cmu_reset_sys_pwr_reg;
+       unsigned char   res17[0x10];
+       unsigned int    apll_sysclk_sys_pwr_reg;
+       unsigned int    mpll_sysclk_sys_pwr_reg;
+       unsigned int    vpll_sysclk_sys_pwr_reg;
+       unsigned int    epll_sysclk_sys_pwr_reg;
+       unsigned int    mplluser_sysclk_sys_pwr_reg;
+       unsigned char   res18[0x4];
+       unsigned int    cmu_clkstop_gps_alive_sys_pwr_reg;
+       unsigned int    cmu_reset_gps_alive_sys_pwr_reg;
+       unsigned int    cmu_clkstop_cam_sys_pwr_reg;
+       unsigned int    cmu_clkstop_tv_sys_pwr_reg;
+       unsigned int    cmu_clkstop_mfc_sys_pwr_reg;
+       unsigned int    cmu_clkstop_g3d_sys_pwr_reg;
+       unsigned int    cmu_clkstop_lcd0_sys_pwr_reg;
+       unsigned int    cmu_clkstop_isp_sys_pwr_reg;
+       unsigned int    cmu_clkstop_maudio_sys_pwr_reg;
+       unsigned int    cmu_clkstop_gps_sys_pwr_reg;
+       unsigned int    cmu_reset_cam_sys_pwr_reg;
+       unsigned int    cmu_reset_tv_sys_pwr_reg;
+       unsigned int    cmu_reset_mfc_sys_pwr_reg;
+       unsigned int    cmu_reset_g3d_sys_pwr_reg;
+       unsigned int    cmu_reset_lcd0_sys_pwr_reg;
+       unsigned int    cmu_reset_isp_sys_pwr_reg;
+       unsigned int    cmu_reset_maudio_sys_pwr_reg;
+       unsigned int    cmu_reset_gps_sys_pwr_reg;
+       unsigned int    top_bus_sys_pwr_reg;
+       unsigned int    top_retention_sys_pwr_reg;
+       unsigned int    top_pwr_sys_pwr_reg;
+       unsigned char   res19[0x14];
+       unsigned int    logic_reset_sys_pwr_reg;
+       unsigned char   res20[0x1c];
+       unsigned int    onenandxl_mem_sys_pwr_reg;
+       unsigned int    hsi_mem_sys_pwr_reg;
+       unsigned int    g2d_acp_mem_sys_pwr_reg;
+       unsigned int    usbotg_mem_sys_pwr_reg;
+       unsigned int    sdmmc_mem_sys_pwr_reg;
+       unsigned int    cssys_mem_sys_pwr_reg;
+       unsigned int    secss_mem_sys_pwr_reg;
+       unsigned int    rotator_mem_sys_pwr_reg;
+       unsigned char   res21[0x20];
+       unsigned int    pad_retention_dram_sys_pwr_reg;
+       unsigned int    pad_retention_maudio_sys_pwr_reg;
+       unsigned char   res22[0x18];
+       unsigned int    pad_retention_gpio_sys_pwr_reg;
+       unsigned int    pad_retention_uart_sys_pwr_reg;
+       unsigned int    pad_retention_mmca_sys_pwr_reg;
+       unsigned int    pad_retention_mmcb_sys_pwr_reg;
+       unsigned int    pad_retention_ebia_sys_pwr_reg;
+       unsigned int    pad_retention_ebib_sys_pwr_reg;
+       unsigned char   res23[0x8];
+       unsigned int    pad_isolation_sys_pwr_reg;
+       unsigned char   res24[0x1c];
+       unsigned int    pad_alv_sel_sys_pwr_reg;
+       unsigned char   res25[0x1c];
+       unsigned int    xusbxti_sys_pwr_reg;
+       unsigned int    xxti_sys_pwr_reg;
+       unsigned char   res26[0x38];
+       unsigned int    ext_regulator_sys_pwr_reg;
+       unsigned char   res27[0x3c];
+       unsigned int    gpio_mode_sys_pwr_reg;
+       unsigned char   res28[0x3c];
+       unsigned int    gpio_mode_maudio_sys_pwr_reg;
+       unsigned char   res29[0x3c];
+       unsigned int    cam_sys_pwr_reg;
+       unsigned int    tv_sys_pwr_reg;
+       unsigned int    mfc_sys_pwr_reg;
+       unsigned int    g3d_sys_pwr_reg;
+       unsigned int    lcd0_sys_pwr_reg;
+       unsigned int    isp_sys_pwr_reg;
+       unsigned int    maudio_sys_pwr_reg;
+       unsigned int    gps_sys_pwr_reg;
+       unsigned int    gps_alive_sys_pwr_reg;
+       unsigned char   res30[0xc5c];
+       unsigned int    arm_core0_configuration;
+       unsigned int    arm_core0_status;
+       unsigned int    arm_core0_option;
+       unsigned char   res31[0x74];
+       unsigned int    arm_core1_configuration;
+       unsigned int    arm_core1_status;
+       unsigned int    arm_core1_option;
+       unsigned char   res32[0x74];
+       unsigned int    arm_core2_configuration;
+       unsigned int    arm_core2_status;
+       unsigned int    arm_core2_option;
+       unsigned char   res33[0x74];
+       unsigned int    arm_core3_configuration;
+       unsigned int    arm_core3_status;
+       unsigned int    arm_core3_option;
+       unsigned char   res34[0x27c];
+       unsigned int    arm_common_option;
+       unsigned char   res35[0x1f4];
+       unsigned int    arm_cpu_l2_0_configuration;
+       unsigned int    arm_cpu_l2_0_status;
+       unsigned char   res36[0x18];
+       unsigned int    arm_cpu_l2_1_configuration;
+       unsigned int    arm_cpu_l2_1_status;
+       unsigned char   res37[0x380];
+       unsigned int    dram_freq_down_option;
+       unsigned char   res38[0x41c];
+       unsigned int    ddrphy_dlloff_option;
+       unsigned char   res39[0x5c];
+       unsigned int    hsi_mem_option;
+       unsigned char   res40[0x1c];
+       unsigned int    g2d_acp_mem_option;
+       unsigned char   res41[0x1c];
+       unsigned int    usbotg_mem_option;
+       unsigned char   res42[0x1c];
+       unsigned int    sdmmc_mem_option;
+       unsigned char   res43[0x1c];
+       unsigned int    cssys_mem_option;
+       unsigned char   res44[0x1c];
+       unsigned int    secss_mem_option;
+       unsigned char   res45[0x7c];
+       unsigned int    rotator_mem_option;
+       unsigned char   res46[0xdc];
+       unsigned int    pad_retention_maudio_option;
+       unsigned char   res47[0xdc];
+       unsigned int    pad_retention_gpio_option;
+       unsigned char   res48[0x1c];
+       unsigned int    pad_retention_uart_option;
+       unsigned char   res49[0x1c];
+       unsigned int    pad_retention_mmca_option;
+       unsigned char   res50[0x1c];
+       unsigned int    pad_retention_mmcb_option;
+       unsigned char   res51[0x1c];
+       unsigned int    pad_retention_ebia_option;
+       unsigned char   res52[0x1c];
+       unsigned int    pad_retention_ebib_option;
+       unsigned char   res53[0x160];
+       unsigned int    ps_hold_control;
+       unsigned char   res54[0xf0];
+       unsigned int    xusbxti_configuration;
+       unsigned int    xusbxti_status;
+       unsigned char   res56[0x14];
+       unsigned int    xusbxti_duration;
+       unsigned int    xxti_configuration;
+       unsigned int    xxti_status;
+       unsigned char   res57[0x14];
+       unsigned int    xxti_duration;
+       unsigned char   res58[0x1dc];
+       unsigned int    ext_regulator_duration;
+       unsigned char   res59[0x5e0];
+       unsigned int    cam_configuration;
+       unsigned int    cam_status;
+       unsigned int    cam_option;
+       unsigned char   res60[0x14];
+       unsigned int    tv_configuration;
+       unsigned int    tv_status;
+       unsigned int    tv_option;
+       unsigned char   res61[0x14];
+       unsigned int    mfc_configuration;
+       unsigned int    mfc_status;
+       unsigned int    mfc_option;
+       unsigned char   res62[0x14];
+       unsigned int    g3d_configuration;
+       unsigned int    g3d_status;
+       unsigned int    g3d_option;
+       unsigned char   res63[0x14];
+       unsigned int    lcd0_configuration;
+       unsigned int    lcd0_status;
+       unsigned int    lcd0_option;
+       unsigned char   res64[0x14];
+       unsigned int    isp_configuration;
+       unsigned int    isp_status;
+       unsigned int    isp_option;
+       unsigned char   res65[0x34];
+       unsigned int    gps_configuration;
+       unsigned int    gps_status;
+       unsigned int    gps_option;
+       unsigned char   res66[0x14];
+       unsigned int    gps_alive_configuration;
+       unsigned int    gps_alive_status;
+       unsigned int    gps_alive_option;
+};
+
 struct exynos5_power {
        unsigned int    om_stat;
        unsigned char   res1[0x18];