stm32f429.dtsi 18.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
/*
 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
 *
 * This file is dual-licensed: you can use it either under the terms
 * of the GPL or the X11 license, at your option. Note that this dual
 * licensing only applies to this file, and not this project as a
 * whole.
 *
 *  a) This file is free software; you can redistribute it and/or
 *     modify it under the terms of the GNU General Public License as
 *     published by the Free Software Foundation; either version 2 of the
 *     License, or (at your option) any later version.
 *
 *     This file is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *
 *     You should have received a copy of the GNU General Public
 *     License along with this file; if not, write to the Free
 *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
 *     MA 02110-1301 USA
 *
 * Or, alternatively,
 *
 *  b) Permission is hereby granted, free of charge, to any person
 *     obtaining a copy of this software and associated documentation
 *     files (the "Software"), to deal in the Software without
 *     restriction, including without limitation the rights to use,
 *     copy, modify, merge, publish, distribute, sublicense, and/or
 *     sell copies of the Software, and to permit persons to whom the
 *     Software is furnished to do so, subject to the following
 *     conditions:
 *
 *     The above copyright notice and this permission notice shall be
 *     included in all copies or substantial portions of the Software.
 *
 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 *     OTHER DEALINGS IN THE SOFTWARE.
 */

#include "armv7-m.dtsi"
49
#include <dt-bindings/clock/stm32fx-clock.h>
50
#include <dt-bindings/mfd/stm32f4-rcc.h>
51 52

/ {
53 54 55
	#address-cells = <1>;
	#size-cells = <1>;

56
	clocks {
57
		clk_hse: clk-hse {
58 59
			#clock-cells = <0>;
			compatible = "fixed-clock";
60
			clock-frequency = <0>;
61
		};
62

63
		clk_lse: clk-lse {
64 65 66 67 68
			#clock-cells = <0>;
			compatible = "fixed-clock";
			clock-frequency = <32768>;
		};

69
		clk_lsi: clk-lsi {
70 71 72 73
			#clock-cells = <0>;
			compatible = "fixed-clock";
			clock-frequency = <32000>;
		};
74 75 76 77 78 79

		clk_i2s_ckin: i2s-ckin {
			#clock-cells = <0>;
			compatible = "fixed-clock";
			clock-frequency = <0>;
		};
80 81 82
	};

	soc {
83
		romem: efuse@1fff7800 {
84 85 86 87 88 89 90 91 92 93 94 95
			compatible = "st,stm32f4-otp";
			reg = <0x1fff7800 0x400>;
			#address-cells = <1>;
			#size-cells = <1>;
			ts_cal1: calib@22c {
				reg = <0x22c 0x2>;
			};
			ts_cal2: calib@22e {
				reg = <0x22e 0x2>;
			};
		};

96 97 98 99
		timer2: timer@40000000 {
			compatible = "st,stm32-timer";
			reg = <0x40000000 0x400>;
			interrupts = <28>;
100
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM2)>;
101 102 103
			status = "disabled";
		};

104 105 106 107 108
		timers2: timers@40000000 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40000000 0x400>;
109
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM2)>;
110 111 112 113 114
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
115
				#pwm-cells = <3>;
116 117 118 119 120 121 122 123 124 125
				status = "disabled";
			};

			timer@1 {
				compatible = "st,stm32-timer-trigger";
				reg = <1>;
				status = "disabled";
			};
		};

126 127 128 129
		timer3: timer@40000400 {
			compatible = "st,stm32-timer";
			reg = <0x40000400 0x400>;
			interrupts = <29>;
130
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM3)>;
131 132 133
			status = "disabled";
		};

134 135 136 137 138
		timers3: timers@40000400 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40000400 0x400>;
139
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM3)>;
140 141 142 143 144
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
145
				#pwm-cells = <3>;
146 147 148 149 150 151 152 153 154 155
				status = "disabled";
			};

			timer@2 {
				compatible = "st,stm32-timer-trigger";
				reg = <2>;
				status = "disabled";
			};
		};

156 157 158 159
		timer4: timer@40000800 {
			compatible = "st,stm32-timer";
			reg = <0x40000800 0x400>;
			interrupts = <30>;
160
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM4)>;
161 162 163
			status = "disabled";
		};

164 165 166 167 168
		timers4: timers@40000800 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40000800 0x400>;
169
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM4)>;
170 171 172 173 174
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
175
				#pwm-cells = <3>;
176 177 178 179 180 181 182 183 184 185
				status = "disabled";
			};

			timer@3 {
				compatible = "st,stm32-timer-trigger";
				reg = <3>;
				status = "disabled";
			};
		};

186 187 188 189
		timer5: timer@40000c00 {
			compatible = "st,stm32-timer";
			reg = <0x40000c00 0x400>;
			interrupts = <50>;
190
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM5)>;
191 192
		};

193 194 195 196 197
		timers5: timers@40000c00 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40000C00 0x400>;
198
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM5)>;
199 200 201 202 203
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
204
				#pwm-cells = <3>;
205 206 207 208 209 210 211 212 213 214
				status = "disabled";
			};

			timer@4 {
				compatible = "st,stm32-timer-trigger";
				reg = <4>;
				status = "disabled";
			};
		};

215 216 217 218
		timer6: timer@40001000 {
			compatible = "st,stm32-timer";
			reg = <0x40001000 0x400>;
			interrupts = <54>;
219
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM6)>;
220 221 222
			status = "disabled";
		};

223 224 225 226 227
		timers6: timers@40001000 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40001000 0x400>;
228
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM6)>;
229 230 231 232 233 234 235 236 237 238
			clock-names = "int";
			status = "disabled";

			timer@5 {
				compatible = "st,stm32-timer-trigger";
				reg = <5>;
				status = "disabled";
			};
		};

239 240 241 242
		timer7: timer@40001400 {
			compatible = "st,stm32-timer";
			reg = <0x40001400 0x400>;
			interrupts = <55>;
243
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM7)>;
244 245 246
			status = "disabled";
		};

247 248 249 250 251
		timers7: timers@40001400 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40001400 0x400>;
252
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM7)>;
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
			clock-names = "int";
			status = "disabled";

			timer@6 {
				compatible = "st,stm32-timer-trigger";
				reg = <6>;
				status = "disabled";
			};
		};

		timers12: timers@40001800 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40001800 0x400>;
268
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM12)>;
269 270 271 272 273
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
274
				#pwm-cells = <3>;
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
				status = "disabled";
			};

			timer@11 {
				compatible = "st,stm32-timer-trigger";
				reg = <11>;
				status = "disabled";
			};
		};

		timers13: timers@40001c00 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40001C00 0x400>;
290
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM13)>;
291 292 293 294 295
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
296
				#pwm-cells = <3>;
297 298 299 300 301 302 303 304 305
				status = "disabled";
			};
		};

		timers14: timers@40002000 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40002000 0x400>;
306
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(TIM14)>;
307 308 309 310 311
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
312
				#pwm-cells = <3>;
313 314 315 316
				status = "disabled";
			};
		};

317 318 319 320 321 322 323 324
		rtc: rtc@40002800 {
			compatible = "st,stm32-rtc";
			reg = <0x40002800 0x400>;
			clocks = <&rcc 1 CLK_RTC>;
			assigned-clocks = <&rcc 1 CLK_RTC>;
			assigned-clock-parents = <&rcc 1 CLK_LSE>;
			interrupt-parent = <&exti>;
			interrupts = <17 1>;
325
			st,syscfg = <&pwrcfg 0x00 0x100>;
326 327 328
			status = "disabled";
		};

329 330 331 332
		iwdg: watchdog@40003000 {
			compatible = "st,stm32-iwdg";
			reg = <0x40003000 0x400>;
			clocks = <&clk_lsi>;
333
			clock-names = "lsi";
334 335 336
			status = "disabled";
		};

337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356
		spi2: spi@40003800 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32f4-spi";
			reg = <0x40003800 0x400>;
			interrupts = <36>;
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(SPI2)>;
			status = "disabled";
		};

		spi3: spi@40003c00 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32f4-spi";
			reg = <0x40003c00 0x400>;
			interrupts = <51>;
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(SPI3)>;
			status = "disabled";
		};

357
		usart2: serial@40004400 {
358
			compatible = "st,stm32-uart";
359 360
			reg = <0x40004400 0x400>;
			interrupts = <38>;
361
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART2)>;
362 363 364 365
			status = "disabled";
		};

		usart3: serial@40004800 {
366
			compatible = "st,stm32-uart";
367 368
			reg = <0x40004800 0x400>;
			interrupts = <39>;
369
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART3)>;
370
			status = "disabled";
371 372 373
			dmas = <&dma1 1 4 0x400 0x0>,
			       <&dma1 3 4 0x400 0x0>;
			dma-names = "rx", "tx";
374 375 376 377 378 379
		};

		usart4: serial@40004c00 {
			compatible = "st,stm32-uart";
			reg = <0x40004c00 0x400>;
			interrupts = <52>;
380
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART4)>;
381 382 383 384 385 386 387
			status = "disabled";
		};

		usart5: serial@40005000 {
			compatible = "st,stm32-uart";
			reg = <0x40005000 0x400>;
			interrupts = <53>;
388
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART5)>;
389 390 391
			status = "disabled";
		};

392 393 394 395 396 397 398 399 400 401 402 403
		i2c1: i2c@40005400 {
			compatible = "st,stm32f4-i2c";
			reg = <0x40005400 0x400>;
			interrupts = <31>,
				     <32>;
			resets = <&rcc STM32F4_APB1_RESET(I2C1)>;
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(I2C1)>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

404 405 406 407 408 409 410 411 412 413 414 415
		i2c3: i2c@40005c00 {
			compatible = "st,stm32f4-i2c";
			reg = <0x40005c00 0x400>;
			interrupts = <72>,
				     <73>;
			resets = <&rcc STM32F4_APB1_RESET(I2C3)>;
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(I2C3)>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";
		};

416 417 418 419 420 421 422 423 424 425 426 427
		dac: dac@40007400 {
			compatible = "st,stm32f4-dac-core";
			reg = <0x40007400 0x400>;
			resets = <&rcc STM32F4_APB1_RESET(DAC)>;
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(DAC)>;
			clock-names = "pclk";
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";

			dac1: dac@1 {
				compatible = "st,stm32-dac";
428
				#io-channel-cells = <1>;
429 430 431 432 433 434
				reg = <1>;
				status = "disabled";
			};

			dac2: dac@2 {
				compatible = "st,stm32-dac";
435
				#io-channel-cells = <1>;
436 437 438 439 440
				reg = <2>;
				status = "disabled";
			};
		};

441
		usart7: serial@40007800 {
442
			compatible = "st,stm32-uart";
443 444
			reg = <0x40007800 0x400>;
			interrupts = <82>;
445
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART7)>;
446 447 448 449
			status = "disabled";
		};

		usart8: serial@40007c00 {
450
			compatible = "st,stm32-uart";
451 452
			reg = <0x40007c00 0x400>;
			interrupts = <83>;
453
			clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART8)>;
454 455 456
			status = "disabled";
		};

457 458 459 460 461
		timers1: timers@40010000 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40010000 0x400>;
462
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM1)>;
463 464 465 466 467
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
468
				#pwm-cells = <3>;
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483
				status = "disabled";
			};

			timer@0 {
				compatible = "st,stm32-timer-trigger";
				reg = <0>;
				status = "disabled";
			};
		};

		timers8: timers@40010400 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40010400 0x400>;
484
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM8)>;
485 486 487 488 489
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
490
				#pwm-cells = <3>;
491 492 493 494 495 496 497 498 499 500
				status = "disabled";
			};

			timer@7 {
				compatible = "st,stm32-timer-trigger";
				reg = <7>;
				status = "disabled";
			};
		};

501
		usart1: serial@40011000 {
502
			compatible = "st,stm32-uart";
503 504
			reg = <0x40011000 0x400>;
			interrupts = <37>;
505
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART1)>;
506
			status = "disabled";
507 508 509
			dmas = <&dma2 2 4 0x400 0x0>,
			       <&dma2 7 4 0x400 0x0>;
			dma-names = "rx", "tx";
510 511 512
		};

		usart6: serial@40011400 {
513
			compatible = "st,stm32-uart";
514 515
			reg = <0x40011400 0x400>;
			interrupts = <71>;
516
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART6)>;
517 518
			status = "disabled";
		};
519

520 521 522 523
		adc: adc@40012000 {
			compatible = "st,stm32f4-adc-core";
			reg = <0x40012000 0x400>;
			interrupts = <18>;
524
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>;
525 526 527 528 529 530 531 532 533 534 535
			clock-names = "adc";
			interrupt-controller;
			#interrupt-cells = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			status = "disabled";

			adc1: adc@0 {
				compatible = "st,stm32f4-adc";
				#io-channel-cells = <1>;
				reg = <0x0>;
536
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>;
537 538
				interrupt-parent = <&adc>;
				interrupts = <0>;
539 540
				dmas = <&dma2 0 0 0x400 0x0>;
				dma-names = "rx";
541 542 543 544 545 546 547
				status = "disabled";
			};

			adc2: adc@100 {
				compatible = "st,stm32f4-adc";
				#io-channel-cells = <1>;
				reg = <0x100>;
548
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC2)>;
549 550
				interrupt-parent = <&adc>;
				interrupts = <1>;
551 552
				dmas = <&dma2 3 1 0x400 0x0>;
				dma-names = "rx";
553 554 555 556 557 558 559
				status = "disabled";
			};

			adc3: adc@200 {
				compatible = "st,stm32f4-adc";
				#io-channel-cells = <1>;
				reg = <0x200>;
560
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC3)>;
561 562
				interrupt-parent = <&adc>;
				interrupts = <2>;
563 564
				dmas = <&dma2 1 2 0x400 0x0>;
				dma-names = "rx";
565 566 567 568
				status = "disabled";
			};
		};

569 570 571 572 573 574 575 576 577 578 579
		sdio: sdio@40012c00 {
			compatible = "arm,pl180", "arm,primecell";
			arm,primecell-periphid = <0x00880180>;
			reg = <0x40012c00 0x400>;
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(SDIO)>;
			clock-names = "apb_pclk";
			interrupts = <49>;
			max-frequency = <48000000>;
			status = "disabled";
		};

580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599
		spi1: spi@40013000 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32f4-spi";
			reg = <0x40013000 0x400>;
			interrupts = <35>;
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI1)>;
			status = "disabled";
		};

		spi4: spi@40013400 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32f4-spi";
			reg = <0x40013400 0x400>;
			interrupts = <84>;
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI4)>;
			status = "disabled";
		};

600 601
		syscfg: syscon@40013800 {
			compatible = "st,stm32-syscfg", "syscon";
602 603 604
			reg = <0x40013800 0x400>;
		};

605 606 607 608 609 610 611 612
		exti: interrupt-controller@40013c00 {
			compatible = "st,stm32-exti";
			interrupt-controller;
			#interrupt-cells = <2>;
			reg = <0x40013C00 0x400>;
			interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>;
		};

613 614 615 616 617
		timers9: timers@40014000 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40014000 0x400>;
618
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM9)>;
619 620 621 622 623
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
624
				#pwm-cells = <3>;
625 626 627 628 629 630 631 632 633 634 635 636 637 638 639
				status = "disabled";
			};

			timer@8 {
				compatible = "st,stm32-timer-trigger";
				reg = <8>;
				status = "disabled";
			};
		};

		timers10: timers@40014400 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40014400 0x400>;
640
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM10)>;
641 642 643 644 645
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
646
				#pwm-cells = <3>;
647 648 649 650 651 652 653 654 655
				status = "disabled";
			};
		};

		timers11: timers@40014800 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32-timers";
			reg = <0x40014800 0x400>;
656
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(TIM11)>;
657 658 659 660 661
			clock-names = "int";
			status = "disabled";

			pwm {
				compatible = "st,stm32-pwm";
662
				#pwm-cells = <3>;
663 664 665 666
				status = "disabled";
			};
		};

667 668 669 670 671 672 673
		spi5: spi@40015000 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32f4-spi";
			reg = <0x40015000 0x400>;
			interrupts = <85>;
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI5)>;
674 675 676
			dmas = <&dma2 3 2 0x400 0x0>,
				<&dma2 4 2 0x400 0x0>;
			dma-names = "rx", "tx";
677 678 679 680 681 682 683 684 685 686 687 688 689
			status = "disabled";
		};

		spi6: spi@40015400 {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "st,stm32f4-spi";
			reg = <0x40015400 0x400>;
			interrupts = <86>;
			clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI6)>;
			status = "disabled";
		};

690
		pwrcfg: power-config@40007000 {
691
			compatible = "st,stm32-power-config", "syscon";
692 693 694
			reg = <0x40007000 0x400>;
		};

695 696 697 698 699 700 701 702 703 704
		ltdc: display-controller@40016800 {
			compatible = "st,stm32-ltdc";
			reg = <0x40016800 0x200>;
			interrupts = <88>, <89>;
			resets = <&rcc STM32F4_APB2_RESET(LTDC)>;
			clocks = <&rcc 1 CLK_LCD>;
			clock-names = "lcd";
			status = "disabled";
		};

705 706 707 708 709 710 711
		crc: crc@40023000 {
			compatible = "st,stm32f4-crc";
			reg = <0x40023000 0x400>;
			clocks = <&rcc 0 STM32F4_AHB1_CLOCK(CRC)>;
			status = "disabled";
		};

712
		rcc: rcc@40023810 {
713
			#reset-cells = <1>;
714 715 716
			#clock-cells = <2>;
			compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
			reg = <0x40023800 0x400>;
717
			clocks = <&clk_hse>, <&clk_i2s_ckin>;
718
			st,syscfg = <&pwrcfg>;
719 720
			assigned-clocks = <&rcc 1 CLK_HSE_RTC>;
			assigned-clock-rates = <1000000>;
721
		};
722

723 724 725 726 727 728 729 730 731 732 733
		dma1: dma-controller@40026000 {
			compatible = "st,stm32-dma";
			reg = <0x40026000 0x400>;
			interrupts = <11>,
				     <12>,
				     <13>,
				     <14>,
				     <15>,
				     <16>,
				     <17>,
				     <47>;
734
			clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA1)>;
735 736 737 738 739 740 741 742 743 744 745 746 747 748
			#dma-cells = <4>;
		};

		dma2: dma-controller@40026400 {
			compatible = "st,stm32-dma";
			reg = <0x40026400 0x400>;
			interrupts = <56>,
				     <57>,
				     <58>,
				     <59>,
				     <60>,
				     <68>,
				     <69>,
				     <70>;
749
			clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2)>;
750 751 752 753
			#dma-cells = <4>;
			st,mem2mem;
		};

754
		mac: ethernet@40028000 {
755 756 757
			compatible = "st,stm32-dwmac", "snps,dwmac-3.50a";
			reg = <0x40028000 0x8000>;
			reg-names = "stmmaceth";
758 759
			interrupts = <61>;
			interrupt-names = "macirq";
760
			clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
761 762 763
			clocks = <&rcc 0 STM32F4_AHB1_CLOCK(ETHMAC)>,
					<&rcc 0 STM32F4_AHB1_CLOCK(ETHMACTX)>,
					<&rcc 0 STM32F4_AHB1_CLOCK(ETHMACRX)>;
764 765 766 767 768 769
			st,syscon = <&syscfg 0x4>;
			snps,pbl = <8>;
			snps,mixed-burst;
			status = "disabled";
		};

770 771 772 773
		usbotg_hs: usb@40040000 {
			compatible = "snps,dwc2";
			reg = <0x40040000 0x40000>;
			interrupts = <77>;
774
			clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHS)>;
775 776 777 778
			clock-names = "otg";
			status = "disabled";
		};

779 780 781 782 783 784 785 786 787
		usbotg_fs: usb@50000000 {
			compatible = "st,stm32f4x9-fsotg";
			reg = <0x50000000 0x40000>;
			interrupts = <67>;
			clocks = <&rcc 0 39>;
			clock-names = "otg";
			status = "disabled";
		};

788 789 790 791 792 793 794 795 796 797 798 799 800 801
		dcmi: dcmi@50050000 {
			compatible = "st,stm32-dcmi";
			reg = <0x50050000 0x400>;
			interrupts = <78>;
			resets = <&rcc STM32F4_AHB2_RESET(DCMI)>;
			clocks = <&rcc 0 STM32F4_AHB2_CLOCK(DCMI)>;
			clock-names = "mclk";
			pinctrl-names = "default";
			pinctrl-0 = <&dcmi_pins>;
			dmas = <&dma2 1 1 0x414 0x3>;
			dma-names = "tx";
			status = "disabled";
		};

802 803 804
		rng: rng@50060800 {
			compatible = "st,stm32-rng";
			reg = <0x50060800 0x400>;
805 806
			clocks = <&rcc 0 STM32F4_AHB2_CLOCK(RNG)>;

807
		};
808 809 810 811
	};
};

&systick {
812
	clocks = <&rcc 1 SYSTICK>;
813 814
	status = "okay";
};