|
170 | 170 | gpio-controller;
|
171 | 171 | #gpio-cells = <2>;
|
172 | 172 | reg = <0x48000000 0x400>;
|
173 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 0U)>; |
| 173 | + clocks = <&rcc STM32_CLOCK(AHB2, 0)>; |
174 | 174 | };
|
175 | 175 |
|
176 | 176 | gpiob: gpio@48000400 {
|
177 | 177 | compatible = "st,stm32-gpio";
|
178 | 178 | gpio-controller;
|
179 | 179 | #gpio-cells = <2>;
|
180 | 180 | reg = <0x48000400 0x400>;
|
181 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 1U)>; |
| 181 | + clocks = <&rcc STM32_CLOCK(AHB2, 1)>; |
182 | 182 | };
|
183 | 183 |
|
184 | 184 | gpioc: gpio@48000800 {
|
185 | 185 | compatible = "st,stm32-gpio";
|
186 | 186 | gpio-controller;
|
187 | 187 | #gpio-cells = <2>;
|
188 | 188 | reg = <0x48000800 0x400>;
|
189 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 2U)>; |
| 189 | + clocks = <&rcc STM32_CLOCK(AHB2, 2)>; |
190 | 190 | };
|
191 | 191 |
|
192 | 192 | gpioh: gpio@48001c00 {
|
193 | 193 | compatible = "st,stm32-gpio";
|
194 | 194 | gpio-controller;
|
195 | 195 | #gpio-cells = <2>;
|
196 | 196 | reg = <0x48001c00 0x400>;
|
197 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 7U)>; |
| 197 | + clocks = <&rcc STM32_CLOCK(AHB2, 7)>; |
198 | 198 | };
|
199 | 199 | };
|
200 | 200 |
|
201 | 201 | lptim1: timers@40007c00 {
|
202 | 202 | compatible = "st,stm32-lptim";
|
203 |
| - clocks = <&rcc STM32_CLOCK(APB1, 31U)>; |
| 203 | + clocks = <&rcc STM32_CLOCK(APB1, 31)>; |
204 | 204 | #address-cells = <1>;
|
205 | 205 | #size-cells = <0>;
|
206 | 206 | reg = <0x40007c00 0x400>;
|
|
213 | 213 | compatible = "st,stm32-rtc";
|
214 | 214 | reg = <0x40002800 0x400>;
|
215 | 215 | interrupts = <42 0>;
|
216 |
| - clocks = <&rcc STM32_CLOCK(APB1, 10U)>; |
| 216 | + clocks = <&rcc STM32_CLOCK(APB1, 10)>; |
217 | 217 | prescaler = <32768>;
|
218 | 218 | alarms-count = <2>;
|
219 | 219 | alrm-exti-line = <17>;
|
|
241 | 241 | wwdg: watchdog@40002c00 {
|
242 | 242 | compatible = "st,stm32-window-watchdog";
|
243 | 243 | reg = <0x40002C00 0x400>;
|
244 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 244 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
245 | 245 | interrupts = <0 7>;
|
246 | 246 | status = "disabled";
|
247 | 247 | };
|
248 | 248 |
|
249 | 249 | usart1: serial@40013800 {
|
250 | 250 | compatible = "st,stm32-usart", "st,stm32-uart";
|
251 | 251 | reg = <0x40013800 0x400>;
|
252 |
| - clocks = <&rcc STM32_CLOCK(APB2, 14U)>; |
| 252 | + clocks = <&rcc STM32_CLOCK(APB2, 14)>; |
253 | 253 | resets = <&rctl STM32_RESET(APB2, 14U)>;
|
254 | 254 | interrupts = <36 0>;
|
255 | 255 | status = "disabled";
|
|
258 | 258 | usart2: serial@40004400 {
|
259 | 259 | compatible = "st,stm32-usart", "st,stm32-uart";
|
260 | 260 | reg = <0x40004400 0x400>;
|
261 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 261 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
262 | 262 | resets = <&rctl STM32_RESET(APB1L, 17U)>;
|
263 | 263 | interrupts = <37 0>;
|
264 | 264 | status = "disabled";
|
|
267 | 267 | lpuart1: serial@40008000 {
|
268 | 268 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
269 | 269 | reg = <0x40008000 0x400>;
|
270 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 0U)>; |
| 270 | + clocks = <&rcc STM32_CLOCK(APB1_2, 0)>; |
271 | 271 | resets = <&rctl STM32_RESET(APB1H, 0U)>;
|
272 | 272 | interrupts = <38 0>;
|
273 | 273 | wakeup-line = <28>;
|
|
280 | 280 | #address-cells = <1>;
|
281 | 281 | #size-cells = <0>;
|
282 | 282 | reg = <0x40005400 0x400>;
|
283 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 283 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
284 | 284 | interrupts = <30 0>, <31 0>;
|
285 | 285 | interrupt-names = "event", "error";
|
286 | 286 | status = "disabled";
|
|
292 | 292 | #address-cells = <1>;
|
293 | 293 | #size-cells = <0>;
|
294 | 294 | reg = <0x40005800 0x400>;
|
295 |
| - clocks = <&rcc STM32_CLOCK(APB1, 22U)>; |
| 295 | + clocks = <&rcc STM32_CLOCK(APB1, 22)>; |
296 | 296 | interrupts = <32 0>, <33 0>;
|
297 | 297 | interrupt-names = "event", "error";
|
298 | 298 | status = "disabled";
|
|
304 | 304 | #address-cells = <1>;
|
305 | 305 | #size-cells = <0>;
|
306 | 306 | reg = <0x40005c00 0x400>;
|
307 |
| - clocks = <&rcc STM32_CLOCK(APB1, 23U)>; |
| 307 | + clocks = <&rcc STM32_CLOCK(APB1, 23)>; |
308 | 308 | interrupts = <48 0>, <49 0>;
|
309 | 309 | interrupt-names = "event", "error";
|
310 | 310 | status = "disabled";
|
|
316 | 316 | #size-cells = <0>;
|
317 | 317 | reg = <0x40013000 0x400>;
|
318 | 318 | interrupts = <34 5>;
|
319 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>; |
| 319 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>; |
320 | 320 | status = "disabled";
|
321 | 321 | };
|
322 | 322 |
|
|
326 | 326 | #size-cells = <0>;
|
327 | 327 | reg = <0x40003800 0x400>;
|
328 | 328 | interrupts = <35 5>;
|
329 |
| - clocks = <&rcc STM32_CLOCK(APB1, 14U)>; |
| 329 | + clocks = <&rcc STM32_CLOCK(APB1, 14)>; |
330 | 330 | status = "disabled";
|
331 | 331 | };
|
332 | 332 |
|
|
336 | 336 | #size-cells = <0>;
|
337 | 337 | reg = <0x58010000 0x400>;
|
338 | 338 | interrupts = <44 5>;
|
339 |
| - clocks = <&rcc STM32_CLOCK(APB3, 0U)>; |
| 339 | + clocks = <&rcc STM32_CLOCK(APB3, 0)>; |
340 | 340 | status = "disabled";
|
341 | 341 | use-subghzspi-nss;
|
342 | 342 |
|
|
352 | 352 | adc1: adc@40012400 {
|
353 | 353 | compatible = "st,stm32-adc";
|
354 | 354 | reg = <0x40012400 0x400>;
|
355 |
| - clocks = <&rcc STM32_CLOCK(APB2, 9U)>; |
| 355 | + clocks = <&rcc STM32_CLOCK(APB2, 9)>; |
356 | 356 | interrupts = <18 0>;
|
357 | 357 | status = "disabled";
|
358 | 358 | #io-channel-cells = <1>;
|
|
369 | 369 | dac1: dac@40007400 {
|
370 | 370 | compatible = "st,stm32-dac";
|
371 | 371 | reg = <0x40007400 0x400>;
|
372 |
| - clocks = <&rcc STM32_CLOCK(APB1, 29U)>; |
| 372 | + clocks = <&rcc STM32_CLOCK(APB1, 29)>; |
373 | 373 | status = "disabled";
|
374 | 374 | #io-channel-cells = <1>;
|
375 | 375 | };
|
|
464 | 464 | aes: aes@58001800 {
|
465 | 465 | compatible = "st,stm32-aes";
|
466 | 466 | reg = <0x58001800 0x400>;
|
467 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 17U)>; |
| 467 | + clocks = <&rcc STM32_CLOCK(AHB3, 17)>; |
468 | 468 | resets = <&rctl STM32_RESET(AHB3, 16U)>;
|
469 | 469 | interrupts = <51 0>;
|
470 | 470 | status = "disabled";
|
|
474 | 474 | compatible = "st,stm32-rng";
|
475 | 475 | reg = <0x58001000 0x400>;
|
476 | 476 | interrupts = <52 0>;
|
477 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 18U)>; |
| 477 | + clocks = <&rcc STM32_CLOCK(AHB3, 18)>; |
478 | 478 | health-test-magic = <0x17590abc>;
|
479 | 479 | health-test-config = <0xaa74>;
|
480 | 480 | status = "disabled";
|
|
485 | 485 | #dma-cells = <3>;
|
486 | 486 | reg = <0x40020000 0x400>;
|
487 | 487 | interrupts = <11 0 12 0 13 0 14 0 15 0 16 0 17 0>;
|
488 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 0U)>; |
| 488 | + clocks = <&rcc STM32_CLOCK(AHB1, 0)>; |
489 | 489 | dma-requests = <7>;
|
490 | 490 | dma-offset = <0>;
|
491 | 491 | status = "disabled";
|
|
496 | 496 | #dma-cells = <3>;
|
497 | 497 | reg = <0x40020400 0x400>;
|
498 | 498 | interrupts = <54 0 55 0 56 0 57 0 58 0 59 0 60 0>;
|
499 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 1U)>; |
| 499 | + clocks = <&rcc STM32_CLOCK(AHB1, 1)>; |
500 | 500 | dma-requests = <7>;
|
501 | 501 | dma-offset = <7>;
|
502 | 502 | status = "disabled";
|
|
507 | 507 | #dma-cells = <3>;
|
508 | 508 | reg = <0x40020800 0x400>;
|
509 | 509 | interrupts = <61 0>;
|
510 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 2U)>; |
| 510 | + clocks = <&rcc STM32_CLOCK(AHB1, 2)>; |
511 | 511 | dma-channels = <14>;
|
512 | 512 | dma-generators = <4>;
|
513 | 513 | dma-requests= <38>;
|
|
0 commit comments