Commit graph zephyr/dts
Author SHA1 Message Date
Kate Wang
e954c173c6 drivers: video: fix ov7670 initialization and add PCLK configuration
- Add pclk-hb-disable DTS property to control PCLK toggling
during horizontal blank periods. Different camera receivers may
have different requirement on this configuration.
- Reorder initialization sequence to apply format settings after
the common initialization table. Different format may apply differnt
configurations and overwrite the default configurations.
- Change the input XCLK frequency from 6MHz to 24MHz. According to
the data sheet and software application note, the camera sensor
requires the clock to be within the range of 10~48 MHz and the
typical value is 24 MHz. It can work with 6MHz XCLK but the
performance is not ideal. For example it glitches with VGA resolution.
- Fix resolution-specific register tables for QCIF, CIF, and VGA modes
with corrected timing and gamma settings for OV7670. When the OV7670
driver was originally enabled with the camera receiver smartdma, only
the QVGA resolution is tested, since smartdma can only support this
resolution, the others are not tested.
- Fix comment typo: case 352 is CIF, not QCIF
- Fix array size bug in QVGA format selection

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-06-18 09:09:57 -05:00
Axel Le Bourhis
f30bea8e90 dts: arm: nxp: mcxw7x: enable 10 dBm BLE TX power by default
Now that the SoC can configure the active-mode DCDC output voltage
from the SPC device tree node, raise the default MCXW7x BLE TX power
to its maximum of 10 dBm.

Add 10 to the NBU max-tx-power-support list (dropping the stale
"TODO: Add 10dbm support" comment) and bump the default
max-tx-power-dbm from 7 to 10. Reaching 10 dBm requires the DCDC
regulator in its 2.5V custom mode, so set
active-dcdc-output-microvolt to 2500000 on the SPC node. The build
time cross-check in soc_dcdc.c enforces this pairing.

This affects the MCXW71 and MCXW72 families that share this common
dtsi; boards may still override max-tx-power-dbm if a lower limit is
needed.

Tested with samples/bluetooth/peripheral on frdm_mcxw71 and
frdm_mcxw72.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-06-18 08:57:12 -04:00
Axel Le Bourhis
08193b86ae soc: nxp: mcxw7xx: add configurable active-mode DCDC output voltage
The MCXW7x active-mode DCDC regulator output voltage was previously
fixed by the power init path, which only ran when CONFIG_PM was
enabled. Some use cases (notably reaching the highest BLE TX power
levels) require a specific DCDC output voltage to be applied
unconditionally at boot.

Add an optional "active-dcdc-output-microvolt" property to the
nxp,spc binding so the target voltage is described in the device
tree. The property is intentionally SoC-agnostic: legal values are
validated per-SoC in C rather than constrained by an enum in the
binding, since the shared compatible spans several SoC families with
different DCDC capabilities.

Implement the configuration in a new soc_dcdc.c that is compiled
unconditionally (independent of CONFIG_PM). nxp_mcxw7x_dcdc_init()
maps the configured microvolt value to the HAL DCDC level, sets the
VOUT2P5_SEL bit only for the 2.5V custom mode, and applies the change
with the active-mode voltage detectors saved, disabled and restored
around it. BUILD_ASSERTs reject values the DCDC cannot produce and
cross-check the configured voltage against the NBU max-tx-power-dbm
(10 dBm requires 2.5V, above 0 dBm requires at least 1.8V). When the
property is absent the routine compiles to a no-op and the DCDC
output voltage is left untouched.

Move the active-mode DCDC handling out of set_spc_configuration() in
power.c so the device-tree configured value is preserved and not
overwritten by the low-power init path. The logic is kept
self-contained so it can later be lifted into a dedicated SPC driver
without binding or device tree churn.

Tested with samples/bluetooth/peripheral on frdm_mcxw71,
frdm_mcxw72 and frdm_mcxw70 (the latter exercising the no-op path).

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-06-18 08:57:12 -04:00
minyuan xue
814efd4721 dts: arm: add spi bingding and nodes
Add realtek ameba series spi binding and nodes.

Signed-off-by: minyuan xue <minyuan_xue@realsil.com.cn>
2026-06-18 08:55:59 -04:00
Holt Sun
2646861474 drivers: hwinfo: add NXP MC_RGM reset cause backend
Add a hwinfo backend that reports the reset cause on NXP MCUs that use
the MC_RGM (Reset Generation Module), such as the MCXE family, rather
than the Kinetis RCM/SIM blocks. The driver decodes the MC_RGM DES
(Destructive Event Status) and FES (Functional/External Reset Status)
registers into Zephyr RESET_* flags.

DES and FES status bits are write-1-to-clear, so
hwinfo_clear_reset_cause() writes back the latched bits it just read.

The backend binds to the existing "nxp,mc-rgm" compatible and reaches the
register block through the MC_RGM_Type CMSIS layout at the node's reg
address, so no fsl HAL component is required.

hwinfo_get_device_id is intentionally left as the weak -ENOSYS default:
the MCXE family exposes no per-die unique identifier (only SIUL2 MIDR
part identification), so reporting it as a device ID would be misleading.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-06-18 05:35:40 -04:00
Krzysztof Chruściński
b2c82fe30a dts: vendor: nordic: nrf54h20: Add properties for ppr synchronization
cpuppr is starting with a delay (>300 us) and cpuapp should not try
to communicate with cpuppr before it is up and running as any signal
set before cpuppr is ready is lost. One of available VPR events is
used to indicate cpuppr readiness.

Add property to nordic,vpr and nordic,nrf-vevif-task-tx bindings.
Add property to vpr and mailbox nodes. Reserve channel 15 for that.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-06-18 05:35:23 -04:00
Fin Maaß
907ace5832 soc: stm32: l5: select CPU_HAS_ICACHE
select CPU_HAS_ICACHE,
also move the line size into the devicetree.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-06-18 05:35:12 -04:00
Fin Maaß
f3d568e217 soc: stm32: u5: select CPU_HAS_DCACHE/CPU_HAS_ICACHE
select CPU_HAS_DCACHE/CPU_HAS_ICACHE,
also move the line size into the devicetree.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-06-18 05:35:12 -04:00
Fin Maaß
aabf28b412 soc: stm32: wba: select CPU_HAS_ICACHE
select CPU_HAS_ICACHE,
also move the line size into the devicetree.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-06-18 05:35:12 -04:00
Fin Maaß
27db80a1d1 soc: stm32: c5: select CPU_HAS_ICACHE
select CPU_HAS_ICACHE

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-06-18 05:35:12 -04:00
Fin Maaß
aff884b409 soc: stm32: h5: select CPU_HAS_DCACHE/CPU_HAS_ICACHE
select CPU_HAS_DCACHE/CPU_HAS_ICACHE,
also move the line size into the devicetree.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-06-18 05:35:12 -04:00
Aiden Hu
52e520f54d dts: arm: nxp: rt7xx: describe USB host controller clocks
Update the RT7xx EHCI host nodes to use clkctl4 clock specifiers
and describe the controller and PHY clock rates in devicetree.

This provides the clock information used by the host EHCI driver.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2026-06-17 16:35:06 -04:00
Łukasz Stępnicki
95316d3fbd drivers: watchdog: global software based watchdog
New driver based on sysctrl acting as a watchdog.
After global software watchdog setup sysctrl will monitor
pings from particular local domain and reset SOC if ping
doesnt arrive before 6s timeout expires.
This software watchdog will be active only if local
domain will do wdt setup procedure.'

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
2026-06-17 16:34:11 -04:00
Pete Johanson
df2dcbe252 dts: vendor: adi: MAX78000 cleanup for RV32 support
Fix up the core MAX78000 devicetree includes to properly split M4 specific
pieces, define sram nodes correctly, and set up UART3 interrupts for either
core.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-06-17 11:58:35 -04:00
Travis Lam
e05d21494f dts: vendor: nordic: correction to nrf7120.dtsi mram write block size
Physical write block size of mram is 16 for nrf7120

Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
2026-06-17 17:44:58 +02:00
Holt Sun
a14a0e20b6 drivers: hwinfo: enable NXP KE platforms
Add nxp,rcm-hwinfo reset-cause nodes to the KE1xZ and KE1xF SoC
devicetrees, and add the nxp,sim-uuid device-id compatible to the
KE1xF SIM node, so the existing NXP hwinfo RCM and SIM drivers are
available on FRDM-KE15Z, FRDM-KE16Z, FRDM-KE17Z, FRDM-KE17Z512 and
TWR-KE18F. KE1xZ has no unique-ID register, so only reset cause is
enabled there. Advertise hwinfo in each board's twister supported
list.

This extends existing NXP hwinfo driver coverage without changing the
driver implementation. Verified with tests/drivers/hwinfo: builds on
all five boards, and the suite passes on FRDM-KE17Z hardware (reset
cause tests pass, device id skipped).

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-06-17 10:07:15 -04:00
Benjamin Cabé
d0068dd83d dts: arm: stm32u5: drop 'U' specifier in macro calls
Drop the 'U' specifier in macro calls in the STM32U5 device tree files to
be consistent with other STM32 devicetree files.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-06-17 10:06:58 -04:00
Camille BAUD
dbed72de7f drivers: lora: Add LR11xx native driver
Add a basic driver for LR1121

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-06-17 10:05:37 -04:00
Jamie McCrae
5bc279b5b9 dts: vendor: nordic: Update to zephyr,mapped-partition binding
Updates partitions to use the new binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-06-17 10:05:07 -04:00
James Bennion-Pedley
4b10e35bc5 boards: wch: add CH32V305 and CH32V317 example boards
Adds two boards which use the added CH32V305 / CH32V317 support.

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2026-06-17 10:04:46 -04:00
James Bennion-Pedley
d9bc08b6a6 soc: wch: add CH32V305 and CH32V317
Adds WCH CH32V305 and CH32V317, completing the SOC family

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2026-06-17 10:04:46 -04:00
Raphaël Gallais-Pou
c7f32ff868 dts: arm: st: l4: reinternalize SAI device tree
Having separate file for SAI device complicates the reader/developper
comprehension of the overall device-tree, since there is already other
include mechanism into play.  Remove stm32l4_sai.dtsi file and merge the
SAI node into corresponding files.

Signed-off-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
2026-06-17 12:00:47 +02:00
Kirill Shypachov
0aa178ccb8 dts: bindings: mspi: stm32-ospi: allow disabling DQS port
According to the STM32 HAL documentation, the DQS port is
optional and can be disabled by passing port number 0.

Add 0 as a valid value for the st,dqs-port property to match
the documentation.

Signed-off-by: Kirill Shypachov <kshypachov@outlook.com>
2026-06-17 12:00:33 +02:00
Jilay Pandya
b70f8bf048 drivers: max30101 replace a bunch of BUILD_ASSERTs
use min-len/max-len for asserting the correct length of the
array, drop corresponding build asserts

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2026-06-17 08:02:10 +02:00
Fabio Baltieri
ec003017df drivers: led: add a Linux LED native_sim driver
Add a native_sim driver to control a Linux LED on the host using the
Zephyr LED APIs.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-06-16 23:16:34 +02:00
Alain Volmat
6a16925e94 dts: arm: st: stm32h5: add pll3 on stm32h523
Add the node for the PLL3 available on STM32H523.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-06-16 12:58:12 -05:00
Alain Volmat
3a43642b9b dts: arm: st: stm32h5: use st,stm32h5-pll-clock compatible
Following the introduction of the new stm32h5 dedicated pll-clock
compatible, update the compatible in device-trees.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-06-16 12:58:12 -05:00
Alain Volmat
c49ac9d095 dts: bindings: clock: addition of STM32H5 PLL clock
The STM32H5 PLL configuration is similar to the STM32H7 but
maximum achievable frequencies differ.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-06-16 12:58:12 -05:00
Gaston Donikian
04ad612844 dts: bindings: gnss: add u-blox,m10 binding
Add the devicetree binding for u-blox M=10 GNSS receiver.

Signed-off-by: Gaston Donikian <gastondonikian@gmail.com>
2026-06-16 12:56:31 -05:00
Alexandra Covaci
86e6db263d dts: riscv: microchip: enable dts node for rtc mss
Add binding file and dts node for microchip rtc mss.

Signed-off-by: Alexandra Covaci <Alexandra.Covaci@microchip.com>
2026-06-16 12:55:58 -05:00
Guillaume Gautier
233fa4ff79 dts: bindings: spi: stm32: remove fifo-enable property
Remove the fifo-enable property since it isn't used anymore.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-06-16 17:45:15 +02:00
Guillaume Gautier
92092549b5 dts: bindings: spi: h7: add fifo-threshold property
Add a new property for the st,stm32h7-spi compatible to configure the
FIFO threshold.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-06-16 17:45:15 +02:00
Fin Maaß
7aec7f2bde drivers: ethernet: dwmac: add support for the stm32f series
add support for the stm32 f series in the
dwmac driver.

Assisted-by: Github Copilot:Claude Haiku 4.5
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-06-16 10:28:11 +02:00
Zayne Stites
be76726671 dts: bindings: pinctl: Add cfgout3 support to infineon,pinctrl
Add CY_GPIO_DM_CFGOUT3_STRONG_PULLUP_HIGHZ support

Assisted-by: Claude:claude-opus-4.7

Signed-off-by: Zayne Stites <Zayne.Stites@infineon.com>
2026-06-16 08:37:05 +02:00
Neil Chen
8527e1b7e5 dts: arm/nxp: Add pwm nodes to NXP mcxaxx6 dtsi file
Add pwm nodes to NXP mcxaxx6 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-06-16 08:36:45 +02:00
Oleksii Mamontov
be58bcf5bf boards: arm: stm32: add usbcan(fd) adapters
This commit adds board support for the CAN-module project hardware,
including the CANBRIDGE G473, USBCAN ISO, and USBCANFD SOLO/DUAL
adapters. These boards are based on STM32G4 and F0 series MCUs.

Signed-off-by: Oleksii Mamontov <mamontov1@gmail.com>
2026-06-15 18:32:51 -04:00
Radu Alexe
49a7bac9b2 dts: nxp: mcxw70: add correct definition for ifr0 and hw_params
Change needed to accommodate the changes made for the mcxw-802.15.4 driver.

Signed-off-by: Radu Alexe <radu.alexe@nxp.com>
2026-06-15 12:14:41 -04:00
Etienne Carriere
0dbc1ecf25 drivers: clock_control: stm32: H7/H7RS PLL1 DIVP can be 1 or even
Add a build assertion to ensure PLL1 DIVP division factor is not
an odd value different from 1 since not allowed as per SoCs reference
manuals.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-15 12:13:26 -04:00
Adrien Ricciardi
073c293e3a dts: bindings: gpio: Add pinctrl support to the R-Car GPIO driver
Allow to set the required pinctrl properties from the corresponding
device tree nodes.

Signed-off-by: Adrien Ricciardi <aricciardi@baylibre.com>
2026-06-15 12:13:17 -04:00
Raphaël Gallais-Pou
462d402174 dts: arm: st: l4: add DFSDM peripheral support
Add the DFSDM peripheral to STM32L4xx series.

The DFSDM presents mostly 4 filters, except for the following:

$ rg -c DFSDM._FLT._IRQn\\s stm32cube/stm32l4xx/soc/ | sort
stm32cube/stm32l4xx/soc/stm32l451xx.h:2
stm32cube/stm32l4xx/soc/stm32l452xx.h:2
stm32cube/stm32l4xx/soc/stm32l462xx.h:2
stm32cube/stm32l4xx/soc/stm32l471xx.h:4
stm32cube/stm32l4xx/soc/stm32l475xx.h:4
stm32cube/stm32l4xx/soc/stm32l476xx.h:4
stm32cube/stm32l4xx/soc/stm32l485xx.h:4
stm32cube/stm32l4xx/soc/stm32l486xx.h:4
stm32cube/stm32l4xx/soc/stm32l496xx.h:4
stm32cube/stm32l4xx/soc/stm32l4a6xx.h:4
stm32cube/stm32l4xx/soc/stm32l4p5xx.h:2
stm32cube/stm32l4xx/soc/stm32l4q5xx.h:2
stm32cube/stm32l4xx/soc/stm32l4r5xx.h:4
stm32cube/stm32l4xx/soc/stm32l4r7xx.h:4
stm32cube/stm32l4xx/soc/stm32l4r9xx.h:4
stm32cube/stm32l4xx/soc/stm32l4s5xx.h:4
stm32cube/stm32l4xx/soc/stm32l4s7xx.h:4
stm32cube/stm32l4xx/soc/stm32l4s9xx.h:4

Signed-off-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
2026-06-15 12:12:00 -04:00
Carlo Caione
eb092b0f40 drivers: input: add virtio input device driver
Add a driver for VIRTIO input devices. Events are forwarded to the input
subsystem as-is since the event codes match the Linux ones. ABS_X/ABS_Y
values can optionally be scaled to the resolution of a referenced display.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-06-15 10:24:27 +02:00
Holt Sun
504f9fb51f dts: nxp: add wake timer support for MCX A SoCs
Add the nxp,wake-timer binding and disabled waketimer0 nodes for
MCX A devices that provide the 32-bit wake timer IP.

The nodes describe the 1 kHz counter clock derived from the 16 kHz
source with OSC_DIV_ENA enabled. Keeping the nodes disabled by
default lets later commits enable the IP on boards after the driver
is present.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-06-15 10:22:32 +02:00
Etienne Carriere
d00eaa7013 dts: bindings: clock: min/max PLL multiplier for STM32Fx series
Set min/max properties for PLL/PLLI2S/PLLSAI multiplier and consider
F401xx and F2xx specific min value at build time in driver implementation.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-15 10:21:44 +02:00
Etienne Carriere
082b3d29a3 dts: bindings: clock: min/max PLL* mult/div for STM32L4/L5 series
Set min/max properties for PLL/PLLSAI1/PLLSA2 multiplier, input divisor
and PLL/PLLSAI1/PLLSAI2 P divisor on STM32L4/L5 and consider L4 non-L4+
specific ranges at build time in driver implementation.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-06-15 10:21:44 +02:00
Albert Jakieła
fa95c398aa sensor: pac194x: Add microchip,refresh-mode property
Add microchip,refresh-mode property to Mictochip PAC194X/195X.
This property allows configuring the sensor's refresh behavior
directly from the devicetree.

Signed-off-by: Albert Jakieła <jakiela@google.com>
2026-06-13 08:34:26 +02:00
minyuan xue
c0b44e4682 dts: arm: add watchdog binding and nodes
Add watchdog binding and device tree nodes for Realtek Ameba series.

Signed-off-by: minyuan xue <minyuan_xue@realsil.com.cn>
2026-06-13 08:33:54 +02:00
Richard Mc Sweeney
71b3e03a1c drivers: add FIFO support to pse84 sar
Added FIFO support for PSE84 autanalog SAR. The FIFO is 512 elements
deep. It can be subdivided into x8 64 elements to support 8 independent
streams of ADC data.

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-06-12 21:44:21 +02:00
Richard Mc Sweeney
10f7dd7fb1 drivers: add FIR for pse84 autanalog sar
Added support for FIR filters in the PSE84 autanalog SAR ADC. There
are two filters, each supporting up to 64 taps. The output can
optionally be fed into the SAR FIFOs.

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-06-12 21:44:21 +02:00
Vincent Tardy
f707a0dd0d dts: arm: st: wba: Add radio binding including bt and 802154 nodes
Add the radio on stm32wba to device tree and move the
bluetooth node and the ieee802154 node inside it.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-06-12 10:07:08 +02:00
Dev Joshi
7f62457b62 drivers: fg: Fix typo and include guards
This commit fixes minor typos in fuel-gauge driver and also fixes the
include guard for the same. It also fixes `fuel_gauge_set_props` API
doxygen comments to reflect the correct return code.

Signed-off-by: Dev Joshi <devbhave@qti.qualcomm.com>
2026-06-12 10:05:28 +02:00