Commit graph zephyr/soc
Author SHA1 Message Date
Immo Birnbaum
5be0f2d789 soc: st: stm32h7x: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
e21dd9504c soc: ti: am6x: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
a6966363ac soc: xlnx: zynqmp: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Phi Tran
3bc9d9b6c6 soc: renesas: rx: initial support pm for RX130
Add initial support power management for Renesas RX130

Signed-off-by: Phi Tran <phi.tran.jg@bp.renesas.com>
2025-10-22 15:59:01 +03:00
Diego Herranz
1d5c148045 soc: nxp: imx: imx7d: soc.c: enable uart1/3/4/5/7 if used in DT
Only uart2 and uart6 were considered before, so if any other uart
was used, it wouldn't work and even worse, it would crash when
trying to access it because the RDC wasn't configured.

Signed-off-by: Diego Herranz <diegoherranz@diegoherranz.com>
2025-10-22 15:55:53 +03:00
Fin Maaß
45fc6fedf3 riscv: remove unneeded select ATOMIC_OPERATIONS_BUILTIN
When RISCV_ISA_EXT_A is enabled,
ATOMIC_OPERATIONS_BUILTIN automaticly enabled,
we don't need to do it at the soc level again.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-10-22 15:54:37 +03:00
Bill Waters
f39f9bd38f soc: infineon: cat1b: psc3: noinit linker update
This device needs a custom noinit.ld file to account
for how ROM uses RAM during boot.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-10-22 09:08:58 +02:00
Aksel Skauge Mellbye
440755bd9e soc: silabs: Move Kconfig symbols for HAL selection to HAL
The Kconfig symbols for selecting HAL content should be part
of the HAL module integration, not defined by the SoC. Split the
symbols between the Series 0/1 Gecko HAL and Series 2 SiSDK HAL
when moving them.

For now, the Series 0/1 HAL symbols retain their name, while new
names consistent with the symbols already defined in the module
integration layer are used for the Series 2 HAL.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
5d0e9f5cca soc: silabs: Move Series 2 specific defconfigs to Series 2
Series 2 specific defconfigs for Bluetooth related options should
be set in the Series 2 specific defconfig file.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
d9e9f24cdf soc: silabs: Move Kconfig symbol for SE to HAL
Move the Kconfig symbol for the SE HAL to hal_silabs.
Select the symbol in the entropy driver rather than unconditionally
at the SoC level.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
fab26ef69e soc: silabs: Move Series 2 specific TRNG symbol to Series 2 Kconfig
CRYPTO_ACC_GECKO_TRNG only applies to Series 2. Don't define it at
the top level.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
2781be95c5 soc: silabs: Remove duplicate Kconfig symbol
COUNTER_GECKO_STIMER is defined by the counter driver. It should
not be present in SoC Kconfig.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
cf1fbbcf83 soc: silabs: Move Kconfig symbol for clock/device init to HAL
Kconfig symbols for selecting HAL content should be part of the
HAL module integration, not defined in the SoC tree.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
2b54dfa8aa soc: silabs: Select PM implementation per family directly
The indirection through a backend symbol for PM implementation
isn't necessary. Define symbol for PM HAL in HAL Kconfig, and
leverage it at SoC level.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
4602300a27 soc: silabs: Move Kconfig symbol for sleeptimer to HAL
Kconfig symbols for selecting HAL content should be part of the
HAL module integration, not defined in the SoC tree. Define the
sleeptimer symbol for WiSeConnect and SiSDK since both use it.

In the future, WiSeConnect should include the SiSDK configuration
and reuse it instead of redefining everything itself. This is a
larger scale refactor that this commit doesn't start tackling.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Aksel Skauge Mellbye
6786b4824f soc: silabs: Sort Series 2 dependencies
Sort symbol selections for Series 2 SoCs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-22 09:03:15 +02:00
Lauren Murphy
b3a7eeaa79 soc: intel_adsp: winstream only if not sim
Simulator console will not be used if winstream is
selected for simulators.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2025-10-22 09:03:00 +02:00
Lauren Murphy
e8a14b2494 soc: intel_adsp: send fwready msg for sim
Sends FWREADY message for simulator.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2025-10-22 09:03:00 +02:00
Tom Chang
4ab41ed47b drivers: ps2: npcx: update registers for NPCKn variant
This commit updates register definition for NPCKn variant to match the
datasheet.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-10-22 08:57:04 +02:00
Khoa Nguyen
f7563b72ee soc: renesas: ra: Select the Ethos-U NPU configuration for RA8P1
Select the Ethos-U NPU configuration for RA8P1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-22 08:56:25 +02:00
Tien Nguyen
f01d90bba2 boards: renesas: Add flash support for RZ/A3UL, N2L, T2M
Add flash support for RZ/A3UL, N2L, T2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-22 08:55:53 +02:00
Tien Nguyen
a481d4cab9 soc: renesas: Add flash memory regions for RZ/A3UL
Add flash memory regions for RZ/A3UL

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-22 08:55:53 +02:00
Henrik Grunmach
dbc16f4e46 dts: soc: nxp lpc55xxx: Add SWO support
Add ITM to common device tree and set the correct clock config
when using SWO as a logging backend

Signed-off-by: Henrik Grunmach <henrik.grunmach@rohde-schwarz.com>
2025-10-22 08:55:31 +02:00
Lucien Zhao
057eb6d281 soc: nxp: mcx: add mcxe24x series soc
- create 'mcxe' as family and 'mcxe24x' as series
- add pinctrl_soc.h
- add soc.c/.h to do system initialization
- Support flash boot if CONFIG_MCXE_FLASH_CONFIG==1

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-10-21 22:55:08 +03:00
John Batch
75c731cbcc drivers: adc: Infineon HPPASS SAR ADC Driver
Adds HPPASS SAR ADC driver and HPPASS Analog driver files to support
ADC conversion for the PSOC C3 family of MCUs.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-10-21 22:54:55 +03:00
Daniel Leung
5ec79bf556 soc: intel_adsp/ace: allows more spin relax loop per CPU
This allows adding the CPU ID to the number of NOPs in
the custom arch_spin_relax(). With the same number of NOPs
for all CPUs, it is possible to have them all doing RCW
transactions at the same time over and over again if they
enter and exit the spin relax loop at the same time.
This behavior has been observed when doing lots of context
switching, like in the SMP switching stress test. So adds
a new kconfig to fine tune the relax loop behavior if
needed. The new kconfig allows adding the CPU ID to
the number of NOPs which will add some minimal offsetting
to workaround the above mentioned situation.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-10-21 22:54:34 +03:00
Neil Chen
8a11ef30f9 soc: nxp: mcx: update config NUM_IRQS value
Update mcxa NUM_IRQS value according to part number.
Correct mcxn NUM_IRQS value to 156.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-10-21 22:52:11 +03:00
Neil Chen
4b3eb6cc69 soc: mcxa344: add SOC support for MCXA344
Add soc MCXA153 for board frdm_mcxa344

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-10-21 12:25:29 -04:00
Tahsin Mutlugun
a97b2007cf soc: adi: max32: Add support for MAX32658 SoC
MAX32658 is the 1.8V variant of MAX32657. From a software perspective,
both SoCs are functionally equivalent. Reuse the existing MAX32657
backend for MAX32658 to enable support with minimal changes.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-10-21 12:25:13 -04:00
Mohamed Azhar
83092a114a soc: microchip: add support for PIC32CZ CA SoC series
Adds initial SoC-level support for the Microchip
PIC32CZ CA80/9x series, including SoC definition files.

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2025-10-21 12:24:04 -04:00
Tony Han
7715e14efe soc: microchip: sam: update MMU for sama7g5 XDMAC
When the XDMAC is activated in the DT, configure it's register region
with strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:20 +03:00
Tony Han
0f8698ccbc soc: microchip: sam: enable CACHE_MANAGEMENT for sama7g5 series
Enable cache manamegent for sama7g5 series.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:20 +03:00
Tony Han
778232cf50 soc: microchip: sam: register clocks for sama7d65
Register sama7d65 clocks in sam_pmc_setup() which will be called by
the PMC driver.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Tony Han
7b08b91f62 soc: microchip: sam: add new SoC sama7d65
Product URL: https://www.microchip.com/en-us/product/SAMA7D65

The files under 'soc/microchip/sam/sama7/' will be used for both
sama7d5 and sama7d65 SoCs after the directory structure for sama7g5
is reorganized.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Tony Han
d7e355de73 soc: microchip: sam: optimize array size for sama7g5 registered clocks
Replace the array size for sama7g5 registered clocks with macros and
put the macros to soc.h with descriptions.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Tony Han
4c6aa7da31 soc: microchip: sam: optimize name for sama7g5 programmable clock
Change the location of the names for programable clocks from the
stack to "static struct clk_programmable" array.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 17:26:09 +03:00
Scott Worley
64ed0f70a1 soc: microchip: mec: Add common ECIA GIRQ and MMCR routines
We added ECIA GIRQ get/set/clear functions avaiable for
all MEC parts. Drivers can make use of these functions
to get, set, and clear GIRQ status and enables for
their peripheral. In cases where code requires 8/16 bit
access to these or other SoC registers we added inline
helpers modeled after Zephyr's 32-bit sys_read/write/test
routines. This commit is part of a long term goal to share
drivers among all the MEC parts.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-10-21 17:25:40 +03:00
Tony Han
1a39f7ff75 soc: microchip: sama7g5: sam: update MMU setting for sama7g5 TRNG
Update TRNG registers with strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 11:43:39 +03:00
Hou Zhiqiang
49229d3c2d soc: nxp: imx93: add resource table section for m33
Add .resource_table section to the linker script for the
i.MX93 Cortex-M33.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-10-21 11:42:38 +03:00
Hao Luo
a1954bad80 soc: ambiq: define itcm_text for apollo5x
Define itcm_text in hal_internal.ld for apollo5x

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-10-21 11:41:00 +03:00
Tony Han
11844cd3cb soc: microchip: sam: update MMU for sama7g5 PWM
When the PWM is activated in the DT, configure it's register region
with strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-20 19:19:20 -04:00
Muhammed Asif
abc755f596 soc: microchip: Add support for PIC32CX SG SoC series
Adds initial SoC-level support for the Microchip
PIC32CX SG series, including SoC definition files.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2025-10-20 19:18:18 -04:00
Gerard Marull-Paretas
aee81a86f8 soc: sifli: sf32: sf32lb52x: configure flash base address
Take it from the chosen flash node parent (MPI controller) 'nor'
register, which contains the memory mapped address for the NOR flash.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-10-20 14:23:43 -04:00
Afonso Oliveira
4f2531cf80 soc: qemu: virt_riscv: refactor interrupt controller selection
Move interrupt controller selection from SOC_FAMILY_QEMU_VIRT_RISCV
to individual SoC configurations.

This follows Zephyr best practices where hardware capabilities should
be selected at the most specific level possible (SoC porting guide).
This enables conditional selection of mutually exclusive interrupt
controllers within the same SoC.

Changes:
- Remove 'select RISCV_HAS_PLIC' from SOC_FAMILY_QEMU_VIRT_RISCV
- Add 'select RISCV_HAS_PLIC' to each individual SoC:
  * SOC_QEMU_VIRT_RISCV32
  * SOC_QEMU_VIRT_RISCV32E
  * SOC_QEMU_VIRT_RISCV64

No functional change - all existing QEMU RISC-V boards continue to
use PLIC as before.

Signed-off-by: Afonso Oliveira <afonsoo@synopsys.com>
2025-10-20 11:34:54 -04:00
Khoa Tran
c42fc3aed1 soc: renesas: ra: Add battery backup support for RA8 family
Add support for the battery backup (VBAT) functionality on
Renesas RA8 family. This allows the RTC to retain timekeeping
data when the main power supply is lost by switching to the
VBAT domain automatically. This commit add support for these
SoC series: ra8m1, ra8p1, ra8d1

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-10-20 11:19:13 -04:00
Sebastian Bøe
e57676a4f5 soc: nordic: nrf54h: uicr: Improve deps for uicr/zephyr/zephyr.hex
uicr/zephyr/zephyr.hex needs to be built after all other zephyr
images.

Instead of adding a dependency on uicr, we check the sysbuild_images
property to find images.

Also, we check it as late possible by using the cmake_language(DEFER
DIRECTORY feature. Which will ensure that running this code will be
one of the last things that the CMake sysbuild program does at
Configure time.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2025-10-20 12:00:00 +02:00
Ren Chen
0d886da068 soc: it8xxx2: move gpio-q and elpm initial to early preparation hook
Relocate the initialization of the gpio-q group and the elpm
module to early SoC preparation hook. The elpm xlpout signal
is connected to the main power rail and is driven by firmware
after bootup. Initializing these modules early ensures that
the power rail remains stable and does not drop.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-10-20 11:59:31 +02:00
Quy Tran
a34dafd724 soc: renesas: rx: Add dtc support for Renesas RX261
Add dtc support for RX261 and ram section for dtc vector
table

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-10-20 11:57:03 +02:00
Minh Tang
a944ba23b8 soc: renesas: ra: Support NMI Handler for RA8P1 SoC
Add register NMI_Handler for NMI when CONFIG_RUNTIME_NMI is enabled on
RA8P1

Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-10-19 20:51:30 -04:00
Thomas Decker
bfdf070b7d soc: st: stm32: h7rs: Add memory region to MPU region list
Add ethernet DMA buffer/descriptor region (sram2) and read only
flash region 0x08FFF800 with unique device ID registers to MPU region
list. The unique device ID is used to create a random mac address by
the ethernet driver. Ethernet DMA buffer/descriptor memory section is
also added to linker script.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-10-17 22:01:03 +03:00