blob: 9768db8de9c9afbd24ea306b2992aebcaf020cfa [file] [log] [blame]
Patrick Delaunayddba40a2022-07-05 16:55:57 +02001// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
2/*
3 * Copyright : STMicroelectronics 2022
4 */
5
6#include "stm32mp157c-ed1-scmi-u-boot.dtsi"
7
8/ {
9 aliases {
10 gpio26 = &stmfx_pinctrl;
11 i2c1 = &i2c2;
12 i2c4 = &i2c5;
13 pinctrl2 = &stmfx_pinctrl;
14 spi0 = &qspi;
15 usb0 = &usbotg_hs;
16 };
Patrick Delaunay8d435402023-06-08 17:16:41 +020017
18 fwu-mdata {
19 compatible = "u-boot,fwu-mdata-gpt";
20 fwu-mdata-store = <&sdmmc1>;
21 };
22};
23
24&flash0 {
25 bootph-pre-ram;
Patrice Chotard4cacdd12023-06-08 17:16:42 +020026 partitions {
27 compatible = "fixed-partitions";
28 #address-cells = <1>;
29 #size-cells = <1>;
30 partition@0 {
31 label = "fsbl1";
32 reg = <0x00000000 0x00040000>;
33 };
34 partition@40000 {
35 label = "fsbl2";
36 reg = <0x00040000 0x00040000>;
37 };
38 partition@80000 {
39 label = "metadata1";
40 reg = <0x00080000 0x00040000>;
41 };
42 partition@c0000 {
43 label = "metadata2";
44 reg = <0x000c0000 0x00040000>;
45 };
46 partition@100000 {
47 label = "fip-a";
48 reg = <0x00100000 0x00400000>;
49 };
50 partition@500000 {
51 label = "fip-b";
52 reg = <0x00500000 0x00400000>;
53 };
54 partition@900000 {
55 label = "u-boot-env";
56 reg = <0x00900000 0x00080000>;
57 };
58 partition@980000 {
59 label = "nor-user";
60 reg = <0x00980000 0x03680000>;
61 };
62 };
63};
64
65&fmc {
66 nand-controller@4,0 {
67 nand@0 {
68 partitions {
69 compatible = "fixed-partitions";
70 #address-cells = <1>;
71 #size-cells = <1>;
72 partition@0 {
73 label = "fsbl1";
74 reg = <0x00000000 0x00080000>;
75 };
76 partition@80000 {
77 label = "fsbl2";
78 reg = <0x00080000 0x00080000>;
79 };
80 partition@100000 {
81 label = "metadata1";
82 reg = <0x00100000 0x00080000>;
83 };
84 partition@180000 {
85 label = "metadata2";
86 reg = <0x00180000 0x00080000>;
87 };
88 partition@200000 {
89 label = "fip-a1";
90 reg = <0x00200000 0x00400000>;
91 };
92 partition@600000 {
93 label = "fip-a2";
94 reg = <0x00600000 0x00400000>;
95 };
96 partition@a00000 {
97 label = "fip-b1";
98 reg = <0x00a00000 0x00400000>;
99 };
100 partition@e00000 {
101 label = "fip-b2";
102 reg = <0x00e00000 0x00400000>;
103 };
104 partition@1200000 {
105 label = "UBI";
106 reg = <0x01200000 0x3ee00000>;
107 };
108 };
109 };
110 };
Patrick Delaunay8d435402023-06-08 17:16:41 +0200111};
112
113&qspi {
114 bootph-pre-ram;
115};
116
117&qspi_clk_pins_a {
118 bootph-pre-ram;
119 pins {
120 bootph-pre-ram;
121 };
122};
123
124&qspi_bk1_pins_a {
125 bootph-pre-ram;
126 pins1 {
127 bootph-pre-ram;
128 };
129 pins2 {
130 bootph-pre-ram;
131 };
132};
133
134&qspi_bk2_pins_a {
135 bootph-pre-ram;
136 pins1 {
137 bootph-pre-ram;
138 };
139 pins2 {
140 bootph-pre-ram;
141 };
Patrick Delaunayddba40a2022-07-05 16:55:57 +0200142};