Commit graph zephyr/dts
Author SHA1 Message Date
Benjamin Cabé
57b85b75a5 dts: bindings: vendor-prefixes: Add Orient Display
Add the orientdisplay prefix for Orient Display, maker of the OD-6010
segment LCD panel used by the od_6010 shield.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-5.5
2026-10-15 20:38:31 +02:00
Jordan Yates
bb0f4534b5 lora: native: fake LoRa driver
Implement a fake LoRa driver using FFF to enable validation of the LoRa
shell functionality.

Assisted-by: Codex:gpt-5.6-sol
Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-10-15 16:45:49 +02:00
Etienne Carriere
30e57687cd dts: arm: st: f4: Remove hash interrupt properties
Remove the interrupt DT properties from stm32f4xx hash nodes since
testing samples with STM32 HASH and STM32 RNG on stm32f4xx based
target (where HASH and RNG interrupt are shared) shows issues (trapped
in interrupts handlers).

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-10-15 16:40:18 +02:00
Lezhi CHEN
b47ad0a1c4 fix: negative sensor value computing for rv3032 temperature sensor
The temperature register is a 12-bit two's complement value in
1/16 degC. The MSB was read as unsigned, so negative temperatures
were reported as 256 + T, and the fractional part was scaled by 625
instead of 62500.

Sign-extend the MSB via int8_t, combine both registers into a single
raw value and split it into val1/val2. Also print the thresholds as
signed in the trigger debug log and fix the negative low-temp value
in the MFD binding example.

Signed-off-by: Lezhi CHEN <lezhi.chen1998@outlook.com>
2026-10-15 16:39:54 +02:00
Camille BAUD
e7d2030453 dts: bflb: Fix ieee802154 missing register
Give ieee802154 nodes their appropriate register addresses,
move them around accordingly.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-10-15 14:25:47 +02:00
Zhaoxiang Jin
e89dc4193c dts: arm: nxp: rt7xx: order sram nodes by address
The memory nodes under &sram were in no particular order: sram_code sat
between sram_shared_code0 and sram_shared_code1, and the remaining banks
followed neither address nor name order. Sort all seven by ascending unit
address.

No functional change.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-10-15 14:19:44 +02:00
Zhaoxiang Jin
6a33634212 dts: arm: nxp: rw6xx: order sram nodes by address
sram_data was listed ahead of sram_code despite having the higher unit
address, following neither address nor name order. Swap the two.

The comment above the pair describes both nodes, so it stays where it is.

No functional change.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-10-15 14:19:44 +02:00
Zhaoxiang Jin
9ef588efd0 dts: arm: nxp: imx8ml: order uart nodes by address
uart4 was listed ahead of uart1, which matches neither ascending unit
address order nor the instance order the other node groups in this file
follow. Move uart1 first so both orders agree.

No functional change.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-10-15 14:19:44 +02:00
Samuel Slesar
33850f9634 dts: nxp: mcxl255: fix AON GPIO interrupt mapping
Use interrupt 5 for the CM0+ target, which receives both AON GPIO
interrupt outputs through a single ORed interrupt.

Override the mapping for the CM33 secure and non-secure target.

Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
2026-10-15 14:07:02 +02:00
Anil Ozrenk
b8ecfa8dcc dts: adi: max32: fix MAX32662 pinctrl name and missing sleep nodes
Fix uart0d_rts_p0_17 node name to uart0d_rts_p0_18 to match the
pinmux value which encodes pin 18. Add missing sleep state nodes
for P0.7 and P0.8 pins that were skipped in the sleep section.

Signed-off-by: Anil Ozrenk <anil.ozrenk@analog.com>
2026-10-15 00:52:46 +02:00
Anil Ozrenk
3342813a7d dts: adi: max32: fix MAX32680 pinctrl node naming errors
Fix truncated node name lpuartb_r_p2_6 to lpuartb_rx_p2_6 to match
the datasheet signal name LPUARTB_RX. Remove bogus x_p2_6 node at
AF3 which has no corresponding function in the datasheet.

Signed-off-by: Anil Ozrenk <anil.ozrenk@analog.com>
2026-10-15 00:52:46 +02:00
Anil Ozrenk
612235ae91 dts: adi: max32: add missing TMR0A_IOB pin definition for MAX78002
The MAX78002 datasheet shows P0.3 has TMR0A_IOB as an alternate
function, but the pinctrl dtsi was missing this definition. Add the
tmr0a_iob_p0_3 node and correct the ext_clk_p0_3 pin function to
match the datasheet pin table.

Signed-off-by: Anil Ozrenk <anil.ozrenk@analog.com>
2026-10-15 00:52:46 +02:00
Jose Alberto Meza
9f60ac8ef6 dts: arm: microchip: mec5: Enable watchdog
Set the watchdog0 node compatible to microchip,xec-watchdog and enable
it at the MEC5 SoC level, matching the MEC172x SoC definition. Also add
the watchdog0 alias so generic applications such as the watchdog sample
can find the device without a board overlay.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-10-13 14:06:12 -05:00
Antonio Galea
ea8c8123d2 dts: arm: ambiq: fixes dts file for Apollo3 Blue
Fixed registers and aperture values of MSPI device in Ambiq Apollo3 Blue
devicetree.

Signed-off-by: Antonio Galea <antonio.galea@gmail.com>
2026-10-13 14:00:04 -05:00
Jamie McCrae
439d65891c doc: Update fixed-partition examples to mapped partitions
Updates examples using fixed-partitions to using
zephyr,mapped-partition as part of the upcoming deprecation for
bootable images

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-10-13 17:06:29 +02:00
Muhammed Asif
fe70c10fe2 dts: arm: microchiop: pic32cxsg: Adds missing client clocks for tc
- Adds missing client clocks for tc peripheral instances. This is
  required for the tc instance to work in 32 bit mode.
- Added for tc4 and tc6 instances

Signed-off-by: Muhammed Asif <muhammedasif.p@microchip.com>
2026-10-13 09:41:14 +02:00
Francesco Valla
7a45eb8f48 dts: arm: imx93-m33: add SPI nodes
Add nodes for the 8 lpspi instances that are exposed by the i.MX93 SoC.

Signed-off-by: Francesco Valla <francesco@valla.it>
2026-10-09 17:00:05 +02:00
Francesco Valla
6b79871eb6 dts: arm64: imx93_a55: set lpspi FIFO size
The TRM for the i.MX93 states that the FIFO for all the lpspi instances
has a depth of 8 words. Since this is a silicon integration detail, set
it inside the SoC devicetree.

Signed-off-by: Francesco Valla <francesco@valla.it>
2026-10-09 17:00:05 +02:00
Robert Robinson
08797488da dts: vendor: nordic: nrf7120(e): Add missing gpiote-instance for gpio4
gpiote-instance property was missing for gpio4.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-10-09 16:59:12 +02:00
Allen Zhang
6dc5da1dfe dts: nxp: mcxw23: move flash controller out of peripheral bus range
The iap flash controller was declared inside &peripheral, whose
non-identity "ranges" maps its bus space to CPU address 0x40000000.
An identity "ranges;" on the flash controller then let devicetree
address translation climb into that mapping and resolve flash0 (and
CONFIG_FLASH_BASE_ADDRESS) to 0x40000000 instead of the real flash
base 0x0, so images were linked to the wrong address.

Move the flash controller to /soc as a sibling of &peripheral (the
same layout Nordic uses for its flash controller). With the
controller at /soc, its empty "ranges;" is safe: translation stops
at /soc, which has no ranges, so flash0 keeps its real address 0x0.

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2026-10-09 16:52:26 +02:00
Ryan Erickson
39c0b3d4e4 dts: arm64: imx93: fix edma4_2 shared IRQs
The edma4_2 controller has four channels wired to two hardware IRQ
lines: SPI 128 services channels 0 and 1, SPI 129 services channels 2
and 3. The original devicetree modeled this by listing each SPI number
twice as a workaround pre-dating the driver's channels-shared-irq-mask
support. That produces duplicate IRQ_CONNECT() calls to the same GIC
vector and leaves dispatch to one of each paired channel undefined.

Switch to the channels-shared-irq-mask pattern already used by the
other NXP eDMA v4 SoCs in-tree (nxp_imx95_m7, nxp_imx952_m7,
nxp_rt118x, nxp_s32k566): one interrupts entry per IRQ line, plus a
per-line bitmask identifying which channels each line services.
dma_mcux_edma.c iterates the busy channels for each shared IRQ.

Assisted-by: Claude:claude-opus-4.7
Signed-off-by: Ryan Erickson <ryan.erickson@ezurio.com>
2026-10-09 16:49:48 +02:00
Filip Stojanovic
1c6106ead4 drivers: mspi: stm32: qspi: make chip select high time configurable
The number of clock cycles the chip select stays high between commands
was hardcoded to one cycle, both in the handle initializer and in
mspi_stm32_qspi_hal_init(). The legacy flash_stm32_qspi driver takes it
from the cs-high-time property, which several boards set to meet the
timing required by their flash: at 72 MHz one cycle is about 14 ns,
while those parts require 30 to 50 ns.

Add st,cs-high-time to the controller binding, with the same range and
default of 8 cycles as the legacy binding, and use it when initializing
the handle. A higher value than needed only reduces throughput, so the
default is safe for boards that do not set the property.

Build tested with samples/drivers/mspi/mspi_flash on
arduino_giga_r1/stm32h747xx/m7 and stm32l496g_disco. Not tested on
hardware.

Signed-off-by: Filip Stojanovic <filipembedded@gmail.com>
2026-10-09 08:35:57 +02:00
Andrew Fantino
58c2c791eb dts: rp2350: enable die_temp in board files
The rp2350's temperature sensor, `&die_temp`, is connected to the last
channel on its internal ADC (CH4 for rp2350a, CH8 for rp2350b).
Therefore, it is dependent on the `&adc` node enabled. Currently, the
rp2350's SoC dtsi enables `&die_temp` and leaves `&adc` disabled. This
configuration is incorrect at the SoC level and depends on every
rp2350-based board dtsi's enabling the `&adc` node.

Disable the rp2350's `&die_temp` in the SoCs dtsi and enable the node
for every rp2350-based board that enables `&adc`, thus removing the
requirement that every rp2350-based board must enable `&adc`.

Fixes #118974

Signed-off-by: Andrew Fantino <fantino@qti.qualcomm.com>
2026-10-08 10:44:55 +02:00
Alain Volmat
656ef50a86 dts: arm: st: add missing dma-cells of dma2 in stm32f373Xc.dtsi
Add missing #dma-cells in the dma2 node of stm32f373Xc.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-10-06 10:06:53 +02:00
Benjamin Cabé
e0e13e5d19 drivers: input: gt911: make irq-gpios optional
The pin is held low across reset to force the primary I2C address, but a
board that does not route it can still drive the controller by probing
for the address the panel straps. Make the property optional, and gate
INPUT_GT911_INTERRUPT on a devicetree node providing the pin so that such
a board is left with polling. Have it select GPIO too, instead of
mentioning the requirement in the help text.

Tested on a Waveshare ESP32-P4-WIFI6-Touch-LCD-4.3, whose GT911 interrupt
line is not routed.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-5.5
2026-10-06 10:04:10 +02:00
Andrew Davis
22adf5adb3 dts: vendor: ti: j721e: Fix GPIO mapping table
Looks like some kinda copy/paste error when building this table
originally, some lines and pins are duplicated. Fix this here.

Signed-off-by: Andrew Davis <afd@ti.com>
2026-10-03 09:55:47 +02:00
Benjamin Cabé
95e2ae3e6d dts: bindings: add LIN to binding types registry
dts/bindings/lin/ has no entry in binding-types.txt, so the devicetree
bindings index falls back to a "Lin" title. Add the LIN (Local
Interconnect Network) description, using the acronym form of the
neighbouring entries.

Assisted-by: Claude:opus-5.5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-10-03 09:44:38 +02:00
Fin Maaß
82d1277da7 dts: bindings: ethernet: nxp: remove unused bindings
remove the bindings that were used, by the eth_mcux driver,
that was deprecated in 3.7 and removed in 4.1
d46c382950

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-10-02 21:43:47 -05:00
Pisit Sawangvonganan
3d13e3eb7d dts: {arm, bindings}: fix typo
Utilize a code spell-checking tool to scan for and correct spelling errors
in all files within:
- `dts/arm`
- `dts/bindings`

Assisted-by: Claude:claude-sonnet-5-5 codespell
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-10-02 21:42:43 -05:00
Sylvio Alves
d9c07c9912 soc: esp32h2: fix pmp handling with userspace
Unlike the esp32c6, the esp32h2 did not select RISCV_PMP. Its
linker script also lacked the PMP alignment, userspace, kobject
and rom-section includes, and no PMP region covered the ROM, IRAM
text or flash rodata, so user mode could not be used.

Select RISCV_PMP with 16 slots and unlocked global entries, as on
the esp32c6. Describe the 128 KB ROM as a soc_rom memory region,
map it, the IRAM text and the flash rodata as regions shared by
both modes, and add the missing linker script includes.

Assisted-by: Claude:opus-5
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-10-02 17:43:49 -05:00
84f699ce9b dts: wch: add the missing reset property for the ch32v203f8u
A previous PR added reset support for the UART but missed the 203f8u
variant. Fix.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2026-10-02 17:41:24 -05:00
Nahuel Mesa
4f22202a21 drivers: sensor: silabs: add EMU_TEMP internal die sensor for EFR32
Add a sensor driver for the EMU internal die temperature sensor on
Silicon Labs Series 2 (EFR32) SoCs, exposed via SENSOR_CHAN_DIE_TEMP.
Reads use sl_hal_emu_get_temperature() so the driver also works
unchanged on Series 3.

The devicetree models the EMU as a container node (silabs,emu) with
temp as a child, leaving room to represent other EMU functions later.

Enable the sensor and its die-temp0 alias directly in the
kg100s_rb4332a board devicetree, since it is an internal peripheral
with no board-specific wiring.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Nahuel Mesa <nahuel.mesa@focus.uy>
2026-09-30 20:04:41 +02:00
Etienne Carriere
a4e28a941d dts: arm: st: l4: Remove hash node from stm32l4rx
Remove the hash node from stm32r5xx and stm32l4r9xx product lines
DTSI files since these SoCs do not integrate an STM32 HASH instance.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-09-30 19:44:22 +02:00
Steffen Schulz
3192189c11 drivers: dac: bugfix for dacx0501 config problem
add REF-ALARM bit check
add REF-DIV and BUFF-GAIN bits can be set active

Signed-off-by: Steffen Schulz <steffenschulz@gmx.de>
2026-09-30 19:40:23 +02:00
Samuel Slesar
e827a0fda6 dts: arm: nxp: mcxl255: add CTIMER nodes
Add CTIMER0, CTIMER1 and CTIMER2 devicetree nodes for MCXL255.

The timers are described as NXP LPC CTIMER counter devices and left
disabled by default.

Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
2026-09-30 19:38:05 +02:00
Muhammad Waleed Badar
137e364234 dts: xlnx: add SDHC nodes for Zynq SoC
Add SDHC controller nodes to the Zynq-7000 SoC devicetree, including
the reference clock and interrupt configuration.

Enable the SDHC controller and SDMMC disk node on the QEMU Cortex-A9
board, and attach an SD image when CONFIG_XLNX_SDHC is enabled.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-09-30 19:37:40 +02:00
Zhijian Han
708c95fb7c boards: waiken-smart: gd32f470zit6_core: add initial support
Add board support for the Waiken-Smart GD32F470ZIT6 Core Board V1.1,
a minimal system board based on the GigaDevice GD32F470ZIT6 Cortex-M4F MCU.

The GD32F470ZIT6 runs at up to 240 MHz with 2048 KiB of Flash and
768 KiB of SRAM.

The board enables the following peripherals:
- GPIO: two user LEDs (PA1, PA2, active-low) and two user buttons
  (KEY0 on PC1, WK_UP on PA0, active-high)
- USART0: console on PA9/PA10 (CH340X, 115200 8N1)
- I2C0: AT24C02 EEPROM on PB6/PB7
- SPI4: W25Q128 NOR flash on PF6-PF9

Assisted-by: GitHubCopilot:deepseek-v4-pro-0813
Signed-off-by: Zhijian Han <hanzhijian1991@gmail.com>
2026-09-30 10:23:38 -05:00
Alain Volmat
556a229471 drivers: sensor: vl53l5cx: add support for VL53L5CX TOF
The VL53L5CX is a TimeOfFlight sensor allowing to get
multi-area range information.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-09-30 10:16:36 -05:00
Massimiliano Cialdi
06591609e4 soc: nxp: imxrt: add i.MX RT1175 SoC support
The RT1175 is the dual-core (Cortex-M7 + M4) RT1176 without the whole
DISPLAY power domain (GPU2D, PXP, CSI, eLCDIF, LCDIFv2, MIPI CSI, MIPI
DSI): LCDIFv2 has no row in the datasheet's ordering table either, and
is removed with the rest of the domain per the reference manual's
power domain list.

Add SOC_MIMXRT1175(_CM4/_CM7) and its six part numbers, mirroring RT1176
in Kconfig, clock_init() and the sysbuild second-core launcher default,
plus a devicetree deleting the six DISPLAY domain nodes (csi, lcdif,
lcdifv2, pxp, mipi_dsi, mipi_csi2rx). The part numbers select nothing,
as for RT1166/RT1176: the board selects the CM4/CM7 symbol instead.

modules/hal_nxp's cache driver selection hardcodes which imxrt11xx
SoCs use the LMEM cache driver on their M4 core instead of testing
HAS_MCUX_LMEM_CACHE generically; add RT1175, or its M4 build links
against the wrong cache driver and fails to build.

SYS_CLOCK_HW_CYCLES_PER_SEC for SOC_MIMXRT1175_CM7/_CM4 is derived
from devicetree instead of a literal, per review. Add clock-frequency
to cpu0/cpu1 in the RT1175 core dtsi, matching RT1176's existing
values (996MHz/400MHz).

Built samples/hello_world for both cores and all six part numbers on
an out-of-tree board, confirming SYS_CLOCK_HW_CYCLES_PER_SEC resolves
to 996000000/400000000; enabling any deleted node from an overlay
fails with an undefined node label error. mimxrt1170_evk and
vmu_rt1170 (both cores) produce identical binaries before and after.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Massimiliano Cialdi <cialdi@gmail.com>
2026-09-30 12:52:00 +02:00
Massimiliano Cialdi
5ec05e3e53 soc: nxp: imxrt: add i.MX RT1051 SoC support
The RT1051 is the RT1052 without CSI, eLCDIF and PXP. Reuse the RT1052
configuration, add the four part numbers known to the MCUX SDK
(MIMXRT1051CVJ5B, CVL5B, DVJ6B and DVL6B) and a devicetree that deletes
the three missing nodes so that boards cannot enable them.

Also add it to the FlexSPI serial clock encoding in
flexspi_nor_config.h, which stops at an #error for boards that include
it otherwise.

Built samples/hello_world on an out-of-tree board.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Massimiliano Cialdi <cialdi@gmail.com>
2026-09-30 12:50:41 +02:00
Muhammad Waleed Badar
5cc00680dd drivers: serial: ns16550: enable DW8250 support from devicetree
Add a "snps,dw-apb-uart" binding that includes ns16550.yaml, and make
UART_NS16550_DW8250_DW_APB default to y whenever a node with that
compatible is enabled. This removes the need for each SoC to opt in
to the DesignWare 8250 quirks through a configdefault in its
Kconfig.defconfig.

Drop the now-redundant configdefault from the Allwinner H3/H618,
Rockchip RV1106 and Silabs SiWx91x SoCs, and add the
"snps,dw-apb-uart" compatible to the SiWG917 UART nodes so the
Kconfig default picks them up.

The UART nodes in dts/arm/intel_socfpga_std/socfpga.dtsi already list
"snps,dw-apb-uart", so the option is now also enabled on
cyclonev_socdk, where it was previously off. The Cyclone V HPS UARTs
are DesignWare APB UARTs.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-09-30 12:46:39 +02:00
Michal Princ
1dfed070eb boards: nxp: add sema42 hwspinlock support for MCXW7x
Add a SEMA42 hardware semaphore node to the shared
nxp_mcxw7x_common.dtsi SoC include file and enable it on the
frdm_mcxw71, mcxw72_evk, and frdm_mcxw72 boards.

The SEMA42 peripheral sits at offset 0x3f000 within the
peripheral@50000000 address space (absolute base 0x5003F000),
with a 64-byte register block. No dedicated clock gate exists
for SEMA42 on MCXW7x so no clocks property is needed.

domain-id is set to 0, matching the primary Cortex-M33
application core role on all three boards.

Signed-off-by: Michal Princ <michal.princ@nxp.com>
2026-09-30 12:41:28 +02:00
Darshan Maru
885afa0220 drivers: sensor: tcs34725: add AMS TCS34725 sensor driver
Add support for the AMS TCS34725 color light-to-digital converter
driver. Supports RGBC channel reads via the sensor API, color
temperature calculation, and illuminance (lux) calculation.

Signed-off-by: Darshan Maru <darshan.maru@dnkmail.in>
2026-09-30 12:38:20 +02:00
Richard Mc Sweeney
bf4de84d30 dts: add pm_policy for psc3 device runtime
Added pm_policy for peripherals requiring device runtime pm support.

Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-09-30 12:36:13 +02:00
Richard Mc Sweeney
0355165a90 dts: Power modes for Infineon PSC3
Power modes to enter DS, DS-RAM, DS-OFF, Hibernate

Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-09-30 12:36:13 +02:00
Richard Mc Sweeney
a16282a77b dts/bindings: Infineon hibernate mode wakeup
Binding to define hibernate power modes wakeup sources.

Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-09-30 12:36:13 +02:00
Tim Pambor
5b26def040 drivers: ethernet: dwc_mac: ptp: add optional pinctrl support
The DWC MAC PTP clock can drive a pulse-per-second output on a SoC pin.
That pin belongs to the PTP clock, not to the MAC, so boards need a way
to mux it only when the ptp-clock node is enabled.

Add pinctrl-device.yaml to the snps,dwmac-ptp-clock binding and let the
PTP clock driver apply the default pinctrl state during init. Pinctrl is
optional: the driver keeps building for nodes without pinctrl-0, and the
Kconfig symbol selects PINCTRL only when a ptp-clock node uses it,
following the pattern of the DWC MAC MDIO driver.

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-30 11:07:25 +02:00
Tim Pambor
eb18909658 dts: arm: st: f1: keep DMA1 clocked for the ethernet DMA
Errata sheet ES022 (STM32F105xx/STM32F107xx), section 2.14.11: when the
CPU executes WFI/WFE with the Ethernet MAC clock enabled and no other
AHB master clocked, the Ethernet DMA cannot perform AHB accesses. Frames
received while the kernel idles are then lost together with the RX
descriptor write-back and the DMA parks on a descriptor it considers
unavailable while the MAC counters keep incrementing. The documented
workaround is to keep the DMA1 or DMA2 clock enabled.

Add the DMA1 clock to the ethernet node's clock list. Both STM32 ethernet
drivers enable every clock listed on the node, so no driver change is
needed and the workaround applies to whichever driver is selected.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-09-30 11:04:38 +02:00
Yongxu Wang
7d3f9fc82b dts: arm: nxp: add sramc node for rt118x
add nxp sramc node for rt118x soc

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-09-30 11:01:43 +02:00
Yongxu Wang
a69b5ec573 drivers: memc: nxp_sramc: add NXP sramc driver
(SRAMC), the external asynchronous parallel SRAM interface found on i.MX
RT118x SoCs (e.g. MIMXRT1189). At init the driver reads the async-SRAM
bus timing from devicetree, so the external SRAM becomes accessible as
a memory-mapped region. No runtime data-transfer API is implemented.

The SRAMCR0/SRAMCR1 timing registers reside in the BLK_CTRL_WAKEUPMIX
block; each populated chip-select is described as a sram child node.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-09-30 11:01:43 +02:00