blob: dea4db396c1b101575cbdb38e26da50dc8112c03 [file] [log] [blame]
Patrice Chotard92a12ff2018-12-06 11:59:42 +01001// SPDX-License-Identifier: GPL-2.0+
2
3#include <dt-bindings/memory/stm32-sdram.h>
4
Patrice Chotard0dca06e2017-09-13 18:00:11 +02005/{
6 clocks {
Simon Glassd3a98cb2023-02-13 08:56:33 -07007 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +02008 };
9
Patrice Chotard92a12ff2018-12-06 11:59:42 +010010 aliases {
11 gpio0 = &gpioa;
12 gpio1 = &gpiob;
13 gpio2 = &gpioc;
14 gpio3 = &gpiod;
15 gpio4 = &gpioe;
16 gpio5 = &gpiof;
17 gpio6 = &gpiog;
18 gpio7 = &gpioh;
19 gpio8 = &gpioi;
20 gpio9 = &gpioj;
21 gpio10 = &gpiok;
22 mmc0 = &sdmmc1;
dillon min8423bfb2021-04-09 15:28:40 +080023 pinctrl0 = &pinctrl;
Patrice Chotard92a12ff2018-12-06 11:59:42 +010024 };
25
Patrice Chotard0dca06e2017-09-13 18:00:11 +020026 soc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020028 pin-controller {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020030 };
Patrice Chotard92a12ff2018-12-06 11:59:42 +010031
32 fmc: fmc@52004000 {
33 compatible = "st,stm32h7-fmc";
34 reg = <0x52004000 0x1000>;
35 clocks = <&rcc FMC_CK>;
36
37 pinctrl-0 = <&fmc_pins>;
38 pinctrl-names = "default";
39 status = "okay";
Patrice Chotard92a12ff2018-12-06 11:59:42 +010040 };
Patrice Chotard0dca06e2017-09-13 18:00:11 +020041 };
42};
43
44&clk_hse {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020046};
47
Patrice Chotard0dca06e2017-09-13 18:00:11 +020048&clk_i2s {
Simon Glassd3a98cb2023-02-13 08:56:33 -070049 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020050};
51
Patrice Chotard92a12ff2018-12-06 11:59:42 +010052&clk_lse {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020054};
55
Patrice Chotard0dca06e2017-09-13 18:00:11 +020056
57&fmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020059};
60
Patrice Chotard0dca06e2017-09-13 18:00:11 +020061&gpioa {
Simon Glassd3a98cb2023-02-13 08:56:33 -070062 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010063 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020064};
65
66&gpiob {
Simon Glassd3a98cb2023-02-13 08:56:33 -070067 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010068 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020069};
70
71&gpioc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010073 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020074};
75
76&gpiod {
Simon Glassd3a98cb2023-02-13 08:56:33 -070077 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010078 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020079};
80
81&gpioe {
Simon Glassd3a98cb2023-02-13 08:56:33 -070082 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010083 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020084};
85
86&gpiof {
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010088 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020089};
90
91&gpiog {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010093 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020094};
95
96&gpioh {
Simon Glassd3a98cb2023-02-13 08:56:33 -070097 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010098 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020099};
100
101&gpioi {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700102 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100103 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200104};
105
106&gpioj {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700107 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100108 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200109};
110
111&gpiok {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700112 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100113 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200114};
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100115
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100116&pwrcfg {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700117 bootph-all;
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100118};
119
120&rcc {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700121 bootph-all;
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100122};
Patrick Delaunayc5c90692019-11-06 16:16:32 +0100123
124&sdmmc1 {
125 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
126};
Patrice Chotard82270812020-11-06 08:11:59 +0100127
128&timer5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700129 bootph-all;
Patrice Chotard82270812020-11-06 08:11:59 +0100130};
dillon min8423bfb2021-04-09 15:28:40 +0800131
132&pinctrl {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700133 bootph-all;
dillon min8423bfb2021-04-09 15:28:40 +0800134};