|
250 | 250 | gpio-controller;
|
251 | 251 | #gpio-cells = <2>;
|
252 | 252 | reg = <0x42020000 0x400>;
|
253 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 0U)>; |
| 253 | + clocks = <&rcc STM32_CLOCK(AHB2, 0)>; |
254 | 254 | };
|
255 | 255 |
|
256 | 256 | gpiob: gpio@42020400 {
|
257 | 257 | compatible = "st,stm32-gpio";
|
258 | 258 | gpio-controller;
|
259 | 259 | #gpio-cells = <2>;
|
260 | 260 | reg = <0x42020400 0x400>;
|
261 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 1U)>; |
| 261 | + clocks = <&rcc STM32_CLOCK(AHB2, 1)>; |
262 | 262 | };
|
263 | 263 |
|
264 | 264 | gpioc: gpio@42020800 {
|
265 | 265 | compatible = "st,stm32-gpio";
|
266 | 266 | gpio-controller;
|
267 | 267 | #gpio-cells = <2>;
|
268 | 268 | reg = <0x42020800 0x400>;
|
269 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 2U)>; |
| 269 | + clocks = <&rcc STM32_CLOCK(AHB2, 2)>; |
270 | 270 | };
|
271 | 271 |
|
272 | 272 | gpioh: gpio@42021c00 {
|
273 | 273 | compatible = "st,stm32-gpio";
|
274 | 274 | gpio-controller;
|
275 | 275 | #gpio-cells = <2>;
|
276 | 276 | reg = <0x42021c00 0x400>;
|
277 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 7U)>; |
| 277 | + clocks = <&rcc STM32_CLOCK(AHB2, 7)>; |
278 | 278 | };
|
279 | 279 | };
|
280 | 280 |
|
281 | 281 | rtc: rtc@46007800 {
|
282 | 282 | compatible = "st,stm32-rtc";
|
283 | 283 | reg = <0x46007800 0x400>;
|
284 | 284 | interrupts = <2 0>;
|
285 |
| - clocks = <&rcc STM32_CLOCK(APB7, 21U)>; |
| 285 | + clocks = <&rcc STM32_CLOCK(APB7, 21)>; |
286 | 286 | alarms-count = <2>;
|
287 | 287 | status = "disabled";
|
288 | 288 | };
|
|
296 | 296 | wwdg: watchdog@40002c00 {
|
297 | 297 | compatible = "st,stm32-window-watchdog";
|
298 | 298 | reg = <0x40002C00 0x400>;
|
299 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 299 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
300 | 300 | interrupts = <0 7>;
|
301 | 301 | status = "disabled";
|
302 | 302 | };
|
303 | 303 |
|
304 | 304 | usart1: serial@40013800 {
|
305 | 305 | compatible = "st,stm32-usart", "st,stm32-uart";
|
306 | 306 | reg = <0x40013800 0x400>;
|
307 |
| - clocks = <&rcc STM32_CLOCK(APB2, 14U)>; |
| 307 | + clocks = <&rcc STM32_CLOCK(APB2, 14)>; |
308 | 308 | resets = <&rctl STM32_RESET(APB2, 14U)>;
|
309 | 309 | interrupts = <46 0>;
|
310 | 310 | status = "disabled";
|
|
313 | 313 | usart2: serial@40004400 {
|
314 | 314 | compatible = "st,stm32-usart", "st,stm32-uart";
|
315 | 315 | reg = <0x40004400 0x400>;
|
316 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 316 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
317 | 317 | resets = <&rctl STM32_RESET(APB1L, 17U)>;
|
318 | 318 | interrupts = <47 0>;
|
319 | 319 | status = "disabled";
|
|
322 | 322 | lpuart1: serial@46002400 {
|
323 | 323 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
324 | 324 | reg = <0x46002400 0x400>;
|
325 |
| - clocks = <&rcc STM32_CLOCK(APB7, 6U)>; |
| 325 | + clocks = <&rcc STM32_CLOCK(APB7, 6)>; |
326 | 326 | resets = <&rctl STM32_RESET(APB7, 6U)>;
|
327 | 327 | interrupts = <48 0>;
|
328 | 328 | status = "disabled";
|
|
334 | 334 | #size-cells = <0>;
|
335 | 335 | reg = <0x40013000 0x400>;
|
336 | 336 | interrupts = <45 5>;
|
337 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>; |
| 337 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>; |
338 | 338 | status = "disabled";
|
339 | 339 | };
|
340 | 340 |
|
|
344 | 344 | #size-cells = <0>;
|
345 | 345 | reg = <0x46002000 0x400>;
|
346 | 346 | interrupts = <63 5>;
|
347 |
| - clocks = <&rcc STM32_CLOCK(APB7, 5U)>; |
| 347 | + clocks = <&rcc STM32_CLOCK(APB7, 5)>; |
348 | 348 | status = "disabled";
|
349 | 349 | };
|
350 | 350 |
|
|
354 | 354 | #address-cells = <1>;
|
355 | 355 | #size-cells = <0>;
|
356 | 356 | reg = <0x40005400 0x400>;
|
357 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 357 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
358 | 358 | interrupts = <43 0>, <44 0>;
|
359 | 359 | interrupt-names = "event", "error";
|
360 | 360 | status = "disabled";
|
|
366 | 366 | #address-cells = <1>;
|
367 | 367 | #size-cells = <0>;
|
368 | 368 | reg = <0x46002800 0x400>;
|
369 |
| - clocks = <&rcc STM32_CLOCK(APB7, 7U)>; |
| 369 | + clocks = <&rcc STM32_CLOCK(APB7, 7)>; |
370 | 370 | interrupts = <54 0>, <55 0>;
|
371 | 371 | interrupt-names = "event", "error";
|
372 | 372 | status = "disabled";
|
|
488 | 488 | adc4: adc@46021000 {
|
489 | 489 | compatible = "st,stm32-adc";
|
490 | 490 | reg = <0x46021000 0x400>;
|
491 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 5U)>, |
| 491 | + clocks = <&rcc STM32_CLOCK(AHB4, 5)>, |
492 | 492 | <&rcc STM32_SRC_HCLK1 ADC_SEL(0)>;
|
493 | 493 | interrupts = <65 0>;
|
494 | 494 | status = "disabled";
|
|
509 | 509 | #address-cells = <1>;
|
510 | 510 | #size-cells = <0>;
|
511 | 511 | reg = <0x46004400 0x400>;
|
512 |
| - clocks = <&rcc STM32_CLOCK(APB7, 11U)>; |
| 512 | + clocks = <&rcc STM32_CLOCK(APB7, 11)>; |
513 | 513 | interrupts = <49 1>;
|
514 | 514 | interrupt-names = "wakeup";
|
515 | 515 | status = "disabled";
|
|
520 | 520 | #address-cells = <1>;
|
521 | 521 | #size-cells = <0>;
|
522 | 522 | reg = <0x40009400 0x400>;
|
523 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 5U)>; |
| 523 | + clocks = <&rcc STM32_CLOCK(APB1_2, 5)>; |
524 | 524 | interrupts = <50 1>;
|
525 | 525 | interrupt-names = "wakeup";
|
526 | 526 | status = "disabled";
|
|
530 | 530 | compatible = "st,stm32-rng";
|
531 | 531 | reg = <0x420c0800 0x400>;
|
532 | 532 | interrupts = <59 0>;
|
533 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 18U)>, |
| 533 | + clocks = <&rcc STM32_CLOCK(AHB2, 18)>, |
534 | 534 | <&rcc STM32_SRC_HSI16 RNG_SEL(2)>;
|
535 | 535 | nist-config = <0xf00d>;
|
536 | 536 | health-test-config = <0xaac7>;
|
|
542 | 542 | #dma-cells = <3>;
|
543 | 543 | reg = <0x40020000 0x1000>;
|
544 | 544 | 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)>; |
546 | 546 | dma-channels = <8>;
|
547 | 547 | dma-requests = <52>;
|
548 | 548 | dma-offset = <0>;
|
|
0 commit comments