Commit graph zephyr/soc
Author SHA1 Message Date
Fin Maaß
01eaddba1c soc: litex: remove imply XIP
The litex bootloader doesn't support XIP by default,
so remove it. In the board it was already deactivated.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-09 11:12:02 -05:00
Aksel Skauge Mellbye
a30340fcf6 drivers: bluetooth: hci: silabs: Migrate to RAIL 3.0 API
Use RAIL 3.0 API to configure sleep in EFR32 HCI driver.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-09 11:08:52 +01:00
Tomasz Chyrowicz
94699ca137 nrf54h20: Add MCUboot to supported configurations
The MCUboot is supported on nRF54H20 platform.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2026-03-06 21:37:21 +01:00
Yassine El Aissaoui
0e7643c010 soc: nxp: mcxw2xx: Improve low power precision using dual-timer approach
Switch from OS timer-only approach to dual-timer strategy for improved
low power timing precision, especially for connectivity applications.

The previous approach used OS timer for both system ticks and low power
wakeup. With low tick rates, sleep time calculations lacked
precision, causing premature wakeups before BLE events, increasing power
consumption.
This rework uses high-precision SYSTICK during operation and switches
to OS timer for low power wakeup and coordination with link layer
event scheduling.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2026-03-06 21:37:01 +01:00
Pasi Liimatainen
e8fd6730b8 soc: nordic: pm support for nrf92 series
Add PM support for nrf92 series products
by making power management implementation common
to all Haltium platform

Signed-off-by: Pasi Liimatainen <pasi.liimatainen@nordicsemi.no>
2026-03-06 21:36:25 +01:00
Zhiyuan Tang
c8c36d32b7 soc: realtek: select GEN_ISR_TABLES for rtl87x2g
The function `z_isr_install()` is used during the rtl87x2g SoC init,
necessitating `GEN_ISR_TABLES`.

Enabling this config also correctly causes the `arch.arm.irq_vector_table`
testcase to be filtered out (skipped). This is expected behavior as that
test is intended for configurations without `GEN_ISR_TABLES`.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-06 11:33:46 +00:00
Jonathan Nilsen
d6d7e7dd82 modules: hal_nordic: ironside: integrate minimal IronSide call driver
Integrate support for a minimal driver for IronSide SE IPC which is
thread-unsafe, uses busy waiting, and assumes that the IPC region
is uncached. The driver is included in the IronSide interface code
itself, and is enabled by defining IRONSIDE_SE_CALL_MINIMAL.
This is primarily intended to be used by MCUboot but can be used by
e.g. resource constrained single-threaded firmware.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-03-06 10:05:29 +01:00
Jonathan Nilsen
d96d69b8fc soc: nordic: uicr: add support for new UICR features
Add support to the UICR generator image for the new features
in the IronSide support package:

Split blob generation options like GEN_UICR_PERIPHCONF
into GEN_UICR_PERIPHCONF and GEN_UICR_GENERATE_PERIPHCONF to
allow configuring the blob address independently from generating
the blob itself.

Add support for generating a UICR MPCCONF blob by extracting a table of
entries from an image ELF file. The mechanism works mostly the same
as the UICR PERIPHCONF blob generation. When the UICR generator image
finds another image that has CONFIG_NRF_MPCCONF_SECTION=y, it will
extract the data from the section named 'mpcconf_entry' and include it
in build/uicr/zephyr.hex and either build/uicr/mpcconf.hex
or build/uicr/secondary_mpcconf.hex.

Add support to the UICR generator image for setting the
POLICY_MPCCONFSTAGE field via Kconfig. Setting this to INIT is
required to make use of the new ironside_se_mpcconf_write() API
added with IronSide SE v23.4.0+27, which is used to configure
global domain MPCs.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2026-03-06 10:05:29 +01:00
Mathieu Choplain
85a2aee476 soc: st: stm32n6: initialize NPU at device priority
Use the more appropriate KERNEL_DEVICE priority as default for the NPU
instead of KERNEL_DEFAULT. While at it, also clean up the NPU-specific
Kconfig file by using an `if` block to gate symbols.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 10:00:12 +01:00
Appana Durga Kedareswara rao
bfb36af6d6 soc: xlnx: versal*: add cache line size defaults for APU
Set DCACHE_LINE_SIZE and ICACHE_LINE_SIZE configdefaults to 64 bytes
for the APU (Cortex-A) configurations on Versal, Versal2, and
Versalnet SoCs.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-05 16:07:56 +01:00
Appana Durga Kedareswara rao
562e96e8fc soc: xlnx: versal2: enable cache management by default
Enable CACHE_MANAGEMENT for both RPU and APU configurations
on AMD Versal2 SoC.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-05 16:07:56 +01:00
Appana Durga Kedareswara rao
5825da5d5f soc: xlnx: versalnet: fix Kconfig syntax for APU cache management
The Kconfig.defconfig file was using incorrect syntax for setting
default configuration values. Lines like "CONFIG_CACHE_MANAGEMENT=y"
are .config/prj.conf fragment syntax, not valid Kconfig language.

This caused the Kconfig parser to silently ignore these lines,
resulting in CACHE_MANAGEMENT not being enabled by default for
VersalNet APU builds.

Fix by using proper Kconfig syntax with "config" block and
"default y" statement. Also remove the duplicate CONFIG_CACHE_MANAGEMENT
line and the redundant ARM_ARCH_TIMER setting which is already enabled
by the top-level Kconfig.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-05 16:07:56 +01:00
Dag Erik Gjørvad
cbaf1e5a13 soc: nordic: nrf54l: fix I-cache init when built with TF-M
sys_cache_instr_enable() calls into the Zephyr cache driver
(cache_nrf.c), which is not compiled as part of the TF-M platform
build. When CONFIG_CACHE_MANAGEMENT and CONFIG_ICACHE are both
enabled, this produces an undefined reference at link time.

Use nrf_cache_enable() directly via the nrfx HAL for TF-M builds,
which is already available in the TF-M platform. Zephyr builds are
unaffected and continue to use the driver abstraction.

Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
2026-03-05 11:15:53 +00:00
Waqar Tahir
987f31dc8e soc: mcxa577: disable SystemInit when TFM is ON
Avoid initialization as this is already been taken care from TF-M
secure part

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Sylvio Alves
1f672c777a soc: esp32c6: lp core gpio driver fixes and improvements
- Fix lp_gpio Kconfig dependency to use proper
  DT_HAS_ESPRESSIF_ESP32_LPGPIO_ENABLED symbol instead of
  SOC_ESP32C6_LPCORE, and separate GPIO_ESP32 from LPGPIO_ESP32

- fix lp_gpio compatible string to espressif,esp32-lpgpio to
  match the corrected Kconfig dependency

- enable global LP core interrupts at startup via
  ulp_lp_core_intr_enable() in lp_core_startup(); the LP core
  has no interrupt allocator so this must be done once for any
  peripheral using the single interrupt vector

- enable lp_gpio in gpio_wakeup sample overlay

- fix ESP_CONSOLE_UART_NUM default for LP HP UART console

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-05 04:51:18 +01:00
Lucien Zhao
be886e5600 boards: nxp: add cpu frequency property for rt1180 boards
- add zephyr,cpu node
- get cycles value from cpu frequency property

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-05 04:50:33 +01:00
Duy Nguyen
e2dd203072 soc: renesas: ra: Select ARM MPU as default for RA8x2
Make ARM MPU configuration default for RA8x2 family to support
CPU caching

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-05 04:38:09 +01:00
Amneesh Singh
014b2db1f7 soc: ti_k3: am6x: enable cache for R5 cores
Enable cache during soc early init for Cortex-R5F cores in the TI AM6x
series.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-03-04 16:44:38 +00:00
Alexander Wachter
1b6f1c102b soc: gd32vf103: add soc.h
Add soc.h file that includes the hal soc headers.

Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
2026-03-04 16:44:03 +00:00
Appana Durga Kedareswara rao
ae1b3da68f soc: xlnx: versal: Add MPU region configuration and cache support
Implement comprehensive Memory Protection Unit (MPU) support for
Xilinx Versal RPU with the following enhancements:

MPU Region Configuration:
- Add arm_mpu_regions.c with MPU region definitions supporting
  multiple memory layouts:
  * TCM-only layout
  * Contiguous DDR layout
  * Non-contiguous DDR layout for Linux shared memory scenarios
- Configure memory regions for PL, PS peripherals, and DDR with
  appropriate memory attributes (Normal, Device, Strongly-ordered)

SoC Initialization:
- Add soc_early_init_hook() for instruction and data cache
  enablement during early boot

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-04 14:30:50 +00:00
Appana Durga Kedareswara rao
24034206a0 soc: xlnx: versal: Remove unused CRL_RST_TTC macro
Remove the unused CRL_RST_TTC register address definition from soc.h.
This macro is not referenced anywhere in the codebase.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-04 14:30:50 +00:00
Mathieu Choplain
97448bea75 soc: st: stm32: regroup Kconfig.defconfig.<soc> files in a single one
Regroup the Kconfig.defconfig.<soc> files of various series which have
identical contents for all SoCs into the per-series root file instead
(stm32XXx/Kconfig.defconfig). This reduces the number of files and is
easier to understand.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-04 13:38:44 +01:00
Arunprasath P
c73aec9bee soc: microchip: pic32cm_pl: add DT helper file
Add DT helper file for PIC32CM-PL family devices to support
SoC-specific device tree definitions and utilities.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-03-04 11:43:14 +01:00
Travis Lam
3eaf85bd22 soc: nordic: nrf71: Add WiFi Boot Kconfig in soc.c
Add CONFIG_SOC_NRF71_WIFI_BOOT, so that ns sample does not start Wi-Fi,
this is because wicr and lmac is initialised to some gibberish value
when it is not loaded this breaks the CI.

Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
2026-03-03 19:15:38 +00:00
Travis Lam
7811139604 soc: nordic: nrf71: Fix ANTSWC to run in ns
Enable ANTSWC register in spe for ns sample, so that it
is not running twice in spe and nspe.

Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
2026-03-03 19:15:38 +00:00
Jakub Zymelka
1378615ede boards: nordic: Fix nRF54L05/L10 DEVELOP_IN targets
Fix nRF54L05/L10 DEVELOP_IN targets on nRF54L15 DK.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-03-03 19:15:28 +00:00
Jérôme Pouiller
0be72dd4cb soc: silabs: siwx91x: Allow to avoid literal pools
On siwx91x, no data cache is associated with the main flash. Therefore,
all accesses to data stored in flash penalizes performances (22 CPU cycles
for 1 data access). This patch allow the user to enable
CONFIG_SLOW_FLASH_DATA

The benefit of this option depends of the workload. Some kernel benchmarks
(tests/benchmarks/app_kernel/) run up to 300% faster, while the typical
improvement is around 10-50%.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-03-03 18:02:57 +01:00
Johan Hedberg
0617c72457 modules: hal_silabs: Fix linking for Bluetooth Channel Sounding
RAIL depends on the LDMA and TIMER peripherals when Bluetooth Channel
Sounding support has been enabled, so be sure to include those in the
build for such configurations.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-03-03 13:30:27 +01:00
Hoang Nguyen
de725be58b drivers: pinctrl: Add support for Renesas RZ/G3E
Add pinctrl support for Renesas RZ/G3E

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-03 13:28:32 +01:00
Hoang Nguyen
17f27877c6 soc: renesas: Add initial support for Renesas RZ/G3E
Add initial support for Renesas RZ/G3E

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-03 13:28:32 +01:00
Y Huynh
41ab6863e0 soc: renesas: rx: Init RX clocks in soc_early_init_hook
The clock initialization for RX devices is not appropriate when it is
placed under the root clock node. Without an external fixed clock on the
board, the clock is never initialized. Therefore, the clock
setup must be handled inside soc_early_init_hook.

Signed-off-by: Y Huynh <y.huynh.xw@renesas.com>
2026-03-03 11:29:36 +01:00
Vincent Tardy
584bc2f3cb soc: st: stm32wba: hci_if: Add AES CCM Computation
Add BLEPLAT_AesCcmCrypt() function required by
the stm32wba ble library in the release
STM32Cube_FW_WBA_V1.8.0

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-03 11:15:26 +01:00
Yongxu Wang
0bea1d7223 soc: nxp: imx95: use lptmr as system tick
use lptmr timer as system tick source

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-03 11:08:56 +01:00
Jakub Zymelka
166513d6ca boards: nordic: Add nRF54LM20A as DEVELOP_IN target
Add nRF54LM20A as DEVELOP_IN target on official LM20B DK.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-03-02 15:51:07 -08:00
Hake Huang
4844407ded soc: mcx: kconfig enhancements
Kconfig enhancement for mcx series

MCXN: adds comments + begins splitting MCXN547 vs MCXN547_CPU0
 (to reflect per-core feature differences similarly).
MCXW2xx: adds new part number MCXW235BIHNAR,
  and moves CPU feature selects into the series Kconfig.

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-03-02 15:45:56 -08:00
Lucien Zhao
1630f2e05a soc: nxp: rt118x: add rt1186 parts
- add SOC_MIMXRT1186_CM33/CM7 parts

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-02 15:45:15 -08:00
Jason Yu
6c20000396 soc: nxp: mcxw2xx: correct NUM_IRQS value
The NUM_IRQS value for MCXW2xx was incorrectly set to 63. According to
the device reference manual, the correct number of interrupts is 61.

Fixes: #98279

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2026-03-02 11:00:51 +01:00
Fabin V Martin
5dc54b2179 soc: microchip: Include sercom pic32cm_pl10 mapping file
Includes file for mapping DFP macros to follow a common
macro name for sercom uart g1 driver

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-03-02 11:00:26 +01:00
Khoa Nguyen
6f65b1ac5e soc: renesas: ra: Add config to indicate the SoC support int feature
Add config SOC_RA_DYNAMIC_INTERRUPT_NUMBER to indicate the SoC
support the dynamic interrupt number assignment feature.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-02 10:48:45 +01:00
Khoa Tran
f83f6d3403 soc: renesas: ra: Add support for Renesas RA0E1 SoCs
Add support for Renesas RA0E1 SoCs

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-02 10:48:45 +01:00
Khoa Tran
1c67a64bff drivers: pinctrl: Add support for Renesas RA0 SoCs
Add pinctrl driver support for Renesas RA0 SoCs

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-02 10:48:45 +01:00
Arunprasath P
01642918a9 soc: microchip: pic32cm_jh: add DT helper file
Add DT helper file for PIC32CM-JH family devices to support
SoC-specific device tree definitions and utilities.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-02-28 21:12:52 +01:00
Bjarki Arge Andreasen
881e966732 soc: nordic: nrf54l: add support for lfxo external clock source
Add support for configuring lfxo external clock source based on
lfxo configuration in devicetree. The addition both selects
bypass mode if external-clock-source is set, and adds a build
assert to catch invalid configuration of internal load capacitors
in case external-clock-source is used.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-02-27 15:31:46 +01:00
Silesh C V
d7415b8771 soc: alif: ensemble: introduce E4 series
Add support for the Ensemble E4 series and the AE402FA0E5597LE0
SoC within this series. The SoC contains two Cortex-M55 cores:
one configured to maximize power efficiency (RTSS-HE - High
Efficiency Real Time Subsystem) and the other to maximize compute
performance (RTSS-HP - High Performance Real Time Subsystem).

The E4 series uses SOC_FAMILY_ENSEMBLE_RTSS helper symbol
introduced earlier to share the CPU architecture configuration
with the E6 and E8 series.

Link: https://alifsemi.com/products/ensemblegenai/
Link: https://alifsemi.com/ensemble-e4-series/

Signed-off-by: Silesh C V <silesh@alifsemi.com>
2026-02-27 15:31:13 +01:00
Silesh C V
e08d310388 soc: alif: ensemble: introduce E6 series
Add support for the Ensemble E6 series and the AE612FA0E5597LS0
SoC within this series. The SoC contains two Cortex-M55 cores:
one configured to maximize power efficiency (RTSS-HE - High
Efficiency Real Time Subsystem) and the other to maximize compute
performance (RTSS-HP - High Performance Real Time Subsystem).

The E6 series uses SOC_FAMILY_ENSEMBLE_RTSS helper symbol
introduced earlier to share the CPU architecture configuration
with the E8 series.

Link: https://alifsemi.com/products/ensemblegenai/
Link: https://alifsemi.com/ensemble-e6-series/

Signed-off-by: Silesh C V <silesh@alifsemi.com>
2026-02-27 15:31:13 +01:00
Silesh C V
18dc048023 soc: alif: ensemble: introduce SOC_FAMILY_ENSEMBLE_RTSS helper
All RTSS cores in the E4, E6 and E8 series SoCs in the Alif
Ensemble family share identical Cortex-M55 CPU configuration.
Introduce SOC_FAMILY_ENSEMBLE_RTSS helper symbol at the family
level to avoid duplicating these selects across series Kconfigs.

The helper will be reused by the E4 and E6 series being added in
subsequent patches.

Signed-off-by: Silesh C V <silesh@alifsemi.com>
2026-02-27 15:31:13 +01:00
Peter Wang
6dd0607939 soc: nxp: mcxa: add series level support
family->series->soc
mcxa1x3 series: soc mcxa153
mcxa1x6 series: soc mcxa156
mcxaxx4 series: soc mcxa344
mcxaxx6 series: soc mcxa346,mcxa266,mcxa366
mcxaxx7 series: soc mcxa577

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2026-02-27 08:00:30 +01:00
Alvis Sun
61d3da1b8a drivers: i3c: npcx: fix DMA read when received data is less than expected
When the received data is less than expected, DMA timeout error may occur.
This happens because the DMA transfer is not completed and the TC
(Transfer Complete) flag is never set.

This change adds support for handling cases where the received data length
is smaller than the requested length, preventing false timeout errors.

The CL covers the following scenarios:
1. received < expected  (e.g. requested 10 bytes, got 9 bytes)
2. received = expected  (e.g. requested 10 bytes, got 10 bytes)
3. received > expected
(e.g. requested 10 bytes, got 10 bytes, but more data is coming, T-bit = 1)

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
2026-02-27 07:56:00 +01:00
Andrej Butok
ff8cc8dc78 soc: nxp: mcx: Add flash runner configuration
- Adds missing flash runner configuration for mcxn/e/w
  used for sysbuild multi-image projects.
- Avoids sysbuild multiple resets and mass erases.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-02-26 19:06:07 +00:00
Bjarki Arge Andreasen
b217c3cdc4 soc: timer: nrf: patch init order of grtc and nrf54l
The nrf54l soc init configures power and clock properties like
applying trims, capacitance and setting up regulators. This must
precede the grtc driver initializing the sys clock, as it depends
on these clocks being initialized on the nrf54l series socs.

Update the nrf54l soc init to be EARLY 0, and set grtc sys clock
driver init to EARLY 1. Additionally add comments explaining why
these specific init levels where chosen.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-02-26 08:45:06 -06:00