Commit graph

9766 commits

Author SHA1 Message Date
Dong Wang
57ae93e8e3 soc: ish: Move PM init into power.c and connect IRQs in it
- Add SOC interrupt properties and interrupt-names ("reset_prep", "pcidev",
  "pmu2ioapic") to intel_ish5 DTS files so PM IRQs are discoverable via DT.
- Move SEDI PM initialization and IRQ setup into ISH SOC PM init:
- Remove the direct call to sedi_pm_init() from soc_early_init_hook in
soc.c.
Previously SEDI code has those IRQ numbers hard coded and calls Zephyr APIs
to connect IRQs, which should be avoided.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2025-09-22 13:30:55 -04:00
Sai Santhosh Malae
295431dad5 drivers: power_domain: siwx91x: Add power domain driver for siwx91x SoC
1. Added siwx91x power domain node in siwg917.dtsi
2. Updated UART device nodes to reference the newly added power domain.
3. Implemented power domain driver to manage power domain transitions
   for the SoC.

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
2025-09-22 13:27:01 -04:00
Sai Santhosh Malae
380f35a76a drivers: dma: siwx91x: DTS changes for siwx91x GPDMA driver
1. Create a YAML file for gpdma node
2. Add GPDMA node in the siwx917.dtsi

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
2025-09-22 13:26:52 -04:00
Eve Redero
6b809c2107 boards: add steelseries apex_pro_mini
Initial support for the Apex Pro Mini keyboard,
based on STM32L412.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2025-09-22 11:17:44 +02:00
Ayush Singh
2ac7899791 dts: arm64: ti: am62x_a53: Add MAIN domain RTI
- Add Real Time Interrupt (RTI) nodes.
- Works as watchdog timers.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-20 23:05:44 +02:00
Alexandre Rey
d571f90183 drivers: cop: add NXP cop driver
Port NXP cop driver to Zephyr

Signed-off-by: Alexandre Rey <alx.rey@icloud.com>
2025-09-20 11:08:45 +02:00
Zhaoxiang Jin
25ede2daf7 boards: Enable cmp on frdm_mcxc242
Enable cmp on frdm_mcxc242

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-19 17:47:58 -04:00
Zhaoxiang Jin
6d724bd80d drivers: comparator: Enable nxp comparator (cmp)
Enable nxp comparator (cmp)

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-19 17:47:58 -04:00
Ioannis Karachalios
9fe858e886 dts: renesas: smartbond: Update timer2 node status
PM and PM_DEVICE should be enabled, by default. The latter, require that
timer2 node be employed and reserved for the OS tick generation.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2025-09-19 16:34:37 +02:00
Gerard Marull-Paretas
33f0a194d7 dts: bindings: add puya vendor prefix
To be used for some NOR flash devices.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
9a1bb99d02 dts: arm: sifli: sf32lb52x: define mpi1/2
MPI1/2 are memory controllers (PSRAM, NOR, NAND, etc.).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
dd0e353ca6 dts: bindings: memory-controllers: add sifli,sf32lb-mpi
Binding for SiFli SF32LB Memory Peripheral Interface (MPI).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
8e17e6d5b7 dts: arm: sifli: sf32lb52x: define usart1
Define node for USART1. Other available USART instances will be added in
the future.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
085e0a1fde dts: bindings: serial: add sifli,sf32lb-usart
For the UART IP in SF32LB SoCs.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
ba98762f53 dts: arm: sifli: sf32lb52x: define pinctrl
Add a node for pinctrl (PINMUX).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
445efe2969 dts: bindings: pinctrl: add sifli,sf32lb52x-pinmux
Add bindings for the SF32LB52X SoCs PINMUX peripheral. Note that
SF32LB56X SoCs contain a compatible IP (not others, where HPSYS_CFG is
not required), so if SF32LB56X support is added, binding could be
adjusted to reflect 52x/56x support.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
cc9fd35378 dts: arm: sifli: sf32lb52x: define RCC clock controller
This is defined as a subnode because RCC is a MFD device (clock and
reset controller), however, Zephyr does not allow >1 device per DT node!

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
c5e4e38a1f dts: bindings: clock: add sifli,sf32lb-dll
Add binding for SF32LB DLL clock.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
21813831e1 dts: bindings: clock: add sifli,sf32lb-rcc-clk
Add binding for SF32LB RCC (clock part).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
cdf4fb13d9 dts: arm: sifli: sf32lb52x: define pmuc
Add a devicetree node for PMUC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
135dc1b65b dts: bindings: power: add sifli,sf32lb-pmuc
Add bindings for the SiFli SF32LB PMUC. PMUC is a sort of "syscon" type
register block used to control multiple power-management related stuff.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
0996652790 dts: arm: sifli: sf32lb52x: define RCC
Add node for RCC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
348248570a dts: bindings: mfd: add sifli,sf32lb-rcc
SiFli SF32LB RCC (Reset and Clock Control).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
25160c1328 dts: arm: sifli: sf32lb52x: define HXT48 clock
Add node for the HXT48 clock.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
6b9d4700d5 dts: bindings: clock: add sifli,sf32lb-hxt48
Add binding for SF32LB HXT48 clock.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
7732d47129 dts: arm: sifli: sf32lb52x: define all fixed clocks
Refer to Ch 2 "Clock and Reset" from reference manual. Some may require
specific bindings in the future if they can be configured (e.g. RC48).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
62e887d138 dts: arm: sifli: sf32lb52x: define AON entry
Add entry for SF32LB AON.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
ab70b4c3a2 dts: bindings: power: add sifli,sf32lb-aon
SiFli SF32LB AON module controls certain low-power or clocks, e.g.
enablement of HXT48 on different LP modes, etc.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
087ab5a567 dts: arm: sifli: sf32lb52x: define cfg
Define node for SF32LB HPSYS_CFG.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
df3d8e87be dts: bindings: syscon: add sifli,sf32lb-cfg
SiFli SoCs have a multi-purpose register set named HPSYS_CFG, which we
can treat as a "syscon".

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
a9c5a7fb21 dts: arm: sifli: add sram layout default schemes
SRAM is segmented as:

- RAM0: 128K (DTCM)
- RAM1: 128K
- RAM2: 256K

where:

- RAM0 can be accessed by all peripherals except PTC1/2.
- RAM1/RAM2 have its own port, so e.g. master 1 can access RAM1 while
  master 2 can access RAM2.

Depending on the application, one may decide to just use the whole RAM
as a single block, split RAM0 (DTCM) and RAM1/2, etc. For now, provide 2
schemes:

- Use all SRAM as a single block
- Use RAM0 (DTCM) + RAM1/2

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
a7e476935b dts: arm: sifli: add skeleton for sf32lb52x
Just define basic ARM hardware: CPU, MPU and NVIC settings. SF32LB SoCs
are technically Arm-Star MC1 based, an Arm Cortex-M33 compatible CPU
developed by Arm China.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Gerard Marull-Paretas
bfa73252cd dts: bindings: add sifli vendor prefix
Add `sifli` for SiFli Technologies(Nanjing) Co., Ltd.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-19 16:34:15 +02:00
Ren Chen
de93d4f41c soc: ite: it82xx2: add it82000.bw variant support
as title.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-09-19 08:35:10 -04:00
Ren Chen
20c8f6b5f7 drivers: pinctrl: it8xxx2: add support for alternate function 5
This commit introduces alternate function 5 setting for it8xxx2 SoC.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-09-19 08:35:10 -04:00
Thomas Stranger
e102fc94c0 dts: arm: st: stm32h5: set default alt clock for fdcan
Explicitly set the default alt clock for canfd. Without
explicitly setting it the clock subsystem will return
the frequency of the gating clock(APB1).

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-09-19 08:32:44 -04:00
Thomas Stranger
9783a70e6c dts: arm: st: stm32h5: fix line features sai, can, eth
Fix peripheral availability per h5 line.
Some peripherals are not available on the entry level
lines of the stm32h5 series:
- fdcan2 only on SoCs >= H523, but not on h562
- sai only on >= H562
- ethernet only on >= H563

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-09-19 08:32:44 -04:00
Bhavin Sharma
d368921ae6 drivers: display: Added LPM013M126 display driver.
Add support for JDI LPM013M126 RGB memory display

Co-developed-by: Elgin Perumbilly <elgin.perumbilly@siliconsignals.io>
Signed-off-by: Elgin Perumbilly <elgin.perumbilly@siliconsignals.io>
Signed-off-by: Bhavin Sharma <bhavin.sharma@siliconsignals.io>
2025-09-19 08:31:05 -04:00
Alain Volmat
76b6f6ebc2 dts: arm: st: add zephyr,memory-region on all missing stm32 dts
Add the compatible zephyr,memory-region for all mmio-sram region
which do not have yet that compatible as well as add the label to
those regions. This allow to have a linker memory report which list
all areas and also have all regions accessible via the linker script.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-09-19 08:28:22 -04:00
The Nguyen
d6926cd676 dts: doc: add binding type for CRC device driver
Add CRC binding type for supported device doc generator

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-09-18 13:50:24 -04:00
Qiang Zhao
96c2b83249 dts: arm: nxp_imx93_m33: add ADC node
Add ADC node on imx93 core m33

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-09-18 13:48:15 -04:00
Qiang Zhao
1e890b2d68 drivers: adc: add support sar adc driver
Add driver for the SAR ADC

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-09-18 13:48:15 -04:00
Steffen Schulz
4ae52ca220 drivers: sensors: add a sensor driver for INA7xx
Add a sensor driver for the TI current sensor.
INA700, INA745, INA780

Signed-off-by: Steffen Schulz <steffenschulz@gmx.de>
2025-09-18 13:41:50 -04:00
Ayush Singh
5ed7d8b00b dts: vendor: ti: k3-am62-main: Add GPIOs
- Move main domain GPIOs to k3-am62-main.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-18 15:43:20 +01:00
Ayush Singh
33f7ea00f5 dts: vendor: ti: k3-am62-main: Add I2C nodes
- Move main domain I2Cs to the common file from ti_am62x_a53.dtsi

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-18 15:43:20 +01:00
Ayush Singh
22e46e0141 dts: arm64: ti: am62x_a53: Use common k3-am62-main.dtsi
- Replace the UARTs with the ones defined in k3-am62-main.dtsi.
- Also ends up adding main prefix to the uarts.
- Adjust the board dts to use the new names.
- Since the same file is also used by m4 cores, do not add interrupt
  properties, since they are different between m4 and a53

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-18 15:43:20 +01:00
Aksel Skauge Mellbye
2a26c20693 soc: silabs: Add BGM220P modules
Add support for BGM220P modules. Enable oscillators in SoC DTS
since the necessary crystals are present in the modules.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-18 15:43:02 +01:00
Aksel Skauge Mellbye
963454ac46 soc: silabs: xg22: Add missing EUART0 peripheral
Add missing EUART0 peripheral to devicetree for xg22.
Fix NUM_IRQS, there are 64 external interrupts on xg22.
Remove `select` of UART_INTERRUPT_DRIVEN at SoC level, this doesn't
belong here, since it prevents disabling the UART. This should be a
board or application level decision.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-18 15:43:02 +01:00
Alain Volmat
aacc5f38a4 dts: arm: st: add mipi_dsi node in stm32f767.dtsi
Describe the DSI block available from STM32F767 and onward
and allow to output data generated by the LTDC to a DSI
panel.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-09-18 15:41:02 +01:00
Alain Volmat
1f0db9c21e dts: arm: st: f4: add pllsai entry for the stm32f4 series.
Not all STM32F4 embeds a PLLSAI hence this is added in
stm32f427.dtsi and stm32f446.dtsi.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-09-18 15:41:02 +01:00