Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2017 - All Rights Reserved |
| 4 | * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. |
| 5 | */ |
| 6 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 7 | #include <dt-bindings/clock/stm32mp1-clks.h> |
| 8 | #include <dt-bindings/reset/stm32mp1-resets.h> |
| 9 | |
| 10 | / { |
| 11 | #address-cells = <1>; |
| 12 | #size-cells = <1>; |
| 13 | |
| 14 | cpus { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <0>; |
| 17 | |
| 18 | cpu0: cpu@0 { |
| 19 | compatible = "arm,cortex-a7"; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 20 | clock-frequency = <650000000>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 21 | device_type = "cpu"; |
| 22 | reg = <0>; |
Patrick Delaunay | 6f2e0ad | 2020-05-25 12:19:42 +0200 | [diff] [blame] | 23 | operating-points-v2 = <&cpu0_opp_table>; |
| 24 | nvmem-cells = <&part_number_otp>; |
| 25 | nvmem-cell-names = "part_number"; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | cpu0_opp_table: cpu0-opp-table { |
| 30 | compatible = "operating-points-v2"; |
| 31 | opp-shared; |
| 32 | opp-650000000 { |
| 33 | opp-hz = /bits/ 64 <650000000>; |
| 34 | opp-microvolt = <1200000>; |
| 35 | opp-supported-hw = <0x1>; |
| 36 | }; |
| 37 | opp-800000000 { |
| 38 | opp-hz = /bits/ 64 <800000000>; |
| 39 | opp-microvolt = <1350000>; |
| 40 | opp-supported-hw = <0x2>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 41 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 42 | }; |
| 43 | |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 44 | arm-pmu { |
| 45 | compatible = "arm,cortex-a7-pmu"; |
| 46 | interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>; |
| 47 | interrupt-affinity = <&cpu0>; |
| 48 | interrupt-parent = <&intc>; |
| 49 | }; |
| 50 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 51 | psci { |
Patrick Delaunay | c8a6668 | 2019-02-04 11:26:21 +0100 | [diff] [blame] | 52 | compatible = "arm,psci-1.0"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 53 | method = "smc"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 54 | }; |
| 55 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 56 | intc: interrupt-controller@a0021000 { |
| 57 | compatible = "arm,cortex-a7-gic"; |
| 58 | #interrupt-cells = <3>; |
| 59 | interrupt-controller; |
| 60 | reg = <0xa0021000 0x1000>, |
| 61 | <0xa0022000 0x2000>; |
| 62 | }; |
| 63 | |
| 64 | timer { |
| 65 | compatible = "arm,armv7-timer"; |
| 66 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 67 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 68 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 69 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
| 70 | interrupt-parent = <&intc>; |
| 71 | }; |
| 72 | |
| 73 | clocks { |
| 74 | clk_hse: clk-hse { |
| 75 | #clock-cells = <0>; |
| 76 | compatible = "fixed-clock"; |
| 77 | clock-frequency = <24000000>; |
| 78 | }; |
| 79 | |
| 80 | clk_hsi: clk-hsi { |
| 81 | #clock-cells = <0>; |
| 82 | compatible = "fixed-clock"; |
| 83 | clock-frequency = <64000000>; |
| 84 | }; |
| 85 | |
| 86 | clk_lse: clk-lse { |
| 87 | #clock-cells = <0>; |
| 88 | compatible = "fixed-clock"; |
| 89 | clock-frequency = <32768>; |
| 90 | }; |
| 91 | |
| 92 | clk_lsi: clk-lsi { |
| 93 | #clock-cells = <0>; |
| 94 | compatible = "fixed-clock"; |
| 95 | clock-frequency = <32000>; |
| 96 | }; |
| 97 | |
| 98 | clk_csi: clk-csi { |
| 99 | #clock-cells = <0>; |
| 100 | compatible = "fixed-clock"; |
| 101 | clock-frequency = <4000000>; |
| 102 | }; |
| 103 | }; |
| 104 | |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 105 | thermal-zones { |
| 106 | cpu_thermal: cpu-thermal { |
| 107 | polling-delay-passive = <0>; |
| 108 | polling-delay = <0>; |
| 109 | thermal-sensors = <&dts>; |
| 110 | |
| 111 | trips { |
| 112 | cpu_alert1: cpu-alert1 { |
| 113 | temperature = <85000>; |
| 114 | hysteresis = <0>; |
| 115 | type = "passive"; |
| 116 | }; |
| 117 | |
| 118 | cpu-crit { |
| 119 | temperature = <120000>; |
| 120 | hysteresis = <0>; |
| 121 | type = "critical"; |
| 122 | }; |
| 123 | }; |
| 124 | |
| 125 | cooling-maps { |
| 126 | }; |
| 127 | }; |
| 128 | }; |
| 129 | |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 130 | booster: regulator-booster { |
| 131 | compatible = "st,stm32mp1-booster"; |
| 132 | st,syscfg = <&syscfg>; |
| 133 | status = "disabled"; |
| 134 | }; |
| 135 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 136 | soc { |
| 137 | compatible = "simple-bus"; |
| 138 | #address-cells = <1>; |
| 139 | #size-cells = <1>; |
| 140 | interrupt-parent = <&intc>; |
| 141 | ranges; |
| 142 | |
| 143 | timers2: timer@40000000 { |
| 144 | #address-cells = <1>; |
| 145 | #size-cells = <0>; |
| 146 | compatible = "st,stm32-timers"; |
| 147 | reg = <0x40000000 0x400>; |
| 148 | clocks = <&rcc TIM2_K>; |
| 149 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 150 | dmas = <&dmamux1 18 0x400 0x1>, |
| 151 | <&dmamux1 19 0x400 0x1>, |
| 152 | <&dmamux1 20 0x400 0x1>, |
| 153 | <&dmamux1 21 0x400 0x1>, |
| 154 | <&dmamux1 22 0x400 0x1>; |
| 155 | dma-names = "ch1", "ch2", "ch3", "ch4", "up"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 156 | status = "disabled"; |
| 157 | |
| 158 | pwm { |
| 159 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 160 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 161 | status = "disabled"; |
| 162 | }; |
| 163 | |
| 164 | timer@1 { |
| 165 | compatible = "st,stm32h7-timer-trigger"; |
| 166 | reg = <1>; |
| 167 | status = "disabled"; |
| 168 | }; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 169 | |
| 170 | counter { |
| 171 | compatible = "st,stm32-timer-counter"; |
| 172 | status = "disabled"; |
| 173 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 174 | }; |
| 175 | |
| 176 | timers3: timer@40001000 { |
| 177 | #address-cells = <1>; |
| 178 | #size-cells = <0>; |
| 179 | compatible = "st,stm32-timers"; |
| 180 | reg = <0x40001000 0x400>; |
| 181 | clocks = <&rcc TIM3_K>; |
| 182 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 183 | dmas = <&dmamux1 23 0x400 0x1>, |
| 184 | <&dmamux1 24 0x400 0x1>, |
| 185 | <&dmamux1 25 0x400 0x1>, |
| 186 | <&dmamux1 26 0x400 0x1>, |
| 187 | <&dmamux1 27 0x400 0x1>, |
| 188 | <&dmamux1 28 0x400 0x1>; |
| 189 | dma-names = "ch1", "ch2", "ch3", "ch4", "up", "trig"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 190 | status = "disabled"; |
| 191 | |
| 192 | pwm { |
| 193 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 194 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 195 | status = "disabled"; |
| 196 | }; |
| 197 | |
| 198 | timer@2 { |
| 199 | compatible = "st,stm32h7-timer-trigger"; |
| 200 | reg = <2>; |
| 201 | status = "disabled"; |
| 202 | }; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 203 | |
| 204 | counter { |
| 205 | compatible = "st,stm32-timer-counter"; |
| 206 | status = "disabled"; |
| 207 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 208 | }; |
| 209 | |
| 210 | timers4: timer@40002000 { |
| 211 | #address-cells = <1>; |
| 212 | #size-cells = <0>; |
| 213 | compatible = "st,stm32-timers"; |
| 214 | reg = <0x40002000 0x400>; |
| 215 | clocks = <&rcc TIM4_K>; |
| 216 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 217 | dmas = <&dmamux1 29 0x400 0x1>, |
| 218 | <&dmamux1 30 0x400 0x1>, |
| 219 | <&dmamux1 31 0x400 0x1>, |
| 220 | <&dmamux1 32 0x400 0x1>; |
| 221 | dma-names = "ch1", "ch2", "ch3", "ch4"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 222 | status = "disabled"; |
| 223 | |
| 224 | pwm { |
| 225 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 226 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 227 | status = "disabled"; |
| 228 | }; |
| 229 | |
| 230 | timer@3 { |
| 231 | compatible = "st,stm32h7-timer-trigger"; |
| 232 | reg = <3>; |
| 233 | status = "disabled"; |
| 234 | }; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 235 | |
| 236 | counter { |
| 237 | compatible = "st,stm32-timer-counter"; |
| 238 | status = "disabled"; |
| 239 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 240 | }; |
| 241 | |
| 242 | timers5: timer@40003000 { |
| 243 | #address-cells = <1>; |
| 244 | #size-cells = <0>; |
| 245 | compatible = "st,stm32-timers"; |
| 246 | reg = <0x40003000 0x400>; |
| 247 | clocks = <&rcc TIM5_K>; |
| 248 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 249 | dmas = <&dmamux1 55 0x400 0x1>, |
| 250 | <&dmamux1 56 0x400 0x1>, |
| 251 | <&dmamux1 57 0x400 0x1>, |
| 252 | <&dmamux1 58 0x400 0x1>, |
| 253 | <&dmamux1 59 0x400 0x1>, |
| 254 | <&dmamux1 60 0x400 0x1>; |
| 255 | dma-names = "ch1", "ch2", "ch3", "ch4", "up", "trig"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 256 | status = "disabled"; |
| 257 | |
| 258 | pwm { |
| 259 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 260 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 261 | status = "disabled"; |
| 262 | }; |
| 263 | |
| 264 | timer@4 { |
| 265 | compatible = "st,stm32h7-timer-trigger"; |
| 266 | reg = <4>; |
| 267 | status = "disabled"; |
| 268 | }; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 269 | |
| 270 | counter { |
| 271 | compatible = "st,stm32-timer-counter"; |
| 272 | status = "disabled"; |
| 273 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 274 | }; |
| 275 | |
| 276 | timers6: timer@40004000 { |
| 277 | #address-cells = <1>; |
| 278 | #size-cells = <0>; |
| 279 | compatible = "st,stm32-timers"; |
| 280 | reg = <0x40004000 0x400>; |
| 281 | clocks = <&rcc TIM6_K>; |
| 282 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 283 | dmas = <&dmamux1 69 0x400 0x1>; |
| 284 | dma-names = "up"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 285 | status = "disabled"; |
| 286 | |
| 287 | timer@5 { |
| 288 | compatible = "st,stm32h7-timer-trigger"; |
| 289 | reg = <5>; |
| 290 | status = "disabled"; |
| 291 | }; |
| 292 | }; |
| 293 | |
| 294 | timers7: timer@40005000 { |
| 295 | #address-cells = <1>; |
| 296 | #size-cells = <0>; |
| 297 | compatible = "st,stm32-timers"; |
| 298 | reg = <0x40005000 0x400>; |
| 299 | clocks = <&rcc TIM7_K>; |
| 300 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 301 | dmas = <&dmamux1 70 0x400 0x1>; |
| 302 | dma-names = "up"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 303 | status = "disabled"; |
| 304 | |
| 305 | timer@6 { |
| 306 | compatible = "st,stm32h7-timer-trigger"; |
| 307 | reg = <6>; |
| 308 | status = "disabled"; |
| 309 | }; |
| 310 | }; |
| 311 | |
| 312 | timers12: timer@40006000 { |
| 313 | #address-cells = <1>; |
| 314 | #size-cells = <0>; |
| 315 | compatible = "st,stm32-timers"; |
| 316 | reg = <0x40006000 0x400>; |
| 317 | clocks = <&rcc TIM12_K>; |
| 318 | clock-names = "int"; |
| 319 | status = "disabled"; |
| 320 | |
| 321 | pwm { |
| 322 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 323 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 324 | status = "disabled"; |
| 325 | }; |
| 326 | |
| 327 | timer@11 { |
| 328 | compatible = "st,stm32h7-timer-trigger"; |
| 329 | reg = <11>; |
| 330 | status = "disabled"; |
| 331 | }; |
| 332 | }; |
| 333 | |
| 334 | timers13: timer@40007000 { |
| 335 | #address-cells = <1>; |
| 336 | #size-cells = <0>; |
| 337 | compatible = "st,stm32-timers"; |
| 338 | reg = <0x40007000 0x400>; |
| 339 | clocks = <&rcc TIM13_K>; |
| 340 | clock-names = "int"; |
| 341 | status = "disabled"; |
| 342 | |
| 343 | pwm { |
| 344 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 345 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 346 | status = "disabled"; |
| 347 | }; |
| 348 | |
| 349 | timer@12 { |
| 350 | compatible = "st,stm32h7-timer-trigger"; |
| 351 | reg = <12>; |
| 352 | status = "disabled"; |
| 353 | }; |
| 354 | }; |
| 355 | |
| 356 | timers14: timer@40008000 { |
| 357 | #address-cells = <1>; |
| 358 | #size-cells = <0>; |
| 359 | compatible = "st,stm32-timers"; |
| 360 | reg = <0x40008000 0x400>; |
| 361 | clocks = <&rcc TIM14_K>; |
| 362 | clock-names = "int"; |
| 363 | status = "disabled"; |
| 364 | |
| 365 | pwm { |
| 366 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 367 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 368 | status = "disabled"; |
| 369 | }; |
| 370 | |
| 371 | timer@13 { |
| 372 | compatible = "st,stm32h7-timer-trigger"; |
| 373 | reg = <13>; |
| 374 | status = "disabled"; |
| 375 | }; |
| 376 | }; |
| 377 | |
| 378 | lptimer1: timer@40009000 { |
| 379 | #address-cells = <1>; |
| 380 | #size-cells = <0>; |
| 381 | compatible = "st,stm32-lptimer"; |
| 382 | reg = <0x40009000 0x400>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 383 | interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 384 | clocks = <&rcc LPTIM1_K>; |
| 385 | clock-names = "mux"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 386 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 387 | status = "disabled"; |
| 388 | |
| 389 | pwm { |
| 390 | compatible = "st,stm32-pwm-lp"; |
| 391 | #pwm-cells = <3>; |
| 392 | status = "disabled"; |
| 393 | }; |
| 394 | |
| 395 | trigger@0 { |
| 396 | compatible = "st,stm32-lptimer-trigger"; |
| 397 | reg = <0>; |
| 398 | status = "disabled"; |
| 399 | }; |
| 400 | |
| 401 | counter { |
| 402 | compatible = "st,stm32-lptimer-counter"; |
| 403 | status = "disabled"; |
| 404 | }; |
| 405 | }; |
| 406 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 407 | spi2: spi@4000b000 { |
| 408 | #address-cells = <1>; |
| 409 | #size-cells = <0>; |
| 410 | compatible = "st,stm32h7-spi"; |
| 411 | reg = <0x4000b000 0x400>; |
| 412 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| 413 | clocks = <&rcc SPI2_K>; |
| 414 | resets = <&rcc SPI2_R>; |
| 415 | dmas = <&dmamux1 39 0x400 0x05>, |
| 416 | <&dmamux1 40 0x400 0x05>; |
| 417 | dma-names = "rx", "tx"; |
| 418 | status = "disabled"; |
| 419 | }; |
| 420 | |
Patrick Delaunay | fe91533 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 421 | i2s2: audio-controller@4000b000 { |
| 422 | compatible = "st,stm32h7-i2s"; |
| 423 | #sound-dai-cells = <0>; |
| 424 | reg = <0x4000b000 0x400>; |
| 425 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| 426 | dmas = <&dmamux1 39 0x400 0x01>, |
| 427 | <&dmamux1 40 0x400 0x01>; |
| 428 | dma-names = "rx", "tx"; |
| 429 | status = "disabled"; |
| 430 | }; |
| 431 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 432 | spi3: spi@4000c000 { |
| 433 | #address-cells = <1>; |
| 434 | #size-cells = <0>; |
| 435 | compatible = "st,stm32h7-spi"; |
| 436 | reg = <0x4000c000 0x400>; |
| 437 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
| 438 | clocks = <&rcc SPI3_K>; |
| 439 | resets = <&rcc SPI3_R>; |
| 440 | dmas = <&dmamux1 61 0x400 0x05>, |
| 441 | <&dmamux1 62 0x400 0x05>; |
| 442 | dma-names = "rx", "tx"; |
| 443 | status = "disabled"; |
| 444 | }; |
| 445 | |
Patrick Delaunay | fe91533 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 446 | i2s3: audio-controller@4000c000 { |
| 447 | compatible = "st,stm32h7-i2s"; |
| 448 | #sound-dai-cells = <0>; |
| 449 | reg = <0x4000c000 0x400>; |
| 450 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
| 451 | dmas = <&dmamux1 61 0x400 0x01>, |
| 452 | <&dmamux1 62 0x400 0x01>; |
| 453 | dma-names = "rx", "tx"; |
| 454 | status = "disabled"; |
| 455 | }; |
| 456 | |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 457 | spdifrx: audio-controller@4000d000 { |
| 458 | compatible = "st,stm32h7-spdifrx"; |
| 459 | #sound-dai-cells = <0>; |
| 460 | reg = <0x4000d000 0x400>; |
| 461 | clocks = <&rcc SPDIF_K>; |
| 462 | clock-names = "kclk"; |
| 463 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 464 | dmas = <&dmamux1 93 0x400 0x01>, |
| 465 | <&dmamux1 94 0x400 0x01>; |
| 466 | dma-names = "rx", "rx-ctrl"; |
| 467 | status = "disabled"; |
| 468 | }; |
| 469 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 470 | usart2: serial@4000e000 { |
| 471 | compatible = "st,stm32h7-uart"; |
| 472 | reg = <0x4000e000 0x400>; |
| 473 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 474 | clocks = <&rcc USART2_K>; |
| 475 | status = "disabled"; |
| 476 | }; |
| 477 | |
| 478 | usart3: serial@4000f000 { |
| 479 | compatible = "st,stm32h7-uart"; |
| 480 | reg = <0x4000f000 0x400>; |
| 481 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
| 482 | clocks = <&rcc USART3_K>; |
| 483 | status = "disabled"; |
| 484 | }; |
| 485 | |
| 486 | uart4: serial@40010000 { |
| 487 | compatible = "st,stm32h7-uart"; |
| 488 | reg = <0x40010000 0x400>; |
| 489 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; |
| 490 | clocks = <&rcc UART4_K>; |
| 491 | status = "disabled"; |
| 492 | }; |
| 493 | |
| 494 | uart5: serial@40011000 { |
| 495 | compatible = "st,stm32h7-uart"; |
| 496 | reg = <0x40011000 0x400>; |
| 497 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; |
| 498 | clocks = <&rcc UART5_K>; |
| 499 | status = "disabled"; |
| 500 | }; |
| 501 | |
| 502 | i2c1: i2c@40012000 { |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 503 | compatible = "st,stm32mp15-i2c"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 504 | reg = <0x40012000 0x400>; |
| 505 | interrupt-names = "event", "error"; |
| 506 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, |
| 507 | <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
| 508 | clocks = <&rcc I2C1_K>; |
| 509 | resets = <&rcc I2C1_R>; |
| 510 | #address-cells = <1>; |
| 511 | #size-cells = <0>; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 512 | st,syscfg-fmp = <&syscfg 0x4 0x1>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 513 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 514 | status = "disabled"; |
| 515 | }; |
| 516 | |
| 517 | i2c2: i2c@40013000 { |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 518 | compatible = "st,stm32mp15-i2c"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 519 | reg = <0x40013000 0x400>; |
| 520 | interrupt-names = "event", "error"; |
| 521 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, |
| 522 | <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
| 523 | clocks = <&rcc I2C2_K>; |
| 524 | resets = <&rcc I2C2_R>; |
| 525 | #address-cells = <1>; |
| 526 | #size-cells = <0>; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 527 | st,syscfg-fmp = <&syscfg 0x4 0x2>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 528 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 529 | status = "disabled"; |
| 530 | }; |
| 531 | |
| 532 | i2c3: i2c@40014000 { |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 533 | compatible = "st,stm32mp15-i2c"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 534 | reg = <0x40014000 0x400>; |
| 535 | interrupt-names = "event", "error"; |
| 536 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 537 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
| 538 | clocks = <&rcc I2C3_K>; |
| 539 | resets = <&rcc I2C3_R>; |
| 540 | #address-cells = <1>; |
| 541 | #size-cells = <0>; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 542 | st,syscfg-fmp = <&syscfg 0x4 0x4>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 543 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 544 | status = "disabled"; |
| 545 | }; |
| 546 | |
| 547 | i2c5: i2c@40015000 { |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 548 | compatible = "st,stm32mp15-i2c"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 549 | reg = <0x40015000 0x400>; |
| 550 | interrupt-names = "event", "error"; |
| 551 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, |
| 552 | <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
| 553 | clocks = <&rcc I2C5_K>; |
| 554 | resets = <&rcc I2C5_R>; |
| 555 | #address-cells = <1>; |
| 556 | #size-cells = <0>; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 557 | st,syscfg-fmp = <&syscfg 0x4 0x10>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 558 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 559 | status = "disabled"; |
| 560 | }; |
| 561 | |
| 562 | cec: cec@40016000 { |
| 563 | compatible = "st,stm32-cec"; |
| 564 | reg = <0x40016000 0x400>; |
| 565 | interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; |
| 566 | clocks = <&rcc CEC_K>, <&clk_lse>; |
| 567 | clock-names = "cec", "hdmi-cec"; |
| 568 | status = "disabled"; |
| 569 | }; |
| 570 | |
| 571 | dac: dac@40017000 { |
| 572 | compatible = "st,stm32h7-dac-core"; |
| 573 | reg = <0x40017000 0x400>; |
| 574 | clocks = <&rcc DAC12>; |
| 575 | clock-names = "pclk"; |
| 576 | #address-cells = <1>; |
| 577 | #size-cells = <0>; |
| 578 | status = "disabled"; |
| 579 | |
| 580 | dac1: dac@1 { |
| 581 | compatible = "st,stm32-dac"; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 582 | #io-channel-cells = <1>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 583 | reg = <1>; |
| 584 | status = "disabled"; |
| 585 | }; |
| 586 | |
| 587 | dac2: dac@2 { |
| 588 | compatible = "st,stm32-dac"; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 589 | #io-channel-cells = <1>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 590 | reg = <2>; |
| 591 | status = "disabled"; |
| 592 | }; |
| 593 | }; |
| 594 | |
| 595 | uart7: serial@40018000 { |
| 596 | compatible = "st,stm32h7-uart"; |
| 597 | reg = <0x40018000 0x400>; |
| 598 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 599 | clocks = <&rcc UART7_K>; |
| 600 | status = "disabled"; |
| 601 | }; |
| 602 | |
| 603 | uart8: serial@40019000 { |
| 604 | compatible = "st,stm32h7-uart"; |
| 605 | reg = <0x40019000 0x400>; |
| 606 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 607 | clocks = <&rcc UART8_K>; |
| 608 | status = "disabled"; |
| 609 | }; |
| 610 | |
| 611 | timers1: timer@44000000 { |
| 612 | #address-cells = <1>; |
| 613 | #size-cells = <0>; |
| 614 | compatible = "st,stm32-timers"; |
| 615 | reg = <0x44000000 0x400>; |
| 616 | clocks = <&rcc TIM1_K>; |
| 617 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 618 | dmas = <&dmamux1 11 0x400 0x1>, |
| 619 | <&dmamux1 12 0x400 0x1>, |
| 620 | <&dmamux1 13 0x400 0x1>, |
| 621 | <&dmamux1 14 0x400 0x1>, |
| 622 | <&dmamux1 15 0x400 0x1>, |
| 623 | <&dmamux1 16 0x400 0x1>, |
| 624 | <&dmamux1 17 0x400 0x1>; |
| 625 | dma-names = "ch1", "ch2", "ch3", "ch4", |
| 626 | "up", "trig", "com"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 627 | status = "disabled"; |
| 628 | |
| 629 | pwm { |
| 630 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 631 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 632 | status = "disabled"; |
| 633 | }; |
| 634 | |
| 635 | timer@0 { |
| 636 | compatible = "st,stm32h7-timer-trigger"; |
| 637 | reg = <0>; |
| 638 | status = "disabled"; |
| 639 | }; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 640 | |
| 641 | counter { |
| 642 | compatible = "st,stm32-timer-counter"; |
| 643 | status = "disabled"; |
| 644 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 645 | }; |
| 646 | |
| 647 | timers8: timer@44001000 { |
| 648 | #address-cells = <1>; |
| 649 | #size-cells = <0>; |
| 650 | compatible = "st,stm32-timers"; |
| 651 | reg = <0x44001000 0x400>; |
| 652 | clocks = <&rcc TIM8_K>; |
| 653 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 654 | dmas = <&dmamux1 47 0x400 0x1>, |
| 655 | <&dmamux1 48 0x400 0x1>, |
| 656 | <&dmamux1 49 0x400 0x1>, |
| 657 | <&dmamux1 50 0x400 0x1>, |
| 658 | <&dmamux1 51 0x400 0x1>, |
| 659 | <&dmamux1 52 0x400 0x1>, |
| 660 | <&dmamux1 53 0x400 0x1>; |
| 661 | dma-names = "ch1", "ch2", "ch3", "ch4", |
| 662 | "up", "trig", "com"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 663 | status = "disabled"; |
| 664 | |
| 665 | pwm { |
| 666 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 667 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 668 | status = "disabled"; |
| 669 | }; |
| 670 | |
| 671 | timer@7 { |
| 672 | compatible = "st,stm32h7-timer-trigger"; |
| 673 | reg = <7>; |
| 674 | status = "disabled"; |
| 675 | }; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 676 | |
| 677 | counter { |
| 678 | compatible = "st,stm32-timer-counter"; |
| 679 | status = "disabled"; |
| 680 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 681 | }; |
| 682 | |
| 683 | usart6: serial@44003000 { |
| 684 | compatible = "st,stm32h7-uart"; |
| 685 | reg = <0x44003000 0x400>; |
| 686 | interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 687 | clocks = <&rcc USART6_K>; |
| 688 | status = "disabled"; |
| 689 | }; |
| 690 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 691 | spi1: spi@44004000 { |
| 692 | #address-cells = <1>; |
| 693 | #size-cells = <0>; |
| 694 | compatible = "st,stm32h7-spi"; |
| 695 | reg = <0x44004000 0x400>; |
| 696 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 697 | clocks = <&rcc SPI1_K>; |
| 698 | resets = <&rcc SPI1_R>; |
| 699 | dmas = <&dmamux1 37 0x400 0x05>, |
| 700 | <&dmamux1 38 0x400 0x05>; |
| 701 | dma-names = "rx", "tx"; |
| 702 | status = "disabled"; |
| 703 | }; |
| 704 | |
Patrick Delaunay | fe91533 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 705 | i2s1: audio-controller@44004000 { |
| 706 | compatible = "st,stm32h7-i2s"; |
| 707 | #sound-dai-cells = <0>; |
| 708 | reg = <0x44004000 0x400>; |
| 709 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 710 | dmas = <&dmamux1 37 0x400 0x01>, |
| 711 | <&dmamux1 38 0x400 0x01>; |
| 712 | dma-names = "rx", "tx"; |
| 713 | status = "disabled"; |
| 714 | }; |
| 715 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 716 | spi4: spi@44005000 { |
| 717 | #address-cells = <1>; |
| 718 | #size-cells = <0>; |
| 719 | compatible = "st,stm32h7-spi"; |
| 720 | reg = <0x44005000 0x400>; |
| 721 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 722 | clocks = <&rcc SPI4_K>; |
| 723 | resets = <&rcc SPI4_R>; |
| 724 | dmas = <&dmamux1 83 0x400 0x05>, |
| 725 | <&dmamux1 84 0x400 0x05>; |
| 726 | dma-names = "rx", "tx"; |
| 727 | status = "disabled"; |
| 728 | }; |
| 729 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 730 | timers15: timer@44006000 { |
| 731 | #address-cells = <1>; |
| 732 | #size-cells = <0>; |
| 733 | compatible = "st,stm32-timers"; |
| 734 | reg = <0x44006000 0x400>; |
| 735 | clocks = <&rcc TIM15_K>; |
| 736 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 737 | dmas = <&dmamux1 105 0x400 0x1>, |
| 738 | <&dmamux1 106 0x400 0x1>, |
| 739 | <&dmamux1 107 0x400 0x1>, |
| 740 | <&dmamux1 108 0x400 0x1>; |
| 741 | dma-names = "ch1", "up", "trig", "com"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 742 | status = "disabled"; |
| 743 | |
| 744 | pwm { |
| 745 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 746 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 747 | status = "disabled"; |
| 748 | }; |
| 749 | |
| 750 | timer@14 { |
| 751 | compatible = "st,stm32h7-timer-trigger"; |
| 752 | reg = <14>; |
| 753 | status = "disabled"; |
| 754 | }; |
| 755 | }; |
| 756 | |
| 757 | timers16: timer@44007000 { |
| 758 | #address-cells = <1>; |
| 759 | #size-cells = <0>; |
| 760 | compatible = "st,stm32-timers"; |
| 761 | reg = <0x44007000 0x400>; |
| 762 | clocks = <&rcc TIM16_K>; |
| 763 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 764 | dmas = <&dmamux1 109 0x400 0x1>, |
| 765 | <&dmamux1 110 0x400 0x1>; |
| 766 | dma-names = "ch1", "up"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 767 | status = "disabled"; |
| 768 | |
| 769 | pwm { |
| 770 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 771 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 772 | status = "disabled"; |
| 773 | }; |
| 774 | timer@15 { |
| 775 | compatible = "st,stm32h7-timer-trigger"; |
| 776 | reg = <15>; |
| 777 | status = "disabled"; |
| 778 | }; |
| 779 | }; |
| 780 | |
| 781 | timers17: timer@44008000 { |
| 782 | #address-cells = <1>; |
| 783 | #size-cells = <0>; |
| 784 | compatible = "st,stm32-timers"; |
| 785 | reg = <0x44008000 0x400>; |
| 786 | clocks = <&rcc TIM17_K>; |
| 787 | clock-names = "int"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 788 | dmas = <&dmamux1 111 0x400 0x1>, |
| 789 | <&dmamux1 112 0x400 0x1>; |
| 790 | dma-names = "ch1", "up"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 791 | status = "disabled"; |
| 792 | |
| 793 | pwm { |
| 794 | compatible = "st,stm32-pwm"; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 795 | #pwm-cells = <3>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 796 | status = "disabled"; |
| 797 | }; |
| 798 | |
| 799 | timer@16 { |
| 800 | compatible = "st,stm32h7-timer-trigger"; |
| 801 | reg = <16>; |
| 802 | status = "disabled"; |
| 803 | }; |
| 804 | }; |
| 805 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 806 | spi5: spi@44009000 { |
| 807 | #address-cells = <1>; |
| 808 | #size-cells = <0>; |
| 809 | compatible = "st,stm32h7-spi"; |
| 810 | reg = <0x44009000 0x400>; |
| 811 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
| 812 | clocks = <&rcc SPI5_K>; |
| 813 | resets = <&rcc SPI5_R>; |
| 814 | dmas = <&dmamux1 85 0x400 0x05>, |
| 815 | <&dmamux1 86 0x400 0x05>; |
| 816 | dma-names = "rx", "tx"; |
| 817 | status = "disabled"; |
| 818 | }; |
| 819 | |
Patrick Delaunay | fe91533 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 820 | sai1: sai@4400a000 { |
| 821 | compatible = "st,stm32h7-sai"; |
| 822 | #address-cells = <1>; |
| 823 | #size-cells = <1>; |
| 824 | ranges = <0 0x4400a000 0x400>; |
| 825 | reg = <0x4400a000 0x4>, <0x4400a3f0 0x10>; |
| 826 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
| 827 | resets = <&rcc SAI1_R>; |
| 828 | status = "disabled"; |
| 829 | |
| 830 | sai1a: audio-controller@4400a004 { |
| 831 | #sound-dai-cells = <0>; |
| 832 | |
| 833 | compatible = "st,stm32-sai-sub-a"; |
| 834 | reg = <0x4 0x1c>; |
| 835 | clocks = <&rcc SAI1_K>; |
| 836 | clock-names = "sai_ck"; |
| 837 | dmas = <&dmamux1 87 0x400 0x01>; |
| 838 | status = "disabled"; |
| 839 | }; |
| 840 | |
| 841 | sai1b: audio-controller@4400a024 { |
| 842 | #sound-dai-cells = <0>; |
| 843 | compatible = "st,stm32-sai-sub-b"; |
| 844 | reg = <0x24 0x1c>; |
| 845 | clocks = <&rcc SAI1_K>; |
| 846 | clock-names = "sai_ck"; |
| 847 | dmas = <&dmamux1 88 0x400 0x01>; |
| 848 | status = "disabled"; |
| 849 | }; |
| 850 | }; |
| 851 | |
| 852 | sai2: sai@4400b000 { |
| 853 | compatible = "st,stm32h7-sai"; |
| 854 | #address-cells = <1>; |
| 855 | #size-cells = <1>; |
| 856 | ranges = <0 0x4400b000 0x400>; |
| 857 | reg = <0x4400b000 0x4>, <0x4400b3f0 0x10>; |
| 858 | interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; |
| 859 | resets = <&rcc SAI2_R>; |
| 860 | status = "disabled"; |
| 861 | |
| 862 | sai2a: audio-controller@4400b004 { |
| 863 | #sound-dai-cells = <0>; |
| 864 | compatible = "st,stm32-sai-sub-a"; |
| 865 | reg = <0x4 0x1c>; |
| 866 | clocks = <&rcc SAI2_K>; |
| 867 | clock-names = "sai_ck"; |
| 868 | dmas = <&dmamux1 89 0x400 0x01>; |
| 869 | status = "disabled"; |
| 870 | }; |
| 871 | |
| 872 | sai2b: audio-controller@4400b024 { |
| 873 | #sound-dai-cells = <0>; |
| 874 | compatible = "st,stm32-sai-sub-b"; |
| 875 | reg = <0x24 0x1c>; |
| 876 | clocks = <&rcc SAI2_K>; |
| 877 | clock-names = "sai_ck"; |
| 878 | dmas = <&dmamux1 90 0x400 0x01>; |
| 879 | status = "disabled"; |
| 880 | }; |
| 881 | }; |
| 882 | |
| 883 | sai3: sai@4400c000 { |
| 884 | compatible = "st,stm32h7-sai"; |
| 885 | #address-cells = <1>; |
| 886 | #size-cells = <1>; |
| 887 | ranges = <0 0x4400c000 0x400>; |
| 888 | reg = <0x4400c000 0x4>, <0x4400c3f0 0x10>; |
| 889 | interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; |
| 890 | resets = <&rcc SAI3_R>; |
| 891 | status = "disabled"; |
| 892 | |
| 893 | sai3a: audio-controller@4400c004 { |
| 894 | #sound-dai-cells = <0>; |
| 895 | compatible = "st,stm32-sai-sub-a"; |
| 896 | reg = <0x04 0x1c>; |
| 897 | clocks = <&rcc SAI3_K>; |
| 898 | clock-names = "sai_ck"; |
| 899 | dmas = <&dmamux1 113 0x400 0x01>; |
| 900 | status = "disabled"; |
| 901 | }; |
| 902 | |
| 903 | sai3b: audio-controller@4400c024 { |
| 904 | #sound-dai-cells = <0>; |
| 905 | compatible = "st,stm32-sai-sub-b"; |
| 906 | reg = <0x24 0x1c>; |
| 907 | clocks = <&rcc SAI3_K>; |
| 908 | clock-names = "sai_ck"; |
| 909 | dmas = <&dmamux1 114 0x400 0x01>; |
| 910 | status = "disabled"; |
| 911 | }; |
| 912 | }; |
| 913 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 914 | dfsdm: dfsdm@4400d000 { |
| 915 | compatible = "st,stm32mp1-dfsdm"; |
| 916 | reg = <0x4400d000 0x800>; |
| 917 | clocks = <&rcc DFSDM_K>; |
| 918 | clock-names = "dfsdm"; |
| 919 | #address-cells = <1>; |
| 920 | #size-cells = <0>; |
| 921 | status = "disabled"; |
| 922 | |
| 923 | dfsdm0: filter@0 { |
| 924 | compatible = "st,stm32-dfsdm-adc"; |
| 925 | #io-channel-cells = <1>; |
| 926 | reg = <0>; |
| 927 | interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; |
| 928 | dmas = <&dmamux1 101 0x400 0x01>; |
| 929 | dma-names = "rx"; |
| 930 | status = "disabled"; |
| 931 | }; |
| 932 | |
| 933 | dfsdm1: filter@1 { |
| 934 | compatible = "st,stm32-dfsdm-adc"; |
| 935 | #io-channel-cells = <1>; |
| 936 | reg = <1>; |
| 937 | interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; |
| 938 | dmas = <&dmamux1 102 0x400 0x01>; |
| 939 | dma-names = "rx"; |
| 940 | status = "disabled"; |
| 941 | }; |
| 942 | |
| 943 | dfsdm2: filter@2 { |
| 944 | compatible = "st,stm32-dfsdm-adc"; |
| 945 | #io-channel-cells = <1>; |
| 946 | reg = <2>; |
| 947 | interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; |
| 948 | dmas = <&dmamux1 103 0x400 0x01>; |
| 949 | dma-names = "rx"; |
| 950 | status = "disabled"; |
| 951 | }; |
| 952 | |
| 953 | dfsdm3: filter@3 { |
| 954 | compatible = "st,stm32-dfsdm-adc"; |
| 955 | #io-channel-cells = <1>; |
| 956 | reg = <3>; |
| 957 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
| 958 | dmas = <&dmamux1 104 0x400 0x01>; |
| 959 | dma-names = "rx"; |
| 960 | status = "disabled"; |
| 961 | }; |
| 962 | |
| 963 | dfsdm4: filter@4 { |
| 964 | compatible = "st,stm32-dfsdm-adc"; |
| 965 | #io-channel-cells = <1>; |
| 966 | reg = <4>; |
| 967 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; |
| 968 | dmas = <&dmamux1 91 0x400 0x01>; |
| 969 | dma-names = "rx"; |
| 970 | status = "disabled"; |
| 971 | }; |
| 972 | |
| 973 | dfsdm5: filter@5 { |
| 974 | compatible = "st,stm32-dfsdm-adc"; |
| 975 | #io-channel-cells = <1>; |
| 976 | reg = <5>; |
| 977 | interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; |
| 978 | dmas = <&dmamux1 92 0x400 0x01>; |
| 979 | dma-names = "rx"; |
| 980 | status = "disabled"; |
| 981 | }; |
| 982 | }; |
| 983 | |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 984 | dma1: dma-controller@48000000 { |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 985 | compatible = "st,stm32-dma"; |
| 986 | reg = <0x48000000 0x400>; |
| 987 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, |
| 988 | <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, |
| 989 | <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 990 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 991 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, |
| 992 | <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, |
| 993 | <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, |
| 994 | <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
| 995 | clocks = <&rcc DMA1>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 996 | resets = <&rcc DMA1_R>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 997 | #dma-cells = <4>; |
| 998 | st,mem2mem; |
| 999 | dma-requests = <8>; |
| 1000 | }; |
| 1001 | |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1002 | dma2: dma-controller@48001000 { |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1003 | compatible = "st,stm32-dma"; |
| 1004 | reg = <0x48001000 0x400>; |
| 1005 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, |
| 1006 | <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, |
| 1007 | <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, |
| 1008 | <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, |
| 1009 | <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, |
| 1010 | <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 1011 | <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
| 1012 | <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; |
| 1013 | clocks = <&rcc DMA2>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1014 | resets = <&rcc DMA2_R>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1015 | #dma-cells = <4>; |
| 1016 | st,mem2mem; |
| 1017 | dma-requests = <8>; |
| 1018 | }; |
| 1019 | |
| 1020 | dmamux1: dma-router@48002000 { |
| 1021 | compatible = "st,stm32h7-dmamux"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1022 | reg = <0x48002000 0x40>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1023 | #dma-cells = <3>; |
| 1024 | dma-requests = <128>; |
| 1025 | dma-masters = <&dma1 &dma2>; |
| 1026 | dma-channels = <16>; |
| 1027 | clocks = <&rcc DMAMUX>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1028 | resets = <&rcc DMAMUX_R>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1029 | }; |
| 1030 | |
Patrice Chotard | 638ee5a | 2018-08-06 09:54:04 +0200 | [diff] [blame] | 1031 | adc: adc@48003000 { |
| 1032 | compatible = "st,stm32mp1-adc-core"; |
| 1033 | reg = <0x48003000 0x400>; |
| 1034 | interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, |
| 1035 | <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
| 1036 | clocks = <&rcc ADC12>, <&rcc ADC12_K>; |
| 1037 | clock-names = "bus", "adc"; |
| 1038 | interrupt-controller; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 1039 | st,syscfg = <&syscfg>; |
Patrice Chotard | 638ee5a | 2018-08-06 09:54:04 +0200 | [diff] [blame] | 1040 | #interrupt-cells = <1>; |
| 1041 | #address-cells = <1>; |
| 1042 | #size-cells = <0>; |
| 1043 | status = "disabled"; |
| 1044 | |
| 1045 | adc1: adc@0 { |
| 1046 | compatible = "st,stm32mp1-adc"; |
| 1047 | #io-channel-cells = <1>; |
| 1048 | reg = <0x0>; |
| 1049 | interrupt-parent = <&adc>; |
| 1050 | interrupts = <0>; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1051 | dmas = <&dmamux1 9 0x400 0x01>; |
| 1052 | dma-names = "rx"; |
Patrice Chotard | 638ee5a | 2018-08-06 09:54:04 +0200 | [diff] [blame] | 1053 | status = "disabled"; |
| 1054 | }; |
| 1055 | |
| 1056 | adc2: adc@100 { |
| 1057 | compatible = "st,stm32mp1-adc"; |
| 1058 | #io-channel-cells = <1>; |
| 1059 | reg = <0x100>; |
| 1060 | interrupt-parent = <&adc>; |
| 1061 | interrupts = <1>; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1062 | dmas = <&dmamux1 10 0x400 0x01>; |
| 1063 | dma-names = "rx"; |
Patrice Chotard | 638ee5a | 2018-08-06 09:54:04 +0200 | [diff] [blame] | 1064 | status = "disabled"; |
| 1065 | }; |
| 1066 | }; |
| 1067 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1068 | sdmmc3: sdmmc@48004000 { |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1069 | compatible = "arm,pl18x", "arm,primecell"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1070 | arm,primecell-periphid = <0x00253180>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1071 | reg = <0x48004000 0x400>; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1072 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; |
| 1073 | interrupt-names = "cmd_irq"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1074 | clocks = <&rcc SDMMC3_K>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1075 | clock-names = "apb_pclk"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1076 | resets = <&rcc SDMMC3_R>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1077 | cap-sd-highspeed; |
| 1078 | cap-mmc-highspeed; |
| 1079 | max-frequency = <120000000>; |
| 1080 | status = "disabled"; |
| 1081 | }; |
| 1082 | |
Patrice Chotard | 8e9c94d | 2018-08-10 17:12:11 +0200 | [diff] [blame] | 1083 | usbotg_hs: usb-otg@49000000 { |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1084 | compatible = "st,stm32mp15-hsotg", "snps,dwc2"; |
Patrice Chotard | 8e9c94d | 2018-08-10 17:12:11 +0200 | [diff] [blame] | 1085 | reg = <0x49000000 0x10000>; |
| 1086 | clocks = <&rcc USBO_K>; |
| 1087 | clock-names = "otg"; |
| 1088 | resets = <&rcc USBO_R>; |
| 1089 | reset-names = "dwc2"; |
| 1090 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1091 | g-rx-fifo-size = <512>; |
Patrice Chotard | 8e9c94d | 2018-08-10 17:12:11 +0200 | [diff] [blame] | 1092 | g-np-tx-fifo-size = <32>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1093 | g-tx-fifo-size = <256 16 16 16 16 16 16 16>; |
Patrice Chotard | 8e9c94d | 2018-08-10 17:12:11 +0200 | [diff] [blame] | 1094 | dr_mode = "otg"; |
Patrick Delaunay | c50151d | 2019-03-29 15:42:11 +0100 | [diff] [blame] | 1095 | usb33d-supply = <&usb33>; |
Patrice Chotard | 8e9c94d | 2018-08-10 17:12:11 +0200 | [diff] [blame] | 1096 | status = "disabled"; |
| 1097 | }; |
| 1098 | |
Benjamin Gaignard | 9119f54 | 2018-11-27 13:49:52 +0100 | [diff] [blame] | 1099 | hwspinlock: hwspinlock@4c000000 { |
| 1100 | compatible = "st,stm32-hwspinlock"; |
| 1101 | #hwlock-cells = <1>; |
| 1102 | reg = <0x4c000000 0x400>; |
| 1103 | clocks = <&rcc HSEM>; |
| 1104 | clock-names = "hwspinlock"; |
Benjamin Gaignard | 9119f54 | 2018-11-27 13:49:52 +0100 | [diff] [blame] | 1105 | }; |
| 1106 | |
Fabien Dessenne | 1958dae | 2019-05-14 11:20:37 +0200 | [diff] [blame] | 1107 | ipcc: mailbox@4c001000 { |
| 1108 | compatible = "st,stm32mp1-ipcc"; |
| 1109 | #mbox-cells = <1>; |
| 1110 | reg = <0x4c001000 0x400>; |
| 1111 | st,proc-id = <0>; |
| 1112 | interrupts-extended = |
| 1113 | <&intc GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1114 | <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
| 1115 | <&exti 61 1>; |
| 1116 | interrupt-names = "rx", "tx", "wakeup"; |
Fabien Dessenne | 1958dae | 2019-05-14 11:20:37 +0200 | [diff] [blame] | 1117 | clocks = <&rcc IPCC>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1118 | wakeup-source; |
Fabien Dessenne | 1958dae | 2019-05-14 11:20:37 +0200 | [diff] [blame] | 1119 | status = "disabled"; |
| 1120 | }; |
| 1121 | |
Patrick Delaunay | fe91533 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 1122 | dcmi: dcmi@4c006000 { |
| 1123 | compatible = "st,stm32-dcmi"; |
| 1124 | reg = <0x4c006000 0x400>; |
| 1125 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
| 1126 | resets = <&rcc CAMITF_R>; |
| 1127 | clocks = <&rcc DCMI>; |
| 1128 | clock-names = "mclk"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1129 | dmas = <&dmamux1 75 0x400 0x01>; |
Patrick Delaunay | fe91533 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 1130 | dma-names = "tx"; |
| 1131 | status = "disabled"; |
| 1132 | }; |
| 1133 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1134 | rcc: rcc@50000000 { |
| 1135 | compatible = "st,stm32mp1-rcc", "syscon"; |
| 1136 | reg = <0x50000000 0x1000>; |
| 1137 | #clock-cells = <1>; |
| 1138 | #reset-cells = <1>; |
| 1139 | }; |
| 1140 | |
Patrick Delaunay | 7915b99 | 2020-01-28 10:10:59 +0100 | [diff] [blame] | 1141 | pwr_regulators: pwr@50001000 { |
| 1142 | compatible = "st,stm32mp1,pwr-reg"; |
| 1143 | reg = <0x50001000 0x10>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1144 | |
Patrick Delaunay | 7915b99 | 2020-01-28 10:10:59 +0100 | [diff] [blame] | 1145 | reg11: reg11 { |
| 1146 | regulator-name = "reg11"; |
| 1147 | regulator-min-microvolt = <1100000>; |
| 1148 | regulator-max-microvolt = <1100000>; |
| 1149 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1150 | |
Patrick Delaunay | 7915b99 | 2020-01-28 10:10:59 +0100 | [diff] [blame] | 1151 | reg18: reg18 { |
| 1152 | regulator-name = "reg18"; |
| 1153 | regulator-min-microvolt = <1800000>; |
| 1154 | regulator-max-microvolt = <1800000>; |
| 1155 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1156 | |
Patrick Delaunay | 7915b99 | 2020-01-28 10:10:59 +0100 | [diff] [blame] | 1157 | usb33: usb33 { |
| 1158 | regulator-name = "usb33"; |
| 1159 | regulator-min-microvolt = <3300000>; |
| 1160 | regulator-max-microvolt = <3300000>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1161 | }; |
| 1162 | }; |
| 1163 | |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1164 | pwr_mcu: pwr_mcu@50001014 { |
Patrick Delaunay | 62f95af | 2020-09-16 10:01:32 +0200 | [diff] [blame] | 1165 | compatible = "st,stm32mp151-pwr-mcu", "syscon"; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1166 | reg = <0x50001014 0x4>; |
| 1167 | }; |
| 1168 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1169 | exti: interrupt-controller@5000d000 { |
| 1170 | compatible = "st,stm32mp1-exti", "syscon"; |
| 1171 | interrupt-controller; |
| 1172 | #interrupt-cells = <2>; |
| 1173 | reg = <0x5000d000 0x400>; |
| 1174 | }; |
| 1175 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1176 | syscfg: syscon@50020000 { |
Patrick Delaunay | 6c09eb9 | 2019-02-27 17:01:23 +0100 | [diff] [blame] | 1177 | compatible = "st,stm32mp157-syscfg", "syscon"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1178 | reg = <0x50020000 0x400>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1179 | clocks = <&rcc SYSCFG>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1180 | }; |
| 1181 | |
| 1182 | lptimer2: timer@50021000 { |
| 1183 | #address-cells = <1>; |
| 1184 | #size-cells = <0>; |
| 1185 | compatible = "st,stm32-lptimer"; |
| 1186 | reg = <0x50021000 0x400>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1187 | interrupts-extended = <&exti 48 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1188 | clocks = <&rcc LPTIM2_K>; |
| 1189 | clock-names = "mux"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1190 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1191 | status = "disabled"; |
| 1192 | |
| 1193 | pwm { |
| 1194 | compatible = "st,stm32-pwm-lp"; |
| 1195 | #pwm-cells = <3>; |
| 1196 | status = "disabled"; |
| 1197 | }; |
| 1198 | |
| 1199 | trigger@1 { |
| 1200 | compatible = "st,stm32-lptimer-trigger"; |
| 1201 | reg = <1>; |
| 1202 | status = "disabled"; |
| 1203 | }; |
| 1204 | |
| 1205 | counter { |
| 1206 | compatible = "st,stm32-lptimer-counter"; |
| 1207 | status = "disabled"; |
| 1208 | }; |
| 1209 | }; |
| 1210 | |
| 1211 | lptimer3: timer@50022000 { |
| 1212 | #address-cells = <1>; |
| 1213 | #size-cells = <0>; |
| 1214 | compatible = "st,stm32-lptimer"; |
| 1215 | reg = <0x50022000 0x400>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1216 | interrupts-extended = <&exti 50 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1217 | clocks = <&rcc LPTIM3_K>; |
| 1218 | clock-names = "mux"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1219 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1220 | status = "disabled"; |
| 1221 | |
| 1222 | pwm { |
| 1223 | compatible = "st,stm32-pwm-lp"; |
| 1224 | #pwm-cells = <3>; |
| 1225 | status = "disabled"; |
| 1226 | }; |
| 1227 | |
| 1228 | trigger@2 { |
| 1229 | compatible = "st,stm32-lptimer-trigger"; |
| 1230 | reg = <2>; |
| 1231 | status = "disabled"; |
| 1232 | }; |
| 1233 | }; |
| 1234 | |
| 1235 | lptimer4: timer@50023000 { |
| 1236 | compatible = "st,stm32-lptimer"; |
| 1237 | reg = <0x50023000 0x400>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1238 | interrupts-extended = <&exti 52 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1239 | clocks = <&rcc LPTIM4_K>; |
| 1240 | clock-names = "mux"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1241 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1242 | status = "disabled"; |
| 1243 | |
| 1244 | pwm { |
| 1245 | compatible = "st,stm32-pwm-lp"; |
| 1246 | #pwm-cells = <3>; |
| 1247 | status = "disabled"; |
| 1248 | }; |
| 1249 | }; |
| 1250 | |
| 1251 | lptimer5: timer@50024000 { |
| 1252 | compatible = "st,stm32-lptimer"; |
| 1253 | reg = <0x50024000 0x400>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1254 | interrupts-extended = <&exti 53 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1255 | clocks = <&rcc LPTIM5_K>; |
| 1256 | clock-names = "mux"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1257 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1258 | status = "disabled"; |
| 1259 | |
| 1260 | pwm { |
| 1261 | compatible = "st,stm32-pwm-lp"; |
| 1262 | #pwm-cells = <3>; |
| 1263 | status = "disabled"; |
| 1264 | }; |
| 1265 | }; |
| 1266 | |
| 1267 | vrefbuf: vrefbuf@50025000 { |
| 1268 | compatible = "st,stm32-vrefbuf"; |
| 1269 | reg = <0x50025000 0x8>; |
| 1270 | regulator-min-microvolt = <1500000>; |
| 1271 | regulator-max-microvolt = <2500000>; |
| 1272 | clocks = <&rcc VREF>; |
| 1273 | status = "disabled"; |
| 1274 | }; |
| 1275 | |
Patrick Delaunay | fe91533 | 2019-07-30 19:16:12 +0200 | [diff] [blame] | 1276 | sai4: sai@50027000 { |
| 1277 | compatible = "st,stm32h7-sai"; |
| 1278 | #address-cells = <1>; |
| 1279 | #size-cells = <1>; |
| 1280 | ranges = <0 0x50027000 0x400>; |
| 1281 | reg = <0x50027000 0x4>, <0x500273f0 0x10>; |
| 1282 | interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
| 1283 | resets = <&rcc SAI4_R>; |
| 1284 | status = "disabled"; |
| 1285 | |
| 1286 | sai4a: audio-controller@50027004 { |
| 1287 | #sound-dai-cells = <0>; |
| 1288 | compatible = "st,stm32-sai-sub-a"; |
| 1289 | reg = <0x04 0x1c>; |
| 1290 | clocks = <&rcc SAI4_K>; |
| 1291 | clock-names = "sai_ck"; |
| 1292 | dmas = <&dmamux1 99 0x400 0x01>; |
| 1293 | status = "disabled"; |
| 1294 | }; |
| 1295 | |
| 1296 | sai4b: audio-controller@50027024 { |
| 1297 | #sound-dai-cells = <0>; |
| 1298 | compatible = "st,stm32-sai-sub-b"; |
| 1299 | reg = <0x24 0x1c>; |
| 1300 | clocks = <&rcc SAI4_K>; |
| 1301 | clock-names = "sai_ck"; |
| 1302 | dmas = <&dmamux1 100 0x400 0x01>; |
| 1303 | status = "disabled"; |
| 1304 | }; |
| 1305 | }; |
| 1306 | |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1307 | dts: thermal@50028000 { |
| 1308 | compatible = "st,stm32-thermal"; |
| 1309 | reg = <0x50028000 0x100>; |
| 1310 | interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; |
| 1311 | clocks = <&rcc TMPSENS>; |
| 1312 | clock-names = "pclk"; |
| 1313 | #thermal-sensor-cells = <0>; |
| 1314 | status = "disabled"; |
| 1315 | }; |
| 1316 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1317 | hash1: hash@54002000 { |
| 1318 | compatible = "st,stm32f756-hash"; |
| 1319 | reg = <0x54002000 0x400>; |
| 1320 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
| 1321 | clocks = <&rcc HASH1>; |
| 1322 | resets = <&rcc HASH1_R>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1323 | dmas = <&mdma1 31 0x2 0x1000A02 0x0 0x0>; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1324 | dma-names = "in"; |
| 1325 | dma-maxburst = <2>; |
| 1326 | status = "disabled"; |
| 1327 | }; |
| 1328 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1329 | rng1: rng@54003000 { |
| 1330 | compatible = "st,stm32-rng"; |
| 1331 | reg = <0x54003000 0x400>; |
| 1332 | clocks = <&rcc RNG1_K>; |
| 1333 | resets = <&rcc RNG1_R>; |
| 1334 | status = "disabled"; |
| 1335 | }; |
| 1336 | |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1337 | mdma1: dma-controller@58000000 { |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1338 | compatible = "st,stm32h7-mdma"; |
| 1339 | reg = <0x58000000 0x1000>; |
| 1340 | interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; |
| 1341 | clocks = <&rcc MDMA>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1342 | resets = <&rcc MDMA_R>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1343 | #dma-cells = <5>; |
| 1344 | dma-channels = <32>; |
| 1345 | dma-requests = <48>; |
| 1346 | }; |
| 1347 | |
Christophe Kerello | acdaae6 | 2020-07-31 09:53:44 +0200 | [diff] [blame] | 1348 | fmc: memory-controller@58002000 { |
| 1349 | #address-cells = <2>; |
| 1350 | #size-cells = <1>; |
| 1351 | compatible = "st,stm32mp1-fmc2-ebi"; |
| 1352 | reg = <0x58002000 0x1000>; |
Patrick Delaunay | c4a739a | 2019-04-08 15:30:52 +0200 | [diff] [blame] | 1353 | clocks = <&rcc FMC_K>; |
| 1354 | resets = <&rcc FMC_R>; |
| 1355 | status = "disabled"; |
Christophe Kerello | acdaae6 | 2020-07-31 09:53:44 +0200 | [diff] [blame] | 1356 | |
| 1357 | ranges = <0 0 0x60000000 0x04000000>, /* EBI CS 1 */ |
| 1358 | <1 0 0x64000000 0x04000000>, /* EBI CS 2 */ |
| 1359 | <2 0 0x68000000 0x04000000>, /* EBI CS 3 */ |
| 1360 | <3 0 0x6c000000 0x04000000>, /* EBI CS 4 */ |
| 1361 | <4 0 0x80000000 0x10000000>; /* NAND */ |
| 1362 | |
| 1363 | nand-controller@4,0 { |
| 1364 | #address-cells = <1>; |
| 1365 | #size-cells = <0>; |
| 1366 | compatible = "st,stm32mp1-fmc2-nfc"; |
| 1367 | reg = <4 0x00000000 0x1000>, |
| 1368 | <4 0x08010000 0x1000>, |
| 1369 | <4 0x08020000 0x1000>, |
| 1370 | <4 0x01000000 0x1000>, |
| 1371 | <4 0x09010000 0x1000>, |
| 1372 | <4 0x09020000 0x1000>; |
| 1373 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
| 1374 | dmas = <&mdma1 20 0x2 0x12000a02 0x0 0x0>, |
| 1375 | <&mdma1 20 0x2 0x12000a08 0x0 0x0>, |
| 1376 | <&mdma1 21 0x2 0x12000a0a 0x0 0x0>; |
| 1377 | dma-names = "tx", "rx", "ecc"; |
| 1378 | status = "disabled"; |
| 1379 | }; |
Patrick Delaunay | c4a739a | 2019-04-08 15:30:52 +0200 | [diff] [blame] | 1380 | }; |
| 1381 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1382 | qspi: spi@58003000 { |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1383 | compatible = "st,stm32f469-qspi"; |
| 1384 | reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; |
| 1385 | reg-names = "qspi", "qspi_mm"; |
| 1386 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1387 | dmas = <&mdma1 22 0x2 0x100002 0x0 0x0>, |
| 1388 | <&mdma1 22 0x2 0x100008 0x0 0x0>; |
Patrick Delaunay | 62d620c | 2019-11-06 16:16:33 +0100 | [diff] [blame] | 1389 | dma-names = "tx", "rx"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1390 | clocks = <&rcc QSPI_K>; |
| 1391 | resets = <&rcc QSPI_R>; |
Patrick Delaunay | 62f95af | 2020-09-16 10:01:32 +0200 | [diff] [blame] | 1392 | #address-cells = <1>; |
| 1393 | #size-cells = <0>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1394 | status = "disabled"; |
| 1395 | }; |
| 1396 | |
| 1397 | sdmmc1: sdmmc@58005000 { |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1398 | compatible = "arm,pl18x", "arm,primecell"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1399 | arm,primecell-periphid = <0x00253180>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1400 | reg = <0x58005000 0x1000>; |
| 1401 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1402 | interrupt-names = "cmd_irq"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1403 | clocks = <&rcc SDMMC1_K>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1404 | clock-names = "apb_pclk"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1405 | resets = <&rcc SDMMC1_R>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1406 | cap-sd-highspeed; |
| 1407 | cap-mmc-highspeed; |
| 1408 | max-frequency = <120000000>; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1409 | status = "disabled"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1410 | }; |
| 1411 | |
| 1412 | sdmmc2: sdmmc@58007000 { |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1413 | compatible = "arm,pl18x", "arm,primecell"; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1414 | arm,primecell-periphid = <0x00253180>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1415 | reg = <0x58007000 0x1000>; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1416 | interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; |
| 1417 | interrupt-names = "cmd_irq"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1418 | clocks = <&rcc SDMMC2_K>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1419 | clock-names = "apb_pclk"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1420 | resets = <&rcc SDMMC2_R>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1421 | cap-sd-highspeed; |
| 1422 | cap-mmc-highspeed; |
| 1423 | max-frequency = <120000000>; |
| 1424 | status = "disabled"; |
| 1425 | }; |
| 1426 | |
| 1427 | crc1: crc@58009000 { |
| 1428 | compatible = "st,stm32f7-crc"; |
| 1429 | reg = <0x58009000 0x400>; |
| 1430 | clocks = <&rcc CRC1>; |
| 1431 | status = "disabled"; |
| 1432 | }; |
| 1433 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1434 | stmmac_axi_config_0: stmmac-axi-config { |
| 1435 | snps,wr_osr_lmt = <0x7>; |
| 1436 | snps,rd_osr_lmt = <0x7>; |
| 1437 | snps,blen = <0 0 0 0 16 8 4>; |
| 1438 | }; |
| 1439 | |
| 1440 | ethernet0: ethernet@5800a000 { |
| 1441 | compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a"; |
| 1442 | reg = <0x5800a000 0x2000>; |
| 1443 | reg-names = "stmmaceth"; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1444 | interrupts-extended = <&intc GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; |
| 1445 | interrupt-names = "macirq"; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1446 | clock-names = "stmmaceth", |
| 1447 | "mac-clk-tx", |
| 1448 | "mac-clk-rx", |
Marek Vasut | db48e11 | 2020-01-10 01:28:38 +0100 | [diff] [blame] | 1449 | "eth-ck", |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1450 | "ethstp"; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1451 | clocks = <&rcc ETHMAC>, |
| 1452 | <&rcc ETHTX>, |
| 1453 | <&rcc ETHRX>, |
Marek Vasut | db48e11 | 2020-01-10 01:28:38 +0100 | [diff] [blame] | 1454 | <&rcc ETHCK_K>, |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1455 | <&rcc ETHSTP>; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1456 | st,syscon = <&syscfg 0x4>; |
| 1457 | snps,mixed-burst; |
| 1458 | snps,pbl = <2>; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1459 | snps,en-tx-lpi-clockgating; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1460 | snps,axi-config = <&stmmac_axi_config_0>; |
| 1461 | snps,tso; |
| 1462 | status = "disabled"; |
| 1463 | }; |
| 1464 | |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1465 | usbh_ohci: usb@5800c000 { |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1466 | compatible = "generic-ohci"; |
| 1467 | reg = <0x5800c000 0x1000>; |
| 1468 | clocks = <&rcc USBH>; |
| 1469 | resets = <&rcc USBH_R>; |
| 1470 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
| 1471 | status = "disabled"; |
| 1472 | }; |
| 1473 | |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1474 | usbh_ehci: usb@5800d000 { |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1475 | compatible = "generic-ehci"; |
| 1476 | reg = <0x5800d000 0x1000>; |
| 1477 | clocks = <&rcc USBH>; |
| 1478 | resets = <&rcc USBH_R>; |
| 1479 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
| 1480 | companion = <&usbh_ohci>; |
| 1481 | status = "disabled"; |
| 1482 | }; |
| 1483 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1484 | ltdc: display-controller@5a001000 { |
| 1485 | compatible = "st,stm32-ltdc"; |
| 1486 | reg = <0x5a001000 0x400>; |
| 1487 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, |
| 1488 | <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
| 1489 | clocks = <&rcc LTDC_PX>; |
| 1490 | clock-names = "lcd"; |
| 1491 | resets = <&rcc LTDC_R>; |
| 1492 | status = "disabled"; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1493 | |
| 1494 | port { |
| 1495 | #address-cells = <1>; |
| 1496 | #size-cells = <0>; |
| 1497 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1498 | }; |
| 1499 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1500 | iwdg2: watchdog@5a002000 { |
| 1501 | compatible = "st,stm32mp1-iwdg"; |
| 1502 | reg = <0x5a002000 0x400>; |
| 1503 | clocks = <&rcc IWDG2>, <&rcc CK_LSI>; |
| 1504 | clock-names = "pclk", "lsi"; |
| 1505 | status = "disabled"; |
| 1506 | }; |
| 1507 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1508 | usbphyc: usbphyc@5a006000 { |
| 1509 | #address-cells = <1>; |
| 1510 | #size-cells = <0>; |
| 1511 | compatible = "st,stm32mp1-usbphyc"; |
| 1512 | reg = <0x5a006000 0x1000>; |
| 1513 | clocks = <&rcc USBPHY_K>; |
| 1514 | resets = <&rcc USBPHY_R>; |
Patrick Delaunay | c50151d | 2019-03-29 15:42:11 +0100 | [diff] [blame] | 1515 | vdda1v1-supply = <®11>; |
| 1516 | vdda1v8-supply = <®18>; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1517 | status = "disabled"; |
| 1518 | |
| 1519 | usbphyc_port0: usb-phy@0 { |
| 1520 | #phy-cells = <0>; |
| 1521 | reg = <0>; |
| 1522 | }; |
| 1523 | |
| 1524 | usbphyc_port1: usb-phy@1 { |
| 1525 | #phy-cells = <1>; |
| 1526 | reg = <1>; |
| 1527 | }; |
| 1528 | }; |
| 1529 | |
| 1530 | usart1: serial@5c000000 { |
| 1531 | compatible = "st,stm32h7-uart"; |
| 1532 | reg = <0x5c000000 0x400>; |
| 1533 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 1534 | clocks = <&rcc USART1_K>; |
| 1535 | status = "disabled"; |
| 1536 | }; |
| 1537 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1538 | spi6: spi@5c001000 { |
| 1539 | #address-cells = <1>; |
| 1540 | #size-cells = <0>; |
| 1541 | compatible = "st,stm32h7-spi"; |
| 1542 | reg = <0x5c001000 0x400>; |
| 1543 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 1544 | clocks = <&rcc SPI6_K>; |
| 1545 | resets = <&rcc SPI6_R>; |
| 1546 | dmas = <&mdma1 34 0x0 0x40008 0x0 0x0>, |
| 1547 | <&mdma1 35 0x0 0x40002 0x0 0x0>; |
| 1548 | dma-names = "rx", "tx"; |
| 1549 | status = "disabled"; |
| 1550 | }; |
| 1551 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1552 | i2c4: i2c@5c002000 { |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1553 | compatible = "st,stm32mp15-i2c"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1554 | reg = <0x5c002000 0x400>; |
| 1555 | interrupt-names = "event", "error"; |
| 1556 | interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, |
| 1557 | <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 1558 | clocks = <&rcc I2C4_K>; |
| 1559 | resets = <&rcc I2C4_R>; |
| 1560 | #address-cells = <1>; |
| 1561 | #size-cells = <0>; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1562 | st,syscfg-fmp = <&syscfg 0x4 0x8>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1563 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1564 | status = "disabled"; |
| 1565 | }; |
| 1566 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 1567 | rtc: rtc@5c004000 { |
| 1568 | compatible = "st,stm32mp1-rtc"; |
| 1569 | reg = <0x5c004000 0x400>; |
| 1570 | clocks = <&rcc RTCAPB>, <&rcc RTC>; |
| 1571 | clock-names = "pclk", "rtc_ck"; |
| 1572 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 1573 | status = "disabled"; |
| 1574 | }; |
| 1575 | |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1576 | bsec: efuse@5c005000 { |
Patrick Delaunay | bfe1f08 | 2019-02-27 17:01:27 +0100 | [diff] [blame] | 1577 | compatible = "st,stm32mp15-bsec"; |
| 1578 | reg = <0x5c005000 0x400>; |
| 1579 | #address-cells = <1>; |
| 1580 | #size-cells = <1>; |
Patrick Delaunay | 6f2e0ad | 2020-05-25 12:19:42 +0200 | [diff] [blame] | 1581 | part_number_otp: part_number_otp@4 { |
| 1582 | reg = <0x4 0x1>; |
| 1583 | }; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 1584 | ts_cal1: calib@5c { |
| 1585 | reg = <0x5c 0x2>; |
| 1586 | }; |
| 1587 | ts_cal2: calib@5e { |
| 1588 | reg = <0x5e 0x2>; |
| 1589 | }; |
Patrick Delaunay | bfe1f08 | 2019-02-27 17:01:27 +0100 | [diff] [blame] | 1590 | }; |
| 1591 | |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1592 | i2c6: i2c@5c009000 { |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1593 | compatible = "st,stm32mp15-i2c"; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1594 | reg = <0x5c009000 0x400>; |
| 1595 | interrupt-names = "event", "error"; |
| 1596 | interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, |
| 1597 | <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; |
| 1598 | clocks = <&rcc I2C6_K>; |
| 1599 | resets = <&rcc I2C6_R>; |
| 1600 | #address-cells = <1>; |
| 1601 | #size-cells = <0>; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1602 | st,syscfg-fmp = <&syscfg 0x4 0x20>; |
Patrick Delaunay | 1b28a5e | 2020-04-30 15:52:46 +0200 | [diff] [blame] | 1603 | wakeup-source; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1604 | status = "disabled"; |
| 1605 | }; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1606 | |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1607 | tamp: tamp@5c00a000 { |
| 1608 | compatible = "st,stm32-tamp", "syscon", "simple-mfd"; |
| 1609 | reg = <0x5c00a000 0x400>; |
| 1610 | }; |
| 1611 | |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1612 | /* |
| 1613 | * Break node order to solve dependency probe issue between |
| 1614 | * pinctrl and exti. |
| 1615 | */ |
| 1616 | pinctrl: pin-controller@50002000 { |
| 1617 | #address-cells = <1>; |
| 1618 | #size-cells = <1>; |
| 1619 | compatible = "st,stm32mp157-pinctrl"; |
| 1620 | ranges = <0 0x50002000 0xa400>; |
| 1621 | interrupt-parent = <&exti>; |
| 1622 | st,syscfg = <&exti 0x60 0xff>; |
| 1623 | hwlocks = <&hwspinlock 0>; |
| 1624 | pins-are-numbered; |
| 1625 | |
| 1626 | gpioa: gpio@50002000 { |
| 1627 | gpio-controller; |
| 1628 | #gpio-cells = <2>; |
| 1629 | interrupt-controller; |
| 1630 | #interrupt-cells = <2>; |
| 1631 | reg = <0x0 0x400>; |
| 1632 | clocks = <&rcc GPIOA>; |
| 1633 | st,bank-name = "GPIOA"; |
| 1634 | status = "disabled"; |
| 1635 | }; |
| 1636 | |
| 1637 | gpiob: gpio@50003000 { |
| 1638 | gpio-controller; |
| 1639 | #gpio-cells = <2>; |
| 1640 | interrupt-controller; |
| 1641 | #interrupt-cells = <2>; |
| 1642 | reg = <0x1000 0x400>; |
| 1643 | clocks = <&rcc GPIOB>; |
| 1644 | st,bank-name = "GPIOB"; |
| 1645 | status = "disabled"; |
| 1646 | }; |
| 1647 | |
| 1648 | gpioc: gpio@50004000 { |
| 1649 | gpio-controller; |
| 1650 | #gpio-cells = <2>; |
| 1651 | interrupt-controller; |
| 1652 | #interrupt-cells = <2>; |
| 1653 | reg = <0x2000 0x400>; |
| 1654 | clocks = <&rcc GPIOC>; |
| 1655 | st,bank-name = "GPIOC"; |
| 1656 | status = "disabled"; |
| 1657 | }; |
| 1658 | |
| 1659 | gpiod: gpio@50005000 { |
| 1660 | gpio-controller; |
| 1661 | #gpio-cells = <2>; |
| 1662 | interrupt-controller; |
| 1663 | #interrupt-cells = <2>; |
| 1664 | reg = <0x3000 0x400>; |
| 1665 | clocks = <&rcc GPIOD>; |
| 1666 | st,bank-name = "GPIOD"; |
| 1667 | status = "disabled"; |
| 1668 | }; |
| 1669 | |
| 1670 | gpioe: gpio@50006000 { |
| 1671 | gpio-controller; |
| 1672 | #gpio-cells = <2>; |
| 1673 | interrupt-controller; |
| 1674 | #interrupt-cells = <2>; |
| 1675 | reg = <0x4000 0x400>; |
| 1676 | clocks = <&rcc GPIOE>; |
| 1677 | st,bank-name = "GPIOE"; |
| 1678 | status = "disabled"; |
| 1679 | }; |
| 1680 | |
| 1681 | gpiof: gpio@50007000 { |
| 1682 | gpio-controller; |
| 1683 | #gpio-cells = <2>; |
| 1684 | interrupt-controller; |
| 1685 | #interrupt-cells = <2>; |
| 1686 | reg = <0x5000 0x400>; |
| 1687 | clocks = <&rcc GPIOF>; |
| 1688 | st,bank-name = "GPIOF"; |
| 1689 | status = "disabled"; |
| 1690 | }; |
| 1691 | |
| 1692 | gpiog: gpio@50008000 { |
| 1693 | gpio-controller; |
| 1694 | #gpio-cells = <2>; |
| 1695 | interrupt-controller; |
| 1696 | #interrupt-cells = <2>; |
| 1697 | reg = <0x6000 0x400>; |
| 1698 | clocks = <&rcc GPIOG>; |
| 1699 | st,bank-name = "GPIOG"; |
| 1700 | status = "disabled"; |
| 1701 | }; |
| 1702 | |
| 1703 | gpioh: gpio@50009000 { |
| 1704 | gpio-controller; |
| 1705 | #gpio-cells = <2>; |
| 1706 | interrupt-controller; |
| 1707 | #interrupt-cells = <2>; |
| 1708 | reg = <0x7000 0x400>; |
| 1709 | clocks = <&rcc GPIOH>; |
| 1710 | st,bank-name = "GPIOH"; |
| 1711 | status = "disabled"; |
| 1712 | }; |
| 1713 | |
| 1714 | gpioi: gpio@5000a000 { |
| 1715 | gpio-controller; |
| 1716 | #gpio-cells = <2>; |
| 1717 | interrupt-controller; |
| 1718 | #interrupt-cells = <2>; |
| 1719 | reg = <0x8000 0x400>; |
| 1720 | clocks = <&rcc GPIOI>; |
| 1721 | st,bank-name = "GPIOI"; |
| 1722 | status = "disabled"; |
| 1723 | }; |
| 1724 | |
| 1725 | gpioj: gpio@5000b000 { |
| 1726 | gpio-controller; |
| 1727 | #gpio-cells = <2>; |
| 1728 | interrupt-controller; |
| 1729 | #interrupt-cells = <2>; |
| 1730 | reg = <0x9000 0x400>; |
| 1731 | clocks = <&rcc GPIOJ>; |
| 1732 | st,bank-name = "GPIOJ"; |
| 1733 | status = "disabled"; |
| 1734 | }; |
| 1735 | |
| 1736 | gpiok: gpio@5000c000 { |
| 1737 | gpio-controller; |
| 1738 | #gpio-cells = <2>; |
| 1739 | interrupt-controller; |
| 1740 | #interrupt-cells = <2>; |
| 1741 | reg = <0xa000 0x400>; |
| 1742 | clocks = <&rcc GPIOK>; |
| 1743 | st,bank-name = "GPIOK"; |
| 1744 | status = "disabled"; |
| 1745 | }; |
| 1746 | }; |
| 1747 | |
| 1748 | pinctrl_z: pin-controller-z@54004000 { |
| 1749 | #address-cells = <1>; |
| 1750 | #size-cells = <1>; |
| 1751 | compatible = "st,stm32mp157-z-pinctrl"; |
| 1752 | ranges = <0 0x54004000 0x400>; |
| 1753 | pins-are-numbered; |
| 1754 | interrupt-parent = <&exti>; |
| 1755 | st,syscfg = <&exti 0x60 0xff>; |
| 1756 | hwlocks = <&hwspinlock 0>; |
| 1757 | |
| 1758 | gpioz: gpio@54004000 { |
| 1759 | gpio-controller; |
| 1760 | #gpio-cells = <2>; |
| 1761 | interrupt-controller; |
| 1762 | #interrupt-cells = <2>; |
| 1763 | reg = <0 0x400>; |
| 1764 | clocks = <&rcc GPIOZ>; |
| 1765 | st,bank-name = "GPIOZ"; |
| 1766 | st,bank-ioport = <11>; |
| 1767 | status = "disabled"; |
| 1768 | }; |
| 1769 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1770 | }; |
Patrick Delaunay | 5d2901a | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 1771 | |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1772 | mlahb: ahb { |
| 1773 | compatible = "st,mlahb", "simple-bus"; |
Patrick Delaunay | 5d2901a | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 1774 | #address-cells = <1>; |
| 1775 | #size-cells = <1>; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 1776 | ranges; |
Patrick Delaunay | 5d2901a | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 1777 | dma-ranges = <0x00000000 0x38000000 0x10000>, |
| 1778 | <0x10000000 0x10000000 0x60000>, |
| 1779 | <0x30000000 0x30000000 0x60000>; |
| 1780 | |
| 1781 | m4_rproc: m4@10000000 { |
| 1782 | compatible = "st,stm32mp1-m4"; |
| 1783 | reg = <0x10000000 0x40000>, |
| 1784 | <0x30000000 0x40000>, |
| 1785 | <0x38000000 0x10000>; |
| 1786 | resets = <&rcc MCU_R>; |
| 1787 | st,syscfg-holdboot = <&rcc 0x10C 0x1>; |
| 1788 | st,syscfg-tz = <&rcc 0x000 0x1>; |
Patrick Delaunay | 500327e | 2020-07-06 13:26:53 +0200 | [diff] [blame] | 1789 | st,syscfg-pdds = <&pwr_mcu 0x0 0x1>; |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame^] | 1790 | st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>; |
| 1791 | st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>; |
Patrick Delaunay | 5d2901a | 2019-08-02 15:07:18 +0200 | [diff] [blame] | 1792 | status = "disabled"; |
| 1793 | }; |
| 1794 | }; |
Patrick Delaunay | a674313 | 2018-07-09 15:17:19 +0200 | [diff] [blame] | 1795 | }; |