soc: silabs: Default to sleeptimer for OS timer on Series 2
Disable BURTC timer in board defconfigs, as it's no longer used. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
parent
da6ddc92cd
commit
51194bf03f
|
@ -9,7 +9,3 @@ CONFIG_SOC_GECKO_EMU_DCDC=y
|
|||
CONFIG_SOC_GECKO_EMU_DCDC_MODE_ON=y
|
||||
CONFIG_HW_STACK_PROTECTION=y
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
# Use BURTC as system clock source
|
||||
CONFIG_GECKO_BURTC_TIMER=y
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1024
|
||||
|
|
|
@ -130,10 +130,6 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&burtc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rtcc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -5,7 +5,6 @@ CONFIG_ARM_MPU=y
|
|||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CORTEX_M_SYSTICK=y
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_HW_STACK_PROTECTION=y
|
||||
CONFIG_PINCTRL=y
|
||||
|
|
|
@ -130,10 +130,6 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&burtc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rtcc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -9,7 +9,3 @@ CONFIG_SOC_GECKO_EMU_DCDC=y
|
|||
CONFIG_SOC_GECKO_EMU_DCDC_MODE_ON=y
|
||||
CONFIG_HW_STACK_PROTECTION=y
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
# Use BURTC as system clock source
|
||||
CONFIG_GECKO_BURTC_TIMER=y
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1024
|
||||
|
|
|
@ -148,10 +148,6 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&burtc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sysrtc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -8,7 +8,3 @@ CONFIG_GPIO=y
|
|||
CONFIG_SOC_GECKO_EMU_DCDC=y
|
||||
CONFIG_SOC_GECKO_EMU_DCDC_MODE_ON=y
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
# Use BURTC as system clock source
|
||||
CONFIG_GECKO_BURTC_TIMER=y
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1024
|
||||
|
|
|
@ -6,7 +6,6 @@ CONFIG_ARM_MPU=y
|
|||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CORTEX_M_SYSTICK=y
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=76800000
|
||||
CONFIG_SOC_GECKO_EMU_DCDC=y
|
||||
|
|
|
@ -9,4 +9,13 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|||
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) if CORTEX_M_SYSTICK
|
||||
default 32768
|
||||
|
||||
config SYS_CLOCK_TICKS_PER_SEC
|
||||
default 1024 if SILABS_SLEEPTIMER_TIMER || GECKO_BURTC_TIMER
|
||||
|
||||
config SILABS_SLEEPTIMER_TIMER
|
||||
default y
|
||||
|
||||
config CORTEX_M_SYSTICK
|
||||
default n if SILABS_SLEEPTIMER_TIMER || GECKO_BURTC_TIMER
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue