Use the CM0+ IRQ numbers for the AON GPIO, LPUART and RTC
nodes in the shared MCXL AON devicetree file.
Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
The lp core is an rv32imac processor with the zicsr and
zifencei extensions, but the devicetree only declared i, m, c
and zicsr. Add the missing a and zifencei extensions so the lp
core image builds with native atomic instructions and fence.i
support, matching the esp32c5 and esp32c6 definitions.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The xmc7200 flash-controller node declares two soc-nv-flash children
(flash0 and flash1). The Infineon CAT1 flash driver only supports a
single soc-nv-flash child, so when the driver is built without fixed
partitions it selects the first okay child and the presence of a second
okay soc-nv-flash node breaks the build.
Disable the unused second (work) flash node so the controller exposes a
single active soc-nv-flash child, matching the arrangement already used
for the psoc6 SoC devicetree.
Assisted-by: AI (GitHub Copilot)
Signed-off-by: Bill Waters <bill.waters@infineon.com>
Add the power node and the wake-up pins for all STM32C5 SoCs.
Wake-up pins 1, 2, 4 and 5 are common on all SoCs, pins 3, 6 and 7 are only
available on STM32C551 and higher.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Implements power management interface for MAX32 I3C driver.
To restore the peripheral after resuming from a suspend-to-ram state,
use the controller-mode enable bit to detect whether the I3C controller
has lost its state.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
According to the reference manual the s32 also
has the ptp clock, so add the node for it.
As the devicetree just describes the hardware,
independant of software and driver support,
we can add it without having a working driver for it.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
For the NXP MCXE31B mcu there is currently no
driver support for the ethernet controller, add it via
the generic dwc_mac driver.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the AON-domain MUB mailbox node for MCXL devices.
MUB is disabled by default and can be enabled by board devicetree files.
Signed-off-by: Samuel Slesar <samuel.slesar@nxp.com>
The RTC timer present in mspm0l111x is RTC_b. This does not have power
enable register, and thus will crash on init without setting `ti,rtc-x`.
Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Remove the "bus-speed" and "bus-speed-data" CAN controller devicetree
properties, deprecated in Zephyr 3.7 when they were renamed to "bitrate"
and "bitrate-data".
The nested DT_PROP_OR() fallbacks in CAN_DT_DRIVER_CONFIG_GET() collapse
to a single DT_PROP_OR() on the new property names. Both bindings and the
header must change together, as can-fd-controller.yaml includes
can-controller.yaml.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-5
For the rpi5, you will need to use both the BCM2712 the RP1 pinctrl driver.
The process for selecting which to use is done in
`soc/brcm/bcm2712/pinctrl_soc.c`.
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Enabling the rp1 pinctrl also requires the bcm2712 pinctrl,
so add a minimal stub.
This does not perform any processing, but preserves the register
settings at reset.
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Add RCC driver for the STM32WL3x series with CLK_SYS
sources (HSI, RC64MPLL PLL and HSE), peripheral clock gates
and the reset controller, together with the st,stm32wl3-rcc binding.
Signed-off-by: Anders Frandsen <anfran@anfran.dk>
Add an EEPROM child driver for the Micro Crystal RV-3028 RTC.
The driver provides EEPROM read and write access through the
RV3028 MFD parent driver.
Signed-off-by: Janez Ugovsek <janez@ugovsek.info>
Add support for configuring ERFO in/out capacitance
through device tree on MAX32657.
Co-authored-by: Okan Sahin <okan.sahin@analog.com>
Signed-off-by: Anu Biradar <anu.biradar@analog.com>
On Intel ADSP platforms startup of secondary cores must be deferred
till the IPC communication with the host driver. Previously this was
achieved through SMP_BOOT_DELAY option. Recently this option has been
removed. This change is aimed at maintaining legacy behavior by using
new, more granular dts approach.
Signed-off-by: Wojciech Jablonski <wojciech.jablonski@intel.com>
For all H5 SoCs, add the power node and the wake up pins.
Wake-up pins 1, 2, 4 and 5 are common for all H5 SoCs.
Pin 3 is available on H503 (PC1) and on H562 and higher (PI8).
Pin 6, 7 and 8 (respectively PC1, PD2 and PD3) are available on all SoCs
apart from H503.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
On SoCs that route the DesignWare GPIO signals through a pin
controller, the pins must be muxed to their GPIO function before
the controller can drive them. Add an optional "default" pinctrl
state to the binding and apply it during initialization. Everything
is conditional on at least one enabled instance having a pinctrl-0
property, so existing users that do not describe pin muxing are
unaffected.
Signed-off-by: Aravind Krishnan <aravind.krishnan@alifsemi.com>
Signed-off-by: Silesh C V <silesh@alifsemi.com>
Generates periodic CNV trigger pulses at a configurable rate and duty
cycle to drive ADC conversions, exposed through the standard Zephyr PWM
API. Supports both v1 and v2 register layouts.
CONFIG_PWM_ADI_AXI_PWMGEN is auto-selected when
DT_HAS_ADI_AXI_PWMGEN_ENABLED.
Signed-off-by: Iustin Stolniceanu <iustin.stolniceanu@analog.com>
With the size of both memory banks on the dual core MCUs being derived
from the flash device node's respective size cell, there is no longer
any need for the bank2-flash-size property. Remove it from the relevant
dtsi files and deprecated it.
Signed-off-by: Vilhelm Engström <vilhelm.engstrom@tuta.io>
The IT51XXX SMBus controller does not support SMBALERT#.
To support this feature, a GPIO interrupt is configured through a
devicetree property and used as the SMBALERT# notification source.
When the GPIO interrupt is triggered, the driver performs the SMBus Alert
Response Address (ARA) procedure to identify and process the alerting
device.
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
The newly added PCA9530, PCA9531 and PCA9532 have a reset gpio pin. This
patch handles it, if set in device tree.
Signed-off-by: Juergen Werner <j.werner@aduart.de>
Splitting off the includable part for the NXP PCA953x led dimmer series
as further preparation for the implementation of other devices in this
series.
Signed-off-by: Juergen Werner <j.werner@aduart.de>
Add the snps,multicast-filter-bins and snps,perfect-filter-entries
properties to the ethernet nodes. The CH32V307 and CH32V317 have a
64 bin hash table and 4 MAC address entries.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the snps,multicast-filter-bins and snps,perfect-filter-entries
properties to the ethernet nodes. The EMAC of the M460 and M55M1
has a 64 bin hash table and 16 MAC address entries.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the snps,multicast-filter-bins and snps,perfect-filter-entries
properties to the ethernet nodes. The Cyclone V EMAC has a 256 bin
hash table and 128 MAC address entries, matching the Linux
devicetree.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the snps,multicast-filter-bins and snps,perfect-filter-entries
properties to the ethernet node. The XMC4xxx has a 64 bin hash
table and 4 MAC address entries.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the snps,multicast-filter-bins and snps,perfect-filter-entries
properties to the ethernet nodes. The EMAC of the MCXE31x and
S32K344 has a 64 bin hash table and 3 MAC address entries. The
ENET-QOS of the MCXA5x and MCXN94x has no hash table and only the
single MAC address entry holding the station address.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the snps,perfect-filter-entries property to the ethernet nodes.
The EMAC of the ESP32 and ESP32-P4 does not implement the multicast
hash table, but has 8 MAC address entries besides the station
address.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the snps,multicast-filter-bins and snps,perfect-filter-entries
properties to the ethernet nodes. All series have a 64 bin hash
table and 4 MAC address entries.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Add the snps,multicast-filter-bins and snps,perfect-filter-entries
properties known from the Linux binding, to describe the multicast
filter capabilities of the MAC.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Fin Maaß <info@finmaass.de>
Remove the deprecated "owner-id", "perm-read", "perm-write",
"perm-execute", "perm-secure" and "non-secure-callable" properties from
the nordic,owned-memory binding, which nordic,owned-partitions inherits.
They were deprecated no later than Zephyr 4.2 in favour of the
"nordic,access" array of (owner-id, permission-flags) pairs.
All in-tree nordic,owned-memory nodes already use nordic,access. Nothing
in Zephyr consumes either form, so this needs Nordic platform maintainer
confirmation for the downstream UICR generation, and the migration guide
entry is the first written notice downstream gets.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Assisted-by: Claude:opus-5
Sleep durations below 1 ms can cause the CPU to HardFault or enter an
unrecoverable state. Increase the minimum standby residency to 2000 us
to mitigate this issue.
Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
The light sleep path in soc/espressif/common/power.c requires the
rtc_timer (LP timer) counter device as its wakeup timer. Without the
node, light sleep is silently skipped at runtime.
Add the node disabled, matching the layout used by esp32c5/c6/h2;
users enable it and set wakeup-source via overlay.
Signed-off-by: Hongquan Li <hongquan.li@processmission.com>