blob: a5ac62c83d3a2ebcb79eb39b7482cca3bf209bf7 [file] [log] [blame]
Patrick Delaunaya6743132018-07-09 15:17:19 +02001// 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 Delaunay1b28a5e2020-04-30 15:52:46 +020020 clock-frequency = <650000000>;
Patrick Delaunaya6743132018-07-09 15:17:19 +020021 device_type = "cpu";
22 reg = <0>;
Patrick Delaunay6f2e0ad2020-05-25 12:19:42 +020023 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 Delaunaya6743132018-07-09 15:17:19 +020041 };
Patrick Delaunaya6743132018-07-09 15:17:19 +020042 };
43
Patrick Delaunayf050e3f2021-01-11 12:33:36 +010044 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 Delaunaya6743132018-07-09 15:17:19 +020051 psci {
Patrick Delaunayc8a66682019-02-04 11:26:21 +010052 compatible = "arm,psci-1.0";
Patrick Delaunaya6743132018-07-09 15:17:19 +020053 method = "smc";
Patrick Delaunaya6743132018-07-09 15:17:19 +020054 };
55
Patrick Delaunaya6743132018-07-09 15:17:19 +020056 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";
Patrick Delaunay189ec2f2022-04-26 15:38:05 +020066 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
67 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
68 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
69 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
Patrick Delaunaya6743132018-07-09 15:17:19 +020070 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 Delaunay35a54d42019-07-11 11:15:28 +0200105 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 Delaunay62d620c2019-11-06 16:16:33 +0100130 booster: regulator-booster {
131 compatible = "st,stm32mp1-booster";
132 st,syscfg = <&syscfg>;
133 status = "disabled";
134 };
135
Patrick Delaunaya6743132018-07-09 15:17:19 +0200136 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 Delaunay35a54d42019-07-11 11:15:28 +0200150 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 Delaunaya6743132018-07-09 15:17:19 +0200156 status = "disabled";
157
158 pwm {
159 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100160 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200161 status = "disabled";
162 };
163
164 timer@1 {
165 compatible = "st,stm32h7-timer-trigger";
166 reg = <1>;
167 status = "disabled";
168 };
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +0100169
170 counter {
171 compatible = "st,stm32-timer-counter";
172 status = "disabled";
173 };
Patrick Delaunaya6743132018-07-09 15:17:19 +0200174 };
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 Delaunay35a54d42019-07-11 11:15:28 +0200183 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 Delaunaya6743132018-07-09 15:17:19 +0200190 status = "disabled";
191
192 pwm {
193 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100194 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200195 status = "disabled";
196 };
197
198 timer@2 {
199 compatible = "st,stm32h7-timer-trigger";
200 reg = <2>;
201 status = "disabled";
202 };
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +0100203
204 counter {
205 compatible = "st,stm32-timer-counter";
206 status = "disabled";
207 };
Patrick Delaunaya6743132018-07-09 15:17:19 +0200208 };
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 Delaunay35a54d42019-07-11 11:15:28 +0200217 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 Delaunaya6743132018-07-09 15:17:19 +0200222 status = "disabled";
223
224 pwm {
225 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100226 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200227 status = "disabled";
228 };
229
230 timer@3 {
231 compatible = "st,stm32h7-timer-trigger";
232 reg = <3>;
233 status = "disabled";
234 };
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +0100235
236 counter {
237 compatible = "st,stm32-timer-counter";
238 status = "disabled";
239 };
Patrick Delaunaya6743132018-07-09 15:17:19 +0200240 };
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 Delaunay35a54d42019-07-11 11:15:28 +0200249 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 Delaunaya6743132018-07-09 15:17:19 +0200256 status = "disabled";
257
258 pwm {
259 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100260 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200261 status = "disabled";
262 };
263
264 timer@4 {
265 compatible = "st,stm32h7-timer-trigger";
266 reg = <4>;
267 status = "disabled";
268 };
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +0100269
270 counter {
271 compatible = "st,stm32-timer-counter";
272 status = "disabled";
273 };
Patrick Delaunaya6743132018-07-09 15:17:19 +0200274 };
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 Delaunay35a54d42019-07-11 11:15:28 +0200283 dmas = <&dmamux1 69 0x400 0x1>;
284 dma-names = "up";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200285 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 Delaunay35a54d42019-07-11 11:15:28 +0200301 dmas = <&dmamux1 70 0x400 0x1>;
302 dma-names = "up";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200303 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 Delaunay62d620c2019-11-06 16:16:33 +0100323 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200324 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 Delaunay62d620c2019-11-06 16:16:33 +0100345 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200346 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 Delaunay62d620c2019-11-06 16:16:33 +0100367 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200368 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 Delaunayf050e3f2021-01-11 12:33:36 +0100383 interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200384 clocks = <&rcc LPTIM1_K>;
385 clock-names = "mux";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +0100386 wakeup-source;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200387 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 Chotard23661602019-02-12 16:50:38 +0100407 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 Delaunayfe915332019-07-30 19:16:12 +0200421 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 Chotard23661602019-02-12 16:50:38 +0100432 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 Delaunayfe915332019-07-30 19:16:12 +0200446 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 Delaunay35a54d42019-07-11 11:15:28 +0200457 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 Delaunaya6743132018-07-09 15:17:19 +0200470 usart2: serial@4000e000 {
471 compatible = "st,stm32h7-uart";
472 reg = <0x4000e000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200473 interrupts-extended = <&exti 27 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200474 clocks = <&rcc USART2_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200475 wakeup-source;
Patrick Delaunay189ec2f2022-04-26 15:38:05 +0200476 dmas = <&dmamux1 43 0x400 0x15>,
477 <&dmamux1 44 0x400 0x11>;
478 dma-names = "rx", "tx";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200479 status = "disabled";
480 };
481
482 usart3: serial@4000f000 {
483 compatible = "st,stm32h7-uart";
484 reg = <0x4000f000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200485 interrupts-extended = <&exti 28 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200486 clocks = <&rcc USART3_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200487 wakeup-source;
Patrick Delaunay189ec2f2022-04-26 15:38:05 +0200488 dmas = <&dmamux1 45 0x400 0x15>,
489 <&dmamux1 46 0x400 0x11>;
490 dma-names = "rx", "tx";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200491 status = "disabled";
492 };
493
494 uart4: serial@40010000 {
495 compatible = "st,stm32h7-uart";
496 reg = <0x40010000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200497 interrupts-extended = <&exti 30 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200498 clocks = <&rcc UART4_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200499 wakeup-source;
Patrick Delaunay189ec2f2022-04-26 15:38:05 +0200500 dmas = <&dmamux1 63 0x400 0x15>,
501 <&dmamux1 64 0x400 0x11>;
502 dma-names = "rx", "tx";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200503 status = "disabled";
504 };
505
506 uart5: serial@40011000 {
507 compatible = "st,stm32h7-uart";
508 reg = <0x40011000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200509 interrupts-extended = <&exti 31 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200510 clocks = <&rcc UART5_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200511 wakeup-source;
Patrick Delaunay189ec2f2022-04-26 15:38:05 +0200512 dmas = <&dmamux1 65 0x400 0x15>,
513 <&dmamux1 66 0x400 0x11>;
514 dma-names = "rx", "tx";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200515 status = "disabled";
516 };
517
518 i2c1: i2c@40012000 {
Patrick Delaunay500327e2020-07-06 13:26:53 +0200519 compatible = "st,stm32mp15-i2c";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200520 reg = <0x40012000 0x400>;
521 interrupt-names = "event", "error";
522 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
523 <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
524 clocks = <&rcc I2C1_K>;
525 resets = <&rcc I2C1_R>;
526 #address-cells = <1>;
527 #size-cells = <0>;
Patrick Delaunay500327e2020-07-06 13:26:53 +0200528 st,syscfg-fmp = <&syscfg 0x4 0x1>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +0200529 wakeup-source;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200530 i2c-analog-filter;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200531 status = "disabled";
532 };
533
534 i2c2: i2c@40013000 {
Patrick Delaunay500327e2020-07-06 13:26:53 +0200535 compatible = "st,stm32mp15-i2c";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200536 reg = <0x40013000 0x400>;
537 interrupt-names = "event", "error";
538 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
539 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
540 clocks = <&rcc I2C2_K>;
541 resets = <&rcc I2C2_R>;
542 #address-cells = <1>;
543 #size-cells = <0>;
Patrick Delaunay500327e2020-07-06 13:26:53 +0200544 st,syscfg-fmp = <&syscfg 0x4 0x2>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +0200545 wakeup-source;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200546 i2c-analog-filter;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200547 status = "disabled";
548 };
549
550 i2c3: i2c@40014000 {
Patrick Delaunay500327e2020-07-06 13:26:53 +0200551 compatible = "st,stm32mp15-i2c";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200552 reg = <0x40014000 0x400>;
553 interrupt-names = "event", "error";
554 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
555 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
556 clocks = <&rcc I2C3_K>;
557 resets = <&rcc I2C3_R>;
558 #address-cells = <1>;
559 #size-cells = <0>;
Patrick Delaunay500327e2020-07-06 13:26:53 +0200560 st,syscfg-fmp = <&syscfg 0x4 0x4>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +0200561 wakeup-source;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200562 i2c-analog-filter;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200563 status = "disabled";
564 };
565
566 i2c5: i2c@40015000 {
Patrick Delaunay500327e2020-07-06 13:26:53 +0200567 compatible = "st,stm32mp15-i2c";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200568 reg = <0x40015000 0x400>;
569 interrupt-names = "event", "error";
570 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
571 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
572 clocks = <&rcc I2C5_K>;
573 resets = <&rcc I2C5_R>;
574 #address-cells = <1>;
575 #size-cells = <0>;
Patrick Delaunay500327e2020-07-06 13:26:53 +0200576 st,syscfg-fmp = <&syscfg 0x4 0x10>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +0200577 wakeup-source;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200578 i2c-analog-filter;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200579 status = "disabled";
580 };
581
582 cec: cec@40016000 {
583 compatible = "st,stm32-cec";
584 reg = <0x40016000 0x400>;
585 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay69ef98b2022-07-05 16:55:54 +0200586 clocks = <&rcc CEC_K>, <&rcc CEC>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200587 clock-names = "cec", "hdmi-cec";
588 status = "disabled";
589 };
590
591 dac: dac@40017000 {
592 compatible = "st,stm32h7-dac-core";
593 reg = <0x40017000 0x400>;
594 clocks = <&rcc DAC12>;
595 clock-names = "pclk";
596 #address-cells = <1>;
597 #size-cells = <0>;
598 status = "disabled";
599
600 dac1: dac@1 {
601 compatible = "st,stm32-dac";
Patrick Delaunay500327e2020-07-06 13:26:53 +0200602 #io-channel-cells = <1>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200603 reg = <1>;
604 status = "disabled";
605 };
606
607 dac2: dac@2 {
608 compatible = "st,stm32-dac";
Patrick Delaunay500327e2020-07-06 13:26:53 +0200609 #io-channel-cells = <1>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200610 reg = <2>;
611 status = "disabled";
612 };
613 };
614
615 uart7: serial@40018000 {
616 compatible = "st,stm32h7-uart";
617 reg = <0x40018000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200618 interrupts-extended = <&exti 32 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200619 clocks = <&rcc UART7_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200620 wakeup-source;
Patrick Delaunay189ec2f2022-04-26 15:38:05 +0200621 dmas = <&dmamux1 79 0x400 0x15>,
622 <&dmamux1 80 0x400 0x11>;
623 dma-names = "rx", "tx";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200624 status = "disabled";
625 };
626
627 uart8: serial@40019000 {
628 compatible = "st,stm32h7-uart";
629 reg = <0x40019000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200630 interrupts-extended = <&exti 33 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200631 clocks = <&rcc UART8_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200632 wakeup-source;
Patrick Delaunay189ec2f2022-04-26 15:38:05 +0200633 dmas = <&dmamux1 81 0x400 0x15>,
634 <&dmamux1 82 0x400 0x11>;
635 dma-names = "rx", "tx";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200636 status = "disabled";
637 };
638
639 timers1: timer@44000000 {
640 #address-cells = <1>;
641 #size-cells = <0>;
642 compatible = "st,stm32-timers";
643 reg = <0x44000000 0x400>;
644 clocks = <&rcc TIM1_K>;
645 clock-names = "int";
Patrick Delaunay35a54d42019-07-11 11:15:28 +0200646 dmas = <&dmamux1 11 0x400 0x1>,
647 <&dmamux1 12 0x400 0x1>,
648 <&dmamux1 13 0x400 0x1>,
649 <&dmamux1 14 0x400 0x1>,
650 <&dmamux1 15 0x400 0x1>,
651 <&dmamux1 16 0x400 0x1>,
652 <&dmamux1 17 0x400 0x1>;
653 dma-names = "ch1", "ch2", "ch3", "ch4",
654 "up", "trig", "com";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200655 status = "disabled";
656
657 pwm {
658 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100659 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200660 status = "disabled";
661 };
662
663 timer@0 {
664 compatible = "st,stm32h7-timer-trigger";
665 reg = <0>;
666 status = "disabled";
667 };
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +0100668
669 counter {
670 compatible = "st,stm32-timer-counter";
671 status = "disabled";
672 };
Patrick Delaunaya6743132018-07-09 15:17:19 +0200673 };
674
675 timers8: timer@44001000 {
676 #address-cells = <1>;
677 #size-cells = <0>;
678 compatible = "st,stm32-timers";
679 reg = <0x44001000 0x400>;
680 clocks = <&rcc TIM8_K>;
681 clock-names = "int";
Patrick Delaunay35a54d42019-07-11 11:15:28 +0200682 dmas = <&dmamux1 47 0x400 0x1>,
683 <&dmamux1 48 0x400 0x1>,
684 <&dmamux1 49 0x400 0x1>,
685 <&dmamux1 50 0x400 0x1>,
686 <&dmamux1 51 0x400 0x1>,
687 <&dmamux1 52 0x400 0x1>,
688 <&dmamux1 53 0x400 0x1>;
689 dma-names = "ch1", "ch2", "ch3", "ch4",
690 "up", "trig", "com";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200691 status = "disabled";
692
693 pwm {
694 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100695 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200696 status = "disabled";
697 };
698
699 timer@7 {
700 compatible = "st,stm32h7-timer-trigger";
701 reg = <7>;
702 status = "disabled";
703 };
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +0100704
705 counter {
706 compatible = "st,stm32-timer-counter";
707 status = "disabled";
708 };
Patrick Delaunaya6743132018-07-09 15:17:19 +0200709 };
710
711 usart6: serial@44003000 {
712 compatible = "st,stm32h7-uart";
713 reg = <0x44003000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200714 interrupts-extended = <&exti 29 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200715 clocks = <&rcc USART6_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +0200716 wakeup-source;
Patrick Delaunay189ec2f2022-04-26 15:38:05 +0200717 dmas = <&dmamux1 71 0x400 0x15>,
718 <&dmamux1 72 0x400 0x11>;
719 dma-names = "rx", "tx";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200720 status = "disabled";
721 };
722
Patrice Chotard23661602019-02-12 16:50:38 +0100723 spi1: spi@44004000 {
724 #address-cells = <1>;
725 #size-cells = <0>;
726 compatible = "st,stm32h7-spi";
727 reg = <0x44004000 0x400>;
728 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
729 clocks = <&rcc SPI1_K>;
730 resets = <&rcc SPI1_R>;
731 dmas = <&dmamux1 37 0x400 0x05>,
732 <&dmamux1 38 0x400 0x05>;
733 dma-names = "rx", "tx";
734 status = "disabled";
735 };
736
Patrick Delaunayfe915332019-07-30 19:16:12 +0200737 i2s1: audio-controller@44004000 {
738 compatible = "st,stm32h7-i2s";
739 #sound-dai-cells = <0>;
740 reg = <0x44004000 0x400>;
741 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
742 dmas = <&dmamux1 37 0x400 0x01>,
743 <&dmamux1 38 0x400 0x01>;
744 dma-names = "rx", "tx";
745 status = "disabled";
746 };
747
Patrice Chotard23661602019-02-12 16:50:38 +0100748 spi4: spi@44005000 {
749 #address-cells = <1>;
750 #size-cells = <0>;
751 compatible = "st,stm32h7-spi";
752 reg = <0x44005000 0x400>;
753 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
754 clocks = <&rcc SPI4_K>;
755 resets = <&rcc SPI4_R>;
756 dmas = <&dmamux1 83 0x400 0x05>,
757 <&dmamux1 84 0x400 0x05>;
758 dma-names = "rx", "tx";
759 status = "disabled";
760 };
761
Patrick Delaunaya6743132018-07-09 15:17:19 +0200762 timers15: timer@44006000 {
763 #address-cells = <1>;
764 #size-cells = <0>;
765 compatible = "st,stm32-timers";
766 reg = <0x44006000 0x400>;
767 clocks = <&rcc TIM15_K>;
768 clock-names = "int";
Patrick Delaunay35a54d42019-07-11 11:15:28 +0200769 dmas = <&dmamux1 105 0x400 0x1>,
770 <&dmamux1 106 0x400 0x1>,
771 <&dmamux1 107 0x400 0x1>,
772 <&dmamux1 108 0x400 0x1>;
773 dma-names = "ch1", "up", "trig", "com";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200774 status = "disabled";
775
776 pwm {
777 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100778 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200779 status = "disabled";
780 };
781
782 timer@14 {
783 compatible = "st,stm32h7-timer-trigger";
784 reg = <14>;
785 status = "disabled";
786 };
787 };
788
789 timers16: timer@44007000 {
790 #address-cells = <1>;
791 #size-cells = <0>;
792 compatible = "st,stm32-timers";
793 reg = <0x44007000 0x400>;
794 clocks = <&rcc TIM16_K>;
795 clock-names = "int";
Patrick Delaunay35a54d42019-07-11 11:15:28 +0200796 dmas = <&dmamux1 109 0x400 0x1>,
797 <&dmamux1 110 0x400 0x1>;
798 dma-names = "ch1", "up";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200799 status = "disabled";
800
801 pwm {
802 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100803 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200804 status = "disabled";
805 };
806 timer@15 {
807 compatible = "st,stm32h7-timer-trigger";
808 reg = <15>;
809 status = "disabled";
810 };
811 };
812
813 timers17: timer@44008000 {
814 #address-cells = <1>;
815 #size-cells = <0>;
816 compatible = "st,stm32-timers";
817 reg = <0x44008000 0x400>;
818 clocks = <&rcc TIM17_K>;
819 clock-names = "int";
Patrick Delaunay35a54d42019-07-11 11:15:28 +0200820 dmas = <&dmamux1 111 0x400 0x1>,
821 <&dmamux1 112 0x400 0x1>;
822 dma-names = "ch1", "up";
Patrick Delaunaya6743132018-07-09 15:17:19 +0200823 status = "disabled";
824
825 pwm {
826 compatible = "st,stm32-pwm";
Patrick Delaunay62d620c2019-11-06 16:16:33 +0100827 #pwm-cells = <3>;
Patrick Delaunaya6743132018-07-09 15:17:19 +0200828 status = "disabled";
829 };
830
831 timer@16 {
832 compatible = "st,stm32h7-timer-trigger";
833 reg = <16>;
834 status = "disabled";
835 };
836 };
837
Patrice Chotard23661602019-02-12 16:50:38 +0100838 spi5: spi@44009000 {
839 #address-cells = <1>;
840 #size-cells = <0>;
841 compatible = "st,stm32h7-spi";
842 reg = <0x44009000 0x400>;
843 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
844 clocks = <&rcc SPI5_K>;
845 resets = <&rcc SPI5_R>;
846 dmas = <&dmamux1 85 0x400 0x05>,
847 <&dmamux1 86 0x400 0x05>;
848 dma-names = "rx", "tx";
849 status = "disabled";
850 };
851
Patrick Delaunayfe915332019-07-30 19:16:12 +0200852 sai1: sai@4400a000 {
853 compatible = "st,stm32h7-sai";
854 #address-cells = <1>;
855 #size-cells = <1>;
856 ranges = <0 0x4400a000 0x400>;
857 reg = <0x4400a000 0x4>, <0x4400a3f0 0x10>;
858 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
859 resets = <&rcc SAI1_R>;
860 status = "disabled";
861
862 sai1a: audio-controller@4400a004 {
863 #sound-dai-cells = <0>;
864
865 compatible = "st,stm32-sai-sub-a";
Patrick Delaunaybd485f92021-12-17 16:30:22 +0100866 reg = <0x4 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +0200867 clocks = <&rcc SAI1_K>;
868 clock-names = "sai_ck";
869 dmas = <&dmamux1 87 0x400 0x01>;
870 status = "disabled";
871 };
872
873 sai1b: audio-controller@4400a024 {
874 #sound-dai-cells = <0>;
875 compatible = "st,stm32-sai-sub-b";
Patrick Delaunaybd485f92021-12-17 16:30:22 +0100876 reg = <0x24 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +0200877 clocks = <&rcc SAI1_K>;
878 clock-names = "sai_ck";
879 dmas = <&dmamux1 88 0x400 0x01>;
880 status = "disabled";
881 };
882 };
883
884 sai2: sai@4400b000 {
885 compatible = "st,stm32h7-sai";
886 #address-cells = <1>;
887 #size-cells = <1>;
888 ranges = <0 0x4400b000 0x400>;
889 reg = <0x4400b000 0x4>, <0x4400b3f0 0x10>;
890 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
891 resets = <&rcc SAI2_R>;
892 status = "disabled";
893
894 sai2a: audio-controller@4400b004 {
895 #sound-dai-cells = <0>;
896 compatible = "st,stm32-sai-sub-a";
Patrick Delaunaybd485f92021-12-17 16:30:22 +0100897 reg = <0x4 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +0200898 clocks = <&rcc SAI2_K>;
899 clock-names = "sai_ck";
900 dmas = <&dmamux1 89 0x400 0x01>;
901 status = "disabled";
902 };
903
904 sai2b: audio-controller@4400b024 {
905 #sound-dai-cells = <0>;
906 compatible = "st,stm32-sai-sub-b";
Patrick Delaunaybd485f92021-12-17 16:30:22 +0100907 reg = <0x24 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +0200908 clocks = <&rcc SAI2_K>;
909 clock-names = "sai_ck";
910 dmas = <&dmamux1 90 0x400 0x01>;
911 status = "disabled";
912 };
913 };
914
915 sai3: sai@4400c000 {
916 compatible = "st,stm32h7-sai";
917 #address-cells = <1>;
918 #size-cells = <1>;
919 ranges = <0 0x4400c000 0x400>;
920 reg = <0x4400c000 0x4>, <0x4400c3f0 0x10>;
921 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
922 resets = <&rcc SAI3_R>;
923 status = "disabled";
924
925 sai3a: audio-controller@4400c004 {
926 #sound-dai-cells = <0>;
927 compatible = "st,stm32-sai-sub-a";
Patrick Delaunaybd485f92021-12-17 16:30:22 +0100928 reg = <0x04 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +0200929 clocks = <&rcc SAI3_K>;
930 clock-names = "sai_ck";
931 dmas = <&dmamux1 113 0x400 0x01>;
932 status = "disabled";
933 };
934
935 sai3b: audio-controller@4400c024 {
936 #sound-dai-cells = <0>;
937 compatible = "st,stm32-sai-sub-b";
Patrick Delaunaybd485f92021-12-17 16:30:22 +0100938 reg = <0x24 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +0200939 clocks = <&rcc SAI3_K>;
940 clock-names = "sai_ck";
941 dmas = <&dmamux1 114 0x400 0x01>;
942 status = "disabled";
943 };
944 };
945
Patrice Chotard23661602019-02-12 16:50:38 +0100946 dfsdm: dfsdm@4400d000 {
947 compatible = "st,stm32mp1-dfsdm";
948 reg = <0x4400d000 0x800>;
949 clocks = <&rcc DFSDM_K>;
950 clock-names = "dfsdm";
951 #address-cells = <1>;
952 #size-cells = <0>;
953 status = "disabled";
954
955 dfsdm0: filter@0 {
956 compatible = "st,stm32-dfsdm-adc";
957 #io-channel-cells = <1>;
958 reg = <0>;
959 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
960 dmas = <&dmamux1 101 0x400 0x01>;
961 dma-names = "rx";
962 status = "disabled";
963 };
964
965 dfsdm1: filter@1 {
966 compatible = "st,stm32-dfsdm-adc";
967 #io-channel-cells = <1>;
968 reg = <1>;
969 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
970 dmas = <&dmamux1 102 0x400 0x01>;
971 dma-names = "rx";
972 status = "disabled";
973 };
974
975 dfsdm2: filter@2 {
976 compatible = "st,stm32-dfsdm-adc";
977 #io-channel-cells = <1>;
978 reg = <2>;
979 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
980 dmas = <&dmamux1 103 0x400 0x01>;
981 dma-names = "rx";
982 status = "disabled";
983 };
984
985 dfsdm3: filter@3 {
986 compatible = "st,stm32-dfsdm-adc";
987 #io-channel-cells = <1>;
988 reg = <3>;
989 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
990 dmas = <&dmamux1 104 0x400 0x01>;
991 dma-names = "rx";
992 status = "disabled";
993 };
994
995 dfsdm4: filter@4 {
996 compatible = "st,stm32-dfsdm-adc";
997 #io-channel-cells = <1>;
998 reg = <4>;
999 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
1000 dmas = <&dmamux1 91 0x400 0x01>;
1001 dma-names = "rx";
1002 status = "disabled";
1003 };
1004
1005 dfsdm5: filter@5 {
1006 compatible = "st,stm32-dfsdm-adc";
1007 #io-channel-cells = <1>;
1008 reg = <5>;
1009 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
1010 dmas = <&dmamux1 92 0x400 0x01>;
1011 dma-names = "rx";
1012 status = "disabled";
1013 };
1014 };
1015
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001016 dma1: dma-controller@48000000 {
Patrick Delaunaya6743132018-07-09 15:17:19 +02001017 compatible = "st,stm32-dma";
1018 reg = <0x48000000 0x400>;
1019 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
1020 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1021 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
1022 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
1023 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
1024 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
1025 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
1026 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
1027 clocks = <&rcc DMA1>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +02001028 resets = <&rcc DMA1_R>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001029 #dma-cells = <4>;
1030 st,mem2mem;
1031 dma-requests = <8>;
1032 };
1033
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001034 dma2: dma-controller@48001000 {
Patrick Delaunaya6743132018-07-09 15:17:19 +02001035 compatible = "st,stm32-dma";
1036 reg = <0x48001000 0x400>;
1037 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
1038 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
1039 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
1040 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
1041 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
1042 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
1043 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
1044 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1045 clocks = <&rcc DMA2>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +02001046 resets = <&rcc DMA2_R>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001047 #dma-cells = <4>;
1048 st,mem2mem;
1049 dma-requests = <8>;
1050 };
1051
1052 dmamux1: dma-router@48002000 {
1053 compatible = "st,stm32h7-dmamux";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001054 reg = <0x48002000 0x40>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001055 #dma-cells = <3>;
1056 dma-requests = <128>;
1057 dma-masters = <&dma1 &dma2>;
1058 dma-channels = <16>;
1059 clocks = <&rcc DMAMUX>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +02001060 resets = <&rcc DMAMUX_R>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001061 };
1062
Patrice Chotard638ee5a2018-08-06 09:54:04 +02001063 adc: adc@48003000 {
1064 compatible = "st,stm32mp1-adc-core";
1065 reg = <0x48003000 0x400>;
1066 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
1067 <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
1068 clocks = <&rcc ADC12>, <&rcc ADC12_K>;
1069 clock-names = "bus", "adc";
1070 interrupt-controller;
Patrick Delaunay62d620c2019-11-06 16:16:33 +01001071 st,syscfg = <&syscfg>;
Patrice Chotard638ee5a2018-08-06 09:54:04 +02001072 #interrupt-cells = <1>;
1073 #address-cells = <1>;
1074 #size-cells = <0>;
1075 status = "disabled";
1076
1077 adc1: adc@0 {
1078 compatible = "st,stm32mp1-adc";
1079 #io-channel-cells = <1>;
1080 reg = <0x0>;
1081 interrupt-parent = <&adc>;
1082 interrupts = <0>;
Patrice Chotard23661602019-02-12 16:50:38 +01001083 dmas = <&dmamux1 9 0x400 0x01>;
1084 dma-names = "rx";
Patrice Chotard638ee5a2018-08-06 09:54:04 +02001085 status = "disabled";
1086 };
1087
1088 adc2: adc@100 {
1089 compatible = "st,stm32mp1-adc";
1090 #io-channel-cells = <1>;
1091 reg = <0x100>;
1092 interrupt-parent = <&adc>;
1093 interrupts = <1>;
Patrice Chotard23661602019-02-12 16:50:38 +01001094 dmas = <&dmamux1 10 0x400 0x01>;
1095 dma-names = "rx";
Patrice Chotard638ee5a2018-08-06 09:54:04 +02001096 status = "disabled";
1097 };
1098 };
1099
Patrick Delaunay7e549342021-06-29 12:01:07 +02001100 sdmmc3: mmc@48004000 {
Patrick Delaunay189ec2f2022-04-26 15:38:05 +02001101 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001102 arm,primecell-periphid = <0x00253180>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001103 reg = <0x48004000 0x400>;
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001104 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
1105 interrupt-names = "cmd_irq";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001106 clocks = <&rcc SDMMC3_K>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001107 clock-names = "apb_pclk";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001108 resets = <&rcc SDMMC3_R>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001109 cap-sd-highspeed;
1110 cap-mmc-highspeed;
1111 max-frequency = <120000000>;
1112 status = "disabled";
1113 };
1114
Patrice Chotard8e9c94d2018-08-10 17:12:11 +02001115 usbotg_hs: usb-otg@49000000 {
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +02001116 compatible = "st,stm32mp15-hsotg", "snps,dwc2";
Patrice Chotard8e9c94d2018-08-10 17:12:11 +02001117 reg = <0x49000000 0x10000>;
1118 clocks = <&rcc USBO_K>;
1119 clock-names = "otg";
1120 resets = <&rcc USBO_R>;
1121 reset-names = "dwc2";
1122 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001123 g-rx-fifo-size = <512>;
Patrice Chotard8e9c94d2018-08-10 17:12:11 +02001124 g-np-tx-fifo-size = <32>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001125 g-tx-fifo-size = <256 16 16 16 16 16 16 16>;
Patrice Chotard8e9c94d2018-08-10 17:12:11 +02001126 dr_mode = "otg";
Patrick Delaunaybd485f92021-12-17 16:30:22 +01001127 otg-rev = <0x200>;
Patrick Delaunayc50151d2019-03-29 15:42:11 +01001128 usb33d-supply = <&usb33>;
Patrice Chotard8e9c94d2018-08-10 17:12:11 +02001129 status = "disabled";
1130 };
1131
Benjamin Gaignard9119f542018-11-27 13:49:52 +01001132 hwspinlock: hwspinlock@4c000000 {
1133 compatible = "st,stm32-hwspinlock";
1134 #hwlock-cells = <1>;
1135 reg = <0x4c000000 0x400>;
1136 clocks = <&rcc HSEM>;
1137 clock-names = "hwspinlock";
Benjamin Gaignard9119f542018-11-27 13:49:52 +01001138 };
1139
Fabien Dessenne1958dae2019-05-14 11:20:37 +02001140 ipcc: mailbox@4c001000 {
1141 compatible = "st,stm32mp1-ipcc";
1142 #mbox-cells = <1>;
1143 reg = <0x4c001000 0x400>;
1144 st,proc-id = <0>;
1145 interrupts-extended =
1146 <&intc GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001147 <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1148 <&exti 61 1>;
1149 interrupt-names = "rx", "tx", "wakeup";
Fabien Dessenne1958dae2019-05-14 11:20:37 +02001150 clocks = <&rcc IPCC>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001151 wakeup-source;
Fabien Dessenne1958dae2019-05-14 11:20:37 +02001152 status = "disabled";
1153 };
1154
Patrick Delaunayfe915332019-07-30 19:16:12 +02001155 dcmi: dcmi@4c006000 {
1156 compatible = "st,stm32-dcmi";
1157 reg = <0x4c006000 0x400>;
1158 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1159 resets = <&rcc CAMITF_R>;
1160 clocks = <&rcc DCMI>;
1161 clock-names = "mclk";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001162 dmas = <&dmamux1 75 0x400 0x01>;
Patrick Delaunayfe915332019-07-30 19:16:12 +02001163 dma-names = "tx";
1164 status = "disabled";
1165 };
1166
Patrick Delaunaya6743132018-07-09 15:17:19 +02001167 rcc: rcc@50000000 {
1168 compatible = "st,stm32mp1-rcc", "syscon";
1169 reg = <0x50000000 0x1000>;
1170 #clock-cells = <1>;
1171 #reset-cells = <1>;
Etienne Carriere3d152452021-02-24 11:19:41 +01001172
1173 clock-names = "hse", "hsi", "csi", "lse", "lsi";
1174 clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>,
1175 <&clk_lse>, <&clk_lsi>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001176 };
1177
Patrick Delaunay7915b992020-01-28 10:10:59 +01001178 pwr_regulators: pwr@50001000 {
1179 compatible = "st,stm32mp1,pwr-reg";
1180 reg = <0x50001000 0x10>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001181
Patrick Delaunay7915b992020-01-28 10:10:59 +01001182 reg11: reg11 {
1183 regulator-name = "reg11";
1184 regulator-min-microvolt = <1100000>;
1185 regulator-max-microvolt = <1100000>;
1186 };
Patrick Delaunaya6743132018-07-09 15:17:19 +02001187
Patrick Delaunay7915b992020-01-28 10:10:59 +01001188 reg18: reg18 {
1189 regulator-name = "reg18";
1190 regulator-min-microvolt = <1800000>;
1191 regulator-max-microvolt = <1800000>;
1192 };
Patrick Delaunaya6743132018-07-09 15:17:19 +02001193
Patrick Delaunay7915b992020-01-28 10:10:59 +01001194 usb33: usb33 {
1195 regulator-name = "usb33";
1196 regulator-min-microvolt = <3300000>;
1197 regulator-max-microvolt = <3300000>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001198 };
1199 };
1200
Patrick Delaunay500327e2020-07-06 13:26:53 +02001201 pwr_mcu: pwr_mcu@50001014 {
Patrick Delaunay62f95af2020-09-16 10:01:32 +02001202 compatible = "st,stm32mp151-pwr-mcu", "syscon";
Patrick Delaunay500327e2020-07-06 13:26:53 +02001203 reg = <0x50001014 0x4>;
1204 };
1205
Patrick Delaunaya6743132018-07-09 15:17:19 +02001206 exti: interrupt-controller@5000d000 {
1207 compatible = "st,stm32mp1-exti", "syscon";
1208 interrupt-controller;
1209 #interrupt-cells = <2>;
1210 reg = <0x5000d000 0x400>;
1211 };
1212
Patrice Chotard23661602019-02-12 16:50:38 +01001213 syscfg: syscon@50020000 {
Patrick Delaunay6c09eb92019-02-27 17:01:23 +01001214 compatible = "st,stm32mp157-syscfg", "syscon";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001215 reg = <0x50020000 0x400>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001216 clocks = <&rcc SYSCFG>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001217 };
1218
1219 lptimer2: timer@50021000 {
1220 #address-cells = <1>;
1221 #size-cells = <0>;
1222 compatible = "st,stm32-lptimer";
1223 reg = <0x50021000 0x400>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001224 interrupts-extended = <&exti 48 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001225 clocks = <&rcc LPTIM2_K>;
1226 clock-names = "mux";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001227 wakeup-source;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001228 status = "disabled";
1229
1230 pwm {
1231 compatible = "st,stm32-pwm-lp";
1232 #pwm-cells = <3>;
1233 status = "disabled";
1234 };
1235
1236 trigger@1 {
1237 compatible = "st,stm32-lptimer-trigger";
1238 reg = <1>;
1239 status = "disabled";
1240 };
1241
1242 counter {
1243 compatible = "st,stm32-lptimer-counter";
1244 status = "disabled";
1245 };
1246 };
1247
1248 lptimer3: timer@50022000 {
1249 #address-cells = <1>;
1250 #size-cells = <0>;
1251 compatible = "st,stm32-lptimer";
1252 reg = <0x50022000 0x400>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001253 interrupts-extended = <&exti 50 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001254 clocks = <&rcc LPTIM3_K>;
1255 clock-names = "mux";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001256 wakeup-source;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001257 status = "disabled";
1258
1259 pwm {
1260 compatible = "st,stm32-pwm-lp";
1261 #pwm-cells = <3>;
1262 status = "disabled";
1263 };
1264
1265 trigger@2 {
1266 compatible = "st,stm32-lptimer-trigger";
1267 reg = <2>;
1268 status = "disabled";
1269 };
1270 };
1271
1272 lptimer4: timer@50023000 {
1273 compatible = "st,stm32-lptimer";
1274 reg = <0x50023000 0x400>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001275 interrupts-extended = <&exti 52 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001276 clocks = <&rcc LPTIM4_K>;
1277 clock-names = "mux";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001278 wakeup-source;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001279 status = "disabled";
1280
1281 pwm {
1282 compatible = "st,stm32-pwm-lp";
1283 #pwm-cells = <3>;
1284 status = "disabled";
1285 };
1286 };
1287
1288 lptimer5: timer@50024000 {
1289 compatible = "st,stm32-lptimer";
1290 reg = <0x50024000 0x400>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001291 interrupts-extended = <&exti 53 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001292 clocks = <&rcc LPTIM5_K>;
1293 clock-names = "mux";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001294 wakeup-source;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001295 status = "disabled";
1296
1297 pwm {
1298 compatible = "st,stm32-pwm-lp";
1299 #pwm-cells = <3>;
1300 status = "disabled";
1301 };
1302 };
1303
1304 vrefbuf: vrefbuf@50025000 {
1305 compatible = "st,stm32-vrefbuf";
1306 reg = <0x50025000 0x8>;
1307 regulator-min-microvolt = <1500000>;
1308 regulator-max-microvolt = <2500000>;
1309 clocks = <&rcc VREF>;
1310 status = "disabled";
1311 };
1312
Patrick Delaunayfe915332019-07-30 19:16:12 +02001313 sai4: sai@50027000 {
1314 compatible = "st,stm32h7-sai";
1315 #address-cells = <1>;
1316 #size-cells = <1>;
1317 ranges = <0 0x50027000 0x400>;
1318 reg = <0x50027000 0x4>, <0x500273f0 0x10>;
1319 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
1320 resets = <&rcc SAI4_R>;
1321 status = "disabled";
1322
1323 sai4a: audio-controller@50027004 {
1324 #sound-dai-cells = <0>;
1325 compatible = "st,stm32-sai-sub-a";
Patrick Delaunaybd485f92021-12-17 16:30:22 +01001326 reg = <0x04 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +02001327 clocks = <&rcc SAI4_K>;
1328 clock-names = "sai_ck";
1329 dmas = <&dmamux1 99 0x400 0x01>;
1330 status = "disabled";
1331 };
1332
1333 sai4b: audio-controller@50027024 {
1334 #sound-dai-cells = <0>;
1335 compatible = "st,stm32-sai-sub-b";
Patrick Delaunaybd485f92021-12-17 16:30:22 +01001336 reg = <0x24 0x20>;
Patrick Delaunayfe915332019-07-30 19:16:12 +02001337 clocks = <&rcc SAI4_K>;
1338 clock-names = "sai_ck";
1339 dmas = <&dmamux1 100 0x400 0x01>;
1340 status = "disabled";
1341 };
1342 };
1343
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001344 dts: thermal@50028000 {
1345 compatible = "st,stm32-thermal";
1346 reg = <0x50028000 0x100>;
1347 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
1348 clocks = <&rcc TMPSENS>;
1349 clock-names = "pclk";
1350 #thermal-sensor-cells = <0>;
1351 status = "disabled";
1352 };
1353
Patrice Chotard23661602019-02-12 16:50:38 +01001354 hash1: hash@54002000 {
1355 compatible = "st,stm32f756-hash";
1356 reg = <0x54002000 0x400>;
1357 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1358 clocks = <&rcc HASH1>;
1359 resets = <&rcc HASH1_R>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001360 dmas = <&mdma1 31 0x2 0x1000A02 0x0 0x0>;
Patrice Chotard23661602019-02-12 16:50:38 +01001361 dma-names = "in";
1362 dma-maxburst = <2>;
1363 status = "disabled";
1364 };
1365
Patrick Delaunaya6743132018-07-09 15:17:19 +02001366 rng1: rng@54003000 {
1367 compatible = "st,stm32-rng";
1368 reg = <0x54003000 0x400>;
1369 clocks = <&rcc RNG1_K>;
1370 resets = <&rcc RNG1_R>;
1371 status = "disabled";
1372 };
1373
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001374 mdma1: dma-controller@58000000 {
Patrick Delaunaya6743132018-07-09 15:17:19 +02001375 compatible = "st,stm32h7-mdma";
1376 reg = <0x58000000 0x1000>;
1377 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
1378 clocks = <&rcc MDMA>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +02001379 resets = <&rcc MDMA_R>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001380 #dma-cells = <5>;
1381 dma-channels = <32>;
1382 dma-requests = <48>;
1383 };
1384
Christophe Kerelloacdaae62020-07-31 09:53:44 +02001385 fmc: memory-controller@58002000 {
1386 #address-cells = <2>;
1387 #size-cells = <1>;
1388 compatible = "st,stm32mp1-fmc2-ebi";
1389 reg = <0x58002000 0x1000>;
Patrick Delaunayc4a739a2019-04-08 15:30:52 +02001390 clocks = <&rcc FMC_K>;
1391 resets = <&rcc FMC_R>;
1392 status = "disabled";
Christophe Kerelloacdaae62020-07-31 09:53:44 +02001393
1394 ranges = <0 0 0x60000000 0x04000000>, /* EBI CS 1 */
1395 <1 0 0x64000000 0x04000000>, /* EBI CS 2 */
1396 <2 0 0x68000000 0x04000000>, /* EBI CS 3 */
1397 <3 0 0x6c000000 0x04000000>, /* EBI CS 4 */
1398 <4 0 0x80000000 0x10000000>; /* NAND */
1399
1400 nand-controller@4,0 {
1401 #address-cells = <1>;
1402 #size-cells = <0>;
1403 compatible = "st,stm32mp1-fmc2-nfc";
1404 reg = <4 0x00000000 0x1000>,
1405 <4 0x08010000 0x1000>,
1406 <4 0x08020000 0x1000>,
1407 <4 0x01000000 0x1000>,
1408 <4 0x09010000 0x1000>,
1409 <4 0x09020000 0x1000>;
1410 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1411 dmas = <&mdma1 20 0x2 0x12000a02 0x0 0x0>,
1412 <&mdma1 20 0x2 0x12000a08 0x0 0x0>,
1413 <&mdma1 21 0x2 0x12000a0a 0x0 0x0>;
1414 dma-names = "tx", "rx", "ecc";
1415 status = "disabled";
1416 };
Patrick Delaunayc4a739a2019-04-08 15:30:52 +02001417 };
1418
Patrice Chotard23661602019-02-12 16:50:38 +01001419 qspi: spi@58003000 {
Patrick Delaunaya6743132018-07-09 15:17:19 +02001420 compatible = "st,stm32f469-qspi";
1421 reg = <0x58003000 0x1000>, <0x70000000 0x10000000>;
1422 reg-names = "qspi", "qspi_mm";
1423 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay2d4180b2021-07-27 12:15:12 +02001424 dmas = <&mdma1 22 0x2 0x10100002 0x0 0x0>,
1425 <&mdma1 22 0x2 0x10100008 0x0 0x0>;
Patrick Delaunay62d620c2019-11-06 16:16:33 +01001426 dma-names = "tx", "rx";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001427 clocks = <&rcc QSPI_K>;
1428 resets = <&rcc QSPI_R>;
Patrick Delaunay62f95af2020-09-16 10:01:32 +02001429 #address-cells = <1>;
1430 #size-cells = <0>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001431 status = "disabled";
1432 };
1433
Patrick Delaunay7e549342021-06-29 12:01:07 +02001434 sdmmc1: mmc@58005000 {
Patrick Delaunay189ec2f2022-04-26 15:38:05 +02001435 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001436 arm,primecell-periphid = <0x00253180>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001437 reg = <0x58005000 0x1000>;
1438 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001439 interrupt-names = "cmd_irq";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001440 clocks = <&rcc SDMMC1_K>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001441 clock-names = "apb_pclk";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001442 resets = <&rcc SDMMC1_R>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001443 cap-sd-highspeed;
1444 cap-mmc-highspeed;
1445 max-frequency = <120000000>;
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001446 status = "disabled";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001447 };
1448
Patrick Delaunay7e549342021-06-29 12:01:07 +02001449 sdmmc2: mmc@58007000 {
Patrick Delaunay189ec2f2022-04-26 15:38:05 +02001450 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001451 arm,primecell-periphid = <0x00253180>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001452 reg = <0x58007000 0x1000>;
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001453 interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
1454 interrupt-names = "cmd_irq";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001455 clocks = <&rcc SDMMC2_K>;
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001456 clock-names = "apb_pclk";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001457 resets = <&rcc SDMMC2_R>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001458 cap-sd-highspeed;
1459 cap-mmc-highspeed;
1460 max-frequency = <120000000>;
1461 status = "disabled";
1462 };
1463
1464 crc1: crc@58009000 {
1465 compatible = "st,stm32f7-crc";
1466 reg = <0x58009000 0x400>;
1467 clocks = <&rcc CRC1>;
1468 status = "disabled";
1469 };
1470
Patrice Chotard23661602019-02-12 16:50:38 +01001471 ethernet0: ethernet@5800a000 {
1472 compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
1473 reg = <0x5800a000 0x2000>;
1474 reg-names = "stmmaceth";
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001475 interrupts-extended = <&intc GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
1476 interrupt-names = "macirq";
Patrice Chotard23661602019-02-12 16:50:38 +01001477 clock-names = "stmmaceth",
1478 "mac-clk-tx",
1479 "mac-clk-rx",
Marek Vasutdb48e112020-01-10 01:28:38 +01001480 "eth-ck",
Patrick Delaunay7e549342021-06-29 12:01:07 +02001481 "ptp_ref",
Patrick Delaunay500327e2020-07-06 13:26:53 +02001482 "ethstp";
Patrice Chotard23661602019-02-12 16:50:38 +01001483 clocks = <&rcc ETHMAC>,
1484 <&rcc ETHTX>,
1485 <&rcc ETHRX>,
Marek Vasutdb48e112020-01-10 01:28:38 +01001486 <&rcc ETHCK_K>,
Patrick Delaunay7e549342021-06-29 12:01:07 +02001487 <&rcc ETHPTP_K>,
Patrick Delaunay500327e2020-07-06 13:26:53 +02001488 <&rcc ETHSTP>;
Patrice Chotard23661602019-02-12 16:50:38 +01001489 st,syscon = <&syscfg 0x4>;
1490 snps,mixed-burst;
1491 snps,pbl = <2>;
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001492 snps,en-tx-lpi-clockgating;
Patrice Chotard23661602019-02-12 16:50:38 +01001493 snps,axi-config = <&stmmac_axi_config_0>;
1494 snps,tso;
1495 status = "disabled";
Patrick Delaunay2d4180b2021-07-27 12:15:12 +02001496
1497 stmmac_axi_config_0: stmmac-axi-config {
1498 snps,wr_osr_lmt = <0x7>;
1499 snps,rd_osr_lmt = <0x7>;
1500 snps,blen = <0 0 0 0 16 8 4>;
1501 };
Patrice Chotard23661602019-02-12 16:50:38 +01001502 };
1503
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001504 usbh_ohci: usb@5800c000 {
Patrick Delaunaya6743132018-07-09 15:17:19 +02001505 compatible = "generic-ohci";
1506 reg = <0x5800c000 0x1000>;
Patrick Delaunay69ef98b2022-07-05 16:55:54 +02001507 clocks = <&usbphyc>, <&rcc USBH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001508 resets = <&rcc USBH_R>;
1509 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
1510 status = "disabled";
1511 };
1512
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001513 usbh_ehci: usb@5800d000 {
Patrick Delaunaya6743132018-07-09 15:17:19 +02001514 compatible = "generic-ehci";
1515 reg = <0x5800d000 0x1000>;
Patrick Delaunay69ef98b2022-07-05 16:55:54 +02001516 clocks = <&usbphyc>, <&rcc USBH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001517 resets = <&rcc USBH_R>;
1518 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1519 companion = <&usbh_ohci>;
1520 status = "disabled";
1521 };
1522
Patrick Delaunaya6743132018-07-09 15:17:19 +02001523 ltdc: display-controller@5a001000 {
1524 compatible = "st,stm32-ltdc";
1525 reg = <0x5a001000 0x400>;
1526 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1527 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
1528 clocks = <&rcc LTDC_PX>;
1529 clock-names = "lcd";
1530 resets = <&rcc LTDC_R>;
1531 status = "disabled";
Patrick Delaunay500327e2020-07-06 13:26:53 +02001532
1533 port {
1534 #address-cells = <1>;
1535 #size-cells = <0>;
1536 };
Patrick Delaunaya6743132018-07-09 15:17:19 +02001537 };
1538
Patrice Chotard23661602019-02-12 16:50:38 +01001539 iwdg2: watchdog@5a002000 {
1540 compatible = "st,stm32mp1-iwdg";
1541 reg = <0x5a002000 0x400>;
1542 clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
1543 clock-names = "pclk", "lsi";
1544 status = "disabled";
1545 };
1546
Patrick Delaunaya6743132018-07-09 15:17:19 +02001547 usbphyc: usbphyc@5a006000 {
1548 #address-cells = <1>;
1549 #size-cells = <0>;
Patrick Delaunay7e549342021-06-29 12:01:07 +02001550 #clock-cells = <0>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001551 compatible = "st,stm32mp1-usbphyc";
1552 reg = <0x5a006000 0x1000>;
1553 clocks = <&rcc USBPHY_K>;
1554 resets = <&rcc USBPHY_R>;
Patrick Delaunayc50151d2019-03-29 15:42:11 +01001555 vdda1v1-supply = <&reg11>;
1556 vdda1v8-supply = <&reg18>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001557 status = "disabled";
1558
1559 usbphyc_port0: usb-phy@0 {
1560 #phy-cells = <0>;
1561 reg = <0>;
1562 };
1563
1564 usbphyc_port1: usb-phy@1 {
1565 #phy-cells = <1>;
1566 reg = <1>;
1567 };
1568 };
1569
1570 usart1: serial@5c000000 {
1571 compatible = "st,stm32h7-uart";
1572 reg = <0x5c000000 0x400>;
Patrick Delaunay7e549342021-06-29 12:01:07 +02001573 interrupts-extended = <&exti 26 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001574 clocks = <&rcc USART1_K>;
Patrick Delaunay7e549342021-06-29 12:01:07 +02001575 wakeup-source;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001576 status = "disabled";
1577 };
1578
Patrice Chotard23661602019-02-12 16:50:38 +01001579 spi6: spi@5c001000 {
1580 #address-cells = <1>;
1581 #size-cells = <0>;
1582 compatible = "st,stm32h7-spi";
1583 reg = <0x5c001000 0x400>;
1584 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1585 clocks = <&rcc SPI6_K>;
1586 resets = <&rcc SPI6_R>;
1587 dmas = <&mdma1 34 0x0 0x40008 0x0 0x0>,
1588 <&mdma1 35 0x0 0x40002 0x0 0x0>;
1589 dma-names = "rx", "tx";
1590 status = "disabled";
1591 };
1592
Patrick Delaunaya6743132018-07-09 15:17:19 +02001593 i2c4: i2c@5c002000 {
Patrick Delaunay500327e2020-07-06 13:26:53 +02001594 compatible = "st,stm32mp15-i2c";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001595 reg = <0x5c002000 0x400>;
1596 interrupt-names = "event", "error";
1597 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
1598 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1599 clocks = <&rcc I2C4_K>;
1600 resets = <&rcc I2C4_R>;
1601 #address-cells = <1>;
1602 #size-cells = <0>;
Patrick Delaunay500327e2020-07-06 13:26:53 +02001603 st,syscfg-fmp = <&syscfg 0x4 0x8>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +02001604 wakeup-source;
Patrick Delaunay7e549342021-06-29 12:01:07 +02001605 i2c-analog-filter;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001606 status = "disabled";
1607 };
1608
Patrice Chotard23661602019-02-12 16:50:38 +01001609 rtc: rtc@5c004000 {
1610 compatible = "st,stm32mp1-rtc";
1611 reg = <0x5c004000 0x400>;
1612 clocks = <&rcc RTCAPB>, <&rcc RTC>;
1613 clock-names = "pclk", "rtc_ck";
Patrick Delaunay189ec2f2022-04-26 15:38:05 +02001614 interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
Patrice Chotard23661602019-02-12 16:50:38 +01001615 status = "disabled";
1616 };
1617
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001618 bsec: efuse@5c005000 {
Patrick Delaunaybfe1f082019-02-27 17:01:27 +01001619 compatible = "st,stm32mp15-bsec";
1620 reg = <0x5c005000 0x400>;
1621 #address-cells = <1>;
1622 #size-cells = <1>;
Patrick Delaunay6f2e0ad2020-05-25 12:19:42 +02001623 part_number_otp: part_number_otp@4 {
1624 reg = <0x4 0x1>;
1625 };
Patrick Delaunay35a54d42019-07-11 11:15:28 +02001626 ts_cal1: calib@5c {
1627 reg = <0x5c 0x2>;
1628 };
1629 ts_cal2: calib@5e {
1630 reg = <0x5e 0x2>;
1631 };
Patrick Delaunaybfe1f082019-02-27 17:01:27 +01001632 };
1633
Patrick Delaunaya6743132018-07-09 15:17:19 +02001634 i2c6: i2c@5c009000 {
Patrick Delaunay500327e2020-07-06 13:26:53 +02001635 compatible = "st,stm32mp15-i2c";
Patrick Delaunaya6743132018-07-09 15:17:19 +02001636 reg = <0x5c009000 0x400>;
1637 interrupt-names = "event", "error";
1638 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
1639 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
1640 clocks = <&rcc I2C6_K>;
1641 resets = <&rcc I2C6_R>;
1642 #address-cells = <1>;
1643 #size-cells = <0>;
Patrick Delaunay500327e2020-07-06 13:26:53 +02001644 st,syscfg-fmp = <&syscfg 0x4 0x20>;
Patrick Delaunay1b28a5e2020-04-30 15:52:46 +02001645 wakeup-source;
Patrick Delaunay7e549342021-06-29 12:01:07 +02001646 i2c-analog-filter;
Patrick Delaunaya6743132018-07-09 15:17:19 +02001647 status = "disabled";
1648 };
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001649
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001650 tamp: tamp@5c00a000 {
1651 compatible = "st,stm32-tamp", "syscon", "simple-mfd";
1652 reg = <0x5c00a000 0x400>;
1653 };
1654
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001655 /*
1656 * Break node order to solve dependency probe issue between
1657 * pinctrl and exti.
1658 */
Patrick Delaunay69ef98b2022-07-05 16:55:54 +02001659 pinctrl: pinctrl@50002000 {
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001660 #address-cells = <1>;
1661 #size-cells = <1>;
1662 compatible = "st,stm32mp157-pinctrl";
1663 ranges = <0 0x50002000 0xa400>;
1664 interrupt-parent = <&exti>;
1665 st,syscfg = <&exti 0x60 0xff>;
1666 hwlocks = <&hwspinlock 0>;
1667 pins-are-numbered;
1668
1669 gpioa: gpio@50002000 {
1670 gpio-controller;
1671 #gpio-cells = <2>;
1672 interrupt-controller;
1673 #interrupt-cells = <2>;
1674 reg = <0x0 0x400>;
1675 clocks = <&rcc GPIOA>;
1676 st,bank-name = "GPIOA";
1677 status = "disabled";
1678 };
1679
1680 gpiob: gpio@50003000 {
1681 gpio-controller;
1682 #gpio-cells = <2>;
1683 interrupt-controller;
1684 #interrupt-cells = <2>;
1685 reg = <0x1000 0x400>;
1686 clocks = <&rcc GPIOB>;
1687 st,bank-name = "GPIOB";
1688 status = "disabled";
1689 };
1690
1691 gpioc: gpio@50004000 {
1692 gpio-controller;
1693 #gpio-cells = <2>;
1694 interrupt-controller;
1695 #interrupt-cells = <2>;
1696 reg = <0x2000 0x400>;
1697 clocks = <&rcc GPIOC>;
1698 st,bank-name = "GPIOC";
1699 status = "disabled";
1700 };
1701
1702 gpiod: gpio@50005000 {
1703 gpio-controller;
1704 #gpio-cells = <2>;
1705 interrupt-controller;
1706 #interrupt-cells = <2>;
1707 reg = <0x3000 0x400>;
1708 clocks = <&rcc GPIOD>;
1709 st,bank-name = "GPIOD";
1710 status = "disabled";
1711 };
1712
1713 gpioe: gpio@50006000 {
1714 gpio-controller;
1715 #gpio-cells = <2>;
1716 interrupt-controller;
1717 #interrupt-cells = <2>;
1718 reg = <0x4000 0x400>;
1719 clocks = <&rcc GPIOE>;
1720 st,bank-name = "GPIOE";
1721 status = "disabled";
1722 };
1723
1724 gpiof: gpio@50007000 {
1725 gpio-controller;
1726 #gpio-cells = <2>;
1727 interrupt-controller;
1728 #interrupt-cells = <2>;
1729 reg = <0x5000 0x400>;
1730 clocks = <&rcc GPIOF>;
1731 st,bank-name = "GPIOF";
1732 status = "disabled";
1733 };
1734
1735 gpiog: gpio@50008000 {
1736 gpio-controller;
1737 #gpio-cells = <2>;
1738 interrupt-controller;
1739 #interrupt-cells = <2>;
1740 reg = <0x6000 0x400>;
1741 clocks = <&rcc GPIOG>;
1742 st,bank-name = "GPIOG";
1743 status = "disabled";
1744 };
1745
1746 gpioh: gpio@50009000 {
1747 gpio-controller;
1748 #gpio-cells = <2>;
1749 interrupt-controller;
1750 #interrupt-cells = <2>;
1751 reg = <0x7000 0x400>;
1752 clocks = <&rcc GPIOH>;
1753 st,bank-name = "GPIOH";
1754 status = "disabled";
1755 };
1756
1757 gpioi: gpio@5000a000 {
1758 gpio-controller;
1759 #gpio-cells = <2>;
1760 interrupt-controller;
1761 #interrupt-cells = <2>;
1762 reg = <0x8000 0x400>;
1763 clocks = <&rcc GPIOI>;
1764 st,bank-name = "GPIOI";
1765 status = "disabled";
1766 };
1767
1768 gpioj: gpio@5000b000 {
1769 gpio-controller;
1770 #gpio-cells = <2>;
1771 interrupt-controller;
1772 #interrupt-cells = <2>;
1773 reg = <0x9000 0x400>;
1774 clocks = <&rcc GPIOJ>;
1775 st,bank-name = "GPIOJ";
1776 status = "disabled";
1777 };
1778
1779 gpiok: gpio@5000c000 {
1780 gpio-controller;
1781 #gpio-cells = <2>;
1782 interrupt-controller;
1783 #interrupt-cells = <2>;
1784 reg = <0xa000 0x400>;
1785 clocks = <&rcc GPIOK>;
1786 st,bank-name = "GPIOK";
1787 status = "disabled";
1788 };
1789 };
1790
Patrick Delaunay69ef98b2022-07-05 16:55:54 +02001791 pinctrl_z: pinctrl@54004000 {
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001792 #address-cells = <1>;
1793 #size-cells = <1>;
1794 compatible = "st,stm32mp157-z-pinctrl";
1795 ranges = <0 0x54004000 0x400>;
1796 pins-are-numbered;
1797 interrupt-parent = <&exti>;
1798 st,syscfg = <&exti 0x60 0xff>;
1799 hwlocks = <&hwspinlock 0>;
1800
1801 gpioz: gpio@54004000 {
1802 gpio-controller;
1803 #gpio-cells = <2>;
1804 interrupt-controller;
1805 #interrupt-cells = <2>;
1806 reg = <0 0x400>;
1807 clocks = <&rcc GPIOZ>;
1808 st,bank-name = "GPIOZ";
1809 st,bank-ioport = <11>;
1810 status = "disabled";
1811 };
1812 };
Patrick Delaunaya6743132018-07-09 15:17:19 +02001813 };
Patrick Delaunay5d2901a2019-08-02 15:07:18 +02001814
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001815 mlahb: ahb {
1816 compatible = "st,mlahb", "simple-bus";
Patrick Delaunay5d2901a2019-08-02 15:07:18 +02001817 #address-cells = <1>;
1818 #size-cells = <1>;
Patrick Delaunay1a4f57c2020-03-06 17:54:41 +01001819 ranges;
Patrick Delaunay5d2901a2019-08-02 15:07:18 +02001820 dma-ranges = <0x00000000 0x38000000 0x10000>,
1821 <0x10000000 0x10000000 0x60000>,
1822 <0x30000000 0x30000000 0x60000>;
1823
1824 m4_rproc: m4@10000000 {
1825 compatible = "st,stm32mp1-m4";
1826 reg = <0x10000000 0x40000>,
1827 <0x30000000 0x40000>,
1828 <0x38000000 0x10000>;
1829 resets = <&rcc MCU_R>;
1830 st,syscfg-holdboot = <&rcc 0x10C 0x1>;
1831 st,syscfg-tz = <&rcc 0x000 0x1>;
Patrick Delaunay500327e2020-07-06 13:26:53 +02001832 st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
Patrick Delaunayf050e3f2021-01-11 12:33:36 +01001833 st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
1834 st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
Patrick Delaunay5d2901a2019-08-02 15:07:18 +02001835 status = "disabled";
1836 };
1837 };
Patrick Delaunaya6743132018-07-09 15:17:19 +02001838};