|
168 | 168 | gpio-controller;
|
169 | 169 | #gpio-cells = <2>;
|
170 | 170 | reg = <0x50000000 0x400>;
|
171 |
| - clocks = <&rcc STM32_CLOCK(IOP, 0U)>; |
| 171 | + clocks = <&rcc STM32_CLOCK(IOP, 0)>; |
172 | 172 | };
|
173 | 173 |
|
174 | 174 | gpiob: gpio@50000400 {
|
175 | 175 | compatible = "st,stm32-gpio";
|
176 | 176 | gpio-controller;
|
177 | 177 | #gpio-cells = <2>;
|
178 | 178 | reg = <0x50000400 0x400>;
|
179 |
| - clocks = <&rcc STM32_CLOCK(IOP, 1U)>; |
| 179 | + clocks = <&rcc STM32_CLOCK(IOP, 1)>; |
180 | 180 | };
|
181 | 181 |
|
182 | 182 | gpioc: gpio@50000800 {
|
183 | 183 | compatible = "st,stm32-gpio";
|
184 | 184 | gpio-controller;
|
185 | 185 | #gpio-cells = <2>;
|
186 | 186 | reg = <0x50000800 0x400>;
|
187 |
| - clocks = <&rcc STM32_CLOCK(IOP, 2U)>; |
| 187 | + clocks = <&rcc STM32_CLOCK(IOP, 2)>; |
188 | 188 | };
|
189 | 189 |
|
190 | 190 | gpiod: gpio@50000C00 {
|
191 | 191 | compatible = "st,stm32-gpio";
|
192 | 192 | gpio-controller;
|
193 | 193 | #gpio-cells = <2>;
|
194 | 194 | reg = <0x50000C00 0x400>;
|
195 |
| - clocks = <&rcc STM32_CLOCK(IOP, 3U)>; |
| 195 | + clocks = <&rcc STM32_CLOCK(IOP, 3)>; |
196 | 196 | };
|
197 | 197 |
|
198 | 198 | gpioe: gpio@50001000 {
|
199 | 199 | compatible = "st,stm32-gpio";
|
200 | 200 | gpio-controller;
|
201 | 201 | #gpio-cells = <2>;
|
202 | 202 | reg = <0x50001000 0x400>;
|
203 |
| - clocks = <&rcc STM32_CLOCK(IOP, 4U)>; |
| 203 | + clocks = <&rcc STM32_CLOCK(IOP, 4)>; |
204 | 204 | };
|
205 | 205 |
|
206 | 206 | gpiof: gpio@50001400 {
|
207 | 207 | compatible = "st,stm32-gpio";
|
208 | 208 | gpio-controller;
|
209 | 209 | #gpio-cells = <2>;
|
210 | 210 | reg = <0x50001400 0x400>;
|
211 |
| - clocks = <&rcc STM32_CLOCK(IOP, 5U)>; |
| 211 | + clocks = <&rcc STM32_CLOCK(IOP, 5)>; |
212 | 212 | };
|
213 | 213 | };
|
214 | 214 |
|
215 | 215 | usart1: serial@40013800 {
|
216 | 216 | compatible = "st,stm32-usart", "st,stm32-uart";
|
217 | 217 | reg = <0x40013800 0x400>;
|
218 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 14U)>; |
| 218 | + clocks = <&rcc STM32_CLOCK(APB1_2, 14)>; |
219 | 219 | resets = <&rctl STM32_RESET(APB1H, 14U)>;
|
220 | 220 | interrupts = <27 0>;
|
221 | 221 | status = "disabled";
|
|
224 | 224 | usart2: serial@40004400 {
|
225 | 225 | compatible = "st,stm32-usart", "st,stm32-uart";
|
226 | 226 | reg = <0x40004400 0x400>;
|
227 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 227 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
228 | 228 | resets = <&rctl STM32_RESET(APB1L, 17U)>;
|
229 | 229 | interrupts = <28 0>;
|
230 | 230 | status = "disabled";
|
|
233 | 233 | usart3: serial@40004800 {
|
234 | 234 | compatible = "st,stm32-usart", "st,stm32-uart";
|
235 | 235 | reg = <0x40004800 0x400>;
|
236 |
| - clocks = <&rcc STM32_CLOCK(APB1, 18U)>; |
| 236 | + clocks = <&rcc STM32_CLOCK(APB1, 18)>; |
237 | 237 | resets = <&rctl STM32_RESET(APB1L, 18U)>;
|
238 | 238 | interrupts = <29 0>;
|
239 | 239 | status = "disabled";
|
|
242 | 242 | usart4: serial@40004c00 {
|
243 | 243 | compatible = "st,stm32-usart", "st,stm32-uart";
|
244 | 244 | reg = <0x40004c00 0x400>;
|
245 |
| - clocks = <&rcc STM32_CLOCK(APB1, 19U)>; |
| 245 | + clocks = <&rcc STM32_CLOCK(APB1, 19)>; |
246 | 246 | resets = <&rctl STM32_RESET(APB1L, 19U)>;
|
247 | 247 | interrupts = <30 0>;
|
248 | 248 | status = "disabled";
|
|
251 | 251 | lpuart1: serial@40008000 {
|
252 | 252 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
253 | 253 | reg = <0x40008000 0x400>;
|
254 |
| - clocks = <&rcc STM32_CLOCK(APB1, 20U)>; |
| 254 | + clocks = <&rcc STM32_CLOCK(APB1, 20)>; |
255 | 255 | resets = <&rctl STM32_RESET(APB1L, 20U)>;
|
256 | 256 | interrupts = <29 0>;
|
257 | 257 | status = "disabled";
|
|
260 | 260 | lpuart2: serial@40008400 {
|
261 | 261 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
262 | 262 | reg = <0x40008400 0x400>;
|
263 |
| - clocks = <&rcc STM32_CLOCK(APB1, 7U)>; |
| 263 | + clocks = <&rcc STM32_CLOCK(APB1, 7)>; |
264 | 264 | resets = <&rctl STM32_RESET(APB1L, 7U)>;
|
265 | 265 | interrupts = <28 0>;
|
266 | 266 | status = "disabled";
|
|
275 | 275 | wwdg: watchdog@40002c00 {
|
276 | 276 | compatible = "st,stm32-window-watchdog";
|
277 | 277 | reg = <0x40002c00 0x400>;
|
278 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 278 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
279 | 279 | interrupts = <0 7>;
|
280 | 280 | status = "disabled";
|
281 | 281 | };
|
282 | 282 |
|
283 | 283 | adc1: adc@40012400 {
|
284 | 284 | compatible = "st,stm32-adc";
|
285 | 285 | reg = <0x40012400 0x400>;
|
286 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 20U)>; |
| 286 | + clocks = <&rcc STM32_CLOCK(APB1_2, 20)>; |
287 | 287 | interrupts = <12 0>;
|
288 | 288 | status = "disabled";
|
289 | 289 | #io-channel-cells = <1>;
|
|
300 | 300 | dac1: dac@40007400 {
|
301 | 301 | compatible = "st,stm32-dac";
|
302 | 302 | reg = <0x40007400 0x400>;
|
303 |
| - clocks = <&rcc STM32_CLOCK(APB1, 29U)>; |
| 303 | + clocks = <&rcc STM32_CLOCK(APB1, 29)>; |
304 | 304 | status = "disabled";
|
305 | 305 | #io-channel-cells = <1>;
|
306 | 306 | };
|
|
311 | 311 | #address-cells = <1>;
|
312 | 312 | #size-cells = <0>;
|
313 | 313 | reg = <0x40005400 0x400>;
|
314 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 314 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
315 | 315 | interrupts = <23 0>;
|
316 | 316 | interrupt-names = "combined";
|
317 | 317 | status = "disabled";
|
|
323 | 323 | #address-cells = <1>;
|
324 | 324 | #size-cells = <0>;
|
325 | 325 | reg = <0x40005800 0x400>;
|
326 |
| - clocks = <&rcc STM32_CLOCK(APB1, 22U)>; |
| 326 | + clocks = <&rcc STM32_CLOCK(APB1, 22)>; |
327 | 327 | interrupts = <24 0>;
|
328 | 328 | interrupt-names = "combined";
|
329 | 329 | status = "disabled";
|
|
335 | 335 | #address-cells = <1>;
|
336 | 336 | #size-cells = <0>;
|
337 | 337 | reg = <0x40008800 0x400>;
|
338 |
| - clocks = <&rcc STM32_CLOCK(APB1, 23U)>; |
| 338 | + clocks = <&rcc STM32_CLOCK(APB1, 23)>; |
339 | 339 | interrupts = <24 0>;
|
340 | 340 | interrupt-names = "combined";
|
341 | 341 | status = "disabled";
|
|
346 | 346 | #dma-cells = <3>;
|
347 | 347 | reg = <0x40020000 0x400>;
|
348 | 348 | interrupts = <9 0 10 0 10 0 11 0 11 0 11 0 11 0>;
|
349 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 0U)>; |
| 349 | + clocks = <&rcc STM32_CLOCK(AHB1, 0)>; |
350 | 350 | dma-requests = <7>;
|
351 | 351 | dma-offset = <0>;
|
352 | 352 | status = "disabled";
|
|
368 | 368 | #address-cells = <1>;
|
369 | 369 | #size-cells = <0>;
|
370 | 370 | reg = <0x40013000 0x400>;
|
371 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 12U)>; |
| 371 | + clocks = <&rcc STM32_CLOCK(APB1_2, 12)>; |
372 | 372 | interrupts = <25 0>;
|
373 | 373 | status = "disabled";
|
374 | 374 | };
|
|
378 | 378 | #address-cells = <1>;
|
379 | 379 | #size-cells = <0>;
|
380 | 380 | reg = <0x40003800 0x400>;
|
381 |
| - clocks = <&rcc STM32_CLOCK(APB1, 14U)>; |
| 381 | + clocks = <&rcc STM32_CLOCK(APB1, 14)>; |
382 | 382 | interrupts = <26 0>;
|
383 | 383 | status = "disabled";
|
384 | 384 | };
|
|
388 | 388 | #address-cells = <1>;
|
389 | 389 | #size-cells = <0>;
|
390 | 390 | reg = <0x40003c00 0x400>;
|
391 |
| - clocks = <&rcc STM32_CLOCK(APB1, 15U)>; |
| 391 | + clocks = <&rcc STM32_CLOCK(APB1, 15)>; |
392 | 392 | interrupts = <26 0>;
|
393 | 393 | status = "disabled";
|
394 | 394 | };
|
395 | 395 |
|
396 | 396 | rng: rng@40025000 {
|
397 | 397 | compatible = "st,stm32-rng";
|
398 | 398 | reg = <0x40025000 0x400>;
|
399 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 18U)>; |
| 399 | + clocks = <&rcc STM32_CLOCK(AHB1, 18)>; |
400 | 400 | interrupts = <31 0>;
|
401 | 401 | status = "disabled";
|
402 | 402 | };
|
403 | 403 |
|
404 | 404 | aes: aes@40026000 {
|
405 | 405 | compatible = "st,stm32-aes";
|
406 | 406 | reg = <0x40026000 0x400>;
|
407 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 16U)>; |
| 407 | + clocks = <&rcc STM32_CLOCK(AHB1, 16)>; |
408 | 408 | resets = <&rctl STM32_RESET(AHB1, 16U)>;
|
409 | 409 | interrupts = <31 0>;
|
410 | 410 | interrupt-names = "aes";
|
|
415 | 415 | compatible = "st,stm32-rtc";
|
416 | 416 | reg = <0x40002800 0x400>;
|
417 | 417 | interrupts = <2 0>;
|
418 |
| - clocks = <&rcc STM32_CLOCK(APB1, 10U)>; |
| 418 | + clocks = <&rcc STM32_CLOCK(APB1, 10)>; |
419 | 419 | prescaler = <32768>;
|
420 | 420 | alarms-count = <2>;
|
421 | 421 | alrm-exti-line = <28>;
|
|
563 | 563 |
|
564 | 564 | lptim1: timers@40007c00 {
|
565 | 565 | compatible = "st,stm32-lptim";
|
566 |
| - clocks = <&rcc STM32_CLOCK(APB1, 31U)>; |
| 566 | + clocks = <&rcc STM32_CLOCK(APB1, 31)>; |
567 | 567 | #address-cells = <1>;
|
568 | 568 | #size-cells = <0>;
|
569 | 569 | reg = <0x40007c00 0x400>;
|
|
575 | 575 |
|
576 | 576 | lptim2: timers@40009400 {
|
577 | 577 | compatible = "st,stm32-lptim";
|
578 |
| - clocks = <&rcc STM32_CLOCK(APB1, 30U)>; |
| 578 | + clocks = <&rcc STM32_CLOCK(APB1, 30)>; |
579 | 579 | #address-cells = <1>;
|
580 | 580 | #size-cells = <0>;
|
581 | 581 | reg = <0x40009400 0x400>;
|
|
587 | 587 | tsc: tsc@40024000 {
|
588 | 588 | compatible = "st,stm32-tsc";
|
589 | 589 | reg = <0x40024000 0x400>;
|
590 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 24U)>; |
| 590 | + clocks = <&rcc STM32_CLOCK(AHB1, 24)>; |
591 | 591 | resets = <&rctl STM32_RESET(AHB1, 24U)>;
|
592 | 592 | interrupts = <21 0>;
|
593 | 593 | interrupt-names = "global";
|
|
0 commit comments