Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Michael Kurz | bccef71 | 2017-01-22 16:04:23 +0100 | [diff] [blame] | 2 | /* |
Michael Kurz | bccef71 | 2017-01-22 16:04:23 +0100 | [diff] [blame] | 3 | * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> |
| 4 | * |
Michael Kurz | bccef71 | 2017-01-22 16:04:23 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include "armv7-m.dtsi" |
Patrice Chotard | e5f82cf | 2017-07-18 09:29:02 +0200 | [diff] [blame] | 8 | #include <dt-bindings/clock/stm32fx-clock.h> |
| 9 | #include <dt-bindings/mfd/stm32f7-rcc.h> |
Michael Kurz | bccef71 | 2017-01-22 16:04:23 +0100 | [diff] [blame] | 10 | |
| 11 | / { |
Patrick Delaunay | c5c9069 | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
| 14 | |
Vikas Manocha | da913d3 | 2017-02-12 10:25:47 -0800 | [diff] [blame] | 15 | clocks { |
| 16 | clk_hse: clk-hse { |
| 17 | #clock-cells = <0>; |
| 18 | compatible = "fixed-clock"; |
| 19 | clock-frequency = <0>; |
| 20 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 21 | |
| 22 | clk-lse { |
| 23 | #clock-cells = <0>; |
| 24 | compatible = "fixed-clock"; |
| 25 | clock-frequency = <32768>; |
| 26 | }; |
| 27 | |
| 28 | clk-lsi { |
| 29 | #clock-cells = <0>; |
| 30 | compatible = "fixed-clock"; |
| 31 | clock-frequency = <32000>; |
| 32 | }; |
| 33 | |
| 34 | clk_i2s_ckin: clk-i2s-ckin { |
| 35 | #clock-cells = <0>; |
| 36 | compatible = "fixed-clock"; |
| 37 | clock-frequency = <48000000>; |
| 38 | }; |
Patrice Chotard | df2e02a | 2019-02-19 00:37:20 +0100 | [diff] [blame] | 39 | }; |
Vikas Manocha | da913d3 | 2017-02-12 10:25:47 -0800 | [diff] [blame] | 40 | |
Michael Kurz | bccef71 | 2017-01-22 16:04:23 +0100 | [diff] [blame] | 41 | soc { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 42 | timers2: timers@40000000 { |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <0>; |
| 45 | compatible = "st,stm32-timers"; |
| 46 | reg = <0x40000000 0x400>; |
| 47 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM2)>; |
| 48 | clock-names = "int"; |
| 49 | status = "disabled"; |
| 50 | |
| 51 | pwm { |
| 52 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 53 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 54 | status = "disabled"; |
| 55 | }; |
| 56 | |
| 57 | timer@1 { |
| 58 | compatible = "st,stm32-timer-trigger"; |
| 59 | reg = <1>; |
| 60 | status = "disabled"; |
| 61 | }; |
Patrice Chotard | b957402 | 2017-11-15 13:14:43 +0100 | [diff] [blame] | 62 | }; |
| 63 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 64 | timers3: timers@40000400 { |
Vikas Manocha | 2881915 | 2017-02-12 10:25:50 -0800 | [diff] [blame] | 65 | #address-cells = <1>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 66 | #size-cells = <0>; |
| 67 | compatible = "st,stm32-timers"; |
| 68 | reg = <0x40000400 0x400>; |
| 69 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM3)>; |
| 70 | clock-names = "int"; |
| 71 | status = "disabled"; |
Vikas Manocha | 6ad568c | 2017-02-12 10:25:51 -0800 | [diff] [blame] | 72 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 73 | pwm { |
| 74 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 75 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 76 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 77 | }; |
| 78 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 79 | timer@2 { |
| 80 | compatible = "st,stm32-timer-trigger"; |
| 81 | reg = <2>; |
| 82 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 83 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 84 | }; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 85 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 86 | timers4: timers@40000800 { |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | compatible = "st,stm32-timers"; |
| 90 | reg = <0x40000800 0x400>; |
| 91 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM4)>; |
| 92 | clock-names = "int"; |
| 93 | status = "disabled"; |
| 94 | |
| 95 | pwm { |
| 96 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 97 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 98 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 99 | }; |
| 100 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 101 | timer@3 { |
| 102 | compatible = "st,stm32-timer-trigger"; |
| 103 | reg = <3>; |
| 104 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 105 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 106 | }; |
| 107 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 108 | timers5: timers@40000c00 { |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <0>; |
| 111 | compatible = "st,stm32-timers"; |
| 112 | reg = <0x40000C00 0x400>; |
| 113 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM5)>; |
| 114 | clock-names = "int"; |
| 115 | status = "disabled"; |
| 116 | |
| 117 | pwm { |
| 118 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 119 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 120 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 121 | }; |
| 122 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 123 | timer@4 { |
| 124 | compatible = "st,stm32-timer-trigger"; |
| 125 | reg = <4>; |
| 126 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 127 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 128 | }; |
| 129 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 130 | timers6: timers@40001000 { |
| 131 | #address-cells = <1>; |
| 132 | #size-cells = <0>; |
| 133 | compatible = "st,stm32-timers"; |
| 134 | reg = <0x40001000 0x400>; |
| 135 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM6)>; |
| 136 | clock-names = "int"; |
| 137 | status = "disabled"; |
| 138 | |
| 139 | timer@5 { |
| 140 | compatible = "st,stm32-timer-trigger"; |
| 141 | reg = <5>; |
| 142 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 143 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 144 | }; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 145 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 146 | timers7: timers@40001400 { |
| 147 | #address-cells = <1>; |
| 148 | #size-cells = <0>; |
| 149 | compatible = "st,stm32-timers"; |
| 150 | reg = <0x40001400 0x400>; |
| 151 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM7)>; |
| 152 | clock-names = "int"; |
| 153 | status = "disabled"; |
| 154 | |
| 155 | timer@6 { |
| 156 | compatible = "st,stm32-timer-trigger"; |
| 157 | reg = <6>; |
| 158 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 159 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 160 | }; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 161 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 162 | timers12: timers@40001800 { |
| 163 | #address-cells = <1>; |
| 164 | #size-cells = <0>; |
| 165 | compatible = "st,stm32-timers"; |
| 166 | reg = <0x40001800 0x400>; |
| 167 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM12)>; |
| 168 | clock-names = "int"; |
| 169 | status = "disabled"; |
| 170 | |
| 171 | pwm { |
| 172 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 173 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 174 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 175 | }; |
| 176 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 177 | timer@11 { |
| 178 | compatible = "st,stm32-timer-trigger"; |
| 179 | reg = <11>; |
| 180 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 181 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 182 | }; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 183 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 184 | timers13: timers@40001c00 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 185 | compatible = "st,stm32-timers"; |
| 186 | reg = <0x40001C00 0x400>; |
| 187 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM13)>; |
| 188 | clock-names = "int"; |
| 189 | status = "disabled"; |
| 190 | |
| 191 | pwm { |
| 192 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 193 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 194 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 195 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 196 | }; |
| 197 | |
| 198 | timers14: timers@40002000 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 199 | compatible = "st,stm32-timers"; |
| 200 | reg = <0x40002000 0x400>; |
| 201 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM14)>; |
| 202 | clock-names = "int"; |
| 203 | status = "disabled"; |
Vikas Manocha | f51303a | 2017-04-10 15:02:58 -0700 | [diff] [blame] | 204 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 205 | pwm { |
| 206 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 207 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 208 | status = "disabled"; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 209 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 210 | }; |
| 211 | |
| 212 | rtc: rtc@40002800 { |
| 213 | compatible = "st,stm32-rtc"; |
| 214 | reg = <0x40002800 0x400>; |
| 215 | clocks = <&rcc 1 CLK_RTC>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 216 | assigned-clocks = <&rcc 1 CLK_RTC>; |
| 217 | assigned-clock-parents = <&rcc 1 CLK_LSE>; |
| 218 | interrupt-parent = <&exti>; |
| 219 | interrupts = <17 1>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 220 | st,syscfg = <&pwrcfg 0x00 0x100>; |
| 221 | status = "disabled"; |
| 222 | }; |
| 223 | |
Dario Binacchi | b7236ef | 2023-09-03 22:48:42 +0200 | [diff] [blame^] | 224 | can3: can@40003400 { |
| 225 | compatible = "st,stm32f4-bxcan"; |
| 226 | reg = <0x40003400 0x200>; |
| 227 | interrupts = <104>, <105>, <106>, <107>; |
| 228 | interrupt-names = "tx", "rx0", "rx1", "sce"; |
| 229 | resets = <&rcc STM32F7_APB1_RESET(CAN3)>; |
| 230 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; |
| 231 | st,gcan = <&gcan3>; |
| 232 | status = "disabled"; |
| 233 | }; |
| 234 | |
| 235 | gcan3: gcan@40003600 { |
| 236 | compatible = "st,stm32f4-gcan", "syscon"; |
| 237 | reg = <0x40003600 0x200>; |
| 238 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; |
| 239 | }; |
| 240 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 241 | usart2: serial@40004400 { |
| 242 | compatible = "st,stm32f7-uart"; |
| 243 | reg = <0x40004400 0x400>; |
| 244 | interrupts = <38>; |
| 245 | clocks = <&rcc 1 CLK_USART2>; |
| 246 | status = "disabled"; |
| 247 | }; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 248 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 249 | usart3: serial@40004800 { |
| 250 | compatible = "st,stm32f7-uart"; |
| 251 | reg = <0x40004800 0x400>; |
| 252 | interrupts = <39>; |
| 253 | clocks = <&rcc 1 CLK_USART3>; |
| 254 | status = "disabled"; |
| 255 | }; |
| 256 | |
| 257 | usart4: serial@40004c00 { |
| 258 | compatible = "st,stm32f7-uart"; |
| 259 | reg = <0x40004c00 0x400>; |
| 260 | interrupts = <52>; |
| 261 | clocks = <&rcc 1 CLK_UART4>; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | |
| 265 | usart5: serial@40005000 { |
| 266 | compatible = "st,stm32f7-uart"; |
| 267 | reg = <0x40005000 0x400>; |
| 268 | interrupts = <53>; |
| 269 | clocks = <&rcc 1 CLK_UART5>; |
| 270 | status = "disabled"; |
| 271 | }; |
| 272 | |
| 273 | i2c1: i2c@40005400 { |
| 274 | compatible = "st,stm32f7-i2c"; |
| 275 | reg = <0x40005400 0x400>; |
| 276 | interrupts = <31>, |
| 277 | <32>; |
| 278 | resets = <&rcc STM32F7_APB1_RESET(I2C1)>; |
| 279 | clocks = <&rcc 1 CLK_I2C1>; |
| 280 | #address-cells = <1>; |
| 281 | #size-cells = <0>; |
| 282 | status = "disabled"; |
| 283 | }; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 284 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 285 | i2c2: i2c@40005800 { |
| 286 | compatible = "st,stm32f7-i2c"; |
| 287 | reg = <0x40005800 0x400>; |
| 288 | interrupts = <33>, |
| 289 | <34>; |
| 290 | resets = <&rcc STM32F7_APB1_RESET(I2C2)>; |
| 291 | clocks = <&rcc 1 CLK_I2C2>; |
| 292 | #address-cells = <1>; |
| 293 | #size-cells = <0>; |
| 294 | status = "disabled"; |
| 295 | }; |
| 296 | |
Patrice Chotard | 8397532 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 297 | i2c3: i2c@40005c00 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 298 | compatible = "st,stm32f7-i2c"; |
Patrice Chotard | 8397532 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 299 | reg = <0x40005c00 0x400>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 300 | interrupts = <72>, |
| 301 | <73>; |
| 302 | resets = <&rcc STM32F7_APB1_RESET(I2C3)>; |
| 303 | clocks = <&rcc 1 CLK_I2C3>; |
| 304 | #address-cells = <1>; |
| 305 | #size-cells = <0>; |
| 306 | status = "disabled"; |
| 307 | }; |
| 308 | |
| 309 | i2c4: i2c@40006000 { |
| 310 | compatible = "st,stm32f7-i2c"; |
| 311 | reg = <0x40006000 0x400>; |
| 312 | interrupts = <95>, |
| 313 | <96>; |
| 314 | resets = <&rcc STM32F7_APB1_RESET(I2C4)>; |
| 315 | clocks = <&rcc 1 CLK_I2C4>; |
| 316 | #address-cells = <1>; |
| 317 | #size-cells = <0>; |
| 318 | status = "disabled"; |
| 319 | }; |
| 320 | |
Dario Binacchi | b7236ef | 2023-09-03 22:48:42 +0200 | [diff] [blame^] | 321 | can1: can@40006400 { |
| 322 | compatible = "st,stm32f4-bxcan"; |
| 323 | reg = <0x40006400 0x200>; |
| 324 | interrupts = <19>, <20>, <21>, <22>; |
| 325 | interrupt-names = "tx", "rx0", "rx1", "sce"; |
| 326 | resets = <&rcc STM32F7_APB1_RESET(CAN1)>; |
| 327 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN1)>; |
| 328 | st,can-primary; |
| 329 | st,gcan = <&gcan1>; |
| 330 | status = "disabled"; |
| 331 | }; |
| 332 | |
| 333 | gcan1: gcan@40006600 { |
| 334 | compatible = "st,stm32f4-gcan", "syscon"; |
| 335 | reg = <0x40006600 0x200>; |
| 336 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN1)>; |
| 337 | }; |
| 338 | |
| 339 | can2: can@40006800 { |
| 340 | compatible = "st,stm32f4-bxcan"; |
| 341 | reg = <0x40006800 0x200>; |
| 342 | interrupts = <63>, <64>, <65>, <66>; |
| 343 | interrupt-names = "tx", "rx0", "rx1", "sce"; |
| 344 | resets = <&rcc STM32F7_APB1_RESET(CAN2)>; |
| 345 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN2)>; |
| 346 | st,can-secondary; |
| 347 | st,gcan = <&gcan1>; |
| 348 | status = "disabled"; |
| 349 | }; |
| 350 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 351 | cec: cec@40006c00 { |
| 352 | compatible = "st,stm32-cec"; |
| 353 | reg = <0x40006C00 0x400>; |
| 354 | interrupts = <94>; |
| 355 | clocks = <&rcc 0 STM32F7_APB1_CLOCK(CEC)>, <&rcc 1 CLK_HDMI_CEC>; |
| 356 | clock-names = "cec", "hdmi-cec"; |
| 357 | status = "disabled"; |
| 358 | }; |
| 359 | |
| 360 | usart7: serial@40007800 { |
| 361 | compatible = "st,stm32f7-uart"; |
| 362 | reg = <0x40007800 0x400>; |
| 363 | interrupts = <82>; |
| 364 | clocks = <&rcc 1 CLK_UART7>; |
| 365 | status = "disabled"; |
| 366 | }; |
| 367 | |
| 368 | usart8: serial@40007c00 { |
| 369 | compatible = "st,stm32f7-uart"; |
| 370 | reg = <0x40007c00 0x400>; |
| 371 | interrupts = <83>; |
| 372 | clocks = <&rcc 1 CLK_UART8>; |
| 373 | status = "disabled"; |
| 374 | }; |
| 375 | |
| 376 | timers1: timers@40010000 { |
| 377 | #address-cells = <1>; |
| 378 | #size-cells = <0>; |
| 379 | compatible = "st,stm32-timers"; |
| 380 | reg = <0x40010000 0x400>; |
| 381 | clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM1)>; |
| 382 | clock-names = "int"; |
| 383 | status = "disabled"; |
| 384 | |
| 385 | pwm { |
| 386 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 387 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 388 | status = "disabled"; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 389 | }; |
| 390 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 391 | timer@0 { |
| 392 | compatible = "st,stm32-timer-trigger"; |
| 393 | reg = <0>; |
| 394 | status = "disabled"; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 395 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 396 | }; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 397 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 398 | timers8: timers@40010400 { |
| 399 | #address-cells = <1>; |
| 400 | #size-cells = <0>; |
| 401 | compatible = "st,stm32-timers"; |
| 402 | reg = <0x40010400 0x400>; |
| 403 | clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM8)>; |
| 404 | clock-names = "int"; |
| 405 | status = "disabled"; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 406 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 407 | pwm { |
| 408 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 409 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 410 | status = "disabled"; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 411 | }; |
| 412 | |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 413 | timer@7 { |
| 414 | compatible = "st,stm32-timer-trigger"; |
| 415 | reg = <7>; |
| 416 | status = "disabled"; |
| 417 | }; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 418 | }; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 419 | |
| 420 | usart1: serial@40011000 { |
| 421 | compatible = "st,stm32f7-uart"; |
| 422 | reg = <0x40011000 0x400>; |
| 423 | interrupts = <37>; |
| 424 | clocks = <&rcc 1 CLK_USART1>; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 425 | status = "disabled"; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 426 | }; |
| 427 | |
| 428 | usart6: serial@40011400 { |
| 429 | compatible = "st,stm32f7-uart"; |
| 430 | reg = <0x40011400 0x400>; |
| 431 | interrupts = <71>; |
| 432 | clocks = <&rcc 1 CLK_USART6>; |
| 433 | status = "disabled"; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 434 | }; |
| 435 | |
Patrice Chotard | 8397532 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 436 | sdio2: mmc@40011c00 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 437 | compatible = "arm,pl180", "arm,primecell"; |
| 438 | arm,primecell-periphid = <0x00880180>; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 439 | reg = <0x40011c00 0x400>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 440 | clocks = <&rcc 0 STM32F7_APB2_CLOCK(SDMMC2)>; |
| 441 | clock-names = "apb_pclk"; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 442 | interrupts = <103>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 443 | max-frequency = <48000000>; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 444 | status = "disabled"; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 445 | }; |
| 446 | |
Patrice Chotard | 8397532 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 447 | sdio1: mmc@40012c00 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 448 | compatible = "arm,pl180", "arm,primecell"; |
| 449 | arm,primecell-periphid = <0x00880180>; |
| 450 | reg = <0x40012c00 0x400>; |
| 451 | clocks = <&rcc 0 STM32F7_APB2_CLOCK(SDMMC1)>; |
| 452 | clock-names = "apb_pclk"; |
| 453 | interrupts = <49>; |
Patrice Chotard | 0d24b0d | 2017-12-12 10:14:59 +0100 | [diff] [blame] | 454 | max-frequency = <48000000>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 455 | status = "disabled"; |
Vikas Manocha | 2881915 | 2017-02-12 10:25:50 -0800 | [diff] [blame] | 456 | }; |
Patrice Chotard | cc4b0b0 | 2018-02-07 10:44:49 +0100 | [diff] [blame] | 457 | |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 458 | syscfg: syscon@40013800 { |
| 459 | compatible = "st,stm32-syscfg", "syscon"; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 460 | reg = <0x40013800 0x400>; |
| 461 | }; |
| 462 | |
| 463 | exti: interrupt-controller@40013c00 { |
| 464 | compatible = "st,stm32-exti"; |
| 465 | interrupt-controller; |
| 466 | #interrupt-cells = <2>; |
| 467 | reg = <0x40013C00 0x400>; |
| 468 | interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>; |
| 469 | }; |
| 470 | |
| 471 | timers9: timers@40014000 { |
| 472 | #address-cells = <1>; |
| 473 | #size-cells = <0>; |
| 474 | compatible = "st,stm32-timers"; |
| 475 | reg = <0x40014000 0x400>; |
| 476 | clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM9)>; |
| 477 | clock-names = "int"; |
| 478 | status = "disabled"; |
| 479 | |
| 480 | pwm { |
| 481 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 482 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 483 | status = "disabled"; |
| 484 | }; |
| 485 | |
| 486 | timer@8 { |
| 487 | compatible = "st,stm32-timer-trigger"; |
| 488 | reg = <8>; |
| 489 | status = "disabled"; |
| 490 | }; |
| 491 | }; |
| 492 | |
| 493 | timers10: timers@40014400 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 494 | compatible = "st,stm32-timers"; |
| 495 | reg = <0x40014400 0x400>; |
| 496 | clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM10)>; |
| 497 | clock-names = "int"; |
| 498 | status = "disabled"; |
| 499 | |
| 500 | pwm { |
| 501 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 502 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 503 | status = "disabled"; |
| 504 | }; |
| 505 | }; |
| 506 | |
| 507 | timers11: timers@40014800 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 508 | compatible = "st,stm32-timers"; |
| 509 | reg = <0x40014800 0x400>; |
| 510 | clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM11)>; |
| 511 | clock-names = "int"; |
| 512 | status = "disabled"; |
| 513 | |
| 514 | pwm { |
| 515 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 8c6e613 | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 516 | #pwm-cells = <3>; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 517 | status = "disabled"; |
| 518 | }; |
| 519 | }; |
| 520 | |
| 521 | pwrcfg: power-config@40007000 { |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 522 | compatible = "st,stm32-power-config", "syscon"; |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 523 | reg = <0x40007000 0x400>; |
| 524 | }; |
| 525 | |
| 526 | crc: crc@40023000 { |
| 527 | compatible = "st,stm32f7-crc"; |
| 528 | reg = <0x40023000 0x400>; |
| 529 | clocks = <&rcc 0 12>; |
| 530 | status = "disabled"; |
| 531 | }; |
| 532 | |
| 533 | rcc: rcc@40023800 { |
| 534 | #reset-cells = <1>; |
| 535 | #clock-cells = <2>; |
| 536 | compatible = "st,stm32f746-rcc", "st,stm32-rcc"; |
| 537 | reg = <0x40023800 0x400>; |
| 538 | clocks = <&clk_hse>, <&clk_i2s_ckin>; |
| 539 | st,syscfg = <&pwrcfg>; |
| 540 | assigned-clocks = <&rcc 1 CLK_HSE_RTC>; |
| 541 | assigned-clock-rates = <1000000>; |
| 542 | }; |
| 543 | |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 544 | dma1: dma-controller@40026000 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 545 | compatible = "st,stm32-dma"; |
| 546 | reg = <0x40026000 0x400>; |
| 547 | interrupts = <11>, |
| 548 | <12>, |
| 549 | <13>, |
| 550 | <14>, |
| 551 | <15>, |
| 552 | <16>, |
| 553 | <17>, |
| 554 | <47>; |
| 555 | clocks = <&rcc 0 STM32F7_AHB1_CLOCK(DMA1)>; |
| 556 | #dma-cells = <4>; |
| 557 | status = "disabled"; |
| 558 | }; |
| 559 | |
Patrice Chotard | 62f5616 | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 560 | dma2: dma-controller@40026400 { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 561 | compatible = "st,stm32-dma"; |
| 562 | reg = <0x40026400 0x400>; |
| 563 | interrupts = <56>, |
| 564 | <57>, |
| 565 | <58>, |
| 566 | <59>, |
| 567 | <60>, |
| 568 | <68>, |
| 569 | <69>, |
| 570 | <70>; |
| 571 | clocks = <&rcc 0 STM32F7_AHB1_CLOCK(DMA2)>; |
| 572 | #dma-cells = <4>; |
| 573 | st,mem2mem; |
| 574 | status = "disabled"; |
| 575 | }; |
| 576 | |
| 577 | usbotg_hs: usb@40040000 { |
| 578 | compatible = "st,stm32f7-hsotg"; |
| 579 | reg = <0x40040000 0x40000>; |
| 580 | interrupts = <77>; |
| 581 | clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHS)>; |
| 582 | clock-names = "otg"; |
| 583 | g-rx-fifo-size = <256>; |
| 584 | g-np-tx-fifo-size = <32>; |
| 585 | g-tx-fifo-size = <128 128 64 64 64 64 32 32>; |
| 586 | status = "disabled"; |
| 587 | }; |
| 588 | |
| 589 | usbotg_fs: usb@50000000 { |
| 590 | compatible = "st,stm32f4x9-fsotg"; |
| 591 | reg = <0x50000000 0x40000>; |
| 592 | interrupts = <67>; |
| 593 | clocks = <&rcc 0 STM32F7_AHB2_CLOCK(OTGFS)>; |
| 594 | clock-names = "otg"; |
| 595 | status = "disabled"; |
Patrice Chotard | cc4b0b0 | 2018-02-07 10:44:49 +0100 | [diff] [blame] | 596 | }; |
Michael Kurz | bccef71 | 2017-01-22 16:04:23 +0100 | [diff] [blame] | 597 | }; |
| 598 | }; |
| 599 | |
| 600 | &systick { |
Patrice Chotard | 24dffa5 | 2019-02-19 16:49:05 +0100 | [diff] [blame] | 601 | clocks = <&rcc 1 0>; |
Michael Kurz | bccef71 | 2017-01-22 16:04:23 +0100 | [diff] [blame] | 602 | status = "okay"; |
| 603 | }; |