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.
19 * You should have received a copy of the GNU General Public
20 * License along with this file; if not, write to the Free
21 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
26 * b) Permission is hereby granted, free of charge, to any person
27 * obtaining a copy of this software and associated documentation
28 * files (the "Software"), to deal in the Software without
29 * restriction, including without limitation the rights to use,
30 * copy, modify, merge, publish, distribute, sublicense, and/or
31 * sell copies of the Software, and to permit persons to whom the
32 * Software is furnished to do so, subject to the following
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45 * OTHER DEALINGS IN THE SOFTWARE.
48 #include "armv7-m.dtsi"
54 compatible = "fixed-clock";
55 clock-frequency = <0>;
60 timer2: timer@40000000 {
61 compatible = "st,stm32-timer";
62 reg = <0x40000000 0x400>;
64 clocks = <&rcc 0 128>;
68 timer3: timer@40000400 {
69 compatible = "st,stm32-timer";
70 reg = <0x40000400 0x400>;
72 clocks = <&rcc 0 129>;
76 timer4: timer@40000800 {
77 compatible = "st,stm32-timer";
78 reg = <0x40000800 0x400>;
80 clocks = <&rcc 0 130>;
84 timer5: timer@40000c00 {
85 compatible = "st,stm32-timer";
86 reg = <0x40000c00 0x400>;
88 clocks = <&rcc 0 131>;
91 timer6: timer@40001000 {
92 compatible = "st,stm32-timer";
93 reg = <0x40001000 0x400>;
95 clocks = <&rcc 0 132>;
99 timer7: timer@40001400 {
100 compatible = "st,stm32-timer";
101 reg = <0x40001400 0x400>;
103 clocks = <&rcc 0 133>;
107 usart2: serial@40004400 {
108 compatible = "st,stm32-usart", "st,stm32-uart";
109 reg = <0x40004400 0x400>;
111 clocks = <&rcc 0 145>;
115 usart3: serial@40004800 {
116 compatible = "st,stm32-usart", "st,stm32-uart";
117 reg = <0x40004800 0x400>;
119 clocks = <&rcc 0 146>;
123 usart4: serial@40004c00 {
124 compatible = "st,stm32-uart";
125 reg = <0x40004c00 0x400>;
127 clocks = <&rcc 0 147>;
131 usart5: serial@40005000 {
132 compatible = "st,stm32-uart";
133 reg = <0x40005000 0x400>;
135 clocks = <&rcc 0 148>;
139 usart7: serial@40007800 {
140 compatible = "st,stm32-usart", "st,stm32-uart";
141 reg = <0x40007800 0x400>;
143 clocks = <&rcc 0 158>;
147 usart8: serial@40007c00 {
148 compatible = "st,stm32-usart", "st,stm32-uart";
149 reg = <0x40007c00 0x400>;
151 clocks = <&rcc 0 159>;
155 usart1: serial@40011000 {
156 compatible = "st,stm32-usart", "st,stm32-uart";
157 reg = <0x40011000 0x400>;
159 clocks = <&rcc 0 164>;
163 usart6: serial@40011400 {
164 compatible = "st,stm32-usart", "st,stm32-uart";
165 reg = <0x40011400 0x400>;
167 clocks = <&rcc 0 165>;
173 compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
174 reg = <0x40023800 0x400>;
179 compatible = "st,stm32-rng";
180 reg = <0x50060800 0x400>;
182 clocks = <&rcc 0 38>;