blob: 65d5684973d85a8a5830142133d5de721beb7c99 [file] [log] [blame]
Michael Walle36ba7642020-10-15 23:08:57 +02001// SPDX-License-Identifier: GPL-2.0+
2
3#include <config.h>
4
5/ {
6 aliases {
7 mmc0 = &esdhc0;
8 mmc1 = &esdhc1;
9 i2c0 = &i2c0;
10 i2c1 = &i2c3;
11 i2c2 = &i2c4;
12 rtc0 = &rtc;
13 ethernet0 = &enetc0;
14 ethernet1 = &enetc1;
15 ethernet2 = &enetc2;
16 ethernet3 = &enetc6;
17 };
18
Michael Wallef5253fb2020-11-18 17:46:01 +010019 binman: binman {
Michael Walle36ba7642020-10-15 23:08:57 +020020 filename = "u-boot.rom";
21 pad-byte = <0xff>;
22
23 u-boot-spl {
24 };
25
26 fit {
27 offset = <CONFIG_SPL_PAD_TO>;
28 description = "FIT image with multiple configurations";
29
30 images {
31 uboot {
32 description = "U-Boot";
33 type = "firmware";
34 os = "u-boot";
35 arch = "arm";
36 compression = "none";
37 load = <CONFIG_SYS_TEXT_BASE>;
38
39 u-boot-nodtb {
40 };
41 };
42
43 fdt-1 {
44 description = "fsl-ls1028a-kontron-sl28";
45 type = "flat_dt";
46 arch = "arm";
47 compression = "none";
48
49 blob {
50 filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28.dtb";
51 };
52 };
53
54 fdt-2 {
55 description = "fsl-ls1028a-kontron-sl28-var3";
56 type = "flat_dt";
57 arch = "arm";
58 compression = "none";
59
60 blob {
61 filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28-var3.dtb";
62 };
63 };
64
65 fdt-3 {
66 description = "fsl-ls1028a-kontron-sl28-var4";
67 type = "flat_dt";
68 arch = "arm";
69 compression = "none";
70
71 blob {
72 filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28-var4.dtb";
73 };
74 };
75 };
76
77 configurations {
78 default = "conf-1";
79
80 conf-1 {
81 description = "fsl-ls1028a-kontron-sl28";
82 firmware = "uboot";
Michael Walle36ba7642020-10-15 23:08:57 +020083 fdt = "fdt-1";
84 };
85
86 conf-2 {
87 description = "fsl-ls1028a-kontron-sl28-var3";
88 firmware = "uboot";
Michael Walle36ba7642020-10-15 23:08:57 +020089 fdt = "fdt-2";
90 };
91
92 conf-3 {
93 description = "fsl-ls1028a-kontron-sl28-var4";
94 firmware = "uboot";
Michael Walle36ba7642020-10-15 23:08:57 +020095 fdt = "fdt-3";
96 };
97 };
98 };
99 };
100};
101
Michael Wallef5253fb2020-11-18 17:46:01 +0100102#ifdef CONFIG_SL28_SPL_LOADS_ATF_BL31
103&binman {
104 fit {
105 images {
106 bl31 {
107 description = "ARM Trusted Firmware (bl31)";
108 type = "firmware";
109 arch = "arm";
110 os = "arm-trusted-firmware";
111 compression = "none";
112 load = <CONFIG_SL28_BL31_ENTRY_ADDR>;
113 entry = <CONFIG_SL28_BL31_ENTRY_ADDR>;
114
115 blob-ext {
116 filename = "bl31.bin";
117 };
118 };
119 };
120
121 configurations {
122 conf-1 {
123 firmware = "bl31";
124 loadables = "uboot";
125 };
126
127 conf-2 {
128 firmware = "bl31";
129 loadables = "uboot";
130 };
131
132 conf-3 {
133 firmware = "bl31";
134 loadables = "uboot";
135 };
136 };
137 };
138};
139#endif
140
Michael Walle76427fb2020-11-18 17:46:02 +0100141#ifdef CONFIG_SL28_SPL_LOADS_OPTEE_BL32
142&binman {
143 fit {
144 images {
145 bl32 {
146 description = "OP-TEE Trusted OS (bl32)";
147 type = "firmware";
148 arch = "arm";
149 os = "tee";
150 compression = "none";
151 load = <CONFIG_SL28_BL32_ENTRY_ADDR>;
152 entry = <CONFIG_SL28_BL32_ENTRY_ADDR>;
153
154 blob-ext {
155 filename = "tee.bin";
156 };
157 };
158 };
159
160 configurations {
161 conf-1 {
162 loadables = "uboot", "bl32";
163 };
164
165 conf-2 {
166 loadables = "uboot", "bl32";
167 };
168
169 conf-3 {
170 loadables = "uboot", "bl32";
171 };
172 };
173 };
174};
175#endif
176
Michael Walle36ba7642020-10-15 23:08:57 +0200177&i2c0 {
178 rtc: rtc@32 {
179 };
180};
181
182&fspi {
183 u-boot,dm-pre-reloc;
184 flash@0 {
185 u-boot,dm-pre-reloc;
186 };
187};
188
189&dspi2 {
190 u-boot,dm-pre-reloc;
191};
192
193&esdhc0 {
194 u-boot,dm-pre-reloc;
195};
196
197&esdhc1 {
198 u-boot,dm-pre-reloc;
199};
200
201&serial0 {
202 u-boot,dm-pre-reloc;
203};
204
205&sysclk {
206 u-boot,dm-pre-reloc;
207};