Commit graph

6,613 commits

Author SHA1 Message Date
Jiafei Pan
13268e37b6 soc: imx943: a55: add netc power and clock init in soc.c
Power up NETCMIX and configure netc clock in soc_init().

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-09-05 07:43:28 +02:00
Jiafei Pan
22fe1ec2e3 soc: imx943_a55: enable gic v3 its and LPI interrupts
Added dts node for GIC v3 ITS, enabled LPI interrupts, and enabled
GIC ITS driver on the SoC.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-09-05 07:43:28 +02:00
Alessandro Manganaro
299a189508 soc: st: stm32: stm32wbax pm enhancements
soc power management rework to support power states
removing dependency on ST system clock manager (SCM).

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-09-04 21:03:19 +02:00
Declan Snyder
10e379c7fb soc: mcx: Add mcx cmc hwinfo binding
Add a stupid binding for doc purposes. Terrible coupling when we have to
configure DT in order to generate documentation properly. At least we
get rid of one of the stupid HAS_MCUX_ kconfigs in the process.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-04 08:11:43 +02:00
Benjamin Cabé
0132ea07fb doc: fix spelling errors tree-wide
fix some spelling errors in code comments and Kconfig helps

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Camille BAUD
abbeab9773 soc: bflb: Add sysmap configuration
Memory region configuration: Configure the flags of each memory
regions present on the device using the mechanism provided by
the xuantie core (chapter 9.2 of E907 manual).
This enables matching more closely the real memory space of
the device than the defaults.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-03 14:58:16 +01:00
Camille BAUD
c146af8e6a soc: bflb: BL61x tmpVal -> tmp
Variable is snakecase when it shouldnt

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-03 14:58:16 +01:00
Camille BAUD
b13ec9ab54 soc: bflb: address e24 boot failures
This should fix e24 failing to boot by ensuring
interrupts are disabled at startup

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-03 14:56:23 +01:00
Camille BAUD
1d6dd89987 soc: bflb: Remove Extraneous code
Remove unecessary unused code and Kconfig

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-03 14:56:23 +01:00
Łukasz Stępnicki
621d793726 soc: nordic: nrf54h: turn off NRFS DVFS service
DVFS is supported with IronSide call. NRFS DVFS
will be not enabled by default.

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
2025-09-03 13:48:59 +03:00
Ajay Neeli
8231941414 boards: amd: kv260_r5: update ttc0 clock frequency
- Update TTC0 clock frequency to 100MHz to align with the Configurable
Example Designs (CED) for kv260 board as used in Vivado.
- Add support for deriving SYS_CLOCK_HW_CYCLES_PER_SEC from Device Tree

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-09-03 11:03:58 +02:00
Elmo Lan
6a98a11b66 soc : realtek: ec: rts5912: fix waiting time not enough
For the ULPM set, it asks for a 10ms ready time for the module.
Use k_busy_wait instead of k_msleep to ensure we wait enough clock cycles.

Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
2025-09-02 15:54:31 +02:00
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