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