boards: arm: nucleo_wb55rg enables hsi48 for Bluetooth

The nucleo_wb55rg platform has Bluetooth feature that
requires the HSI48.
The board DTS enables the HSI48MHz clock for that purpose.
And also selects it as the source (default) of the CLK48.
Note that the clk48 node must be enabled for any another source.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-09-26 16:05:50 +02:00 committed by Fabio Baltieri
commit b3ccd3abc6

View file

@ -101,6 +101,16 @@
status = "okay";
};
&clk_hsi48 {
status = "okay";
};
&clk48 {
/* Node is disabled by default as default source is HSI48 */
/* To select another clock, enable the node */
clocks = <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>;
};
&rcc {
clocks = <&clk_hse>;
clock-frequency = <DT_FREQ_M(32)>;