1 // SPDX-License-Identifier: GPL-2.0+ OR X11
3 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
7 #include "armv7-m.dtsi"
8 #include <dt-bindings/clock/stm32fx-clock.h>
9 #include <dt-bindings/mfd/stm32f7-rcc.h>
18 compatible = "fixed-clock";
19 clock-frequency = <0>;
24 compatible = "fixed-clock";
25 clock-frequency = <32768>;
30 compatible = "fixed-clock";
31 clock-frequency = <32000>;
34 clk_i2s_ckin: clk-i2s-ckin {
36 compatible = "fixed-clock";
37 clock-frequency = <48000000>;
42 timers2: timers@40000000 {
45 compatible = "st,stm32-timers";
46 reg = <0x40000000 0x400>;
47 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM2)>;
52 compatible = "st,stm32-pwm";
58 compatible = "st,stm32-timer-trigger";
64 timers3: timers@40000400 {
67 compatible = "st,stm32-timers";
68 reg = <0x40000400 0x400>;
69 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM3)>;
74 compatible = "st,stm32-pwm";
80 compatible = "st,stm32-timer-trigger";
86 timers4: timers@40000800 {
89 compatible = "st,stm32-timers";
90 reg = <0x40000800 0x400>;
91 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM4)>;
96 compatible = "st,stm32-pwm";
102 compatible = "st,stm32-timer-trigger";
108 timers5: timers@40000c00 {
109 #address-cells = <1>;
111 compatible = "st,stm32-timers";
112 reg = <0x40000C00 0x400>;
113 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM5)>;
118 compatible = "st,stm32-pwm";
124 compatible = "st,stm32-timer-trigger";
130 timers6: timers@40001000 {
131 #address-cells = <1>;
133 compatible = "st,stm32-timers";
134 reg = <0x40001000 0x400>;
135 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM6)>;
140 compatible = "st,stm32-timer-trigger";
146 timers7: timers@40001400 {
147 #address-cells = <1>;
149 compatible = "st,stm32-timers";
150 reg = <0x40001400 0x400>;
151 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM7)>;
156 compatible = "st,stm32-timer-trigger";
162 timers12: timers@40001800 {
163 #address-cells = <1>;
165 compatible = "st,stm32-timers";
166 reg = <0x40001800 0x400>;
167 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM12)>;
172 compatible = "st,stm32-pwm";
178 compatible = "st,stm32-timer-trigger";
184 timers13: timers@40001c00 {
185 compatible = "st,stm32-timers";
186 reg = <0x40001C00 0x400>;
187 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM13)>;
192 compatible = "st,stm32-pwm";
198 timers14: timers@40002000 {
199 compatible = "st,stm32-timers";
200 reg = <0x40002000 0x400>;
201 clocks = <&rcc 0 STM32F7_APB1_CLOCK(TIM14)>;
206 compatible = "st,stm32-pwm";
213 compatible = "st,stm32-rtc";
214 reg = <0x40002800 0x400>;
215 clocks = <&rcc 1 CLK_RTC>;
216 assigned-clocks = <&rcc 1 CLK_RTC>;
217 assigned-clock-parents = <&rcc 1 CLK_LSE>;
218 interrupt-parent = <&exti>;
220 st,syscfg = <&pwrcfg 0x00 0x100>;
224 usart2: serial@40004400 {
225 compatible = "st,stm32f7-uart";
226 reg = <0x40004400 0x400>;
228 clocks = <&rcc 1 CLK_USART2>;
232 usart3: serial@40004800 {
233 compatible = "st,stm32f7-uart";
234 reg = <0x40004800 0x400>;
236 clocks = <&rcc 1 CLK_USART3>;
240 usart4: serial@40004c00 {
241 compatible = "st,stm32f7-uart";
242 reg = <0x40004c00 0x400>;
244 clocks = <&rcc 1 CLK_UART4>;
248 usart5: serial@40005000 {
249 compatible = "st,stm32f7-uart";
250 reg = <0x40005000 0x400>;
252 clocks = <&rcc 1 CLK_UART5>;
257 compatible = "st,stm32f7-i2c";
258 reg = <0x40005400 0x400>;
261 resets = <&rcc STM32F7_APB1_RESET(I2C1)>;
262 clocks = <&rcc 1 CLK_I2C1>;
263 #address-cells = <1>;
269 compatible = "st,stm32f7-i2c";
270 reg = <0x40005800 0x400>;
273 resets = <&rcc STM32F7_APB1_RESET(I2C2)>;
274 clocks = <&rcc 1 CLK_I2C2>;
275 #address-cells = <1>;
281 compatible = "st,stm32f7-i2c";
282 reg = <0x40005c00 0x400>;
285 resets = <&rcc STM32F7_APB1_RESET(I2C3)>;
286 clocks = <&rcc 1 CLK_I2C3>;
287 #address-cells = <1>;
293 compatible = "st,stm32f7-i2c";
294 reg = <0x40006000 0x400>;
297 resets = <&rcc STM32F7_APB1_RESET(I2C4)>;
298 clocks = <&rcc 1 CLK_I2C4>;
299 #address-cells = <1>;
305 compatible = "st,stm32-cec";
306 reg = <0x40006C00 0x400>;
308 clocks = <&rcc 0 STM32F7_APB1_CLOCK(CEC)>, <&rcc 1 CLK_HDMI_CEC>;
309 clock-names = "cec", "hdmi-cec";
313 usart7: serial@40007800 {
314 compatible = "st,stm32f7-uart";
315 reg = <0x40007800 0x400>;
317 clocks = <&rcc 1 CLK_UART7>;
321 usart8: serial@40007c00 {
322 compatible = "st,stm32f7-uart";
323 reg = <0x40007c00 0x400>;
325 clocks = <&rcc 1 CLK_UART8>;
329 timers1: timers@40010000 {
330 #address-cells = <1>;
332 compatible = "st,stm32-timers";
333 reg = <0x40010000 0x400>;
334 clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM1)>;
339 compatible = "st,stm32-pwm";
345 compatible = "st,stm32-timer-trigger";
351 timers8: timers@40010400 {
352 #address-cells = <1>;
354 compatible = "st,stm32-timers";
355 reg = <0x40010400 0x400>;
356 clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM8)>;
361 compatible = "st,stm32-pwm";
367 compatible = "st,stm32-timer-trigger";
373 usart1: serial@40011000 {
374 compatible = "st,stm32f7-uart";
375 reg = <0x40011000 0x400>;
377 clocks = <&rcc 1 CLK_USART1>;
381 usart6: serial@40011400 {
382 compatible = "st,stm32f7-uart";
383 reg = <0x40011400 0x400>;
385 clocks = <&rcc 1 CLK_USART6>;
389 sdio2: mmc@40011c00 {
390 compatible = "arm,pl180", "arm,primecell";
391 arm,primecell-periphid = <0x00880180>;
392 reg = <0x40011c00 0x400>;
393 clocks = <&rcc 0 STM32F7_APB2_CLOCK(SDMMC2)>;
394 clock-names = "apb_pclk";
396 max-frequency = <48000000>;
400 sdio1: mmc@40012c00 {
401 compatible = "arm,pl180", "arm,primecell";
402 arm,primecell-periphid = <0x00880180>;
403 reg = <0x40012c00 0x400>;
404 clocks = <&rcc 0 STM32F7_APB2_CLOCK(SDMMC1)>;
405 clock-names = "apb_pclk";
407 max-frequency = <48000000>;
411 syscfg: syscon@40013800 {
412 compatible = "st,stm32-syscfg", "syscon";
413 reg = <0x40013800 0x400>;
416 exti: interrupt-controller@40013c00 {
417 compatible = "st,stm32-exti";
418 interrupt-controller;
419 #interrupt-cells = <2>;
420 reg = <0x40013C00 0x400>;
421 interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>;
424 timers9: timers@40014000 {
425 #address-cells = <1>;
427 compatible = "st,stm32-timers";
428 reg = <0x40014000 0x400>;
429 clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM9)>;
434 compatible = "st,stm32-pwm";
440 compatible = "st,stm32-timer-trigger";
446 timers10: timers@40014400 {
447 compatible = "st,stm32-timers";
448 reg = <0x40014400 0x400>;
449 clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM10)>;
454 compatible = "st,stm32-pwm";
460 timers11: timers@40014800 {
461 compatible = "st,stm32-timers";
462 reg = <0x40014800 0x400>;
463 clocks = <&rcc 0 STM32F7_APB2_CLOCK(TIM11)>;
468 compatible = "st,stm32-pwm";
474 pwrcfg: power-config@40007000 {
475 compatible = "st,stm32-power-config", "syscon";
476 reg = <0x40007000 0x400>;
480 compatible = "st,stm32f7-crc";
481 reg = <0x40023000 0x400>;
482 clocks = <&rcc 0 12>;
489 compatible = "st,stm32f746-rcc", "st,stm32-rcc";
490 reg = <0x40023800 0x400>;
491 clocks = <&clk_hse>, <&clk_i2s_ckin>;
492 st,syscfg = <&pwrcfg>;
493 assigned-clocks = <&rcc 1 CLK_HSE_RTC>;
494 assigned-clock-rates = <1000000>;
497 dma1: dma-controller@40026000 {
498 compatible = "st,stm32-dma";
499 reg = <0x40026000 0x400>;
508 clocks = <&rcc 0 STM32F7_AHB1_CLOCK(DMA1)>;
513 dma2: dma-controller@40026400 {
514 compatible = "st,stm32-dma";
515 reg = <0x40026400 0x400>;
524 clocks = <&rcc 0 STM32F7_AHB1_CLOCK(DMA2)>;
530 usbotg_hs: usb@40040000 {
531 compatible = "st,stm32f7-hsotg";
532 reg = <0x40040000 0x40000>;
534 clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHS)>;
536 g-rx-fifo-size = <256>;
537 g-np-tx-fifo-size = <32>;
538 g-tx-fifo-size = <128 128 64 64 64 64 32 32>;
542 usbotg_fs: usb@50000000 {
543 compatible = "st,stm32f4x9-fsotg";
544 reg = <0x50000000 0x40000>;
546 clocks = <&rcc 0 STM32F7_AHB2_CLOCK(OTGFS)>;