Commit graph

11,885 commits

Author SHA1 Message Date
Emil Dahl Juhl
fddd6efb82 dts: arm: st: n6: correct sai1_a address
When compiling, the following warning occurs:

Warning (simple_bus_reg): /soc/sai1@452005804: simple-bus unit address
format error, expected "52005804"

Looking at table 3 in the reference manual[1] for the stm32n6 it seems that
the sai1_a address simply had a typo, where a "4" was added in front of the
correct address.

Fix the typo.

[1] RM0486 Rev 2: https://www.st.com/resource/en/reference_manual/rm0486-stm32n647657xx-armbased-32bit-mcus-stmicroelectronics.pdf

Signed-off-by: Emil Dahl Juhl <emil@s16s.ai>
2025-09-01 09:32:16 +02:00
Anisetti Avinash Krishna
e018a7e8dd drivers: pwm: Enable PWM support for PTL-h
Enable PWM support on PTL-h and add 64bit
address support for PWM driver.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-08-29 19:18:28 -04:00
Christian Rask
23157c10e5 drivers: display: ili9xxx: add tearing effect support
Add tearing effect support for better display synchronization. If
tearing effect is configured in the mipi_dbi device, the display
controller configures its tearing effect register.
Display orientation configuration is updated to also rotated the
direction of the display pixel vertical scanline, such that scan order
matches the display orientation.

Signed-off-by: Christian Rask <christianrask2@gmail.com>
2025-08-29 11:05:38 +02:00
Christian Rask
fe356031db drivers: mipi_dbi: spi: add tearing effect support
Add tearing effect support for better display synchronization. This
allows users to configure an external interrupt on falling/rising edges
of the gpio connected to the display controllers tearing effect pin.
See dt-bindings/mipi_dbi/mipi_dbi.h for details of how this works for
mipi_dbi display interfaces.

Signed-off-by: Christian Rask <christianrask2@gmail.com>
2025-08-29 11:05:38 +02:00
Duy Nguyen
84c2f87540 dts: renesas: rx: Change CPU compatible for RX dts
Change the compatible of CPU core for qemu_rx, rx130 and rx261
target accroding to the change of dt-binding for rx cpu core

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-08-29 09:00:50 +02:00
Quy Tran
8b4581ba1d arch: rx: Get swint register address from devicetree
Update irq_offload to get the swint register address from dts

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-08-29 09:00:50 +02:00
Duy Nguyen
8a0716de24 arch: rx: Add bindings for RX CPU core version
Adding bindings for rx cpu core version and remove the redundant
compatible in the qemu_rx and rsk_rx130 boards

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-08-29 09:00:50 +02:00
Aksel Skauge Mellbye
39e468b0f6 dts: arm: silabs: xg27: Fix wdog0 unit address
The wdog0 unit address and reg entry pointed to the secure
alias, while the SMU was configured to expect the non-secure
alias.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:04 +02:00
Aiden Hu
5d9353b1fa dts: arm: nxp: update nxp_rw6xx_common.dtsi for usb host.
Add usbh node.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2025-08-27 16:35:52 +02:00
Qiang Zhang
55adebb51b dts: add KPP driver bindings.
add KPP driver bindings.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2025-08-27 09:47:10 +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
Ioannis Damigos
4920a6d7b1 bluetooth: hci: Remove deprecated IPM HCI bus
Remove deprecated IPM HCI bus.

Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
2025-08-26 04:07:10 +02:00
Ioannis Damigos
fe645cd346 dts/bindings/bluetooth: Use IPC instead of deprecated IPM
Use IPC in bt-hci-bus property instead of deprecated IPM.

Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
2025-08-26 04:07:10 +02:00
Alessandro Manganaro
8c11033f59 dts: arm: st: wba: temporary fix to build stm32wba5x boards
Due to a mismatch in naming of debug jtrst pin name
(compared to hal_stm32) all boards based on stm32wba5x
are not compiling.
This temporary fix will solve this issue until a systematic
approach will be put in place.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-08-25 11:39:50 +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
Alen Karnil
4363d14bef dts: arm: st: stm32f303: fix I2C3 address in nodename
Correct stm32f303 I2C3 address in nodename.

Signed-off-by: Alen Karnil <alankarnil@gmail.com>
2025-08-25 09:12:23 +02:00
Camille BAUD
71be3c2823 dts: bflb: fix bad uart device address
4 didnt become a 2 like it should have

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-23 05:10:56 +02:00
Mario Paja
82ea32bd6e dts: st: use dma defines to describe sai dma configs
Use DMA defines to describe SAI DMA configuration.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-08-22 14:50:47 +02:00
Mario Paja
3ef3de0d78 dts: st: n6: add SAI1 A/B & SAI2 A/B nodes
Add SAI1 & SAI2 nodes to STM32N6xx series

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-08-22 12:56:57 +02:00
Tanguy Raufflet
eb0f0530eb dts: arm: st: stm32mp2_m33.dtsi: add spi nodes
Add SPI nodes in non-secure context to dtsi.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2025-08-22 12:35:56 +02:00
Taeyoun Park
7ccbd9f396 dts: arm: Add CAN1 and CAN2 nodes to stm32f207
Add CAN1 and CAN2 device tree nodes for STM32F207

Signed-off-by: Taeyoun Park <nvnv0422@gmail.com>
2025-08-22 12:35:50 +02: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
Yves Wang
201f70bfa9 drivers: watchdog: Make clock divider optional
Some SoCs did not provide ewm clock divider

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2025-08-22 09:45:18 +02:00
Declan Snyder
ee960a819e dts: nxp: rt7xx: Use DT spec recommended node names
Use node names as recommended by DT spec.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-22 06:52:51 +02:00
Zhaoxiang Jin
fa348d8e1b dts: bindings/regulator: Add new properties for nxp vref
1. Added new boolean type 'nxp,internal-voltage-regulator-en'
and 'nxp,chop-oscillator-en' properties for 'nxp,vref'.
The user can use these properties to improve the stability
and accuracy of the VREF output voltage.

2. Added properties 'nxp,current-compensation-en' and
'nxp,internal-voltage-regulator-en' and 'nxp,chop-oscillator-en'
for LPC55S3x, MCXN23x, MCXN94x, and MCXW7x VREF node.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-08-22 06:52:21 +02:00
Peter Marheine
26ab6d858e soc: rp2350: support PWM channels >8
RP2350 adds four more PWM slices from the eight available on RP2040,
which are only broken out to package pins on RP2350B. This change fixes
the driver to support the correct number of slices on RP2350.

Tested by confirming that PWM can correctly be configured on GPIO 44 of
RP2350B.

Signed-off-by: Peter Marheine <peter@taricorp.net>
2025-08-22 03:32:16 +02:00
Philémon Jaermann
917e518e04 dts: arm: Remove AES from the u575
Which does not have HW support for it, as stated by ST here:
https://www.st.com/en/microcontrollers-microprocessors/stm32u575-585.html

"
The STM32U575 portfolio offers from 1 to 2 Mbytes of flash memory
and from 48- to 169-pin packages.
The STM32U585 is available with 2 Mbytes of flash memory and provides
an additional encryption accelerator engine (AES, PKA, and OTFDEC).
"

All the U5 SoC have a hash HW accelerator (even the ones which don't
have crypto support: U535XX, U575XX, U59XXX and U5FXXX).
The hash node is therefore moved directly inside the stm32u5.dtsi.

Signed-off-by: Philémon Jaermann <p.jaermann@gmail.com>
2025-08-21 18:42:47 +02:00
Tanguy Raufflet
65d3117c3c dts: arm: st: stm32mp2_m33.dtsi: add i2c nodes
Add I2C nodes in non-secure context to dtsi.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2025-08-21 18:41:59 +02:00
Tanguy Raufflet
fb854d3a05 dts: arm: st: stm32mp2_m33.dtsi: add node gpioz
Add GPIO Z node to the device tree for STM32MP2 SoC.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2025-08-21 18:41:59 +02:00
Ivan Wagner
27cc32a076 dts: arm: st: stm32wba: added power control peripheral
Added support for wakeup pins (events).

Signed-off-by: Ivan Wagner <ivan.wagner@tecinvent.ch>
2025-08-21 17:09:24 +02:00
Guillaume Gautier
c712d1e817 dts: arm: st: n6: add timers nodes
Add all 18 timer instances for STM32N6.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 17:05:57 +02:00
Kevin Wang
06bec271d9 drivers: dma: atcdmac300: Upgrade atcdmac driver to support series device
1. Upgrade the ATCDMAC driver to make it compatible with multiple
   ATCDMAC series drivers.
2. Rename the driver from ATCDMAC300 to ATCDMACX00.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2025-08-21 15:58:35 +02:00
Thomas Altenbach
d14750118b dts: bindings: flash_controller: Add CS high time to stm32-qspi-nor
The STM32 QUADSPI peripheral allows to configure, in clock cycles, the
duration the chip select signal must stay high between each command sent
to the flash memory controller (QUADSPI_DCR_CSHT).

Currently, this value is set by the flash driver to 1 clock cycle in
single flash mode and 3 clock cycles in dual flash mode. However, the
minimal duration depends on the flash memory (typically 30-50 ns) and
the number of clock cycles on the QSPI's clock frequency. So, adding
this new property allows to select the value of CSHT to match the
requirement of the flash memory used. Also note that in single flash
mode, the current configuration is out-of-spec for most flash memories.

Signed-off-by: Thomas Altenbach <altenbach.thomas@gmail.com>
2025-08-21 15:46:12 +02:00
Guillaume Gautier
2cccfda4cf dts: arm: st: wl: add support for timer kernel clock
Add support for timer kernel clock for STM32WL.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
4ccef2d443 dts: arm: st: wba: add support for timer kernel clock
Add support for timer kernel clock for STM32WBA.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
af762bd51a dts: arm: st: wb: add support for timer kernel clock
Add support for timer kernel clock for STM32WB.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
525227e28a dts: arm: st: u5: add support for timer kernel clock
Add support for timer kernel clock for STM32U5.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
234f1450ce dts: arm: st: u0: add support for timer kernel clock
Add support for timer kernel clock for STM32U0.

Contrary to other series, on U0, TIMPCLK is always equal to PCLK, so no
need to define it, we can use PCLK directly.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
e180737aec dts: arm: st: l5: add support for timer kernel clock
Add support for timer kernel clock for STM32L5.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
492558f5a2 dts: arm: st: l4: add support for timer kernel clock
Add support for timer kernel clock for STM32L4.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
be85642714 dts: arm: st: l1: add support for timer kernel clock
Add support for timer kernel clock for STM32L1.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
7e7c145e90 dts: arm: st: l0: add support for timer kernel clock
Add support for timer kernel clock for STM32L0.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
3ba81b31bd dts: arm: st: h7rs: add support for timer kernel clock
Add support for timer kernel clock for STM32H7RS.

Define a new property for the timer prescaler in the RCC binding of H7RS.

Also fix the clock bus of TIM16 and TIM17 (they are on APB2 instead of 1)

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
7c44ebe493 dts: arm: st: h7: add support for timer kernel clock
Add support for timer kernel clock for STM32H7.

Define a new property for the timer prescaler in the RCC binding of H7.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
1614da68c7 dts: arm: st: h5: add support for timer kernel clock
Add support for timer kernel clock for STM32H5.

Define a new RCC binding for H5 with the timer prescaler property (timpre).

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
e2882b7c06 dts: arm: st: g4: add support for timer kernel clock
Add support for timer kernel clock for STM32G4.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
11d5f30ba5 dts: arm: st: g0: add support for timer kernel clock
Add support for timer kernel clock for STM32G0.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
7a612f3f2d dts: arm: st: f7: add support for timer kernel clock
Add support for timer kernel clock for STM32F7.
The STM32F7 RCC clock driver complies with st,stm32f4-rcc
driver variant.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
9c4fc612b8 dts: arm: st: f2: add support for timer kernel clock
Add support for timer kernel clock for STM32F2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00