|
125 | 125 | compatible = "st,stm32-flash-controller", "st,stm32l5-flash-controller";
|
126 | 126 | reg = <0x40022000 0x400>;
|
127 | 127 | interrupts = <6 0>;
|
128 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 8U)>; |
| 128 | + clocks = <&rcc STM32_CLOCK(AHB1, 8)>; |
129 | 129 |
|
130 | 130 | #address-cells = <1>;
|
131 | 131 | #size-cells = <1>;
|
|
188 | 188 | gpio-controller;
|
189 | 189 | #gpio-cells = <2>;
|
190 | 190 | reg = <0x42020000 0x400>;
|
191 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 0U)>; |
| 191 | + clocks = <&rcc STM32_CLOCK(AHB2, 0)>; |
192 | 192 | };
|
193 | 193 |
|
194 | 194 | gpiob: gpio@42020400 {
|
195 | 195 | compatible = "st,stm32-gpio";
|
196 | 196 | gpio-controller;
|
197 | 197 | #gpio-cells = <2>;
|
198 | 198 | reg = <0x42020400 0x400>;
|
199 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 1U)>; |
| 199 | + clocks = <&rcc STM32_CLOCK(AHB2, 1)>; |
200 | 200 | };
|
201 | 201 |
|
202 | 202 | gpioc: gpio@42020800 {
|
203 | 203 | compatible = "st,stm32-gpio";
|
204 | 204 | gpio-controller;
|
205 | 205 | #gpio-cells = <2>;
|
206 | 206 | reg = <0x42020800 0x400>;
|
207 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 2U)>; |
| 207 | + clocks = <&rcc STM32_CLOCK(AHB2, 2)>; |
208 | 208 | };
|
209 | 209 |
|
210 | 210 | gpiod: gpio@42020c00 {
|
211 | 211 | compatible = "st,stm32-gpio";
|
212 | 212 | gpio-controller;
|
213 | 213 | #gpio-cells = <2>;
|
214 | 214 | reg = <0x42020c00 0x400>;
|
215 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 3U)>; |
| 215 | + clocks = <&rcc STM32_CLOCK(AHB2, 3)>; |
216 | 216 | };
|
217 | 217 |
|
218 | 218 | gpioe: gpio@42021000 {
|
219 | 219 | compatible = "st,stm32-gpio";
|
220 | 220 | gpio-controller;
|
221 | 221 | #gpio-cells = <2>;
|
222 | 222 | reg = <0x42021000 0x400>;
|
223 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 4U)>; |
| 223 | + clocks = <&rcc STM32_CLOCK(AHB2, 4)>; |
224 | 224 | };
|
225 | 225 |
|
226 | 226 | gpiof: gpio@42021400 {
|
227 | 227 | compatible = "st,stm32-gpio";
|
228 | 228 | gpio-controller;
|
229 | 229 | #gpio-cells = <2>;
|
230 | 230 | reg = <0x42021400 0x400>;
|
231 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 5U)>; |
| 231 | + clocks = <&rcc STM32_CLOCK(AHB2, 5)>; |
232 | 232 | };
|
233 | 233 |
|
234 | 234 | gpiog: gpio@42021800 {
|
235 | 235 | compatible = "st,stm32-gpio";
|
236 | 236 | gpio-controller;
|
237 | 237 | #gpio-cells = <2>;
|
238 | 238 | reg = <0x42021800 0x400>;
|
239 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 6U)>; |
| 239 | + clocks = <&rcc STM32_CLOCK(AHB2, 6)>; |
240 | 240 | };
|
241 | 241 |
|
242 | 242 | gpioh: gpio@42021c00 {
|
243 | 243 | compatible = "st,stm32-gpio";
|
244 | 244 | gpio-controller;
|
245 | 245 | #gpio-cells = <2>;
|
246 | 246 | reg = <0x42021c00 0x400>;
|
247 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 7U)>; |
| 247 | + clocks = <&rcc STM32_CLOCK(AHB2, 7)>; |
248 | 248 | };
|
249 | 249 | };
|
250 | 250 |
|
|
257 | 257 | wwdg: watchdog@40002c00 {
|
258 | 258 | compatible = "st,stm32-window-watchdog";
|
259 | 259 | reg = <0x40002C00 0x400>;
|
260 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 260 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
261 | 261 | interrupts = <0 6>;
|
262 | 262 | status = "disabled";
|
263 | 263 | };
|
264 | 264 |
|
265 | 265 | usart1: serial@40013800 {
|
266 | 266 | compatible = "st,stm32-usart", "st,stm32-uart";
|
267 | 267 | reg = <0x40013800 0x400>;
|
268 |
| - clocks = <&rcc STM32_CLOCK(APB2, 14U)>; |
| 268 | + clocks = <&rcc STM32_CLOCK(APB2, 14)>; |
269 | 269 | resets = <&rctl STM32_RESET(APB2, 14U)>;
|
270 | 270 | interrupts = <61 0>;
|
271 | 271 | status = "disabled";
|
|
274 | 274 | usart2: serial@40004400 {
|
275 | 275 | compatible = "st,stm32-usart", "st,stm32-uart";
|
276 | 276 | reg = <0x40004400 0x400>;
|
277 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 277 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
278 | 278 | resets = <&rctl STM32_RESET(APB1L, 17U)>;
|
279 | 279 | interrupts = <62 0>;
|
280 | 280 | status = "disabled";
|
|
283 | 283 | usart3: serial@40004800 {
|
284 | 284 | compatible = "st,stm32-usart", "st,stm32-uart";
|
285 | 285 | reg = <0x40004800 0x400>;
|
286 |
| - clocks = <&rcc STM32_CLOCK(APB1, 18U)>; |
| 286 | + clocks = <&rcc STM32_CLOCK(APB1, 18)>; |
287 | 287 | resets = <&rctl STM32_RESET(APB1L, 18U)>;
|
288 | 288 | interrupts = <63 0>;
|
289 | 289 | status = "disabled";
|
|
292 | 292 | uart4: serial@40004c00 {
|
293 | 293 | compatible = "st,stm32-uart";
|
294 | 294 | reg = <0x40004c00 0x400>;
|
295 |
| - clocks = <&rcc STM32_CLOCK(APB1, 19U)>; |
| 295 | + clocks = <&rcc STM32_CLOCK(APB1, 19)>; |
296 | 296 | resets = <&rctl STM32_RESET(APB1L, 19U)>;
|
297 | 297 | interrupts = <64 0>;
|
298 | 298 | status = "disabled";
|
|
301 | 301 | uart5: serial@40005000 {
|
302 | 302 | compatible = "st,stm32-uart";
|
303 | 303 | reg = <0x40005000 0x400>;
|
304 |
| - clocks = <&rcc STM32_CLOCK(APB1, 20U)>; |
| 304 | + clocks = <&rcc STM32_CLOCK(APB1, 20)>; |
305 | 305 | resets = <&rctl STM32_RESET(APB1L, 20U)>;
|
306 | 306 | interrupts = <65 0>;
|
307 | 307 | status = "disabled";
|
|
310 | 310 | lpuart1: serial@40008000 {
|
311 | 311 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
312 | 312 | reg = <0x40008000 0x400>;
|
313 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 0U)>; |
| 313 | + clocks = <&rcc STM32_CLOCK(APB1_2, 0)>; |
314 | 314 | resets = <&rctl STM32_RESET(APB1H, 0U)>;
|
315 | 315 | interrupts = <66 0>;
|
316 | 316 | status = "disabled";
|
317 | 317 | };
|
318 | 318 |
|
319 | 319 | lptim1: timers@40007c00 {
|
320 | 320 | compatible = "st,stm32-lptim";
|
321 |
| - clocks = <&rcc STM32_CLOCK(APB1, 31U)>; |
| 321 | + clocks = <&rcc STM32_CLOCK(APB1, 31)>; |
322 | 322 | #address-cells = <1>;
|
323 | 323 | #size-cells = <0>;
|
324 | 324 | reg = <0x40007c00 0x400>;
|
|
332 | 332 | #dma-cells = <3>;
|
333 | 333 | reg = <0x40020000 0x400>;
|
334 | 334 | interrupts = <29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0>;
|
335 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 0U)>; |
| 335 | + clocks = <&rcc STM32_CLOCK(AHB1, 0)>; |
336 | 336 | dma-requests = <8>;
|
337 | 337 | dma-offset = <0>;
|
338 | 338 | status = "disabled";
|
|
343 | 343 | #dma-cells = <3>;
|
344 | 344 | reg = <0x40020400 0x400>;
|
345 | 345 | interrupts = <80 0 81 0 82 0 83 0 84 0 85 0 86 0 87 0>;
|
346 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 1U)>; |
| 346 | + clocks = <&rcc STM32_CLOCK(AHB1, 1)>; |
347 | 347 | dma-requests = <8>;
|
348 | 348 | dma-offset = <8>;
|
349 | 349 | status = "disabled";
|
|
354 | 354 | #dma-cells = <3>;
|
355 | 355 | reg = <0x40020800 0x400>;
|
356 | 356 | interrupts = <27 0>;
|
357 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 2U)>; |
| 357 | + clocks = <&rcc STM32_CLOCK(AHB1, 2)>; |
358 | 358 | dma-channels = <16>;
|
359 | 359 | dma-generators = <4>;
|
360 | 360 | dma-requests= <90>;
|
|
367 | 367 | #address-cells = <1>;
|
368 | 368 | #size-cells = <0>;
|
369 | 369 | reg = <0x40005400 0x400>;
|
370 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 370 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
371 | 371 | interrupts = <55 0>, <56 0>;
|
372 | 372 | interrupt-names = "event", "error";
|
373 | 373 | status = "disabled";
|
|
379 | 379 | #size-cells = <0>;
|
380 | 380 | clock-frequency = <I2C_BITRATE_STANDARD>;
|
381 | 381 | reg = <0x40005800 0x400>;
|
382 |
| - clocks = <&rcc STM32_CLOCK(APB1, 22U)>; |
| 382 | + clocks = <&rcc STM32_CLOCK(APB1, 22)>; |
383 | 383 | interrupts = <57 0>, <58 0>;
|
384 | 384 | interrupt-names = "event", "error";
|
385 | 385 | status = "disabled";
|
|
391 | 391 | #size-cells = <0>;
|
392 | 392 | reg = <0x40013000 0x400>;
|
393 | 393 | interrupts = <59 5>;
|
394 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>; |
| 394 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>; |
395 | 395 | status = "disabled";
|
396 | 396 | };
|
397 | 397 |
|
398 | 398 | sdmmc1: sdmmc@420c8000 {
|
399 | 399 | compatible = "st,stm32-sdmmc";
|
400 | 400 | reg = <0x420c8000 0x400>;
|
401 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 22U)>, |
| 401 | + clocks = <&rcc STM32_CLOCK(AHB2, 22)>, |
402 | 402 | <&rcc STM32_SRC_HSI48 SDMMC_SEL(0)>;
|
403 | 403 | resets = <&rctl STM32_RESET(AHB2, 22U)>;
|
404 | 404 | interrupts = <78 0>;
|
|
408 | 408 | dac1: dac@40007400 {
|
409 | 409 | compatible = "st,stm32-dac";
|
410 | 410 | reg = <0x40007400 0x400>;
|
411 |
| - clocks = <&rcc STM32_CLOCK(APB1, 29U)>; |
| 411 | + clocks = <&rcc STM32_CLOCK(APB1, 29)>; |
412 | 412 | status = "disabled";
|
413 | 413 | #io-channel-cells = <1>;
|
414 | 414 | };
|
|
419 | 419 | #size-cells = <0>;
|
420 | 420 | reg = <0x40003800 0x400>;
|
421 | 421 | interrupts = <60 5>;
|
422 |
| - clocks = <&rcc STM32_CLOCK(APB1, 14U)>; |
| 422 | + clocks = <&rcc STM32_CLOCK(APB1, 14)>; |
423 | 423 | status = "disabled";
|
424 | 424 | };
|
425 | 425 |
|
|
429 | 429 | #size-cells = <0>;
|
430 | 430 | reg = <0x40003c00 0x400>;
|
431 | 431 | interrupts = <99 5>;
|
432 |
| - clocks = <&rcc STM32_CLOCK(APB1, 15U)>; |
| 432 | + clocks = <&rcc STM32_CLOCK(APB1, 15)>; |
433 | 433 | status = "disabled";
|
434 | 434 | };
|
435 | 435 |
|
|
438 | 438 | reg = <0x44021000 0x400>, <0x90000000 DT_SIZE_M(256)>;
|
439 | 439 | interrupts = <76 0>;
|
440 | 440 | clock-names = "ospix", "ospi-ker";
|
441 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 8U)>, |
| 441 | + clocks = <&rcc STM32_CLOCK(AHB3, 8)>, |
442 | 442 | <&rcc STM32_SRC_SYSCLK OSPI_SEL(0)>;
|
443 | 443 | #address-cells = <1>;
|
444 | 444 | #size-cells = <0>;
|
|
449 | 449 | compatible = "st,stm32-rng";
|
450 | 450 | reg = <0x420c0800 0x400>;
|
451 | 451 | interrupts = <94 0>;
|
452 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 18U)>; |
| 452 | + clocks = <&rcc STM32_CLOCK(AHB2, 18)>; |
453 | 453 | nist-config = <0xf00d00>;
|
454 | 454 | health-test-magic = <0x17590abc>;
|
455 | 455 | health-test-config = <0xa2b3>;
|
|
460 | 460 | compatible = "st,stm32-rtc";
|
461 | 461 | reg = <0x40002800 0x400>;
|
462 | 462 | interrupts = <2 0>;
|
463 |
| - clocks = <&rcc STM32_CLOCK(APB1, 10U)>; |
| 463 | + clocks = <&rcc STM32_CLOCK(APB1, 10)>; |
464 | 464 | prescaler = <32768>;
|
465 | 465 | alarms-count = <2>;
|
466 | 466 | alrm-exti-line = <17>;
|
|
667 | 667 | adc1: adc@42028000 {
|
668 | 668 | compatible = "st,stm32-adc";
|
669 | 669 | reg = <0x42028000 0x100>;
|
670 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 13U)>; |
| 670 | + clocks = <&rcc STM32_CLOCK(AHB2, 13)>; |
671 | 671 | interrupts = <37 0>;
|
672 | 672 | status = "disabled";
|
673 | 673 | #io-channel-cells = <1>;
|
|
683 | 683 | adc2: adc@42028100 {
|
684 | 684 | compatible = "st,stm32-adc";
|
685 | 685 | reg = <0x42028100 0x100>;
|
686 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 13U)>; |
| 686 | + clocks = <&rcc STM32_CLOCK(AHB2, 13)>; |
687 | 687 | interrupts = <37 0>;
|
688 | 688 | status = "disabled";
|
689 | 689 | #io-channel-cells = <1>;
|
|
716 | 716 | ram-size = <1024>;
|
717 | 717 | maximum-speed = "full-speed";
|
718 | 718 | status = "disabled";
|
719 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 21U)>, |
| 719 | + clocks = <&rcc STM32_CLOCK(APB1_2, 21)>, |
720 | 720 | <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>;
|
721 | 721 | phys = <&usb_fs_phy>;
|
722 | 722 | };
|
723 | 723 |
|
724 | 724 | ucpd1: ucpd@4000dc00 {
|
725 | 725 | compatible = "st,stm32-ucpd";
|
726 | 726 | reg = <0x4000dc00 0x400>;
|
727 |
| - clocks = <&rcc STM32_CLOCK(APB1, 23U)>; |
| 727 | + clocks = <&rcc STM32_CLOCK(APB1, 23)>; |
728 | 728 | interrupts = <106 0>;
|
729 | 729 | status = "disabled";
|
730 | 730 | };
|
731 | 731 |
|
732 | 732 | fmc: fmc@44020000 {
|
733 | 733 | compatible = "st,stm32-fmc";
|
734 | 734 | reg = <0x44020000 0x400>;
|
735 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 0U)>; |
| 735 | + clocks = <&rcc STM32_CLOCK(AHB3, 0)>; |
736 | 736 | status = "disabled";
|
737 | 737 | };
|
738 | 738 | };
|
|
0 commit comments