blob: 8bbb1aef2ee226aeff98feda073d1558ff55612b [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>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001105 clocks = <&rcc SDMMC3_K>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001106 clock-names = "apb_pclk";
Patrick Delaunay50599142018-07-09 15:17:19 +02001107 resets = <&rcc SDMMC3_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001108 cap-sd-highspeed;
1109 cap-mmc-highspeed;
1110 max-frequency = <120000000>;
1111 status = "disabled";
1112 };
1113
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001114 usbotg_hs: usb-otg@49000000 {
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +02001115 compatible = "st,stm32mp15-hsotg", "snps,dwc2";
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001116 reg = <0x49000000 0x10000>;
1117 clocks = <&rcc USBO_K>;
1118 clock-names = "otg";
1119 resets = <&rcc USBO_R>;
1120 reset-names = "dwc2";
1121 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001122 g-rx-fifo-size = <512>;
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001123 g-np-tx-fifo-size = <32>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001124 g-tx-fifo-size = <256 16 16 16 16 16 16 16>;
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001125 dr_mode = "otg";
Patrick Delaunay37868aa2021-12-17 16:30:22 +01001126 otg-rev = <0x200>;
Patrick Delaunay6ba88cd2019-03-29 15:42:11 +01001127 usb33d-supply = <&usb33>;
Patrice Chotard18cb6f52018-08-10 17:12:11 +02001128 status = "disabled";
1129 };
1130
Benjamin Gaignard77611122018-11-27 13:49:52 +01001131 hwspinlock: hwspinlock@4c000000 {
1132 compatible = "st,stm32-hwspinlock";
1133 #hwlock-cells = <1>;
1134 reg = <0x4c000000 0x400>;
1135 clocks = <&rcc HSEM>;
1136 clock-names = "hwspinlock";
Benjamin Gaignard77611122018-11-27 13:49:52 +01001137 };
1138
Fabien Dessennec2a97d32019-05-14 11:20:37 +02001139 ipcc: mailbox@4c001000 {
1140 compatible = "st,stm32mp1-ipcc";
1141 #mbox-cells = <1>;
1142 reg = <0x4c001000 0x400>;
1143 st,proc-id = <0>;
1144 interrupts-extended =
Patrick Delaunay75785d42022-09-07 13:42:23 +02001145 <&exti 61 1>,
1146 <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1147 interrupt-names = "rx", "tx";
Fabien Dessennec2a97d32019-05-14 11:20:37 +02001148 clocks = <&rcc IPCC>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001149 wakeup-source;
Fabien Dessennec2a97d32019-05-14 11:20:37 +02001150 status = "disabled";
1151 };
1152
Patrick Delaunay708cae72019-07-30 19:16:12 +02001153 dcmi: dcmi@4c006000 {
1154 compatible = "st,stm32-dcmi";
1155 reg = <0x4c006000 0x400>;
1156 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
1157 resets = <&rcc CAMITF_R>;
1158 clocks = <&rcc DCMI>;
1159 clock-names = "mclk";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001160 dmas = <&dmamux1 75 0x400 0x01>;
Patrick Delaunay708cae72019-07-30 19:16:12 +02001161 dma-names = "tx";
1162 status = "disabled";
1163 };
1164
Patrick Delaunay50599142018-07-09 15:17:19 +02001165 rcc: rcc@50000000 {
1166 compatible = "st,stm32mp1-rcc", "syscon";
1167 reg = <0x50000000 0x1000>;
1168 #clock-cells = <1>;
1169 #reset-cells = <1>;
Etienne Carriere212d3aa2021-02-24 11:19:41 +01001170
1171 clock-names = "hse", "hsi", "csi", "lse", "lsi";
1172 clocks = <&clk_hse>, <&clk_hsi>, <&clk_csi>,
1173 <&clk_lse>, <&clk_lsi>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001174 };
1175
Patrick Delaunay900494d2020-01-28 10:10:59 +01001176 pwr_regulators: pwr@50001000 {
1177 compatible = "st,stm32mp1,pwr-reg";
1178 reg = <0x50001000 0x10>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001179
Patrick Delaunay900494d2020-01-28 10:10:59 +01001180 reg11: reg11 {
1181 regulator-name = "reg11";
1182 regulator-min-microvolt = <1100000>;
1183 regulator-max-microvolt = <1100000>;
1184 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001185
Patrick Delaunay900494d2020-01-28 10:10:59 +01001186 reg18: reg18 {
1187 regulator-name = "reg18";
1188 regulator-min-microvolt = <1800000>;
1189 regulator-max-microvolt = <1800000>;
1190 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001191
Patrick Delaunay900494d2020-01-28 10:10:59 +01001192 usb33: usb33 {
1193 regulator-name = "usb33";
1194 regulator-min-microvolt = <3300000>;
1195 regulator-max-microvolt = <3300000>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001196 };
1197 };
1198
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001199 pwr_mcu: pwr_mcu@50001014 {
Patrick Delaunay551efca2020-09-16 10:01:32 +02001200 compatible = "st,stm32mp151-pwr-mcu", "syscon";
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001201 reg = <0x50001014 0x4>;
1202 };
1203
Patrick Delaunay50599142018-07-09 15:17:19 +02001204 exti: interrupt-controller@5000d000 {
1205 compatible = "st,stm32mp1-exti", "syscon";
1206 interrupt-controller;
1207 #interrupt-cells = <2>;
1208 reg = <0x5000d000 0x400>;
1209 };
1210
Patrice Chotard00442d02019-02-12 16:50:38 +01001211 syscfg: syscon@50020000 {
Patrick Delaunay63ae49e2019-02-27 17:01:23 +01001212 compatible = "st,stm32mp157-syscfg", "syscon";
Patrick Delaunay50599142018-07-09 15:17:19 +02001213 reg = <0x50020000 0x400>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001214 clocks = <&rcc SYSCFG>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001215 };
1216
1217 lptimer2: timer@50021000 {
1218 #address-cells = <1>;
1219 #size-cells = <0>;
1220 compatible = "st,stm32-lptimer";
1221 reg = <0x50021000 0x400>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001222 interrupts-extended = <&exti 48 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001223 clocks = <&rcc LPTIM2_K>;
1224 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001225 wakeup-source;
Patrick Delaunay50599142018-07-09 15:17:19 +02001226 status = "disabled";
1227
1228 pwm {
1229 compatible = "st,stm32-pwm-lp";
1230 #pwm-cells = <3>;
1231 status = "disabled";
1232 };
1233
1234 trigger@1 {
1235 compatible = "st,stm32-lptimer-trigger";
1236 reg = <1>;
1237 status = "disabled";
1238 };
1239
1240 counter {
1241 compatible = "st,stm32-lptimer-counter";
1242 status = "disabled";
1243 };
1244 };
1245
1246 lptimer3: timer@50022000 {
1247 #address-cells = <1>;
1248 #size-cells = <0>;
1249 compatible = "st,stm32-lptimer";
1250 reg = <0x50022000 0x400>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001251 interrupts-extended = <&exti 50 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001252 clocks = <&rcc LPTIM3_K>;
1253 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001254 wakeup-source;
Patrick Delaunay50599142018-07-09 15:17:19 +02001255 status = "disabled";
1256
1257 pwm {
1258 compatible = "st,stm32-pwm-lp";
1259 #pwm-cells = <3>;
1260 status = "disabled";
1261 };
1262
1263 trigger@2 {
1264 compatible = "st,stm32-lptimer-trigger";
1265 reg = <2>;
1266 status = "disabled";
1267 };
1268 };
1269
1270 lptimer4: timer@50023000 {
1271 compatible = "st,stm32-lptimer";
1272 reg = <0x50023000 0x400>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001273 interrupts-extended = <&exti 52 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001274 clocks = <&rcc LPTIM4_K>;
1275 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001276 wakeup-source;
Patrick Delaunay50599142018-07-09 15:17:19 +02001277 status = "disabled";
1278
1279 pwm {
1280 compatible = "st,stm32-pwm-lp";
1281 #pwm-cells = <3>;
1282 status = "disabled";
1283 };
1284 };
1285
1286 lptimer5: timer@50024000 {
1287 compatible = "st,stm32-lptimer";
1288 reg = <0x50024000 0x400>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001289 interrupts-extended = <&exti 53 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001290 clocks = <&rcc LPTIM5_K>;
1291 clock-names = "mux";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001292 wakeup-source;
Patrick Delaunay50599142018-07-09 15:17:19 +02001293 status = "disabled";
1294
1295 pwm {
1296 compatible = "st,stm32-pwm-lp";
1297 #pwm-cells = <3>;
1298 status = "disabled";
1299 };
1300 };
1301
1302 vrefbuf: vrefbuf@50025000 {
1303 compatible = "st,stm32-vrefbuf";
1304 reg = <0x50025000 0x8>;
1305 regulator-min-microvolt = <1500000>;
1306 regulator-max-microvolt = <2500000>;
1307 clocks = <&rcc VREF>;
1308 status = "disabled";
Patrick Delaunay708cae72019-07-30 19:16:12 +02001309 };
1310
1311 sai4: sai@50027000 {
1312 compatible = "st,stm32h7-sai";
1313 #address-cells = <1>;
1314 #size-cells = <1>;
1315 ranges = <0 0x50027000 0x400>;
1316 reg = <0x50027000 0x4>, <0x500273f0 0x10>;
1317 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
1318 resets = <&rcc SAI4_R>;
1319 status = "disabled";
1320
1321 sai4a: audio-controller@50027004 {
1322 #sound-dai-cells = <0>;
1323 compatible = "st,stm32-sai-sub-a";
Patrick Delaunay37868aa2021-12-17 16:30:22 +01001324 reg = <0x04 0x20>;
Patrick Delaunay708cae72019-07-30 19:16:12 +02001325 clocks = <&rcc SAI4_K>;
1326 clock-names = "sai_ck";
1327 dmas = <&dmamux1 99 0x400 0x01>;
1328 status = "disabled";
1329 };
1330
1331 sai4b: audio-controller@50027024 {
1332 #sound-dai-cells = <0>;
1333 compatible = "st,stm32-sai-sub-b";
Patrick Delaunay37868aa2021-12-17 16:30:22 +01001334 reg = <0x24 0x20>;
Patrick Delaunay708cae72019-07-30 19:16:12 +02001335 clocks = <&rcc SAI4_K>;
1336 clock-names = "sai_ck";
1337 dmas = <&dmamux1 100 0x400 0x01>;
1338 status = "disabled";
1339 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001340 };
1341
Patrick Delaunaya3705302019-07-11 11:15:28 +02001342 dts: thermal@50028000 {
1343 compatible = "st,stm32-thermal";
1344 reg = <0x50028000 0x100>;
1345 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
1346 clocks = <&rcc TMPSENS>;
1347 clock-names = "pclk";
1348 #thermal-sensor-cells = <0>;
1349 status = "disabled";
1350 };
1351
Patrice Chotard00442d02019-02-12 16:50:38 +01001352 hash1: hash@54002000 {
1353 compatible = "st,stm32f756-hash";
1354 reg = <0x54002000 0x400>;
1355 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1356 clocks = <&rcc HASH1>;
1357 resets = <&rcc HASH1_R>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001358 dmas = <&mdma1 31 0x2 0x1000A02 0x0 0x0>;
Patrice Chotard00442d02019-02-12 16:50:38 +01001359 dma-names = "in";
1360 dma-maxburst = <2>;
1361 status = "disabled";
1362 };
1363
Patrick Delaunay50599142018-07-09 15:17:19 +02001364 rng1: rng@54003000 {
1365 compatible = "st,stm32-rng";
1366 reg = <0x54003000 0x400>;
1367 clocks = <&rcc RNG1_K>;
1368 resets = <&rcc RNG1_R>;
1369 status = "disabled";
1370 };
1371
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001372 mdma1: dma-controller@58000000 {
Patrick Delaunay50599142018-07-09 15:17:19 +02001373 compatible = "st,stm32h7-mdma";
1374 reg = <0x58000000 0x1000>;
1375 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
1376 clocks = <&rcc MDMA>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +02001377 resets = <&rcc MDMA_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001378 #dma-cells = <5>;
1379 dma-channels = <32>;
1380 dma-requests = <48>;
1381 };
1382
Christophe Kerello45326d82020-07-31 09:53:44 +02001383 fmc: memory-controller@58002000 {
1384 #address-cells = <2>;
1385 #size-cells = <1>;
1386 compatible = "st,stm32mp1-fmc2-ebi";
1387 reg = <0x58002000 0x1000>;
Patrick Delaunaye0188ac2019-04-08 15:30:52 +02001388 clocks = <&rcc FMC_K>;
1389 resets = <&rcc FMC_R>;
1390 status = "disabled";
Christophe Kerello45326d82020-07-31 09:53:44 +02001391
1392 ranges = <0 0 0x60000000 0x04000000>, /* EBI CS 1 */
1393 <1 0 0x64000000 0x04000000>, /* EBI CS 2 */
1394 <2 0 0x68000000 0x04000000>, /* EBI CS 3 */
1395 <3 0 0x6c000000 0x04000000>, /* EBI CS 4 */
1396 <4 0 0x80000000 0x10000000>; /* NAND */
1397
1398 nand-controller@4,0 {
1399 #address-cells = <1>;
1400 #size-cells = <0>;
1401 compatible = "st,stm32mp1-fmc2-nfc";
1402 reg = <4 0x00000000 0x1000>,
1403 <4 0x08010000 0x1000>,
1404 <4 0x08020000 0x1000>,
1405 <4 0x01000000 0x1000>,
1406 <4 0x09010000 0x1000>,
1407 <4 0x09020000 0x1000>;
1408 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
1409 dmas = <&mdma1 20 0x2 0x12000a02 0x0 0x0>,
1410 <&mdma1 20 0x2 0x12000a08 0x0 0x0>,
1411 <&mdma1 21 0x2 0x12000a0a 0x0 0x0>;
1412 dma-names = "tx", "rx", "ecc";
1413 status = "disabled";
1414 };
Patrick Delaunaye0188ac2019-04-08 15:30:52 +02001415 };
1416
Patrice Chotard00442d02019-02-12 16:50:38 +01001417 qspi: spi@58003000 {
Patrick Delaunay50599142018-07-09 15:17:19 +02001418 compatible = "st,stm32f469-qspi";
1419 reg = <0x58003000 0x1000>, <0x70000000 0x10000000>;
1420 reg-names = "qspi", "qspi_mm";
1421 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunayb22fa9d2021-07-27 12:15:12 +02001422 dmas = <&mdma1 22 0x2 0x10100002 0x0 0x0>,
1423 <&mdma1 22 0x2 0x10100008 0x0 0x0>;
Patrick Delaunay8c6e6132019-11-06 16:16:33 +01001424 dma-names = "tx", "rx";
Patrick Delaunay50599142018-07-09 15:17:19 +02001425 clocks = <&rcc QSPI_K>;
1426 resets = <&rcc QSPI_R>;
Patrick Delaunay551efca2020-09-16 10:01:32 +02001427 #address-cells = <1>;
1428 #size-cells = <0>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001429 status = "disabled";
1430 };
1431
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001432 sdmmc1: mmc@58005000 {
Patrick Delaunay6f182192022-04-26 15:38:05 +02001433 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001434 arm,primecell-periphid = <0x00253180>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001435 reg = <0x58005000 0x1000>;
1436 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001437 clocks = <&rcc SDMMC1_K>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001438 clock-names = "apb_pclk";
Patrick Delaunay50599142018-07-09 15:17:19 +02001439 resets = <&rcc SDMMC1_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001440 cap-sd-highspeed;
1441 cap-mmc-highspeed;
1442 max-frequency = <120000000>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001443 status = "disabled";
Patrick Delaunay50599142018-07-09 15:17:19 +02001444 };
1445
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001446 sdmmc2: mmc@58007000 {
Patrick Delaunay6f182192022-04-26 15:38:05 +02001447 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
Patrick Delaunay6d397052021-01-11 12:33:36 +01001448 arm,primecell-periphid = <0x00253180>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001449 reg = <0x58007000 0x1000>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001450 interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001451 clocks = <&rcc SDMMC2_K>;
Patrick Delaunaya3705302019-07-11 11:15:28 +02001452 clock-names = "apb_pclk";
Patrick Delaunay50599142018-07-09 15:17:19 +02001453 resets = <&rcc SDMMC2_R>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001454 cap-sd-highspeed;
1455 cap-mmc-highspeed;
1456 max-frequency = <120000000>;
1457 status = "disabled";
1458 };
1459
1460 crc1: crc@58009000 {
1461 compatible = "st,stm32f7-crc";
1462 reg = <0x58009000 0x400>;
1463 clocks = <&rcc CRC1>;
1464 status = "disabled";
1465 };
1466
Patrice Chotard00442d02019-02-12 16:50:38 +01001467 ethernet0: ethernet@5800a000 {
1468 compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
1469 reg = <0x5800a000 0x2000>;
1470 reg-names = "stmmaceth";
Patrick Delaunaya3705302019-07-11 11:15:28 +02001471 interrupts-extended = <&intc GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
1472 interrupt-names = "macirq";
Patrice Chotard00442d02019-02-12 16:50:38 +01001473 clock-names = "stmmaceth",
1474 "mac-clk-tx",
1475 "mac-clk-rx",
Marek Vasuta375b262020-01-10 01:28:38 +01001476 "eth-ck",
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001477 "ptp_ref",
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001478 "ethstp";
Patrice Chotard00442d02019-02-12 16:50:38 +01001479 clocks = <&rcc ETHMAC>,
1480 <&rcc ETHTX>,
1481 <&rcc ETHRX>,
Marek Vasuta375b262020-01-10 01:28:38 +01001482 <&rcc ETHCK_K>,
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001483 <&rcc ETHPTP_K>,
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001484 <&rcc ETHSTP>;
Patrice Chotard00442d02019-02-12 16:50:38 +01001485 st,syscon = <&syscfg 0x4>;
1486 snps,mixed-burst;
1487 snps,pbl = <2>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001488 snps,en-tx-lpi-clockgating;
Patrice Chotard00442d02019-02-12 16:50:38 +01001489 snps,axi-config = <&stmmac_axi_config_0>;
1490 snps,tso;
1491 status = "disabled";
Patrick Delaunayb22fa9d2021-07-27 12:15:12 +02001492
1493 stmmac_axi_config_0: stmmac-axi-config {
1494 snps,wr_osr_lmt = <0x7>;
1495 snps,rd_osr_lmt = <0x7>;
1496 snps,blen = <0 0 0 0 16 8 4>;
1497 };
Patrice Chotard00442d02019-02-12 16:50:38 +01001498 };
1499
Patrick Delaunay6d397052021-01-11 12:33:36 +01001500 usbh_ohci: usb@5800c000 {
Patrick Delaunay50599142018-07-09 15:17:19 +02001501 compatible = "generic-ohci";
1502 reg = <0x5800c000 0x1000>;
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001503 clocks = <&usbphyc>, <&rcc USBH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001504 resets = <&rcc USBH_R>;
1505 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
1506 status = "disabled";
1507 };
1508
Patrick Delaunay6d397052021-01-11 12:33:36 +01001509 usbh_ehci: usb@5800d000 {
Patrick Delaunay50599142018-07-09 15:17:19 +02001510 compatible = "generic-ehci";
1511 reg = <0x5800d000 0x1000>;
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001512 clocks = <&usbphyc>, <&rcc USBH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001513 resets = <&rcc USBH_R>;
1514 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1515 companion = <&usbh_ohci>;
1516 status = "disabled";
1517 };
1518
Patrick Delaunay50599142018-07-09 15:17:19 +02001519 ltdc: display-controller@5a001000 {
1520 compatible = "st,stm32-ltdc";
1521 reg = <0x5a001000 0x400>;
1522 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
1523 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
1524 clocks = <&rcc LTDC_PX>;
1525 clock-names = "lcd";
1526 resets = <&rcc LTDC_R>;
1527 status = "disabled";
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001528
1529 port {
1530 #address-cells = <1>;
1531 #size-cells = <0>;
1532 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001533 };
1534
Patrice Chotard00442d02019-02-12 16:50:38 +01001535 iwdg2: watchdog@5a002000 {
1536 compatible = "st,stm32mp1-iwdg";
1537 reg = <0x5a002000 0x400>;
1538 clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
1539 clock-names = "pclk", "lsi";
1540 status = "disabled";
1541 };
1542
Patrick Delaunay50599142018-07-09 15:17:19 +02001543 usbphyc: usbphyc@5a006000 {
1544 #address-cells = <1>;
1545 #size-cells = <0>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001546 #clock-cells = <0>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001547 compatible = "st,stm32mp1-usbphyc";
1548 reg = <0x5a006000 0x1000>;
1549 clocks = <&rcc USBPHY_K>;
1550 resets = <&rcc USBPHY_R>;
Patrick Delaunay6ba88cd2019-03-29 15:42:11 +01001551 vdda1v1-supply = <&reg11>;
1552 vdda1v8-supply = <&reg18>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001553 status = "disabled";
1554
1555 usbphyc_port0: usb-phy@0 {
1556 #phy-cells = <0>;
1557 reg = <0>;
1558 };
1559
1560 usbphyc_port1: usb-phy@1 {
1561 #phy-cells = <1>;
1562 reg = <1>;
1563 };
1564 };
1565
1566 usart1: serial@5c000000 {
1567 compatible = "st,stm32h7-uart";
1568 reg = <0x5c000000 0x400>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001569 interrupts-extended = <&exti 26 IRQ_TYPE_LEVEL_HIGH>;
Patrick Delaunay50599142018-07-09 15:17:19 +02001570 clocks = <&rcc USART1_K>;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001571 wakeup-source;
Patrick Delaunay50599142018-07-09 15:17:19 +02001572 status = "disabled";
1573 };
1574
Patrice Chotard00442d02019-02-12 16:50:38 +01001575 spi6: spi@5c001000 {
1576 #address-cells = <1>;
1577 #size-cells = <0>;
1578 compatible = "st,stm32h7-spi";
1579 reg = <0x5c001000 0x400>;
1580 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1581 clocks = <&rcc SPI6_K>;
1582 resets = <&rcc SPI6_R>;
1583 dmas = <&mdma1 34 0x0 0x40008 0x0 0x0>,
1584 <&mdma1 35 0x0 0x40002 0x0 0x0>;
1585 dma-names = "rx", "tx";
1586 status = "disabled";
1587 };
1588
Patrick Delaunay50599142018-07-09 15:17:19 +02001589 i2c4: i2c@5c002000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001590 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-07-09 15:17:19 +02001591 reg = <0x5c002000 0x400>;
1592 interrupt-names = "event", "error";
1593 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
1594 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1595 clocks = <&rcc I2C4_K>;
1596 resets = <&rcc I2C4_R>;
1597 #address-cells = <1>;
1598 #size-cells = <0>;
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001599 st,syscfg-fmp = <&syscfg 0x4 0x8>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +02001600 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001601 i2c-analog-filter;
Patrick Delaunay50599142018-07-09 15:17:19 +02001602 status = "disabled";
1603 };
1604
Patrice Chotard00442d02019-02-12 16:50:38 +01001605 rtc: rtc@5c004000 {
1606 compatible = "st,stm32mp1-rtc";
1607 reg = <0x5c004000 0x400>;
1608 clocks = <&rcc RTCAPB>, <&rcc RTC>;
1609 clock-names = "pclk", "rtc_ck";
Patrick Delaunay6f182192022-04-26 15:38:05 +02001610 interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
Patrice Chotard00442d02019-02-12 16:50:38 +01001611 status = "disabled";
1612 };
1613
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001614 bsec: efuse@5c005000 {
Patrick Delaunaybdd71362019-02-27 17:01:27 +01001615 compatible = "st,stm32mp15-bsec";
1616 reg = <0x5c005000 0x400>;
1617 #address-cells = <1>;
1618 #size-cells = <1>;
Patrick Delaunay0e20c1f2020-05-25 12:19:42 +02001619 part_number_otp: part_number_otp@4 {
1620 reg = <0x4 0x1>;
1621 };
Patrick Delaunaya3705302019-07-11 11:15:28 +02001622 ts_cal1: calib@5c {
1623 reg = <0x5c 0x2>;
1624 };
1625 ts_cal2: calib@5e {
1626 reg = <0x5e 0x2>;
1627 };
Patrick Delaunaybdd71362019-02-27 17:01:27 +01001628 };
1629
Patrick Delaunay50599142018-07-09 15:17:19 +02001630 i2c6: i2c@5c009000 {
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001631 compatible = "st,stm32mp15-i2c";
Patrick Delaunay50599142018-07-09 15:17:19 +02001632 reg = <0x5c009000 0x400>;
1633 interrupt-names = "event", "error";
1634 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
1635 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
1636 clocks = <&rcc I2C6_K>;
1637 resets = <&rcc I2C6_R>;
1638 #address-cells = <1>;
1639 #size-cells = <0>;
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001640 st,syscfg-fmp = <&syscfg 0x4 0x20>;
Patrick Delaunaydf0d20a2020-04-30 15:52:46 +02001641 wakeup-source;
Patrick Delaunaye48a0d42021-06-29 12:01:07 +02001642 i2c-analog-filter;
Patrick Delaunay50599142018-07-09 15:17:19 +02001643 status = "disabled";
1644 };
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001645
Patrick Delaunay6d397052021-01-11 12:33:36 +01001646 tamp: tamp@5c00a000 {
1647 compatible = "st,stm32-tamp", "syscon", "simple-mfd";
1648 reg = <0x5c00a000 0x400>;
1649 };
1650
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001651 /*
1652 * Break node order to solve dependency probe issue between
1653 * pinctrl and exti.
1654 */
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001655 pinctrl: pinctrl@50002000 {
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001656 #address-cells = <1>;
1657 #size-cells = <1>;
1658 compatible = "st,stm32mp157-pinctrl";
1659 ranges = <0 0x50002000 0xa400>;
1660 interrupt-parent = <&exti>;
1661 st,syscfg = <&exti 0x60 0xff>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001662 pins-are-numbered;
1663
1664 gpioa: gpio@50002000 {
1665 gpio-controller;
1666 #gpio-cells = <2>;
1667 interrupt-controller;
1668 #interrupt-cells = <2>;
1669 reg = <0x0 0x400>;
1670 clocks = <&rcc GPIOA>;
1671 st,bank-name = "GPIOA";
1672 status = "disabled";
1673 };
1674
1675 gpiob: gpio@50003000 {
1676 gpio-controller;
1677 #gpio-cells = <2>;
1678 interrupt-controller;
1679 #interrupt-cells = <2>;
1680 reg = <0x1000 0x400>;
1681 clocks = <&rcc GPIOB>;
1682 st,bank-name = "GPIOB";
1683 status = "disabled";
1684 };
1685
1686 gpioc: gpio@50004000 {
1687 gpio-controller;
1688 #gpio-cells = <2>;
1689 interrupt-controller;
1690 #interrupt-cells = <2>;
1691 reg = <0x2000 0x400>;
1692 clocks = <&rcc GPIOC>;
1693 st,bank-name = "GPIOC";
1694 status = "disabled";
1695 };
1696
1697 gpiod: gpio@50005000 {
1698 gpio-controller;
1699 #gpio-cells = <2>;
1700 interrupt-controller;
1701 #interrupt-cells = <2>;
1702 reg = <0x3000 0x400>;
1703 clocks = <&rcc GPIOD>;
1704 st,bank-name = "GPIOD";
1705 status = "disabled";
1706 };
1707
1708 gpioe: gpio@50006000 {
1709 gpio-controller;
1710 #gpio-cells = <2>;
1711 interrupt-controller;
1712 #interrupt-cells = <2>;
1713 reg = <0x4000 0x400>;
1714 clocks = <&rcc GPIOE>;
1715 st,bank-name = "GPIOE";
1716 status = "disabled";
1717 };
1718
1719 gpiof: gpio@50007000 {
1720 gpio-controller;
1721 #gpio-cells = <2>;
1722 interrupt-controller;
1723 #interrupt-cells = <2>;
1724 reg = <0x5000 0x400>;
1725 clocks = <&rcc GPIOF>;
1726 st,bank-name = "GPIOF";
1727 status = "disabled";
1728 };
1729
1730 gpiog: gpio@50008000 {
1731 gpio-controller;
1732 #gpio-cells = <2>;
1733 interrupt-controller;
1734 #interrupt-cells = <2>;
1735 reg = <0x6000 0x400>;
1736 clocks = <&rcc GPIOG>;
1737 st,bank-name = "GPIOG";
1738 status = "disabled";
1739 };
1740
1741 gpioh: gpio@50009000 {
1742 gpio-controller;
1743 #gpio-cells = <2>;
1744 interrupt-controller;
1745 #interrupt-cells = <2>;
1746 reg = <0x7000 0x400>;
1747 clocks = <&rcc GPIOH>;
1748 st,bank-name = "GPIOH";
1749 status = "disabled";
1750 };
1751
1752 gpioi: gpio@5000a000 {
1753 gpio-controller;
1754 #gpio-cells = <2>;
1755 interrupt-controller;
1756 #interrupt-cells = <2>;
1757 reg = <0x8000 0x400>;
1758 clocks = <&rcc GPIOI>;
1759 st,bank-name = "GPIOI";
1760 status = "disabled";
1761 };
1762
1763 gpioj: gpio@5000b000 {
1764 gpio-controller;
1765 #gpio-cells = <2>;
1766 interrupt-controller;
1767 #interrupt-cells = <2>;
1768 reg = <0x9000 0x400>;
1769 clocks = <&rcc GPIOJ>;
1770 st,bank-name = "GPIOJ";
1771 status = "disabled";
1772 };
1773
1774 gpiok: gpio@5000c000 {
1775 gpio-controller;
1776 #gpio-cells = <2>;
1777 interrupt-controller;
1778 #interrupt-cells = <2>;
1779 reg = <0xa000 0x400>;
1780 clocks = <&rcc GPIOK>;
1781 st,bank-name = "GPIOK";
1782 status = "disabled";
1783 };
1784 };
1785
Patrick Delaunaye25cbd42022-07-05 16:55:54 +02001786 pinctrl_z: pinctrl@54004000 {
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001787 #address-cells = <1>;
1788 #size-cells = <1>;
1789 compatible = "st,stm32mp157-z-pinctrl";
1790 ranges = <0 0x54004000 0x400>;
1791 pins-are-numbered;
1792 interrupt-parent = <&exti>;
1793 st,syscfg = <&exti 0x60 0xff>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001794
1795 gpioz: gpio@54004000 {
1796 gpio-controller;
1797 #gpio-cells = <2>;
1798 interrupt-controller;
1799 #interrupt-cells = <2>;
1800 reg = <0 0x400>;
1801 clocks = <&rcc GPIOZ>;
1802 st,bank-name = "GPIOZ";
1803 st,bank-ioport = <11>;
1804 status = "disabled";
1805 };
1806 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001807 };
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001808
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001809 mlahb: ahb {
1810 compatible = "st,mlahb", "simple-bus";
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001811 #address-cells = <1>;
1812 #size-cells = <1>;
Patrick Delaunay48c5e902020-03-06 17:54:41 +01001813 ranges;
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001814 dma-ranges = <0x00000000 0x38000000 0x10000>,
1815 <0x10000000 0x10000000 0x60000>,
1816 <0x30000000 0x30000000 0x60000>;
1817
1818 m4_rproc: m4@10000000 {
1819 compatible = "st,stm32mp1-m4";
1820 reg = <0x10000000 0x40000>,
1821 <0x30000000 0x40000>,
1822 <0x38000000 0x10000>;
1823 resets = <&rcc MCU_R>;
1824 st,syscfg-holdboot = <&rcc 0x10C 0x1>;
1825 st,syscfg-tz = <&rcc 0x000 0x1>;
Patrick Delaunaycdc2ca12020-07-06 13:26:53 +02001826 st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
Patrick Delaunay6d397052021-01-11 12:33:36 +01001827 st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
1828 st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
Patrick Delaunay26c24b42019-08-02 15:07:18 +02001829 status = "disabled";
1830 };
1831 };
Patrick Delaunay50599142018-07-09 15:17:19 +02001832};