|
180 | 180 | compatible = "st,stm32-flash-controller", "st,stm32h7-flash-controller";
|
181 | 181 | reg = <0x52002000 0x400>;
|
182 | 182 | interrupts = <8 0>;
|
183 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 8U)>; |
| 183 | + clocks = <&rcc STM32_CLOCK(AHB3, 8)>; |
184 | 184 |
|
185 | 185 | #address-cells = <1>;
|
186 | 186 | #size-cells = <1>;
|
|
239 | 239 | gpio-controller;
|
240 | 240 | #gpio-cells = <2>;
|
241 | 241 | reg = <0x58020000 0x400>;
|
242 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 0U)>; |
| 242 | + clocks = <&rcc STM32_CLOCK(AHB4, 0)>; |
243 | 243 | };
|
244 | 244 |
|
245 | 245 | gpiob: gpio@58020400 {
|
246 | 246 | compatible = "st,stm32-gpio";
|
247 | 247 | gpio-controller;
|
248 | 248 | #gpio-cells = <2>;
|
249 | 249 | reg = <0x58020400 0x400>;
|
250 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 1U)>; |
| 250 | + clocks = <&rcc STM32_CLOCK(AHB4, 1)>; |
251 | 251 | };
|
252 | 252 |
|
253 | 253 | gpioc: gpio@58020800 {
|
254 | 254 | compatible = "st,stm32-gpio";
|
255 | 255 | gpio-controller;
|
256 | 256 | #gpio-cells = <2>;
|
257 | 257 | reg = <0x58020800 0x400>;
|
258 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 2U)>; |
| 258 | + clocks = <&rcc STM32_CLOCK(AHB4, 2)>; |
259 | 259 | };
|
260 | 260 |
|
261 | 261 | gpiod: gpio@58020C00 {
|
262 | 262 | compatible = "st,stm32-gpio";
|
263 | 263 | gpio-controller;
|
264 | 264 | #gpio-cells = <2>;
|
265 | 265 | reg = <0x58020C00 0x400>;
|
266 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 3U)>; |
| 266 | + clocks = <&rcc STM32_CLOCK(AHB4, 3)>; |
267 | 267 | };
|
268 | 268 |
|
269 | 269 | gpioe: gpio@58021000 {
|
270 | 270 | compatible = "st,stm32-gpio";
|
271 | 271 | gpio-controller;
|
272 | 272 | #gpio-cells = <2>;
|
273 | 273 | reg = <0x58021000 0x400>;
|
274 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 4U)>; |
| 274 | + clocks = <&rcc STM32_CLOCK(AHB4, 4)>; |
275 | 275 | };
|
276 | 276 |
|
277 | 277 | gpiof: gpio@58021400 {
|
278 | 278 | compatible = "st,stm32-gpio";
|
279 | 279 | gpio-controller;
|
280 | 280 | #gpio-cells = <2>;
|
281 | 281 | reg = <0x58021400 0x400>;
|
282 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 5U)>; |
| 282 | + clocks = <&rcc STM32_CLOCK(AHB4, 5)>; |
283 | 283 | };
|
284 | 284 |
|
285 | 285 | gpiog: gpio@58021800 {
|
286 | 286 | compatible = "st,stm32-gpio";
|
287 | 287 | gpio-controller;
|
288 | 288 | #gpio-cells = <2>;
|
289 | 289 | reg = <0x58021800 0x400>;
|
290 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 6U)>; |
| 290 | + clocks = <&rcc STM32_CLOCK(AHB4, 6)>; |
291 | 291 | };
|
292 | 292 |
|
293 | 293 | gpioh: gpio@58021c00 {
|
294 | 294 | compatible = "st,stm32-gpio";
|
295 | 295 | gpio-controller;
|
296 | 296 | #gpio-cells = <2>;
|
297 | 297 | reg = <0x58021c00 0x400>;
|
298 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 7U)>; |
| 298 | + clocks = <&rcc STM32_CLOCK(AHB4, 7)>; |
299 | 299 | };
|
300 | 300 |
|
301 | 301 | gpiom: gpio@58023000 {
|
302 | 302 | compatible = "st,stm32-gpio";
|
303 | 303 | gpio-controller;
|
304 | 304 | #gpio-cells = <2>;
|
305 | 305 | reg = <0x58023000 0x400>;
|
306 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 12U)>; |
| 306 | + clocks = <&rcc STM32_CLOCK(AHB4, 12)>; |
307 | 307 | };
|
308 | 308 |
|
309 | 309 | gpion: gpio@58023400 {
|
310 | 310 | compatible = "st,stm32-gpio";
|
311 | 311 | gpio-controller;
|
312 | 312 | #gpio-cells = <2>;
|
313 | 313 | reg = <0x58023400 0x400>;
|
314 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 13U)>; |
| 314 | + clocks = <&rcc STM32_CLOCK(AHB4, 13)>; |
315 | 315 | };
|
316 | 316 |
|
317 | 317 | gpioo: gpio@58023800 {
|
318 | 318 | compatible = "st,stm32-gpio";
|
319 | 319 | gpio-controller;
|
320 | 320 | #gpio-cells = <2>;
|
321 | 321 | reg = <0x58023800 0x400>;
|
322 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 14U)>; |
| 322 | + clocks = <&rcc STM32_CLOCK(AHB4, 14)>; |
323 | 323 | };
|
324 | 324 |
|
325 | 325 | gpiop: gpio@58023c00 {
|
326 | 326 | compatible = "st,stm32-gpio";
|
327 | 327 | gpio-controller;
|
328 | 328 | #gpio-cells = <2>;
|
329 | 329 | reg = <0x58023c00 0x400>;
|
330 |
| - clocks = <&rcc STM32_CLOCK(AHB4, 15U)>; |
| 330 | + clocks = <&rcc STM32_CLOCK(AHB4, 15)>; |
331 | 331 | };
|
332 | 332 | };
|
333 | 333 |
|
334 | 334 | usart1: serial@42001000 {
|
335 | 335 | compatible = "st,stm32-usart", "st,stm32-uart";
|
336 | 336 | reg = <0x42001000 0x400>;
|
337 |
| - clocks = <&rcc STM32_CLOCK(APB2, 4U)>; |
| 337 | + clocks = <&rcc STM32_CLOCK(APB2, 4)>; |
338 | 338 | resets = <&rctl STM32_RESET(APB2, 4U)>;
|
339 | 339 | interrupts = <82 0>;
|
340 | 340 | status = "disabled";
|
341 | 341 | };
|
342 | 342 | usart2: serial@40004400 {
|
343 | 343 | compatible = "st,stm32-usart", "st,stm32-uart";
|
344 | 344 | reg = <0x40004400 0x400>;
|
345 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 345 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
346 | 346 | resets = <&rctl STM32_RESET(APB1L, 17U)>;
|
347 | 347 | interrupts = <83 0>;
|
348 | 348 | status = "disabled";
|
349 | 349 | };
|
350 | 350 | usart3: serial@40004800 {
|
351 | 351 | compatible = "st,stm32-usart", "st,stm32-uart";
|
352 | 352 | reg = <0x40004800 0x400>;
|
353 |
| - clocks = <&rcc STM32_CLOCK(APB1, 18U)>; |
| 353 | + clocks = <&rcc STM32_CLOCK(APB1, 18)>; |
354 | 354 | resets = <&rctl STM32_RESET(APB1L, 18U)>;
|
355 | 355 | interrupts = <84 0>;
|
356 | 356 | status = "disabled";
|
357 | 357 | };
|
358 | 358 | uart4: serial@40004c00 {
|
359 | 359 | compatible ="st,stm32-uart";
|
360 | 360 | reg = <0x40004c00 0x400>;
|
361 |
| - clocks = <&rcc STM32_CLOCK(APB1, 19U)>; |
| 361 | + clocks = <&rcc STM32_CLOCK(APB1, 19)>; |
362 | 362 | resets = <&rctl STM32_RESET(APB1L, 19U)>;
|
363 | 363 | interrupts = <85 0>;
|
364 | 364 | status = "disabled";
|
365 | 365 | };
|
366 | 366 | uart5: serial@40005000 {
|
367 | 367 | compatible = "st,stm32-uart";
|
368 | 368 | reg = <0x40005000 0x400>;
|
369 |
| - clocks = <&rcc STM32_CLOCK(APB1, 20U)>; |
| 369 | + clocks = <&rcc STM32_CLOCK(APB1, 20)>; |
370 | 370 | resets = <&rctl STM32_RESET(APB1L, 20U)>;
|
371 | 371 | interrupts = <86 0>;
|
372 | 372 | status = "disabled";
|
373 | 373 | };
|
374 | 374 | uart7: serial@40007800 {
|
375 | 375 | compatible = "st,stm32-uart";
|
376 | 376 | reg = <0x40007800 0x400>;
|
377 |
| - clocks = <&rcc STM32_CLOCK(APB1, 30U)>; |
| 377 | + clocks = <&rcc STM32_CLOCK(APB1, 30)>; |
378 | 378 | resets = <&rctl STM32_RESET(APB1L, 30U)>;
|
379 | 379 | interrupts = <87 0>;
|
380 | 380 | status = "disabled";
|
381 | 381 | };
|
382 | 382 | uart8: serial@40007c00 {
|
383 | 383 | compatible = "st,stm32-uart";
|
384 | 384 | reg = <0x40007c00 0x400>;
|
385 |
| - clocks = <&rcc STM32_CLOCK(APB1, 31U)>; |
| 385 | + clocks = <&rcc STM32_CLOCK(APB1, 31)>; |
386 | 386 | resets = <&rctl STM32_RESET(APB1L, 31U)>;
|
387 | 387 | interrupts = <88 0>;
|
388 | 388 | status = "disabled";
|
|
391 | 391 | lpuart1: serial@58000c00 {
|
392 | 392 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
393 | 393 | reg = <0x58000c00 0x400>;
|
394 |
| - clocks = <&rcc STM32_CLOCK(APB4, 3U)>; |
| 394 | + clocks = <&rcc STM32_CLOCK(APB4, 3)>; |
395 | 395 | resets = <&rctl STM32_RESET(APB4, 3U)>;
|
396 | 396 | interrupts = <131 0>;
|
397 | 397 | status = "disabled";
|
|
403 | 403 | #address-cells = <1>;
|
404 | 404 | #size-cells = <0>;
|
405 | 405 | reg = <0x40005400 0x400>;
|
406 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 406 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
407 | 407 | interrupts = <76 0>, <77 0>;
|
408 | 408 | interrupt-names = "event", "error";
|
409 | 409 | status = "disabled";
|
|
415 | 415 | #address-cells = <1>;
|
416 | 416 | #size-cells = <0>;
|
417 | 417 | reg = <0x40005800 0x400>;
|
418 |
| - clocks = <&rcc STM32_CLOCK(APB1, 22U)>; |
| 418 | + clocks = <&rcc STM32_CLOCK(APB1, 22)>; |
419 | 419 | interrupts = <78 0>, <79 0>;
|
420 | 420 | interrupt-names = "event", "error";
|
421 | 421 | status = "disabled";
|
|
427 | 427 | #address-cells = <1>;
|
428 | 428 | #size-cells = <0>;
|
429 | 429 | reg = <0x40005c00 0x400>;
|
430 |
| - clocks = <&rcc STM32_CLOCK(APB1, 23U)>; |
| 430 | + clocks = <&rcc STM32_CLOCK(APB1, 23)>; |
431 | 431 | interrupts = <80 0>, <81 0>;
|
432 | 432 | interrupt-names = "event", "error";
|
433 | 433 | status = "disabled";
|
|
438 | 438 | #address-cells = <1>;
|
439 | 439 | #size-cells = <0>;
|
440 | 440 | reg = <0x42003000 0x400>;
|
441 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>, |
| 441 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>, |
442 | 442 | <&rcc STM32_SRC_PLL1_Q SPI1_SEL(0)>;
|
443 | 443 | interrupts = <58 0>;
|
444 | 444 | status = "disabled";
|
|
449 | 449 | #address-cells = <1>;
|
450 | 450 | #size-cells = <0>;
|
451 | 451 | reg = <0x40003800 0x400>;
|
452 |
| - clocks = <&rcc STM32_CLOCK(APB1, 14U)>, |
| 452 | + clocks = <&rcc STM32_CLOCK(APB1, 14)>, |
453 | 453 | <&rcc STM32_SRC_PLL1_Q SPI23_SEL(0)>;
|
454 | 454 | interrupts = <59 0>;
|
455 | 455 | status = "disabled";
|
|
460 | 460 | #address-cells = <1>;
|
461 | 461 | #size-cells = <0>;
|
462 | 462 | reg = <0x40003c00 0x400>;
|
463 |
| - clocks = <&rcc STM32_CLOCK(APB1, 15U)>, |
| 463 | + clocks = <&rcc STM32_CLOCK(APB1, 15)>, |
464 | 464 | <&rcc STM32_SRC_PLL1_Q SPI23_SEL(0)>;
|
465 | 465 | interrupts = <60 0>;
|
466 | 466 | status = "disabled";
|
|
471 | 471 | #address-cells = <1>;
|
472 | 472 | #size-cells = <0>;
|
473 | 473 | reg = <0x42003400 0x400>;
|
474 |
| - clocks = <&rcc STM32_CLOCK(APB2, 13U)>; |
| 474 | + clocks = <&rcc STM32_CLOCK(APB2, 13)>; |
475 | 475 | interrupts = <61 0>;
|
476 | 476 | status = "disabled";
|
477 | 477 | };
|
|
481 | 481 | #address-cells = <1>;
|
482 | 482 | #size-cells = <0>;
|
483 | 483 | reg = <0x42005000 0x400>;
|
484 |
| - clocks = <&rcc STM32_CLOCK(APB2, 20U)>; |
| 484 | + clocks = <&rcc STM32_CLOCK(APB2, 20)>; |
485 | 485 | interrupts = <62 0>;
|
486 | 486 | status = "disabled";
|
487 | 487 | };
|
|
491 | 491 | #address-cells = <1>;
|
492 | 492 | #size-cells = <0>;
|
493 | 493 | reg = <0x40013000 0x400>;
|
494 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>, |
| 494 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>, |
495 | 495 | <&rcc STM32_SRC_PLL1_Q SPI1_SEL(0)>;
|
496 | 496 | interrupts = <35 3>;
|
497 | 497 | status = "disabled";
|
|
502 | 502 | reg = <0x52005000 0x1000>, <0x90000000 DT_SIZE_M(256)>;
|
503 | 503 | interrupts = <105 0>;
|
504 | 504 | clock-names = "xspix";
|
505 |
| - clocks = <&rcc STM32_CLOCK(AHB5, 5U)>; |
| 505 | + clocks = <&rcc STM32_CLOCK(AHB5, 5)>; |
506 | 506 | #address-cells = <1>;
|
507 | 507 | #size-cells = <0>;
|
508 | 508 | status = "disabled";
|
|
513 | 513 | reg = <0x5200a000 0x1000>, <0x70000000 DT_SIZE_M(256)>;
|
514 | 514 | interrupts = <106 0>;
|
515 | 515 | clock-names = "xspix";
|
516 |
| - clocks = <&rcc STM32_CLOCK(AHB5, 12U)>; |
| 516 | + clocks = <&rcc STM32_CLOCK(AHB5, 12)>; |
517 | 517 | #address-cells = <1>;
|
518 | 518 | #size-cells = <0>;
|
519 | 519 | status = "disabled";
|
|
529 | 529 | wwdg: wwdg1: watchdog@40002c00 {
|
530 | 530 | compatible = "st,stm32-window-watchdog";
|
531 | 531 | reg = <0x40002c00 0x1000>;
|
532 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 532 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
533 | 533 | interrupts = <4 7>;
|
534 | 534 | status = "disabled";
|
535 | 535 | };
|
|
766 | 766 |
|
767 | 767 | lptim1: timers@40002400 {
|
768 | 768 | compatible = "st,stm32-lptim";
|
769 |
| - clocks = <&rcc STM32_CLOCK(APB1, 9U)>; |
| 769 | + clocks = <&rcc STM32_CLOCK(APB1, 9)>; |
770 | 770 | #address-cells = <1>;
|
771 | 771 | #size-cells = <0>;
|
772 | 772 | reg = <0x40002400 0x400>;
|
|
778 | 778 | adc1: adc@40022000 {
|
779 | 779 | compatible = "st,stm32-adc";
|
780 | 780 | reg = <0x40022000 0x400>;
|
781 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 5U)>; |
| 781 | + clocks = <&rcc STM32_CLOCK(AHB1, 5)>; |
782 | 782 | interrupts = <38 0>;
|
783 | 783 | status = "disabled";
|
784 | 784 | #io-channel-cells = <1>;
|
|
794 | 794 | adc2: adc@40022100 {
|
795 | 795 | compatible = "st,stm32-adc";
|
796 | 796 | reg = <0x40022100 0x400>;
|
797 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 5U)>; |
| 797 | + clocks = <&rcc STM32_CLOCK(AHB1, 5)>; |
798 | 798 | interrupts = <38 0>;
|
799 | 799 | status = "disabled";
|
800 | 800 | #io-channel-cells = <1>;
|
|
810 | 810 | rng: rng@48020000 {
|
811 | 811 | compatible = "st,stm32-rng";
|
812 | 812 | reg = <0x48020000 0x400>;
|
813 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 0U)>; |
| 813 | + clocks = <&rcc STM32_CLOCK(AHB3, 0)>; |
814 | 814 | interrupts = <37 0>;
|
815 | 815 | status = "disabled";
|
816 | 816 | };
|
|
824 | 824 | ram-size = <1280>;
|
825 | 825 | maximum-speed = "full-speed";
|
826 | 826 | phys = <&otgfs_phy>;
|
827 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 27U)>, |
| 827 | + clocks = <&rcc STM32_CLOCK(AHB1, 27)>, |
828 | 828 | <&rcc STM32_SRC_HSI48 OTGFS_SEL(0)>;
|
829 | 829 | status = "disabled";
|
830 | 830 | };
|
|
0 commit comments