Commit graph zephyr/soc
Author SHA1 Message Date
Daniel Schultz
90da6d4131 soc: aesc: Add pinctrl_soc.h
Add a common directorly and include the pinctrl_soc.h file for
all available cores.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
2026-05-27 08:34:52 +02:00
Tony Han
acfb59ebde drivers: ethernet: sam_gmac: handle the GMAC register with device MMIO
Handle GAMC register with device memory-mapped input/output management.
As the MMIO is used, remove the MMU configurations for GMAC accordingly.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-05-26 15:23:38 +02:00
Magdalena Pastula
d68dbaf682 soc: nordic: remove BSP old solution
Remove previous solution determinig which BSP should be
used in build.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
2026-05-26 15:18:49 +02:00
Sylvio Alves
bf57bcf4f1 soc: espressif: fix psram heap and linker-reserved window
Wi-Fi on PSRAM-enabled builds was failing because the shared multi
heap overlapped relocated .ext_ram.data noinit content. Anchor the
heap on the linker-reserved window, size esp32c5 and esp32s3 ext
segments to the cache window and bump the Wi-Fi SPIRAM heap floor.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-26 09:21:22 +02:00
Mathieu Choplain
1547f729c6 soc: st: common: stm32cube_hal: add assertions glue for HAL2
The STM32Cube HAL2 uses different hooks for assertion failures.
Attempting to enable HAL assertions on series using HAL2 right now
results in a build failure because we don't provide these hooks.

For example:
  west build samples/net/dhcpv4_client/ -b nucleo_c5a3zg
  -DCONFIG_ASSERT=y -DCONFIG_USE_STM32_ASSERT=y -p

results in the following messages (shortened for clarity):
  [293/298] Linking C executable zephyr/zephyr_pre0.elf
  FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map
  ld.bfd: in function `HAL_RCC_PSI_GetConfig':
  .../stm32c5xx/drivers/hal/stm32c5xx_hal_rcc.c:1596:
       undefined reference to `assert_dbg_param_failed'
  ld.bfd: in function `HAL_ETH_SetConfig':
  .../stm32c5xx/drivers/hal/stm32c5xx_hal_eth.c:1465:
       undefined reference to `assert_dbg_state_failed'

Add glue code needed for compatibility with HAL2 and, while at it, also
clean up the HAL1-specific hook.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-05-25 18:19:43 +02:00
cyliang tw
3cca63e10c soc: nuvoton: numaker: add support for m031x series
Add initial support for nuvoton numaker m031x SoC series
including basic init and device tree source include.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2026-05-25 18:18:15 +02:00
Sylvio Alves
d74e151ce5 soc: espressif: always enable cache management on dcache socs
ESP32-S2, S3 and C5 select CPU_HAS_DCACHE so CONFIG_DCACHE is
always y on these series. Gating CACHE_MANAGEMENT on ESP_SPIRAM
left CONFIG_DCACHE_LINE_SIZE undefined when PSRAM was disabled,
which broke any driver that reads it under CONFIG_DCACHE such as
the USB device controller buffer macros.

Drop the ESP_SPIRAM condition so CACHE_MANAGEMENT defaults to y
whenever the series is selected, matching the ESP32-P4 defconfig.
The cache line size is a CPU property that exists regardless of
PSRAM, and internal SRAM DMA paths also benefit from coherent
sys_cache_data_* operations.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-24 18:36:12 -07:00
Camille BAUD
101f1772de soc: bflb: Use unaligned FP no-MTVAL
Replace workaround and enable FP no-MTVAL trap unaligned version

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-05-22 18:26:16 +02:00
Allen Zhang
c8a5c24d86 soc: mcxw70: updated the part number
Drop last letter A from part number, use MCXW70ACMFT instead of
MCXW70ACMFTA

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2026-05-22 10:52:49 +02:00
Richard Mc Sweeney
f27c33544b drivers: Add CTB support for PSE84
Added autanalog CTB support for PSE84 device.

This implementation uses the autnonomous controller (MFD)
that is shared with other autanalog drivers.

The CTB stands for Continuous Time Block. It is a set of opamps
residing inside the autonomous (aut) analog subsystem. It is
controlled using the autonomous controller (AC), which is a
programmable state machine. The AC is shared across all autonomous
analog peripherals including the SAR, PRB, PTComp, CTB, and CTDAC.

Each CTB block contains two opamps, which need to be configured
together and accessed using the AC. A CTB MFD is used to bring
together the two opamp configurations. AC MFD then references the
combined CTB MFD configuration, and brings together all other
autanalog peripherals into a single AC setup for the application.

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-22 10:45:52 +02:00
Muzaffar Ahmed
54d512e8b9 drivers: wifi: siwx91x: Remove WPS disable macro in AP mode
In AP mode, there is not enough heap memory in NWP for a WPA2 connection's
crypto operations. This issue was reported earlier and was fixed in NWP
by reserving 5kB extra memory in TCP/IP bypass mode. However this was
pushed as a hotfix and the fix was lost in the next release.

The NWP code is frozen now and the workaround to fix this issue is to
enable a feature which reserves ~5kB memory.

Removing this macro enables WPS and reserves an 5k extra memory in NWP.
It does not affect any other functionality (such as Wi-Fi IEs).

Signed-off-by: Muzaffar Ahmed <muzaffar.ahmed@silabs.com>
2026-05-21 17:03:08 -04:00
Holt Sun
39582c1c2f soc: nxp: migrate PM hooks to idle-owned IRQ restore
Migrate NXP MCXC, MCXA, MCXN and KE1xZ system PM hooks to the
idle-owned IRQ restore contract.

Select PM_STATE_SET_IRQ_LOCKED for the migrated SoCs. Their pm_state_set()
and pm_state_exit_post_ops() no longer dispatch wake-source IRQs before PM
resume bookkeeping completes.

Remove SoC-side irq_unlock(0) calls. Use the arch PM helpers next to the
low-power instruction in implementations that execute WFI directly.

Keep power_mgmt_soc coverage enabled for the migrated MCXC boards.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-05-21 17:02:03 -04:00
Sunil Abraham
e9621a8008 drivers: dma: microchip: add g3 driver for PIC32CZ_CA family
Add DMA g3 driver support.

Signed-off-by: Sunil Abraham <Sunil.Abraham@microchip.com>
2026-05-21 06:32:09 -04:00
Sylvio Alves
d17dd59dcf soc: espressif: enable cache management on psram-capable socs
Select CPU_HAS_DCACHE on ESP32-S2, S3 and C5 and auto-enable
CACHE_MANAGEMENT in each defconfig when ESP_SPIRAM is selected.
This activates the cache_esp32 driver where it is useful, so
portable sys_cache_data_* calls keep PSRAM and DMA buffers
coherent.

The L1 dcache line size is declared via the cpu@0 devicetree
node so the generic DCACHE_LINE_SIZE Kconfig default picks it
up automatically. SoCs without writeback cache (ESP32, C2, C3,
C6 and H2) are left untouched.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-20 19:22:10 -07:00
Richard Mc Sweeney
36fbc1f89b dts: add wakeup sources for pse84
Added wakeup sources for PSE84

Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-20 20:05:00 -04:00
Richard Mc Sweeney
b5e9498071 soc: rename power states for pse84
- Renamed power states to use runtime-idle
for sleep, and suspend-to-idle for deepsleep
- Added soft-off for hibernate
- Added poweroff support mapping to hibernate

Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-20 20:05:00 -04:00
Richard Mc Sweeney
7120a9d72e drivers: Add pse84 PTComp
Added PTComp support to PSE84.

This implementation uses the shared autonomous controller (MFD)
with other autanalog drivers.

The PTComp is a programmable threshold comparator inside the
autonomous (aut) analog subsystem. It is controlled using the
autonomous controller (AC), which is a programmable state machine.
The AC is shared across all autonomous analog peripherals including
the SAR, PRB, PTComp, CTB, and CTDAC.

The PTComp block contains two comparators for edge detection and
with a capability for boolean post-processing. These two comparator
instances need to be configured together and accessed using the AC.
A PTComp MFD is used to bring together the two comparator
configurations. AC MFD then references the combined PTComp MFD
configuration, and brings together all other autanalog peripherals
into a single AC setup for the application.

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-20 20:02:35 -04:00
Muhammad Waleed Badar
d4855a0cad dts: broadcom: bcm2711: use DT clock-frequency and enable cache management
Add CPU clock-frequency to the bcm2711 device tree and use it to
derive SYS_CLOCK_HW_CYCLES_PER_SEC instead of relying on a
hard-coded value.

Also enable cache management by default for the BCM2711 SoC.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-05-20 14:07:04 +02:00
Jakub Zymelka
fb98766d72 soc: nordic: add Haltium/Lumos backward-compatibility layer
Following the removal of the internal Haltium and Lumos platform
abstractions in favor of explicit SOC_SERIES_* checks, add
backward-compatibility aliases so out-of-tree code that still
references the old names keeps building during the deprecation
period, with a clear warning pointing to the new names.

All aliases are tagged [DEPRECATED] and slated for removal in a
future release.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-05-20 10:54:58 +02:00
Albort Xue
e076682661 drivers: clock_control: Add NXP MCXW clock control driver
This commit introduces a new clock control driver for NXP MCXW series
microcontrollers, replacing the previous hardcoded clock initialization
in soc.c with a devicetree-based approach.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-05-20 10:54:22 +02:00
Ali Hozhabri
a879847c39 soc: st: stm32wb0x: Add support for CONFIG_PM_CUSTOM_TICKS_HOOK
Add support for CONFIG_PM_CUSTOM_TICKS_HOOK.

Enable CONFIG_PM_CUSTOM_TICKS_HOOK if CONFIG_PM and CONFIG_BT are set.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2026-05-19 07:39:05 -07:00
Grzegorz Ferenc
8bd2d39480 doc: ap-protect: edit kconfig option help
Edited help text for Kconfig options related to AP-Protect.
NCSDK-38220 and sdk-nrf#28677.
Follow-up to NCSDK-36611 and sdk-nrf#27088.

Signed-off-by: Grzegorz Ferenc <Grzegorz.Ferenc@nordicsemi.no>
2026-05-19 14:59:45 +01:00
Sylvio Alves
a5f6efb682 soc: espressif: align flash text end to 16-byte boundary
Insert an explicit `. = ALIGN(0x10)` at the end of the flash
text region in every Espressif SoC linker script. The flash MMU
maps code in fixed-size segments and image headers record each
segment with a 16-byte-multiple length, so the boundary between
the text region and whatever follows must land on a clean 16-byte
address. Relying on the preceding `. += 16` padding or `ALIGN(4)`
only guaranteed 4-byte alignment, which left the segment size
off-grid on builds where prior input sections happened to end at
an unaligned offset.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-19 14:59:35 +01:00
Sylvio Alves
d46d6be856 soc: esp32c5: place drom adjacent to irom in linear space
Set DROM_SEG_ORG equal to IROM_SEG_ORG and add a NOLOAD dummy
section in drom0_0_seg that advances past the end of .text.
The MMU allocator advances free_head by irom_len + drom_len
assuming the two segments are adjacent. The previous 8MB gap
left the rodata virtual range unreserved, causing 8MB PSRAM
mapping to overrun .rodata.

Place the esp_psram object in IRAM so PSRAM init does not
depend on flash reads while MSPI clock and tuning registers
are transitioning. Split esp_init_psram into chip-init plus
mmu-map steps and invalidate the flash IROM/DROM ranges in
between so the next flash fetch reloads with the final MSPI
settings.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-19 14:59:35 +01:00
Holt Sun
e3017d41a4 soc: nxp: mcxe24x: add power management support
Add power management support for MCXE24x SoC series with
four power states defined in device tree (runtime-idle and
three suspend-to-idle substates: STOP, PSTOP1, PSTOP2).

Implement pm_state_set() to handle state transitions using
the SMC (System Mode Controller) for STOP mode configuration.
When CONFIG_XIP=y, the WFI is executed from a __ramfunc so the
core does not fetch instructions from internal program flash
across the low power entry boundary.

Implement pm_state_exit_post_ops() to restore normal operation
after wakeup. No wake-up controller is required to wake the
core from these substates on this part.

Enable HAS_PM capability for the SoC series. Applications that
opt in to PM should also designate lptmr0 as the system timer
via the 'zephyr,system-timer' chosen property and enable the
node, so the LPTMR tickless driver keeps time across
STOP/PSTOPx without needing a SysTick + LPTMR companion-timer
arrangement.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-05-18 18:38:53 +02:00
Holt Sun
3a7500de74 soc: nxp: mcxe24x: enable LPTMR as system timer
Configure lptmr0 to use the RTC32K clock source at 32 kHz
(clk-source = 2) instead of the default 1 kHz LPO configuration so
the LPTMR can serve as the Zephyr system timer when an application
designates it via the 'zephyr,system-timer' chosen property and
enables the lptmr0 node.

Switching to LPTMR as the system timer is the preferred path for
PM-capable applications: SysTick's 24-bit counter at high core
frequencies yields a very short maximum sleep window and would
otherwise require a companion idle timer. Leaving the chosen
property unset at the SoC level keeps SysTick as the default for
non-PM applications, so this commit only stages the DT and
Kconfig groundwork; an application or board overlay opts in by
setting 'zephyr,system-timer = &lptmr0' and enabling the node.

Resolve SYS_CLOCK_HW_CYCLES_PER_SEC from the chosen system-timer
node so the value tracks the selected timer, and set
SYS_CLOCK_TICKS_PER_SEC to 1000 when LPTMR is the system timer.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-05-18 18:38:53 +02:00
Lucien Zhao
3063bc5f51 soc: nxp: imxrt7xx: route SEGGER RTT through nocache region
RT7xx CM33 cores have D-cache enabled on SRAM by default. The SEGGER
RTT control block and ring buffers, when placed in regular .bss, are
held in D-cache after CPU writes and never reach physical SRAM that
J-Link reads — JLinkRTTViewer finds the control block (magic was
written before cache effects accumulated) but no buffer data ever
flows.

When CONFIG_USE_SEGGER_RTT=y, default CONFIG_SEGGER_RTT_SECTION_NONE=y
so the SEGGER source leaves the control block and buffers in plain
.bss subsections under -fdata-sections, then contribute an input
section snippet to the existing CONFIG_NOCACHE_MEMORY region pulling
_SEGGER_RTT, _acUpBuffer and _acDownBuffer into the MPU
non-cacheable area.

Reuses the Zephyr nocache infrastructure with zero SRAM overhead
when RTT is not enabled, and auto-sizes when buffer sizes change.

Verified on mimxrt700_evk/mimxrt798s/cm33_cpu0 with both
samples/basic/blinky (printf + CONFIG_RTT_CONSOLE=y) and
samples/subsys/logging/logger (CONFIG_LOG_BACKEND_RTT=y).

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-05-18 10:20:15 +01:00
Tom Chang
dfe5065320 soc: npcx: update register macros for npck3m8k_evb
Certain macros were missing in the NPCK platform, leading to compilation
errors. This commit adds the necessary definitions to restore a
successful build.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2026-05-18 10:18:39 +01:00
Holt Sun
b9ae0d38b2 soc: nxp: mcxc: add power management support
Add the MCXC power management implementation and wire it into the SoC
build and Kconfig flow.

Default MCUX_LPTMR_TIMER to y when CONFIG_PM is enabled and the
zephyr,system-timer chosen property points to an LPTMR node, so the
LPTMR serves as the tickless system timer in PM use cases. (Zephyr
4.5 stopped auto-defaulting MCUX_LPTMR_TIMER from the chosen property,
matching the convention later adopted for MCXW7XX.) When LPTMR is
selected, override the SoC-side SysTick default, set
SYS_CLOCK_TICKS_PER_SEC=1024 and derive SYS_CLOCK_HW_CYCLES_PER_SEC
from the chosen LPTMR's clock-frequency. Default WUC to y whenever PM
and an LLWU node are enabled, so the LPTMR system timer driver can
register itself as a wakeup source through the WUC API.

Set OSC0_CR.EREFSTEN once at PM init so the system OSC keeps running
across STOP modes. This keeps ERCLK32K alive as the LPTMR system-timer
clock source while the CPU is suspended; without it the timer would
lose its clock on STOP entry and never wake the CPU.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-05-17 10:40:43 +02:00
Raffael Rostagno
d03a7b150a pm: esp32: Fix support to pad hold function
Both GPIO and RTC IO pad types support pad hold function.
Current implementation is only covering digital GPIOs. If the user
selects an RTC IO pin with `sleep-hold-en`, an `abort()` inside the
HAL can happen, depending on the SoC. Extend the implementation to
handle RTC IO pads through the correct hold path and add proper
validation with a warning for pads that support neither hold type.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-05-15 23:27:48 +02:00
Davide Di Lello
40496bc127 soc: infineon: Update copyright for Infineon
Update structure of the copyright

Signed-off-by: Davide Di Lello <Davide.Dilello@Infineon.com>
2026-05-15 23:27:34 +02:00
Camille BAUD
83eb83489f soc: bflb: Fix MAC
Swap 6 = start at wrong place, 00 00

Swap 8 = start at good place

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-05-15 12:57:54 +02:00
Tony Han
e79081f444 soc: microchip: sama7d6: update MMU and config generic clocks for MCAN
When the MCAN is activated in the DT, configure it's register region
with strong ordered, read and write access.
As CANx accesses the lower or upper 64K SRAM is selected by bits in
register 'SFR_CAN_SRAM_SEL', also configure SRAM and SFR region with
strong ordered, read and write access.
Configure the generic clocks for CANx when it is enabled in the dt.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-05-15 10:46:29 +02:00
Davide Di Lello
5c9b3770d9 soc: infineon: cleanup PSE84 boot sequence
Cleanup PSE84 boot sequence

Signed-off-by: Davide Di Lello <Davide.Dilello@Infineon.com>
2026-05-15 10:45:04 +02:00
Richard Mc Sweeney
76ea5b53d1 soc: add sys reboot for pse84
Added system reboot functionality to PSE84

Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-05-14 21:54:54 +02:00
Takumi Ando
45e3089802 soc: microchip: miv: Derive system timer frequency from devicetree
Derive SYS_CLOCK_HW_CYCLES_PER_SEC from the mtimer clock-frequency
devicetree property instead of hard-coding the generic Mi-V default in
Kconfig.

The mtimer clock frequency depends on the Mi-V integration. Add the
corresponding clock-frequency property to the m2gl025_miv board to preserve
the existing 4 MHz behavior.

The PolarFire SoC Mi-V port is left unchanged because it uses a common
1 MHz mtimer clock that is expected to be configured independently of the
CPU clock.

Signed-off-by: Takumi Ando <takumi@spacecubics.com>
2026-05-14 15:15:18 +02:00
Sylvio Alves
762c2f6ab7 soc: espressif: validate segment headers when traversing image
Add two cheap sanity checks: data_len must be 4-byte aligned
(ELF segment data always is) and must not exceed the SoC's
DROM mapping window (which bounds the largest possible
legitimate segment). Replace the magic 16 with
ESP_IMAGE_MAX_SEGMENTS and fix the post-loop bound check,
which was off by one due to the post-increment in the while
condition.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-13 19:00:33 +01:00
Niyas Hameed
e83b4953c2 soc: microchip: Adds support for PIC32CM SG/GC SoC series
- Adds soc support for the pic32cm_sg_gc soc series
- Adds the initialisation of RAM for ECC

Signed-off-by: Niyas Hameed <niyas.hameed@microchip.com>
2026-05-13 10:39:29 +02:00
Dag Erik Gjørvad
46d19345c0 soc: nordic: Don't override offset when TF-m is enabled
When TF-m is enabled on 54L the ROM_START_OFFSET should
not be overridden, even if MCUboot is enabled.

Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
2026-05-13 10:38:12 +02:00
Felix Wang
adc02828fd soc: nxp: imxrt: imxrt118x: update SYS_CLOCK_HW_CYCLES_PER_SEC kconfig
Support to get lptmr clock frequence for SYS_CLOCK_HW_CYCLES_PER_SEC

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-05-13 10:35:38 +02:00
Hariharan Arumugam
d24024476e drivers: pinctrl: microchip: update pinctrl driver for PIC32CK GC family
Updated pinctrl driver to support the PIC32CK GC family devices

Signed-off-by: Hariharan Arumugam <hariharan.arumugam@microchip.com>
2026-05-13 10:34:49 +02:00
Hariharan Arumugam
bd970247d5 soc: microchip: Add support for PIC32CK GC SoC series
Adds initial SoC-level support for the Microchip
PIC32CK GC series, including SoC definition files.

Signed-off-by: Hariharan Arumugam <hariharan.arumugam@microchip.com>
2026-05-13 10:34:49 +02:00
Camille BAUD
5334afd2fa soc: bflb: Add RISCV_NO_MTVAL_ON_FP_TRAP to BL60x and BL70xL
Add missing RISCV_NO_MTVAL_ON_FP_TRAP to BL60x and BL70x

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-05-13 05:12:43 +02:00
Davide Di Lello
6dd80bb155 soc: infineon: Update copyright for Infineon
Update structure of the copyright

Signed-off-by: Davide Di Lello <Davide.Dilello@Infineon.com>
2026-05-12 22:19:02 +02:00
Srinivas Edireswarapu
80b39f06b4 drivers: adc: mchp_xec: add MEC175x support and DTS encoding
Add MEC175x SoC series support to the Microchip XEC ADC driver.
Refactor the driver to use DTS-encoded GIRQ and PCR properties
instead of series-specific ifdefs, enabling a unified driver
across MEC150x, MEC172x, and MEC175x.

Update mec_adc.h register definitions to support all three SoC
series with proper Kconfig guards for 16-channel ADC variants.

Signed-off-by: Srinivas Edireswarapu <srinivas.edireswarapu@microchip.com>
2026-05-12 22:16:23 +02:00
Afonso Oliveira
3f88f69a81 riscv: integrate AIA interrupt management
Integrate AIA handling into common RISC-V interrupt enable/disable and
priority setup.

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-05-12 22:15:36 +02:00
Sylvio Alves
36ac2822f5 soc: espressif: sync with latest hal_espressif
Update hal_espressif revision and adapt drivers and linker
scripts to the new HAL APIs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-05-12 17:16:50 +02:00
Fabin V Martin
3771d5b287 soc: microchip: pic32cz_ca90: Include sercom mapping file
Include file for mapping DFP macros to follow a common
macro name across multiple SoC for sercom uart g1 driver

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-05-12 09:08:14 +02:00
Vincent Tardy
2f45f23bf3 soc: stm32wbax: hci_if: fix get rng device issue
Fix issue in case of rng device is used before
get rng device has been done.
Before calling the entropy_get_entropy_isr()
function, add get rng device procedure.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-05-12 09:02:39 +02:00
Laura Carlesso
33e06449fa boards: infineon: edge: Redo memory mapping for Edge devices
Edge devices have multiple addresses for the external memory.
SAHB (0x60.., 0x70.. for ns and s access respectively) which
are uncached but programmable and CBUS (0x08.. and 0x18..
for ns and s access respectively) which are cached and improve
performance.
Additionally, cm33 can use both SAHB aliases and CBUS alises
but cm55 can only use SAHB aliases.
Therefore this commit redefines entirely the memory map to
use mapped partitions are offsets from the base region and
selecting the base region accordingly for
the three use cases. (cm33s, cm33ns - for eval board, cm55).
To this selected set USE_DT_CODE_PARTITION
to yes for all cores in defconfig.
Additionally cleaned up config BUILD_OUTPUT_ADJUST_LMA to be
more clear in its use.
Updated the custom linker script with the mapped partitions
updates that were added to the base linker ascript in arm.
Updated the metadata function to handle the addresses
gymnastics.

Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-05-12 09:01:48 +02:00