2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.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/pinctrl/stm32f746-pinfunc.h>
51 compatible = "fixed-clock";
52 clock-frequency = <0>;
57 timer2: timer@40000000 {
58 compatible = "st,stm32-timer";
59 reg = <0x40000000 0x400>;
61 clocks = <&rcc 0 128>;
65 timer3: timer@40000400 {
66 compatible = "st,stm32-timer";
67 reg = <0x40000400 0x400>;
69 clocks = <&rcc 0 129>;
73 timer4: timer@40000800 {
74 compatible = "st,stm32-timer";
75 reg = <0x40000800 0x400>;
77 clocks = <&rcc 0 130>;
81 timer5: timer@40000c00 {
82 compatible = "st,stm32-timer";
83 reg = <0x40000c00 0x400>;
85 clocks = <&rcc 0 131>;
88 timer6: timer@40001000 {
89 compatible = "st,stm32-timer";
90 reg = <0x40001000 0x400>;
92 clocks = <&rcc 0 132>;
96 timer7: timer@40001400 {
97 compatible = "st,stm32-timer";
98 reg = <0x40001400 0x400>;
100 clocks = <&rcc 0 133>;
104 usart2: serial@40004400 {
105 compatible = "st,stm32f7-usart", "st,stm32f7-uart";
106 reg = <0x40004400 0x400>;
108 clocks = <&rcc 0 145>;
112 usart3: serial@40004800 {
113 compatible = "st,stm32f7-usart", "st,stm32f7-uart";
114 reg = <0x40004800 0x400>;
116 clocks = <&rcc 0 146>;
120 usart4: serial@40004c00 {
121 compatible = "st,stm32f7-uart";
122 reg = <0x40004c00 0x400>;
124 clocks = <&rcc 0 147>;
128 usart5: serial@40005000 {
129 compatible = "st,stm32f7-uart";
130 reg = <0x40005000 0x400>;
132 clocks = <&rcc 0 148>;
136 usart7: serial@40007800 {
137 compatible = "st,stm32f7-usart", "st,stm32f7-uart";
138 reg = <0x40007800 0x400>;
140 clocks = <&rcc 0 158>;
144 usart8: serial@40007c00 {
145 compatible = "st,stm32f7-usart", "st,stm32f7-uart";
146 reg = <0x40007c00 0x400>;
148 clocks = <&rcc 0 159>;
152 usart1: serial@40011000 {
153 compatible = "st,stm32f7-usart", "st,stm32f7-uart";
154 reg = <0x40011000 0x400>;
156 clocks = <&rcc 0 164>;
160 usart6: serial@40011400 {
161 compatible = "st,stm32f7-usart", "st,stm32f7-uart";
162 reg = <0x40011400 0x400>;
164 clocks = <&rcc 0 165>;
168 syscfg: system-config@40013800 {
169 compatible = "syscon";
170 reg = <0x40013800 0x400>;
173 exti: interrupt-controller@40013c00 {
174 compatible = "st,stm32-exti";
175 interrupt-controller;
176 #interrupt-cells = <2>;
177 reg = <0x40013C00 0x400>;
178 interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>;
182 #address-cells = <1>;
184 compatible = "st,stm32f746-pinctrl";
185 ranges = <0 0x40020000 0x3000>;
186 interrupt-parent = <&exti>;
187 st,syscfg = <&syscfg 0x8>;
190 gpioa: gpio@40020000 {
194 clocks = <&rcc 0 256>;
195 st,bank-name = "GPIOA";
198 gpiob: gpio@40020400 {
202 clocks = <&rcc 0 257>;
203 st,bank-name = "GPIOB";
206 gpioc: gpio@40020800 {
210 clocks = <&rcc 0 258>;
211 st,bank-name = "GPIOC";
214 gpiod: gpio@40020c00 {
218 clocks = <&rcc 0 259>;
219 st,bank-name = "GPIOD";
222 gpioe: gpio@40021000 {
225 reg = <0x1000 0x400>;
226 clocks = <&rcc 0 260>;
227 st,bank-name = "GPIOE";
230 gpiof: gpio@40021400 {
233 reg = <0x1400 0x400>;
234 clocks = <&rcc 0 261>;
235 st,bank-name = "GPIOF";
238 gpiog: gpio@40021800 {
241 reg = <0x1800 0x400>;
242 clocks = <&rcc 0 262>;
243 st,bank-name = "GPIOG";
246 gpioh: gpio@40021c00 {
249 reg = <0x1c00 0x400>;
250 clocks = <&rcc 0 263>;
251 st,bank-name = "GPIOH";
254 gpioi: gpio@40022000 {
257 reg = <0x2000 0x400>;
258 clocks = <&rcc 0 264>;
259 st,bank-name = "GPIOI";
262 gpioj: gpio@40022400 {
265 reg = <0x2400 0x400>;
266 clocks = <&rcc 0 265>;
267 st,bank-name = "GPIOJ";
270 gpiok: gpio@40022800 {
273 reg = <0x2800 0x400>;
274 clocks = <&rcc 0 266>;
275 st,bank-name = "GPIOK";
278 usart1_pins_a: usart1@0 {
280 pinmux = <STM32F746_PA9_FUNC_USART1_TX>;
286 pinmux = <STM32F746_PA10_FUNC_USART1_RX>;
294 compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
295 reg = <0x40023800 0x400>;