Give a title and more explicit description to the generic and
Zephyr-vendor DSA bindings.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The `zephyr,dsa-port` compatible was entirely described as child-binding
of the compatible-less `dsa.yaml` binding. This is supported by EDTLib
but goes against Zephyr's guidelines for upstream bindings:
Bindings which match a compatible must have file names based on the
compatible. [i.e., `zephyr,dsa-port` should be described in a file
titled `zephyr,dsa-port.yaml`]
gen_driver_kconfig_dts.py also does not support this organization and
fails to emit the usual Kconfig variables DT_COMPAT_ZEPHYR_DSA_PORT
and DT_HAS_COMPAT_ZEPHYR_DSA_PORT_STATUS_OKAY when encountering it.
Make `zephyr,dsa-port` a proper freestanding compatible while retaining
the constraint on `dsa.yaml` sub-bindings by making it mandatory to have
as compatible on child-binding nodes.
Note: include'ing `zephyr,dsa-port.yaml` as child-binding of `dsa.yaml`
does not work here: the `compatible` key inside the child-binding would
be registered as belonging to the PARENT binding file, which would clash
with the freestanding file also doing this registration (and any other
binding if there were more), causing a build error.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Include the base.yaml binding to obtain the reg property's type instead
of re-declaring it in the binding.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Add the SPI8 controller node to the STM32MP25x M33 device tree.
The SPI8 is an instance with limited features.
Signed-off-by: Rupert Englbrecht <renglbrecht@dh-electronics.com>
Add initial DeviceTree support for the Infineon CAT1C CYT4DN SoC.
This introduces the base .dtsi file with core peripherals such as
SCB, GPIO, and pinctrl blocks, along with the CPUSS system
interrupt controller and system interrupt multiplexer nodes.
It also adds the clock dtsi defining the base clock node required
for peripheral clocking.
Signed-off-by: Alexpandi Muniyandi <alexpandi@linumiz.com>
Signed-off-by: Christoph Seitz <christoph.seitz@infineon.com>
Add devicetree binding for Infineon CAT1 CPUSS interrupt
multiplexer channel. Each child represents one NvicMux NVIC line
and acts as a 2nd-level interrupt aggregator for peripherals that
select it as their interrupt-parent.
Signed-off-by: Sanjay Vallimanalan <sanjay@linumiz.com>
Add devicetree binding for the Infineon CAT1 CPUSS system interrupt
multiplexer parent node. This node is a container that groups the
individual NvicMux channel child nodes. Peripherals reference the
child channels (infineon,cat1-intc-mux) to select which NvicMux NVIC
line their system interrupt is routed to.
Signed-off-by: Sanjay Vallimanalan <sanjay@linumiz.com>
added clock binding for peripheral clock group, this holds the
property related to the peripheral clock group block
Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Add high frequency clock bindings for Infineon Traveo Family MCUs
Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Signed-off-by: Christoph Seitz <christoph.seitz@infineon.com>
Clock source selection for the 32 kHz clock is now handled by the clock
control driver. Remove the redundant clock source configuration from the
RTC driver and rely on the clock control subsystem to provide the
selected source.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
Correct the INRO clock frequency definition from 8 kHz to 131 kHz to
match the hardware specifications.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
Add a dedicated node to represent the MAX32657 32 kHz clock, which can
be sourced from ERTCO, INRO, or RTC_CLK_IN.
Also add a node for the RTC_CLK_IN external clock input to accurately
model the clock topology in the devicetree.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
MGM26 and BGM26 modules use an integrated 40 MHz HFXO instead of the
39 MHz crystal used by discrete xG26 devices.
Add an HFRCODPLL configuration that derives the supported 80 MHz CPU
clock from the module HFXO.
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Add a counter child driver for the Micro Crystal RV-3028 RTC.
The driver provides access to the RV-3028 counter functionality through
the Zephyr counter API and uses the RV3028 MFD parent driver for
register access.
Signed-off-by: Janez Ugovsek <janez@ugovsek.info>
Because "I2S peripherals" are actually "SPI peripherals in I2S mode",
all i2s* nodes are placed just below their corresponding spi* node,
so i2s1 has been moved upwards.
Add new node for SPI6 which was not supported yet, so that I2S6 can
also be introduced in the device tree.
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Add erase-value, infineon,explicit-erase, and infineon,cache-invalidate
properties for PSC3 flash controller. Migrate to zephyr,mapped-partition
binding and update partition addresses.
Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
The IOMUX peripheral on MSPM0G and MSPM0L is located at 0x40428000.
The pin-controller node was incorrectly placed at 0x400a0000, which
is the GPIOA peripheral base, causing DT_INST_REG_ADDR() to return
a wrong address to pinctrl drivers.
Move GPIOA, GPIOB (mspm0.dtsi) and GPIOC, ADC0 (mspm0l.dtsi) out
of the pin-controller node and into the soc node directly. These
peripherals share no address space with IOMUX and should not be
modelled as pin-controller children.
Drop #address-cells and #size-cells from the pinctrl node since
pin configuration subnodes carry only pinmux properties, not reg.
Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Use new bindings to specify the reserved channels and
interrupts of the IPC instances.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
Add device tree binding for the Infineon IPC block and
its expansion as a multi-channel inter-processor mailbox
controller.
Also correct the preexisting device-tree nodes that had
a compatible infineon,ipc (which did not exist until now)
with the correct ipc-config-cells size.
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
Add the QUADSPI controller node and an FMC NOR/PSRAM (SRAM) child to the
STM32F446 SoC devicetree. So far only the FMC SDRAM controller was defined
and the QUADSPI peripheral was missing entirely.
These nodes are required to drive an external Quad-SPI NOR Flash and a
parallel (Intel 8080) display over the FMC on boards that route these
peripherals to their connectors.
Signed-off-by: Michele Vaccari <michele.vaccari@outlook.com>
Allow connecting the `fuel-gauge-composite` instance to a charger
device, to limit the reported SoC to 99% while still charging, and
forcing it to 100% when charging terminates.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Add the `factory-internal-resistance-micro-ohms` devicetree property
from the upstream Linux bindings. This can be used as a naive correction
factor for the battery state-of-charge while charging.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Add the MCXL OSTIMER0 devicetree node and make the MCUX OS
timer driver selectable for MCXL25x CPU0 targets.
OSTIMER0 is disabled by default. When MCUX_OS_TIMER is selected, SysTick
is disabled and the system clock rate is set to the OSTIMER clock rate.
Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
Add support for the Analog Devices ADIN1140 10BASE-T1S MAC-PHY:
ethernet driver, MDIO bus driver and PHY driver.
Signed-off-by: Raluca Bozdog <raluca.bozdog@analog.com>
Co-authored-by: Jason Murphy <jason.murphy@analog.com>
Add a new video driver for NXP FlexIO-based parallel camera
interface (DVP). The driver captures 8-bit parallel pixel data
via FlexIO shifters, with pixel clock (PCLK) gating and horizontal
sync (HREF) line synchronization. Pixel data is transferred to
memory using eDMA, with frame boundaries synchronized via VSYNC
GPIO interrupt. An optional XCLK output can be generated by a FlexIO
timer for camera sensor clock supply.
Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
Expand image slots and storage partitions to utilize the full MRAM
address space on nRF7120.
Signed-off-by: Dhanoo Surasarang <dhanoo.surasarang@nordicsemi.no>
The rated and overdrive voltages defaulted to 3200 mV, inherited from
Linux rather than from the part, which drives an actuator harder than the
device's reset value and can make it latch its over-current flag. Use the
power-on values instead and bound both properties.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Enable the esp32 HCI driver on the ESP32-C61: extend the
controller Kconfig gates, report the C61 vendor hardware
variant id, add the hci devicetree node and enable it on the
esp32c61_devkitc board. The C61 BLE controller reuses the C6
controller sources and blobs through the hal.
Assisted-by: Claude:opus-4-8
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Now that the driver is capable of determining CLKSEL by itself, make the
corresponding property deprecated at binding level. It remains supported
and inside the binding for backwards compatibility but will be removed
in a future Zephyr release.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The AmebaD platform initializes the CPU clock at 200 MHz, but the SoC
devicetree reports 260 MHz. Zephyr uses this property to configure
system timing, which makes uptime and timer periods run too slowly.
Set clock-frequency to the actual 200 MHz initialization rate so
SysTick-based timekeeping matches wall-clock time.
Assisted-by: OpenAI-Codex:gpt-5.6
Signed-off-by: Sujin Yu <suzinee.u@gmail.com>
Add the clkout child to the cmu on Silicon Labs Series 2, using
the silabs,series-clock-output compatible.
Also add the missing exportclk clock node, which has a divider
from sysclk.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
When USBPHYCnSEL=3, hse_div2_osc_ck is selected as clock source. Use the
corresponding value as source instead of HSE.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The clock signal `hsi_div2_osc_ck` should be documented as a distinct
source because it is derived from the HSE clock with a configurable
prescaler.
Document the exact effect of `hse-div2` on st,stm32n6-hse-clock in the
binding: it enables the prescaler for `hse_div2_osc_ck` whose frequency
is `hse_osc_ck / 2` when enabled, and `hse_osc_ck` otherwise. Add new
clock source `STM32_SRC_HSE_DIV2_OSC` in stm32n6_clock.h, and update the
corresponding clock control driver to handle this new source.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Enable the esp32 Wi-Fi driver on the ESP32-C61: extend the FTM
and mesh Kconfig gates, add the wifi devicetree node and enable
it on the esp32c61_devkitc board.
Assisted-by: Claude:opus-4-8
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Use the CM0+ RTC alarm interrupt mapping in the common AON
devicetree and override it with the corresponding CM33 interrupts.
Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
STM32U3 dtsi was missing the MPU. This commit adds it.
It was already declared in the SoC Kconfig.
Board nucleo_u385rg_q and nucleo_u3c5zi_q already enables it.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add the support of ICACHE in the STM32U3 SoC Kconfig, and add the line size
in the device tree.
No need to change anything in soc_early_init_hook because cache is already
enabled here (but was doing nothing until now).
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Every Espressif board includes one of these tables, and all of
them reserved a scratch partition that only the legacy swap using
scratch mode uses. Remove it so the generic MCUboot default, swap
using offset, applies to the family, and note the change in the
migration guide. The other partitions keep their offsets.
Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
All STM32 SoCs with an Ethernet MAC now describe the MAC reset line,
so make the resets property mandatory. Include reset-device.yaml to
pull in the property definition.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>