Commit fee86aec authored by Aksel Skauge Mellbye's avatar Aksel Skauge Mellbye Committed by Anas Nashif
Browse files

boards: silabs: Consistently name radio boards



Rename all Silicon Labs radio boards to always use the official kit name of
the kit containing only the radio board as board target name. Disentangle
boards using Series 1 and Series 2 SoCs that have almost nothing in common
in terms of devicetree content, but still occupied the same directory.

As part of the initial HWMv2 port, all radio boards were merged into a
single target efr32_radio, using the SoC as a board qualifier to target
specific boards. This was unfortunate, as the SoC name is not sufficient
to identify a specific board -- the same SoC may be used on multiple
different boards. This commit reinstates every radio board as an individual
board target.

Signed-off-by: default avatarAksel Skauge Mellbye <aksel.mellbye@silabs.com>
parent bc6c363b
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -143,26 +143,29 @@ set(efm32pg_stk3402a_DEPRECATED
set(efm32pg_stk3402a_jg_DEPRECATED
    efm32pg_stk3402a/efm32jg12b500f1024gl125
)
set(efm32gg_slwstk6121a_DEPRECATED
    slwrb4321a
)
set(efr32_radio_brd4104a_DEPRECATED
    efr32_radio/efr32bg13p632f512gm48
    slwrb4104a
)
set(efr32_radio_brd4161a_DEPRECATED
    efr32_radio/efr32mg12p432f1024gl125
    slwrb4161a
)
set(efr32_radio_brd4170a_DEPRECATED
    efr32_radio/efr32mg12p433f1024gm68
    slwrb4170a
)
set(efr32_radio_brd4180a_DEPRECATED
    efr32_radio/efr32mg21a020f1024im32
    slwrb4180a
)
set(efr32_radio_brd4187c_DEPRECATED
    efr32_radio/efr32mg24b220f1536im48
    xg24_rb4187c
)
set(efr32_radio_brd4250b_DEPRECATED
    efr32_radio/efr32fg1p133f256gm48
    slwrb4250b
)
set(efr32_radio_brd4255a_DEPRECATED
    efr32_radio/efr32fg13p233f512gm48
    slwrb4255a
)
set(efm32gg_sltb009a_DEPRECATED
    sltb009a
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ Silicon Labs

.. toctree::
   :maxdepth: 2
   :titlesonly:
   :glob:

   */*
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 */

#include <zephyr/dt-bindings/input/input-event-codes.h>
#include "efr32_radio-pinctrl.dtsi"
#include "efr32-series1-common-pinctrl.dtsi"

/ {
	chosen {
+0 −15
Original line number Diff line number Diff line
# EFR32BG13 BRD4104A / EFR32MG21 BRD4180A /
# EFR32FG1P BRD4250B / EFR32FG13P BRD4255A board

# Copyright (c) 2020 Piotr Mienkowski
# Copyright (c) 2020 TriaGnoSys GmbH
# SPDX-License-Identifier: Apache-2.0

config BOARD_EFR32_RADIO
	select SOC_PART_NUMBER_EFR32BG13P632F512GM48 if BOARD_EFR32_RADIO_EFR32BG13P632F512GM48
	select SOC_PART_NUMBER_EFR32MG12P433F1024GM68 if BOARD_EFR32_RADIO_EFR32MG12P433F1024GM68
	select SOC_PART_NUMBER_EFR32MG12P432F1024GL125 if BOARD_EFR32_RADIO_EFR32MG12P432F1024GL125
	select SOC_PART_NUMBER_EFR32FG1P133F256GM48 if BOARD_EFR32_RADIO_EFR32FG1P133F256GM48
	select SOC_PART_NUMBER_EFR32MG21A020F1024IM32 if BOARD_EFR32_RADIO_EFR32MG21A020F1024IM32
	select SOC_PART_NUMBER_EFR32MG24B220F1536IM48 if BOARD_EFR32_RADIO_EFR32MG24B220F1536IM48
	select SOC_PART_NUMBER_EFR32FG13P233F512GM48 if BOARD_EFR32_RADIO_EFR32FG13P233F512GM48
Loading