The STM32WB55 VREFBUF supports scale change while active. Add the
corresponding property on the node at SoC DTSI level.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Add a new property to the STM32 VREFBUF binding indicating whether the
hardware supports changing voltage scale while the regulator is active.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Add a Kconfig option, DMA_MCHP_XEC_DMAC_MAX_CHANNELS, defaulting to the
dmac node's dma-channels devicetree property,
Updated PCR and GIRQ properties of DMA node to use new macros
Also removed the XEC_DMA_DEBUG logic.
Signed-off-by: Manimaran A <manimaran.a@microchip.com>
The TDP2004 is a four-channel linear repeater or redriver designed
to support DisplayPort 2.1 up to 20Gbps and AC coupled HDMI2.1 source
up to 12Gbps.
Signed-off-by: Julien Panis <jpanis@baylibre.com>
Add device tree source files for the TI MSPM33C321A.
CPU node, ARMv8-M NVIC with 2 priority bits, and
base SRAM/flash memory nodes common to the MSPM33C series
with mspm33c321a device specific memory sizes.
Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add an in-process virtual Wi-Fi simulator (wifi_hwsim) for testing the
Zephyr Wi-Fi stack (wpa_supplicant / hostapd -> driver) without
physical hardware, modeled after Linux's mac80211_hwsim.
The driver instantiates N virtual radios from devicetree, each backed
by a net_if with Ethernet L2 and Wi-Fi offload. An in-process
frame-relay "medium" connects radios tuned to the same frequency.
Management frames (802.11) are handed to wpa_supplicant; data frames
(802.3) are delivered by L2 destination MAC, so a unicast frame reaches
only the matching radio while broadcast/multicast frames reach all
peers on the channel.
Because all radios share a single IP stack, a peer's source address is
also a local address. Injected data frames are flagged as loopback so
they are not dropped by the IP input anti-spoof check; deployments must
also disable the "destination is my own address" short-circuit
(CONFIG_NET_IP_ADDR_CHECK) so inter-radio data frames traverse the
medium.
Open, WPA2-PSK and WPA3-SAE associations work end to end. Since both
radios live in one process, the driver relays the association between
the STA and AP contexts as an EVENT_ASSOC carrying the STA's RSN IE (the
way a FullMAC firmware reports it) rather than serializing
(Re)Association frames. For a secured network the STA port is left
unauthorized so wpa_supplicant runs the real 4-way handshake, whose
EAPOL frames cross the medium as ordinary data frames. The AP's beacon
IEs (including the RSN element) are surfaced in scan results so a STA
can match a secured network, and the AP-side station ops are accepted
so the authenticator can authorize the station.
For WPA3-SAE the driver advertises WPA_DRIVER_FLAGS_SAE and relays the
SAE Authentication commit/confirm frames over the medium (built from the
SME auth_data on the STA, parsed back into EVENT_AUTH), so the real SAE
exchange runs before the 4-way handshake.
MAC addresses follow the standard Ethernet MAC config mechanism
(local-mac-address / zephyr,random-mac-address / NVMEM via
net_eth_mac_load()), falling back to a random locally-administered
address.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Claude:claude-opus-4.8
On the RP2040, interrupt 15 is used for the RX FIFO on core 0, and
interrupt 16 is used for the RX FIFO on core 1. By splitting the mailbox
node into separate ones for each core, the correct interrupt for each core
can be selectively enabled in an overlay.
This benefits AMP use cases with the RP2040 where each core runs its own
distinct application. Without this, only the interrupt for core 0 would be
enabled.
Signed-off-by: Eric Hay <erichay@live.ca>
Set the 'power-domains' property for the I2C node and enable automatic
runtime PM device management with 'zephyr,pm-device-runtime-auto'. This
allows the I2C peripheral to properly integrate with power management
policies, ensuring it is controlled according to the state of the
associated power domain.
Upstream-status: pending
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Introducing a devicetree description for the STM32F103X6 SoC
(low-density value line).
changes summary:
1. stm32f103X6.dtsi becomes the new base for the low-density F103 line.
It includes stm32f1.dtsi directly and carries the peripherals shared by
X6 and X8 (usb, can1, usb_fs_phy).
2. stm32f103X8.dtsi now includes stm32f103X6.dtsi
and gains i2c2, usart3 and timers4, which are not present on X6.
3. i2c2, usart3, timers4 and the smbus2 node (which references i2c2)
are removed from the common stm32f1.dtsi, since they are not present
on every F1 chip.
4. stm32f100Xb.dtsi and stm32f105.dtsi, which include stm32f1.dtsi
directly and do not chain through stm32f103X8.dtsi, gain local copies
of i2c2, usart3, timers4 and smbus2, following the existing pattern
already used there for spi2.
Build-tested (samples/hello_world) against
- stm32vl_disco,
- stm3210c_eval,
- nucleo_f103rb,
- olimexino_stm32,
- stm32_min_dev,
- stm32f103_mini,
- waveshare_open103z,
- e80_900mbl_01
and All have passed!
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Mohammed Siddique <mohammed.siddique@solitontech.com>
Move `phy-handle` to use the dependency-mode prop
key instead of the hardcoded code.
Because all ethernet drivers only need to use the
phy-handle in the iface init, we can ignore the
phy-handle dependency completly instead of only
ignoring it if the phy-handle pointing to a child
node of the ethernet node.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Add a basic flash driver for intel pflash. This flash implements a CFI
interface, and is available as "pflash" within QEMU targets.
Assisted-by: Claude:Haiku 4.5
Signed-off-by: Daniel DeGrasse <daniel.degrasse@analog.com>
Use #include <> instead of #include "" to include a header file which path
is not relative to the directory path of the file emitting the #include
directive.
This change was made running scripts/check_quoted_includes.py script
proposed in https://github.com/zephyrproject-rtos/zephyr/pull/112135
with the Linux shell command below and manually selecting the applicable
changes:
$ find dts/arm -type f -exec ./scripts/check_quoted_includes.py -w {} \;
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add driver for the ADIS16477 6-axis IMU sensor family.
Supports polling, trigger (DRDY interrupt), RTIO async, and
streaming modes. Includes SPI bus access, burst read, decoder,
temperature and inertial data channels, decimation rate
configuration via devicetree, hardware reset, and diagnostic
status checking.
Signed-off-by: Iustin Stolniceanu <iustin.stolniceanu@analog.com>
Add TTC0 nodes for Versal-Net using a parent xlnx,ttc block with
three child xlnx,ttc-counter timer instances.
Signed-off-by: Satya Sri <satyasri.katru@amd.com>
Add TTC0 nodes for Versal2 using a parent xlnx,ttc block with
three child xlnx,ttc-counter timer instances.
Signed-off-by: Satya Sri <satyasri.katru@amd.com>
Add devicetree bindings for the AMD/Xilinx TTC block and timer
instances. Model the hardware as a parent xlnx,ttc node with child
xlnx,ttc-counter nodes.
Signed-off-by: Satya Sri <satyasri.katru@amd.com>
Adding a binding property to enable speaker output and updating the
driver to support driving the speaker in addition to the headphone
outputs.
Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
Add nodes for the two Cadence SPI controllers in the Versal.
These nodes describe the standard SPI controllers and do not
include the separate QSPI/OSPI controller.
Signed-off-by: Takumi Ando <takumi@spacecubics.com>
Add AON QTMR0 and QTMR1 devicetree nodes for MCXL255.
Each QTMR channel is represented as a separate nxp,imx-tmr child node
and disabled by default.
Model the AON QTMR clock as a fixed-clock provider based on the
configured 2.5 MHz AON QTMR clock.
Override the QTMR interrupt numbers for the CM33 core.
Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
Implement a driver for the ADC ADS1220.
Currently only the single shot mode is supported.
Origin: Original
Signed-off-by: Hasler Pauline <phasler@baumer.com>
Adds SoC support for SHAKTI Ganga, a 64-bit
RISCV SoC from SHAKTI processor initiative at
RISE Lab, IIT Madras. Ganga is commonly ran as
soft core on FPGA boards.
This commit adds SoC family Kconfig and
the base devicetree.
Signed-off-by: Vedant Malkar <vedantitsme@gmail.com>
Add bare-minimum board support for UIAPduino Pro Micro CH32V003.
This enables the WCH CH32V003F4U SoC and basic GPIO support only. The board
definition provides an LED on PC0 so the blinky sample can run.
USART is not enabled yet.
Configure minichlink as the default runner with the board-specific probe
identifier.
Product page:
https://www.uiap.jp/en/uiapduino/
Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
Add non-cacheable memory support on the esp32p4 by reserving a
power-of-two window at the top of HP SRAM and marking it
non-cacheable with a PMA NAPOT entry at boot. The window keeps its
normal cached address so it stays reachable by the DMA engine,
while CPU accesses bypass the cache, so both masters see coherent
data through one address.
The region size comes from the sramhp_nocache devicetree node and
the base is derived per silicon revision, whose SRAM and cache
layouts differ. The PMA entry is re-applied on wake from standby
because the PMA CSRs are volatile across CPU power-down sleep.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The comparator nodes had address-cells and size-cells
without ranges or a child reg property causing warnings
at build time. Removed them as they are unnecessary.
Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
Adds support for the TI TLA2528 I2C ADC with GPIOs.
The TLA2528 is a 12-bit 8-channel ADC, where each channel can also be
configured as a GPIO in- or output in push-pull or open-drain.
Signed-off-by: Oliver Schmidhauser <oliver.schmidhauser@leica-geosystems.com>
Add esp32c5 and esp32p4 support to the esp32 mailbox driver. The HP and
LP cores signal each other through the PMU software interrupt, the same
mechanism used on the esp32c6, with the esp32p4 LP interrupt status bit
handled per its register layout.
The esp32p4 LP core uses a multi-vectored interrupt controller that
jumps directly to the handler, so tag the LP PMU handler with
LP_CORE_ISR_ATTR so it saves and restores registers and returns with
mret; on the single-vector esp32c5 and esp32c6 the attribute is empty.
Also shrink the esp32p4 LP ulp_ram region so it stops before the shared
ulp_shm block that holds the mailbox coordination data, matching the HP
view and preventing the loader from clobbering it.
Mark the esp32c5 and esp32p4 mailbox nodes okay to match the other socs.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
- Add power management support for Infineon PSOC4 for Deepsleep.
- Configure Watchdog Timer as the wakeup source.
Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
Co-authored-by: Niranjan M <niranjan@aerlync.com>
Add support for the counter capture API to the MCUX CTIMER driver.
The driver stores capture callbacks per channel, maps Zephyr edge
flags to CTIMER capture modes, enables capture interrupts, and reports
captured TC values from the CTIMER CR registers.
Capture is mutually exclusive with alarms on the same channel because
both features share the counter channel namespace. Add optional
pinctrl and INPUTMUX routing support so boards can route CTIMER capture
sources from devicetree without changing the public counter API.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Add three TDM DAI instances (tdm_dai0/1/2) and one unified
acp_tdm_dma DMA controller node to the ACP 7.X device tree.
Update dma-channels default to 6 (2 per instance x 3 TDM
instances) in Kconfig.acp_tdm.
Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
Signed-off-by: Sneha Voona <sneha.voona@amd.com>
SSD1680 supports RAM ping-pong for display mode 2 through the display
option register. Enable F[6] when switching to the partial refresh
profile so partial updates can use the controller's buffer swap behavior.
Expose this as a "ram-ping-pong-mode2" devicetree property on the
SSD1680-specific binding.
Signed-off-by: Aleksandrs Sevastjanovs <sevalks@gmail.com>
Replace the CONFIG_SOC_MCXW70AC / CONFIG_SOC_MCXW716C Kconfig guards
that conditionalize SIRC hardware access with a new DT boolean
property 'sirc-supported' on the nxp,mcxw7x-clock binding.
MCXW70 and MCXW71 carry the SIRC hardware block; MCXW72 (MCXW727C)
does not - its SIRCCSR register block was removed from the SDK
headers, making kCLOCK_ScgSircClk, CLOCK_UnlockSircControlStatusReg,
scg_sirc_config_t, kSCG_SircEnableInSleep and CLOCK_InitSirc
undefined at build time for frdm_mcxw72.
Set sirc-supported in the MCXW70 and MCXW71 clk_ctrl DT nodes.
Leave it absent on MCXW72 so DT_INST_PROP(0, sirc_supported)
evaluates to 0 at compile time, bypassing all three affected sites:
- get_rate() FRO_6M: fall back to the fixed 6000000U constant
- clock_control_init(): skip CLOCK_UnlockSircControlStatusReg()
- clock_control_init(): skip the SIRC LP-mode init block,
which also bypasses enable_sirc_in_lp_mode
Move enable-sirc-in-lp-mode out of nxp_mcxw7x_common.dtsi (where
it was incorrectly inherited by MCXW72) into the MCXW70/MCXW71
per-variant DTS nodes.
Tested: west build -p=always -b frdm_mcxw72 tests/lib/cpp/cxx
builds cleanly after this change.
Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
Add a required ngpios property to the BCM2711 pinctrl binding
and set it in the SoC dtsi. Update the driver to read the number
of GPIOs from devicetree via DT_INST_PROP.
This makes the GPIO count explicit in devicetree and avoids
hardcoded assumptions in the driver.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Series 0 and 1 have 32768 Hz low-frequency oscillators, while
DT_FREQ_K(32) is 32000 Hz.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
The MCXW7x clock controller configured the OSC32K 32 kHz crystal
oscillator with an 8 pF internal load capacitance (cap value 4) on
both the XTAL and EXTAL pins, and hardcoded the amplifier coarse
gain to Range0. This configuration leads to a clock precision issue
of around 180 ppm on the 32 kHz clock.
A 16 pF internal load capacitance is the best configuration to
achieve the best precision, together with a per-SoC coarse amplifier
gain. Fix the default configuration:
- Use a 16 pF internal load capacitance on XTAL and EXTAL.
- Add an osc32k-coarse-adjustment devicetree property so the coarse
amplifier gain is configurable (the driver previously forced
Range0), and wire it into the CCM32K oscillator config.
- Set the coarse gain per SoC: Range3 on MCXW72, Range1 on MCXW71.
MCXW70 is aligned with MCXW72 (Range3).
Also add named dt-bindings macros for the OSC32K load capacitance
(MCXW_CLK_OSC32K_CAP_*pF, value N maps to 2*N pF) and coarse gain
(MCXW_CLK_OSC32K_COARSE_RANGE*) so the devicetree no longer relies
on opaque magic numbers.
Built samples/hello_world for frdm_mcxw70, frdm_mcxw71 and
frdm_mcxw72 and verified the generated devicetree resolves to 16 pF
caps with coarse gain Range3 (W70/W72) and Range1 (W71).
Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
Remove the default value for DT properties that are required.
Edtlib.py mandates DTS files to provide a value for required properties
even when a default value is defined in the YAML file hence no functional
changes.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Several peripheral reg sizes in rv32m1.dtsi are too small and do not
cover their full documented register maps.
Update the affected ranges to match the actual peripheral layouts:
gpio*: 0x14 -> 0x40 PDDR @ 0x14 ends at 0x18; 0x40 matches
the 0x40-aligned port slots and every
other Kinetis dtsi (nxp_kw41z, nxp_k6x,
nxp_k2x, nxp_k8x, nxp_ke1x*).
lpuart*: 0x2C -> 0x1000 WATER @ 0x2C ends at 0x30; 0x1000
matches nxp_k8x and nxp_k32l2b3.
lpi2c*: 0x170 -> 0x1000 SRDR @ 0x170 ends at 0x174; 0x1000
matches the 0x1000-spaced layout.
pcc*: 0x200 -> 0x1000 CLKCFG[130] runs to 0x208; 0x1000
matches nxp_ke1xf/nxp_ke1xz.
intmux1: 0x20 -> 0x200 Typo - intmux0 (same IP, same struct)
is 0x200.
Signed-off-by: Adrian Śliwa <asliwa@internships.antmicro.com>
Add missing #address-cells = <0> property to all IRQSTEER
interrupt-controller master nodes to eliminate devicetree warnings.
Adding #address-cells = <0> indicates that interrupt specifiers do
not contain address information, only interrupt number and flags.
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Add sar_adc node to nxp_imx952_m7.dtsi.
Enable it on imx952_evk M7 board and add adc to supported features.
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>