Commit Graph

99 Commits

Author SHA1 Message Date
Jérôme Pouiller
35fb417698 boards: silabs: siwx91x: Fix compatibility with BTP
The serial pipe driver is required when the Zephyr device acts as the
remote of a host application. Especially, frameworks like BTP rely on
this driver.

Until now, the "zephyr,uart-pipe" attribute was missing. So the serial
pipe driver was unable to start.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-03-27 14:02:23 +01:00
Martin Hoff
2aca436791 boards: silabs: Update xg29_rb4412a.yaml file
Add new tag to xg29_rb4412a.yaml file and remove pm ignore tag in order
to enable more tests for the xg29_rb4412a board.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-03-20 17:14:35 +01:00
Aksel Skauge Mellbye
5d08177276 tests: drivers: adc: Add support for xg24_rb4187c
Add overlays and enable support for xg24_rb4187c in ADC tests.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-03-19 01:23:24 +01:00
Yishai Jaffe
71e31a2d33 doc: silabs: adopt zephyr:board-supported-hw directive
Replace manually authored hardware features table with the new Zephyr
board supported hardware directive which automatically generates an
up-to-date table based on the boards' Devicetree.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-03-18 19:54:38 +01:00
Sai Santhosh Malae
c6198008f5 drivers: watchdog: siwx91x: Add siwx91x WDT driver
Implement Watchdog driver for siwx91x device

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
2025-03-17 13:56:24 +01:00
Sai Santhosh Malae
935c8e4701 drivers: pwm: siwx91x: Add siwx91x PWM driver
Implement PWM driver for siwx91x device

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
2025-03-15 06:43:58 +01:00
Aksel Skauge Mellbye
fa75876170 boards: silabs: xg24_rb4187c: Add SPI and I2C buses
Add DTS configuration for SPI and I2C buses on the board.
Make use of the new zephyr:board-supported-hw Sphinx directive to
automate the list of supported features in the board documentation.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-03-13 07:22:11 +01:00
Arunmani Alagarsamy
3fd0fe9f14 boards: silabs: radio_boards: Add silabs board support for BRD4180B board
Added board support for the Silicon Labs MG21 BRD4180B radio board

Signed-off-by: Arunmani Alagarsamy <arunmani.a@capgemini.com>
2025-03-07 20:13:04 +01:00
Francois Laplante
8dad73bf47 drivers: spi: silabs: eusart: Asynchronous support
Add support for asynchronous transfer in silabs eusart spi driver.

Signed-off-by: Francois Laplante <frlaplan@silabs.com>
2025-03-07 19:47:21 +01:00
Benjamin Cabé
db2b9cd4c4 doc: silabs: adopt zephyr:board-supported-hw directive
Replace manually authored hardware features table with the new Zephyr
board supported hardware directive which automatically generates an
up-to-date table based on the boards' Devicetree.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-05 21:54:59 +00:00
Johan Hedberg
90919eb60b boards: silabs: siwx917: Fix datasheet URL
The current datasheet URL gives a 404. Update it to the correct location.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-02-19 14:51:16 +00:00
Benjamin Cabé
b1803eaf8f boards: Remove 'xtools' toolchain variant references (take 2)
A follow-up to commit fe87abe0b9
This addresses boards that had pending pull requests
at the time the initial clean-up was done.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-02-13 20:13:55 +01:00
Jérôme Pouiller
f63c6113de boards: silabs: siwx91x: Add support for si7021 sensor
Report configuration of the Si7021 in the board definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
87bd628ef5 boards: silabs: swix91x: Add support for Wifi
Report WiFi declaration in the board definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
c75740a77c boards: silabs: siwx91x: Add support for Bluetooth
Report Bluetooth HCI declaration in the board definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
24a0d0a54f boards: silabs: siwx91x: Add support for Flash
A specific section of the flash on the SiWx917 is reserved for the
Network co-processor (NWP). This zone needs to be delimited in order to
not overwrite it. We then need to use "code-partition" to provide Zephyr
the application code flash location.

Co-authored-by: Martin Hoff <martin.hoff@silabs.com>
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
3fad258adc boards: silabs: siwx91x: Add support for DMAs
Report DMA configuration in the board definitions.

Note the addresses of the DMA buffers are hardcoded in the HAL. So,
these areas have to be declared in the linker file.

Co-authored-by: Sai Santhosh Malae <santhosh.malae@silabs.com>
Signed-off-by: Sai Santhosh Malae <santhosh.malae@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
300f4fe3f4 boards: silabs: siwx91x: Add support for hardware RNG
Report entropy configuration in the board definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
42a8c06587 boards: silabs: siwx91x: Add support for GPIOs
Report gpio configuration in the board definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
1f887ca6e3 boards: silabs: siwx91x: Add support for pinctrl
Report pinctrl configuration in the board definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Jérôme Pouiller
8f82116033 boards: silabs: Add support for Silabs SiWx917 BRD4338 board
This new board definition allow to test Silicon Labs SiWx917 SoC.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-02-11 22:07:11 +01:00
Johan Hedberg
e4043824b9 boards: silabs: slstk3400a: Move stack definitions to correct place
These shouldn't be in the board _defconfig since they cannot be overridden
then. Move them to Kconfig.defconfig instead.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-02-07 21:56:19 +01:00
Aksel Skauge Mellbye
6002ecf929 boards: silabs: Configure PA voltage in device tree
Set the correct power amplifier voltage on Series 2 boards.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-02-04 09:19:53 +01:00
Aksel Skauge Mellbye
140e2c229b tests: drivers: adc: Enable ADC tests on Silabs dev kits
Add overlays for xg24_dk2601b and xg27_dk2602a for the accuracy test.
Update the api test to use named macros for readability.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-02-03 19:51:46 +01:00
Christian Galante
7d4e972f4a boards: silabs: update board support for comparator driver
The xg24_dk2601b, xg24_ek2703a, xg27_dk2602a, xg23_rb4210a,
xg24_rb4187c and xg29_rb4412a board yaml files were updated
to support the comparator driver. Documentation hardware
support was updated for each of these boards as well to
mention support for the ACMP hardware block and comparator
driver.

Signed-off-by: Christian Galante <christian.galante@silabs.com>
2025-02-03 11:16:57 +01:00
Yishai Jaffe
d503f60c70 boards: silabs: xg23_rb4210a: added spi nor
Added external mx25r8035f SPI NOR to xg23_rb4210a board

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-29 15:13:04 +01:00
Yishai Jaffe
dfbdff580e boards: silabs: xg23_rb4210a: added ls013b7dh03 display
Added the ls013b7dh03 display to the silabs xg23_rb4210a board

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-29 15:13:04 +01:00
Yishai Jaffe
6686d82a7f drivers: si7006: add support for vin supply
Added support for vin supply which seems to be needed for the radio
boards in order to power on the sensor.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-28 18:14:09 +01:00
Yishai Jaffe
72d0412529 boards: silabs: xg23_rb4210a: add Si7021 sensor
Added the Si7021 temperature and humidity sensor.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-28 18:14:09 +01:00
Yishai Jaffe
337b4cfc42 boards: silabs: xg23_rb4210a: update doc
Update the documentation for the silabs xg23_rb4210a board

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-28 18:14:09 +01:00
James Roy
ce56b987e7 dts: bindings: ethernet: Change the property names in the DTS
Rename the following propertys in bindings and DTS:
-- location-phy_mdc => location-phy-mdc
-- location-phy_mdio => location-phy-mdio
-- location-rmii_refclk => location-phy-refclk
-- location-rmii_crs_dv => location-phy-crs-dv
-- location-rmii_txd0 => location-phy-txd0
-- location-rmii_txd1 => location-phy-txd1
-- location-rmii_tx_en => location-phy-tx-en
-- location-rmii_rxd0 => location-phy-rxd0
-- location-rmii_rxd1 => location-phy-rxd1
-- location-rmii_rx_er => location-phy-rx-er
-- location-phy_pwr_enable => location-phy-pwr-enable
-- location-phy_reset => location-phy-reset
-- location-phy_interrupt => location-phy-interrupt

Signed-off-by: James Roy <rruuaanng@outlook.com>
2025-01-24 11:05:20 +01:00
Aksel Skauge Mellbye
e35cb93afa boards: silabs: xg24_dk2601b: Add SPI NOR flash
Add definition of MX25R SPI flash to device tree.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-01-23 16:31:28 +01:00
Aksel Skauge Mellbye
e4164963f2 boards: silabs: Add xG29-RB4412A radio board
Add radio board for EFR32MG29 device.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-01-20 16:34:50 +01:00
Stephanos Ioannidis
fe87abe0b9 boards: Remove 'xtools' toolchain variant references
This commit removes all references to the `xtools` toolchain variant in the
board YAML files.

Note that the `xtools` toolchain variant has been deprecated since Zephyr
v3.3.0 and now removed.

The removal process was automated using the following command line:

  git grep -l xtools -- boards/*.{yml,yaml} | \
  xargs -n 1 -P $(nproc) \
  yq -i 'del(.toolchain[] | select(. == "xtools"))'

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-01-17 10:50:07 +01:00
Yishai Jaffe
62ea40bb9e drivers: spi: silabs: remove gecko from name
Gecko is being phased out so we changed every mention of gecko in the
silabs spi drivers

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-16 22:43:59 +01:00
Yishai Jaffe
3414619eec boards: silabs: xg23_rb4210a: use new eusart driver
Example for using new EUSART driver. Will remove this commit later.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-16 22:37:40 +01:00
Aksel Skauge Mellbye
e77ea215bd drivers: hwinfo: silabs: Add hwinfo driver for Series 2
Add hwinfo driver for Silicon Labs Series 2 devices. The driver
is separate from the Series 0/1 Gecko driver because the available
reset causes are completely different.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-01-14 13:26:23 +01:00
Jérôme Pouiller
3bf8bcee45 boards: silabs: Drop clock configurations for Series-2
Since commit bda8ae8c3f ("drivers: clock_control: silabs: Add clock
control driver"), clock configuration is defined in Device Tree.

We can drop now unused configurations existing in board definitions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-01-07 20:34:12 +01:00
Yishai Jaffe
0f948fdb1c soc: silabs: efr32xg23: add DMA support
Added DMA support to efr32xg23 socs and boards containing them.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2024-12-30 19:47:19 +01:00
Daniel Fuchs
da91dbdd52 doc: silabs: fix J-Link firmware update instructions
J-Link firmware images for silabs boards are not distributed by
SEGGER, fw update should be done with Simplicity Studio instead.

Signed-off-by: Daniel Fuchs <software@sagacioussuricata.com>
2024-12-30 08:43:12 +01:00
Daniel Fuchs
32e39c164c boards: silabs: add EK2703A support
Based on board files for DK2601B. The EFR32xG24 Explorer Kit
(xG24-EK2703A) is similar to the DK2601B but does not have any
sensors onboard.

Signed-off-by: Daniel Fuchs <software@sagacioussuricata.com>
2024-12-30 08:43:12 +01:00
Yishai Jaffe
99a503e661 boards: silabs: xg23_rb4210a: added more supported hardware
Added more supported hardware to xg23_rb4210a.yaml

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2024-12-27 15:42:54 +01:00
Yishai Jaffe
503721bbcc boards: silabs: removed FLASH_BASE_ADDRESS
Removed FLASH_BASE_ADDRESS configuration from various boards' Kconfig.
The only thing needed in order to do this was to update the relevant dtsi
files so that the flash0 node has its reg property configured properly.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2024-12-20 16:06:04 +01:00
Yishai Jaffe
2ca889f617 boards: silabs: Add support for SiLabs EFR32ZG23 BRD4210A board
Add support for Silicon Labs BRD4210A (a.k.a xG23-RB4210A) Radio Board.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2024-12-18 20:32:46 +01:00
Yishai Jaffe
3d68d0543e boards: silabs: radio_boards: fix board.yml format
Fixed board.yml format for the silabs radio_boards and added the silabs
vendor line.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2024-12-18 01:00:18 +01:00
Martin Hoff
31b6c250c5 boards: silabs: update board description about dma
Update sltb010a,slwrb4180a, xg24_dk2601b and xg27_dk2602a boards
descriptions in order to run dma test. Also update boards
documentations.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2024-12-16 18:24:51 +01:00
Johan Hedberg
c49881870f boards: silabs: Remove redundant enabling of BT_SEND_ECC_EMULATION
This option gets the default value "y" whenever HAS_BT_CTLR is enabled, and
since the EFR32 HCI driver now selects HAS_BT_CTLR the right thing happens
either way.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-12-06 22:21:21 +01:00
Evgenii Kosenko
38e799fe2d boards: silabs: add ecc config to silabs bt boards
Adds CONFIG_BT_SEND_ECC_EMULATION on silabs bluetooth boards.

Signed-off-by: Evgenii Kosenko <Evgenii.Kosenko@silabs.com>
2024-11-29 14:50:13 +01:00
Evgenii Kosenko
0f2f158336 boards: silabs: add default uart-pipe options
Add uart-pipe driver default option in device trees for silabs boards.
It enables vcom for the boards, handy to have for sample application, for
example tester app.

Signed-off-by: Evgenii Kosenko <Evgenii.Kosenko@silabs.com>
2024-11-29 14:50:13 +01:00
Aksel Skauge Mellbye
26215a7d3b boards: silabs: Remove usage of no-op pin number macro
The GECKO_PIN() macro does not do anything except pass the
argument through unaltered. It only serves to make DeviceTree
files more verbose. It was inconsistently used, make the .dts
files consistent by never using it.

The DBUS pinctrl driver doesn't use the port or location macros
from the gpio_gecko.h header. The pin number macro is the only
other thing defined in this header. Stop including the header on
Series 2 based boards.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-11-27 22:51:55 -05:00