1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
7 #include "armv7-m.dtsi"
8 #include <dt-bindings/clock/stm32h7-clks.h>
9 #include <dt-bindings/mfd/stm32h7-rcc.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
19 compatible = "fixed-clock";
20 clock-frequency = <0>;
25 compatible = "fixed-clock";
26 clock-frequency = <32768>;
31 compatible = "fixed-clock";
32 clock-frequency = <0>;
37 timer5: timer@40000c00 {
38 compatible = "st,stm32-timer";
39 reg = <0x40000c00 0x400>;
41 clocks = <&rcc TIM5_CK>;
44 lptimer1: timer@40002400 {
47 compatible = "st,stm32-lptimer";
48 reg = <0x40002400 0x400>;
49 clocks = <&rcc LPTIM1_CK>;
54 compatible = "st,stm32-pwm-lp";
60 compatible = "st,stm32-lptimer-trigger";
66 compatible = "st,stm32-lptimer-counter";
74 compatible = "st,stm32h7-spi";
75 reg = <0x40003800 0x400>;
77 clocks = <&rcc SPI2_CK>;
85 compatible = "st,stm32h7-spi";
86 reg = <0x40003c00 0x400>;
88 clocks = <&rcc SPI3_CK>;
92 usart2: serial@40004400 {
93 compatible = "st,stm32f7-uart";
94 reg = <0x40004400 0x400>;
97 clocks = <&rcc USART2_CK>;
101 compatible = "st,stm32f7-i2c";
102 #address-cells = <1>;
104 reg = <0x40005400 0x400>;
107 resets = <&rcc STM32H7_APB1L_RESET(I2C1)>;
108 clocks = <&rcc I2C1_CK>;
113 compatible = "st,stm32f7-i2c";
114 #address-cells = <1>;
116 reg = <0x40005800 0x400>;
119 resets = <&rcc STM32H7_APB1L_RESET(I2C2)>;
120 clocks = <&rcc I2C2_CK>;
125 compatible = "st,stm32f7-i2c";
126 #address-cells = <1>;
128 reg = <0x40005C00 0x400>;
131 resets = <&rcc STM32H7_APB1L_RESET(I2C3)>;
132 clocks = <&rcc I2C3_CK>;
137 compatible = "st,stm32h7-dac-core";
138 reg = <0x40007400 0x400>;
139 clocks = <&rcc DAC12_CK>;
140 clock-names = "pclk";
141 #address-cells = <1>;
146 compatible = "st,stm32-dac";
147 #io-channels-cells = <1>;
153 compatible = "st,stm32-dac";
154 #io-channels-cells = <1>;
160 usart1: serial@40011000 {
161 compatible = "st,stm32f7-uart";
162 reg = <0x40011000 0x400>;
165 clocks = <&rcc USART1_CK>;
169 #address-cells = <1>;
171 compatible = "st,stm32h7-spi";
172 reg = <0x40013000 0x400>;
174 clocks = <&rcc SPI1_CK>;
179 #address-cells = <1>;
181 compatible = "st,stm32h7-spi";
182 reg = <0x40013400 0x400>;
184 clocks = <&rcc SPI4_CK>;
189 #address-cells = <1>;
191 compatible = "st,stm32h7-spi";
192 reg = <0x40015000 0x400>;
194 clocks = <&rcc SPI5_CK>;
199 compatible = "st,stm32-dma";
200 reg = <0x40020000 0x400>;
209 clocks = <&rcc DMA1_CK>;
217 compatible = "st,stm32-dma";
218 reg = <0x40020400 0x400>;
227 clocks = <&rcc DMA2_CK>;
234 dmamux1: dma-router@40020800 {
235 compatible = "st,stm32h7-dmamux";
236 reg = <0x40020800 0x1c>;
239 dma-requests = <128>;
240 dma-masters = <&dma1 &dma2>;
241 clocks = <&rcc DMA1_CK>;
244 adc_12: adc@40022000 {
245 compatible = "st,stm32h7-adc-core";
246 reg = <0x40022000 0x400>;
248 clocks = <&rcc ADC12_CK>;
250 interrupt-controller;
251 #interrupt-cells = <1>;
252 #address-cells = <1>;
257 compatible = "st,stm32h7-adc";
258 #io-channel-cells = <1>;
260 interrupt-parent = <&adc_12>;
266 compatible = "st,stm32h7-adc";
267 #io-channel-cells = <1>;
269 interrupt-parent = <&adc_12>;
275 usbotg_hs: usb@40040000 {
276 compatible = "st,stm32f7-hsotg";
277 reg = <0x40040000 0x40000>;
279 clocks = <&rcc USB1OTG_CK>;
281 g-rx-fifo-size = <256>;
282 g-np-tx-fifo-size = <32>;
283 g-tx-fifo-size = <128 128 64 64 64 64 32 32>;
287 usbotg_fs: usb@40080000 {
288 compatible = "st,stm32f4x9-fsotg";
289 reg = <0x40080000 0x40000>;
291 clocks = <&rcc USB2OTG_CK>;
296 mdma1: dma@52000000 {
297 compatible = "st,stm32h7-mdma";
298 reg = <0x52000000 0x1000>;
300 clocks = <&rcc MDMA_CK>;
306 sdmmc1: sdmmc@52007000 {
307 compatible = "arm,pl18x", "arm,primecell";
308 arm,primecell-periphid = <0x10153180>;
309 reg = <0x52007000 0x1000>;
311 interrupt-names = "cmd_irq";
312 clocks = <&rcc SDMMC1_CK>;
313 clock-names = "apb_pclk";
314 resets = <&rcc STM32H7_AHB3_RESET(SDMMC1)>;
317 max-frequency = <120000000>;
320 exti: interrupt-controller@58000000 {
321 compatible = "st,stm32h7-exti";
322 interrupt-controller;
323 #interrupt-cells = <2>;
324 reg = <0x58000000 0x400>;
325 interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <62>, <76>;
328 syscfg: system-config@58000400 {
329 compatible = "syscon";
330 reg = <0x58000400 0x400>;
334 #address-cells = <1>;
336 compatible = "st,stm32h7-spi";
337 reg = <0x58001400 0x400>;
339 clocks = <&rcc SPI6_CK>;
344 compatible = "st,stm32f7-i2c";
345 #address-cells = <1>;
347 reg = <0x58001C00 0x400>;
350 resets = <&rcc STM32H7_APB4_RESET(I2C4)>;
351 clocks = <&rcc I2C4_CK>;
355 lptimer2: timer@58002400 {
356 #address-cells = <1>;
358 compatible = "st,stm32-lptimer";
359 reg = <0x58002400 0x400>;
360 clocks = <&rcc LPTIM2_CK>;
365 compatible = "st,stm32-pwm-lp";
371 compatible = "st,stm32-lptimer-trigger";
377 compatible = "st,stm32-lptimer-counter";
382 lptimer3: timer@58002800 {
383 #address-cells = <1>;
385 compatible = "st,stm32-lptimer";
386 reg = <0x58002800 0x400>;
387 clocks = <&rcc LPTIM3_CK>;
392 compatible = "st,stm32-pwm-lp";
398 compatible = "st,stm32-lptimer-trigger";
404 lptimer4: timer@58002c00 {
405 #address-cells = <1>;
407 compatible = "st,stm32-lptimer";
408 reg = <0x58002c00 0x400>;
409 clocks = <&rcc LPTIM4_CK>;
414 compatible = "st,stm32-pwm-lp";
420 lptimer5: timer@58003000 {
421 #address-cells = <1>;
423 compatible = "st,stm32-lptimer";
424 reg = <0x58003000 0x400>;
425 clocks = <&rcc LPTIM5_CK>;
430 compatible = "st,stm32-pwm-lp";
436 vrefbuf: regulator@58003c00 {
437 compatible = "st,stm32-vrefbuf";
438 reg = <0x58003C00 0x8>;
439 clocks = <&rcc VREF_CK>;
440 regulator-min-microvolt = <1500000>;
441 regulator-max-microvolt = <2500000>;
446 compatible = "st,stm32h7-rtc";
447 reg = <0x58004000 0x400>;
448 clocks = <&rcc RTCAPB_CK>, <&rcc RTC_CK>;
449 clock-names = "pclk", "rtc_ck";
450 assigned-clocks = <&rcc RTC_CK>;
451 assigned-clock-parents = <&rcc LSE_CK>;
452 interrupt-parent = <&exti>;
453 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
454 interrupt-names = "alarm";
455 st,syscfg = <&pwrcfg 0x00 0x100>;
459 rcc: reset-clock-controller@58024400 {
460 compatible = "st,stm32h743-rcc", "st,stm32-rcc";
461 reg = <0x58024400 0x400>;
464 clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>;
465 st,syscfg = <&pwrcfg>;
468 pwrcfg: power-config@58024800 {
469 compatible = "syscon";
470 reg = <0x58024800 0x400>;
473 adc_3: adc@58026000 {
474 compatible = "st,stm32h7-adc-core";
475 reg = <0x58026000 0x400>;
477 clocks = <&rcc ADC3_CK>;
479 interrupt-controller;
480 #interrupt-cells = <1>;
481 #address-cells = <1>;
486 compatible = "st,stm32h7-adc";
487 #io-channel-cells = <1>;
489 interrupt-parent = <&adc_3>;
495 mac: ethernet@40028000 {
496 compatible = "st,stm32-dwmac", "snps,dwmac-4.10a";
497 reg = <0x40028000 0x8000>;
498 reg-names = "stmmaceth";
500 interrupt-names = "macirq";
501 clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
502 clocks = <&rcc ETH1MAC_CK>, <&rcc ETH1TX_CK>, <&rcc ETH1RX_CK>;
503 st,syscon = <&syscfg 0x4>;
511 clock-frequency = <250000000>;