boards: arm: efr32bg27_brd2602: Initial support
Adds initial support for efr32bg27_brd2602 - Thunderboard-style board. Supported features are: * counter * gpio * uart Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
This commit is contained in:
parent
bb98f48ae6
commit
df7f10422e
14 changed files with 262 additions and 2 deletions
10
soc/arm/silabs_exx32/efr32bg27/Kconfig.defconfig.efr32bg27
Normal file
10
soc/arm/silabs_exx32/efr32bg27/Kconfig.defconfig.efr32bg27
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Silicon Labs EFR32BG27 (Blue Gecko) MCU configuration options
|
||||
|
||||
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config GPIO_GECKO
|
||||
default y
|
||||
|
||||
config SOC_FLASH_GECKO
|
||||
default n
|
23
soc/arm/silabs_exx32/efr32bg27/Kconfig.defconfig.series
Normal file
23
soc/arm/silabs_exx32/efr32bg27/Kconfig.defconfig.series
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Silicon Labs EFR32BG27 (Blue Gecko) MCU configuration options
|
||||
|
||||
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_SERIES_EFR32BG27
|
||||
|
||||
config SOC_SERIES
|
||||
default "efr32bg27"
|
||||
|
||||
config SOC_PART_NUMBER
|
||||
default "EFR32BG27C140F768IM40" if SOC_PART_NUMBER_EFR32BG27C140F768IM40
|
||||
|
||||
config NUM_IRQS
|
||||
# must be >= the highest interrupt number used
|
||||
default 66
|
||||
|
||||
config PM
|
||||
select COUNTER
|
||||
|
||||
source "soc/arm/silabs_exx32/efr32bg27/Kconfig.defconfig.efr32bg27"
|
||||
|
||||
endif # SOC_SERIES_EFR32BG27
|
22
soc/arm/silabs_exx32/efr32bg27/Kconfig.series
Normal file
22
soc/arm/silabs_exx32/efr32bg27/Kconfig.series
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Silicon Labs EFR32BG27 (Blue Gecko) MCU
|
||||
|
||||
# Copyright (c) Antmicro 2023 <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_SERIES_EFR32BG27
|
||||
bool "EFR32BG27 Series MCU"
|
||||
select ARM
|
||||
select ARMV8_M_DSP
|
||||
select ARM_TRUSTZONE_M
|
||||
select CPU_CORTEX_M33
|
||||
select CPU_HAS_ARM_MPU
|
||||
select CPU_HAS_ARM_SAU
|
||||
select CPU_HAS_FPU
|
||||
select HAS_SILABS_GECKO
|
||||
select HAS_SWO
|
||||
select SOC_FAMILY_EXX32
|
||||
select SOC_GECKO_CMU
|
||||
select SOC_GECKO_CORE
|
||||
select SOC_GECKO_DEV_INIT
|
||||
help
|
||||
Enable support for EFR32BG27 Blue Gecko MCU series
|
8
soc/arm/silabs_exx32/efr32bg27/Kconfig.soc
Normal file
8
soc/arm/silabs_exx32/efr32bg27/Kconfig.soc
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Silicon Labs EFR32BG27 (Blue Gecko) MCU series
|
||||
|
||||
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_PART_NUMBER_EFR32BG27C140F768IM40
|
||||
bool
|
||||
depends on SOC_SERIES_EFR32BG27
|
5
soc/arm/silabs_exx32/efr32bg27/linker.ld
Normal file
5
soc/arm/silabs_exx32/efr32bg27/linker.ld
Normal file
|
@ -0,0 +1,5 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/scripts/linker.ld>
|
18
soc/arm/silabs_exx32/efr32bg27/soc.h
Normal file
18
soc/arm/silabs_exx32/efr32bg27/soc.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/* Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Register access macros for the EFR32BG27 SoC
|
||||
*/
|
||||
|
||||
#ifndef EFR32BG27_SOC_H_
|
||||
#define EFR32BG27_SOC_H_
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
#include <em_common.h>
|
||||
#include "../common/soc_gpio.h"
|
||||
#endif /* _ASMLANGUAGE */
|
||||
|
||||
#endif /* EFR32BG27_SOC_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue