Skip to content

Commit d2410f5

Browse files
mathieuchopstmaescolar
authored andcommitted
dts: arm: st: wb0: use STM32_CLOCK everywhere
PR #79683 missed a few nodes introduced while it was under review. Replace the remaining raw values with STM32_CLOCK in WB0 DTSI files. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent 8cd361a commit d2410f5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dts/arm/st/wb0/stm32wb0.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
#address-cells = <1>;
203203
#size-cells = <0>;
204204
reg = <0x41000000 DT_SIZE_K(1)>;
205-
clocks = <&rcc STM32_CLOCK_BUS_APB1 (1 << 21)>;
205+
clocks = <&rcc STM32_CLOCK(APB1, 21)>;
206206
interrupts = <3 0>;
207207
interrupt-names = "combined";
208208
status = "disabled";
@@ -213,7 +213,7 @@
213213
#address-cells = <1>;
214214
#size-cells = <0>;
215215
reg = <0x41007000 DT_SIZE_K(1)>;
216-
clocks = <&rcc STM32_CLOCK_BUS_APB1 (1 << 14)>;
216+
clocks = <&rcc STM32_CLOCK(APB1, 14)>;
217217
interrupts = <7 0>;
218218
status = "disabled";
219219
};

dts/arm/st/wb0/stm32wb07.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#address-cells = <1>;
2323
#size-cells = <0>;
2424
reg = <0x41001000 DT_SIZE_K(1)>;
25-
clocks = <&rcc STM32_CLOCK_BUS_APB1 (1 << 23)>;
25+
clocks = <&rcc STM32_CLOCK(APB1, 23)>;
2626
interrupts = <4 0>;
2727
interrupt-names = "combined";
2828
status = "disabled";
@@ -33,7 +33,7 @@
3333
#address-cells = <1>;
3434
#size-cells = <0>;
3535
reg = <0x41002000 DT_SIZE_K(1)>;
36-
clocks = <&rcc STM32_CLOCK_BUS_APB1 (1 << 0)>;
36+
clocks = <&rcc STM32_CLOCK(APB1, 0)>;
3737
interrupts = <5 0>;
3838
status = "disabled";
3939
};
@@ -43,7 +43,7 @@
4343
#address-cells = <1>;
4444
#size-cells = <0>;
4545
reg = <0x41003000 DT_SIZE_K(1)>;
46-
clocks = <&rcc STM32_CLOCK_BUS_APB1 (1 << 12)>;
46+
clocks = <&rcc STM32_CLOCK(APB1, 12)>;
4747
interrupts = <6 0>;
4848
status = "disabled";
4949
};

0 commit comments

Comments
 (0)