Commit graph zephyr/dts
Author SHA1 Message Date
Hoang Nguyen
499697a5bd dts: renesas: Add MIPI DSI support for RZ/A3M
Add MIPI DSI node to Renesas RZ/A3M devicetree

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
2026-09-17 07:50:50 -07:00
Hoang Nguyen
1732be110f drivers: mipi_dsi: Initial support for RZ/A3M
Add mipi_dsi driver support for Renesas RZ/A3M

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
2026-09-17 07:50:50 -07:00
Hoang Nguyen
eddb0e1324 dts: arm64: renesas: Add LCDC support for RZ/A3M
Add LCDC node to Renesas RZ/A3M devicetree

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
2026-09-17 07:50:50 -07:00
Hoang Nguyen
bfe0d8dce0 drivers: display: Initial support for RZ/A3M
Add display driver support for Renesas RZ/A3M

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
2026-09-17 07:50:50 -07:00
Khanh Nguyen
50429c8b42 dts: arm: renesas: Add ULPT counter node for RA8X1 and RA8X2
Add counter child node to ULPT instances on RA8X1 and RA8X2 SoCs
to enable ULPT counter driver support

Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
2026-09-17 07:49:10 -07:00
Khanh Nguyen
7435ecb4db drivers: counter: Add Renesas RA ULPT counter driver
Add counter driver for the Renesas RA Ultra-Low-Power Timer (ULPT)
with Kconfig, devicetree binding, and driver implementation

Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-09-17 07:49:10 -07:00
Khanh Nguyen
304d9f53f5 dts: bindings: renesas: Add count-source and prescaler to ULPT binding
Add count-source and prescaler properties to renesas,ra-ulpt binding
Update ULPT nodes on RA8X1 and RA8X2 accordingly

Signed-off-by: Khanh Nguyen <khanh.nguyen.wz@bp.renesas.com>
2026-09-17 07:49:10 -07:00
Duy Nguyen
89019f581f dts: renesas: Support sdio-int for Renesas dts
The new update SDIO support on renesas,ra-sdhc driver required the
sdio-int interupt signal to be defined on device tree, this add the
sdio interrupt define on the Renesas SoC

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-09-17 07:48:46 -07:00
Fin Maaß
a5af1b1675 boards: litex: add litex_vexiiriscv board
Add the litex_vexiiriscv board, a LiteX SoC with a VexiiRiscv softcore
CPU, generated for the Efinix Titanium Ti375 C529 Development Kit.

As the SoC is generated by the LiteX SoC Builder, the board definition
is only a snapshot of one specific configuration and may change at any
time. This is documented prominently in the board documentation, along
with the instruction to generate devicetree and Kconfig overlays with
litex_json2dts_zephyr.py for the SoC actually in use.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-09-17 12:19:53 +01:00
Ruijia Wang
8d1b3f4e36 dts: arm: nxp: mcxe31x: enable QSPI support in SoC dtsi
Update the QSPI node with nxp,qspi compatible, add second reg
entry for AMBA base address, clock reference to MC_CGM QSPI SFCK,
and child node address/size cells. Remove unused quadspi_ardb node.
Add mux-10-dc-0-div property to nxp,mc-cgm binding for SFCK divider.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2026-09-17 12:19:31 +01:00
Ruijia Wang
9a121c9ce4 dts: arm: nxp: mcxe24x: enable QSPI support in SoC dtsi
Add QSPI controller node to the MCXE24x SoC dtsi using the
nxp,qspi compatible, with AMBA base address, SPLL async clock
references, and child node address/size cells.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2026-09-17 12:19:31 +01:00
Ruijia Wang
8f2a0146cb drivers: mspi: add NXP QSPI controller driver
Add MSPI controller driver for NXP QSPI hardware. The driver
dynamically builds LUT sequences from MSPI transfer parameters,
supporting single and quad SPI modes. It handles MCXE24X hardware
quirks including SFAR auto-reset, minimum 16-byte TX IDATSZ, and
big-endian FIFO byte ordering.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2026-09-17 12:19:31 +01:00
Ruijia Wang
2b5917dcf5 dts: bindings: mtd: add XSPI NOR chip compatibles
Add mxicy,mx25um51345g and winbond,w25q512nw compatibles so the XSPI
NOR flash controller node can select its chip config at build time.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2026-09-17 12:19:07 +01:00
Ruijia Wang
cc24f1cf0a drivers: flash: mcux_xspi: add W25Q512NW quad SPI NOR support
Generalise the octal-only driver to a per-chip config and LUT table
so it can also drive the on-board Winbond W25Q512NW quad SPI NOR on
RT700 XSPI0. The octal path is unchanged.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2026-09-17 12:19:07 +01:00
Fin Maaß
d9f30dd84c dts: bindings: add timebase-frequency to cpu.yaml
timebase-frequency is a optional prop for
/cpus/cpu* nodes according to the devicetree spec,
so add it to cpu.yaml.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-09-17 12:18:27 +01:00
Yasushi SHOJI
7b646eb212 drivers: ethernet: phy: vsc8541: Add pad edge-rate control
The VSC8541 MAC-interface pad edge rate depends on the VDDMAC supply
voltage and board-level signal-integrity requirements. The driver
currently leaves the setting at its reset default, so boards cannot
select the value recommended for their electrical design.

Add a microchip,pad-edge-rate devicetree property accepting values 0
through 7. Default it to 7 to preserve existing behavior, and program
the selected value into page 2 register 27 after the PHY software
reset.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-09-17 12:18:05 +01:00
Benjamin Perseghetti
b8f8cedbd3 dts: bindings: gpio: add mr-mcxn-t1-header connector
Add a GPIO nexus binding for the MR-MCXN-T1 stacking header. The board
mates a stacking header that carries the expansion boards. Expansion-board
overlays must reference connector nexus labels rather than raw SoC GPIO
controllers, so the board needs a nexus that maps the header's control
lines (sensor interrupts, resets, indicator and user inputs). The binding
follows the existing connector-header pattern and includes gpio-nexus.yaml.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2026-09-17 12:15:36 +01:00
Aman Lachhiramka
e589bfdf99 dts: arm: ti: am13: add pinctrl node
Add IOMUX pin-controller node for AM13E using the ti,mspm0-pinctrl
compatible. IOMUX base is 0x400cc000.

Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
2026-09-17 12:12:47 +01:00
Tim Pambor
c70f09974e drivers: ethernet: numaker: replace the driver with dwc_mac
The generic dwc_mac driver handles the NuMaker EMAC, and both
in-tree boards now describe the MDIO controller and the PHY that it
needs. Remove the NuMaker Ethernet driver, its Kconfig option and the
phy-addr property that only it used.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-17 12:12:31 +01:00
Tim Pambor
83dfcef704 dts: ethernet: nuvoton: add the MDIO and PTP clock child nodes
The EMAC is a Synopsys DesignWare MAC and exposes the station
management interface and the IEEE 1588 timestamp unit as blocks of
its own register space. Describe them as child nodes so the generic
dwc_mac MDIO and PTP clock drivers can bind to them.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-17 12:12:31 +01:00
Tim Pambor
3a22f8a9f2 dts: ethernet: nuvoton: set the PHY connection type to RMII
The EMAC of the M467 and the M55M1 connects to its PHY through RMII only.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-17 12:12:31 +01:00
Tim Pambor
dd0fb8dd73 dts: ethernet: nuvoton: fix the multicast filter capabilities
The EMAC of the M467 and the M55M1 has no multicast hash filter and
nine MAC address entries, not a 64 bin hash table and sixteen
entries as commit 0b91e76bcb ("dts: ethernet: nuvoton: describe
multicast filter capabilities") assumed.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-17 12:12:31 +01:00
Johan Hedberg
1f8a48a231 dts: bindings: display: declare class: display
Declare that display controllers belong to the "display" device
class: every binding including display-controller.yaml inherits the
class, and the maxim,max7219 and raydium,rm67199/rm692c9 bindings,
which do not use the controller base binding, declare it directly.
With these, every driver registering the display device API is
covered by the class.

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-09-17 12:11:13 +01:00
Johan Hedberg
de8d51f844 dts: bindings: i3c: declare class: [i3c, i2c]
Declare that I3C controllers belong to the "i3c" and "i2c" device
classes: every binding including i3c-controller.yaml inherits the
classes, and the ite,it51xxx-i3cs binding, which does not use the
controller base binding, declares them directly. The i2c entry
matches the runtime view, where DEVICE_API_EXTENDS(i3c, i2c, ...)
makes DEVICE_API_IS(i2c, dev) true for I3C controllers.

Assisted-by: Claude:claude-fable-5
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-09-16 21:36:19 +01:00
Pieter De Gendt
c7d23c4ee2 drivers: hwinfo: add generic NVMEM device ID backend
Add a hardware-agnostic hwinfo backend that reads the device unique
identifier, and optionally the EUI-64, from NVMEM cells referenced by
a zephyr,hwinfo-nvmem devicetree pseudo-node.

As with the SoC-specific backends, only one device-id backend can be
linked into an image, so a conflicting backend must be disabled when
enabling this one.

Assisted-by: Claude:claude-fable-5
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-09-16 21:35:50 +01:00
Aksel Skauge Mellbye
b4240adc3e dts: arm: silabs: Add devicetree and bindings for Six301
Add SoC devicetree includes and bindings for Six301, the
first Series 3 device from Silicon Labs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-09-16 21:34:20 +01:00
Eve Redero
14ae12f80e soc: st: stm32: f7: add STM32F730X8 SoC
Added STM32F730X8 SoC, with 64KB Flash

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2026-09-16 16:42:19 +01:00
Chaitanya Tata
d1d31965da soc: nordic: nrf71: Steer ANTSW towards WLAN before Wi-Fi boot
Before starting communication with the Wi-Fi core, the antenna switch
(ANTSW) needs to be steered towards WLAN. This has to happen before the
LMAC processor is kickstarted in soc_early_init_hook(), which runs before
the GPIO driver is available (and, for TF-M, in the secure image), so
GPIO hogs or the GPIO driver cannot be used here.

Describe the steering line in devicetree through a new
nordic,nrf71-wifi-antsw node instead of hardcoding the pin, and drive it
in soc_early_init_hook() using NRF_DT_GPIOS_TO_PSEL with the nrf_gpio
HAL. Going through the HAL keeps the access on the P0 alias that matches
the build's security state, so it works in both secure and non-secure
builds.

The steering is sequenced after the antenna switch is powered
(pwr_antswc) and before the Wi-Fi core is kickstarted. A build assertion
enforces that steering is only configured when pwr_antswc is present, so
the switch is never steered without being powered.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Claude:claude-opus-4.8
2026-09-16 16:24:19 +01:00
Yanzhao Cui
099b3be581 dts: arm64: rockchip: add RK3588 CRU, GRF and GMAC nodes
Describe the Clock and Reset Unit, the system and PHP GRF syscon
regions, and the two GMAC controllers with their MDIO and PTP child
nodes. Both GMAC nodes and PTP clocks are left disabled in the SoC
dtsi; boards enable the instances they wire up.

Enable GMAC0 and its PTP clock on roc_rk3588_pc for build testing.
Board Kconfig defaults enable ETH_DRIVER, CLOCK_CONTROL and RESET.
The glue is covered by net.ethernet.build.default via the in-tree
board Twister conf.

Signed-off-by: Yanzhao Cui <cuiyanzhao@kylinos.cn>
2026-09-16 16:21:51 +01:00
Yanzhao Cui
3185d00b24 drivers: ethernet: dwc_mac: add Rockchip RK3588 glue driver
Add the platform glue that brings up the Synopsys DesignWare MAC found
on the RK3588, along with the rockchip,rk3588-gmac binding.

Bus init asserts the CRU reset line, programs the RGMII interface select,
clock direction and TX/RX delays through the system and PHP GRF syscon
regions, then deasserts reset. Because the RGMII transmit clock is
divided down in the PHP GRF instead of being driven by the MAC, the
divider is reprogrammed from the platform link speed change hook.

DMA descriptors use the linker nocache region. The driver depends on
64BIT and derives the GMAC instance id from the register address rather
than the devicetree instance number.

Signed-off-by: Yanzhao Cui <cuiyanzhao@kylinos.cn>
2026-09-16 16:21:51 +01:00
Yanzhao Cui
aed5c61614 drivers: reset: add Rockchip RK3588 CRU reset driver
Add a reset controller driver for the RK3588 Clock and Reset Unit,
together with its devicetree binding. The CRU exposes the peripheral
soft reset lines through write-enable protected registers; the driver
implements the assert, deassert and toggle operations on top of them so
peripherals such as the GMAC controllers can be reset from devicetree.

The driver maps the parent CRU MMIO region and uses the soft reset
registers through offsets from that base.

Signed-off-by: Yanzhao Cui <cuiyanzhao@kylinos.cn>
2026-09-16 16:21:51 +01:00
Yanzhao Cui
36dfaf96d3 drivers: clock_control: add Rockchip RK3588 CRU driver
Add a clock controller driver for the RK3588 Clock and Reset Unit,
together with its devicetree bindings. The driver gates and ungates the
peripheral clocks selected by the clock IDs from the rk3588-cru
dt-bindings header and reports nominal rates for the GMAC clocks so the
MAC can derive its CSR setting without a fixed snps,clk-csr property.

The driver maps the parent CRU MMIO region and uses the clock gate
registers through offsets from that base.

Signed-off-by: Yanzhao Cui <cuiyanzhao@kylinos.cn>
2026-09-16 16:21:51 +01:00
Tim Pambor
444990ea49 dts: nxp: s32k148: disable ENET by default
The ENET module, MAC, MDIO and PTP clock nodes had no status property
and were therefore enabled on every board using the SoC. Networking
applications failed to build for boards without an Ethernet PHY, such
as the S32K148-EVB without the nxp_adtja1101 shield, because the MAC
has no phy-handle.

Disable the nodes in the SoC devicetree, as done for MCXE24x. The
children need their own status because the MAC, MDIO and PTP clock
drivers instantiate per node and reference the parent device.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 16:21:22 +01:00
Zhaoxiang Jin
7ad09b6fe1 dts: arm: nxp: mcxa5x: list every power state that stops the LPADC
Neither lpadc0 nor lpadc1 declared zephyr,disabling-power-states, so with
CONFIG_PM_POLICY_DEVICE_CONSTRAINTS the policy was free to enter any power
state during a conversion.

Per MCXAP172M240F70 RM Rev. 1 section 30.6 ("Module operation in low power
modes") the ADC analog block is not active in Power Down and Deep Power
Down powers off the domain holding the LPADC registers, so neither state
can be entered mid-conversion. Give both nodes that list. Covers A577.

Deep Sleep stays listed even though the hardware does allow the converter
to keep running there -- CTRL[DOZEN] is 0 after reset, only the bus clock
is gated, and hardware triggers and the compare wakeup remain live. That
holds only while ADCK keeps running, and the SoC clock configuration makes
no such promise, so the conservative entry is the correct default. A board
or application that arranges a low-power ADCK source can drop &deepsleep
in its own overlay.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Zhaoxiang Jin
9d82d022e0 dts: arm: nxp: mcxaxx6: list every power state that stops the LPADC
None of lpadc0..lpadc3 declared zephyr,disabling-power-states, so with
CONFIG_PM_POLICY_DEVICE_CONSTRAINTS the policy was free to enter any power
state during a conversion.

Per MCXAP144M180FS6 RM Rev. 1 section 24.5 ("Module operation in low power
modes") the ADC analog block is not active in Power Down and Deep Power
Down powers off the domain holding the LPADC registers, so neither state
can be entered mid-conversion. Give all four nodes that list. Covers A366,
A346 and A266.

Deep Sleep stays listed even though the hardware does allow the converter
to keep running there -- CTRL[DOZEN] is 0 after reset, only the bus clock
is gated, and hardware triggers and the compare wakeup remain live. That
holds only while ADCK keeps running, and the SoC clock configuration makes
no such promise, so the conservative entry is the correct default. A board
or application that arranges a low-power ADCK source can drop &deepsleep
in its own overlay.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Zhaoxiang Jin
2e8cd43ce0 dts: arm: nxp: mcxa344: list every power state that stops the LPADC
Neither lpadc0 nor lpadc1 declared zephyr,disabling-power-states, so with
CONFIG_PM_POLICY_DEVICE_CONSTRAINTS the policy was free to enter any power
state during a conversion.

Per MCXAP100M180F40 RM Rev. 1 section 24.5 ("Module operation in low power
modes") the ADC analog block is not active in Power Down and Deep Power
Down powers off the domain holding the LPADC registers, so neither state
can be entered mid-conversion. Give both nodes that list. Covers A344 and
A343.

Deep Sleep stays listed even though the hardware does allow the converter
to keep running there -- CTRL[DOZEN] is 0 after reset, only the bus clock
is gated, and hardware triggers and the compare wakeup remain live. That
holds only while ADCK keeps running, and the SoC clock configuration makes
no such promise, so the conservative entry is the correct default. A board
or application that arranges a low-power ADCK source can drop &deepsleep
in its own overlay.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Zhaoxiang Jin
f4f86bf8af dts: arm: nxp: mcxa156: list every power state that stops the LPADC
Neither lpadc0 nor lpadc1 declared zephyr,disabling-power-states, so with
CONFIG_PM_POLICY_DEVICE_CONSTRAINTS the policy was free to enter any power
state during a conversion.

Per MCXAP100M96FS6 RM section 23.5 ("Module operation in low power modes")
the ADC analog block is not active in Power Down and Deep Power Down powers
off the domain holding the LPADC registers, so neither state can be entered
mid-conversion. Give both nodes that list.

Deep Sleep stays listed even though the hardware does allow the converter
to keep running there -- CTRL[DOZEN] is 0 after reset, only the bus clock
is gated, and hardware triggers and the compare wakeup remain live. That
holds only while ADCK keeps running, and the SoC clock configuration makes
no such promise, so the conservative entry is the correct default. A board
or application that arranges a low-power ADCK source can drop &deepsleep
in its own overlay.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Zhaoxiang Jin
a0798ed1a4 dts: arm: nxp: mcxa153: list every power state that stops the LPADC
lpadc0 declared no zephyr,disabling-power-states, so with
CONFIG_PM_POLICY_DEVICE_CONSTRAINTS the policy was free to enter any power
state during a conversion.

Per MCXAP64M96FS3 RM Rev. 7 section 23.5 ("Module operation in low power
modes") the ADC analog block is not active in Power Down -- the table
spells that cell "Static", which the RM legend defines as "the module is
not active in state retention status" -- and Deep Power Down powers off the
domain holding the LPADC registers. Neither state can be entered
mid-conversion. Covers A153, A152, A143, A142, A133 and A132.

Deep Sleep stays listed even though the hardware does allow the converter
to keep running there -- CTRL[DOZEN] is 0 after reset, only the bus clock
is gated, and hardware triggers and the compare wakeup remain live. That
holds only while ADCK keeps running, and the SoC clock configuration makes
no such promise, so the conservative entry is the correct default. A board
or application that arranges a low-power ADCK source can drop &deepsleep
in its own overlay.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Zhaoxiang Jin
4586888edb dts: arm: nxp: mcxnx4x: list every power state that stops the LPADC
Neither lpadc0 nor lpadc1 declared zephyr,disabling-power-states, so with
CONFIG_PM_POLICY_DEVICE_CONSTRAINTS the policy was free to enter any power
state during a conversion.

Per MCX Nx4x RM Rev. 6 Table 336 ("Module operation in low power modes")
the ADC analog block is off in Power Down, and Deep Power Down powers off
the domain holding the LPADC registers, so neither state can be entered
mid-conversion. Give both nodes that list. Covers N947, N946, N547 and
N546.

Deep Sleep stays listed even though the hardware does allow the converter
to keep running there -- CTRL[DOZEN] is 0 after reset, only the bus clock
is gated, and hardware triggers and the compare wakeup remain live. That
holds only while ADCK keeps running, and the SoC clock configuration makes
no such promise, so the conservative entry is the correct default. A board
or application that arranges a low-power ADCK source can drop &deepsleep
in its own overlay.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Zhaoxiang Jin
0409ef7194 dts: arm: nxp: mcxn23x: list every power state that stops the LPADC
lpadc0 declared zephyr,disabling-power-states = <&deepsleep &powerdown>
and lpadc1 declared nothing at all, so with
CONFIG_PM_POLICY_DEVICE_CONSTRAINTS the policy was free to enter deep
power down during a conversion on lpadc0, and any state at all on lpadc1.

Per MCX N23x RM Rev. 4 Table 220 ("Module operation in low power modes")
the ADC analog block is off in Power Down, and Deep Power Down gates the
whole CORE domain including the LPADC registers, so neither state can be
entered mid-conversion. Add &deeppowerdown to lpadc0 and give lpadc1 the
same list. Covers N236 and N235.

Deep Sleep stays listed even though the hardware does allow the converter
to keep running there -- CTRL[DOZEN] is 0 after reset, only the bus clock
is gated, and hardware triggers and the compare wakeup remain live. That
holds only while ADCK keeps running, and the SoC clock configuration makes
no such promise, so the conservative entry is the correct default. A board
or application that arranges a low-power ADCK source can drop &deepsleep
in its own overlay.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Zhaoxiang Jin
a0c8b3280e dts: bindings: adc: nxp,lpc-lpadc: add stop-in-low-power-mode
CTRL[DOZEN] decides whether the converter keeps running once the system
enters a low-power mode. The driver never touched it, so the setting came
from the MCUX SDK default, which is not the register reset value and was
not visible in device tree.

Expose it as stop-in-low-power-mode. Absent -- the default -- matches the
CTRL reset value: DOZEN is 0, so the converter keeps running in the
low-power modes where it stays functional, and hardware trigger detection,
an active conversion and the compare-based wakeup all survive. That does
require the functional clock ADCK to keep running, which the clock
configuration must arrange. Setting the property stops the converter for
the duration of any low-power mode instead.

Note the SDK field is inverted with respect to the register field:
enableInDozeMode clears DOZEN.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-09-16 16:18:48 +01:00
Filip Stojanovic
cdd72b83a4 dts: arm: st: c5: Add XSPI controller support
This adds support for XSPI controller needed for MSPI
devices. The node is disabled by default and meant to
be enabled by boards.

Signed-off-by: Filip Stojanovic <filipembedded@gmail.com>
2026-09-16 16:14:01 +01:00
William Tang
f2d0d86f02 drivers: clock_control: nxp_mc_cgm: Add eMIOS clock gate and rate
Add MC_CGM clock gate entries and frequency query support for the
NXP eMIOS peripheral:

- Add LISTIFY-based gate entries for all eMIOS instances, guarded
  by CONFIG_PWM_NXP_EMIOS and FSL_FEATURE_SOC_EMIOS_COUNT, so
  clock gating follows the same pattern used by ADC and FlexCAN.
- Add a MCUX_EMIOS0/1/2_CLK case in mc_cgm_get_subsys_rate() that
  returns CLOCK_GetCoreClkFreq(). The eMIOS SDK provides per-
  instance gate IDs (kCLOCK_Emios0/1/2) but only a single shared
  clock query enum (kCLOCK_EmiosClk), so frequency lookup cannot
  use LISTIFY and is handled via switch-case instead. This is
  documented in the comment block above mc_cgm_rate_map[].

Required by the eMIOS PWM driver to obtain the input clock
frequency at init time.

Also update emios clocks phandle array in mcxe31x common DTSI.

Signed-off-by: William Tang <william.tang@nxp.com>
2026-09-16 16:13:43 +01:00
William Tang
adc85f2e56 dts: arm: nxp: Expand eMIOS nodes in mcxe31x common DTSI
Complete the three eMIOS instances in nxp_mcxe31x_common.dtsi:

- Add missing interrupts and interrupt-names for emios_1 and
  emios_2 (previously omitted).
- Add clocks = <&mc_cgm MCUX_EMIOS_CLK> to all three instances.
- Add counter_bus child nodes for bus A/B/C/D/F on each instance,
  mapping the fixed eMIOS channels used as modulus counters.
- Add a pwm sub-node compatible with "nxp,emios-pwm" to each
  instance so board DTS overlays can enable PWM without
  re-declaring the compatible string.

All new nodes default to status = "disabled"; boards opt in
individually via their DTS files.

Signed-off-by: William Tang <william.tang@nxp.com>
2026-09-16 16:13:43 +01:00
William Tang
1ca6d3e87a dts: bindings: pwm: Add NXP eMIOS and eMIOS PWM bindings
Add two new DT binding YAML files for the NXP Enhanced Modular
I/O Subsystem (eMIOS) peripheral:

- nxp,emios.yaml: top-level eMIOS module binding, covering the
  global-prescaler property and counter-bus child node with
  individual channel sub-nodes (channel, prescaler, mode).
- nxp,emios-pwm.yaml: eMIOS PWM sub-node binding, declaring
  #pwm-cells and per-channel properties (mode, counter-bus-type,
  prescaler, phase-shift).

These bindings are required before SoC DTSI and board DTS nodes
that reference compatible = "nxp,emios" and "nxp,emios-pwm" can
be parsed by the DT toolchain.

Signed-off-by: William Tang <william.tang@nxp.com>
2026-09-16 16:13:43 +01:00
Ren Chen
55d5c598bf drivers: udc: add it51xxx udc driver support
Add usb device driver for it51xxx SoCs.

Tested with:
- USB20CV ch9 test
- cdc-acm/console/hid-mouse/hid-keyboard/dfu/testusb

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-09-16 16:13:22 +01:00
Kate Wang
c90c9bb50f dts: nxp: rt7xx: Add JPEG decoder device node
Add device tree node for the JPEG hardware decoder module
on the RT7xx SoC.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-09-16 16:13:11 +01:00
Kate Wang
eb9ccd4333 drivers: video: Add NXP JPEG decoder driver
Add support for NXP JPEG decoder hardware module. This driver provides
memory-to-memory (M2M) video transformation capability to decode JPEG
compressed images into raw pixel formats.

Key features:
- Supports JPEG input format (VIDEO_PIX_FMT_JPEG)
- Resolution support: 64x64 to 8192x8192 pixels (16-pixel step)
- Automatic format detection from JPEG header parsing
- No color space conversion (output format matches JPEG encoding)
- Interrupt-driven operation with input/output buffer queues
- Configurable output buffer pitch for flexible memory layouts

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-09-16 16:13:11 +01:00
Tim Pambor
b87570a90c dts: arm: st: c5: add the ethernet PTP kernel clock
RCC_CCIPR3.ETH1PTPCLKSEL resets to "kernel clock disabled", so the PTP
timer of the MAC has no clock unless the mux is programmed. Describe it
as the "mac-clk-ptp" entry of the ethernet node, sourced from rcc_hclk1,
so a driver that supports timestamping both selects the source and can
read its rate back.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-16 09:25:07 +02:00
Gabriel Germano
95bf782576 soc: rp2350: add S2RAM resume trampoline via POWMAN
Add pm_s2ram_mark_set/pm_s2ram_mark_check_and_clear, which mark the
POWMAN BOOT0..3 registers with the resume trampoline's boot vector in
RAM, letting the bootrom branch there after SWCORE is powered back up
instead of doing a cold boot. Enable HAS_PM_S2RAM_CUSTOM_MARKING and
build the file when CONFIG_PM_S2RAM is enabled. Also restore the core
CPU state that the SWCORE power-down clears before the (FP-active)
context restore: besides VTOR, re-enable all coprocessors (FPU
CP10/CP11, GPIO CP0, CP4) via runtime_init_per_core_enable_coprocessors,
and rebuild the exception and IRQ priorities via
z_arm_exc_setup()/z_arm_interrupt_init(). Without this the kernel
faults non-deterministically when resuming from deep sleep.

Add a raspberrypi,pico-powman devicetree binding and node so the
POWMAN base address used for the BOOT0..3/SCRATCH0 registers comes
from devicetree, matching this SoC family's convention, rather than
being hardcoded. The node intentionally overlaps the existing vreg
node's address: RP2350 folds VREG_AND_CHIP_RESET into POWMAN, unlike
RP2040, so the two nodes describe the same physical block from
different logical angles. Access those registers via
sys_write32()/sys_read32() rather than raw volatile pointer
dereferences.

Signed-off-by: Gabriel Germano <gabriel.lucasgermano@gmail.com>
2026-09-16 09:23:39 +02:00