Commit graph

10,053 commits

Author SHA1 Message Date
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
Alain Volmat
61575185bf dts: arm: st: f7: add pllsai entry in stm32f7.dtsi
Add description of the pllsai PLL found on the stm32f7 series.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-09-18 15:41:02 +01:00
Alain Volmat
2668ecc905 dts: bindings: stm32_clocks: add bindings for PLLSAI of F4 and F7
Add description of the PLLSAI of the stm32fx

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-09-18 15:41:02 +01:00
Hau Ho
861f453bce dts: renesas: rx: Initial support dts SoC layer on RX26T.
This commit to initial support dts SoC layer on RX26T

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2025-09-18 15:40:34 +01:00
Valerio Setti
97478d5fce drivers: mfd: axp2101: add irq and power button support
Add initial support for interrupt generated from the axp2101. For
the time being only support for power button is added but others can
be added in the future if necessary.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-09-18 09:48:12 +01:00
Thomas Decker
9380f20b85 dts: bindings: serial: st,stm32-uart: Fix description of dts property
Fix dts property description of de-deassert-time for stm32-uart driver.
Old text was copy'n'pasted from de-assert-time.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-09-18 09:46:11 +01:00
CHEN Xing
d04ae0f11c dts: arm: microchip: sam: add sdmmc device to sama7g5
Add sdmmc0, sdmmc1 device to sama7g5

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-09-17 19:12:45 -04:00
Aksel Skauge Mellbye
0fa7aed3bf dts: arm: silabs: xg21: Add missing nodes
Add missing peripheral and clock nodes for xg21.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-17 19:01:10 +02:00
Aksel Skauge Mellbye
7d5580dc24 dts: arm: silabs: xg21: Reformat dtsi files
Reformat devicetree files:

* Sort nodes by unit address or name
* Sort properties by category and name

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-17 19:01:10 +02:00
Hieu Nguyen
37759c2147 dts: renesas: Add Counter support for Renesas RZ/T2M, N2L
Add CMTW nodes to Renesas RZ/T2M, N2L

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-17 14:53:20 +02:00
Hieu Nguyen
048d7ed22f drivers: counter: Add Counter support for Renesas RZ/T2M, N2L
Add Counter driver support for Renesas RZ/T2M, N2L

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-09-17 14:53:20 +02:00
Andrej Butok
65d7c7c598 dts: nxp: Use DT_SIZE_M/K() for size
Use DT_SIZE_M() and DT_SIZE_K() for DTS size property
for better readability.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-09-17 11:17:51 +01:00
Andrej Butok
cd1b6c37f2 dts: nxp: Use DT_FREQ_M/K() for frequency
- Use DT_FREQ_M() and DT_FREQ_K() for DTS frequency property
for better readability.
- Include freq.h in dts to use DT_FREQ_M/K()

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-09-17 11:17:51 +01:00
Devin Jaenicke
d2600ba839 soc: silabs: Add support for bgm220sc22hna2 module
This commit adds support for the Silicon Labs BGM220SC22HNA2 SoC.

Signed-off-by: Devin Jaenicke <devinjaenicke@glassboard.com>
2025-09-17 11:16:17 +01:00