blob: 9148a1fcd4c419dbb93a7754f9a1d1d29c97045b [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&fmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-all;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020058};
59
Patrice Chotard0dca06e2017-09-13 18:00:11 +020060&gpioa {
Simon Glassd3a98cb2023-02-13 08:56:33 -070061 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010062 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020063};
64
65&gpiob {
Simon Glassd3a98cb2023-02-13 08:56:33 -070066 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010067 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020068};
69
70&gpioc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070071 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010072 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020073};
74
75&gpiod {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010077 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020078};
79
80&gpioe {
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010082 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020083};
84
85&gpiof {
Simon Glassd3a98cb2023-02-13 08:56:33 -070086 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010087 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020088};
89
90&gpiog {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010092 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020093};
94
95&gpioh {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +010097 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020098};
99
100&gpioi {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700101 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100102 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200103};
104
105&gpioj {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700106 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100107 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200108};
109
110&gpiok {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700111 bootph-all;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100112 compatible = "st,stm32-gpio";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200113};
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100114
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100115&pwrcfg {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700116 bootph-all;
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100117};
118
119&rcc {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700120 bootph-all;
Patrice Chotard92a12ff2018-12-06 11:59:42 +0100121};
Patrick Delaunayc5c90692019-11-06 16:16:32 +0100122
123&sdmmc1 {
124 compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell";
125};
Patrice Chotard82270812020-11-06 08:11:59 +0100126
127&timer5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700128 bootph-all;
Patrice Chotard82270812020-11-06 08:11:59 +0100129};
dillon min8423bfb2021-04-09 15:28:40 +0800130
131&pinctrl {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700132 bootph-all;
dillon min8423bfb2021-04-09 15:28:40 +0800133};