Commit graph

6,613 commits

Author SHA1 Message Date
Arunprasath P
43f1c27bdd drivers: pinctrl: microchip: Fix header include style
Fixed the include directive for mchp_pinctrl_pinmux_sam.h
by replacing quotes with angle brackets.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-09-24 19:19:04 -04:00
Arunprasath P
b65a0ffca8 modules: Reorganize directory structure and update Kconfig symbols
- Update the path of pinctrl.h in sama7g54_ek.dts
- Select CONFIG_MICROCHIP_SAM for sama7g5 family devices
- Add SAM group Kconfig symbol for proper family grouping
- Rename PIC32C Kconfig symbol to MICROCHIP_PIC32C
  and update references
- Update west.yml for hal-microchip re-organization

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-09-24 19:19:04 -04:00
Zhaoxiang Jin
c54aaeb287 boards: lpcxpresso55s36: Support opamp on lpcxpresso55s36
1. Add opamp node for lpc55S36.
2. Support opamp for lpcxpresso55s36.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-24 19:18:11 -04:00
Mahesh Mahadevan
e0e50fa869 soc: nxp: mcxw7xx: Fix MISRA compliance
Add curly braces around the while block

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-09-24 19:17:22 -04:00
Allen Zhang
da307aaed3 soc: mcxw: Move mcxw2x into mcxw and creat mcxw7x subfolder
move mcxw2x into mcxw and created mcxw7x subfolder for mcxw71/mcxw72

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2025-09-24 19:17:22 -04:00
Allen Zhang
438a628568 soc: mcxw235,mcxw236: add SOC support for MCXW235 and MCXW236
add soc MCX235 and MCXW236 for board frdm_mcxw23

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2025-09-24 19:17:22 -04:00
Bjarki Arge Andreasen
1767f131aa pm: refactor PM_S2RAM_CUSTOM_MARKING option to be promptless
The config PM_S2RAM_CUSTOM_MARKING is not an optional config for a
user to select, it is required by some soc implementations of S2RAM,
in which case it must be selected by the soc.

Refactor the configuration to be HAS_PM_S2RAM_CUSTOM_MARKING, and
make the currently only soc which needs it select it. Then update
samples which previously had to select this option for this soc.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-09-23 12:07:59 -04:00
Mohamed Azhar
6241d249a9 drivers: pinctrl: microchip: update pinctrl driver for Port G1 IP
Update pinctrl driver for Microchip Port G1 Peripheral IPs

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2025-09-23 09:41:05 +01:00
Quy Tran
28aa503792 soc: renesas: rx: Add missing SOC_EARLY_INIT_HOOK for RX
Add missing SOC_EARLY_INIT_HOOK for Renesas RX

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-09-23 09:40:12 +01:00
Hoang Nguyen
f284a583ac soc: renesas: Add condition to select arm_arch_timer driver for RZ/A3UL
Select ARM_ARCH_TIMER when RZ_OS_TIMER is not selected

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-23 09:39:35 +01:00
Ioannis Karachalios
4c575732e2 soc: renesas: smartbond: Update I-cache re-configuration scheme
This commit should deal with updating the re-configuration of the
I-cache controller when buidling for mcuboot. Previously, the whole
controller was updated, given that a slot entry adheres to controller's
peculiarities (that is an image should be aligned to specific image sizes
i.e. 256kB, 512kB, etc). However, that approach should adversely affect
flash memoy layout. The proposed scheme now imposes that images be aligned
to minimum cache-able area, that is 64KB.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2025-09-23 09:39:15 +01:00
Benjamin Cabé
d7a5d84b1c boards: snps: use correct revision scheme
revisons must be major.minor.patch so add the missing patch

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-22 17:49:08 -04:00
Dong Wang
57ae93e8e3 soc: ish: Move PM init into power.c and connect IRQs in it
- Add SOC interrupt properties and interrupt-names ("reset_prep", "pcidev",
  "pmu2ioapic") to intel_ish5 DTS files so PM IRQs are discoverable via DT.
- Move SEDI PM initialization and IRQ setup into ISH SOC PM init:
- Remove the direct call to sedi_pm_init() from soc_early_init_hook in
soc.c.
Previously SEDI code has those IRQ numbers hard coded and calls Zephyr APIs
to connect IRQs, which should be avoided.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2025-09-22 13:30:55 -04:00
Dong Wang
b64e30b119 soc: intel_ish: Improve ISH PM logging
- cleanup header files included.
- Rename LOG_MODULE_REGISTER from pm_service to ish_pm and use
  CONFIG_PM_LOG_LEVEL.
- Guard verbose debug traces so they only print for suspend-to-RAM/long
  idle states, reducing runtime noise.
- Promote an unsupported power state message from LOG_DBG to LOG_ERR.

No functional change to power handling; changes are limited to logging
and verbosity control.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2025-09-22 13:30:55 -04:00
Ioannis Karachalios
4195770b62 soc: renesas: smartbond: Select ARM DWT feature
Select ARM DWT feature to suppress build warning related to null pointer
detection mechanism.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2025-09-22 13:29:36 -04:00
Sebastian Bøe
38a0f713a6 soc: nordic: uicr: Add support for SECURESTORAGE
Add UICR.SECURESTORAGE configuration based on device tree partitions.
Validates partition layout and populates size fields in 1KB units.
Handles missing partitions gracefully.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2025-09-22 13:28:55 -04:00
Khoa Tran
00d18a6113 soc: renesas: ra: Change the counter of g_protect_counters
Change the counter value of g_protect_counters following HAL

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-09-22 09:52:27 +02:00
Zhaoxiang Jin
39f6b5e9e3 soc: nxp: imxrt: Convert camel case to snake case
Convert camel case to snake case

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-20 11:10:05 +02:00
Mahesh Mahadevan
efe34d04d2 drivers: nxp: Use a MACRO to enable Wakeup signals
Switch to using the new NXP_ENABLE_WAKEUP_SIGNAL and
NXP_DISABLE_WAKEUP_SIGNAL macros to avoid adding
platform specific calls in the Zephyr drivers.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-09-20 11:09:00 +02:00
Mahesh Mahadevan
b0624af741 soc: nxp: Add Macros to handle variation in managing Wakeup IRQ
The SDK code to handle managing Wakeup IRQ's for low power mode
varies between SoC's.
Add a MACRO that can be called by the Zephyr drivers so we
can manage these variations without adding SoC specific code
to the drivers.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-09-20 11:09:00 +02:00
Mahesh Mahadevan
fd040a40c0 soc: nxp: Add common folder to the include path
This will allow us to add header files to the
common folder

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-09-20 11:09:00 +02:00
Alexandre Rey
65880fab56 soc: nxp: replace WDOG_ENABLE_AT_BOOT by WDT_DISABLE_AT_BOOT
Using WDT_DISABLE_AT_BOOT instead of WDOG_ENABLE_AT_BOOT prevents the
definition of z_arm_watchdog_init, which is important because the COP
watchdog configuration register can only be configured once.

Signed-off-by: Alexandre Rey <alx.rey@icloud.com>
2025-09-20 11:08:45 +02:00
Almir Okato
786c9fb35e flash: espressif: erase region before writing if encryption enabled
Ensuring flash region has been erased before writing to avoid
inconsistences and force expected erased value (0xFF) into
flash when erasing a region when Hardware Flash Encryption is
enabled
This is handled on this implementation because MCUboot's state
machine relies on erased valued data (0xFF) readed from a
previously erased region that was not written yet, however when
hardware flash encryption is enabled, the flash read always
decrypts whats being read from flash, thus a region that was
erased would not be read as what MCUboot expected (0xFF).

Signed-off-by: Almir Okato <almir.okato@espressif.com>
2025-09-19 17:57:07 -04:00
Almir Okato
f6a2821b23 soc: espressif: move flash_mmap and esp_flash_api to iram/dram sections
Move both objects to IRAM/DRAM sections.

Signed-off-by: Almir Okato <almir.okato@espressif.com>
2025-09-19 17:57:07 -04:00
Bjarki Arge Andreasen
7c4b0c29f0 soc: nordic: nrf54h: bicr: fix incorrect scaling of lfrccal props
The lfrccal takes the two properties tempMeasIntervalSeconds and
tempDeltaCalibrationTriggerCelsius which are in steps of 0.25.
The bicrgen.py script incorrectly treated these values as steps
of 1, so the actual values written to (and read from) bicr where
scaled incorrectly.

This commit fixes the scaling for those two props.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-09-19 12:46:14 -04:00
Gerard Marull-Paretas
2d50a4176b drivers: pinctrl: sf32lb52x: initial driver
Initial driver for SF32LB52X SoCs.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
6135b8e450 soc: sifli: sf32: signal HAL selection and use CMSIS HAL glue code
This brings CMSIS HAL glue code, which is required if we want to enable
any HAL module without everything blowing up. cmsis_core_m_defaults.h
cannot be used once we enable HAL. CMSIS is that nice.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
be6813febb soc: sifli: introduce SF32LB52x
SF32LB52x is a SoC from SiFli Technologies(Nanjing) Co., Ltd, based on
Arm Star-MC1 core (Cortex-M33 compatible).

For more details, see:
https://wiki.sifli.com/en/hardware/SF32LB520-3-5-7-HW-Application.html
https://wiki.sifli.com/en/hardware/SF32LB52B-E-G-J-HW-Application.html

0-3-5-7 are powered using a Lithium battery and support USB charging.
B-E-G-J are powered at 3.3V and do not support charging.

Other termination codes indicate what type of memory and size is
embedded in the package (QSPI NOR or PSRAM).

Other families exist within the SF32LB family, like SF32LB56x,
SF32LB58x, etc.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Mohamed Irfan
91f3447ccd soc: siwg917: nwp: PM enablement of BT for siwx91x
Added BT PM changes for nwp driver

Signed-off-by: Mohamed Irfan <irfan.mohamed@silabs.com>
2025-09-19 16:33:18 +02:00
Khanh Nguyen
9421b82699 soc: renesas: Enable secure security attribution for DMA module
Currently, the DMA on several Renesas boards is failing due to
the security attribution of DMA.

As a solution: Enable secure security attribution
for DMA module for:
- RA6: ra6e1, ra6e2, ra6m4, ra6m5
- RA4: ra4c1, ra4e1, ra4e2, ra4l1, ra4m2, ra4m3

Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-19 08:35:41 -04:00
Ren Chen
de93d4f41c soc: ite: it82xx2: add it82000.bw variant support
as title.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-09-19 08:35:10 -04:00
Bjarki Arge Andreasen
61a9d6aa45 soc: nordic: enable CONFIG_PM_DEVICE_RUNTIME_DEFAULT_ENABLE for all
Enable CONFIG_PM_DEVICE_RUNTIME_DEFAULT_ENABLE by default for all
nordic SoCs if CONFIG_PM_DEVICE_RUNTIME is used. This will ensure
consistent behavior across all nordic SoCs and remove the need
for pasting the devicetree propert zephyr,pm-device-runtime-auto
everywhere.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-09-19 08:06:09 +02:00
Qiang Zhao
77f035ebe7 soc: imx93 m33: enable CPU_CORTEX_M_HAS_DWT
enable CPU_CORTEX_M_HAS_DWT for imx93 core m33

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-09-18 13:48:15 -04:00
Aksel Skauge Mellbye
2a26c20693 soc: silabs: Add BGM220P modules
Add support for BGM220P modules. Enable oscillators in SoC DTS
since the necessary crystals are present in the modules.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-18 15:43:02 +01:00
Aksel Skauge Mellbye
963454ac46 soc: silabs: xg22: Add missing EUART0 peripheral
Add missing EUART0 peripheral to devicetree for xg22.
Fix NUM_IRQS, there are 64 external interrupts on xg22.
Remove `select` of UART_INTERRUPT_DRIVEN at SoC level, this doesn't
belong here, since it prevents disabling the UART. This should be a
board or application level decision.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-18 15:43:02 +01:00
Hau Ho
e45080bcd0 soc: renesas: rx: Initial support for RX26T SOC
This commit to initial support for RX26T SOC using Renesas RXv3 core.

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2025-09-18 15:40:34 +01:00
CHEN Xing
b850f1b94f soc: microchip: sam: update for sama7g5 sdmmc
Update MMU and GCLK configurations for sdmmc.

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-09-17 19:12:45 -04:00
Jonathan Nilsen
6b93eacb6c soc: nordic: uicr: print cmake warning when used without sysbuild
Because generation and programming of UICR + PERIPHCONF artifacts
depend on the 'uicr' image which in turn must be included by Sysbuild,
many if not most nrf54h20 applications will need to be built using
Sysbuild to function as intended.

To make this known to the user, print a CMake warning whenever
CONFIG_NRF_PERIPHCONF_SECTION=y but Sysbuild is not being used.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-09-17 19:12:36 -04:00
Jonathan Nilsen
1cb9408f19 soc: nordic: nrf54h: generate PERIPHCONF entries based on devicetree
Add build system support for populating the PERIPHCONF
(global domain peripheral configuration), based on nodes and properties
found in the devicetree. This should make it so all samples and tests
that were broken by the move to IronSide SE now function correctly
without workarounds or manual steps.

When enabled, a new python script called gen_periphconf_entries.py is
run when building. The script iterates over nodes and properties in the
devicetree and generates a C file called periphconf_entries_generated.c
in the build directory, which is added as a source file. The C file
uses the macros from uicr.h to configure the global domain according
to the devicetree.

The PERIPHCONF entry generation is enabled by default when building
for nrf54h20dk/nrf54h20/cpuapp and nrf54h20dk/nrf54h20/cpurad.
It will also be used on nrf9280 soon, therefore it is placed
in the common uicr directory.

This new feature does the same job as nrf-regtool did when building
for nrf54h20 before, and is compatible by the bindings that were used
by nrf-regtool.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-09-17 19:12:36 -04:00
Yassine El Aissaoui
0c9a8c6813 soc: nxp: mcxw: Fix MCXW71 BLE warning during init
SOC_MCXW716C is using a different ACL_TX_COUNT compared
to SOC_MCXW727C

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-09-17 14:54:39 +02:00
Erwan Gouriou
e4dcd5d10c soc: st: stm32n6: Provide static mpu regions for !XIP
In !XIP case, provide RAM_RO and RAM_RW regions with their
respective MPU configurations.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Co-authored-by: Sudan Landge <sudan.landge@arm.com>
2025-09-17 14:54:28 +02:00
Erwan Gouriou
d734c3768a soc: stm32n6: Compute FLASH_SIZE when XIP=y
In XIP, we need to know FLASH_SIZE.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-09-17 14:54:28 +02:00
Erwan Gouriou
9e46716d09 soc: stm32: stm32n6: Define MPU_GAP_FILLING also with USERSPACE
MCU_GAP_FILLING is advised on ARMv8 based platforms to prevent from
against attacks that attempt to execute malicious code from SRAM.
It is enabled by default when USERSPACE is disabled, enable it
also when enabled.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-09-17 14:54:28 +02:00
Devin Jaenicke
d2600ba839 soc: silabs: Add support for bgm220sc22hna2 module
This commit adds support for the Silicon Labs BGM220SC22HNA2 SoC.

Signed-off-by: Devin Jaenicke <devinjaenicke@glassboard.com>
2025-09-17 11:16:17 +01:00
Manuel Argüelles
0f0cad00d4 drivers: pinctrl: nxp: drop soc name from siul2 driver
The SIUL2 pin control driver is a native implementation usable across
all NXP SoCs with SIUL2 IP. Remove the "S32" prefix to allow clean
reuse by other families.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2025-09-17 10:07:31 +02:00
Albort Xue
d5f4976f71 soc: nxp: imxrt10xx: update range of DCDC output voltage.
According to the datasheet, NXP recommands a DCDC output
voltage range of 0.925V to 1.3V.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2025-09-17 08:44:07 +02:00
Jason Yu
bd10f9301e drivers: hwinfo: mcux_src_rev2: Change to use dts as dependency
Originally the driver is selected if `HAS_MCUX_SRC_V2` is
selected in SOC level kConfig.
Change to use dts to mark the driver is avaiable for some SOC.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-09-17 08:43:16 +02:00
Lucien Zhao
30d5243ed4 samples: drivers: i2s_codec: support sai1 codec function on RT1180
- add imxrt_audio_codec_pll_init function in soc.c
- add sai1 pin configuration
- Verify i2s_codec case on cm33/cm7 core

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-17 08:42:44 +02:00
Biwen Li
b50b091e9c boards: nxp: imx943_evk: enable m70 and m71
Enable m70 and m71 for imx943_evk

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-09-17 08:42:32 +02:00
Anisetti Avinash Krishna
377926ca0d soc: intel: Added support for sys_poweroff on adl and atom
Added support for sys_poweroff on ADL and ATOM socs based on
acpi_poweroff.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-09-16 17:20:41 -04:00