Commit Graph

4037 Commits

Author SHA1 Message Date
Bjarki Arge Andreasen
2b0d1ae4d0 soc: nordic: nrf54h: transition from gpd to zephyr pinctrl and pds
Transition nrf54h away from the soc specific gpd
(global power domain) driver which mixed power domains, pinctrl
and gpio pin retention into a non scalable solution, forcing soc
specific logic to bleed into nrf drivers.

The new solution uses zephyrs PM_DEVICE based power domains to
properly model the hardware layout of device and pin power domains,
and moves pin retention logic out of drivers into pinctrl and
gpio, which are the components which manage pins (pads).

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-07-29 09:03:37 -04:00
Neil Chen
a128f55b5d boards: frdm_mcxa156: add temperature sensor support
1. enable temperature sensor support
2. verified samples/sensor/die_temp_polling

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-07-29 11:21:29 +01:00
Neil Chen
db1abaaf67 boards: frdm_mcxa153: add temperature sensor support
1. enable temperature sensor support
2. verified samples/sensor/die_temp_polling

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-07-29 11:21:29 +01:00
Neil Chen
48bbe114a9 boards: frdm_mcxn236: add temperature sensor support
1. enable temperature sensor support
2. verified samples/sensor/die_temp_polling

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-07-29 11:21:29 +01:00
Jiafei Pan
8f3ed40672 dts: arm: imx943_m33: update netc device nodes
Update NETC device nodes according to NETC driver update:
1. Added "nxp,imx-netc" compatible for netc driver.
2. Added all memory region in MMIO reg propertiy to let driver to handle
   MMIO mapping for all memory region.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-07-29 11:20:48 +01:00
Jiafei Pan
a1f0f65025 dts: arm: rt118x: update netc device nodes
Update NETC device nodes according to NETC driver update:
1. Added "nxp,imx-netc" compatible.
2. Added all memory region in MMIO reg propertiy to let driver to handle
   MMIO mapping for all memory region.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-07-29 11:20:48 +01:00
Jiafei Pan
4bfe3c1073 dts: arm: imx95_m7: update netc device nodes
Update NETC device nodes according to NETC driver update:
1. Added NETC block control device node to handle block control
   initialization in netc block driver.
2. Added "nxp,imx-netc" compatible for netc driver.
3. Added all memory region in MMIO reg propertiy to let driver to handle
   MMIO mapping for all memory region.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-07-29 11:20:48 +01:00
The Nguyen
de1207bac3 dts: arm: renesas: add CTSU device node for Renesas RA
Add device node support for Renesas RA SoCs

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-07-29 11:19:20 +01:00
Tahsin Mutlugun
ac1152b0b6 dts: arm: adi: max32657: Add I3C instance
Add I3C instance to max32657.dtsi.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-07-28 21:06:00 -04:00
Holt Sun
4618e86edd drivers: irtc: Updated rtc driver to support NXP RT700 device.
1. Update nxp irtc driver to fix issue in init and alarm function.
2. Update RTC device tree binding to support "share-counter".
3. Update RT700 dtsi to support rtc0 for cpu0 and rtc1 for cpu1.
4. Update readme.
5. Update unit test project conf for RT700.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-07-28 16:42:30 -04:00
Daniel Schultz
cd96f37f82 dts: arm: ti: Move am64x_{main,mcu} to dts/vendor/ti
This files can be used by the 32-bit as well as 64-bit ARM
architectures. Move them into the dts/vendor/ti directory to
make the ISA independant.

All nodes located in the AM64x MAIN domain should have the main_
prefix. This makes it more clear where those pins are actually
located in the chip.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2025-07-28 08:53:55 -04:00
Hanan Arshad
5d36e85b99 drivers: flash: rpi_pico: add support for rp2350 flash controller
The Raspberry Pi Pico 2 uses a QMI flash controller, which differs from the
SSI controller used in the original Pico. Zephyr already has support for
the SSI controller, but lacked support for QMI.

This change adds the QMI flash controller implementation in the
flash_rpi_pico.c driver file. Additionally, the RP2350 SoC devicetree file
(rp2350.dtsi) has been updated to enable and describe the flash controller
for Pico 2.

Signed-off-by: Hanan Arshad <hananarshad619@gmail.com>
2025-07-27 20:11:20 -04:00
Thomas Stranger
c14a756cc0 dts: arm: st: c0: stm32c091 set exti lines to 32
The line does not have usb, and therefore no exti
line at 36.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-07-25 16:56:21 +01:00
Alexander Kozhinov
f336cd4f65 dts: arm: st: update exti
update exti num-lines to depict total number of lines
add clocks entry to exti nodes of certain series

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-07-25 08:18:48 -04:00
Ioannis Karachalios
1278fd0c0f drivers: gpio: smartbond: Fix PDC GPIO port selection
The GPIO block instance is based on the instance number during the
device driver initialization. This is not correct as instance numbers
in now way reflect any numbering scheme. Therefore, a DTS property
is introduced so that the block instance numbering is indicated
explicitly.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2025-07-25 08:17:51 -04:00
Thomas Stranger
17ade56ed9 dts: arm: st: stm32c0: add counter nodes to all timers
Add the counter nodes (compat st,stm32-counter)
to all timers of the STM32C0 series.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-07-25 08:14:53 -04:00
Thomas Stranger
3e5bb62bbb dts: arm: st: stm32c0: add stm32c09x support
Add dts support for the STM32C091 and STM32C092 SoCs,
that are part of the STM32C0 series.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-07-25 08:14:53 -04:00
Bastien Beauchamp
46ad33a13d dts: arm: silabs: fix interrupt level for acmp0 on xg21
Fix interrupt level for acmp0 in the dts for xg21 device.
Only radio interrupts are critical and should have priority 0.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-07-25 08:12:16 -04:00
Bastien Beauchamp
1ec2bd3d22 dts: arm: silabs: instantiate acmp1 nodes for xg2x parts
Add the missing node for acmp1 in the dts for xg21, xg23 and xg23 devices.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-07-25 08:12:16 -04:00
Jérôme Pouiller
6d95573df8 boards: silabs: siwx91x: Expose real layout of the flash
The Network Coprocessor on SiWx91x owns a large part of the flash. Zephyr
is not expected to access to theses areas.

However, it is still technically possible to access these. In addition, we
prefer the DTS contains a comprehensive and transparent description of the
hardware. So update the DTS with the real partitioning of the SoC.

Reference documentation is available here[1].

[1]: https://www.silabs.com/documents/public/application-notes/
     an1416-siwx917-soc-memory-map.pdf

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-07-25 08:11:11 -04:00
Andreas Schmidt
528ab9d9c2 dts: arm: st: u5: fix wkup-pin@8 referencing non-existent port gpiof
With commit d280d89 the gpiof port got moved from file stm32u5.dtsi to
file stm32u5_extra.dtsi. stm32u5_extra.dtsi is not included for
STM32U535/545. In same file stm32u5.dtsi still node wkup-pin@8 references
non-existent port gpiof.

Fixes #93445

Signed-off-by: Andreas Schmidt <andreas.schmidt@dormakaba.com>
2025-07-25 07:46:57 -04:00
Sebastian Głąb
878ddbe2f6 boards: nordic: nrf54l20pdk: Remove obsolete board
Board nrf54l20pdk was renamed to nrf54lm20dk.
Remove obsolete board definition.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-24 17:00:33 +01:00
Zhaoxiang Jin
f6c65a0248 dts: arm: nxp: Support ACMP on nxp_rt7xx
Supported ACMP on nxp_rt7xx cm33_cpu0 and cm33_cpu1

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-07-24 16:56:55 +01:00
Arnaud Pouliquen
3ffd7419a0 dts: arm: st: stm32mp2_m33.dtsi: add HSE and HSI fixed clock
Add declarations for High-Speed External (HSE) and High-Speed Internal
(HSI) clocks.
These clocks, based on oscillators, can be used to generate the system
clocks.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-07-23 17:31:08 +01:00
Sadik Ozer
6819377014 dts: arm: adi: Add RTC device node
Add MAX32657 RTC device node

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2025-07-23 17:29:34 +01:00
Tomáš Juřena
a7a9570a95 dts: arm: st: c0: Add clk-hsi48 for stm32c071 SOC
Allow to use internal HSI to clock the USB bus if HSE is not available.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2025-07-23 17:27:24 +01:00
Biwen Li
47b07e5a09 tests: drivers: pwm: add overlay file for imx943_evk m33
Add overlay file for imx943_evk m33 to use flexio as pwm

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-07-23 09:40:15 +02:00
Thomas Stranger
b8bfa36250 dts: arm: st: stm32h5: fix flash erase timing
According to the datasheet the flash erase timing is
typically 2ms, and max 10ms.

H503: DS14053 Rev 4: section 5.3.10, table 45, t_erase_max=10ms
H562/H563: DS14258 Rev 6: section 5.3.11, table 51, t_erase_max=10ms

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-07-23 09:34:46 +02:00
Ayush Singh
fcc8f8c01b dts: arm: ti: Add MAIN domain UARTS
M4F can use uarts from main domain of AM62. However, interrupts are not
supported.

The common main peripheral dts is kept in dts/venodor/ti to allow
sharing between arm targets (m4, r5) and arm64 targets (a53).

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-07-23 09:30:44 +02:00
Lucien Zhao
bc627062a4 dts: arm: nxp: add usdhc instances for rt700 cm33_cpu0
add usdhc instances for rt700 cm33_cpu0

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-07-22 19:38:29 -04:00
Oleh Kravchenko
585cda1360 soc: stm32l1x: Add support for sleep/stop/standby modes
Add stm32l1_disco and nucleo_l152re overlays for testing
sleep/stop/standby modes:
- samples/boards/st/power_mgmt/blinky;
- samples/boards/st/power_mgmt/wkup_pins;

I've measured consumption for each low-power mode:
- low-power sleep ~1.72mA;
- stop mode ~324uA;
- standby mode ~2.2 uA;

It's possible to use RTC as idle timer to exit from stop mode.

Signed-off-by: Oleh Kravchenko <oleg@kaa.org.ua>
2025-07-22 19:38:19 -04:00
John Batch
99860e7339 soc: infineon: cyw20829: Adding MPU memory permission to userspace app
Adds additional MPU memory permissions to userspace applications by
default.  This change addresses an MPU fault encountered when running
tests/kernel/common and tests/drivers/adc/adc_api.

This approach opens additional memory locations up to user space access.
This assumes that end users of applications will tune the MPU regions for
the needs of that application.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-07-22 19:35:52 -04:00
Axel Utech
4664f600d6 dts: arm: st: u0: fix lpuart1/2 interrupts
Interrupt vectors for lpuart1 and lpuart2 are swapped according to the
reference manual RM0503 table 54.
Fixes the usage of the interrupt-driven uart API.

Signed-off-by: Axel Utech <utech@sofiha.de>
2025-07-22 08:16:56 -04:00
Anas Nashif
3776a35e84 Revert "boards: silabs: siwx91x: Expose real layout of the flash"
This reverts commit 53375e95ba.

Some boards are failing with:

OverflowError: can't convert negative int to unsigned

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-22 09:34:12 +09:00
Jérôme Pouiller
53375e95ba boards: silabs: siwx91x: Expose real layout of the flash
The Network Coprocessor on SiWx91x owns a large part of the flash. Zephyr
is not expected to access to theses areas.

However, it is still technically possible to access these. In addition, we
prefer the DTS contains a comprehensive and transparent description of the
hardware. So update the DTS with the real partitioning of the SoC.

Reference documentation is available here[1].

[1]: https://www.silabs.com/documents/public/application-notes/
     an1416-siwx917-soc-memory-map.pdf

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-07-21 13:02:58 -04:00
Stoyan Bogdanov
9dad848fe0 dts: arm: ti: cc23x0: Add LGPT PWM support
Add all available PWM channels as subnodes to respected LGPT.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-07-21 07:26:18 -04:00
Parthiban Nallathambi
de61a9e37f dts: arm: ti/mspm0: add support for L series
mspm0lx series comes with various SoC's which varies in RAM,
Flash size and also with peripherals. Add support for all
the currently available SoC's with basic template.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
2025-07-21 07:25:50 -04:00
Saravanan Sekar
7cd96d693e dts: arm: ti: mspm0: Add timer TIMA1 node for pwm capture
Add a support for timer TIMA1 node for pwm capture.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
2025-07-21 07:25:10 -04:00
Yongxu Wang
0d175f3af5 dts: update imx93 m33 tcm address
imx93 m33 System TCM from 0x2001f000 into 0x20020000
will be used in rom, reserved

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-07-19 15:41:20 -04:00
Scott Worley
ef4ec43e63 drivers: timer: microchip: xec: Microchip MEC one kernel timer driver
We want to simplify the maintenance burden and confusion of having
more than one driver for the same kernel timer peripheral used on
all Microchip MEC parts. The XEC version of the driver was converted
register definitions in the driver. Register access is performed using
Zephyr sys_read/write architecture specific inline routines. Driver DT
YAML was updated to use phandle for the 32-bit basic timer used for
ARCH_HAS_CUSTOM_BUSY_WAIT support, basic timer max value property,
and GIRQ interrtup aggregator hardware information.
SoC part Kconfigs, chip level/board level DTSI updated to use the
unified driver.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-07-19 15:39:40 -04:00
Dmitrii Sharshakov
d6420d2653 dts: arm: rpi_pico: add interrupts for PIO
PIO interrupts are useful for some of the virtual
peripherals, so describe them in the DT.

This has no direct implications to existing drivers.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-07-19 15:37:47 -04:00
Alvis Sun
5b1d16dd6f drivers: wdt: npcx: add wdt driver support for npck3
Enables the extended Watchdog Timer driver for npck3.

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2025-07-19 15:36:47 -04:00
Ishraq Ibne Ashraf
7b49381227 boards: nxp: frdm_k32l2b3: Add initial support
Adding initial support for NXP FRDM K32L2B3 board.

Signed-off-by: Ishraq Ibne Ashraf <ishraq.i.ashraf@gmail.com>

dts: arm: nxp: Fix SRAM node name

Fix address part of the SRAM node name.
Change the SRAM start address definition to lower
case hexadecimal to be consistent.

Signed-off-by: Ishraq Ibne Ashraf <ishraq.i.ashraf@gmail.com>
2025-07-19 15:36:11 -04:00
Hao Luo
4b3565d958 drivers: pwm: Add support for Apollo510 pwm
This commit adds support for Apollo510 pwm driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-07-19 15:31:08 -04:00
Richard Wheatley
7cd378d9c9 dts: bindings: move clk-source to parent
Move clk-source from pwm to timer
change associated files to match

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2025-07-19 15:31:08 -04:00
Richard Wheatley
e81a241678 driver: pwm: create ambiq pwm driver
Restructured counter and timer.
CTimer/Timer is now parent to pwm and counter.
Created PWM driver and tied to pwm and pwm-led

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2025-07-19 15:31:08 -04:00
Neil Chen
c640b5e937 dts: arm/nxp: Add smartdma nodes to NXP MCXN23x dtsi file
Add smartdma nodes to NXP MCXN23x dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-07-19 15:29:25 -04:00
Yishai Jaffe
6cfe907477 boards: silabs: move pinctrl.dtsi files to board dirs
Moved pinctrl dtsi files for slwrb4250b and slwrb4255a from the soc
directory to the board directory as is done in other boards.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-07-19 13:47:36 -04:00
Yishai Jaffe
d3a646cd07 dts: silabs: align formatting for RAM and flash
Align the format in which the RAM and flash are set in the soc.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-07-19 13:47:36 -04:00
Yishai Jaffe
27c365dc05 dts: arm: silabs: Move efm32gg12 to gg12 directory
Introduce subdirectory for gg12 socs.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-07-19 13:47:36 -04:00