diff --git a/soc/arm/microchip_mec/mec1501/soc.c b/soc/arm/microchip_mec/mec1501/soc.c index 0dc65254d62..22168cbe5c3 100644 --- a/soc/arm/microchip_mec/mec1501/soc.c +++ b/soc/arm/microchip_mec/mec1501/soc.c @@ -84,7 +84,12 @@ static int soc_clk32_init(void) new_clk32 = MCHP_VBATR_USE_32KIN_PIN; #endif #else - /* Use internal 32KHz +/-2% silicon oscillator */ + /* Use internal 32KHz +/-2% silicon oscillator + * if required performed OTP value override + */ + if (MCHP_REVISION_ID() == MCHP_GCFG_REV_B0) { + VBATR_REGS->CKK32_TRIM = 0x06; + } new_clk32 = MCHP_VBATR_USE_SIL_OSC; #endif clk32_change(new_clk32);