This patch applies a software reset command under the condition that no
gpio reset pin is assigned and the new introduced boolean softreset-on
had been set for the device in the device tree or overlay.
Signed-off-by: Chris Ruehl <chris@gtsys.com.hk>
Update the RT7xx EHCI nodes to use clkctl4 clock specifiers and
describe the controller and PHY clock rates in devicetree.
Remove the obsolete usbclk fixed-clock node because the USB clocks
are now provided through clkctl4.
This provides the clock information used by the EHCI driver on
RT7xx.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Correct the STM32WBA2x internal flash write block size, sector size
and sector erase time configuration data that differ from STM32WBA5x
and STM32WBA6x. Configuration data can be found in STM32WBA2xxx
datasheet DS15003 [1].
Link: https://www.st.com/resource/en/datasheet/stm32wba25ce.pdf [1]
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add PWM driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.
This driver supports:
- Pulse width modulation output
- Period and pulse width configuration
- Polarity inversion
Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
Add empty ranges property to STM SoCs internal flash controller
that were missing when ranges properties were added to internal
flash device nodes in commit 876552f92c ("dts: arm: st: add address
ranges info in SoCs internal flash nodes").
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Describe RT700 USDHC reset lines with the SoC reset
controller so the driver can acquire and release reset
through the common reset API.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
add offset-base for nxp,rstctl.yaml to support SoCs
that encode reset IDs in a single global namespace
across multiple RSTCTL instances.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Add support for the i2c .recover_bus api in Infineon's i2c_pdl
driver. This uses the functions defined in i2c_bitbang.c to cause a
release of an improperly held sda line.
Additionally, changes are made to the driver's relevant Kconfig
and i2c binding .yaml files. This adds definitions for the sda and scl
bins for recovery purposes. The .recover_bus api is set to depend on the
"scl_gpios" and "sda_gpios" variables being set up in devicetree.
Assisted-by: GitHub Copilot:claude-sonnet-4.6
Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
Add the necessary USB node for the max32666.dtsi and enable the device on
the MAX32666EVKIT which exposes a USB connector that works as expected.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
MCXL25x cpu1 (cm0) core build is not supported.
Move aon_peripherals to separate dtsi file to allow loading it
independently from main domain peripherals. Move cpu1 definition
to cm0 specific files. Add aon_sram range for cm33 core.
Signed-off-by: Michal Smola <michal.smola@nxp.com>
Add DTS support for the two mikroBUS connectors on the sama7g54-ek board.
This adds:
- mikroBUS 1 and mikroBUS 2 header mappings
- board wiring for the shared mikroBUS I2C and SPI interfaces
- board aliases for mikroBUS header, I2C, and SPI use
Tested with:
- MIKROE ETH Click
- MIKROE Weather Click
- MIKROE Ambient 2 Click
Signed-off-by: Balaji Vasudevan <balaji.vasudevan@microchip.com>
Add supports for XIAO ESP32C5, a compact development board based on the
ESP32-C5 SoC.
Assisted-by: Cursor:composer-2
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
- Add header for clock defintions used by the devicetree.
- Add clock node.
- In soc.c, parse clock node config from the devicetree and apply them.
Signed-off-by: Scott Laboe <scottyl2.718@gmail.com>
- Initial implementation for the numaker watchdog timer peripheral.
- Add binding to the m48x series soc.
Signed-off-by: Scott Laboe <scottyl2.718@gmail.com>
Add a die temperature sensor driver for Bouffalo Lab SoCs using
the internal TSEN peripheral integrated into the GPADC.
The driver uses the ADC subsystem for hardware initialization and
raw sample acquisition via adc_bflb_tsen_read_phase(). Temperature
is computed from two ADC measurement phases (TSVBE_LOW toggle)
using the formula: temp = (|v0 - v1| - tsen_offset) / 7.753
The TSEN calibration offset is read from efuse when available,
falling back to the default value of 2042.
Includes:
- Sensor driver at drivers/sensor/bflb/bflb_tsen/
- DT binding for compatible "bflb,tsen"
- TSEN nodes (disabled) in bl60x, bl61x, bl70x, bl70xl dtsi files
Tested on BL602, BL616, BL706, and BL704L hardware.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Add soc-nv-flash child nodes to the six NXP FlexSPI boards
not yet converted: mimxrt595_evk, mimxrt685_evk, vmu_rt1170
(mx25um51345g), and mimxrt1050_evk, mimxrt1060_evk,
mimxrt1062_fmurt6 (hyperflash).
Update FlexSPI NOR and HyperFlash drivers to read
write_block_size from the soc-nv-flash node. Remove
soc-nv-flash.yaml from hyperflash and mx25um51345g
bindings.
Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
Add QDEC driver support for Realtek Bee series SoCs,
including RTL87x2G (AON QDEC) and RTL8752H (Basic QDEC).
This driver supports:
- X, Y, and Z axis count reading
- Hardware interrupt-based event trigger
Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
The SAM0 SPI driver previously supported DMA only for asynchronous
operations, which required higher-level drivers needing blocking DMA
transfers to implement workarounds. This patch extends DMA support
to the synchronous transfer path, enabling efficient blocking SPI
transactions without driver-specific hacks.
With this change, both synchronous and asynchronous SPI operations
can leverage DMA for improved performance and reduced CPU overhead.
Signed-off-by: Ramya T <ramya.t@microchip.com>
Signed-off-by: Parthiban Veerasooran <parthiban.veerasooran@microchip.com>
Add usbhs instance to kit_pse84_eval dtsi files. This
device has one usb block, but due to it being a multi-core
trustzone-capable device we have a couple addresses (s & ns)
and two sets of interrupts (cm33 & cm55).
Signed-off-by: Zayne Stites <Zayne.Stites@infineon.com>
This commit adds a new binding for using Infineon USB. This builds
off the existing Synopsys Designware USB 2.0 binding
Signed-off-by: Zayne Stites <Zayne.Stites@infineon.com>
Add devicetree node support for AES ( Advanced Encryption Standard )
node for TI MSPM0.
Signed-off-by: Girinandha Manivelpandiyan <girinandha@linumiz.com>
Align node unit addresses with the first cell of their reg property
per devicetree spec:
- imx943 m7_0/m7_1 irqsteer_master10..12: reg values 10/11/12 are
decimal master indices (0xa/0xb/0xc), so unit addresses become
@a/@b/@c.
- imx94x i2s2/i2s3/i2s4: reg base is 0x4265_0000/0x4266_0000/
0x4267_0000; unit addresses were missing a digit.
- rt5xx smartdma: reg base is 0x27000; unit address was @27020.
Reported by the unit address check from issue #107642.
Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
SAI3 uses 2 sdma channels for TX and RX and expects
clocking to already be enabled by the AP side (Linux).
On the FW side we inform the SAI driver about the MCLK
rate via a fixed-clock which must match the rate set
by the Linux kernel.
In the future clocking must be handled by Zephyr and
decouple it from Linux.
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Switch all Espressif partition layouts from the deprecated
fixed-partitions binding to the new zephyr,mapped-partition
binding introduced in the Zephyr 4.4 migration. Update the
flash-controller and flash0 nodes to declare the ranges and
address/size cells required by the new binding so partition
offsets resolve correctly through the node hierarchy.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The TM1637 support up to 6 digits display hardware, the driver needs to
read the digits count from device tree in order to function correct.
Hence, this adding a new property mark as required with enum [1 to 6].
Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Co-authored-by: Marcin Niestroj <m.niestroj@emb.dev>
--
Apply suggestion from @mniestroj
Update tests/drivers/build_all/auxdisplay/gpio_devices.overlay
to fix twister tests.
This property configures the Network Processor (NWP) QSPI clock
to 80 MHz instead of 40 MHz. While this is intended to enhance
performance, it introduces instability. Therefore, it is being
removed until the NWP firmware can properly support it.
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Add board definition for the Sipeed M0Sense, a compact development
board based on the BL702SA0Q2I (QFN32) with USB-C, RGB LED, user
button, and castellated pads. Console is via USB CDC-ACM.
Signed-off-by: William Markezana <william.markezana@gmail.com>