]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
ARM: dts: stm32: Fix partition node name for stm32mp157c-ev1-u-boot
[thirdparty/u-boot.git] / arch / arm / dts / stm32mp157c-ev1-u-boot.dtsi
CommitLineData
5f16f655
PD
1// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2/*
3 * Copyright : STMicroelectronics 2018
4 */
5
6#include "stm32mp157c-ed1-u-boot.dtsi"
7
8/ {
9 aliases {
1258e466 10 gpio26 = &stmfx_pinctrl;
5f16f655
PD
11 i2c1 = &i2c2;
12 i2c4 = &i2c5;
1258e466 13 pinctrl2 = &stmfx_pinctrl;
2366160e 14 spi0 = &qspi;
c31000c5 15 usb0 = &usbotg_hs;
5f16f655 16 };
a402adc6
SG
17
18 fwu-mdata {
19 compatible = "u-boot,fwu-mdata-gpt";
20 fwu-mdata-store = <&sdmmc1>;
21 };
5f16f655
PD
22};
23
24&flash0 {
8c103c33 25 bootph-pre-ram;
e91d3c61
PC
26 partitions {
27 compatible = "fixed-partitions";
28 #address-cells = <1>;
29 #size-cells = <1>;
30
9f1dc110 31#if defined(CONFIG_STM32MP15X_STM32IMAGE) || defined(CONFIG_SPL)
e91d3c61
PC
32 partition@0 {
33 label = "fsbl1";
34 reg = <0x00000000 0x00040000>;
35 };
08ceeaa8 36 partition@40000 {
e91d3c61
PC
37 label = "fsbl2";
38 reg = <0x00040000 0x00040000>;
39 };
08ceeaa8 40 partition@80000 {
e91d3c61
PC
41 label = "ssbl";
42 reg = <0x00080000 0x00200000>;
43 };
44 partition@280000 {
45 label = "u-boot-env";
46 reg = <0x00280000 0x00080000>;
47 };
48 partition@300000 {
49 label = "nor-user";
50 reg = <0x00300000 0x03d00000>;
51 };
52#else
53 partition@0 {
54 label = "fsbl1";
55 reg = <0x00000000 0x00040000>;
56 };
57 partition@40000 {
58 label = "fsbl2";
59 reg = <0x00040000 0x00040000>;
60 };
08ceeaa8 61 partition@80000 {
e91d3c61
PC
62 label = "fip";
63 reg = <0x00080000 0x00400000>;
64 };
65 partition@480000 {
66 label = "u-boot-env";
67 reg = <0x00480000 0x00080000>;
68 };
69 partition@500000 {
70 label = "nor-user";
71 reg = <0x00500000 0x03b00000>;
72 };
73#endif
74 };
75};
76
77&fmc {
78 nand-controller@4,0 {
79 nand@0 {
80 partitions {
81 compatible = "fixed-partitions";
82 #address-cells = <1>;
83 #size-cells = <1>;
84
9f1dc110 85#if defined(CONFIG_STM32MP15X_STM32IMAGE) || defined(CONFIG_SPL)
e91d3c61
PC
86 partition@0 {
87 label = "fsbl";
88 reg = <0x00000000 0x00200000>;
89 };
90 partition@200000 {
91 label = "ssbl1";
92 reg = <0x00200000 0x00200000>;
93 };
94 partition@400000 {
95 label = "ssbl2";
96 reg = <0x00400000 0x00200000>;
97 };
98 partition@600000 {
99 label = "UBI";
100 reg = <0x00600000 0x3fa00000>;
101 };
102#else
103 partition@0 {
104 label = "fsbl";
105 reg = <0x00000000 0x00200000>;
106 };
107 partition@200000 {
108 label = "fip1";
109 reg = <0x00200000 0x00400000>;
110 };
111 partition@600000 {
112 label = "fip2";
113 reg = <0x00600000 0x00400000>;
114 };
08ceeaa8 115 partition@a00000 {
e91d3c61
PC
116 label = "UBI";
117 reg = <0x00a00000 0x3f600000>;
118 };
119#endif
120 };
121 };
122 };
5f16f655
PD
123};
124
5f16f655 125&qspi {
8c103c33 126 bootph-pre-ram;
5f16f655
PD
127};
128
129&qspi_clk_pins_a {
8c103c33 130 bootph-pre-ram;
5f16f655 131 pins {
8c103c33 132 bootph-pre-ram;
5f16f655
PD
133 };
134};
135
136&qspi_bk1_pins_a {
8c103c33 137 bootph-pre-ram;
5846ef86 138 pins {
8c103c33 139 bootph-pre-ram;
5f16f655 140 };
5846ef86
MV
141};
142
143&qspi_cs1_pins_a {
144 bootph-pre-ram;
145 pins {
8c103c33 146 bootph-pre-ram;
5f16f655
PD
147 };
148};
149
150&qspi_bk2_pins_a {
8c103c33 151 bootph-pre-ram;
5846ef86 152 pins {
8c103c33 153 bootph-pre-ram;
5f16f655 154 };
5846ef86
MV
155};
156
157&qspi_cs2_pins_a {
158 bootph-pre-ram;
159 pins {
8c103c33 160 bootph-pre-ram;
5f16f655
PD
161 };
162};