blob: cec81b58a66553cd7765f214e484e2f4729bf8fb [file] [log] [blame]
#ifndef __CMUCAL_QCH_H__
#define __CMUCAL_QCH_H__
#include "../cmucal.h"
/*=================CMUCAL version: S5E7872================================*/
/*=================Q-channel information================================*/
enum qch_id {
APBIF_GPIO_ALIVE_QCH = QCH_TYPE,
APBIF_PMU_ALIVE_QCH,
APM_QCH_CPU,
APM_QCH_INTMEM,
APM_QCH_OSCCLK,
APM_QCH_DBG,
APM_QCH_SYS,
APM_CMU_APM_QCH,
I2C_APM_QCH,
IP_BATCHER_AP_QCH,
IP_BATCHER_CP_QCH,
LHM_AXI_P_ALIVE_QCH,
LHS_AXI_D_ALIVE_QCH,
MAILBOX_APM2AP_QCH,
MAILBOX_APM2CP_QCH,
MAILBOX_APM2GNSS_QCH,
MAILBOX_APM2WLBT_QCH,
MP_APBSEMA_HWACG_2CH_QCH,
SPEEDY_QCH,
SPEEDY_QCH_OSCCLK,
SYSREG_APM_QCH,
WDT_APM_QCH,
WDT_APM_QCH_OSCCLK,
CMU_CMU_CMUREF_QCH,
DFTMUX_TOP_QCH_CLK_CSIS0,
DFTMUX_TOP_QCH_CLK_CSIS1,
DFTMUX_TOP_QCH_CLK_CSIS2,
CLUSTER0_QCH_CPU,
CLUSTER0_QCH_DBG,
CMU_CPUCL0_SHORTSTOP_QCH,
CPUCL0_CMU_CPUCL0_QCH,
CSSYS_DBG_QCH,
DUMP_PC_CPUCL0_QCH,
LHM_AXI_P_CPUCL0_QCH,
LHS_ACE_D_CPUCL0_QCH,
LHS_AXI_T_CSSYS_DBG_QCH,
SECJTAG_QCH,
SYSREG_CPUCL0_QCH,
CLUSTER1_QCH_CPU,
CLUSTER1_QCH_DBG,
CMU_CPUCL1_SHORTSTOP_QCH,
CPUCL1_CMU_CPUCL1_QCH,
DUMP_PC_CPUCL1_QCH,
LHM_AXI_P_CPUCL1_QCH,
LHS_ACE_D_CPUCL1_QCH,
SYSREG_CPUCL1_QCH,
ABOX_QCH_ABOX,
ABOX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CH,
TREX_P_CORE_QCH,
WRAP_ADC_IF_QCH_0,
WRAP_ADC_IF_QCH_1,
MODEM_CMU_QCH,
BUSIF_TMU_QCH,
LBLK_PERIC_QCH_I2C0,
LBLK_PERIC_QCH_I2C1,
LBLK_PERIC_QCH_I2C2,
LBLK_PERIC_QCH_I2C3,
LBLK_PERIC_QCH_I2C4,
LBLK_PERIC_QCH_I2C5,
LBLK_PERIC_QCH_I2C6,
LBLK_PERIC_QCH_PWM_MOTOR,
LBLK_PERIC_QCH_SPI0,
LBLK_PERIC_QCH_SPI1,
LBLK_PERIC_QCH_USI2,
LBLK_PERIC_QCH_UART0,
LBLK_PERIC_QCH_UART1,
LBLK_PERIC_QCH_HSI2C0,
LBLK_PERIC_QCH_HSI2C1,
LBLK_PERIC_QCH_HSI2C2,
LBLK_PERIC_QCH_HSI2C3,
LBLK_PERIC_QCH_USI0,
LBLK_PERIC_QCH_USI1,
LBLK_PERIC_QCH_GPIO,
LBLK_PERIC_QCH_UART2,
LHM_AXI_P_PERI_QCH,
MCT_QCH,
OTP_CON_TOP_QCH,
PERI_CMU_PERI_QCH,
SECUCON_QCH,
SYSREG_PERI_QCH,
WDT_CLUSTER0_QCH,
WDT_CLUSTER1_QCH,
end_of_qch,
num_of_qch = end_of_qch - QCH_TYPE,
};
/*=================Controller Option information================================*/
enum option_id {
CTRL_OPTION_BLK_APM = OPTION_TYPE,
CTRL_OPTION_BLK_CMU,
CTRL_OPTION_BLK_CPUCL0,
CTRL_OPTION_BLK_CPUCL1,
CTRL_OPTION_BLK_DISPAUD,
CTRL_OPTION_BLK_FSYS,
CTRL_OPTION_BLK_G3D,
CTRL_OPTION_BLK_IS,
CTRL_OPTION_BLK_MFCMSCL,
CTRL_OPTION_BLK_MIF,
CTRL_OPTION_BLK_MODEM,
CTRL_OPTION_BLK_PERI,
end_of_option,
num_of_option = end_of_option - OPTION_TYPE,
};
#endif