blob: 27058370cccbb0592e09419c558cb15b85e278ad [file] [log] [blame]
Jan Kiszkac3a87952021-09-18 08:17:52 +02001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) Siemens AG, 2020-2021
4 *
5 * Authors:
6 * Jan Kiszka <jan.kiszka@siemens.com>
7 * Chao Zeng <chao.zeng@siemens.com>
8 */
9
10#include <config.h>
11
12/ {
13 binman {
14 filename = "flash.bin";
15 pad-byte = <0xff>;
16 size = <0x8c0000>;
17
18 blob-ext@0x000000 {
19 offset = <0x000000>;
20 filename = "tiboot3.bin";
Ivan Mikhaylov1c11b5e2021-12-09 16:10:53 +000021 missing-msg = "iot2050-seboot";
Jan Kiszkac3a87952021-09-18 08:17:52 +020022 };
23
24 blob@0x080000 {
25 offset = <0x080000>;
26 filename = "tispl.bin";
27 };
28
29 fit@0x280000 {
30 description = "U-Boot for IOT2050";
31 offset = <0x280000>;
32 images {
33 u-boot {
34 description = "U-Boot";
35 type = "standalone";
36 arch = "arm64";
37 os = "u-boot";
38 compression = "none";
39 load = <0x80800000>;
40 entry = <0x80800000>;
41 u-boot-nodtb {
42 };
43 };
44
45 fdt-iot2050-basic {
46 description = "k3-am6528-iot2050-basic.dtb";
47 type = "flat_dt";
48 arch = "arm64";
49 compression = "none";
50 blob {
51 filename = "arch/arm/dts/k3-am6528-iot2050-basic.dtb";
52 };
53 };
54
55 fdt-iot2050-basic-pg2 {
56 description = "k3-am6528-iot2050-basic-pg2.dtb";
57 type = "flat_dt";
58 arch = "arm64";
59 compression = "none";
60 blob {
61 filename = "arch/arm/dts/k3-am6528-iot2050-basic-pg2.dtb";
62 };
63 };
64
65 fdt-iot2050-advanced {
66 description = "k3-am6548-iot2050-advanced.dtb";
67 type = "flat_dt";
68 arch = "arm64";
69 compression = "none";
70 blob {
71 filename = "arch/arm/dts/k3-am6548-iot2050-advanced.dtb";
72 };
73 };
74
75 fdt-iot2050-advanced-pg2 {
76 description = "k3-am6548-iot2050-advanced-pg2.dtb";
77 type = "flat_dt";
78 arch = "arm64";
79 compression = "none";
80 blob {
81 filename = "arch/arm/dts/k3-am6548-iot2050-advanced-pg2.dtb";
82 };
83 };
Jan Kiszka26fa0632021-09-18 08:17:56 +020084
85#ifdef CONFIG_WDT_K3_RTI_FW_FILE
86 k3-rti-wdt-firmware {
87 type = "firmware";
88 load = <0x82000000>;
89 arch = "arm";
90 compression = "none";
91 blob-ext {
92 filename = CONFIG_WDT_K3_RTI_FW_FILE;
93 missing-msg = "k3-rti-wdt-firmware";
94 };
95 };
96#endif
Jan Kiszkac3a87952021-09-18 08:17:52 +020097 };
98
99 configurations {
100 default = "conf-iot2050-basic";
101
102 conf-iot2050-basic {
103 description = "iot2050-basic";
104 firmware = "u-boot";
105 fdt = "fdt-iot2050-basic";
Jan Kiszka26fa0632021-09-18 08:17:56 +0200106#ifdef CONFIG_WDT_K3_RTI_FW_FILE
107 loadables = "k3-rti-wdt-firmware";
108#endif
Jan Kiszkac3a87952021-09-18 08:17:52 +0200109 };
110
111 conf-iot2050-basic-pg2 {
112 description = "iot2050-basic-pg2";
113 firmware = "u-boot";
114 fdt = "fdt-iot2050-basic-pg2";
Jan Kiszka26fa0632021-09-18 08:17:56 +0200115#ifdef CONFIG_WDT_K3_RTI_FW_FILE
116 loadables = "k3-rti-wdt-firmware";
117#endif
Jan Kiszkac3a87952021-09-18 08:17:52 +0200118 };
119
120 conf-iot2050-advanced {
121 description = "iot2050-advanced";
122 firmware = "u-boot";
123 fdt = "fdt-iot2050-advanced";
Jan Kiszka26fa0632021-09-18 08:17:56 +0200124#ifdef CONFIG_WDT_K3_RTI_FW_FILE
125 loadables = "k3-rti-wdt-firmware";
126#endif
Jan Kiszkac3a87952021-09-18 08:17:52 +0200127 };
128
129 conf-iot2050-advanced-pg2 {
130 description = "iot2050-advanced-pg2";
131 firmware = "u-boot";
132 fdt = "fdt-iot2050-advanced-pg2";
Jan Kiszka26fa0632021-09-18 08:17:56 +0200133#ifdef CONFIG_WDT_K3_RTI_FW_FILE
134 loadables = "k3-rti-wdt-firmware";
135#endif
Jan Kiszkac3a87952021-09-18 08:17:52 +0200136 };
137 };
138 };
139
140 /* primary env */
141 fill@0x680000 {
142 offset = <0x680000>;
143 size = <0x020000>;
144 fill-byte = [00];
145 };
146 /* secondary env */
147 fill@0x6a0000 {
148 offset = <0x6a0000>;
149 size = <0x020000>;
150 fill-byte = [00];
151 };
152
153 /* PG1 sysfw, basic variant */
154 blob-ext@0x6c0000 {
155 offset = <0x6c0000>;
156 filename = "sysfw.itb";
Ivan Mikhaylov1c11b5e2021-12-09 16:10:53 +0000157 missing-msg = "iot2050-sysfw";
Jan Kiszkac3a87952021-09-18 08:17:52 +0200158 };
159 /* PG1 sysfw, advanced variant */
160 blob-ext@0x740000 {
161 offset = <0x740000>;
162 filename = "sysfw.itb_HS";
Ivan Mikhaylov1c11b5e2021-12-09 16:10:53 +0000163 missing-msg = "iot2050-sysfw";
Jan Kiszkac3a87952021-09-18 08:17:52 +0200164 };
165 /* PG2 sysfw, basic variant */
166 blob-ext@0x7c0000 {
167 offset = <0x7c0000>;
168 filename = "sysfw_sr2.itb";
Ivan Mikhaylov1c11b5e2021-12-09 16:10:53 +0000169 missing-msg = "iot2050-sysfw";
Jan Kiszkac3a87952021-09-18 08:17:52 +0200170 };
171 /* PG2 sysfw, advanced variant */
172 blob-ext@0x840000 {
173 offset = <0x840000>;
174 filename = "sysfw_sr2.itb_HS";
Ivan Mikhaylov1c11b5e2021-12-09 16:10:53 +0000175 missing-msg = "iot2050-sysfw";
Jan Kiszkac3a87952021-09-18 08:17:52 +0200176 };
177 };
178};