Commit graph

6301 commits

Author SHA1 Message Date
Tim Lin
d3d334c584 drivers/bbram: Enable bbram driver for it51xxx series
The BBRAM driver of it51xxx is compatible with it8xxx2.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-09-02 12:33:48 +02:00
cyliang tw
16f2b2fc1c boards: nuvoton: add support for numaker m5531
Add new development board numaker_m5531 for m5531h2l.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-09-02 12:33:43 +02:00
Erwan Gouriou
196f725fd2 soc: stm32n6: Add NPU driver
Provide Neural-ART driver for STM32N6.
This driver handles unit initialization (clock, rif).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-09-01 23:27:13 +02:00
Immo Birnbaum
41716ff905 soc: renode: cortex_r8_virtual: overhaul MPU regions
Apply the same modifications made to the ZynqMP's memory
regions to the cortex_r8_virtual SoC which was mainlined
while the fixes for the ZynqMP were being developed
(minus the OCM mapping, as there's no indication that this
type of memory was considered).

The cortex_r8_virtual appears to be a stripped down copy
of the old qemu_cortex_r5 codebase, therefore, the duplicated
MPU regions have the same flaws as qemu_cortex_r5 or any
actual ZynqMP-based target for that matter.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-09-01 16:39:37 +02:00
Immo Birnbaum
7f6ee56910 soc: xlnx: zynqmp: overhaul MPU regions
Overhaul the MPU region definitions that are being
configured when the MPU is set up:
- drop local attribute definitions in favor of those
  already provided in arm_mpu_v7m.h
- actually tie the RAM region to the device tree
- set up a (potentially overlapping) R/O region for
  .text and .rodata, which hasn't existed so far
- Consider XIP

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-09-01 16:39:37 +02:00
Shontal Biton
799a3f9a4f soc: silabs: Add support for Silabs EFR32ZG28 SoC
Add support for Silicon Labs EFR32ZG28 SoC.

Signed-off-by: Shontal Biton <shontal1005@gmail.com>
2025-09-01 14:01:41 +02:00
Pieter De Gendt
c2a2f99202 soc: nxp: imxrt10xx: Configurable DCDC voltages
Allow users to configure the DCDC target voltages for low power and normal
mode.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-08-29 18:20:08 +02:00
Michał Stasiak
a9eadb411d soc: nordic: nrf54l: remove redundant inclusion of GLITCHDET
GLITCHDET is not used in this file
and causes issues for devices without GLITCHDET.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-08-28 13:59:34 +02:00
Jonathan Nilsen
3455917731 soc: nordic: ironside: run clang-format on some files
Format a few files with clang-format.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-08-28 13:58:58 +02:00
Ta Minh Nhat
4228444dd1 driver: ethernet: Add ethernet driver support for ra6m4 and ra6m5
Add ethernet support for RA6M4, RA6M5.
Add soc script for generating Renesas Partition Data (RFP file).

Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
Singed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-08-28 13:58:33 +02:00
Bastien Beauchamp
d4db7f62ec soc: silabs: add a config for low latency interrupt on Sliabs S2 devices
The high frequency clock was always restored before handling the
interrupts to make sure that the system clock is as expected. However,
the response time to interrupt when we were in EM2 was a between 300 and
600 us. By default, we use the low interrupt latency.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-28 08:57:06 +02:00
Aiden Hu
d560f54e9f soc: nxp: rw: update soc.c of rw for usb clock
usb clock enablement for UHC NXP EHCI on rw.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2025-08-27 16:35:52 +02:00
Ephraim Westenberger
a7527b1bf7 soc: Add support for the bgm240sa22vna module
Silicon Labs controller with integrated radio each rely on a specific
binary blob (RAIL library) for using the EFR32 radio subsystem.
This commit adds support for the Silicon Labs BGM240SA22VNA SoC.

Signed-off-by: Ephraim Westenberger <ephraim.westenberger@gmail.com>
2025-08-26 23:49:37 +02:00
Raffael Rostagno
5bd4741c83 soc: esp32h2: Add initial support
Add initial support files for ESP32-H2 SoC.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-08-26 22:07:36 +02:00
Sebastian Bøe
ac851ca160 soc: nordic: uicr: Reorganize how gen_uicr.py is invoked
Reorganize how gen_uicr.py is invoked.

Instead of invoking it from one of the Zephyr images we invoke it from
a new special Zephyr image called uicr.

This uicr Zephyr image is flashed in the same way as normal Zephyr
images so special handling in the runner is no longer necessary.

Also, we simplify gen_uicr.py by moving parsing of Kconfig/DT from
gen_uicr.py to CMake.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2025-08-26 09:38:18 +02:00
Jonathan Nilsen
ae191f66c9 soc: nordic: uicr: Populate UICR.VERSION field in gen_uicr.py
Set the VERSION field to 2.0 in gen_uicr.py to indicate the version of
the format the script produces blobs for. This is required for forwards
compatibility with newer versions of IronSide SE.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-08-26 09:38:18 +02:00
Arunmani Alagarsamy
06158853c3 drivers: wifi: siwx91x: Add support for regulatory domain GET
Added support for retrieving the regulatory domain information from
the siwx91x driver. Since the SDK does not provide a GET API for
region details, the driver now stores the country code and reuse
the configuration `sli_si91x_set_region_ap_request_t` to get the
channel information. This stored data is returned when a GET
operation is requested.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-08-26 09:38:05 +02:00
Arunmani Alagarsamy
eac7784574 soc: silabs: siwg917: Relocate country code mapping function
Moved the `siwx91x_map_country_code_to_region()` function
from the Wi-Fi driver source file to nwp.c.

This change prepares the codebase for upcoming enhancements
related to the regulatory domain GET operation.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-08-26 09:38:05 +02:00
Tim Lin
c4ddc85e69 soc: it51xxx: Disable default 15K pull-down on GPF4/GPF5
When GPIOF4 and GPIOF5 are not used as USB alternate function,
the default 15K pull-down should be disabled.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-08-25 13:32:58 +02:00
Filip Stojanovic
034673bc89 dts: arm: st: add stm32h523Xe support
Provide support for STM32H523XE.

Signed-off-by: Filip Stojanovic <filipembedded@gmail.com>
2025-08-25 11:39:32 +02:00
Mikhail Siomin
9135918249 soc: st: stm32: fix ccm region name in linker
Use the region name token to describe the location of sections.
Because for some linkers (e.g. llvm lld) region_name and "region_name"
are not the same.

Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
2025-08-25 09:13:33 +02:00
Mahesh Mahadevan
bd8a2d3db4 soc: rw: Fix build failures when include RTC header files
Include the RTC header files only for when Standby power
mode is enabled.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-08-24 00:07:55 -04:00
Yves Wang
d7b219cc34 dts: nxp: add ewm for mcxnx4x and ke1xz
Add ewm peripheral for nxp mcxnx4x and ke1xz.
Attach xtal32k to ewm for frdm_mcxn947.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2025-08-22 09:45:18 +02:00
Declan Snyder
8167efa28b soc: nxp: imxrt7xx: Split soc code files
Instead of one soc.c with all the code, split into files for each area
of concern.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-22 06:52:51 +02:00
Declan Snyder
6cb2bf551d soc: imxrt7xx: Split Kconfig files to CPU folders
For better organization, split the Kconfig files into one per each CPU.

Also, there was a bug where MFD was made to depend on flexcomm being
enabled, when really it probably meant to just default y if flexcomm is
enabled.

Leave Kconfig.soc in one file for the SOC.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-22 06:52:51 +02:00
Yongxu Wang
9a4ab3252d soc: nxp: imx93: m33: enable trdc setting across all execution modes
This update ensures that TRDC settings are correctly applied
when user space is enabled. By default, the M33 core operates
in privileged mode.

However, when user threads are scheduled, the system transitions
to unprivileged mode. The TRDC configuration is adjusted to support
this behavior, maintaining secure and functional access control
for both privileged and unprivileged execution contexts.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-08-22 06:52:33 +02:00
Peter Marheine
bc9b80cb02 soc: rp2350: correctly handle GPIOs >31
RP2350 has 48 GPIOs, where only the first 30 are broken out to pins on
RP2350A (same as RP2040) and the remaining 18 are only usable on RP2350B.
This change makes the soc pinctrl driver support GPIOs above 31, where
previously it was impossible to configure GPIOs 32 through 47.

Tested on RP2350B, confirming that GPIO44 can be correctly configured for
PWM.

Signed-off-by: Peter Marheine <peter@taricorp.net>
2025-08-22 03:32:16 +02:00
Sylvio Alves
34eb58c043 espressif: fix Kconfig style issues
Fix Kconfig style issues in Espressif files.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-08-21 18:41:52 +02:00
Ivan Wagner
d8d98aa2e2 soc: st: stm32wba: add support for sys_poweroff
Adding sys_poweroff to WBA family. It switches to standby
(non-retention) mode. It can be woken up by any wakeup source.

Signed-off-by: Ivan Wagner <ivan.wagner@tecinvent.ch>
2025-08-21 17:09:24 +02:00
Ayush Singh
ce57c2f39d soc: ti: mspm0: mspm0l: Selectively enable MPU
- Not all MSPM0L series socs seem to have MPU. After a glance at the TI
  website for features, only MSPM0L222x class socs seem to have MPU.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-08-21 15:46:28 +02:00
Rafal Dyla
8876a3bbd2 modules: hal_nordic: nrfs: Disabling subscription
- Code optimization for platforms which don't use subscription feature
in the temperature service.
- Test adaptation to code changes

Signed-off-by: Rafal Dyla <rafal.dyla@nordicsemi.no>
2025-08-21 11:08:09 +02:00
Guowei Li
49965a09b2 board: arm64: Add suport for ROC-RK3588-PC
Add initial support for the ROC-RK3588-PC AArch64 board.
It features a quad-core Cortex-A55 CPU based on the ARMv8.2 architecture.
This commit also enables SMP, allowing all four cores to run the
synchronization sample.

Signed-off-by: Guowei Li <15035660024@163.com>
2025-08-20 18:46:54 +02:00
Henrik Brix Andersen
d5ead50fc6 soc: st: stm32: h7x: enable cache management by default
Enable cache management by default on Cortex-M7 of the STM32H7x
series. Remove cache management enablement from the ST STM32H7B3I-DK
development board.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-08-20 16:31:52 +02:00
Henrik Brix Andersen
8af9d1a53d soc: st: stm32: allow configuration of Backup SRAM initialization priority
Add CONFIG_STM32_BACKUP_SRAM_INIT_PRIORITY for configuring the
initialization priority of the STM32 Backup SRAM driver.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-08-20 16:31:52 +02:00
Henrik Brix Andersen
205f4624c9 soc: st: stm32: automatically enable CONFIG_STM32_BACKUP_SRAM based on DTS
Automatically enable CONFIG_STM32_BACKUP_SRAM based on the devicetree node
status.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-08-20 16:31:52 +02:00
Camille BAUD
1af25a1f21 soc: bflb: Add support for BL70x SoCs
Adds SoC folder contents for BL70x

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-20 16:30:48 +02:00
Anisetti Avinash Krishna
5c7e12b53a boards: intel: Added PTL board support
Added PTL-H board support, PTL SOC and panther_lake.dtsi

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-08-20 13:56:16 +02:00
Nikodem Kastelik
6171bdaa6e soc: nordic: nrf54l: make SWO available
Existing nRF54L Series SoCs support SWO.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-08-20 13:45:53 +02:00
Camille BAUD
f6f72ac8dd soc: bflb: Add support for BL61x SoCs
Adds SoC folder contents for BL61x

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-20 13:45:26 +02:00
Mahesh Mahadevan
c3058ec765 dts: nxp_rw6xx: Use device tree property to configure XTAL32
Switch the XTAL32 configuration from Kconfig to devicetree

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-08-20 07:38:27 +02:00
Declan Snyder
ad39866b12 soc: mcxw: Add LPIT support
Enable LPIT peripheral on MCXW7x socs.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-19 23:36:06 +02:00
Declan Snyder
42ed3294f2 soc: rw: Clock ctimer if using it for PWM
Clock ctimer if being used for PWM. Otherwise, it not only doesn't work
but makes the chip unable to be communicated to by the debugger.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-19 23:35:59 +02:00
Mahesh Mahadevan
4a67a61227 soc: rw612: Handle counter overflow in Power Mode 3
The RTC counter that is used in Power Mode 3 to track
System time could overflow for large timeouts.
Add code to catch wakeup events due to this overflow and re-enter
Power Mode 3.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-08-19 23:35:32 +02:00
Dmitrii Sharshakov
b2db425b62 soc: raspberrypi: rp2350: indicate DSP extension support
Confirmed by section 3.7.2 in the datasheet (version 29 July 2025) and
running a sample piece of code exercising smuad, smladx and
other DSP intrinsics.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-08-19 19:14:29 +02:00
Sri Surya
358c113a96 soc: ambiq: apollo2: Add support for Apollo2 SoC
Added SoC series for the Ambiq Apollo2 SoC.

Signed-off-by: Sri Surya <srisurya@linumiz.com>
2025-08-19 18:00:41 +02:00
Sri Surya
3d91929346 drivers: pinctrl: Add pinctrl driver for Apollo2 SoC
This commit adds pinctrl support for Apollo2 SoC.

Signed-off-by: Sri Surya <srisurya@linumiz.com>
2025-08-19 18:00:41 +02:00
Krzysztof Chruściński
63bc35ad4c soc: nordic: Use default SYS_CLOCK_TICKS_PER_SEC for PPR core
PPR was using 1 kHz system clock frequency instead of default 31250 Hz
used on other cores with GRTC. Low frequency impacts system clock
accuracy. There is no reason to use different frequency for PPR.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-08-19 13:02:38 +02:00
Khoa Nguyen
9e66dfef44 dts: arm: renesas: ra: Add support for Renesas RA4C1 soc
Add support for Renesas r7fa4c1bd3cfp soc

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-19 13:02:29 +02:00
Aksel Skauge Mellbye
93d33faa5c soc: silabs: silabs_s2: Align power states with HAL
The definition of the EM3 energy mode is that software switches
off the LFRCO and LFXO before entering deep sleep. On Series 2,
oscillators are clocked on-demand based on peripheral requests
from hardware. Requesting EM3 will result in EM2 if any active
peripheral uses one of the oscillators, and requesting EM2
will result in EM3 if no peripherals use the oscillators.

In version 2025.6 of the HAL, this was reflected in the API
of the power manager by making EM3 an alias of EM2. Reflect
this in Zephyr by removing the separate EM3 power state.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-19 11:39:52 +02:00
Keith Packard
c5e8b6c634 soc/intel_adsp: soc_adsp_halt_cpu always fails when NUM_CPUS <= 1
When the target has only a single CPU, this function cannot ever
succeed. Skip all of the drama and just return -EINVAL. This makes GCC 14
happy as it doesn't get confused about possible out of bounds access of the
soc_cpus_active array.

Signed-off-by: Keith Packard <keithp@keithp.com>
2025-08-18 22:01:08 +02:00