Patrick Delaunay | e07a86b | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> |
| 4 | * |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 5 | */ |
| 6 | |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 7 | #include "armv7-m.dtsi" |
Patrice Chotard | a1e384b | 2017-09-13 18:00:11 +0200 | [diff] [blame] | 8 | #include <dt-bindings/clock/stm32h7-clks.h> |
Patrice Chotard | eccac3e | 2017-10-03 15:54:56 +0200 | [diff] [blame] | 9 | #include <dt-bindings/mfd/stm32h7-rcc.h> |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 10 | #include <dt-bindings/interrupt-controller/irq.h> |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 11 | |
| 12 | / { |
Patrick Delaunay | e07a86b | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 13 | #address-cells = <1>; |
| 14 | #size-cells = <1>; |
| 15 | |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 16 | clocks { |
| 17 | clk_hse: clk-hse { |
| 18 | #clock-cells = <0>; |
| 19 | compatible = "fixed-clock"; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 20 | clock-frequency = <0>; |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
Patrice Chotard | a1e384b | 2017-09-13 18:00:11 +0200 | [diff] [blame] | 23 | clk_lse: clk-lse { |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 24 | #clock-cells = <0>; |
| 25 | compatible = "fixed-clock"; |
Patrice Chotard | a1e384b | 2017-09-13 18:00:11 +0200 | [diff] [blame] | 26 | clock-frequency = <32768>; |
| 27 | }; |
| 28 | |
| 29 | clk_i2s: i2s_ckin { |
| 30 | #clock-cells = <0>; |
| 31 | compatible = "fixed-clock"; |
| 32 | clock-frequency = <0>; |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 33 | }; |
| 34 | }; |
| 35 | |
| 36 | soc { |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 37 | timer5: timer@40000c00 { |
| 38 | compatible = "st,stm32-timer"; |
| 39 | reg = <0x40000c00 0x400>; |
| 40 | interrupts = <50>; |
Patrice Chotard | a1e384b | 2017-09-13 18:00:11 +0200 | [diff] [blame] | 41 | clocks = <&rcc TIM5_CK>; |
| 42 | }; |
| 43 | |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 44 | lptimer1: timer@40002400 { |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <0>; |
| 47 | compatible = "st,stm32-lptimer"; |
| 48 | reg = <0x40002400 0x400>; |
| 49 | clocks = <&rcc LPTIM1_CK>; |
| 50 | clock-names = "mux"; |
| 51 | status = "disabled"; |
| 52 | |
| 53 | pwm { |
| 54 | compatible = "st,stm32-pwm-lp"; |
| 55 | #pwm-cells = <3>; |
| 56 | status = "disabled"; |
| 57 | }; |
| 58 | |
| 59 | trigger@0 { |
| 60 | compatible = "st,stm32-lptimer-trigger"; |
| 61 | reg = <0>; |
| 62 | status = "disabled"; |
| 63 | }; |
| 64 | |
| 65 | counter { |
| 66 | compatible = "st,stm32-lptimer-counter"; |
| 67 | status = "disabled"; |
| 68 | }; |
| 69 | }; |
| 70 | |
| 71 | spi2: spi@40003800 { |
| 72 | #address-cells = <1>; |
| 73 | #size-cells = <0>; |
| 74 | compatible = "st,stm32h7-spi"; |
| 75 | reg = <0x40003800 0x400>; |
| 76 | interrupts = <36>; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 77 | resets = <&rcc STM32H7_APB1L_RESET(SPI2)>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 78 | clocks = <&rcc SPI2_CK>; |
| 79 | status = "disabled"; |
| 80 | |
| 81 | }; |
| 82 | |
| 83 | spi3: spi@40003c00 { |
| 84 | #address-cells = <1>; |
| 85 | #size-cells = <0>; |
| 86 | compatible = "st,stm32h7-spi"; |
| 87 | reg = <0x40003c00 0x400>; |
| 88 | interrupts = <51>; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 89 | resets = <&rcc STM32H7_APB1L_RESET(SPI3)>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 90 | clocks = <&rcc SPI3_CK>; |
| 91 | status = "disabled"; |
| 92 | }; |
| 93 | |
| 94 | usart2: serial@40004400 { |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 95 | compatible = "st,stm32h7-uart"; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 96 | reg = <0x40004400 0x400>; |
| 97 | interrupts = <38>; |
| 98 | status = "disabled"; |
| 99 | clocks = <&rcc USART2_CK>; |
| 100 | }; |
| 101 | |
dillon min | 4035022 | 2021-04-09 15:28:42 +0800 | [diff] [blame] | 102 | usart3: serial@40004800 { |
| 103 | compatible = "st,stm32h7-uart"; |
| 104 | reg = <0x40004800 0x400>; |
| 105 | interrupts = <39>; |
| 106 | status = "disabled"; |
| 107 | clocks = <&rcc USART3_CK>; |
| 108 | }; |
| 109 | |
| 110 | uart4: serial@40004c00 { |
| 111 | compatible = "st,stm32h7-uart"; |
| 112 | reg = <0x40004c00 0x400>; |
| 113 | interrupts = <52>; |
| 114 | status = "disabled"; |
| 115 | clocks = <&rcc UART4_CK>; |
| 116 | }; |
| 117 | |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 118 | i2c1: i2c@40005400 { |
| 119 | compatible = "st,stm32f7-i2c"; |
| 120 | #address-cells = <1>; |
| 121 | #size-cells = <0>; |
| 122 | reg = <0x40005400 0x400>; |
| 123 | interrupts = <31>, |
| 124 | <32>; |
| 125 | resets = <&rcc STM32H7_APB1L_RESET(I2C1)>; |
| 126 | clocks = <&rcc I2C1_CK>; |
| 127 | status = "disabled"; |
| 128 | }; |
| 129 | |
| 130 | i2c2: i2c@40005800 { |
| 131 | compatible = "st,stm32f7-i2c"; |
| 132 | #address-cells = <1>; |
| 133 | #size-cells = <0>; |
| 134 | reg = <0x40005800 0x400>; |
| 135 | interrupts = <33>, |
| 136 | <34>; |
| 137 | resets = <&rcc STM32H7_APB1L_RESET(I2C2)>; |
| 138 | clocks = <&rcc I2C2_CK>; |
| 139 | status = "disabled"; |
| 140 | }; |
| 141 | |
dillon min | bddaaed | 2021-04-09 15:28:43 +0800 | [diff] [blame] | 142 | i2c3: i2c@40005c00 { |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 143 | compatible = "st,stm32f7-i2c"; |
| 144 | #address-cells = <1>; |
| 145 | #size-cells = <0>; |
| 146 | reg = <0x40005C00 0x400>; |
| 147 | interrupts = <72>, |
| 148 | <73>; |
| 149 | resets = <&rcc STM32H7_APB1L_RESET(I2C3)>; |
| 150 | clocks = <&rcc I2C3_CK>; |
| 151 | status = "disabled"; |
| 152 | }; |
| 153 | |
| 154 | dac: dac@40007400 { |
| 155 | compatible = "st,stm32h7-dac-core"; |
| 156 | reg = <0x40007400 0x400>; |
| 157 | clocks = <&rcc DAC12_CK>; |
| 158 | clock-names = "pclk"; |
| 159 | #address-cells = <1>; |
| 160 | #size-cells = <0>; |
| 161 | status = "disabled"; |
| 162 | |
| 163 | dac1: dac@1 { |
| 164 | compatible = "st,stm32-dac"; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 165 | #io-channel-cells = <1>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 166 | reg = <1>; |
| 167 | status = "disabled"; |
| 168 | }; |
| 169 | |
| 170 | dac2: dac@2 { |
| 171 | compatible = "st,stm32-dac"; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 172 | #io-channel-cells = <1>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 173 | reg = <2>; |
| 174 | status = "disabled"; |
| 175 | }; |
| 176 | }; |
| 177 | |
| 178 | usart1: serial@40011000 { |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 179 | compatible = "st,stm32h7-uart"; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 180 | reg = <0x40011000 0x400>; |
| 181 | interrupts = <37>; |
| 182 | status = "disabled"; |
| 183 | clocks = <&rcc USART1_CK>; |
| 184 | }; |
| 185 | |
| 186 | spi1: spi@40013000 { |
| 187 | #address-cells = <1>; |
| 188 | #size-cells = <0>; |
| 189 | compatible = "st,stm32h7-spi"; |
| 190 | reg = <0x40013000 0x400>; |
| 191 | interrupts = <35>; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 192 | resets = <&rcc STM32H7_APB2_RESET(SPI1)>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 193 | clocks = <&rcc SPI1_CK>; |
| 194 | status = "disabled"; |
| 195 | }; |
| 196 | |
| 197 | spi4: spi@40013400 { |
| 198 | #address-cells = <1>; |
| 199 | #size-cells = <0>; |
| 200 | compatible = "st,stm32h7-spi"; |
| 201 | reg = <0x40013400 0x400>; |
| 202 | interrupts = <84>; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 203 | resets = <&rcc STM32H7_APB2_RESET(SPI4)>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 204 | clocks = <&rcc SPI4_CK>; |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | spi5: spi@40015000 { |
| 209 | #address-cells = <1>; |
| 210 | #size-cells = <0>; |
| 211 | compatible = "st,stm32h7-spi"; |
| 212 | reg = <0x40015000 0x400>; |
| 213 | interrupts = <85>; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 214 | resets = <&rcc STM32H7_APB2_RESET(SPI5)>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 215 | clocks = <&rcc SPI5_CK>; |
| 216 | status = "disabled"; |
| 217 | }; |
| 218 | |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 219 | dma1: dma-controller@40020000 { |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 220 | compatible = "st,stm32-dma"; |
| 221 | reg = <0x40020000 0x400>; |
| 222 | interrupts = <11>, |
| 223 | <12>, |
| 224 | <13>, |
| 225 | <14>, |
| 226 | <15>, |
| 227 | <16>, |
| 228 | <17>, |
| 229 | <47>; |
| 230 | clocks = <&rcc DMA1_CK>; |
| 231 | #dma-cells = <4>; |
| 232 | st,mem2mem; |
| 233 | dma-requests = <8>; |
| 234 | status = "disabled"; |
| 235 | }; |
| 236 | |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 237 | dma2: dma-controller@40020400 { |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 238 | compatible = "st,stm32-dma"; |
| 239 | reg = <0x40020400 0x400>; |
| 240 | interrupts = <56>, |
| 241 | <57>, |
| 242 | <58>, |
| 243 | <59>, |
| 244 | <60>, |
| 245 | <68>, |
| 246 | <69>, |
| 247 | <70>; |
| 248 | clocks = <&rcc DMA2_CK>; |
| 249 | #dma-cells = <4>; |
| 250 | st,mem2mem; |
| 251 | dma-requests = <8>; |
| 252 | status = "disabled"; |
| 253 | }; |
| 254 | |
| 255 | dmamux1: dma-router@40020800 { |
| 256 | compatible = "st,stm32h7-dmamux"; |
dillon min | bddaaed | 2021-04-09 15:28:43 +0800 | [diff] [blame] | 257 | reg = <0x40020800 0x40>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 258 | #dma-cells = <3>; |
| 259 | dma-channels = <16>; |
| 260 | dma-requests = <128>; |
| 261 | dma-masters = <&dma1 &dma2>; |
| 262 | clocks = <&rcc DMA1_CK>; |
| 263 | }; |
| 264 | |
| 265 | adc_12: adc@40022000 { |
| 266 | compatible = "st,stm32h7-adc-core"; |
| 267 | reg = <0x40022000 0x400>; |
| 268 | interrupts = <18>; |
| 269 | clocks = <&rcc ADC12_CK>; |
| 270 | clock-names = "bus"; |
| 271 | interrupt-controller; |
| 272 | #interrupt-cells = <1>; |
| 273 | #address-cells = <1>; |
| 274 | #size-cells = <0>; |
| 275 | status = "disabled"; |
| 276 | |
| 277 | adc1: adc@0 { |
| 278 | compatible = "st,stm32h7-adc"; |
| 279 | #io-channel-cells = <1>; |
| 280 | reg = <0x0>; |
| 281 | interrupt-parent = <&adc_12>; |
| 282 | interrupts = <0>; |
| 283 | status = "disabled"; |
| 284 | }; |
| 285 | |
| 286 | adc2: adc@100 { |
| 287 | compatible = "st,stm32h7-adc"; |
| 288 | #io-channel-cells = <1>; |
| 289 | reg = <0x100>; |
| 290 | interrupt-parent = <&adc_12>; |
| 291 | interrupts = <1>; |
| 292 | status = "disabled"; |
| 293 | }; |
| 294 | }; |
| 295 | |
| 296 | usbotg_hs: usb@40040000 { |
| 297 | compatible = "st,stm32f7-hsotg"; |
| 298 | reg = <0x40040000 0x40000>; |
| 299 | interrupts = <77>; |
| 300 | clocks = <&rcc USB1OTG_CK>; |
| 301 | clock-names = "otg"; |
| 302 | g-rx-fifo-size = <256>; |
| 303 | g-np-tx-fifo-size = <32>; |
| 304 | g-tx-fifo-size = <128 128 64 64 64 64 32 32>; |
| 305 | status = "disabled"; |
| 306 | }; |
| 307 | |
| 308 | usbotg_fs: usb@40080000 { |
| 309 | compatible = "st,stm32f4x9-fsotg"; |
| 310 | reg = <0x40080000 0x40000>; |
| 311 | interrupts = <101>; |
| 312 | clocks = <&rcc USB2OTG_CK>; |
| 313 | clock-names = "otg"; |
| 314 | status = "disabled"; |
| 315 | }; |
| 316 | |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 317 | ltdc: display-controller@50001000 { |
| 318 | compatible = "st,stm32-ltdc"; |
| 319 | reg = <0x50001000 0x200>; |
| 320 | interrupts = <88>, <89>; |
| 321 | resets = <&rcc STM32H7_APB3_RESET(LTDC)>; |
| 322 | clocks = <&rcc LTDC_CK>; |
| 323 | clock-names = "lcd"; |
| 324 | status = "disabled"; |
| 325 | }; |
| 326 | |
| 327 | mdma1: dma-controller@52000000 { |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 328 | compatible = "st,stm32h7-mdma"; |
| 329 | reg = <0x52000000 0x1000>; |
| 330 | interrupts = <122>; |
| 331 | clocks = <&rcc MDMA_CK>; |
| 332 | #dma-cells = <5>; |
| 333 | dma-channels = <16>; |
| 334 | dma-requests = <32>; |
| 335 | }; |
| 336 | |
Patrice Chotard | 9f603e2 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 337 | sdmmc1: mmc@52007000 { |
Patrick Delaunay | e07a86b | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 338 | compatible = "arm,pl18x", "arm,primecell"; |
| 339 | arm,primecell-periphid = <0x10153180>; |
| 340 | reg = <0x52007000 0x1000>; |
| 341 | interrupts = <49>; |
Patrick Delaunay | e07a86b | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 342 | clocks = <&rcc SDMMC1_CK>; |
| 343 | clock-names = "apb_pclk"; |
| 344 | resets = <&rcc STM32H7_AHB3_RESET(SDMMC1)>; |
| 345 | cap-sd-highspeed; |
| 346 | cap-mmc-highspeed; |
| 347 | max-frequency = <120000000>; |
| 348 | }; |
| 349 | |
Patrice Chotard | 9f603e2 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 350 | sdmmc2: mmc@48022400 { |
dillon min | 4035022 | 2021-04-09 15:28:42 +0800 | [diff] [blame] | 351 | compatible = "arm,pl18x", "arm,primecell"; |
| 352 | arm,primecell-periphid = <0x10153180>; |
| 353 | reg = <0x48022400 0x400>; |
| 354 | interrupts = <124>; |
dillon min | 4035022 | 2021-04-09 15:28:42 +0800 | [diff] [blame] | 355 | clocks = <&rcc SDMMC2_CK>; |
| 356 | clock-names = "apb_pclk"; |
| 357 | resets = <&rcc STM32H7_AHB2_RESET(SDMMC2)>; |
| 358 | cap-sd-highspeed; |
| 359 | cap-mmc-highspeed; |
| 360 | max-frequency = <120000000>; |
Patrice Chotard | 9f603e2 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 361 | status = "disabled"; |
dillon min | 4035022 | 2021-04-09 15:28:42 +0800 | [diff] [blame] | 362 | }; |
| 363 | |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 364 | exti: interrupt-controller@58000000 { |
| 365 | compatible = "st,stm32h7-exti"; |
| 366 | interrupt-controller; |
| 367 | #interrupt-cells = <2>; |
| 368 | reg = <0x58000000 0x400>; |
| 369 | interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <62>, <76>; |
| 370 | }; |
| 371 | |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 372 | syscfg: syscon@58000400 { |
| 373 | compatible = "st,stm32-syscfg", "syscon"; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 374 | reg = <0x58000400 0x400>; |
| 375 | }; |
| 376 | |
| 377 | spi6: spi@58001400 { |
| 378 | #address-cells = <1>; |
| 379 | #size-cells = <0>; |
| 380 | compatible = "st,stm32h7-spi"; |
| 381 | reg = <0x58001400 0x400>; |
| 382 | interrupts = <86>; |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 383 | resets = <&rcc STM32H7_APB4_RESET(SPI6)>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 384 | clocks = <&rcc SPI6_CK>; |
| 385 | status = "disabled"; |
| 386 | }; |
| 387 | |
dillon min | bddaaed | 2021-04-09 15:28:43 +0800 | [diff] [blame] | 388 | i2c4: i2c@58001c00 { |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 389 | compatible = "st,stm32f7-i2c"; |
| 390 | #address-cells = <1>; |
| 391 | #size-cells = <0>; |
| 392 | reg = <0x58001C00 0x400>; |
| 393 | interrupts = <95>, |
| 394 | <96>; |
| 395 | resets = <&rcc STM32H7_APB4_RESET(I2C4)>; |
| 396 | clocks = <&rcc I2C4_CK>; |
| 397 | status = "disabled"; |
| 398 | }; |
| 399 | |
| 400 | lptimer2: timer@58002400 { |
| 401 | #address-cells = <1>; |
| 402 | #size-cells = <0>; |
| 403 | compatible = "st,stm32-lptimer"; |
| 404 | reg = <0x58002400 0x400>; |
| 405 | clocks = <&rcc LPTIM2_CK>; |
| 406 | clock-names = "mux"; |
| 407 | status = "disabled"; |
| 408 | |
| 409 | pwm { |
| 410 | compatible = "st,stm32-pwm-lp"; |
| 411 | #pwm-cells = <3>; |
| 412 | status = "disabled"; |
| 413 | }; |
| 414 | |
| 415 | trigger@1 { |
| 416 | compatible = "st,stm32-lptimer-trigger"; |
| 417 | reg = <1>; |
| 418 | status = "disabled"; |
| 419 | }; |
| 420 | |
| 421 | counter { |
| 422 | compatible = "st,stm32-lptimer-counter"; |
| 423 | status = "disabled"; |
| 424 | }; |
| 425 | }; |
| 426 | |
| 427 | lptimer3: timer@58002800 { |
| 428 | #address-cells = <1>; |
| 429 | #size-cells = <0>; |
| 430 | compatible = "st,stm32-lptimer"; |
| 431 | reg = <0x58002800 0x400>; |
| 432 | clocks = <&rcc LPTIM3_CK>; |
| 433 | clock-names = "mux"; |
| 434 | status = "disabled"; |
| 435 | |
| 436 | pwm { |
| 437 | compatible = "st,stm32-pwm-lp"; |
| 438 | #pwm-cells = <3>; |
| 439 | status = "disabled"; |
| 440 | }; |
| 441 | |
| 442 | trigger@2 { |
| 443 | compatible = "st,stm32-lptimer-trigger"; |
| 444 | reg = <2>; |
| 445 | status = "disabled"; |
| 446 | }; |
| 447 | }; |
| 448 | |
| 449 | lptimer4: timer@58002c00 { |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 450 | compatible = "st,stm32-lptimer"; |
| 451 | reg = <0x58002c00 0x400>; |
| 452 | clocks = <&rcc LPTIM4_CK>; |
| 453 | clock-names = "mux"; |
| 454 | status = "disabled"; |
| 455 | |
| 456 | pwm { |
| 457 | compatible = "st,stm32-pwm-lp"; |
| 458 | #pwm-cells = <3>; |
| 459 | status = "disabled"; |
| 460 | }; |
| 461 | }; |
| 462 | |
| 463 | lptimer5: timer@58003000 { |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 464 | compatible = "st,stm32-lptimer"; |
| 465 | reg = <0x58003000 0x400>; |
| 466 | clocks = <&rcc LPTIM5_CK>; |
| 467 | clock-names = "mux"; |
| 468 | status = "disabled"; |
| 469 | |
| 470 | pwm { |
| 471 | compatible = "st,stm32-pwm-lp"; |
| 472 | #pwm-cells = <3>; |
| 473 | status = "disabled"; |
| 474 | }; |
| 475 | }; |
| 476 | |
| 477 | vrefbuf: regulator@58003c00 { |
| 478 | compatible = "st,stm32-vrefbuf"; |
| 479 | reg = <0x58003C00 0x8>; |
| 480 | clocks = <&rcc VREF_CK>; |
| 481 | regulator-min-microvolt = <1500000>; |
| 482 | regulator-max-microvolt = <2500000>; |
| 483 | status = "disabled"; |
| 484 | }; |
| 485 | |
| 486 | rtc: rtc@58004000 { |
| 487 | compatible = "st,stm32h7-rtc"; |
| 488 | reg = <0x58004000 0x400>; |
| 489 | clocks = <&rcc RTCAPB_CK>, <&rcc RTC_CK>; |
| 490 | clock-names = "pclk", "rtc_ck"; |
| 491 | assigned-clocks = <&rcc RTC_CK>; |
| 492 | assigned-clock-parents = <&rcc LSE_CK>; |
| 493 | interrupt-parent = <&exti>; |
| 494 | interrupts = <17 IRQ_TYPE_EDGE_RISING>; |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 495 | st,syscfg = <&pwrcfg 0x00 0x100>; |
| 496 | status = "disabled"; |
| 497 | }; |
| 498 | |
| 499 | rcc: reset-clock-controller@58024400 { |
| 500 | compatible = "st,stm32h743-rcc", "st,stm32-rcc"; |
| 501 | reg = <0x58024400 0x400>; |
| 502 | #clock-cells = <1>; |
| 503 | #reset-cells = <1>; |
| 504 | clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>; |
| 505 | st,syscfg = <&pwrcfg>; |
| 506 | }; |
| 507 | |
Patrice Chotard | a1e384b | 2017-09-13 18:00:11 +0200 | [diff] [blame] | 508 | pwrcfg: power-config@58024800 { |
Patrice Chotard | 61c88ac | 2020-11-06 08:11:58 +0100 | [diff] [blame] | 509 | compatible = "st,stm32-power-config", "syscon"; |
Patrice Chotard | a1e384b | 2017-09-13 18:00:11 +0200 | [diff] [blame] | 510 | reg = <0x58024800 0x400>; |
| 511 | }; |
| 512 | |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 513 | adc_3: adc@58026000 { |
| 514 | compatible = "st,stm32h7-adc-core"; |
| 515 | reg = <0x58026000 0x400>; |
| 516 | interrupts = <127>; |
| 517 | clocks = <&rcc ADC3_CK>; |
| 518 | clock-names = "bus"; |
| 519 | interrupt-controller; |
| 520 | #interrupt-cells = <1>; |
| 521 | #address-cells = <1>; |
| 522 | #size-cells = <0>; |
| 523 | status = "disabled"; |
Patrice Chotard | a1e384b | 2017-09-13 18:00:11 +0200 | [diff] [blame] | 524 | |
Patrice Chotard | 13ba6d0 | 2018-12-06 11:53:39 +0100 | [diff] [blame] | 525 | adc3: adc@0 { |
| 526 | compatible = "st,stm32h7-adc"; |
| 527 | #io-channel-cells = <1>; |
| 528 | reg = <0x0>; |
| 529 | interrupt-parent = <&adc_3>; |
| 530 | interrupts = <0>; |
| 531 | status = "disabled"; |
| 532 | }; |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 533 | }; |
Patrick Delaunay | e07a86b | 2019-11-06 16:16:32 +0100 | [diff] [blame] | 534 | |
| 535 | mac: ethernet@40028000 { |
| 536 | compatible = "st,stm32-dwmac", "snps,dwmac-4.10a"; |
| 537 | reg = <0x40028000 0x8000>; |
| 538 | reg-names = "stmmaceth"; |
| 539 | interrupts = <61>; |
| 540 | interrupt-names = "macirq"; |
| 541 | clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx"; |
| 542 | clocks = <&rcc ETH1MAC_CK>, <&rcc ETH1TX_CK>, <&rcc ETH1RX_CK>; |
| 543 | st,syscon = <&syscfg 0x4>; |
| 544 | snps,pbl = <8>; |
| 545 | status = "disabled"; |
| 546 | }; |
dillon min | e690ff4 | 2021-04-09 15:28:41 +0800 | [diff] [blame] | 547 | |
Patrice Chotard | 9f603e2 | 2022-09-23 13:20:33 +0200 | [diff] [blame] | 548 | pinctrl: pinctrl@58020000 { |
dillon min | e690ff4 | 2021-04-09 15:28:41 +0800 | [diff] [blame] | 549 | #address-cells = <1>; |
| 550 | #size-cells = <1>; |
| 551 | compatible = "st,stm32h743-pinctrl"; |
| 552 | ranges = <0 0x58020000 0x3000>; |
| 553 | interrupt-parent = <&exti>; |
| 554 | st,syscfg = <&syscfg 0x8>; |
| 555 | pins-are-numbered; |
| 556 | |
| 557 | gpioa: gpio@58020000 { |
| 558 | gpio-controller; |
| 559 | #gpio-cells = <2>; |
| 560 | reg = <0x0 0x400>; |
| 561 | clocks = <&rcc GPIOA_CK>; |
| 562 | st,bank-name = "GPIOA"; |
| 563 | interrupt-controller; |
| 564 | #interrupt-cells = <2>; |
| 565 | ngpios = <16>; |
| 566 | gpio-ranges = <&pinctrl 0 0 16>; |
| 567 | }; |
| 568 | |
| 569 | gpiob: gpio@58020400 { |
| 570 | gpio-controller; |
| 571 | #gpio-cells = <2>; |
| 572 | reg = <0x400 0x400>; |
| 573 | clocks = <&rcc GPIOB_CK>; |
| 574 | st,bank-name = "GPIOB"; |
| 575 | interrupt-controller; |
| 576 | #interrupt-cells = <2>; |
| 577 | ngpios = <16>; |
| 578 | gpio-ranges = <&pinctrl 0 16 16>; |
| 579 | }; |
| 580 | |
| 581 | gpioc: gpio@58020800 { |
| 582 | gpio-controller; |
| 583 | #gpio-cells = <2>; |
| 584 | reg = <0x800 0x400>; |
| 585 | clocks = <&rcc GPIOC_CK>; |
| 586 | st,bank-name = "GPIOC"; |
| 587 | interrupt-controller; |
| 588 | #interrupt-cells = <2>; |
| 589 | ngpios = <16>; |
| 590 | gpio-ranges = <&pinctrl 0 32 16>; |
| 591 | }; |
| 592 | |
| 593 | gpiod: gpio@58020c00 { |
| 594 | gpio-controller; |
| 595 | #gpio-cells = <2>; |
| 596 | reg = <0xc00 0x400>; |
| 597 | clocks = <&rcc GPIOD_CK>; |
| 598 | st,bank-name = "GPIOD"; |
| 599 | interrupt-controller; |
| 600 | #interrupt-cells = <2>; |
| 601 | ngpios = <16>; |
| 602 | gpio-ranges = <&pinctrl 0 48 16>; |
| 603 | }; |
| 604 | |
| 605 | gpioe: gpio@58021000 { |
| 606 | gpio-controller; |
| 607 | #gpio-cells = <2>; |
| 608 | reg = <0x1000 0x400>; |
| 609 | clocks = <&rcc GPIOE_CK>; |
| 610 | st,bank-name = "GPIOE"; |
| 611 | interrupt-controller; |
| 612 | #interrupt-cells = <2>; |
| 613 | ngpios = <16>; |
| 614 | gpio-ranges = <&pinctrl 0 64 16>; |
| 615 | }; |
| 616 | |
| 617 | gpiof: gpio@58021400 { |
| 618 | gpio-controller; |
| 619 | #gpio-cells = <2>; |
| 620 | reg = <0x1400 0x400>; |
| 621 | clocks = <&rcc GPIOF_CK>; |
| 622 | st,bank-name = "GPIOF"; |
| 623 | interrupt-controller; |
| 624 | #interrupt-cells = <2>; |
| 625 | ngpios = <16>; |
| 626 | gpio-ranges = <&pinctrl 0 80 16>; |
| 627 | }; |
| 628 | |
| 629 | gpiog: gpio@58021800 { |
| 630 | gpio-controller; |
| 631 | #gpio-cells = <2>; |
| 632 | reg = <0x1800 0x400>; |
| 633 | clocks = <&rcc GPIOG_CK>; |
| 634 | st,bank-name = "GPIOG"; |
| 635 | interrupt-controller; |
| 636 | #interrupt-cells = <2>; |
| 637 | ngpios = <16>; |
| 638 | gpio-ranges = <&pinctrl 0 96 16>; |
| 639 | }; |
| 640 | |
| 641 | gpioh: gpio@58021c00 { |
| 642 | gpio-controller; |
| 643 | #gpio-cells = <2>; |
| 644 | reg = <0x1c00 0x400>; |
| 645 | clocks = <&rcc GPIOH_CK>; |
| 646 | st,bank-name = "GPIOH"; |
| 647 | interrupt-controller; |
| 648 | #interrupt-cells = <2>; |
| 649 | ngpios = <16>; |
| 650 | gpio-ranges = <&pinctrl 0 112 16>; |
| 651 | }; |
| 652 | |
| 653 | gpioi: gpio@58022000 { |
| 654 | gpio-controller; |
| 655 | #gpio-cells = <2>; |
| 656 | reg = <0x2000 0x400>; |
| 657 | clocks = <&rcc GPIOI_CK>; |
| 658 | st,bank-name = "GPIOI"; |
| 659 | interrupt-controller; |
| 660 | #interrupt-cells = <2>; |
| 661 | ngpios = <16>; |
| 662 | gpio-ranges = <&pinctrl 0 128 16>; |
| 663 | }; |
| 664 | |
| 665 | gpioj: gpio@58022400 { |
| 666 | gpio-controller; |
| 667 | #gpio-cells = <2>; |
| 668 | reg = <0x2400 0x400>; |
| 669 | clocks = <&rcc GPIOJ_CK>; |
| 670 | st,bank-name = "GPIOJ"; |
| 671 | interrupt-controller; |
| 672 | #interrupt-cells = <2>; |
| 673 | ngpios = <16>; |
| 674 | gpio-ranges = <&pinctrl 0 144 16>; |
| 675 | }; |
| 676 | |
| 677 | gpiok: gpio@58022800 { |
| 678 | gpio-controller; |
| 679 | #gpio-cells = <2>; |
| 680 | reg = <0x2800 0x400>; |
| 681 | clocks = <&rcc GPIOK_CK>; |
| 682 | st,bank-name = "GPIOK"; |
| 683 | interrupt-controller; |
| 684 | #interrupt-cells = <2>; |
| 685 | ngpios = <8>; |
| 686 | gpio-ranges = <&pinctrl 0 160 8>; |
| 687 | }; |
| 688 | }; |
Patrice Chotard | d983a0f | 2017-09-13 18:00:09 +0200 | [diff] [blame] | 689 | }; |
| 690 | }; |
| 691 | |
| 692 | &systick { |
| 693 | clock-frequency = <250000000>; |
| 694 | status = "okay"; |
| 695 | }; |