Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 2 | /* |
Patrice Chotard | 2f4b642 | 2019-02-18 22:54:35 +0100 | [diff] [blame] | 3 | * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 4 | * |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 7 | #include "armv7-m.dtsi" |
| 8 | #include <dt-bindings/clock/stm32fx-clock.h> |
| 9 | #include <dt-bindings/mfd/stm32f4-rcc.h> |
| 10 | |
| 11 | / { |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
| 14 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 15 | clocks { |
| 16 | clk_hse: clk-hse { |
| 17 | #clock-cells = <0>; |
| 18 | compatible = "fixed-clock"; |
| 19 | clock-frequency = <0>; |
| 20 | }; |
| 21 | |
| 22 | clk_lse: clk-lse { |
| 23 | #clock-cells = <0>; |
| 24 | compatible = "fixed-clock"; |
| 25 | clock-frequency = <32768>; |
| 26 | }; |
| 27 | |
| 28 | clk_lsi: clk-lsi { |
| 29 | #clock-cells = <0>; |
| 30 | compatible = "fixed-clock"; |
| 31 | clock-frequency = <32000>; |
| 32 | }; |
| 33 | |
| 34 | clk_i2s_ckin: i2s-ckin { |
| 35 | #clock-cells = <0>; |
| 36 | compatible = "fixed-clock"; |
| 37 | clock-frequency = <0>; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | soc { |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 42 | romem: efuse@1fff7800 { |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 43 | compatible = "st,stm32f4-otp"; |
| 44 | reg = <0x1fff7800 0x400>; |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <1>; |
| 47 | ts_cal1: calib@22c { |
| 48 | reg = <0x22c 0x2>; |
| 49 | }; |
| 50 | ts_cal2: calib@22e { |
| 51 | reg = <0x22e 0x2>; |
| 52 | }; |
| 53 | }; |
| 54 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 55 | timers2: timers@40000000 { |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <0>; |
| 58 | compatible = "st,stm32-timers"; |
| 59 | reg = <0x40000000 0x400>; |
| 60 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM2)>; |
| 61 | clock-names = "int"; |
| 62 | status = "disabled"; |
| 63 | |
| 64 | pwm { |
| 65 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 66 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 67 | status = "disabled"; |
| 68 | }; |
| 69 | |
| 70 | timer@1 { |
| 71 | compatible = "st,stm32-timer-trigger"; |
| 72 | reg = <1>; |
| 73 | status = "disabled"; |
| 74 | }; |
| 75 | }; |
| 76 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 77 | timers3: timers@40000400 { |
| 78 | #address-cells = <1>; |
| 79 | #size-cells = <0>; |
| 80 | compatible = "st,stm32-timers"; |
| 81 | reg = <0x40000400 0x400>; |
| 82 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM3)>; |
| 83 | clock-names = "int"; |
| 84 | status = "disabled"; |
| 85 | |
| 86 | pwm { |
| 87 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 88 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 89 | status = "disabled"; |
| 90 | }; |
| 91 | |
| 92 | timer@2 { |
| 93 | compatible = "st,stm32-timer-trigger"; |
| 94 | reg = <2>; |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | }; |
| 98 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 99 | timers4: timers@40000800 { |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <0>; |
| 102 | compatible = "st,stm32-timers"; |
| 103 | reg = <0x40000800 0x400>; |
| 104 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM4)>; |
| 105 | clock-names = "int"; |
| 106 | status = "disabled"; |
| 107 | |
| 108 | pwm { |
| 109 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 110 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 111 | status = "disabled"; |
| 112 | }; |
| 113 | |
| 114 | timer@3 { |
| 115 | compatible = "st,stm32-timer-trigger"; |
| 116 | reg = <3>; |
| 117 | status = "disabled"; |
| 118 | }; |
| 119 | }; |
| 120 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 121 | timers5: timers@40000c00 { |
| 122 | #address-cells = <1>; |
| 123 | #size-cells = <0>; |
| 124 | compatible = "st,stm32-timers"; |
| 125 | reg = <0x40000C00 0x400>; |
| 126 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM5)>; |
| 127 | clock-names = "int"; |
| 128 | status = "disabled"; |
| 129 | |
| 130 | pwm { |
| 131 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 132 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 133 | status = "disabled"; |
| 134 | }; |
| 135 | |
| 136 | timer@4 { |
| 137 | compatible = "st,stm32-timer-trigger"; |
| 138 | reg = <4>; |
| 139 | status = "disabled"; |
| 140 | }; |
| 141 | }; |
| 142 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 143 | timers6: timers@40001000 { |
| 144 | #address-cells = <1>; |
| 145 | #size-cells = <0>; |
| 146 | compatible = "st,stm32-timers"; |
| 147 | reg = <0x40001000 0x400>; |
| 148 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM6)>; |
| 149 | clock-names = "int"; |
| 150 | status = "disabled"; |
| 151 | |
| 152 | timer@5 { |
| 153 | compatible = "st,stm32-timer-trigger"; |
| 154 | reg = <5>; |
| 155 | status = "disabled"; |
| 156 | }; |
| 157 | }; |
| 158 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 159 | timers7: timers@40001400 { |
| 160 | #address-cells = <1>; |
| 161 | #size-cells = <0>; |
| 162 | compatible = "st,stm32-timers"; |
| 163 | reg = <0x40001400 0x400>; |
| 164 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM7)>; |
| 165 | clock-names = "int"; |
| 166 | status = "disabled"; |
| 167 | |
| 168 | timer@6 { |
| 169 | compatible = "st,stm32-timer-trigger"; |
| 170 | reg = <6>; |
| 171 | status = "disabled"; |
| 172 | }; |
| 173 | }; |
| 174 | |
| 175 | timers12: timers@40001800 { |
| 176 | #address-cells = <1>; |
| 177 | #size-cells = <0>; |
| 178 | compatible = "st,stm32-timers"; |
| 179 | reg = <0x40001800 0x400>; |
| 180 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM12)>; |
| 181 | clock-names = "int"; |
| 182 | status = "disabled"; |
| 183 | |
| 184 | pwm { |
| 185 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 186 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 187 | status = "disabled"; |
| 188 | }; |
| 189 | |
| 190 | timer@11 { |
| 191 | compatible = "st,stm32-timer-trigger"; |
| 192 | reg = <11>; |
| 193 | status = "disabled"; |
| 194 | }; |
| 195 | }; |
| 196 | |
| 197 | timers13: timers@40001c00 { |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 198 | compatible = "st,stm32-timers"; |
| 199 | reg = <0x40001C00 0x400>; |
| 200 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM13)>; |
| 201 | clock-names = "int"; |
| 202 | status = "disabled"; |
| 203 | |
| 204 | pwm { |
| 205 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 206 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 207 | status = "disabled"; |
| 208 | }; |
| 209 | }; |
| 210 | |
| 211 | timers14: timers@40002000 { |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 212 | compatible = "st,stm32-timers"; |
| 213 | reg = <0x40002000 0x400>; |
| 214 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM14)>; |
| 215 | clock-names = "int"; |
| 216 | status = "disabled"; |
| 217 | |
| 218 | pwm { |
| 219 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 220 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 221 | status = "disabled"; |
| 222 | }; |
| 223 | }; |
| 224 | |
| 225 | rtc: rtc@40002800 { |
| 226 | compatible = "st,stm32-rtc"; |
| 227 | reg = <0x40002800 0x400>; |
| 228 | clocks = <&rcc 1 CLK_RTC>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 229 | assigned-clocks = <&rcc 1 CLK_RTC>; |
| 230 | assigned-clock-parents = <&rcc 1 CLK_LSE>; |
| 231 | interrupt-parent = <&exti>; |
| 232 | interrupts = <17 1>; |
Patrice Chotard | 2f4b642 | 2019-02-18 22:54:35 +0100 | [diff] [blame] | 233 | st,syscfg = <&pwrcfg 0x00 0x100>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 234 | status = "disabled"; |
| 235 | }; |
| 236 | |
| 237 | iwdg: watchdog@40003000 { |
| 238 | compatible = "st,stm32-iwdg"; |
| 239 | reg = <0x40003000 0x400>; |
| 240 | clocks = <&clk_lsi>; |
Patrice Chotard | 2f4b642 | 2019-02-18 22:54:35 +0100 | [diff] [blame] | 241 | clock-names = "lsi"; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 242 | status = "disabled"; |
| 243 | }; |
| 244 | |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 245 | spi2: spi@40003800 { |
| 246 | #address-cells = <1>; |
| 247 | #size-cells = <0>; |
| 248 | compatible = "st,stm32f4-spi"; |
| 249 | reg = <0x40003800 0x400>; |
| 250 | interrupts = <36>; |
| 251 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(SPI2)>; |
| 252 | status = "disabled"; |
| 253 | }; |
| 254 | |
| 255 | spi3: spi@40003c00 { |
| 256 | #address-cells = <1>; |
| 257 | #size-cells = <0>; |
| 258 | compatible = "st,stm32f4-spi"; |
| 259 | reg = <0x40003c00 0x400>; |
| 260 | interrupts = <51>; |
| 261 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(SPI3)>; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 265 | usart2: serial@40004400 { |
| 266 | compatible = "st,stm32-uart"; |
| 267 | reg = <0x40004400 0x400>; |
| 268 | interrupts = <38>; |
| 269 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART2)>; |
| 270 | status = "disabled"; |
| 271 | }; |
| 272 | |
| 273 | usart3: serial@40004800 { |
| 274 | compatible = "st,stm32-uart"; |
| 275 | reg = <0x40004800 0x400>; |
| 276 | interrupts = <39>; |
| 277 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART3)>; |
| 278 | status = "disabled"; |
| 279 | dmas = <&dma1 1 4 0x400 0x0>, |
| 280 | <&dma1 3 4 0x400 0x0>; |
| 281 | dma-names = "rx", "tx"; |
| 282 | }; |
| 283 | |
| 284 | usart4: serial@40004c00 { |
| 285 | compatible = "st,stm32-uart"; |
| 286 | reg = <0x40004c00 0x400>; |
| 287 | interrupts = <52>; |
| 288 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART4)>; |
| 289 | status = "disabled"; |
| 290 | }; |
| 291 | |
| 292 | usart5: serial@40005000 { |
| 293 | compatible = "st,stm32-uart"; |
| 294 | reg = <0x40005000 0x400>; |
| 295 | interrupts = <53>; |
| 296 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART5)>; |
| 297 | status = "disabled"; |
| 298 | }; |
| 299 | |
| 300 | i2c1: i2c@40005400 { |
| 301 | compatible = "st,stm32f4-i2c"; |
| 302 | reg = <0x40005400 0x400>; |
| 303 | interrupts = <31>, |
| 304 | <32>; |
| 305 | resets = <&rcc STM32F4_APB1_RESET(I2C1)>; |
| 306 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(I2C1)>; |
| 307 | #address-cells = <1>; |
| 308 | #size-cells = <0>; |
| 309 | status = "disabled"; |
| 310 | }; |
| 311 | |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 312 | i2c3: i2c@40005c00 { |
| 313 | compatible = "st,stm32f4-i2c"; |
| 314 | reg = <0x40005c00 0x400>; |
| 315 | interrupts = <72>, |
| 316 | <73>; |
| 317 | resets = <&rcc STM32F4_APB1_RESET(I2C3)>; |
| 318 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(I2C3)>; |
| 319 | #address-cells = <1>; |
| 320 | #size-cells = <0>; |
| 321 | status = "disabled"; |
| 322 | }; |
| 323 | |
Dario Binacchi | 31071e3 | 2023-09-03 22:33:50 +0200 | [diff] [blame] | 324 | can1: can@40006400 { |
| 325 | compatible = "st,stm32f4-bxcan"; |
| 326 | reg = <0x40006400 0x200>; |
| 327 | interrupts = <19>, <20>, <21>, <22>; |
| 328 | interrupt-names = "tx", "rx0", "rx1", "sce"; |
| 329 | resets = <&rcc STM32F4_APB1_RESET(CAN1)>; |
| 330 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(CAN1)>; |
| 331 | st,can-primary; |
| 332 | st,gcan = <&gcan>; |
| 333 | status = "disabled"; |
| 334 | }; |
| 335 | |
| 336 | gcan: gcan@40006600 { |
| 337 | compatible = "st,stm32f4-gcan", "syscon"; |
| 338 | reg = <0x40006600 0x200>; |
| 339 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(CAN1)>; |
| 340 | }; |
| 341 | |
| 342 | can2: can@40006800 { |
| 343 | compatible = "st,stm32f4-bxcan"; |
| 344 | reg = <0x40006800 0x200>; |
| 345 | interrupts = <63>, <64>, <65>, <66>; |
| 346 | interrupt-names = "tx", "rx0", "rx1", "sce"; |
| 347 | resets = <&rcc STM32F4_APB1_RESET(CAN2)>; |
| 348 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(CAN2)>; |
Dario Binacchi | 2093119 | 2023-09-03 22:33:52 +0200 | [diff] [blame] | 349 | st,can-secondary; |
Dario Binacchi | 31071e3 | 2023-09-03 22:33:50 +0200 | [diff] [blame] | 350 | st,gcan = <&gcan>; |
| 351 | status = "disabled"; |
| 352 | }; |
| 353 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 354 | dac: dac@40007400 { |
| 355 | compatible = "st,stm32f4-dac-core"; |
| 356 | reg = <0x40007400 0x400>; |
| 357 | resets = <&rcc STM32F4_APB1_RESET(DAC)>; |
| 358 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(DAC)>; |
| 359 | clock-names = "pclk"; |
| 360 | #address-cells = <1>; |
| 361 | #size-cells = <0>; |
| 362 | status = "disabled"; |
| 363 | |
| 364 | dac1: dac@1 { |
| 365 | compatible = "st,stm32-dac"; |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 366 | #io-channel-cells = <1>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 367 | reg = <1>; |
| 368 | status = "disabled"; |
| 369 | }; |
| 370 | |
| 371 | dac2: dac@2 { |
| 372 | compatible = "st,stm32-dac"; |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 373 | #io-channel-cells = <1>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 374 | reg = <2>; |
| 375 | status = "disabled"; |
| 376 | }; |
| 377 | }; |
| 378 | |
| 379 | usart7: serial@40007800 { |
| 380 | compatible = "st,stm32-uart"; |
| 381 | reg = <0x40007800 0x400>; |
| 382 | interrupts = <82>; |
| 383 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART7)>; |
| 384 | status = "disabled"; |
| 385 | }; |
| 386 | |
| 387 | usart8: serial@40007c00 { |
| 388 | compatible = "st,stm32-uart"; |
| 389 | reg = <0x40007c00 0x400>; |
| 390 | interrupts = <83>; |
| 391 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART8)>; |
| 392 | status = "disabled"; |
| 393 | }; |
| 394 | |
| 395 | timers1: timers@40010000 { |
| 396 | #address-cells = <1>; |
| 397 | #size-cells = <0>; |
| 398 | compatible = "st,stm32-timers"; |
| 399 | reg = <0x40010000 0x400>; |
| 400 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM1)>; |
| 401 | clock-names = "int"; |
| 402 | status = "disabled"; |
| 403 | |
| 404 | pwm { |
| 405 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 406 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 407 | status = "disabled"; |
| 408 | }; |
| 409 | |
| 410 | timer@0 { |
| 411 | compatible = "st,stm32-timer-trigger"; |
| 412 | reg = <0>; |
| 413 | status = "disabled"; |
| 414 | }; |
| 415 | }; |
| 416 | |
| 417 | timers8: timers@40010400 { |
| 418 | #address-cells = <1>; |
| 419 | #size-cells = <0>; |
| 420 | compatible = "st,stm32-timers"; |
| 421 | reg = <0x40010400 0x400>; |
| 422 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM8)>; |
| 423 | clock-names = "int"; |
| 424 | status = "disabled"; |
| 425 | |
| 426 | pwm { |
| 427 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 428 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 429 | status = "disabled"; |
| 430 | }; |
| 431 | |
| 432 | timer@7 { |
| 433 | compatible = "st,stm32-timer-trigger"; |
| 434 | reg = <7>; |
| 435 | status = "disabled"; |
| 436 | }; |
| 437 | }; |
| 438 | |
| 439 | usart1: serial@40011000 { |
| 440 | compatible = "st,stm32-uart"; |
| 441 | reg = <0x40011000 0x400>; |
| 442 | interrupts = <37>; |
| 443 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART1)>; |
| 444 | status = "disabled"; |
| 445 | dmas = <&dma2 2 4 0x400 0x0>, |
| 446 | <&dma2 7 4 0x400 0x0>; |
| 447 | dma-names = "rx", "tx"; |
| 448 | }; |
| 449 | |
| 450 | usart6: serial@40011400 { |
| 451 | compatible = "st,stm32-uart"; |
| 452 | reg = <0x40011400 0x400>; |
| 453 | interrupts = <71>; |
| 454 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART6)>; |
| 455 | status = "disabled"; |
| 456 | }; |
| 457 | |
| 458 | adc: adc@40012000 { |
| 459 | compatible = "st,stm32f4-adc-core"; |
| 460 | reg = <0x40012000 0x400>; |
| 461 | interrupts = <18>; |
| 462 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>; |
| 463 | clock-names = "adc"; |
| 464 | interrupt-controller; |
| 465 | #interrupt-cells = <1>; |
| 466 | #address-cells = <1>; |
| 467 | #size-cells = <0>; |
| 468 | status = "disabled"; |
| 469 | |
| 470 | adc1: adc@0 { |
| 471 | compatible = "st,stm32f4-adc"; |
| 472 | #io-channel-cells = <1>; |
| 473 | reg = <0x0>; |
| 474 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>; |
| 475 | interrupt-parent = <&adc>; |
| 476 | interrupts = <0>; |
| 477 | dmas = <&dma2 0 0 0x400 0x0>; |
| 478 | dma-names = "rx"; |
| 479 | status = "disabled"; |
| 480 | }; |
| 481 | |
| 482 | adc2: adc@100 { |
| 483 | compatible = "st,stm32f4-adc"; |
| 484 | #io-channel-cells = <1>; |
| 485 | reg = <0x100>; |
| 486 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC2)>; |
| 487 | interrupt-parent = <&adc>; |
| 488 | interrupts = <1>; |
| 489 | dmas = <&dma2 3 1 0x400 0x0>; |
| 490 | dma-names = "rx"; |
| 491 | status = "disabled"; |
| 492 | }; |
| 493 | |
| 494 | adc3: adc@200 { |
| 495 | compatible = "st,stm32f4-adc"; |
| 496 | #io-channel-cells = <1>; |
| 497 | reg = <0x200>; |
| 498 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC3)>; |
| 499 | interrupt-parent = <&adc>; |
| 500 | interrupts = <2>; |
| 501 | dmas = <&dma2 1 2 0x400 0x0>; |
| 502 | dma-names = "rx"; |
| 503 | status = "disabled"; |
| 504 | }; |
| 505 | }; |
| 506 | |
Patrice Chotard | 8397532 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 507 | sdio: mmc@40012c00 { |
Patrice Chotard | 2f4b642 | 2019-02-18 22:54:35 +0100 | [diff] [blame] | 508 | compatible = "arm,pl180", "arm,primecell"; |
| 509 | arm,primecell-periphid = <0x00880180>; |
| 510 | reg = <0x40012c00 0x400>; |
| 511 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(SDIO)>; |
| 512 | clock-names = "apb_pclk"; |
| 513 | interrupts = <49>; |
| 514 | max-frequency = <48000000>; |
| 515 | status = "disabled"; |
| 516 | }; |
| 517 | |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 518 | spi1: spi@40013000 { |
| 519 | #address-cells = <1>; |
| 520 | #size-cells = <0>; |
| 521 | compatible = "st,stm32f4-spi"; |
| 522 | reg = <0x40013000 0x400>; |
| 523 | interrupts = <35>; |
| 524 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI1)>; |
| 525 | status = "disabled"; |
| 526 | }; |
| 527 | |
| 528 | spi4: spi@40013400 { |
| 529 | #address-cells = <1>; |
| 530 | #size-cells = <0>; |
| 531 | compatible = "st,stm32f4-spi"; |
| 532 | reg = <0x40013400 0x400>; |
| 533 | interrupts = <84>; |
| 534 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI4)>; |
| 535 | status = "disabled"; |
| 536 | }; |
| 537 | |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 538 | syscfg: syscon@40013800 { |
| 539 | compatible = "st,stm32-syscfg", "syscon"; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 540 | reg = <0x40013800 0x400>; |
| 541 | }; |
| 542 | |
| 543 | exti: interrupt-controller@40013c00 { |
| 544 | compatible = "st,stm32-exti"; |
| 545 | interrupt-controller; |
| 546 | #interrupt-cells = <2>; |
| 547 | reg = <0x40013C00 0x400>; |
| 548 | interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>; |
| 549 | }; |
| 550 | |
| 551 | timers9: timers@40014000 { |
| 552 | #address-cells = <1>; |
| 553 | #size-cells = <0>; |
| 554 | compatible = "st,stm32-timers"; |
| 555 | reg = <0x40014000 0x400>; |
| 556 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM9)>; |
| 557 | clock-names = "int"; |
| 558 | status = "disabled"; |
| 559 | |
| 560 | pwm { |
| 561 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 562 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 563 | status = "disabled"; |
| 564 | }; |
| 565 | |
| 566 | timer@8 { |
| 567 | compatible = "st,stm32-timer-trigger"; |
| 568 | reg = <8>; |
| 569 | status = "disabled"; |
| 570 | }; |
| 571 | }; |
| 572 | |
| 573 | timers10: timers@40014400 { |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 574 | compatible = "st,stm32-timers"; |
| 575 | reg = <0x40014400 0x400>; |
| 576 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM10)>; |
| 577 | clock-names = "int"; |
| 578 | status = "disabled"; |
| 579 | |
| 580 | pwm { |
| 581 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 582 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 583 | status = "disabled"; |
| 584 | }; |
| 585 | }; |
| 586 | |
| 587 | timers11: timers@40014800 { |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 588 | compatible = "st,stm32-timers"; |
| 589 | reg = <0x40014800 0x400>; |
| 590 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM11)>; |
| 591 | clock-names = "int"; |
| 592 | status = "disabled"; |
| 593 | |
| 594 | pwm { |
| 595 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 596 | #pwm-cells = <3>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 597 | status = "disabled"; |
| 598 | }; |
| 599 | }; |
| 600 | |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 601 | spi5: spi@40015000 { |
| 602 | #address-cells = <1>; |
| 603 | #size-cells = <0>; |
| 604 | compatible = "st,stm32f4-spi"; |
| 605 | reg = <0x40015000 0x400>; |
| 606 | interrupts = <85>; |
| 607 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI5)>; |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 608 | dmas = <&dma2 3 2 0x400 0x0>, |
| 609 | <&dma2 4 2 0x400 0x0>; |
| 610 | dma-names = "rx", "tx"; |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 611 | status = "disabled"; |
| 612 | }; |
| 613 | |
| 614 | spi6: spi@40015400 { |
| 615 | #address-cells = <1>; |
| 616 | #size-cells = <0>; |
| 617 | compatible = "st,stm32f4-spi"; |
| 618 | reg = <0x40015400 0x400>; |
| 619 | interrupts = <86>; |
| 620 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI6)>; |
| 621 | status = "disabled"; |
| 622 | }; |
| 623 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 624 | pwrcfg: power-config@40007000 { |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 625 | compatible = "st,stm32-power-config", "syscon"; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 626 | reg = <0x40007000 0x400>; |
| 627 | }; |
| 628 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 629 | ltdc: display-controller@40016800 { |
| 630 | compatible = "st,stm32-ltdc"; |
| 631 | reg = <0x40016800 0x200>; |
| 632 | interrupts = <88>, <89>; |
| 633 | resets = <&rcc STM32F4_APB2_RESET(LTDC)>; |
| 634 | clocks = <&rcc 1 CLK_LCD>; |
| 635 | clock-names = "lcd"; |
| 636 | status = "disabled"; |
| 637 | }; |
| 638 | |
| 639 | crc: crc@40023000 { |
| 640 | compatible = "st,stm32f4-crc"; |
| 641 | reg = <0x40023000 0x400>; |
| 642 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(CRC)>; |
| 643 | status = "disabled"; |
| 644 | }; |
| 645 | |
Patrice Chotard | 8397532 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 646 | rcc: rcc@40023800 { |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 647 | #reset-cells = <1>; |
| 648 | #clock-cells = <2>; |
| 649 | compatible = "st,stm32f42xx-rcc", "st,stm32-rcc"; |
| 650 | reg = <0x40023800 0x400>; |
| 651 | clocks = <&clk_hse>, <&clk_i2s_ckin>; |
| 652 | st,syscfg = <&pwrcfg>; |
| 653 | assigned-clocks = <&rcc 1 CLK_HSE_RTC>; |
| 654 | assigned-clock-rates = <1000000>; |
| 655 | }; |
| 656 | |
| 657 | dma1: dma-controller@40026000 { |
| 658 | compatible = "st,stm32-dma"; |
| 659 | reg = <0x40026000 0x400>; |
| 660 | interrupts = <11>, |
| 661 | <12>, |
| 662 | <13>, |
| 663 | <14>, |
| 664 | <15>, |
| 665 | <16>, |
| 666 | <17>, |
| 667 | <47>; |
| 668 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA1)>; |
| 669 | #dma-cells = <4>; |
| 670 | }; |
| 671 | |
| 672 | dma2: dma-controller@40026400 { |
| 673 | compatible = "st,stm32-dma"; |
| 674 | reg = <0x40026400 0x400>; |
| 675 | interrupts = <56>, |
| 676 | <57>, |
| 677 | <58>, |
| 678 | <59>, |
| 679 | <60>, |
| 680 | <68>, |
| 681 | <69>, |
| 682 | <70>; |
| 683 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2)>; |
| 684 | #dma-cells = <4>; |
| 685 | st,mem2mem; |
| 686 | }; |
| 687 | |
| 688 | mac: ethernet@40028000 { |
| 689 | compatible = "st,stm32-dwmac", "snps,dwmac-3.50a"; |
| 690 | reg = <0x40028000 0x8000>; |
| 691 | reg-names = "stmmaceth"; |
| 692 | interrupts = <61>; |
| 693 | interrupt-names = "macirq"; |
| 694 | clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx"; |
| 695 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(ETHMAC)>, |
| 696 | <&rcc 0 STM32F4_AHB1_CLOCK(ETHMACTX)>, |
| 697 | <&rcc 0 STM32F4_AHB1_CLOCK(ETHMACRX)>; |
| 698 | st,syscon = <&syscfg 0x4>; |
| 699 | snps,pbl = <8>; |
| 700 | snps,mixed-burst; |
| 701 | status = "disabled"; |
| 702 | }; |
| 703 | |
Patrice Chotard | 8397532 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 704 | dma2d: dma2d@4002b000 { |
| 705 | compatible = "st,stm32-dma2d"; |
| 706 | reg = <0x4002b000 0xc00>; |
| 707 | interrupts = <90>; |
| 708 | resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>; |
| 709 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>; |
| 710 | clock-names = "dma2d"; |
| 711 | status = "disabled"; |
| 712 | }; |
| 713 | |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 714 | usbotg_hs: usb@40040000 { |
| 715 | compatible = "snps,dwc2"; |
| 716 | reg = <0x40040000 0x40000>; |
| 717 | interrupts = <77>; |
| 718 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHS)>; |
| 719 | clock-names = "otg"; |
| 720 | status = "disabled"; |
| 721 | }; |
| 722 | |
| 723 | usbotg_fs: usb@50000000 { |
| 724 | compatible = "st,stm32f4x9-fsotg"; |
| 725 | reg = <0x50000000 0x40000>; |
| 726 | interrupts = <67>; |
| 727 | clocks = <&rcc 0 39>; |
| 728 | clock-names = "otg"; |
| 729 | status = "disabled"; |
| 730 | }; |
| 731 | |
| 732 | dcmi: dcmi@50050000 { |
| 733 | compatible = "st,stm32-dcmi"; |
| 734 | reg = <0x50050000 0x400>; |
| 735 | interrupts = <78>; |
| 736 | resets = <&rcc STM32F4_AHB2_RESET(DCMI)>; |
| 737 | clocks = <&rcc 0 STM32F4_AHB2_CLOCK(DCMI)>; |
| 738 | clock-names = "mclk"; |
| 739 | pinctrl-names = "default"; |
| 740 | pinctrl-0 = <&dcmi_pins>; |
| 741 | dmas = <&dma2 1 1 0x414 0x3>; |
| 742 | dma-names = "tx"; |
| 743 | status = "disabled"; |
| 744 | }; |
| 745 | |
| 746 | rng: rng@50060800 { |
| 747 | compatible = "st,stm32-rng"; |
| 748 | reg = <0x50060800 0x400>; |
Patrice Chotard | f13ff07 | 2017-12-12 09:49:32 +0100 | [diff] [blame] | 749 | clocks = <&rcc 0 STM32F4_AHB2_CLOCK(RNG)>; |
| 750 | |
| 751 | }; |
| 752 | }; |
| 753 | }; |
| 754 | |
| 755 | &systick { |
| 756 | clocks = <&rcc 1 SYSTICK>; |
| 757 | status = "okay"; |
| 758 | }; |