blob: 46bd1102df5a05c17be98cb2bc4e1bbe17d39415 [file] [log] [blame]
Patrice Chotard01aabf92019-02-19 00:37:20 +01001// SPDX-License-Identifier: GPL-2.0+
2
Patrice Chotardfe63d3c2019-02-19 16:49:05 +01003#include <dt-bindings/memory/stm32-sdram.h>
Patrice Chotardcd389c02018-02-07 10:44:49 +01004/{
5 soc {
Patrice Chotard01aabf92019-02-19 00:37:20 +01006 u-boot,dm-pre-reloc;
7
8 fmc: fmc@A0000000 {
9 compatible = "st,stm32-fmc";
10 reg = <0xA0000000 0x1000>;
11 clocks = <&rcc 0 STM32F7_AHB3_CLOCK(FMC)>;
12 pinctrl-0 = <&fmc_pins>;
13 pinctrl-names = "default";
14 status = "okay";
Patrice Chotardcd389c02018-02-07 10:44:49 +010015 u-boot,dm-pre-reloc;
16 };
Patrice Chotard01aabf92019-02-19 00:37:20 +010017
18 mac: ethernet@40028000 {
19 compatible = "st,stm32-dwmac";
20 reg = <0x40028000 0x8000>;
21 reg-names = "stmmaceth";
22 clocks = <&rcc 0 STM32F7_AHB1_CLOCK(ETHMAC)>,
23 <&rcc 0 STM32F7_AHB1_CLOCK(ETHMACTX)>,
24 <&rcc 0 STM32F7_AHB1_CLOCK(ETHMACRX)>;
25 interrupts = <61>, <62>;
26 interrupt-names = "macirq", "eth_wake_irq";
27 snps,pbl = <8>;
28 snps,mixed-burst;
Patrice Chotard01aabf92019-02-19 00:37:20 +010029 pinctrl-0 = <&ethernet_mii>;
30 phy-mode = "rmii";
31 phy-handle = <&phy0>;
32
33 status = "okay";
34
35 mdio0 {
36 #address-cells = <1>;
37 #size-cells = <0>;
38 compatible = "snps,dwmac-mdio";
39 phy0: ethernet-phy@0 {
40 reg = <0>;
41 };
42 };
43 };
44
Patrice Chotard61c88ac2020-11-06 08:11:58 +010045 qspi: spi@A0001000 {
Patrice Chotard2cc83ce2019-06-28 15:02:58 +020046 compatible = "st,stm32f469-qspi";
Patrice Chotard01aabf92019-02-19 00:37:20 +010047 #address-cells = <1>;
48 #size-cells = <0>;
49 reg = <0xA0001000 0x1000>, <0x90000000 0x10000000>;
50 reg-names = "qspi", "qspi_mm";
51 interrupts = <92>;
52 spi-max-frequency = <108000000>;
53 clocks = <&rcc 0 STM32F7_AHB3_CLOCK(QSPI)>;
54 resets = <&rcc STM32F7_AHB3_RESET(QSPI)>;
55 pinctrl-0 = <&qspi_pins>;
56
57 status = "okay";
58 };
Patrice Chotardcd389c02018-02-07 10:44:49 +010059 };
60};
61
Patrice Chotard01aabf92019-02-19 00:37:20 +010062&clk_hse {
63 u-boot,dm-pre-reloc;
64};
65
66&gpioa {
Patrice Chotard01aabf92019-02-19 00:37:20 +010067 u-boot,dm-pre-reloc;
68};
69
70&gpiob {
Patrice Chotard01aabf92019-02-19 00:37:20 +010071 u-boot,dm-pre-reloc;
72};
73
74&gpioc {
Patrice Chotard01aabf92019-02-19 00:37:20 +010075 u-boot,dm-pre-reloc;
76};
77
78&gpiod {
Patrice Chotard01aabf92019-02-19 00:37:20 +010079 u-boot,dm-pre-reloc;
80};
81
82&gpioe {
Patrice Chotard01aabf92019-02-19 00:37:20 +010083 u-boot,dm-pre-reloc;
84};
85
86&gpiof {
Patrice Chotard01aabf92019-02-19 00:37:20 +010087 u-boot,dm-pre-reloc;
88};
89
90&gpiog {
Patrice Chotard01aabf92019-02-19 00:37:20 +010091 u-boot,dm-pre-reloc;
92};
93
94&gpioh {
Patrice Chotard01aabf92019-02-19 00:37:20 +010095 u-boot,dm-pre-reloc;
96};
97
98&gpioi {
Patrice Chotard01aabf92019-02-19 00:37:20 +010099 u-boot,dm-pre-reloc;
100};
101
Vikas Manochaf22f3dc2017-04-12 14:16:36 -0700102&pinctrl {
Patrice Chotard01aabf92019-02-19 00:37:20 +0100103 u-boot,dm-pre-reloc;
104
105 fmc_pins: fmc@0 {
106 u-boot,dm-pre-reloc;
107 pins
108 {
109 u-boot,dm-pre-reloc;
110 };
111 };
Vikas Manochaf22f3dc2017-04-12 14:16:36 -0700112};
Patrice Chotardd3651aa2017-11-15 13:14:43 +0100113
114&pwrcfg {
115 u-boot,dm-pre-reloc;
116};
Patrice Chotardbaf20a72018-01-18 13:39:29 +0100117
Patrice Chotard01aabf92019-02-19 00:37:20 +0100118&rcc {
119 u-boot,dm-pre-reloc;
120};
121
122&timer5 {
123 u-boot,dm-pre-reloc;
124};
125
126&usart1 {
Patrice Chotardbaf20a72018-01-18 13:39:29 +0100127 u-boot,dm-pre-reloc;
Patrice Chotard60121262019-02-18 23:19:45 +0100128 clocks = <&rcc 0 STM32F7_APB2_CLOCK(USART1)>;
Patrice Chotardbaf20a72018-01-18 13:39:29 +0100129};