blob: 4666957686464c30a4fbbeeb780a7836b3d8f004 [file] [log] [blame]
Jan Kiszka4a88eb22021-09-18 08:17:52 +02001// SPDX-License-Identifier: GPL-2.0
2/*
Su Baocheng0dcd3372023-02-28 19:19:09 +01003 * Copyright (c) Siemens AG, 2020-2022
Jan Kiszka4a88eb22021-09-18 08:17:52 +02004 *
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>;
Su Baocheng0dcd3372023-02-28 19:19:09 +010020#ifdef CONFIG_TARGET_IOT2050_A53_PG1
21 filename = "seboot_pg1.bin";
22#else
23 filename = "seboot_pg2.bin";
24#endif
Ivan Mikhaylove1953e42021-12-09 16:10:53 +000025 missing-msg = "iot2050-seboot";
Jan Kiszka4a88eb22021-09-18 08:17:52 +020026 };
27
28 blob@0x080000 {
29 offset = <0x080000>;
30 filename = "tispl.bin";
31 };
32
33 fit@0x280000 {
34 description = "U-Boot for IOT2050";
Su Baocheng8999cc52023-02-28 19:19:10 +010035 fit,fdt-list = "of-list";
Jan Kiszka4a88eb22021-09-18 08:17:52 +020036 offset = <0x280000>;
37 images {
38 u-boot {
39 description = "U-Boot";
40 type = "standalone";
41 arch = "arm64";
42 os = "u-boot";
43 compression = "none";
44 load = <0x80800000>;
45 entry = <0x80800000>;
46 u-boot-nodtb {
47 };
48 };
49
Su Baocheng8999cc52023-02-28 19:19:10 +010050 @fdt-SEQ {
51 description = "fdt-NAME";
Jan Kiszka4a88eb22021-09-18 08:17:52 +020052 type = "flat_dt";
53 arch = "arm64";
54 compression = "none";
Jan Kiszka4a88eb22021-09-18 08:17:52 +020055 };
56
Jan Kiszka14a2e812021-09-18 08:17:56 +020057#ifdef CONFIG_WDT_K3_RTI_FW_FILE
58 k3-rti-wdt-firmware {
59 type = "firmware";
60 load = <0x82000000>;
61 arch = "arm";
62 compression = "none";
63 blob-ext {
64 filename = CONFIG_WDT_K3_RTI_FW_FILE;
65 missing-msg = "k3-rti-wdt-firmware";
66 };
67 };
68#endif
Jan Kiszka4a88eb22021-09-18 08:17:52 +020069 };
70
71 configurations {
Su Baocheng8999cc52023-02-28 19:19:10 +010072 default = "@config-DEFAULT-SEQ";
73 @config-SEQ {
74 description = "NAME";
Jan Kiszka4a88eb22021-09-18 08:17:52 +020075 firmware = "u-boot";
Su Baocheng8999cc52023-02-28 19:19:10 +010076 fdt = "fdt-SEQ";
Jan Kiszka14a2e812021-09-18 08:17:56 +020077#ifdef CONFIG_WDT_K3_RTI_FW_FILE
78 loadables = "k3-rti-wdt-firmware";
79#endif
Jan Kiszka4a88eb22021-09-18 08:17:52 +020080 };
Jan Kiszka4a88eb22021-09-18 08:17:52 +020081 };
82 };
83
84 /* primary env */
85 fill@0x680000 {
86 offset = <0x680000>;
87 size = <0x020000>;
88 fill-byte = [00];
89 };
90 /* secondary env */
91 fill@0x6a0000 {
92 offset = <0x6a0000>;
93 size = <0x020000>;
94 fill-byte = [00];
95 };
96
Su Baocheng0dcd3372023-02-28 19:19:09 +010097 /* sysfw, basic variant */
Jan Kiszka4a88eb22021-09-18 08:17:52 +020098 blob-ext@0x6c0000 {
99 offset = <0x6c0000>;
Su Baocheng0dcd3372023-02-28 19:19:09 +0100100#ifdef CONFIG_TARGET_IOT2050_A53_PG1
101 filename = "sysfw_sr1.itb";
102#else
103 filename = "sysfw_sr2.itb";
104#endif
Ivan Mikhaylove1953e42021-12-09 16:10:53 +0000105 missing-msg = "iot2050-sysfw";
Jan Kiszka4a88eb22021-09-18 08:17:52 +0200106 };
Su Baocheng0dcd3372023-02-28 19:19:09 +0100107 /* sysfw, advanced variant */
Jan Kiszka4a88eb22021-09-18 08:17:52 +0200108 blob-ext@0x740000 {
109 offset = <0x740000>;
Su Baocheng0dcd3372023-02-28 19:19:09 +0100110#ifdef CONFIG_TARGET_IOT2050_A53_PG1
111 filename = "sysfw_sr1.itb_HS";
112#else
Jan Kiszka4a88eb22021-09-18 08:17:52 +0200113 filename = "sysfw_sr2.itb_HS";
Su Baocheng0dcd3372023-02-28 19:19:09 +0100114#endif
Ivan Mikhaylove1953e42021-12-09 16:10:53 +0000115 missing-msg = "iot2050-sysfw";
Jan Kiszka4a88eb22021-09-18 08:17:52 +0200116 };
117 };
118};