blob: 3ee0842e993fed666f46cf47c3f81c7fd42746fa [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
Jan Kiszkaa59bc022023-02-28 19:19:11 +010028 blob@0x180000 {
29 offset = <0x180000>;
Jan Kiszka4a88eb22021-09-18 08:17:52 +020030 filename = "tispl.bin";
31 };
32
Jan Kiszkaa59bc022023-02-28 19:19:11 +010033 fit@0x380000 {
Jan Kiszka4a88eb22021-09-18 08:17:52 +020034 description = "U-Boot for IOT2050";
Su Baocheng8999cc52023-02-28 19:19:10 +010035 fit,fdt-list = "of-list";
Jan Kiszkaa59bc022023-02-28 19:19:11 +010036 offset = <0x380000>;
Jan Kiszka4a88eb22021-09-18 08:17:52 +020037 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
Jan Kiszkaa59bc022023-02-28 19:19:11 +010097 /* OTP update command block */
98 fill@0x6c0000 {
Jan Kiszka4a88eb22021-09-18 08:17:52 +020099 offset = <0x6c0000>;
Jan Kiszkaa59bc022023-02-28 19:19:11 +0100100 size = <0x010000>;
101 fill-byte = [ff];
Jan Kiszka4a88eb22021-09-18 08:17:52 +0200102 };
103 };
104};