blob: 767a06ef684308d59cbaef23f82384906349cdca [file] [log] [blame]
Patrick Delaunay50599142018-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 Delaunaydf0d20a2020-04-30 15:52:46 +020020 clock-frequency = <650000000>;
Patrick Delaunay50599142018-07-09 15:17:19 +020021 device_type = "cpu";
22 reg = <0>;
Patrick Delaunay0e20c1f2020-05-25 12:19:42 +020023 operating-points-v2 = <&cpu0_opp_table>;
24 nvmem-cells = <&part_number_otp>;
25 nvmem-cell-names = "part_number";
Patrick Delaunay50599142018-07-09 15:17:19 +020026 };
Patrick Delaunay50599142018-07-09 15:17:19 +020027 };
28
Patrick Delaunay0e20c1f2020-05-25 12:19:42 +020029 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>;
41 };
42 };
43
Patrick Delaunay6d397052021-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 Delaunay50599142018-07-09 15:17:19 +020051 psci {
Patrick Delaunay632341f2019-02-04 11:26:21 +010052 compatible = "arm,psci-1.0";
Patrick Delaunay50599142018-07-09 15:17:19 +020053 method = "smc";
Patrick Delaunay50599142018-07-09 15:17:19 +020054 };
55
Patrick Delaunay50599142018-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 Delaunay6f182192022-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 Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay8c6e6132019-11-06 16:16:33 +0100130 booster: regulator-booster {
131 compatible = "st,stm32mp1-booster";
132 st,syscfg = <&syscfg>;
133 status = "disabled";
134 };
135
Patrick Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200156 status = "disabled";
157
158 pwm {
159 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100160 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay48c5e902020-03-06 17:54:41 +0100169
170 counter {
171 compatible = "st,stm32-timer-counter";
172 status = "disabled";
173 };
Patrick Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200190 status = "disabled";
191
192 pwm {
193 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100194 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay48c5e902020-03-06 17:54:41 +0100203
204 counter {
205 compatible = "st,stm32-timer-counter";
206 status = "disabled";
207 };
Patrick Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200222 status = "disabled";
223
224 pwm {
225 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100226 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay48c5e902020-03-06 17:54:41 +0100235
236 counter {
237 compatible = "st,stm32-timer-counter";
238 status = "disabled";
239 };
Patrick Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200256 status = "disabled";
257
258 pwm {
259 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100260 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay48c5e902020-03-06 17:54:41 +0100269
270 counter {
271 compatible = "st,stm32-timer-counter";
272 status = "disabled";
273 };
Patrick Delaunay50599142018-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 Delaunaya3705302019-07-11 11:15:28 +0200283 dmas = <&dmamux1 69 0x400 0x1>;
284 dma-names = "up";
Patrick Delaunay50599142018-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 Delaunaya3705302019-07-11 11:15:28 +0200301 dmas = <&dmamux1 70 0x400 0x1>;
302 dma-names = "up";
Patrick Delaunay50599142018-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 Delaunay8c6e6132019-11-06 16:16:33 +0100323 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay8c6e6132019-11-06 16:16:33 +0100345 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay8c6e6132019-11-06 16:16:33 +0100367 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay6d397052021-01-11 12:33:36 +0100383 interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200384 clocks = <&rcc LPTIM1_K>;
385 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +0100386 wakeup-source;
Patrick Delaunay50599142018-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 Chotard00442d02019-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 Delaunay708cae72019-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 Chotard00442d02019-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 Delaunay708cae72019-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200470 usart2: serial@4000e000 {
471 compatible = "st,stm32h7-uart";
472 reg = <0x4000e000 0x400>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200473 interrupts-extended = <&exti 27 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200474 clocks = <&rcc USART2_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200475 wakeup-source;
Patrick Delaunay6f182192022-04-26 15:38:05 +0200476 dmas = <&dmamux1 43 0x400 0x15>,
477 <&dmamux1 44 0x400 0x11>;
478 dma-names = "rx", "tx";
Patrick Delaunay50599142018-07-09 15:17:19 +0200479 status = "disabled";
480 };
481
482 usart3: serial@4000f000 {
483 compatible = "st,stm32h7-uart";
484 reg = <0x4000f000 0x400>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200485 interrupts-extended = <&exti 28 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200486 clocks = <&rcc USART3_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200487 wakeup-source;
Patrick Delaunay6f182192022-04-26 15:38:05 +0200488 dmas = <&dmamux1 45 0x400 0x15>,
489 <&dmamux1 46 0x400 0x11>;
490 dma-names = "rx", "tx";
Patrick Delaunay50599142018-07-09 15:17:19 +0200491 status = "disabled";
492 };
493
494 uart4: serial@40010000 {
495 compatible = "st,stm32h7-uart";
496 reg = <0x40010000 0x400>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200497 interrupts-extended = <&exti 30 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200498 clocks = <&rcc UART4_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200499 wakeup-source;
Patrick Delaunay6f182192022-04-26 15:38:05 +0200500 dmas = <&dmamux1 63 0x400 0x15>,
501 <&dmamux1 64 0x400 0x11>;
502 dma-names = "rx", "tx";
Patrick Delaunay50599142018-07-09 15:17:19 +0200503 status = "disabled";
504 };
505
506 uart5: serial@40011000 {
507 compatible = "st,stm32h7-uart";
508 reg = <0x40011000 0x400>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200509 interrupts-extended = <&exti 31 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200510 clocks = <&rcc UART5_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200511 wakeup-source;
Patrick Delaunay6f182192022-04-26 15:38:05 +0200512 dmas = <&dmamux1 65 0x400 0x15>,
513 <&dmamux1 66 0x400 0x11>;
514 dma-names = "rx", "tx";
Patrick Delaunay50599142018-07-09 15:17:19 +0200515 status = "disabled";
516 };
517
518 i2c1: i2c@40012000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +0200519 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +0200528 st,syscfg-fmp = <&syscfg 0x4 0x1>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +0200529 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200530 i2c-analog-filter;
Patrick Delaunay50599142018-07-09 15:17:19 +0200531 status = "disabled";
532 };
533
534 i2c2: i2c@40013000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +0200535 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +0200544 st,syscfg-fmp = <&syscfg 0x4 0x2>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +0200545 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200546 i2c-analog-filter;
Patrick Delaunay50599142018-07-09 15:17:19 +0200547 status = "disabled";
548 };
549
550 i2c3: i2c@40014000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +0200551 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +0200560 st,syscfg-fmp = <&syscfg 0x4 0x4>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +0200561 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200562 i2c-analog-filter;
Patrick Delaunay50599142018-07-09 15:17:19 +0200563 status = "disabled";
564 };
565
566 i2c5: i2c@40015000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +0200567 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +0200576 st,syscfg-fmp = <&syscfg 0x4 0x10>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +0200577 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200578 i2c-analog-filter;
Patrick Delaunay50599142018-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 Delaunaye25cbd42022-07-05 16:55:54 +0200586 clocks = <&rcc CEC_K>, <&rcc CEC>;
Patrick Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +0200602 #io-channel-cells = <1>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200603 reg = <1>;
604 status = "disabled";
605 };
606
607 dac2: dac@2 {
608 compatible = "st,stm32-dac";
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +0200609 #io-channel-cells = <1>;
Patrick Delaunay50599142018-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 Delaunaye48a0d42021-06-29 12:01:07 +0200618 interrupts-extended = <&exti 32 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200619 clocks = <&rcc UART7_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200620 wakeup-source;
Patrick Delaunay6f182192022-04-26 15:38:05 +0200621 dmas = <&dmamux1 79 0x400 0x15>,
622 <&dmamux1 80 0x400 0x11>;
623 dma-names = "rx", "tx";
Patrick Delaunay50599142018-07-09 15:17:19 +0200624 status = "disabled";
625 };
626
627 uart8: serial@40019000 {
628 compatible = "st,stm32h7-uart";
629 reg = <0x40019000 0x400>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200630 interrupts-extended = <&exti 33 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200631 clocks = <&rcc UART8_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200632 wakeup-source;
Patrick Delaunay6f182192022-04-26 15:38:05 +0200633 dmas = <&dmamux1 81 0x400 0x15>,
634 <&dmamux1 82 0x400 0x11>;
635 dma-names = "rx", "tx";
Patrick Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200655 status = "disabled";
656
657 pwm {
658 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100659 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay48c5e902020-03-06 17:54:41 +0100668
669 counter {
670 compatible = "st,stm32-timer-counter";
671 status = "disabled";
672 };
Patrick Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200691 status = "disabled";
692
693 pwm {
694 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100695 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunay48c5e902020-03-06 17:54:41 +0100704
705 counter {
706 compatible = "st,stm32-timer-counter";
707 status = "disabled";
708 };
Patrick Delaunay50599142018-07-09 15:17:19 +0200709 };
710
711 usart6: serial@44003000 {
712 compatible = "st,stm32h7-uart";
713 reg = <0x44003000 0x400>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200714 interrupts-extended = <&exti 29 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +0200715 clocks = <&rcc USART6_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +0200716 wakeup-source;
Patrick Delaunay6f182192022-04-26 15:38:05 +0200717 dmas = <&dmamux1 71 0x400 0x15>,
718 <&dmamux1 72 0x400 0x11>;
719 dma-names = "rx", "tx";
Patrick Delaunay50599142018-07-09 15:17:19 +0200720 status = "disabled";
721 };
722
Patrice Chotard00442d02019-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 Delaunay708cae72019-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 Chotard00442d02019-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 Delaunay50599142018-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 Delaunaya3705302019-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 Delaunay50599142018-07-09 15:17:19 +0200774 status = "disabled";
775
776 pwm {
777 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100778 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunaya3705302019-07-11 11:15:28 +0200796 dmas = <&dmamux1 109 0x400 0x1>,
797 <&dmamux1 110 0x400 0x1>;
798 dma-names = "ch1", "up";
Patrick Delaunay50599142018-07-09 15:17:19 +0200799 status = "disabled";
800
801 pwm {
802 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100803 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 Delaunaya3705302019-07-11 11:15:28 +0200820 dmas = <&dmamux1 111 0x400 0x1>,
821 <&dmamux1 112 0x400 0x1>;
822 dma-names = "ch1", "up";
Patrick Delaunay50599142018-07-09 15:17:19 +0200823 status = "disabled";
824
825 pwm {
826 compatible = "st,stm32-pwm";
Patrick Delaunay8c6e6132019-11-06 16:16:33 +0100827 #pwm-cells = <3>;
Patrick Delaunay50599142018-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 };
Patrice Chotard00442d02019-02-12 16:50:38 +0100836 };
837
838 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";
Patrick Delaunay708cae72019-07-30 19:16:12 +0200850 };
851
852 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 Delaunay37868aa2021-12-17 16:30:22 +0100866 reg = <0x4 0x20>;
Patrick Delaunay708cae72019-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 Delaunay37868aa2021-12-17 16:30:22 +0100876 reg = <0x24 0x20>;
Patrick Delaunay708cae72019-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 Delaunay37868aa2021-12-17 16:30:22 +0100897 reg = <0x4 0x20>;
Patrick Delaunay708cae72019-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 Delaunay37868aa2021-12-17 16:30:22 +0100907 reg = <0x24 0x20>;
Patrick Delaunay708cae72019-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 Delaunay37868aa2021-12-17 16:30:22 +0100928 reg = <0x04 0x20>;
Patrick Delaunay708cae72019-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 Delaunay37868aa2021-12-17 16:30:22 +0100938 reg = <0x24 0x20>;
Patrick Delaunay708cae72019-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 };
Patrice Chotard00442d02019-02-12 16:50:38 +0100944 };
945
946 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 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001014 };
1015
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001016 dma1: dma-controller@48000000 {
Patrick Delaunay50599142018-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 Delaunaydf0d20a2020-04-30 15:52:46 +02001028 resets = <&rcc DMA1_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001029 #dma-cells = <4>;
1030 st,mem2mem;
1031 dma-requests = <8>;
1032 };
1033
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001034 dma2: dma-controller@48001000 {
Patrick Delaunay50599142018-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 Delaunaydf0d20a2020-04-30 15:52:46 +02001046 resets = <&rcc DMA2_R>;
Patrick Delaunay50599142018-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 Delaunay6d397052021-01-11 12:33:36 +01001054 reg = <0x48002000 0x40>;
Patrick Delaunay50599142018-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 Delaunaydf0d20a2020-04-30 15:52:46 +02001060 resets = <&rcc DMAMUX_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001061 };
1062
Patrice Chotardb5c87a42018-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 Delaunay8c6e6132019-11-06 16:16:33 +01001071 st,syscfg = <&syscfg>;
Patrice Chotardb5c87a42018-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 Chotard00442d02019-02-12 16:50:38 +01001083 dmas = <&dmamux1 9 0x400 0x01>;
1084 dma-names = "rx";
Patrice Chotardb5c87a42018-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 Chotard00442d02019-02-12 16:50:38 +01001094 dmas = <&dmamux1 10 0x400 0x01>;
1095 dma-names = "rx";
Patrice Chotardb5c87a42018-08-06 09:54:04 +02001096 status = "disabled";
1097 };
1098 };
1099
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001100 sdmmc3: mmc@48004000 {
Patrick Delaunay6f182192022-04-26 15:38:05 +02001101 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001102 arm,primecell-periphid = <0x00253180>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001103 reg = <0x48004000 0x400>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001104 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
1105 interrupt-names = "cmd_irq";
Patrick Delaunay50599142018-07-09 15:17:19 +02001106 clocks = <&rcc SDMMC3_K>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001107 clock-names = "apb_pclk";
Patrick Delaunay50599142018-07-09 15:17:19 +02001108 resets = <&rcc SDMMC3_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001109 cap-sd-highspeed;
1110 cap-mmc-highspeed;
1111 max-frequency = <120000000>;
1112 status = "disabled";
1113 };
1114
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001115 usbotg_hs: usb-otg@49000000 {
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +02001116 compatible = "st,stm32mp15-hsotg", "snps,dwc2";
Patrice Chotard18cb6f52018-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 Delaunay6d397052021-01-11 12:33:36 +01001123 g-rx-fifo-size = <512>;
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001124 g-np-tx-fifo-size = <32>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001125 g-tx-fifo-size = <256 16 16 16 16 16 16 16>;
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001126 dr_mode = "otg";
Patrick Delaunay37868aa2021-12-17 16:30:22 +01001127 otg-rev = <0x200>;
Patrick Delaunay6ba88cd2019-03-29 15:42:11 +01001128 usb33d-supply = <&usb33>;
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001129 status = "disabled";
1130 };
1131
Benjamin Gaignard77611122018-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 Gaignard77611122018-11-27 13:49:52 +01001138 };
1139
Fabien Dessennec2a97d32019-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 Delaunaya3705302019-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 Dessennec2a97d32019-05-14 11:20:37 +02001150 clocks = <&rcc IPCC>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001151 wakeup-source;
Fabien Dessennec2a97d32019-05-14 11:20:37 +02001152 status = "disabled";
1153 };
1154
Patrick Delaunay708cae72019-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 Delaunay6d397052021-01-11 12:33:36 +01001162 dmas = <&dmamux1 75 0x400 0x01>;
Patrick Delaunay708cae72019-07-30 19:16:12 +02001163 dma-names = "tx";
1164 status = "disabled";
1165 };
1166
Patrick Delaunay50599142018-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 Carriere212d3aa2021-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 Delaunay50599142018-07-09 15:17:19 +02001176 };
1177
Patrick Delaunay900494d2020-01-28 10:10:59 +01001178 pwr_regulators: pwr@50001000 {
1179 compatible = "st,stm32mp1,pwr-reg";
1180 reg = <0x50001000 0x10>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001181
Patrick Delaunay900494d2020-01-28 10:10:59 +01001182 reg11: reg11 {
1183 regulator-name = "reg11";
1184 regulator-min-microvolt = <1100000>;
1185 regulator-max-microvolt = <1100000>;
1186 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001187
Patrick Delaunay900494d2020-01-28 10:10:59 +01001188 reg18: reg18 {
1189 regulator-name = "reg18";
1190 regulator-min-microvolt = <1800000>;
1191 regulator-max-microvolt = <1800000>;
1192 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001193
Patrick Delaunay900494d2020-01-28 10:10:59 +01001194 usb33: usb33 {
1195 regulator-name = "usb33";
1196 regulator-min-microvolt = <3300000>;
1197 regulator-max-microvolt = <3300000>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001198 };
1199 };
1200
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001201 pwr_mcu: pwr_mcu@50001014 {
Patrick Delaunay551efca2020-09-16 10:01:32 +02001202 compatible = "st,stm32mp151-pwr-mcu", "syscon";
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001203 reg = <0x50001014 0x4>;
1204 };
1205
Patrick Delaunay50599142018-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 Chotard00442d02019-02-12 16:50:38 +01001213 syscfg: syscon@50020000 {
Patrick Delaunay63ae49e2019-02-27 17:01:23 +01001214 compatible = "st,stm32mp157-syscfg", "syscon";
Patrick Delaunay50599142018-07-09 15:17:19 +02001215 reg = <0x50020000 0x400>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001216 clocks = <&rcc SYSCFG>;
Patrick Delaunay50599142018-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 Delaunay6d397052021-01-11 12:33:36 +01001224 interrupts-extended = <&exti 48 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001225 clocks = <&rcc LPTIM2_K>;
1226 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001227 wakeup-source;
Patrick Delaunay50599142018-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 Delaunay6d397052021-01-11 12:33:36 +01001253 interrupts-extended = <&exti 50 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001254 clocks = <&rcc LPTIM3_K>;
1255 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001256 wakeup-source;
Patrick Delaunay50599142018-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 Delaunay6d397052021-01-11 12:33:36 +01001275 interrupts-extended = <&exti 52 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001276 clocks = <&rcc LPTIM4_K>;
1277 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001278 wakeup-source;
Patrick Delaunay50599142018-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 Delaunay6d397052021-01-11 12:33:36 +01001291 interrupts-extended = <&exti 53 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001292 clocks = <&rcc LPTIM5_K>;
1293 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001294 wakeup-source;
Patrick Delaunay50599142018-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";
Patrick Delaunay708cae72019-07-30 19:16:12 +02001311 };
1312
1313 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 Delaunay37868aa2021-12-17 16:30:22 +01001326 reg = <0x04 0x20>;
Patrick Delaunay708cae72019-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 Delaunay37868aa2021-12-17 16:30:22 +01001336 reg = <0x24 0x20>;
Patrick Delaunay708cae72019-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 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001342 };
1343
Patrick Delaunaya3705302019-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 Chotard00442d02019-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 Delaunay6d397052021-01-11 12:33:36 +01001360 dmas = <&mdma1 31 0x2 0x1000A02 0x0 0x0>;
Patrice Chotard00442d02019-02-12 16:50:38 +01001361 dma-names = "in";
1362 dma-maxburst = <2>;
1363 status = "disabled";
1364 };
1365
Patrick Delaunay50599142018-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 Delaunay48c5e902020-03-06 17:54:41 +01001374 mdma1: dma-controller@58000000 {
Patrick Delaunay50599142018-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 Delaunaydf0d20a2020-04-30 15:52:46 +02001379 resets = <&rcc MDMA_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001380 #dma-cells = <5>;
1381 dma-channels = <32>;
1382 dma-requests = <48>;
1383 };
1384
Christophe Kerello45326d82020-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 Delaunaye0188ac2019-04-08 15:30:52 +02001390 clocks = <&rcc FMC_K>;
1391 resets = <&rcc FMC_R>;
1392 status = "disabled";
Christophe Kerello45326d82020-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 Delaunaye0188ac2019-04-08 15:30:52 +02001417 };
1418
Patrice Chotard00442d02019-02-12 16:50:38 +01001419 qspi: spi@58003000 {
Patrick Delaunay50599142018-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 Delaunayb22fa9d2021-07-27 12:15:12 +02001424 dmas = <&mdma1 22 0x2 0x10100002 0x0 0x0>,
1425 <&mdma1 22 0x2 0x10100008 0x0 0x0>;
Patrick Delaunay8c6e6132019-11-06 16:16:33 +01001426 dma-names = "tx", "rx";
Patrick Delaunay50599142018-07-09 15:17:19 +02001427 clocks = <&rcc QSPI_K>;
1428 resets = <&rcc QSPI_R>;
Patrick Delaunay551efca2020-09-16 10:01:32 +02001429 #address-cells = <1>;
1430 #size-cells = <0>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001431 status = "disabled";
1432 };
1433
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001434 sdmmc1: mmc@58005000 {
Patrick Delaunay6f182192022-04-26 15:38:05 +02001435 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001436 arm,primecell-periphid = <0x00253180>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001437 reg = <0x58005000 0x1000>;
1438 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001439 interrupt-names = "cmd_irq";
Patrick Delaunay50599142018-07-09 15:17:19 +02001440 clocks = <&rcc SDMMC1_K>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001441 clock-names = "apb_pclk";
Patrick Delaunay50599142018-07-09 15:17:19 +02001442 resets = <&rcc SDMMC1_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001443 cap-sd-highspeed;
1444 cap-mmc-highspeed;
1445 max-frequency = <120000000>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001446 status = "disabled";
Patrick Delaunay50599142018-07-09 15:17:19 +02001447 };
1448
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001449 sdmmc2: mmc@58007000 {
Patrick Delaunay6f182192022-04-26 15:38:05 +02001450 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001451 arm,primecell-periphid = <0x00253180>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001452 reg = <0x58007000 0x1000>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001453 interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
1454 interrupt-names = "cmd_irq";
Patrick Delaunay50599142018-07-09 15:17:19 +02001455 clocks = <&rcc SDMMC2_K>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001456 clock-names = "apb_pclk";
Patrick Delaunay50599142018-07-09 15:17:19 +02001457 resets = <&rcc SDMMC2_R>;
Patrick Delaunay50599142018-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 Chotard00442d02019-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 Delaunaya3705302019-07-11 11:15:28 +02001475 interrupts-extended = <&intc GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
1476 interrupt-names = "macirq";
Patrice Chotard00442d02019-02-12 16:50:38 +01001477 clock-names = "stmmaceth",
1478 "mac-clk-tx",
1479 "mac-clk-rx",
Marek Vasuta375b262020-01-10 01:28:38 +01001480 "eth-ck",
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001481 "ptp_ref",
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001482 "ethstp";
Patrice Chotard00442d02019-02-12 16:50:38 +01001483 clocks = <&rcc ETHMAC>,
1484 <&rcc ETHTX>,
1485 <&rcc ETHRX>,
Marek Vasuta375b262020-01-10 01:28:38 +01001486 <&rcc ETHCK_K>,
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001487 <&rcc ETHPTP_K>,
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001488 <&rcc ETHSTP>;
Patrice Chotard00442d02019-02-12 16:50:38 +01001489 st,syscon = <&syscfg 0x4>;
1490 snps,mixed-burst;
1491 snps,pbl = <2>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001492 snps,en-tx-lpi-clockgating;
Patrice Chotard00442d02019-02-12 16:50:38 +01001493 snps,axi-config = <&stmmac_axi_config_0>;
1494 snps,tso;
1495 status = "disabled";
Patrick Delaunayb22fa9d2021-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 Chotard00442d02019-02-12 16:50:38 +01001502 };
1503
Patrick Delaunay6d397052021-01-11 12:33:36 +01001504 usbh_ohci: usb@5800c000 {
Patrick Delaunay50599142018-07-09 15:17:19 +02001505 compatible = "generic-ohci";
1506 reg = <0x5800c000 0x1000>;
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001507 clocks = <&usbphyc>, <&rcc USBH>;
Patrick Delaunay50599142018-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 Delaunay6d397052021-01-11 12:33:36 +01001513 usbh_ehci: usb@5800d000 {
Patrick Delaunay50599142018-07-09 15:17:19 +02001514 compatible = "generic-ehci";
1515 reg = <0x5800d000 0x1000>;
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001516 clocks = <&usbphyc>, <&rcc USBH>;
Patrick Delaunay50599142018-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 Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +02001532
1533 port {
1534 #address-cells = <1>;
1535 #size-cells = <0>;
1536 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001537 };
1538
Patrice Chotard00442d02019-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 Delaunay50599142018-07-09 15:17:19 +02001547 usbphyc: usbphyc@5a006000 {
1548 #address-cells = <1>;
1549 #size-cells = <0>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001550 #clock-cells = <0>;
Patrick Delaunay50599142018-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 Delaunay6ba88cd2019-03-29 15:42:11 +01001555 vdda1v1-supply = <&reg11>;
1556 vdda1v8-supply = <&reg18>;
Patrick Delaunay50599142018-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 Delaunaye48a0d42021-06-29 12:01:07 +02001573 interrupts-extended = <&exti 26 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001574 clocks = <&rcc USART1_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001575 wakeup-source;
Patrick Delaunay50599142018-07-09 15:17:19 +02001576 status = "disabled";
1577 };
1578
Patrice Chotard00442d02019-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 Delaunay50599142018-07-09 15:17:19 +02001593 i2c4: i2c@5c002000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001594 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +02001603 st,syscfg-fmp = <&syscfg 0x4 0x8>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +02001604 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001605 i2c-analog-filter;
Patrick Delaunay50599142018-07-09 15:17:19 +02001606 status = "disabled";
1607 };
1608
Patrice Chotard00442d02019-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 Delaunay6f182192022-04-26 15:38:05 +02001614 interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
Patrice Chotard00442d02019-02-12 16:50:38 +01001615 status = "disabled";
1616 };
1617
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001618 bsec: efuse@5c005000 {
Patrick Delaunaybdd71362019-02-27 17:01:27 +01001619 compatible = "st,stm32mp15-bsec";
1620 reg = <0x5c005000 0x400>;
1621 #address-cells = <1>;
1622 #size-cells = <1>;
Patrick Delaunay0e20c1f2020-05-25 12:19:42 +02001623 part_number_otp: part_number_otp@4 {
1624 reg = <0x4 0x1>;
1625 };
Patrick Delaunaya3705302019-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 Delaunaybdd71362019-02-27 17:01:27 +01001632 };
1633
Patrick Delaunay50599142018-07-09 15:17:19 +02001634 i2c6: i2c@5c009000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001635 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-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 Delaunaycdc2ca12020-07-06 13:26:53 +02001644 st,syscfg-fmp = <&syscfg 0x4 0x20>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +02001645 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001646 i2c-analog-filter;
Patrick Delaunay50599142018-07-09 15:17:19 +02001647 status = "disabled";
1648 };
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001649
Patrick Delaunay6d397052021-01-11 12:33:36 +01001650 tamp: tamp@5c00a000 {
1651 compatible = "st,stm32-tamp", "syscon", "simple-mfd";
1652 reg = <0x5c00a000 0x400>;
1653 };
1654
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001655 /*
1656 * Break node order to solve dependency probe issue between
1657 * pinctrl and exti.
1658 */
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001659 pinctrl: pinctrl@50002000 {
Patrick Delaunay48c5e902020-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>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001666 pins-are-numbered;
1667
1668 gpioa: gpio@50002000 {
1669 gpio-controller;
1670 #gpio-cells = <2>;
1671 interrupt-controller;
1672 #interrupt-cells = <2>;
1673 reg = <0x0 0x400>;
1674 clocks = <&rcc GPIOA>;
1675 st,bank-name = "GPIOA";
1676 status = "disabled";
1677 };
1678
1679 gpiob: gpio@50003000 {
1680 gpio-controller;
1681 #gpio-cells = <2>;
1682 interrupt-controller;
1683 #interrupt-cells = <2>;
1684 reg = <0x1000 0x400>;
1685 clocks = <&rcc GPIOB>;
1686 st,bank-name = "GPIOB";
1687 status = "disabled";
1688 };
1689
1690 gpioc: gpio@50004000 {
1691 gpio-controller;
1692 #gpio-cells = <2>;
1693 interrupt-controller;
1694 #interrupt-cells = <2>;
1695 reg = <0x2000 0x400>;
1696 clocks = <&rcc GPIOC>;
1697 st,bank-name = "GPIOC";
1698 status = "disabled";
1699 };
1700
1701 gpiod: gpio@50005000 {
1702 gpio-controller;
1703 #gpio-cells = <2>;
1704 interrupt-controller;
1705 #interrupt-cells = <2>;
1706 reg = <0x3000 0x400>;
1707 clocks = <&rcc GPIOD>;
1708 st,bank-name = "GPIOD";
1709 status = "disabled";
1710 };
1711
1712 gpioe: gpio@50006000 {
1713 gpio-controller;
1714 #gpio-cells = <2>;
1715 interrupt-controller;
1716 #interrupt-cells = <2>;
1717 reg = <0x4000 0x400>;
1718 clocks = <&rcc GPIOE>;
1719 st,bank-name = "GPIOE";
1720 status = "disabled";
1721 };
1722
1723 gpiof: gpio@50007000 {
1724 gpio-controller;
1725 #gpio-cells = <2>;
1726 interrupt-controller;
1727 #interrupt-cells = <2>;
1728 reg = <0x5000 0x400>;
1729 clocks = <&rcc GPIOF>;
1730 st,bank-name = "GPIOF";
1731 status = "disabled";
1732 };
1733
1734 gpiog: gpio@50008000 {
1735 gpio-controller;
1736 #gpio-cells = <2>;
1737 interrupt-controller;
1738 #interrupt-cells = <2>;
1739 reg = <0x6000 0x400>;
1740 clocks = <&rcc GPIOG>;
1741 st,bank-name = "GPIOG";
1742 status = "disabled";
1743 };
1744
1745 gpioh: gpio@50009000 {
1746 gpio-controller;
1747 #gpio-cells = <2>;
1748 interrupt-controller;
1749 #interrupt-cells = <2>;
1750 reg = <0x7000 0x400>;
1751 clocks = <&rcc GPIOH>;
1752 st,bank-name = "GPIOH";
1753 status = "disabled";
1754 };
1755
1756 gpioi: gpio@5000a000 {
1757 gpio-controller;
1758 #gpio-cells = <2>;
1759 interrupt-controller;
1760 #interrupt-cells = <2>;
1761 reg = <0x8000 0x400>;
1762 clocks = <&rcc GPIOI>;
1763 st,bank-name = "GPIOI";
1764 status = "disabled";
1765 };
1766
1767 gpioj: gpio@5000b000 {
1768 gpio-controller;
1769 #gpio-cells = <2>;
1770 interrupt-controller;
1771 #interrupt-cells = <2>;
1772 reg = <0x9000 0x400>;
1773 clocks = <&rcc GPIOJ>;
1774 st,bank-name = "GPIOJ";
1775 status = "disabled";
1776 };
1777
1778 gpiok: gpio@5000c000 {
1779 gpio-controller;
1780 #gpio-cells = <2>;
1781 interrupt-controller;
1782 #interrupt-cells = <2>;
1783 reg = <0xa000 0x400>;
1784 clocks = <&rcc GPIOK>;
1785 st,bank-name = "GPIOK";
1786 status = "disabled";
1787 };
1788 };
1789
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001790 pinctrl_z: pinctrl@54004000 {
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001791 #address-cells = <1>;
1792 #size-cells = <1>;
1793 compatible = "st,stm32mp157-z-pinctrl";
1794 ranges = <0 0x54004000 0x400>;
1795 pins-are-numbered;
1796 interrupt-parent = <&exti>;
1797 st,syscfg = <&exti 0x60 0xff>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001798
1799 gpioz: gpio@54004000 {
1800 gpio-controller;
1801 #gpio-cells = <2>;
1802 interrupt-controller;
1803 #interrupt-cells = <2>;
1804 reg = <0 0x400>;
1805 clocks = <&rcc GPIOZ>;
1806 st,bank-name = "GPIOZ";
1807 st,bank-ioport = <11>;
1808 status = "disabled";
1809 };
1810 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001811 };
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001812
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001813 mlahb: ahb {
1814 compatible = "st,mlahb", "simple-bus";
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001815 #address-cells = <1>;
1816 #size-cells = <1>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001817 ranges;
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001818 dma-ranges = <0x00000000 0x38000000 0x10000>,
1819 <0x10000000 0x10000000 0x60000>,
1820 <0x30000000 0x30000000 0x60000>;
1821
1822 m4_rproc: m4@10000000 {
1823 compatible = "st,stm32mp1-m4";
1824 reg = <0x10000000 0x40000>,
1825 <0x30000000 0x40000>,
1826 <0x38000000 0x10000>;
1827 resets = <&rcc MCU_R>;
1828 st,syscfg-holdboot = <&rcc 0x10C 0x1>;
1829 st,syscfg-tz = <&rcc 0x000 0x1>;
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001830 st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001831 st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
1832 st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001833 status = "disabled";
1834 };
1835 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001836};