1 /****************************************************************************** 2 * @file rsi_system_config.h 3 ******************************************************************************* 4 * # License 5 * <b>Copyright 2024 Silicon Laboratories Inc. www.silabs.com</b> 6 ******************************************************************************* 7 * 8 * SPDX-License-Identifier: Zlib 9 * 10 * The licensor of this software is Silicon Laboratories Inc. 11 * 12 * This software is provided 'as-is', without any express or implied 13 * warranty. In no event will the authors be held liable for any damages 14 * arising from the use of this software. 15 * 16 * Permission is granted to anyone to use this software for any purpose, 17 * including commercial applications, and to alter it and redistribute it 18 * freely, subject to the following restrictions: 19 * 20 * 1. The origin of this software must not be misrepresented; you must not 21 * claim that you wrote the original software. If you use this software 22 * in a product, an acknowledgment in the product documentation would be 23 * appreciated but is not required. 24 * 2. Altered source versions must be plainly marked as such, and must not be 25 * misrepresented as being the original software. 26 * 3. This notice may not be removed or altered from any source distribution. 27 * 28 ******************************************************************************/ 29 30 /** 31 * Includes 32 */ 33 34 #ifndef __RSI_SYSTEM_CONFIG_H__ 35 #define __RSI_SYSTEM_CONFIG_H__ 36 #include "rsi_ccp_common.h" 37 38 #include "base_types.h" 39 40 #ifdef __cplusplus 41 extern "C" { 42 #endif 43 44 extern uint32_t scdc_volt_sel1[]; 45 extern uint32_t lp_scdc_extcapmode[]; 46 extern uint32_t m32rc_osc_trim_efuse[]; 47 extern uint32_t m20rc_osc_trim_efuse[]; 48 extern uint32_t dblr_32m_trim_efuse[]; 49 extern uint32_t m20ro_osc_trim_efuse[]; 50 extern uint32_t ro_32khz_trim_efuse[]; 51 extern uint32_t rc_16khz_trim_efuse[]; 52 extern uint32_t rc_64khz_trim_efuse[]; 53 extern uint32_t rc_32khz_trim_efuse[]; 54 extern uint32_t vbatt_status_trim_efuse[]; 55 extern uint32_t ro_ts_efuse[]; 56 extern uint32_t ro_tempsense_config[]; 57 extern uint32_t vbg_tsbjt_efuse[]; 58 extern uint32_t auxadc_off_diff_efuse[]; 59 extern uint32_t auxadc_gain_diff_efuse[]; 60 extern uint32_t auxadc_off_se_efuse[]; 61 extern uint32_t auxadc_gain_se_efuse[]; 62 extern uint32_t bg_trim_efuse[]; 63 extern uint32_t blackout_trim_efuse[]; 64 extern uint32_t poc_bias_efuse[]; 65 extern uint32_t buck_trim_efuse[]; 66 extern uint32_t ldosoc_trim_efuse[]; 67 extern uint32_t dpwm_freq_trim_efuse[]; 68 extern uint32_t delvbe_tsbjt_efuse[]; 69 extern uint32_t xtal1_bias_efuse[]; 70 extern uint32_t xtal2_bias_efuse[]; 71 extern uint32_t bod_cmp_hyst[]; 72 extern uint32_t ipmu_bod_clks_common_config2[]; 73 extern uint32_t ipmu_bod_clks_common_config1[]; 74 extern uint32_t pmu_common_config[]; 75 extern uint32_t ipmu_common_config[]; 76 extern uint32_t xtal1_khz_fast_start_en[]; 77 extern uint32_t xtal1_khz_fast_start_disable[]; 78 extern uint32_t hp_ldo_voltsel[]; 79 extern uint32_t poc_bias_current_11[]; 80 extern uint32_t ro_32khz_trim00_efuse[]; 81 extern uint32_t retnLP_volt_trim_efuse[]; 82 extern uint32_t retnHP_volt_trim_efuse[]; 83 extern uint32_t hpldo_volt_trim_efuse[]; 84 extern uint32_t scdc_volt_trim_efuse[]; 85 extern uint32_t poc_bias_current[]; 86 extern uint32_t scdc_volt_sel2[]; 87 extern uint32_t scdc_volt_trim_efuse[]; 88 extern uint32_t ana_perif_ptat_common_config1[]; 89 extern uint32_t ana_perif_ptat_common_config2[]; 90 extern uint32_t retn_ldo_0p75[]; 91 extern uint32_t retn_ldo_lpmode[]; 92 extern uint32_t retn_ldo_hpmode[]; 93 extern uint32_t retn_ldo_voltsel[]; 94 extern uint32_t ipmu_scdc_enable[]; 95 extern uint32_t buck_fast_transient_duty_1p8[]; 96 extern uint32_t hpldo_tran[]; 97 extern uint32_t LDOFLASH_BYPASS[]; 98 #define POWER_TARN_DISABLE 0 99 #define POWER_TARN_ALWAYS_USE 1 100 #define POWER_TARN_CONDITIONAL_USE 2 101 102 #define XTAL_CAP_MODE POWER_TARN_CONDITIONAL_USE 103 104 #define IPMU_DOTC_PROG 105 #define IPMU_CALIB_DATA 106 typedef uint32_t uint32; 107 typedef uint16_t uint16; 108 typedef int32_t int32; 109 typedef uint8_t uint8; 110 #define cmemcpy memcpy 111 112 #ifdef __cplusplus 113 } 114 #endif 115 116 #endif //__RSI_SYSTEM_CONFIG_H__ 117