2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
43 #include "skeleton.dtsi"
44 #include "armv7-m.dtsi"
45 #include <dt-bindings/clock/stm32h7-clks.h>
46 #include <dt-bindings/mfd/stm32h7-rcc.h>
52 compatible = "fixed-clock";
53 clock-frequency = <25000000>;
58 compatible = "fixed-clock";
59 clock-frequency = <32768>;
64 compatible = "fixed-clock";
65 clock-frequency = <0>;
73 compatible = "st,stm32h743-rcc", "st,stm32-rcc";
74 reg = <0x58024400 0x400>;
75 clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>, <&clk_hsi>, <&clk_csi>;
76 st,syscfg = <&pwrcfg>;
79 usart1: serial@40011000 {
80 compatible = "st,stm32h7-uart";
81 reg = <0x40011000 0x400>;
84 clocks = <&rcc USART1_CK>;
87 usart2: serial@40004400 {
88 compatible = "st,stm32h7-uart";
89 reg = <0x40004400 0x400>;
92 clocks = <&rcc USART2_CK>;
95 timer5: timer@40000c00 {
96 compatible = "st,stm32-timer";
97 reg = <0x40000c00 0x400>;
99 clocks = <&rcc TIM5_CK>;
102 pwrcfg: power-config@58024800 {
103 compatible = "syscon";
104 reg = <0x58024800 0x400>;
108 compatible = "st,stm32h7-fmc";
109 reg = <0x52004000 0x1000>;
110 clocks = <&rcc FMC_CK>;
115 compatible = "fixed-clock";
116 clock-frequency = <64000000>;
121 compatible = "fixed-clock";
122 clock-frequency = <4000000>;
125 sdmmc1: sdmmc@52007000 {
126 compatible = "st,stm32-sdmmc2";
127 reg = <0x52007000 0x1000>;
129 clocks = <&rcc SDMMC1_CK>;
130 resets = <&rcc STM32H7_AHB3_RESET(SDMMC1)>;
140 clock-frequency = <250000000>;