diff --git a/modules/Kconfig.vega b/modules/Kconfig.vega index 663d03b7e23..2e4fbf01cad 100644 --- a/modules/Kconfig.vega +++ b/modules/Kconfig.vega @@ -20,6 +20,11 @@ config HAS_RV32M1_LPSPI help Set if the low power spi (LPSPI) module is present in the SoC. +config HAS_RV32M1_TPM + bool + help + Set if the Timer/PWM (TPM) module is present in the SoC. + config HAS_RV32M1_FTFX bool help diff --git a/soc/riscv/openisa_rv32m1/Kconfig.soc b/soc/riscv/openisa_rv32m1/Kconfig.soc index bf02cd928d8..ffe30135aa7 100644 --- a/soc/riscv/openisa_rv32m1/Kconfig.soc +++ b/soc/riscv/openisa_rv32m1/Kconfig.soc @@ -10,6 +10,7 @@ config SOC_OPENISA_RV32M1_RISCV32 select HAS_RV32M1_LPUART select HAS_RV32M1_LPI2C select HAS_RV32M1_LPSPI + select HAS_RV32M1_TPM select ATOMIC_OPERATIONS_C select VEGA_SDK_HAL select RISCV_SOC_INTERRUPT_INIT