Skip to content

Commit 9d06c38

Browse files
janchrifabiobaltieri
authored andcommitted
soc: silabs: Add support for efm32pg23 and efm32pg28
Introducing the efm32pg23 and efm32pg28 Series 2 Silabs chips. Signed-off-by: Christoph Jans <[email protected]>
1 parent b799d18 commit 9d06c38

File tree

7 files changed

+76
-1
lines changed

7 files changed

+76
-1
lines changed

include/zephyr/drivers/clock_control/clock_control_silabs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include <zephyr/dt-bindings/clock/silabs/xg24-clock.h>
2020
#elif defined(CONFIG_SOC_SILABS_XG27)
2121
#include <zephyr/dt-bindings/clock/silabs/xg27-clock.h>
22+
#elif defined(CONFIG_SOC_SILABS_XG28)
23+
#include <zephyr/dt-bindings/clock/silabs/xg28-clock.h>
2224
#elif defined(CONFIG_SOC_SILABS_XG29)
2325
#include <zephyr/dt-bindings/clock/silabs/xg29-clock.h>
2426
#endif

soc/silabs/silabs_s2/xg23/Kconfig.soc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (c) 2024 Yishai Jaffe
2+
# Copyright (c) 2025 Christoph Jans
23
# SPDX-License-Identifier: Apache-2.0
34

45
config SOC_SILABS_XG23
@@ -13,12 +14,24 @@ config SOC_SERIES_EFR32ZG23
1314
help
1415
Silicon Labs EFR32ZG23 Series MCU
1516

17+
config SOC_SERIES_EFM32PG23
18+
bool
19+
select SOC_SILABS_XG23
20+
help
21+
Silicon Labs EFM32PG23 Series MCU
22+
1623
config SOC_PART_NUMBER_EFR32ZG23B020F512IM48
1724
bool
1825
select SOC_SERIES_EFR32ZG23
1926

27+
config SOC_EFM32PG23B310F512IM48
28+
bool
29+
select SOC_SERIES_EFM32PG23
30+
2031
config SOC_SERIES
2132
default "efr32zg23" if SOC_SERIES_EFR32ZG23
33+
default "efm32pg23" if SOC_SERIES_EFM32PG23
2234

2335
config SOC
2436
default "efr32zg23b020f512im48" if SOC_PART_NUMBER_EFR32ZG23B020F512IM48
37+
default "efm32pg23b310f512im48" if SOC_EFM32PG23B310F512IM48

soc/silabs/silabs_s2/xg28/Kconfig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (c) 2025 Christoph Jans
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SILABS_XG28
5+
select ARM
6+
select ARMV8_M_DSP
7+
select ARM_TRUSTZONE_M
8+
select CPU_CORTEX_M33
9+
select CPU_CORTEX_M_HAS_DWT
10+
select CPU_HAS_ARM_MPU
11+
select CPU_HAS_ARM_SAU
12+
select CPU_HAS_FPU
13+
select HAS_PM
14+
select HAS_SWO
15+
select SOC_GECKO_CMU
16+
select SOC_GECKO_CORE
17+
select SOC_GECKO_DEV_INIT
18+
select SOC_GECKO_EMU
19+
select SOC_GECKO_GPIO
20+
select SOC_GECKO_SE
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2025 Christoph Jans
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SOC_SILABS_XG28
5+
6+
config NUM_IRQS
7+
# must be >= the highest interrupt number used
8+
default 79
9+
10+
endif
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) 2025 Christoph Jans
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SILABS_XG28
5+
bool
6+
select SOC_FAMILY_SILABS_S2
7+
help
8+
Silicon Labs XG28 Series SoC and modules
9+
10+
config SOC_SERIES_EFM32PG28
11+
bool
12+
select SOC_SILABS_XG28
13+
help
14+
Silicon Labs EFM32PG28 Series MCU
15+
16+
config SOC_EFM32PG28B310F1024IM68
17+
bool
18+
select SOC_SERIES_EFM32PG28
19+
20+
config SOC_SERIES
21+
default "efm32pg28" if SOC_SERIES_EFM32PG28
22+
23+
config SOC
24+
default "efm32pg28b310f1024im68" if SOC_EFM32PG28B310F1024IM68

soc/silabs/soc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ family:
7373
socs:
7474
- name: efr32mg29b140f1024im40
7575
- name: efr32mg29b230f1024cm40
76+
- name: efm32pg28
77+
socs:
78+
- name: efm32pg28b310f1024im68
79+
- name: efm32pg23
80+
socs:
81+
- name: efm32pg23b310f512im48
7682
- name: silabs_siwx91x
7783
series:
7884
- name: siwg917

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ manifest:
235235
groups:
236236
- hal
237237
- name: hal_silabs
238-
revision: 190a144a16bed9a938a94543ed5bbc70c0552e0f
238+
revision: 95e957408ddd967ac4b69dc32096bd3793abb76c
239239
path: modules/hal/silabs
240240
groups:
241241
- hal

0 commit comments

Comments
 (0)