Skip to content

Commit 0771d55

Browse files
FRASTMkartben
authored andcommitted
dts: arm: st: add DTSI for STM32WBA65x device
This commit adds the Device Tree include files for the STM32WBA65x device Adding GPIO D/E/G banks. Renaming JTAG reset pin. Signed-off-by: Francois Ramu <[email protected]>
1 parent 82d0c7a commit 0771d55

File tree

3 files changed

+107
-1
lines changed

3 files changed

+107
-1
lines changed

dts/arm/st/wba/stm32wba.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
compatible = "swj-connector";
503503
pinctrl-0 = <&debug_jtms_swdio_pa13 &debug_jtck_swclk_pa14
504504
&debug_jtdi_pa15 &debug_jtdo_swo_pb3
505-
&debug_jtrst_pb4>;
505+
&debug_njtrst_pb4>;
506506
pinctrl-1 = <&analog_pa13 &analog_pa14 &analog_pa15
507507
&analog_pb3 &analog_pb4>;
508508
pinctrl-names = "default", "sleep";

dts/arm/st/wba/stm32wba65.dtsi

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#include <st/wba/stm32wba55.dtsi>
7+
8+
/ {
9+
soc {
10+
compatible = "st,stm32wba65", "st,stm32wba", "simple-bus";
11+
12+
pinctrl: pin-controller@42020000 {
13+
gpiod: gpio@42020c00 {
14+
compatible = "st,stm32-gpio";
15+
gpio-controller;
16+
#gpio-cells = <2>;
17+
reg = <0x42020c00 0x400>;
18+
clocks = <&rcc STM32_CLOCK(AHB2, 3)>;
19+
};
20+
21+
gpioe: gpio@42021000 {
22+
compatible = "st,stm32-gpio";
23+
gpio-controller;
24+
#gpio-cells = <2>;
25+
reg = <0x42021000 0x400>;
26+
clocks = <&rcc STM32_CLOCK(AHB2, 4)>;
27+
};
28+
29+
gpiog: gpio@42021800 {
30+
compatible = "st,stm32-gpio";
31+
gpio-controller;
32+
#gpio-cells = <2>;
33+
/* GPIOG has an independent IO supply VDDIO2 */
34+
reg = <0x42021800 0x400>;
35+
clocks = <&rcc STM32_CLOCK(AHB2, 6)>;
36+
};
37+
};
38+
39+
usart3: serial@40004800 {
40+
compatible = "st,stm32-usart", "st,stm32-uart";
41+
reg = <0x40004800 0x400>;
42+
clocks = <&rcc STM32_CLOCK(APB1, 18)>;
43+
resets = <&rctl STM32_RESET(APB1L, 18U)>;
44+
interrupts = <79 0>;
45+
status = "disabled";
46+
};
47+
48+
spi2: spi@40003800 {
49+
compatible = "st,stm32h7-spi", "st,stm32-spi-fifo", "st,stm32-spi";
50+
#address-cells = <1>;
51+
#size-cells = <0>;
52+
reg = <0x40003800 0x400>;
53+
interrupts = <75 5>;
54+
clocks = <&rcc STM32_CLOCK(APB1, 14)>;
55+
status = "disabled";
56+
};
57+
58+
timers4: timers@40000800 {
59+
compatible = "st,stm32-timers";
60+
reg = <0x40000800 0x400>;
61+
clocks = <&rcc STM32_CLOCK(APB1, 2)>;
62+
resets = <&rctl STM32_RESET(APB1L, 2U)>;
63+
interrupts = <72 0>;
64+
interrupt-names = "global";
65+
st,prescaler = <0>;
66+
status = "disabled";
67+
68+
counter {
69+
compatible = "st,stm32-counter";
70+
status = "disabled";
71+
};
72+
73+
pwm {
74+
compatible = "st,stm32-pwm";
75+
status = "disabled";
76+
#pwm-cells = <3>;
77+
};
78+
};
79+
};
80+
};

dts/arm/st/wba/stm32wba65Xi.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#include <mem.h>
7+
#include <st/wba/stm32wba65.dtsi>
8+
9+
/ {
10+
sram0: memory@20000000 {
11+
reg = <0x20000000 DT_SIZE_K(448)>;
12+
};
13+
14+
sram1: memory@20070000 {
15+
compatible = "mmio-sram";
16+
reg = <0x20070000 DT_SIZE_K(64)>;
17+
};
18+
19+
soc {
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_M(2)>;
23+
};
24+
};
25+
};
26+
};

0 commit comments

Comments
 (0)