soc: silabs: Enable device init on EFR32MG21

Switch EFR32MG21 to use the device init HAL. This makes the init sequence
the same as the rest of Series 2.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
Aksel Skauge Mellbye 2024-10-02 21:25:14 +02:00 committed by Henrik Brix Andersen
commit 25e998fc04
5 changed files with 17 additions and 3 deletions

View file

@ -15,6 +15,7 @@ config SOC_SERIES_EFR32MG21
select SOC_GECKO_CMU
select SOC_GECKO_EMU
select SOC_GECKO_GPIO
select SOC_GECKO_DEV_INIT
select SOC_GECKO_SE
select HAS_PM

View file

@ -8,6 +8,10 @@ config NUM_IRQS
# must be >= the highest interrupt number used
default 61
config PM
select COUNTER
select UART_INTERRUPT_DRIVEN
config GPIO_GECKO
default y
depends on GPIO || LOG_BACKEND_SWO