|
104 | 104 | compatible = "st,stm32-flash-controller", "st,stm32f1-flash-controller";
|
105 | 105 | reg = <0x40023c00 0x400>;
|
106 | 106 | interrupts = <4 0>;
|
107 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 15U)>; |
| 107 | + clocks = <&rcc STM32_CLOCK(AHB1, 15)>; |
108 | 108 |
|
109 | 109 | #address-cells = <1>;
|
110 | 110 | #size-cells = <1>;
|
|
135 | 135 | compatible = "st,stm32-rtc";
|
136 | 136 | reg = <0x40002800 0x400>;
|
137 | 137 | interrupts = <41 0>;
|
138 |
| - clocks = <&rcc STM32_CLOCK(APB1, 28U)>; |
| 138 | + clocks = <&rcc STM32_CLOCK(APB1, 28)>; |
139 | 139 | prescaler = <32768>;
|
140 | 140 | alarms-count = <2>;
|
141 | 141 | alrm-exti-line = <17>;
|
|
145 | 145 | usart2: serial@40004400 {
|
146 | 146 | compatible = "st,stm32-usart", "st,stm32-uart";
|
147 | 147 | reg = <0x40004400 0x400>;
|
148 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 148 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
149 | 149 | resets = <&rctl STM32_RESET(APB1, 17U)>;
|
150 | 150 | interrupts = <38 0>;
|
151 | 151 | status = "disabled";
|
|
154 | 154 | usart3: serial@40004800 {
|
155 | 155 | compatible = "st,stm32-usart", "st,stm32-uart";
|
156 | 156 | reg = <0x40004800 0x400>;
|
157 |
| - clocks = <&rcc STM32_CLOCK(APB1, 18U)>; |
| 157 | + clocks = <&rcc STM32_CLOCK(APB1, 18)>; |
158 | 158 | resets = <&rctl STM32_RESET(APB1, 18U)>;
|
159 | 159 | interrupts = <39 0>;
|
160 | 160 | status = "disabled";
|
|
163 | 163 | uart4: serial@40004c00 {
|
164 | 164 | compatible = "st,stm32-uart";
|
165 | 165 | reg = <0x40004c00 0x400>;
|
166 |
| - clocks = <&rcc STM32_CLOCK(APB1, 19U)>; |
| 166 | + clocks = <&rcc STM32_CLOCK(APB1, 19)>; |
167 | 167 | resets = <&rctl STM32_RESET(APB1, 19U)>;
|
168 | 168 | interrupts = <48 0>;
|
169 | 169 | status = "disabled";
|
|
172 | 172 | uart5: serial@40005000 {
|
173 | 173 | compatible = "st,stm32-uart";
|
174 | 174 | reg = <0x40005000 0x400>;
|
175 |
| - clocks = <&rcc STM32_CLOCK(APB1, 20U)>; |
| 175 | + clocks = <&rcc STM32_CLOCK(APB1, 20)>; |
176 | 176 | resets = <&rctl STM32_RESET(APB1, 20U)>;
|
177 | 177 | interrupts = <49 0>;
|
178 | 178 | status = "disabled";
|
|
184 | 184 | #address-cells = <1>;
|
185 | 185 | #size-cells = <0>;
|
186 | 186 | reg = <0x40005400 0x400>;
|
187 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 187 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
188 | 188 | interrupts = <31 0>, <32 0>;
|
189 | 189 | interrupt-names = "event", "error";
|
190 | 190 | status = "disabled";
|
|
196 | 196 | #address-cells = <1>;
|
197 | 197 | #size-cells = <0>;
|
198 | 198 | reg = <0x40005800 0x400>;
|
199 |
| - clocks = <&rcc STM32_CLOCK(APB1, 22U)>; |
| 199 | + clocks = <&rcc STM32_CLOCK(APB1, 22)>; |
200 | 200 | interrupts = <33 0>, <34 0>;
|
201 | 201 | interrupt-names = "event", "error";
|
202 | 202 | status = "disabled";
|
|
233 | 233 | #address-cells = <1>;
|
234 | 234 | #size-cells = <0>;
|
235 | 235 | reg = <0x40013000 0x400>;
|
236 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>; |
| 236 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>; |
237 | 237 | interrupts = <35 0>;
|
238 | 238 | status = "disabled";
|
239 | 239 | };
|
|
243 | 243 | #address-cells = <1>;
|
244 | 244 | #size-cells = <0>;
|
245 | 245 | reg = <0x40003800 0x400>;
|
246 |
| - clocks = <&rcc STM32_CLOCK(APB1, 14U)>; |
| 246 | + clocks = <&rcc STM32_CLOCK(APB1, 14)>; |
247 | 247 | interrupts = <36 0>;
|
248 | 248 | status = "disabled";
|
249 | 249 | };
|
250 | 250 |
|
251 | 251 | usart1: serial@40013800 {
|
252 | 252 | compatible = "st,stm32-usart", "st,stm32-uart";
|
253 | 253 | reg = <0x40013800 0x400>;
|
254 |
| - clocks = <&rcc STM32_CLOCK(APB2, 14U)>; |
| 254 | + clocks = <&rcc STM32_CLOCK(APB2, 14)>; |
255 | 255 | resets = <&rctl STM32_RESET(APB2, 14U)>;
|
256 | 256 | interrupts = <37 0>;
|
257 | 257 | status = "disabled";
|
|
260 | 260 | adc1: adc@40012400 {
|
261 | 261 | compatible = "st,stm32f4-adc", "st,stm32-adc";
|
262 | 262 | reg = <0x40012400 0x400>;
|
263 |
| - clocks = <&rcc STM32_CLOCK(APB2, 9U)>, |
| 263 | + clocks = <&rcc STM32_CLOCK(APB2, 9)>, |
264 | 264 | <&rcc STM32_SRC_HSI NO_SEL>;
|
265 | 265 | interrupts = <18 0>;
|
266 | 266 | status = "disabled";
|
|
278 | 278 | dac1: dac@40007400 {
|
279 | 279 | compatible = "st,stm32-dac";
|
280 | 280 | reg = <0x40007400 0x400>;
|
281 |
| - clocks = <&rcc STM32_CLOCK(APB1, 29U)>; |
| 281 | + clocks = <&rcc STM32_CLOCK(APB1, 29)>; |
282 | 282 | status = "disabled";
|
283 | 283 | #io-channel-cells = <1>;
|
284 | 284 | };
|
|
448 | 448 | gpio-controller;
|
449 | 449 | #gpio-cells = <2>;
|
450 | 450 | reg = <0x40020000 0x400>;
|
451 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 0U)>; |
| 451 | + clocks = <&rcc STM32_CLOCK(AHB1, 0)>; |
452 | 452 | };
|
453 | 453 |
|
454 | 454 | gpiob: gpio@40020400 {
|
455 | 455 | compatible = "st,stm32-gpio";
|
456 | 456 | gpio-controller;
|
457 | 457 | #gpio-cells = <2>;
|
458 | 458 | reg = <0x40020400 0x400>;
|
459 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 1U)>; |
| 459 | + clocks = <&rcc STM32_CLOCK(AHB1, 1)>; |
460 | 460 | };
|
461 | 461 |
|
462 | 462 | gpioc: gpio@40020800 {
|
463 | 463 | compatible = "st,stm32-gpio";
|
464 | 464 | gpio-controller;
|
465 | 465 | #gpio-cells = <2>;
|
466 | 466 | reg = <0x40020800 0x400>;
|
467 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 2U)>; |
| 467 | + clocks = <&rcc STM32_CLOCK(AHB1, 2)>; |
468 | 468 | };
|
469 | 469 |
|
470 | 470 | gpiod: gpio@40020c00 {
|
471 | 471 | compatible = "st,stm32-gpio";
|
472 | 472 | gpio-controller;
|
473 | 473 | #gpio-cells = <2>;
|
474 | 474 | reg = <0x40020c00 0x400>;
|
475 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 3U)>; |
| 475 | + clocks = <&rcc STM32_CLOCK(AHB1, 3)>; |
476 | 476 | };
|
477 | 477 |
|
478 | 478 | gpioe: gpio@40021000 {
|
479 | 479 | compatible = "st,stm32-gpio";
|
480 | 480 | gpio-controller;
|
481 | 481 | #gpio-cells = <2>;
|
482 | 482 | reg = <0x40021000 0x400>;
|
483 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 4U)>; |
| 483 | + clocks = <&rcc STM32_CLOCK(AHB1, 4)>; |
484 | 484 | };
|
485 | 485 |
|
486 | 486 | gpioh: gpio@40021400 {
|
487 | 487 | compatible = "st,stm32-gpio";
|
488 | 488 | gpio-controller;
|
489 | 489 | #gpio-cells = <2>;
|
490 | 490 | reg = <0x40021400 0x400>;
|
491 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 5U)>; |
| 491 | + clocks = <&rcc STM32_CLOCK(AHB1, 5)>; |
492 | 492 | };
|
493 | 493 | };
|
494 | 494 |
|
|
501 | 501 | wwdg: watchdog@40002c00 {
|
502 | 502 | compatible = "st,stm32-window-watchdog";
|
503 | 503 | reg = <0x40002C00 0x400>;
|
504 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 504 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
505 | 505 | interrupts = <0 7>;
|
506 | 506 | status = "disabled";
|
507 | 507 | };
|
|
515 | 515 | compatible = "st,stm32-dma-v2bis";
|
516 | 516 | #dma-cells = <2>;
|
517 | 517 | reg = <0x40026000 0x400>;
|
518 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 24U)>; |
| 518 | + clocks = <&rcc STM32_CLOCK(AHB1, 24)>; |
519 | 519 | interrupts = <11 0 12 0 13 0 14 0 15 0 16 0 17 0>;
|
520 | 520 | status = "disabled";
|
521 | 521 | };
|
|
0 commit comments