Commit graph zephyr/soc
Author SHA1 Message Date
Peter van der Perk
23e314d187 imx95: Cortex-M7 add FlexCAN controllers
Adds FlexCAN definitions and 80Mhz clock for correct timing

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2026-01-28 14:42:21 +01:00
Jamie McCrae
b8ab27aa40 dts: Fix incorrect/invalid usage of RAM/NVM nodes for nRF54L*
Fixes various issues with how these have been used:
- Reserved memory was wrongfully used to describe an RRAM area
  for a CPU
- Reserved memory was wrongfully used to describe an SRAM area
  for a CPU
- A partition described using reserved memory did not have the
  required NVM erase size and write size parameters set for it
- RRAM partitions were not correctly setting ranges properties
- RRAM validation wrongly took the "base flash controller" into
  considering because it was not using unit addresses
- RRAM partitions incorrect set up so that they collided with
  one another for different cores

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-28 10:18:57 +01:00
Sylvio Alves
fbafad0520 drivers: video: esp32: fix camera sensor init race condition
Move camera XCLK setup from DVP driver (POST_KERNEL) to esp_lcd_cam.c
(PRE_KERNEL_2) to ensure the image sensor receives clock before its
I2C initialization. This fixes a race condition where sensors like
ov2640 would fail to respond during probe because XCLK wasn't yet
configured.

Also adds timestamp to captured video buffers and removes a noisy
error log for set_selection when the source returns -ENOSYS.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-28 08:33:10 +01:00
Mathieu Choplain
11cfe9feed soc: st: stm32mp2x: add OpenAMP resource table section to linker script
The `.resource_table` section was not declared anywhere, leading to an
"orphan section" linker warning when OpenAMP was used with the resource
table enabled.

Fix it by adding the missing section to the SoC-specific linker script.
(the section is identical to the one defined for STM32MP1x series)

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-27 15:19:09 -06:00
Axel Le Bourhis
100f4c26a6 hal_nxp: integrate mcuxsdk ble controller ng
Move ble-controller integration to mcux-sdk-ng to make future release
integration easier. Based on 25.09.00 release, same as the existing
version.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-01-27 10:53:45 +00:00
Torsten Rasmussen
a0983a2f91 cmake: align board qualifiers in CMake with Kconfig
The value os board qualifiers in CMake and Kconfig differs.
CMake has a leading '/', as example:
CMake:   BOARD_QUALIFIERS=/nrf52840
Kconfig: BOARD_QUALIFIERS=nrf52840

This was also discussed in
https://github.com/zephyrproject-rtos/zephyr/pull/69740

This commit aligns the value of the CMake variable BOARD_QUALIFIERS to
the value of BOARD_QUALIFIERS (CONFIG_BOARD_QUALIFIERS) in Kconfig.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2026-01-27 10:52:37 +00:00
Hou Zhiqiang
1e6806bec1 soc: imx943: m33: Initialize DTCM to generate ECC bits
The TCM ECC is enabled by default after reset, so must initialize
the entire DTCM with word-aligned writes to generate vaild ECC bits
before any byte or halfword access, otherwise ECC faults will occur.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2026-01-27 08:07:08 +01:00
Tom Burdick
a5d4626b8c soc: infineon: pse84: Enable MVE instruction set
The cmsis_dsp tests were failing on the m55 due to incorrect
instructions being generated. Enabling Helium (MVEI/MVEF)
fixes the issue and most of the tests now pass.

Several tests are still failing unfortunately but no longer are
the tests failing on an vld1.16 instruction.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-26 14:02:47 -06:00
Enzo Vanhauwaert
6a5091cde0 nxp: mimxrt595_evk: enable USBD support
Enable use of USB Next stack and UDC driver for mimxrt595_evk (imxrt5xx)

Signed-off-by: Enzo Vanhauwaert <enzo.vanhauwaert@hotmail.com>
2026-01-26 13:56:44 -06:00
Appana Durga Kedareswara rao
7acd5813e9 soc: amd: Add initial support for Versal SoC APU
Add initial support for the Versal SoC APU, which is based on
the Arm Cortex-A72 processor. It includes basic wiring for memory
regions, UART, interrupt controller, and timer.

This commit introduces the SoC definition and MMU configuration
required for APU-based development on the Versal platform.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-01-26 13:56:19 -06:00
Yves Wang
bf668c8181 soc: nxp: mcxe24x: set WDT_DISABLE_AT_BOOT as y
Enable WDT_DISABLE_AT_BOOT by default for MCXE24X SoC series to prevent
unexpected system resets during initialization and development.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-26 10:14:30 -06:00
Tomasz Leman
8d072e85b1 ipc: intel_adsp: fix inverted sync wait condition
The synchronous send helper intel_adsp_ipc_send_message_sync() had
inverted logic for determining when to wait for host acknowledgment.

Before this fix, the function would:
- Return immediately (without waiting) when send succeeded (ret == 0)
- Try to wait on semaphore when send failed (ret < 0)

This is backwards. The correct behavior is to wait for the host ACK
semaphore only when the message was successfully queued for
transmission.

The inverted logic caused multiple test failures:
- HDA tests received -EBUSY on subsequent sends because tx_ack_pending
  remained true when no wait occurred
- Smoke IPC tests timed out waiting for msg_flag/done_flag because
  messages were sent without waiting for host responses
- Clock calibration tests failed because timestamp responses were never
  received

This aligns the SoC glue implementation with the test-local helper
implementations and restores the original pre-refactoring behavior.

Related to: #102103
Related to: #102106

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2026-01-26 10:13:17 -06:00
Fin Maaß
869845d6ab aesc: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
ed6a969849 andestech: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
01bc8b2351 egis: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
8f69f66059 gd: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
fb1aeeb346 intel: niosv: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
5b0a847098 ite: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
74e5e8fc13 lowriscv: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
1773d0538d microchip: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
e9333dbe24 neorv32: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
bbb216584e openhwgroup: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

also combines both SOC_CV64A6 variants

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
6733437c95 openisa: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
9b570e90f2 raspberrypi: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
raspberrypi riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
1c72c78d5f sensry: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
sensry riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
30ff2d3cae bflb: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
bflb riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
783ebd98bc sifive: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
sifive riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
617a903946 snps: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
snps riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
be7285c086 starfive: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
starfive riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
72bd920bfa telink: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
telink riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
95ff5d4247 wch: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
wch riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
a44b46887f espressif: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
espressif riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
1ab82c808c nordic: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
nordic riscv cpus.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
33e5ee9c31 renode: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
renode riscv boards.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
cf921b08d4 efinix: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
efinix riscv boards.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
d20d43b63d qemu: riscv: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
qemu riscv boards.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Fin Maaß
673994458b litex: use riscv,isa-extensions dt prop
use riscv,isa-extensions dt prop for
litex vexriscv soc.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-26 14:15:18 +01:00
Appana Durga Kedareswara rao
3adaf221f0 soc: amd: Add initial support for Versal Gen 2 SoC APU (Cortex-A78)
Add initial support for the Versal Gen 2 SoC APU, which is based on
the Arm Cortex-A78 processor. It includes basic wiring for memory
regions, UART, interrupt controller, and timer.

The versal2_apu.dtsi file defines peripherals shared across the SoC,
while versal2_a78.dtsi captures peripherals private to the Cortex-A78
processor. These device trees lay the groundwork for further APU-based
development on the Versal Gen 2 platform.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-01-26 11:56:59 +01:00
Merin George
cf6bfbfa54 soc: add flash power down/up sequence around deep sleep
Implement cyw20829 SoC specific flash power down before
entering deep sleep and power up on wake. This reduces
the overall power consumption during deep sleep

Signed-off-by: Merin George <merin.george@infineon.com>
2026-01-25 14:39:08 +01:00
Wolfgang Betz
b84bdbcee3 dts: arm: st: n6: Use dedicated dts node for NPU cache (aka CACHEAXI)
The new node is called "npu_cache".

This way a possibility is offered to choose - thru an overlay - if to
enable the NPU cache or not.
This new node has a dependency with node "npu", so the NPU cache's
status is taken into account only in case node "npu" has status "okay".

Default status value of "npu_cache" is "okay"
(i.e. enable the NPU cache).

Signed-off-by: Wolfgang Betz <wolfgang.betz@st.com>
2026-01-23 09:18:34 -06:00
Mathieu Choplain
7a8bc1cdce soc: st: stm32: cleanup linker script of STM32MP2 series
Remove inclusion of files already included by the arch linker script from
the SoC-specific linker script.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-23 13:56:53 +01:00
Mathieu Choplain
c64c13e525 soc: st: stm32: cleanup linker scripts of STM32MP1 series
STM32MP1 series used a custom SOC_LINKER_SCRIPT, but all it did was
include the main Cortex-M script, unnecessarily re-include headers already
included by the main script(!) and add a custom section.

Get rid of the custom SOC_LINKER_SCRIPT but keep the custom section by
moving it to a linker script snippet file, added to the build system using
CMake directives.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-23 13:56:53 +01:00
Vincent Tardy
6f350ae64d soc: st: stm32wba: adjust thread size if BT enabled
SYSTEM_WORKQUEUE_STACK_SIZE KConfig is setting to 1024 in case of
BT_TX_PROCESSOR_THREAD is enabled, else 2048.
BT_TX_PROCESSOR_STACK_SIZE KConfig is setting to 2048 in case of
BT_TX_PROCESSOR_THREAD is enabled.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-01-23 10:43:19 +01:00
Scott Worley
705fc203e5 soc: microchip: mec: Disable deprecated MEC5 HAL for MEC165xB/174x/175x
Due to multiple customer requests we are deprecating the MEC5 HAL.
Customers prefer all code to be in the main Zephyr tree. They do
not want a dependency on an outside SoC HAL. These changes remove
the MEC5_HAL select from MEC165xB, MEC174x, and MEC175x. The SoC
code calling the HAL for debug configuration was replaced with
a small amount of code common to all SoC's. We also moved all
the common header includes into a common SoC header to prevent
changing multiple files if new common headers are added.
Note: the in-tree drivers: kernel timer, GPIO, PINCTRL, and UART
are all non-HAL.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-22 14:34:49 -06:00
Braeden Lane
14268793a9 soc: infineon: psoc4: Add PSOC 4100S Max series support
Add initial support for the PSOC 4100S Max series, starting
with the CY8C4149AZI-S598 (100-TQFP package) used on the
CY8CKIT-041S-MAX development board.

The infrastructure supports adding additional part numbers
in the future as needed.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Håkon Amundsen
155d22a117 soc: kconfig: gen_uicr: elaborate on setting ERASEPROTECT
Provide some information on how to find the command that is used for
generating the UICR hex file so that its easier for users to
know what command to use.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2026-01-22 14:10:18 +00:00
The Nguyen
cb47fb2706 drivers: clock_control: remove clock early init for Renesas RA
Remove the root clock control early initialization because it has
already been done in the soc_reset_hooks()

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-01-22 14:02:40 +00:00
The Nguyen
9dd9132688 soc: renesas: ra: soc init hooks refactor
This commit updates the source files for Renesas RA initialization:
- The SoC reset/init now uses generic hooks from the
"soc/renesas/ra/common" instead of SoC-specific initialization hooks.
- Add soc_reset_hooks() to perform the early reset code.
- Battery-backup domain initialization has been removed from
soc_early_init() and reallocated to soc_reset_hooks().

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2026-01-22 14:02:40 +00:00
Tim Lin
125d88c172 soc: it8xxx2: Select KERNEL_NO_LTO only when LTO is enabled
Select KERNEL_NO_LTO only when LTO is enabled. This ensures proper
handling when kernel code is placed in RAM.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-01-21 17:04:50 +01:00
Lucien Zhao
0e0757cc3c soc: nxp: delete HAS_MCUX_SIM/RCM kconfig symbols
- Remove HAS_MCUX_SIM and HAS_MCUX_RCM Kconfig symbols
on NXP platforms

- delete HAS_MCUX_SIM/HAS_MCUX_RCM kconfigs,
use dt ways to get enabled SIM/RCM devices

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-21 13:03:11 +00:00