|
145 | 145 | compatible = "st,stm32-flash-controller", "st,stm32wb-flash-controller";
|
146 | 146 | reg = <0x58004000 0x400>;
|
147 | 147 | interrupts = <4 0>;
|
148 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 25U)>; |
| 148 | + clocks = <&rcc STM32_CLOCK(AHB3, 25)>; |
149 | 149 |
|
150 | 150 | #address-cells = <1>;
|
151 | 151 | #size-cells = <1>;
|
|
197 | 197 | gpio-controller;
|
198 | 198 | #gpio-cells = <2>;
|
199 | 199 | reg = <0x48000000 0x400>;
|
200 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 0U)>; |
| 200 | + clocks = <&rcc STM32_CLOCK(AHB2, 0)>; |
201 | 201 | };
|
202 | 202 |
|
203 | 203 | gpiob: gpio@48000400 {
|
204 | 204 | compatible = "st,stm32-gpio";
|
205 | 205 | gpio-controller;
|
206 | 206 | #gpio-cells = <2>;
|
207 | 207 | reg = <0x48000400 0x400>;
|
208 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 1U)>; |
| 208 | + clocks = <&rcc STM32_CLOCK(AHB2, 1)>; |
209 | 209 | };
|
210 | 210 |
|
211 | 211 | gpioc: gpio@48000800 {
|
212 | 212 | compatible = "st,stm32-gpio";
|
213 | 213 | gpio-controller;
|
214 | 214 | #gpio-cells = <2>;
|
215 | 215 | reg = <0x48000800 0x400>;
|
216 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 2U)>; |
| 216 | + clocks = <&rcc STM32_CLOCK(AHB2, 2)>; |
217 | 217 | };
|
218 | 218 |
|
219 | 219 | gpiod: gpio@48000c00 {
|
220 | 220 | compatible = "st,stm32-gpio";
|
221 | 221 | gpio-controller;
|
222 | 222 | #gpio-cells = <2>;
|
223 | 223 | reg = <0x48000c00 0x400>;
|
224 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 3U)>; |
| 224 | + clocks = <&rcc STM32_CLOCK(AHB2, 3)>; |
225 | 225 | };
|
226 | 226 |
|
227 | 227 | gpioe: gpio@48001000 {
|
|
230 | 230 | #gpio-cells = <2>;
|
231 | 231 | ngpios = <5>;
|
232 | 232 | reg = <0x48001000 0x400>;
|
233 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 4U)>; |
| 233 | + clocks = <&rcc STM32_CLOCK(AHB2, 4)>; |
234 | 234 | };
|
235 | 235 |
|
236 | 236 | gpioh: gpio@48001c00 {
|
|
239 | 239 | #gpio-cells = <2>;
|
240 | 240 | ngpios = <4>;
|
241 | 241 | reg = <0x48001c00 0x400>;
|
242 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 7U)>; |
| 242 | + clocks = <&rcc STM32_CLOCK(AHB2, 7)>; |
243 | 243 | };
|
244 | 244 | };
|
245 | 245 |
|
246 | 246 | wwdg: watchdog@40002c00 {
|
247 | 247 | compatible = "st,stm32-window-watchdog";
|
248 | 248 | reg = <0x40002C00 0x400>;
|
249 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 249 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
250 | 250 | interrupts = <0 7>;
|
251 | 251 | status = "disabled";
|
252 | 252 | };
|
253 | 253 |
|
254 | 254 | usart1: serial@40013800 {
|
255 | 255 | compatible = "st,stm32-usart", "st,stm32-uart";
|
256 | 256 | reg = <0x40013800 0x400>;
|
257 |
| - clocks = <&rcc STM32_CLOCK(APB2, 14U)>; |
| 257 | + clocks = <&rcc STM32_CLOCK(APB2, 14)>; |
258 | 258 | resets = <&rctl STM32_RESET(APB2, 14U)>;
|
259 | 259 | interrupts = <36 0>;
|
260 | 260 | status = "disabled";
|
|
266 | 266 | #address-cells = <1>;
|
267 | 267 | #size-cells = <0>;
|
268 | 268 | reg = <0x40005400 0x400>;
|
269 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 269 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
270 | 270 | interrupts = <30 0>, <31 0>;
|
271 | 271 | interrupt-names = "event", "error";
|
272 | 272 | status = "disabled";
|
|
278 | 278 | #address-cells = <1>;
|
279 | 279 | #size-cells = <0>;
|
280 | 280 | reg = <0x40005c00 0x400>;
|
281 |
| - clocks = <&rcc STM32_CLOCK(APB1, 23U)>; |
| 281 | + clocks = <&rcc STM32_CLOCK(APB1, 23)>; |
282 | 282 | interrupts = <32 0>, <33 0>;
|
283 | 283 | interrupt-names = "event", "error";
|
284 | 284 | status = "disabled";
|
|
288 | 288 | compatible = "st,stm32-rtc";
|
289 | 289 | reg = <0x40002800 0x400>;
|
290 | 290 | interrupts = <41 0>;
|
291 |
| - clocks = <&rcc STM32_CLOCK(APB1, 10U)>; |
| 291 | + clocks = <&rcc STM32_CLOCK(APB1, 10)>; |
292 | 292 | prescaler = <32768>;
|
293 | 293 | alarms-count = <2>;
|
294 | 294 | alrm-exti-line = <17>;
|
|
307 | 307 | #size-cells = <0>;
|
308 | 308 | reg = <0x40013000 0x400>;
|
309 | 309 | interrupts = <34 5>;
|
310 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>; |
| 310 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>; |
311 | 311 | status = "disabled";
|
312 | 312 | };
|
313 | 313 |
|
|
317 | 317 | #size-cells = <0>;
|
318 | 318 | reg = <0x40003800 0x400>;
|
319 | 319 | interrupts = <35 5>;
|
320 |
| - clocks = <&rcc STM32_CLOCK(APB1, 14U)>; |
| 320 | + clocks = <&rcc STM32_CLOCK(APB1, 14)>; |
321 | 321 | status = "disabled";
|
322 | 322 | };
|
323 | 323 |
|
324 | 324 | lpuart1: serial@40008000 {
|
325 | 325 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
326 | 326 | reg = <0x40008000 0x400>;
|
327 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 0U)>; |
| 327 | + clocks = <&rcc STM32_CLOCK(APB1_2, 0)>; |
328 | 328 | resets = <&rctl STM32_RESET(APB1H, 0U)>;
|
329 | 329 | interrupts = <37 0>;
|
330 | 330 | status = "disabled";
|
|
420 | 420 | adc1: adc@50040000 {
|
421 | 421 | compatible = "st,stm32-adc";
|
422 | 422 | reg = <0x50040000 0x400>;
|
423 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 13U)>; |
| 423 | + clocks = <&rcc STM32_CLOCK(AHB2, 13)>; |
424 | 424 | interrupts = <18 0>;
|
425 | 425 | status = "disabled";
|
426 | 426 | #io-channel-cells = <1>;
|
|
441 | 441 |
|
442 | 442 | lptim1: timers@40007c00 {
|
443 | 443 | compatible = "st,stm32-lptim";
|
444 |
| - clocks = <&rcc STM32_CLOCK(APB1, 31U)>; |
| 444 | + clocks = <&rcc STM32_CLOCK(APB1, 31)>; |
445 | 445 | #address-cells = <1>;
|
446 | 446 | #size-cells = <0>;
|
447 | 447 | reg = <0x40007c00 0x400>;
|
|
455 | 455 | #dma-cells = <3>;
|
456 | 456 | reg = <0x40020000 0x400>;
|
457 | 457 | interrupts = <11 0 12 0 13 0 14 0 15 0 16 0 17 0>;
|
458 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 0U)>; |
| 458 | + clocks = <&rcc STM32_CLOCK(AHB1, 0)>; |
459 | 459 | dma-requests = <7>;
|
460 | 460 | dma-offset = <0>;
|
461 | 461 | status = "disabled";
|
|
466 | 466 | #dma-cells = <3>;
|
467 | 467 | reg = <0x40020400 0x400>;
|
468 | 468 | interrupts = <55 0 56 0 57 0 58 0 59 0 60 0 61 0>;
|
469 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 1U)>; |
| 469 | + clocks = <&rcc STM32_CLOCK(AHB1, 1)>; |
470 | 470 | dma-requests = <7>;
|
471 | 471 | dma-offset = <7>;
|
472 | 472 | status = "disabled";
|
|
477 | 477 | #dma-cells = <3>;
|
478 | 478 | reg = <0x40020800 0x400>;
|
479 | 479 | interrupts = <62 0>;
|
480 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 2U)>; |
| 480 | + clocks = <&rcc STM32_CLOCK(AHB1, 2)>; |
481 | 481 | dma-channels = <14>;
|
482 | 482 | dma-generators = <4>;
|
483 | 483 | dma-requests= <36>;
|
|
493 | 493 | ram-size = <1024>;
|
494 | 494 | maximum-speed = "full-speed";
|
495 | 495 | phys = <&usb_fs_phy>;
|
496 |
| - clocks = <&rcc STM32_CLOCK(APB1, 26U)>, |
| 496 | + clocks = <&rcc STM32_CLOCK(APB1, 26)>, |
497 | 497 | <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>;
|
498 | 498 | status = "disabled";
|
499 | 499 | };
|
|
504 | 504 | #size-cells = <0>;
|
505 | 505 | reg = <0xa0001000 0x400>, <0x90000000 DT_SIZE_M(256)>;
|
506 | 506 | interrupts = <0x32 0x0>;
|
507 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 8U)>; |
| 507 | + clocks = <&rcc STM32_CLOCK(AHB3, 8)>; |
508 | 508 | status = "disabled";
|
509 | 509 | };
|
510 | 510 |
|
511 | 511 | rng: rng@58001000 {
|
512 | 512 | compatible = "st,stm32-rng";
|
513 | 513 | reg = <0x58001000 0x400>;
|
514 | 514 | interrupts = <53 0>;
|
515 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 18U)>; |
| 515 | + clocks = <&rcc STM32_CLOCK(AHB3, 18)>; |
516 | 516 | status = "disabled";
|
517 | 517 | };
|
518 | 518 |
|
519 | 519 | aes1: aes@50060000 {
|
520 | 520 | compatible = "st,stm32-aes";
|
521 | 521 | reg = <0x50060000 0x400>;
|
522 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 16U)>; |
| 522 | + clocks = <&rcc STM32_CLOCK(AHB2, 16)>; |
523 | 523 | resets = <&rctl STM32_RESET(AHB2, 16U)>;
|
524 | 524 | interrupts = <51 0>;
|
525 | 525 | status = "disabled";
|
|
582 | 582 |
|
583 | 583 | ble_rf: ble_rf {
|
584 | 584 | compatible = "st,stm32wb-rf";
|
585 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 20U)>, |
| 585 | + clocks = <&rcc STM32_CLOCK(AHB3, 20)>, |
586 | 586 | <&rcc STM32_SRC_LSE RFWKP_SEL(1)>;
|
587 | 587 | };
|
588 | 588 |
|
|
0 commit comments