|
96 | 96 | compatible = "st,stm32-rtc";
|
97 | 97 | reg = <0x40002800 0x400>;
|
98 | 98 | interrupts = <2 0>;
|
99 |
| - clocks = <&rcc STM32_CLOCK(APB1, 28U)>; |
| 99 | + clocks = <&rcc STM32_CLOCK(APB1, 28)>; |
100 | 100 | prescaler = <32768>;
|
101 | 101 | alarms-count = <2>;
|
102 | 102 | alrm-exti-line = <17>;
|
|
162 | 162 | gpio-controller;
|
163 | 163 | #gpio-cells = <2>;
|
164 | 164 | reg = <0x50000000 0x400>;
|
165 |
| - clocks = <&rcc STM32_CLOCK(IOP, 0U)>; |
| 165 | + clocks = <&rcc STM32_CLOCK(IOP, 0)>; |
166 | 166 | };
|
167 | 167 |
|
168 | 168 | gpiob: gpio@50000400 {
|
169 | 169 | compatible = "st,stm32-gpio";
|
170 | 170 | gpio-controller;
|
171 | 171 | #gpio-cells = <2>;
|
172 | 172 | reg = <0x50000400 0x400>;
|
173 |
| - clocks = <&rcc STM32_CLOCK(IOP, 1U)>; |
| 173 | + clocks = <&rcc STM32_CLOCK(IOP, 1)>; |
174 | 174 | };
|
175 | 175 |
|
176 | 176 | gpioc: gpio@50000800 {
|
177 | 177 | compatible = "st,stm32-gpio";
|
178 | 178 | gpio-controller;
|
179 | 179 | #gpio-cells = <2>;
|
180 | 180 | reg = <0x50000800 0x400>;
|
181 |
| - clocks = <&rcc STM32_CLOCK(IOP, 2U)>; |
| 181 | + clocks = <&rcc STM32_CLOCK(IOP, 2)>; |
182 | 182 | };
|
183 | 183 |
|
184 | 184 | gpiod: gpio@50000c00 {
|
185 | 185 | compatible = "st,stm32-gpio";
|
186 | 186 | gpio-controller;
|
187 | 187 | #gpio-cells = <2>;
|
188 | 188 | reg = <0x50000c00 0x400>;
|
189 |
| - clocks = <&rcc STM32_CLOCK(IOP, 3U)>; |
| 189 | + clocks = <&rcc STM32_CLOCK(IOP, 3)>; |
190 | 190 | };
|
191 | 191 |
|
192 | 192 | gpioh: gpio@50001c00 {
|
193 | 193 | compatible = "st,stm32-gpio";
|
194 | 194 | gpio-controller;
|
195 | 195 | #gpio-cells = <2>;
|
196 | 196 | reg = <0x50001c00 0x400>;
|
197 |
| - clocks = <&rcc STM32_CLOCK(IOP, 7U)>; |
| 197 | + clocks = <&rcc STM32_CLOCK(IOP, 7)>; |
198 | 198 | };
|
199 | 199 | };
|
200 | 200 |
|
|
207 | 207 | wwdg: watchdog@40002c00 {
|
208 | 208 | compatible = "st,stm32-window-watchdog";
|
209 | 209 | reg = <0x40002C00 0x400>;
|
210 |
| - clocks = <&rcc STM32_CLOCK(APB1, 11U)>; |
| 210 | + clocks = <&rcc STM32_CLOCK(APB1, 11)>; |
211 | 211 | interrupts = <0 2>;
|
212 | 212 | status = "disabled";
|
213 | 213 | };
|
214 | 214 |
|
215 | 215 | usart2: serial@40004400 {
|
216 | 216 | compatible = "st,stm32-usart", "st,stm32-uart";
|
217 | 217 | reg = <0x40004400 0x400>;
|
218 |
| - clocks = <&rcc STM32_CLOCK(APB1, 17U)>; |
| 218 | + clocks = <&rcc STM32_CLOCK(APB1, 17)>; |
219 | 219 | resets = <&rctl STM32_RESET(APB1, 17U)>;
|
220 | 220 | interrupts = <28 0>;
|
221 | 221 | status = "disabled";
|
|
224 | 224 | lpuart1: serial@40004800 {
|
225 | 225 | compatible = "st,stm32-lpuart", "st,stm32-uart";
|
226 | 226 | reg = <0x40004800 0x400>;
|
227 |
| - clocks = <&rcc STM32_CLOCK(APB1, 18U)>; |
| 227 | + clocks = <&rcc STM32_CLOCK(APB1, 18)>; |
228 | 228 | resets = <&rctl STM32_RESET(APB1, 18U)>;
|
229 | 229 | interrupts = <29 0>;
|
230 | 230 | status = "disabled";
|
|
236 | 236 | #address-cells = <1>;
|
237 | 237 | #size-cells = <0>;
|
238 | 238 | reg = <0x40005400 0x400>;
|
239 |
| - clocks = <&rcc STM32_CLOCK(APB1, 21U)>; |
| 239 | + clocks = <&rcc STM32_CLOCK(APB1, 21)>; |
240 | 240 | interrupts = <23 0>;
|
241 | 241 | interrupt-names = "combined";
|
242 | 242 | status = "disabled";
|
|
247 | 247 | #address-cells = <1>;
|
248 | 248 | #size-cells = <0>;
|
249 | 249 | reg = <0x40013000 0x400>;
|
250 |
| - clocks = <&rcc STM32_CLOCK(APB2, 12U)>; |
| 250 | + clocks = <&rcc STM32_CLOCK(APB2, 12)>; |
251 | 251 | interrupts = <25 3>;
|
252 | 252 | status = "disabled";
|
253 | 253 | };
|
|
300 | 300 |
|
301 | 301 | lptim1: timers@40007c00 {
|
302 | 302 | compatible = "st,stm32-lptim";
|
303 |
| - clocks = <&rcc STM32_CLOCK(APB1, 31U)>; |
| 303 | + clocks = <&rcc STM32_CLOCK(APB1, 31)>; |
304 | 304 | #address-cells = <1>;
|
305 | 305 | #size-cells = <0>;
|
306 | 306 | reg = <0x40007c00 0x400>;
|
|
312 | 312 | adc1: adc@40012400 {
|
313 | 313 | compatible = "st,stm32-adc";
|
314 | 314 | reg = <0x40012400 0x400>;
|
315 |
| - clocks = <&rcc STM32_CLOCK(APB2, 9U)>; |
| 315 | + clocks = <&rcc STM32_CLOCK(APB2, 9)>; |
316 | 316 | interrupts = <12 0>;
|
317 | 317 | status = "disabled";
|
318 | 318 | #io-channel-cells = <1>;
|
|
331 | 331 | #dma-cells = <3>;
|
332 | 332 | reg = <0x40020000 0x400>;
|
333 | 333 | interrupts = <9 0 10 0 10 0 11 0 11 0 11 0 11 0>;
|
334 |
| - clocks = <&rcc STM32_CLOCK(AHB1, 0U)>; |
| 334 | + clocks = <&rcc STM32_CLOCK(AHB1, 0)>; |
335 | 335 | status = "disabled";
|
336 | 336 | };
|
337 | 337 |
|
|
0 commit comments