|
125 | 125 | compatible = "st,stm32-flash-controller", "st,stm32l4-flash-controller";
|
126 | 126 | reg = <0x40022000 0x400>;
|
127 | 127 | interrupts = <4 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>;
|
|
178 | 178 | gpio-controller;
|
179 | 179 | #gpio-cells = <2>;
|
180 | 180 | reg = <0x48000000 0x400>;
|
181 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 0U)>; |
| 181 | + clocks = <&rcc STM32_CLOCK(AHB2, 0)>; |
182 | 182 | };
|
183 | 183 |
|
184 | 184 | gpiob: gpio@48000400 {
|
185 | 185 | compatible = "st,stm32-gpio";
|
186 | 186 | gpio-controller;
|
187 | 187 | #gpio-cells = <2>;
|
188 | 188 | reg = <0x48000400 0x400>;
|
189 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 1U)>; |
| 189 | + clocks = <&rcc STM32_CLOCK(AHB2, 1)>; |
190 | 190 | };
|
191 | 191 |
|
192 | 192 | gpioc: gpio@48000800 {
|
193 | 193 | compatible = "st,stm32-gpio";
|
194 | 194 | gpio-controller;
|
195 | 195 | #gpio-cells = <2>;
|
196 | 196 | reg = <0x48000800 0x400>;
|
197 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 2U)>; |
| 197 | + clocks = <&rcc STM32_CLOCK(AHB2, 2)>; |
198 | 198 | };
|
199 | 199 |
|
200 | 200 | gpioh: gpio@48001c00 {
|
201 | 201 | compatible = "st,stm32-gpio";
|
202 | 202 | gpio-controller;
|
203 | 203 | #gpio-cells = <2>;
|
204 | 204 | reg = <0x48001c00 0x400>;
|
205 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 7U)>; |
| 205 | + clocks = <&rcc STM32_CLOCK(AHB2, 7)>; |
206 | 206 | };
|
207 | 207 | };
|
208 | 208 |
|
|
215 | 215 | wwdg: watchdog@40002c00 {
|
216 | 216 | compatible = "st,stm32-window-watchdog";
|
217 | 217 | reg = <0x40002C00 0x400>;
|
218 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 218 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
219 | 219 | interrupts = <0 7>;
|
220 | 220 | status = "disabled";
|
221 | 221 | };
|
222 | 222 |
|
223 | 223 | usart1: serial@40013800 {
|
224 | 224 | compatible = "st,stm32-usart", "st,stm32-uart";
|
225 | 225 | reg = <0x40013800 0x400>;
|
226 |
| - clocks = <&rcc STM32_CLOCK(APB2, 14U)>; |
| 226 | + clocks = <&rcc STM32_CLOCK(APB2, 14)>; |
227 | 227 | resets = <&rctl STM32_RESET(APB2, 14U)>;
|
228 | 228 | interrupts = <37 0>;
|
229 | 229 | status = "disabled";
|
|
232 | 232 | usart2: serial@40004400 {
|
233 | 233 | compatible = "st,stm32-usart", "st,stm32-uart";
|
234 | 234 | reg = <0x40004400 0x400>;
|
235 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 235 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
236 | 236 | resets = <&rctl STM32_RESET(APB1L, 17U)>;
|
237 | 237 | interrupts = <38 0>;
|
238 | 238 | status = "disabled";
|
|
241 | 241 | lpuart1: serial@40008000 {
|
242 | 242 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
243 | 243 | reg = <0x40008000 0x400>;
|
244 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 0U)>; |
| 244 | + clocks = <&rcc STM32_CLOCK(APB1_2, 0)>; |
245 | 245 | resets = <&rctl STM32_RESET(APB1H, 0U)>;
|
246 | 246 | interrupts = <70 0>;
|
247 | 247 | status = "disabled";
|
|
253 | 253 | #address-cells = <1>;
|
254 | 254 | #size-cells = <0>;
|
255 | 255 | reg = <0x40005400 0x400>;
|
256 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 256 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
257 | 257 | interrupts = <31 0>, <32 0>;
|
258 | 258 | interrupt-names = "event", "error";
|
259 | 259 | status = "disabled";
|
|
265 | 265 | #address-cells = <1>;
|
266 | 266 | #size-cells = <0>;
|
267 | 267 | reg = <0x40005c00 0x400>;
|
268 |
| - clocks = <&rcc STM32_CLOCK(APB1, 23U)>; |
| 268 | + clocks = <&rcc STM32_CLOCK(APB1, 23)>; |
269 | 269 | interrupts = <72 0>, <73 0>;
|
270 | 270 | interrupt-names = "event", "error";
|
271 | 271 | status = "disabled";
|
|
277 | 277 | #size-cells = <0>;
|
278 | 278 | reg = <0xa0001000 0x400>, <0x90000000 DT_SIZE_M(256)>;
|
279 | 279 | interrupts = <71 0>;
|
280 |
| - clocks = <&rcc STM32_CLOCK(AHB3, 8U)>; |
| 280 | + clocks = <&rcc STM32_CLOCK(AHB3, 8)>; |
281 | 281 | status = "disabled";
|
282 | 282 | };
|
283 | 283 |
|
|
287 | 287 | #size-cells = <0>;
|
288 | 288 | reg = <0x40013000 0x400>;
|
289 | 289 | interrupts = <35 5>;
|
290 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>; |
| 290 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>; |
291 | 291 | status = "disabled";
|
292 | 292 | };
|
293 | 293 |
|
|
400 | 400 | compatible = "st,stm32-rtc";
|
401 | 401 | reg = <0x40002800 0x400>;
|
402 | 402 | interrupts = <41 0>;
|
403 |
| - clocks = <&rcc STM32_CLOCK(APB1, 28U)>; |
| 403 | + clocks = <&rcc STM32_CLOCK(APB1, 28)>; |
404 | 404 | prescaler = <32768>;
|
405 | 405 | alarms-count = <2>;
|
406 | 406 | alrm-exti-line = <18>;
|
|
410 | 410 | adc1: adc@50040000 {
|
411 | 411 | compatible = "st,stm32-adc";
|
412 | 412 | reg = <0x50040000 0x100>;
|
413 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 13U)>; |
| 413 | + clocks = <&rcc STM32_CLOCK(AHB2, 13)>; |
414 | 414 | interrupts = <18 0>;
|
415 | 415 | status = "disabled";
|
416 | 416 | #io-channel-cells = <1>;
|
|
426 | 426 | adc2: adc@50040100 {
|
427 | 427 | compatible = "st,stm32-adc";
|
428 | 428 | reg = <0x50040100 0x100>;
|
429 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 13U)>; |
| 429 | + clocks = <&rcc STM32_CLOCK(AHB2, 13)>; |
430 | 430 | interrupts = <18 0>;
|
431 | 431 | status = "disabled";
|
432 | 432 | #io-channel-cells = <1>;
|
|
444 | 444 | #dma-cells = <3>;
|
445 | 445 | reg = <0x40020000 0x400>;
|
446 | 446 | interrupts = <11 0 12 0 13 0 14 0 15 0 16 0 17 0>;
|
447 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 0U)>; |
| 447 | + clocks = <&rcc STM32_CLOCK(AHB1, 0)>; |
448 | 448 | dma-requests = <7>;
|
449 | 449 | status = "disabled";
|
450 | 450 | };
|
|
454 | 454 | #dma-cells = <3>;
|
455 | 455 | reg = <0x40020400 0x400>;
|
456 | 456 | interrupts = <56 0 57 0 58 0 59 0 60 0 68 0 69 0>;
|
457 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 1U)>; |
| 457 | + clocks = <&rcc STM32_CLOCK(AHB1, 1)>; |
458 | 458 | dma-requests = <7>;
|
459 | 459 | status = "disabled";
|
460 | 460 | };
|
461 | 461 |
|
462 | 462 | lptim1: timers@40007c00 {
|
463 | 463 | compatible = "st,stm32-lptim";
|
464 |
| - clocks = <&rcc STM32_CLOCK(APB1, 31U)>; |
| 464 | + clocks = <&rcc STM32_CLOCK(APB1, 31)>; |
465 | 465 | #address-cells = <1>;
|
466 | 466 | #size-cells = <0>;
|
467 | 467 | reg = <0x40007c00 0x400>;
|
|
475 | 475 | #address-cells = <1>;
|
476 | 476 | #size-cells = <0>;
|
477 | 477 | reg = <0x40009400 0x400>;
|
478 |
| - clocks = <&rcc STM32_CLOCK(APB1_2, 5U)>; |
| 478 | + clocks = <&rcc STM32_CLOCK(APB1_2, 5)>; |
479 | 479 | interrupts = <66 1>;
|
480 | 480 | interrupt-names = "wakeup";
|
481 | 481 | status = "disabled";
|
|
485 | 485 | compatible = "st,stm32-rng";
|
486 | 486 | reg = <0x50060800 0x400>;
|
487 | 487 | interrupts = <80 0>;
|
488 |
| - clocks = <&rcc STM32_CLOCK(AHB2, 18U)>, |
| 488 | + clocks = <&rcc STM32_CLOCK(AHB2, 18)>, |
489 | 489 | /* Following domain clock setting requires MSI
|
490 | 490 | * clock to be enabled with msi-range = <11>;
|
491 | 491 | */
|
|
0 commit comments