Skip to content

Commit 75a7261

Browse files
asm5878henrikbrixandersen
authored andcommitted
boards: st: nucleo_wbaxxxx: clock settings changes
system clock at 32MHz (nucleo_wba55cg and nucleo_wba65ri). 32 Mhz is the lowest value to manage radio events. lsi clock disabled (nucleo_wba55cg). Signed-off-by: Alessandro Manganaro <[email protected]>
1 parent 81283c6 commit 75a7261

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

boards/st/nucleo_wba55cg/nucleo_wba55cg.dts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,12 @@
9090
};
9191
};
9292

93-
&clk_lsi {
94-
status = "okay";
95-
};
96-
9793
&clk_lse {
9894
status = "okay";
9995
};
10096

10197
&clk_hse {
10298
status = "okay";
103-
hse-div2;
10499
};
105100

106101
&clk_hsi {
@@ -109,9 +104,9 @@
109104

110105
&rcc {
111106
clocks = <&clk_hse>;
112-
clock-frequency = <DT_FREQ_M(16)>;
107+
clock-frequency = <DT_FREQ_M(32)>; /* Lowest value to manage radio events */
113108
ahb-prescaler = <1>;
114-
ahb5-prescaler = <2>;
109+
ahb5-prescaler = <1>;
115110
apb1-prescaler = <1>;
116111
apb2-prescaler = <2>;
117112
apb7-prescaler = <1>;

boards/st/nucleo_wba65ri/nucleo_wba65ri.dts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
};
8585

8686
&clk_hse {
87-
hse-div2;
8887
status = "okay";
8988
};
9089

@@ -94,9 +93,9 @@
9493

9594
&rcc {
9695
clocks = <&clk_hse>;
97-
clock-frequency = <DT_FREQ_M(16)>;
96+
clock-frequency = <DT_FREQ_M(32)>; /* Lowest value to manage radio events */
9897
ahb-prescaler = <1>;
99-
ahb5-prescaler = <2>;
98+
ahb5-prescaler = <1>;
10099
apb1-prescaler = <1>;
101100
apb2-prescaler = <2>;
102101
apb7-prescaler = <1>;

0 commit comments

Comments
 (0)