Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> |
| 3 | * |
| 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 |
| 7 | * whole. |
| 8 | * |
| 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. |
| 13 | * |
| 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. |
| 18 | * |
| 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, |
| 22 | * MA 02110-1301 USA |
| 23 | * |
| 24 | * Or, alternatively, |
| 25 | * |
| 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 |
| 33 | * conditions: |
| 34 | * |
| 35 | * The above copyright notice and this permission notice shall be |
| 36 | * included in all copies or substantial portions of the Software. |
| 37 | * |
| 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. |
| 46 | */ |
| 47 | |
Joachim Eastwood | 05b23eb | 2016-08-29 23:33:56 +0200 | [diff] [blame] | 48 | #include "skeleton.dtsi" |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 49 | #include "armv7-m.dtsi" |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 50 | #include <dt-bindings/pinctrl/stm32f429-pinfunc.h> |
Gabriel Fernandez | 2da751b | 2016-12-13 15:20:00 +0100 | [diff] [blame] | 51 | #include <dt-bindings/clock/stm32fx-clock.h> |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 52 | #include <dt-bindings/mfd/stm32f4-rcc.h> |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 53 | |
| 54 | / { |
| 55 | clocks { |
Daniel Thompson | 9dc24a2 | 2015-06-10 22:09:00 +0200 | [diff] [blame] | 56 | clk_hse: clk-hse { |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 57 | #clock-cells = <0>; |
| 58 | compatible = "fixed-clock"; |
Daniel Thompson | 9dc24a2 | 2015-06-10 22:09:00 +0200 | [diff] [blame] | 59 | clock-frequency = <0>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 60 | }; |
Gabriel Fernandez | f6dbbff | 2016-10-14 11:18:00 +0200 | [diff] [blame] | 61 | |
| 62 | clk-lse { |
| 63 | #clock-cells = <0>; |
| 64 | compatible = "fixed-clock"; |
| 65 | clock-frequency = <32768>; |
| 66 | }; |
| 67 | |
Yannick Fertre | e89960c | 2017-04-06 14:19:00 +0200 | [diff] [blame] | 68 | clk_lsi: clk-lsi { |
Gabriel Fernandez | f6dbbff | 2016-10-14 11:18:00 +0200 | [diff] [blame] | 69 | #clock-cells = <0>; |
| 70 | compatible = "fixed-clock"; |
| 71 | clock-frequency = <32000>; |
| 72 | }; |
Gabriel Fernandez | 305b049 | 2016-12-13 15:20:00 +0100 | [diff] [blame] | 73 | |
| 74 | clk_i2s_ckin: i2s-ckin { |
| 75 | #clock-cells = <0>; |
| 76 | compatible = "fixed-clock"; |
| 77 | clock-frequency = <0>; |
| 78 | }; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 79 | }; |
| 80 | |
| 81 | soc { |
| 82 | timer2: timer@40000000 { |
| 83 | compatible = "st,stm32-timer"; |
| 84 | reg = <0x40000000 0x400>; |
| 85 | interrupts = <28>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 86 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM2)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 87 | status = "disabled"; |
| 88 | }; |
| 89 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 90 | timers2: timers@40000000 { |
| 91 | #address-cells = <1>; |
| 92 | #size-cells = <0>; |
| 93 | compatible = "st,stm32-timers"; |
| 94 | reg = <0x40000000 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 95 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM2)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 96 | clock-names = "int"; |
| 97 | status = "disabled"; |
| 98 | |
| 99 | pwm { |
| 100 | compatible = "st,stm32-pwm"; |
| 101 | status = "disabled"; |
| 102 | }; |
| 103 | |
| 104 | timer@1 { |
| 105 | compatible = "st,stm32-timer-trigger"; |
| 106 | reg = <1>; |
| 107 | status = "disabled"; |
| 108 | }; |
| 109 | }; |
| 110 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 111 | timer3: timer@40000400 { |
| 112 | compatible = "st,stm32-timer"; |
| 113 | reg = <0x40000400 0x400>; |
| 114 | interrupts = <29>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 115 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM3)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 116 | status = "disabled"; |
| 117 | }; |
| 118 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 119 | timers3: timers@40000400 { |
| 120 | #address-cells = <1>; |
| 121 | #size-cells = <0>; |
| 122 | compatible = "st,stm32-timers"; |
| 123 | reg = <0x40000400 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 124 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM3)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 125 | clock-names = "int"; |
| 126 | status = "disabled"; |
| 127 | |
| 128 | pwm { |
| 129 | compatible = "st,stm32-pwm"; |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | timer@2 { |
| 134 | compatible = "st,stm32-timer-trigger"; |
| 135 | reg = <2>; |
| 136 | status = "disabled"; |
| 137 | }; |
| 138 | }; |
| 139 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 140 | timer4: timer@40000800 { |
| 141 | compatible = "st,stm32-timer"; |
| 142 | reg = <0x40000800 0x400>; |
| 143 | interrupts = <30>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 144 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM4)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 145 | status = "disabled"; |
| 146 | }; |
| 147 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 148 | timers4: timers@40000800 { |
| 149 | #address-cells = <1>; |
| 150 | #size-cells = <0>; |
| 151 | compatible = "st,stm32-timers"; |
| 152 | reg = <0x40000800 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 153 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM4)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 154 | clock-names = "int"; |
| 155 | status = "disabled"; |
| 156 | |
| 157 | pwm { |
| 158 | compatible = "st,stm32-pwm"; |
| 159 | status = "disabled"; |
| 160 | }; |
| 161 | |
| 162 | timer@3 { |
| 163 | compatible = "st,stm32-timer-trigger"; |
| 164 | reg = <3>; |
| 165 | status = "disabled"; |
| 166 | }; |
| 167 | }; |
| 168 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 169 | timer5: timer@40000c00 { |
| 170 | compatible = "st,stm32-timer"; |
| 171 | reg = <0x40000c00 0x400>; |
| 172 | interrupts = <50>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 173 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM5)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 174 | }; |
| 175 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 176 | timers5: timers@40000c00 { |
| 177 | #address-cells = <1>; |
| 178 | #size-cells = <0>; |
| 179 | compatible = "st,stm32-timers"; |
| 180 | reg = <0x40000C00 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 181 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM5)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 182 | clock-names = "int"; |
| 183 | status = "disabled"; |
| 184 | |
| 185 | pwm { |
| 186 | compatible = "st,stm32-pwm"; |
| 187 | status = "disabled"; |
| 188 | }; |
| 189 | |
| 190 | timer@4 { |
| 191 | compatible = "st,stm32-timer-trigger"; |
| 192 | reg = <4>; |
| 193 | status = "disabled"; |
| 194 | }; |
| 195 | }; |
| 196 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 197 | timer6: timer@40001000 { |
| 198 | compatible = "st,stm32-timer"; |
| 199 | reg = <0x40001000 0x400>; |
| 200 | interrupts = <54>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 201 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM6)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 202 | status = "disabled"; |
| 203 | }; |
| 204 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 205 | timers6: timers@40001000 { |
| 206 | #address-cells = <1>; |
| 207 | #size-cells = <0>; |
| 208 | compatible = "st,stm32-timers"; |
| 209 | reg = <0x40001000 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 210 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM6)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 211 | clock-names = "int"; |
| 212 | status = "disabled"; |
| 213 | |
| 214 | timer@5 { |
| 215 | compatible = "st,stm32-timer-trigger"; |
| 216 | reg = <5>; |
| 217 | status = "disabled"; |
| 218 | }; |
| 219 | }; |
| 220 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 221 | timer7: timer@40001400 { |
| 222 | compatible = "st,stm32-timer"; |
| 223 | reg = <0x40001400 0x400>; |
| 224 | interrupts = <55>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 225 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM7)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 226 | status = "disabled"; |
| 227 | }; |
| 228 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 229 | timers7: timers@40001400 { |
| 230 | #address-cells = <1>; |
| 231 | #size-cells = <0>; |
| 232 | compatible = "st,stm32-timers"; |
| 233 | reg = <0x40001400 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 234 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM7)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 235 | clock-names = "int"; |
| 236 | status = "disabled"; |
| 237 | |
| 238 | timer@6 { |
| 239 | compatible = "st,stm32-timer-trigger"; |
| 240 | reg = <6>; |
| 241 | status = "disabled"; |
| 242 | }; |
| 243 | }; |
| 244 | |
| 245 | timers12: timers@40001800 { |
| 246 | #address-cells = <1>; |
| 247 | #size-cells = <0>; |
| 248 | compatible = "st,stm32-timers"; |
| 249 | reg = <0x40001800 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 250 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM12)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 251 | clock-names = "int"; |
| 252 | status = "disabled"; |
| 253 | |
| 254 | pwm { |
| 255 | compatible = "st,stm32-pwm"; |
| 256 | status = "disabled"; |
| 257 | }; |
| 258 | |
| 259 | timer@11 { |
| 260 | compatible = "st,stm32-timer-trigger"; |
| 261 | reg = <11>; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | }; |
| 265 | |
| 266 | timers13: timers@40001c00 { |
| 267 | #address-cells = <1>; |
| 268 | #size-cells = <0>; |
| 269 | compatible = "st,stm32-timers"; |
| 270 | reg = <0x40001C00 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 271 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM13)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 272 | clock-names = "int"; |
| 273 | status = "disabled"; |
| 274 | |
| 275 | pwm { |
| 276 | compatible = "st,stm32-pwm"; |
| 277 | status = "disabled"; |
| 278 | }; |
| 279 | }; |
| 280 | |
| 281 | timers14: timers@40002000 { |
| 282 | #address-cells = <1>; |
| 283 | #size-cells = <0>; |
| 284 | compatible = "st,stm32-timers"; |
| 285 | reg = <0x40002000 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 286 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM14)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 287 | clock-names = "int"; |
| 288 | status = "disabled"; |
| 289 | |
| 290 | pwm { |
| 291 | compatible = "st,stm32-pwm"; |
| 292 | status = "disabled"; |
| 293 | }; |
| 294 | }; |
| 295 | |
Amelie Delaunay | 5e6ec1b | 2017-01-16 14:29:00 +0100 | [diff] [blame] | 296 | rtc: rtc@40002800 { |
| 297 | compatible = "st,stm32-rtc"; |
| 298 | reg = <0x40002800 0x400>; |
| 299 | clocks = <&rcc 1 CLK_RTC>; |
| 300 | clock-names = "ck_rtc"; |
| 301 | assigned-clocks = <&rcc 1 CLK_RTC>; |
| 302 | assigned-clock-parents = <&rcc 1 CLK_LSE>; |
| 303 | interrupt-parent = <&exti>; |
| 304 | interrupts = <17 1>; |
| 305 | interrupt-names = "alarm"; |
| 306 | st,syscfg = <&pwrcfg>; |
| 307 | status = "disabled"; |
| 308 | }; |
| 309 | |
Yannick Fertre | e89960c | 2017-04-06 14:19:00 +0200 | [diff] [blame] | 310 | iwdg: watchdog@40003000 { |
| 311 | compatible = "st,stm32-iwdg"; |
| 312 | reg = <0x40003000 0x400>; |
| 313 | clocks = <&clk_lsi>; |
| 314 | status = "disabled"; |
| 315 | }; |
| 316 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 317 | usart2: serial@40004400 { |
| 318 | compatible = "st,stm32-usart", "st,stm32-uart"; |
| 319 | reg = <0x40004400 0x400>; |
| 320 | interrupts = <38>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 321 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART2)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 322 | status = "disabled"; |
| 323 | }; |
| 324 | |
| 325 | usart3: serial@40004800 { |
| 326 | compatible = "st,stm32-usart", "st,stm32-uart"; |
| 327 | reg = <0x40004800 0x400>; |
| 328 | interrupts = <39>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 329 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART3)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 330 | status = "disabled"; |
Alexandre TORGUE | f113438 | 2016-10-24 15:22:43 +0200 | [diff] [blame] | 331 | dmas = <&dma1 1 4 0x400 0x0>, |
| 332 | <&dma1 3 4 0x400 0x0>; |
| 333 | dma-names = "rx", "tx"; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 334 | }; |
| 335 | |
| 336 | usart4: serial@40004c00 { |
| 337 | compatible = "st,stm32-uart"; |
| 338 | reg = <0x40004c00 0x400>; |
| 339 | interrupts = <52>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 340 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART4)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 341 | status = "disabled"; |
| 342 | }; |
| 343 | |
| 344 | usart5: serial@40005000 { |
| 345 | compatible = "st,stm32-uart"; |
| 346 | reg = <0x40005000 0x400>; |
| 347 | interrupts = <53>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 348 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART5)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 349 | status = "disabled"; |
| 350 | }; |
| 351 | |
M'boumba Cedric Madianga | 51576d3 | 2017-02-01 18:19:07 +0100 | [diff] [blame] | 352 | i2c1: i2c@40005400 { |
| 353 | compatible = "st,stm32f4-i2c"; |
| 354 | reg = <0x40005400 0x400>; |
| 355 | interrupts = <31>, |
| 356 | <32>; |
| 357 | resets = <&rcc STM32F4_APB1_RESET(I2C1)>; |
| 358 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(I2C1)>; |
| 359 | #address-cells = <1>; |
| 360 | #size-cells = <0>; |
| 361 | status = "disabled"; |
| 362 | }; |
| 363 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 364 | usart7: serial@40007800 { |
| 365 | compatible = "st,stm32-usart", "st,stm32-uart"; |
| 366 | reg = <0x40007800 0x400>; |
| 367 | interrupts = <82>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 368 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART7)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 369 | status = "disabled"; |
| 370 | }; |
| 371 | |
| 372 | usart8: serial@40007c00 { |
| 373 | compatible = "st,stm32-usart", "st,stm32-uart"; |
| 374 | reg = <0x40007c00 0x400>; |
| 375 | interrupts = <83>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 376 | clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART8)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 377 | status = "disabled"; |
| 378 | }; |
| 379 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 380 | timers1: timers@40010000 { |
| 381 | #address-cells = <1>; |
| 382 | #size-cells = <0>; |
| 383 | compatible = "st,stm32-timers"; |
| 384 | reg = <0x40010000 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 385 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM1)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 386 | clock-names = "int"; |
| 387 | status = "disabled"; |
| 388 | |
| 389 | pwm { |
| 390 | compatible = "st,stm32-pwm"; |
| 391 | status = "disabled"; |
| 392 | }; |
| 393 | |
| 394 | timer@0 { |
| 395 | compatible = "st,stm32-timer-trigger"; |
| 396 | reg = <0>; |
| 397 | status = "disabled"; |
| 398 | }; |
| 399 | }; |
| 400 | |
| 401 | timers8: timers@40010400 { |
| 402 | #address-cells = <1>; |
| 403 | #size-cells = <0>; |
| 404 | compatible = "st,stm32-timers"; |
| 405 | reg = <0x40010400 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 406 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM8)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 407 | clock-names = "int"; |
| 408 | status = "disabled"; |
| 409 | |
| 410 | pwm { |
| 411 | compatible = "st,stm32-pwm"; |
| 412 | status = "disabled"; |
| 413 | }; |
| 414 | |
| 415 | timer@7 { |
| 416 | compatible = "st,stm32-timer-trigger"; |
| 417 | reg = <7>; |
| 418 | status = "disabled"; |
| 419 | }; |
| 420 | }; |
| 421 | |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 422 | usart1: serial@40011000 { |
| 423 | compatible = "st,stm32-usart", "st,stm32-uart"; |
| 424 | reg = <0x40011000 0x400>; |
| 425 | interrupts = <37>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 426 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART1)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 427 | status = "disabled"; |
Gerald Baeza | 73767f1 | 2016-11-03 15:08:43 +0100 | [diff] [blame] | 428 | dmas = <&dma2 2 4 0x400 0x0>, |
| 429 | <&dma2 7 4 0x400 0x0>; |
| 430 | dma-names = "rx", "tx"; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 431 | }; |
| 432 | |
| 433 | usart6: serial@40011400 { |
| 434 | compatible = "st,stm32-usart", "st,stm32-uart"; |
| 435 | reg = <0x40011400 0x400>; |
| 436 | interrupts = <71>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 437 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART6)>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 438 | status = "disabled"; |
| 439 | }; |
Daniel Thompson | 9dc24a2 | 2015-06-10 22:09:00 +0200 | [diff] [blame] | 440 | |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 441 | adc: adc@40012000 { |
| 442 | compatible = "st,stm32f4-adc-core"; |
| 443 | reg = <0x40012000 0x400>; |
| 444 | interrupts = <18>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 445 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 446 | clock-names = "adc"; |
| 447 | interrupt-controller; |
| 448 | #interrupt-cells = <1>; |
| 449 | #address-cells = <1>; |
| 450 | #size-cells = <0>; |
| 451 | status = "disabled"; |
| 452 | |
| 453 | adc1: adc@0 { |
| 454 | compatible = "st,stm32f4-adc"; |
| 455 | #io-channel-cells = <1>; |
| 456 | reg = <0x0>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 457 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 458 | interrupt-parent = <&adc>; |
| 459 | interrupts = <0>; |
Fabrice Gasnier | bcd9b43 | 2017-03-23 18:14:58 +0100 | [diff] [blame] | 460 | dmas = <&dma2 0 0 0x400 0x0>; |
| 461 | dma-names = "rx"; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 462 | status = "disabled"; |
| 463 | }; |
| 464 | |
| 465 | adc2: adc@100 { |
| 466 | compatible = "st,stm32f4-adc"; |
| 467 | #io-channel-cells = <1>; |
| 468 | reg = <0x100>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 469 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC2)>; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 470 | interrupt-parent = <&adc>; |
| 471 | interrupts = <1>; |
Fabrice Gasnier | bcd9b43 | 2017-03-23 18:14:58 +0100 | [diff] [blame] | 472 | dmas = <&dma2 3 1 0x400 0x0>; |
| 473 | dma-names = "rx"; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 474 | status = "disabled"; |
| 475 | }; |
| 476 | |
| 477 | adc3: adc@200 { |
| 478 | compatible = "st,stm32f4-adc"; |
| 479 | #io-channel-cells = <1>; |
| 480 | reg = <0x200>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 481 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC3)>; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 482 | interrupt-parent = <&adc>; |
| 483 | interrupts = <2>; |
Fabrice Gasnier | bcd9b43 | 2017-03-23 18:14:58 +0100 | [diff] [blame] | 484 | dmas = <&dma2 1 2 0x400 0x0>; |
| 485 | dma-names = "rx"; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 486 | status = "disabled"; |
| 487 | }; |
| 488 | }; |
| 489 | |
Alexandre TORGUE | e78b655 | 2016-02-29 17:29:00 +0100 | [diff] [blame] | 490 | syscfg: system-config@40013800 { |
| 491 | compatible = "syscon"; |
| 492 | reg = <0x40013800 0x400>; |
| 493 | }; |
| 494 | |
Alexandre TORGUE | 5a79d59 | 2016-09-20 18:00:59 +0200 | [diff] [blame] | 495 | exti: interrupt-controller@40013c00 { |
| 496 | compatible = "st,stm32-exti"; |
| 497 | interrupt-controller; |
| 498 | #interrupt-cells = <2>; |
| 499 | reg = <0x40013C00 0x400>; |
| 500 | interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>; |
| 501 | }; |
| 502 | |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 503 | timers9: timers@40014000 { |
| 504 | #address-cells = <1>; |
| 505 | #size-cells = <0>; |
| 506 | compatible = "st,stm32-timers"; |
| 507 | reg = <0x40014000 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 508 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM9)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 509 | clock-names = "int"; |
| 510 | status = "disabled"; |
| 511 | |
| 512 | pwm { |
| 513 | compatible = "st,stm32-pwm"; |
| 514 | status = "disabled"; |
| 515 | }; |
| 516 | |
| 517 | timer@8 { |
| 518 | compatible = "st,stm32-timer-trigger"; |
| 519 | reg = <8>; |
| 520 | status = "disabled"; |
| 521 | }; |
| 522 | }; |
| 523 | |
| 524 | timers10: timers@40014400 { |
| 525 | #address-cells = <1>; |
| 526 | #size-cells = <0>; |
| 527 | compatible = "st,stm32-timers"; |
| 528 | reg = <0x40014400 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 529 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM10)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 530 | clock-names = "int"; |
| 531 | status = "disabled"; |
| 532 | |
| 533 | pwm { |
| 534 | compatible = "st,stm32-pwm"; |
| 535 | status = "disabled"; |
| 536 | }; |
| 537 | }; |
| 538 | |
| 539 | timers11: timers@40014800 { |
| 540 | #address-cells = <1>; |
| 541 | #size-cells = <0>; |
| 542 | compatible = "st,stm32-timers"; |
| 543 | reg = <0x40014800 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 544 | clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM11)>; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 545 | clock-names = "int"; |
| 546 | status = "disabled"; |
| 547 | |
| 548 | pwm { |
| 549 | compatible = "st,stm32-pwm"; |
| 550 | status = "disabled"; |
| 551 | }; |
| 552 | }; |
| 553 | |
Gabriel Fernandez | f6dbbff | 2016-10-14 11:18:00 +0200 | [diff] [blame] | 554 | pwrcfg: power-config@40007000 { |
| 555 | compatible = "syscon"; |
| 556 | reg = <0x40007000 0x400>; |
| 557 | }; |
| 558 | |
Yannick Fertre | bcb4909 | 2017-06-07 14:58:10 +0200 | [diff] [blame] | 559 | ltdc: display-controller@40016800 { |
| 560 | compatible = "st,stm32-ltdc"; |
| 561 | reg = <0x40016800 0x200>; |
| 562 | interrupts = <88>, <89>; |
| 563 | resets = <&rcc STM32F4_APB2_RESET(LTDC)>; |
| 564 | clocks = <&rcc 1 CLK_LCD>; |
| 565 | clock-names = "lcd"; |
| 566 | status = "disabled"; |
| 567 | }; |
| 568 | |
| 569 | pinctrl: pin-controller { |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 570 | #address-cells = <1>; |
| 571 | #size-cells = <1>; |
| 572 | compatible = "st,stm32f429-pinctrl"; |
| 573 | ranges = <0 0x40020000 0x3000>; |
Maxime Coquelin | ed01154 | 2016-11-04 15:06:55 +0100 | [diff] [blame] | 574 | interrupt-parent = <&exti>; |
| 575 | st,syscfg = <&syscfg 0x8>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 576 | pins-are-numbered; |
| 577 | |
| 578 | gpioa: gpio@40020000 { |
| 579 | gpio-controller; |
| 580 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 581 | interrupt-controller; |
| 582 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 583 | reg = <0x0 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 584 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOA)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 585 | st,bank-name = "GPIOA"; |
| 586 | }; |
| 587 | |
| 588 | gpiob: gpio@40020400 { |
| 589 | gpio-controller; |
| 590 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 591 | interrupt-controller; |
| 592 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 593 | reg = <0x400 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 594 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOB)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 595 | st,bank-name = "GPIOB"; |
| 596 | }; |
| 597 | |
| 598 | gpioc: gpio@40020800 { |
| 599 | gpio-controller; |
| 600 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 601 | interrupt-controller; |
| 602 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 603 | reg = <0x800 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 604 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOC)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 605 | st,bank-name = "GPIOC"; |
| 606 | }; |
| 607 | |
| 608 | gpiod: gpio@40020c00 { |
| 609 | gpio-controller; |
| 610 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 611 | interrupt-controller; |
| 612 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 613 | reg = <0xc00 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 614 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOD)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 615 | st,bank-name = "GPIOD"; |
| 616 | }; |
| 617 | |
| 618 | gpioe: gpio@40021000 { |
| 619 | gpio-controller; |
| 620 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 621 | interrupt-controller; |
| 622 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 623 | reg = <0x1000 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 624 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOE)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 625 | st,bank-name = "GPIOE"; |
| 626 | }; |
| 627 | |
| 628 | gpiof: gpio@40021400 { |
| 629 | gpio-controller; |
| 630 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 631 | interrupt-controller; |
| 632 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 633 | reg = <0x1400 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 634 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOF)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 635 | st,bank-name = "GPIOF"; |
| 636 | }; |
| 637 | |
| 638 | gpiog: gpio@40021800 { |
| 639 | gpio-controller; |
| 640 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 641 | interrupt-controller; |
| 642 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 643 | reg = <0x1800 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 644 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOG)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 645 | st,bank-name = "GPIOG"; |
| 646 | }; |
| 647 | |
| 648 | gpioh: gpio@40021c00 { |
| 649 | gpio-controller; |
| 650 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 651 | interrupt-controller; |
| 652 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 653 | reg = <0x1c00 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 654 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOH)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 655 | st,bank-name = "GPIOH"; |
| 656 | }; |
| 657 | |
| 658 | gpioi: gpio@40022000 { |
| 659 | gpio-controller; |
| 660 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 661 | interrupt-controller; |
| 662 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 663 | reg = <0x2000 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 664 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOI)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 665 | st,bank-name = "GPIOI"; |
| 666 | }; |
| 667 | |
| 668 | gpioj: gpio@40022400 { |
| 669 | gpio-controller; |
| 670 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 671 | interrupt-controller; |
| 672 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 673 | reg = <0x2400 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 674 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOJ)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 675 | st,bank-name = "GPIOJ"; |
| 676 | }; |
| 677 | |
| 678 | gpiok: gpio@40022800 { |
| 679 | gpio-controller; |
| 680 | #gpio-cells = <2>; |
Alexandre TORGUE | 5489d5d | 2017-06-07 16:41:36 +0200 | [diff] [blame] | 681 | interrupt-controller; |
| 682 | #interrupt-cells = <2>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 683 | reg = <0x2800 0x400>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 684 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOK)>; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 685 | st,bank-name = "GPIOK"; |
| 686 | }; |
Maxime Coquelin | 521df6f | 2015-10-14 18:15:04 +0200 | [diff] [blame] | 687 | |
| 688 | usart1_pins_a: usart1@0 { |
| 689 | pins1 { |
| 690 | pinmux = <STM32F429_PA9_FUNC_USART1_TX>; |
| 691 | bias-disable; |
| 692 | drive-push-pull; |
| 693 | slew-rate = <0>; |
| 694 | }; |
| 695 | pins2 { |
| 696 | pinmux = <STM32F429_PA10_FUNC_USART1_RX>; |
| 697 | bias-disable; |
| 698 | }; |
| 699 | }; |
Maxime Coquelin | c8cc1b7 | 2016-02-23 17:11:42 +0100 | [diff] [blame] | 700 | |
Bruno Meirelles Herrera | 872c87f | 2016-11-18 16:10:00 +0100 | [diff] [blame] | 701 | usart3_pins_a: usart3@0 { |
| 702 | pins1 { |
| 703 | pinmux = <STM32F429_PB10_FUNC_USART3_TX>; |
| 704 | bias-disable; |
| 705 | drive-push-pull; |
| 706 | slew-rate = <0>; |
| 707 | }; |
| 708 | pins2 { |
| 709 | pinmux = <STM32F429_PB11_FUNC_USART3_RX>; |
| 710 | bias-disable; |
| 711 | }; |
| 712 | }; |
| 713 | |
Bruno Herrera | cd9ef1e | 2017-02-01 02:25:00 +0100 | [diff] [blame] | 714 | usbotg_fs_pins_a: usbotg_fs@0 { |
| 715 | pins { |
| 716 | pinmux = <STM32F429_PA10_FUNC_OTG_FS_ID>, |
| 717 | <STM32F429_PA11_FUNC_OTG_FS_DM>, |
| 718 | <STM32F429_PA12_FUNC_OTG_FS_DP>; |
| 719 | bias-disable; |
| 720 | drive-push-pull; |
| 721 | slew-rate = <2>; |
| 722 | }; |
| 723 | }; |
| 724 | |
| 725 | usbotg_fs_pins_b: usbotg_fs@1 { |
| 726 | pins { |
| 727 | pinmux = <STM32F429_PB12_FUNC_OTG_HS_ID>, |
| 728 | <STM32F429_PB14_FUNC_OTG_HS_DM>, |
| 729 | <STM32F429_PB15_FUNC_OTG_HS_DP>; |
| 730 | bias-disable; |
| 731 | drive-push-pull; |
| 732 | slew-rate = <2>; |
| 733 | }; |
| 734 | }; |
| 735 | |
Maxime Coquelin | c8cc1b7 | 2016-02-23 17:11:42 +0100 | [diff] [blame] | 736 | usbotg_hs_pins_a: usbotg_hs@0 { |
| 737 | pins { |
| 738 | pinmux = <STM32F429_PH4_FUNC_OTG_HS_ULPI_NXT>, |
| 739 | <STM32F429_PI11_FUNC_OTG_HS_ULPI_DIR>, |
| 740 | <STM32F429_PC0_FUNC_OTG_HS_ULPI_STP>, |
| 741 | <STM32F429_PA5_FUNC_OTG_HS_ULPI_CK>, |
| 742 | <STM32F429_PA3_FUNC_OTG_HS_ULPI_D0>, |
| 743 | <STM32F429_PB0_FUNC_OTG_HS_ULPI_D1>, |
| 744 | <STM32F429_PB1_FUNC_OTG_HS_ULPI_D2>, |
| 745 | <STM32F429_PB10_FUNC_OTG_HS_ULPI_D3>, |
| 746 | <STM32F429_PB11_FUNC_OTG_HS_ULPI_D4>, |
| 747 | <STM32F429_PB12_FUNC_OTG_HS_ULPI_D5>, |
| 748 | <STM32F429_PB13_FUNC_OTG_HS_ULPI_D6>, |
| 749 | <STM32F429_PB5_FUNC_OTG_HS_ULPI_D7>; |
| 750 | bias-disable; |
| 751 | drive-push-pull; |
| 752 | slew-rate = <2>; |
| 753 | }; |
| 754 | }; |
Alexandre TORGUE | 9ee33d6 | 2016-02-29 17:29:00 +0100 | [diff] [blame] | 755 | |
Alexandre TORGUE | d9b296b | 2016-10-24 09:57:08 +0200 | [diff] [blame] | 756 | ethernet_mii: mii@0 { |
Alexandre TORGUE | 9ee33d6 | 2016-02-29 17:29:00 +0100 | [diff] [blame] | 757 | pins { |
| 758 | pinmux = <STM32F429_PG13_FUNC_ETH_MII_TXD0_ETH_RMII_TXD0>, |
| 759 | <STM32F429_PG14_FUNC_ETH_MII_TXD1_ETH_RMII_TXD1>, |
| 760 | <STM32F429_PC2_FUNC_ETH_MII_TXD2>, |
| 761 | <STM32F429_PB8_FUNC_ETH_MII_TXD3>, |
| 762 | <STM32F429_PC3_FUNC_ETH_MII_TX_CLK>, |
| 763 | <STM32F429_PG11_FUNC_ETH_MII_TX_EN_ETH_RMII_TX_EN>, |
| 764 | <STM32F429_PA2_FUNC_ETH_MDIO>, |
| 765 | <STM32F429_PC1_FUNC_ETH_MDC>, |
| 766 | <STM32F429_PA1_FUNC_ETH_MII_RX_CLK_ETH_RMII_REF_CLK>, |
| 767 | <STM32F429_PA7_FUNC_ETH_MII_RX_DV_ETH_RMII_CRS_DV>, |
| 768 | <STM32F429_PC4_FUNC_ETH_MII_RXD0_ETH_RMII_RXD0>, |
| 769 | <STM32F429_PC5_FUNC_ETH_MII_RXD1_ETH_RMII_RXD1>, |
| 770 | <STM32F429_PH6_FUNC_ETH_MII_RXD2>, |
| 771 | <STM32F429_PH7_FUNC_ETH_MII_RXD3>; |
| 772 | slew-rate = <2>; |
| 773 | }; |
| 774 | }; |
Fabrice GASNIER | ee58bfa | 2016-12-02 14:57:00 +0100 | [diff] [blame] | 775 | |
| 776 | adc3_in8_pin: adc@200 { |
| 777 | pins { |
| 778 | pinmux = <STM32F429_PF10_FUNC_ANALOG>; |
| 779 | }; |
| 780 | }; |
Benjamin Gaignard | c0e14fc | 2017-02-01 17:00:34 +0100 | [diff] [blame] | 781 | |
| 782 | pwm1_pins: pwm@1 { |
| 783 | pins { |
| 784 | pinmux = <STM32F429_PA8_FUNC_TIM1_CH1>, |
| 785 | <STM32F429_PB13_FUNC_TIM1_CH1N>, |
| 786 | <STM32F429_PB12_FUNC_TIM1_BKIN>; |
| 787 | }; |
| 788 | }; |
| 789 | |
| 790 | pwm3_pins: pwm@3 { |
| 791 | pins { |
| 792 | pinmux = <STM32F429_PB4_FUNC_TIM3_CH1>, |
| 793 | <STM32F429_PB5_FUNC_TIM3_CH2>; |
| 794 | }; |
| 795 | }; |
M'boumba Cedric Madianga | 51576d3 | 2017-02-01 18:19:07 +0100 | [diff] [blame] | 796 | |
| 797 | i2c1_pins: i2c1@0 { |
| 798 | pins { |
| 799 | pinmux = <STM32F429_PB9_FUNC_I2C1_SDA>, |
| 800 | <STM32F429_PB6_FUNC_I2C1_SCL>; |
| 801 | bias-disable; |
| 802 | drive-open-drain; |
| 803 | slew-rate = <3>; |
| 804 | }; |
| 805 | }; |
Yannick Fertre | bcb4909 | 2017-06-07 14:58:10 +0200 | [diff] [blame] | 806 | |
| 807 | ltdc_pins: ltdc@0 { |
| 808 | pins { |
| 809 | pinmux = <STM32F429_PI12_FUNC_LCD_HSYNC>, |
| 810 | <STM32F429_PI13_FUNC_LCD_VSYNC>, |
| 811 | <STM32F429_PI14_FUNC_LCD_CLK>, |
| 812 | <STM32F429_PI15_FUNC_LCD_R0>, |
| 813 | <STM32F429_PJ0_FUNC_LCD_R1>, |
| 814 | <STM32F429_PJ1_FUNC_LCD_R2>, |
| 815 | <STM32F429_PJ2_FUNC_LCD_R3>, |
| 816 | <STM32F429_PJ3_FUNC_LCD_R4>, |
| 817 | <STM32F429_PJ4_FUNC_LCD_R5>, |
| 818 | <STM32F429_PJ5_FUNC_LCD_R6>, |
| 819 | <STM32F429_PJ6_FUNC_LCD_R7>, |
| 820 | <STM32F429_PJ7_FUNC_LCD_G0>, |
| 821 | <STM32F429_PJ8_FUNC_LCD_G1>, |
| 822 | <STM32F429_PJ9_FUNC_LCD_G2>, |
| 823 | <STM32F429_PJ10_FUNC_LCD_G3>, |
| 824 | <STM32F429_PJ11_FUNC_LCD_G4>, |
| 825 | <STM32F429_PJ12_FUNC_LCD_B0>, |
| 826 | <STM32F429_PJ13_FUNC_LCD_B1>, |
| 827 | <STM32F429_PJ14_FUNC_LCD_B2>, |
| 828 | <STM32F429_PJ15_FUNC_LCD_B3>, |
| 829 | <STM32F429_PK0_FUNC_LCD_G5>, |
| 830 | <STM32F429_PK1_FUNC_LCD_G6>, |
| 831 | <STM32F429_PK2_FUNC_LCD_G7>, |
| 832 | <STM32F429_PK3_FUNC_LCD_B4>, |
| 833 | <STM32F429_PK4_FUNC_LCD_B5>, |
| 834 | <STM32F429_PK5_FUNC_LCD_B6>, |
| 835 | <STM32F429_PK6_FUNC_LCD_B7>, |
| 836 | <STM32F429_PK7_FUNC_LCD_DE>; |
| 837 | slew-rate = <2>; |
| 838 | }; |
| 839 | }; |
Hugues Fruchet | ba7f0df | 2017-05-05 17:31:00 +0200 | [diff] [blame] | 840 | |
| 841 | dcmi_pins: dcmi@0 { |
| 842 | pins { |
| 843 | pinmux = <STM32F429_PA4_FUNC_DCMI_HSYNC>, |
| 844 | <STM32F429_PB7_FUNC_DCMI_VSYNC>, |
| 845 | <STM32F429_PA6_FUNC_DCMI_PIXCLK>, |
| 846 | <STM32F429_PC6_FUNC_DCMI_D0>, |
| 847 | <STM32F429_PC7_FUNC_DCMI_D1>, |
| 848 | <STM32F429_PC8_FUNC_DCMI_D2>, |
| 849 | <STM32F429_PC9_FUNC_DCMI_D3>, |
| 850 | <STM32F429_PC11_FUNC_DCMI_D4>, |
| 851 | <STM32F429_PD3_FUNC_DCMI_D5>, |
| 852 | <STM32F429_PB8_FUNC_DCMI_D6>, |
| 853 | <STM32F429_PE6_FUNC_DCMI_D7>, |
| 854 | <STM32F429_PC10_FUNC_DCMI_D8>, |
| 855 | <STM32F429_PC12_FUNC_DCMI_D9>, |
| 856 | <STM32F429_PD6_FUNC_DCMI_D10>, |
| 857 | <STM32F429_PD2_FUNC_DCMI_D11>; |
| 858 | bias-disable; |
| 859 | drive-push-pull; |
| 860 | slew-rate = <3>; |
| 861 | }; |
| 862 | }; |
Maxime Coquelin | 2dbd059 | 2015-10-14 18:12:10 +0200 | [diff] [blame] | 863 | }; |
| 864 | |
Cosar Dindar | a68883f1 | 2017-05-22 16:34:00 +0200 | [diff] [blame] | 865 | crc: crc@40023000 { |
| 866 | compatible = "st,stm32f4-crc"; |
| 867 | reg = <0x40023000 0x400>; |
| 868 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(CRC)>; |
| 869 | status = "disabled"; |
| 870 | }; |
| 871 | |
Daniel Thompson | 9dc24a2 | 2015-06-10 22:09:00 +0200 | [diff] [blame] | 872 | rcc: rcc@40023810 { |
Gabriel Fernandez | 9af8071 | 2016-07-22 11:37:50 +0200 | [diff] [blame] | 873 | #reset-cells = <1>; |
Daniel Thompson | 9dc24a2 | 2015-06-10 22:09:00 +0200 | [diff] [blame] | 874 | #clock-cells = <2>; |
| 875 | compatible = "st,stm32f42xx-rcc", "st,stm32-rcc"; |
| 876 | reg = <0x40023800 0x400>; |
Gabriel Fernandez | 305b049 | 2016-12-13 15:20:00 +0100 | [diff] [blame] | 877 | clocks = <&clk_hse>, <&clk_i2s_ckin>; |
Gabriel Fernandez | f6dbbff | 2016-10-14 11:18:00 +0200 | [diff] [blame] | 878 | st,syscfg = <&pwrcfg>; |
Amelie Delaunay | 8867295 | 2017-01-16 14:29:00 +0100 | [diff] [blame] | 879 | assigned-clocks = <&rcc 1 CLK_HSE_RTC>; |
| 880 | assigned-clock-rates = <1000000>; |
Daniel Thompson | 9dc24a2 | 2015-06-10 22:09:00 +0200 | [diff] [blame] | 881 | }; |
Daniel Thompson | b47c9fa | 2015-10-12 09:21:30 +0100 | [diff] [blame] | 882 | |
M'boumba Cedric Madianga | 9ee9e28 | 2015-10-16 15:59:00 +0200 | [diff] [blame] | 883 | dma1: dma-controller@40026000 { |
| 884 | compatible = "st,stm32-dma"; |
| 885 | reg = <0x40026000 0x400>; |
| 886 | interrupts = <11>, |
| 887 | <12>, |
| 888 | <13>, |
| 889 | <14>, |
| 890 | <15>, |
| 891 | <16>, |
| 892 | <17>, |
| 893 | <47>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 894 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA1)>; |
M'boumba Cedric Madianga | 9ee9e28 | 2015-10-16 15:59:00 +0200 | [diff] [blame] | 895 | #dma-cells = <4>; |
| 896 | }; |
| 897 | |
| 898 | dma2: dma-controller@40026400 { |
| 899 | compatible = "st,stm32-dma"; |
| 900 | reg = <0x40026400 0x400>; |
| 901 | interrupts = <56>, |
| 902 | <57>, |
| 903 | <58>, |
| 904 | <59>, |
| 905 | <60>, |
| 906 | <68>, |
| 907 | <69>, |
| 908 | <70>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 909 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2)>; |
M'boumba Cedric Madianga | 9ee9e28 | 2015-10-16 15:59:00 +0200 | [diff] [blame] | 910 | #dma-cells = <4>; |
| 911 | st,mem2mem; |
| 912 | }; |
| 913 | |
Alexandre TORGUE | d9b296b | 2016-10-24 09:57:08 +0200 | [diff] [blame] | 914 | mac: ethernet@40028000 { |
Alexandre TORGUE | 9ee33d6 | 2016-02-29 17:29:00 +0100 | [diff] [blame] | 915 | compatible = "st,stm32-dwmac", "snps,dwmac-3.50a"; |
| 916 | reg = <0x40028000 0x8000>; |
| 917 | reg-names = "stmmaceth"; |
Alexandre TORGUE | ed75bf3 | 2016-10-20 16:58:26 +0200 | [diff] [blame] | 918 | interrupts = <61>; |
| 919 | interrupt-names = "macirq"; |
Alexandre TORGUE | d9b296b | 2016-10-24 09:57:08 +0200 | [diff] [blame] | 920 | clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx"; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 921 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(ETHMAC)>, |
| 922 | <&rcc 0 STM32F4_AHB1_CLOCK(ETHMACTX)>, |
| 923 | <&rcc 0 STM32F4_AHB1_CLOCK(ETHMACRX)>; |
Alexandre TORGUE | 9ee33d6 | 2016-02-29 17:29:00 +0100 | [diff] [blame] | 924 | st,syscon = <&syscfg 0x4>; |
| 925 | snps,pbl = <8>; |
| 926 | snps,mixed-burst; |
Alexandre TORGUE | 9ee33d6 | 2016-02-29 17:29:00 +0100 | [diff] [blame] | 927 | status = "disabled"; |
| 928 | }; |
| 929 | |
Maxime Coquelin | c8cc1b7 | 2016-02-23 17:11:42 +0100 | [diff] [blame] | 930 | usbotg_hs: usb@40040000 { |
| 931 | compatible = "snps,dwc2"; |
Maxime Coquelin | c8cc1b7 | 2016-02-23 17:11:42 +0100 | [diff] [blame] | 932 | reg = <0x40040000 0x40000>; |
| 933 | interrupts = <77>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 934 | clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHS)>; |
Maxime Coquelin | c8cc1b7 | 2016-02-23 17:11:42 +0100 | [diff] [blame] | 935 | clock-names = "otg"; |
| 936 | status = "disabled"; |
| 937 | }; |
| 938 | |
Bruno Herrera | cd9ef1e | 2017-02-01 02:25:00 +0100 | [diff] [blame] | 939 | usbotg_fs: usb@50000000 { |
| 940 | compatible = "st,stm32f4x9-fsotg"; |
| 941 | reg = <0x50000000 0x40000>; |
| 942 | interrupts = <67>; |
| 943 | clocks = <&rcc 0 39>; |
| 944 | clock-names = "otg"; |
| 945 | status = "disabled"; |
| 946 | }; |
| 947 | |
Hugues Fruchet | ba7f0df | 2017-05-05 17:31:00 +0200 | [diff] [blame] | 948 | dcmi: dcmi@50050000 { |
| 949 | compatible = "st,stm32-dcmi"; |
| 950 | reg = <0x50050000 0x400>; |
| 951 | interrupts = <78>; |
| 952 | resets = <&rcc STM32F4_AHB2_RESET(DCMI)>; |
| 953 | clocks = <&rcc 0 STM32F4_AHB2_CLOCK(DCMI)>; |
| 954 | clock-names = "mclk"; |
| 955 | pinctrl-names = "default"; |
| 956 | pinctrl-0 = <&dcmi_pins>; |
| 957 | dmas = <&dma2 1 1 0x414 0x3>; |
| 958 | dma-names = "tx"; |
| 959 | status = "disabled"; |
| 960 | }; |
| 961 | |
Daniel Thompson | b47c9fa | 2015-10-12 09:21:30 +0100 | [diff] [blame] | 962 | rng: rng@50060800 { |
| 963 | compatible = "st,stm32-rng"; |
| 964 | reg = <0x50060800 0x400>; |
| 965 | interrupts = <80>; |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 966 | clocks = <&rcc 0 STM32F4_AHB2_CLOCK(RNG)>; |
| 967 | |
Daniel Thompson | b47c9fa | 2015-10-12 09:21:30 +0100 | [diff] [blame] | 968 | }; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 969 | }; |
| 970 | }; |
| 971 | |
| 972 | &systick { |
Gabriel Fernandez | f20a406 | 2017-02-01 16:16:27 +0100 | [diff] [blame] | 973 | clocks = <&rcc 1 SYSTICK>; |
Maxime Coquelin | 338a6aa | 2015-06-03 16:54:02 +0200 | [diff] [blame] | 974 | status = "okay"; |
| 975 | }; |