blob: efc4e2afe1517fb822326844f6acbd6250909337 [file] [log] [blame]
Patrice Chotarddf2e02a2019-02-19 00:37:20 +01001// SPDX-License-Identifier: GPL-2.0+
2
Patrice Chotard24dffa52019-02-19 16:49:05 +01003#include <dt-bindings/memory/stm32-sdram.h>
Patrice Chotardcc4b0b02018-02-07 10:44:49 +01004/{
5 soc {
Simon Glassd3a98cb2023-02-13 08:56:33 -07006 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +01007
8 fmc: fmc@A0000000 {
9 compatible = "st,stm32-fmc";
Patrice Chotardefb49c52021-11-15 11:39:16 +010010 reg = <0xa0000000 0x1000>;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010011 clocks = <&rcc 0 STM32F7_AHB3_CLOCK(FMC)>;
12 pinctrl-0 = <&fmc_pins>;
13 pinctrl-names = "default";
14 status = "okay";
Simon Glassd3a98cb2023-02-13 08:56:33 -070015 bootph-all;
Patrice Chotardcc4b0b02018-02-07 10:44:49 +010016 };
Patrice Chotarddf2e02a2019-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 Chotarddf2e02a2019-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 Chotard62f56162020-11-06 08:11:58 +010045 qspi: spi@A0001000 {
Patrice Chotardea75d102019-06-28 15:02:58 +020046 compatible = "st,stm32f469-qspi";
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010047 #address-cells = <1>;
48 #size-cells = <0>;
Patrice Chotardefb49c52021-11-15 11:39:16 +010049 reg = <0xa0001000 0x1000>, <0x90000000 0x10000000>;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010050 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 Chotardcc4b0b02018-02-07 10:44:49 +010059 };
60};
61
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010062&clk_hse {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010064};
65
66&gpioa {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010068};
69
70&gpiob {
Simon Glassd3a98cb2023-02-13 08:56:33 -070071 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010072};
73
74&gpioc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010076};
77
78&gpiod {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010080};
81
82&gpioe {
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010084};
85
86&gpiof {
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010088};
89
90&gpiog {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010092};
93
94&gpioh {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +010096};
97
98&gpioi {
Simon Glassd3a98cb2023-02-13 08:56:33 -070099 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +0100100};
101
Vikas Manocha3deae0d2017-04-12 14:16:36 -0700102&pinctrl {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +0100104
105 fmc_pins: fmc@0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700106 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +0100107 pins
108 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700109 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +0100110 };
111 };
Vikas Manocha3deae0d2017-04-12 14:16:36 -0700112};
113
Patrice Chotarddf2e02a2019-02-19 00:37:20 +0100114&pwrcfg {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700115 bootph-all;
Vikas Manocha3deae0d2017-04-12 14:16:36 -0700116};
Patrice Chotardb9574022017-11-15 13:14:43 +0100117
Patrice Chotarddf2e02a2019-02-19 00:37:20 +0100118&rcc {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700119 bootph-all;
Patrice Chotardb9574022017-11-15 13:14:43 +0100120};
Patrice Chotarda60d3f82018-01-18 13:39:29 +0100121
Patrice Chotard83975322022-09-23 13:20:33 +0200122&timers5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700123 bootph-all;
Patrice Chotarddf2e02a2019-02-19 00:37:20 +0100124};
125
126&usart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700127 bootph-all;
Patrice Chotard555930a2019-02-18 23:19:45 +0100128 clocks = <&rcc 0 STM32F7_APB2_CLOCK(USART1)>;
Patrice Chotarda60d3f82018-01-18 13:39:29 +0100129};