Skip to content

Commit f4d148a

Browse files
Mathieu Choplainkartben
authored andcommitted
dts: arm: st: stm32wba: remove U suffix from "clocks" in DTSI
PR 79683 added unnecessary U suffix to constants in DTSI. This bloats the files for no reason and is starting to spread as people use the DTSI for reference in other places, and so copy this bad pattern. Remove the useless U suffixes in DTSI files for this series. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent 00b41eb commit f4d148a

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

dts/arm/st/wba/stm32wba.dtsi

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -250,39 +250,39 @@
250250
gpio-controller;
251251
#gpio-cells = <2>;
252252
reg = <0x42020000 0x400>;
253-
clocks = <&rcc STM32_CLOCK(AHB2, 0U)>;
253+
clocks = <&rcc STM32_CLOCK(AHB2, 0)>;
254254
};
255255

256256
gpiob: gpio@42020400 {
257257
compatible = "st,stm32-gpio";
258258
gpio-controller;
259259
#gpio-cells = <2>;
260260
reg = <0x42020400 0x400>;
261-
clocks = <&rcc STM32_CLOCK(AHB2, 1U)>;
261+
clocks = <&rcc STM32_CLOCK(AHB2, 1)>;
262262
};
263263

264264
gpioc: gpio@42020800 {
265265
compatible = "st,stm32-gpio";
266266
gpio-controller;
267267
#gpio-cells = <2>;
268268
reg = <0x42020800 0x400>;
269-
clocks = <&rcc STM32_CLOCK(AHB2, 2U)>;
269+
clocks = <&rcc STM32_CLOCK(AHB2, 2)>;
270270
};
271271

272272
gpioh: gpio@42021c00 {
273273
compatible = "st,stm32-gpio";
274274
gpio-controller;
275275
#gpio-cells = <2>;
276276
reg = <0x42021c00 0x400>;
277-
clocks = <&rcc STM32_CLOCK(AHB2, 7U)>;
277+
clocks = <&rcc STM32_CLOCK(AHB2, 7)>;
278278
};
279279
};
280280

281281
rtc: rtc@46007800 {
282282
compatible = "st,stm32-rtc";
283283
reg = <0x46007800 0x400>;
284284
interrupts = <2 0>;
285-
clocks = <&rcc STM32_CLOCK(APB7, 21U)>;
285+
clocks = <&rcc STM32_CLOCK(APB7, 21)>;
286286
alarms-count = <2>;
287287
status = "disabled";
288288
};
@@ -296,15 +296,15 @@
296296
wwdg: watchdog@40002c00 {
297297
compatible = "st,stm32-window-watchdog";
298298
reg = <0x40002C00 0x400>;
299-
clocks = <&rcc STM32_CLOCK(APB1, 11U)>;
299+
clocks = <&rcc STM32_CLOCK(APB1, 11)>;
300300
interrupts = <0 7>;
301301
status = "disabled";
302302
};
303303

304304
usart1: serial@40013800 {
305305
compatible = "st,stm32-usart", "st,stm32-uart";
306306
reg = <0x40013800 0x400>;
307-
clocks = <&rcc STM32_CLOCK(APB2, 14U)>;
307+
clocks = <&rcc STM32_CLOCK(APB2, 14)>;
308308
resets = <&rctl STM32_RESET(APB2, 14U)>;
309309
interrupts = <46 0>;
310310
status = "disabled";
@@ -313,7 +313,7 @@
313313
usart2: serial@40004400 {
314314
compatible = "st,stm32-usart", "st,stm32-uart";
315315
reg = <0x40004400 0x400>;
316-
clocks = <&rcc STM32_CLOCK(APB1, 17U)>;
316+
clocks = <&rcc STM32_CLOCK(APB1, 17)>;
317317
resets = <&rctl STM32_RESET(APB1L, 17U)>;
318318
interrupts = <47 0>;
319319
status = "disabled";
@@ -322,7 +322,7 @@
322322
lpuart1: serial@46002400 {
323323
compatible = "st,stm32-lpuart", "st,stm32-uart";
324324
reg = <0x46002400 0x400>;
325-
clocks = <&rcc STM32_CLOCK(APB7, 6U)>;
325+
clocks = <&rcc STM32_CLOCK(APB7, 6)>;
326326
resets = <&rctl STM32_RESET(APB7, 6U)>;
327327
interrupts = <48 0>;
328328
status = "disabled";
@@ -334,7 +334,7 @@
334334
#size-cells = <0>;
335335
reg = <0x40013000 0x400>;
336336
interrupts = <45 5>;
337-
clocks = <&rcc STM32_CLOCK(APB2, 12U)>;
337+
clocks = <&rcc STM32_CLOCK(APB2, 12)>;
338338
status = "disabled";
339339
};
340340

@@ -344,7 +344,7 @@
344344
#size-cells = <0>;
345345
reg = <0x46002000 0x400>;
346346
interrupts = <63 5>;
347-
clocks = <&rcc STM32_CLOCK(APB7, 5U)>;
347+
clocks = <&rcc STM32_CLOCK(APB7, 5)>;
348348
status = "disabled";
349349
};
350350

@@ -354,7 +354,7 @@
354354
#address-cells = <1>;
355355
#size-cells = <0>;
356356
reg = <0x40005400 0x400>;
357-
clocks = <&rcc STM32_CLOCK(APB1, 21U)>;
357+
clocks = <&rcc STM32_CLOCK(APB1, 21)>;
358358
interrupts = <43 0>, <44 0>;
359359
interrupt-names = "event", "error";
360360
status = "disabled";
@@ -366,7 +366,7 @@
366366
#address-cells = <1>;
367367
#size-cells = <0>;
368368
reg = <0x46002800 0x400>;
369-
clocks = <&rcc STM32_CLOCK(APB7, 7U)>;
369+
clocks = <&rcc STM32_CLOCK(APB7, 7)>;
370370
interrupts = <54 0>, <55 0>;
371371
interrupt-names = "event", "error";
372372
status = "disabled";
@@ -488,7 +488,7 @@
488488
adc4: adc@46021000 {
489489
compatible = "st,stm32-adc";
490490
reg = <0x46021000 0x400>;
491-
clocks = <&rcc STM32_CLOCK(AHB4, 5U)>,
491+
clocks = <&rcc STM32_CLOCK(AHB4, 5)>,
492492
<&rcc STM32_SRC_HCLK1 ADC_SEL(0)>;
493493
interrupts = <65 0>;
494494
status = "disabled";
@@ -509,7 +509,7 @@
509509
#address-cells = <1>;
510510
#size-cells = <0>;
511511
reg = <0x46004400 0x400>;
512-
clocks = <&rcc STM32_CLOCK(APB7, 11U)>;
512+
clocks = <&rcc STM32_CLOCK(APB7, 11)>;
513513
interrupts = <49 1>;
514514
interrupt-names = "wakeup";
515515
status = "disabled";
@@ -520,7 +520,7 @@
520520
#address-cells = <1>;
521521
#size-cells = <0>;
522522
reg = <0x40009400 0x400>;
523-
clocks = <&rcc STM32_CLOCK(APB1_2, 5U)>;
523+
clocks = <&rcc STM32_CLOCK(APB1_2, 5)>;
524524
interrupts = <50 1>;
525525
interrupt-names = "wakeup";
526526
status = "disabled";
@@ -530,7 +530,7 @@
530530
compatible = "st,stm32-rng";
531531
reg = <0x420c0800 0x400>;
532532
interrupts = <59 0>;
533-
clocks = <&rcc STM32_CLOCK(AHB2, 18U)>,
533+
clocks = <&rcc STM32_CLOCK(AHB2, 18)>,
534534
<&rcc STM32_SRC_HSI16 RNG_SEL(2)>;
535535
nist-config = <0xf00d>;
536536
health-test-config = <0xaac7>;
@@ -542,7 +542,7 @@
542542
#dma-cells = <3>;
543543
reg = <0x40020000 0x1000>;
544544
interrupts = <29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0>;
545-
clocks = <&rcc STM32_CLOCK(AHB1, 0U)>;
545+
clocks = <&rcc STM32_CLOCK(AHB1, 0)>;
546546
dma-channels = <8>;
547547
dma-requests = <52>;
548548
dma-offset = <0>;

0 commit comments

Comments
 (0)