File tree Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Original file line number Diff line number Diff line change 88#include <dt-bindings/clock/stm32_clock.h>
99#include <dt-bindings/gpio/gpio.h>
1010#include <dt-bindings/i2c/i2c.h>
11+ #include <freq.h>
1112
1213/ {
1314 chosen {
2930 compatible = "mmio-sram";
3031 };
3132
33+ clocks {
34+ clk_hse: clk-hse {
35+ #clock-cells = <0>;
36+ compatible = "st,stm32-hse-clock";
37+ /* Expected clock-frequency on the whole series 32MHz */
38+ clock-frequency = <DT_FREQ_M(32)>;
39+ status = "disabled";
40+ };
41+
42+ clk_hsi: clk-hsi {
43+ #clock-cells = <0>;
44+ compatible = "fixed-clock";
45+ clock-frequency = <DT_FREQ_M(16)>;
46+ status = "disabled";
47+ };
48+
49+ clk_msi: clk-msi {
50+ #clock-cells = <0>;
51+ compatible = "st,stm32-msi-clock";
52+ msi-range = <6>; /* 4MHz (reset value) */
53+ status = "disabled";
54+ };
55+
56+ clk_lse: clk-lse {
57+ #clock-cells = <0>;
58+ compatible = "fixed-clock";
59+ clock-frequency = <32768>;
60+ status = "disabled";
61+ };
62+
63+ clk_lsi: clk-lsi {
64+ #clock-cells = <0>;
65+ compatible = "fixed-clock";
66+ clock-frequency = <DT_FREQ_K(32)>;
67+ status = "disabled";
68+ };
69+
70+ pll: pll {
71+ #clock-cells = <0>;
72+ compatible = "st,stm32wb-pll-clock";
73+ status = "disabled";
74+ };
75+ };
76+
3277 soc {
3378 flash: flash-controller@58004000 {
3479 compatible = "st,stm32-flash-controller", "st,stm32wl-flash-controller";
4994 };
5095
5196 rcc: rcc@58000000 {
52- compatible = "st,stm32 -rcc";
97+ compatible = "st,stm32wl -rcc";
5398 #clock-cells = <2>;
5499 reg = <0x58000000 0x400>;
55100 label = "STM32_CLK_RCC";
You can’t perform that action at this time.
0 commit comments