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:
Aksel Skauge Mellbye 2024-10-21 12:37:19 +02:00 committed by Carles Cufí
parent da6ddc92cd
commit 51194bf03f
9 changed files with 9 additions and 26 deletions

View File

@ -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

View File

@ -130,10 +130,6 @@
status = "okay";
};
&burtc0 {
status = "okay";
};
&rtcc0 {
status = "okay";
};

View File

@ -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

View File

@ -130,10 +130,6 @@
status = "okay";
};
&burtc0 {
status = "okay";
};
&rtcc0 {
status = "okay";
};

View File

@ -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

View File

@ -148,10 +148,6 @@
status = "okay";
};
&burtc0 {
status = "okay";
};
&sysrtc0 {
status = "okay";
};

View File

@ -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

View File

@ -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

View File

@ -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