zephyr/soc/arm/silabs_exx32/Kconfig

101 lines
2.3 KiB
Plaintext

#
# Copyright (c) 2017 Christian Taedcke
# Copyright (c) 2018 Gil Benkoe
#
# SPDX-License-Identifier: Apache-2.0
#
config SOC_FAMILY_EXX32
bool
# omit prompt to signify a "hidden" option
select HAS_SEGGER_RTT
if SOC_FAMILY_EXX32
config SOC_FAMILY
string
default "silabs_exx32"
source "soc/arm/silabs_exx32/*/Kconfig.soc"
config SOC_PART_NUMBER
string
help
This string holds the full part number of the SoC. It is a hidden option
that you should not set directly. The part number selection choice defines
the default value for this string.
config SOC_GECKO_EMU
bool
help
Set if the energy management unit (EMU) is used.
config SOC_GECKO_EMU_DCDC
bool "Enable SoC DC/DC regulator"
select SOC_GECKO_EMU
help
Enable the on chip DC/DC regulator
choice SOC_GECKO_EMU_DCDC_MODE
prompt "DC/DC mode"
depends on SOC_GECKO_EMU_DCDC
help
Select power configuration mode of the on chip DC/DC converter.
config SOC_GECKO_EMU_DCDC_MODE_UNCONFIGURED
bool "Initial / Unconfigured"
config SOC_GECKO_EMU_DCDC_MODE_ON
bool "DC/DC On"
config SOC_GECKO_EMU_DCDC_MODE_OFF
bool "DC/DC Off"
config SOC_GECKO_EMU_DCDC_MODE_BYPASS
bool "Bypass"
endchoice
config HAS_CMU
bool
help
Set if the clock management unit (CMU) is present in the SoC.
if HAS_CMU
choice
prompt "High Frequency Clock Selection"
default CMU_HFCLK_HFXO
config CMU_HFCLK_HFXO
bool "External high frequency crystal oscillator"
help
Set this option to use the external high frequency crystal oscillator
as high frequency clock.
config CMU_HFCLK_LFXO
bool "External low frequency crystal oscillator"
help
Set this option to use the external low frequency crystal oscillator
as high frequency clock.
config CMU_HFCLK_HFRCO
bool "Internal high frequency RC oscillator"
help
Set this option to use the internal high frequency RC oscillator as high frequency clock.
endchoice
config CMU_HFXO_FREQ
int "External high frequency oscillator frequency"
help
Set the external high frequency oscillator frequency in Hz. This should be set by the
board's defconfig.
config CMU_LFXO_FREQ
int "External low frequency oscillator frequency"
help
Set the external low frequency oscillator frequency in Hz. This should be set by the
board's defconfig.
endif # HAS_CMU
endif # SOC_FAMILY_EXX32