Jan Kiszka | 4a88eb2 | 2021-09-18 08:17:52 +0200 | [diff] [blame^] | 1 | // 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"; |
| 21 | }; |
| 22 | |
| 23 | blob@0x080000 { |
| 24 | offset = <0x080000>; |
| 25 | filename = "tispl.bin"; |
| 26 | }; |
| 27 | |
| 28 | fit@0x280000 { |
| 29 | description = "U-Boot for IOT2050"; |
| 30 | offset = <0x280000>; |
| 31 | images { |
| 32 | u-boot { |
| 33 | description = "U-Boot"; |
| 34 | type = "standalone"; |
| 35 | arch = "arm64"; |
| 36 | os = "u-boot"; |
| 37 | compression = "none"; |
| 38 | load = <0x80800000>; |
| 39 | entry = <0x80800000>; |
| 40 | u-boot-nodtb { |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | fdt-iot2050-basic { |
| 45 | description = "k3-am6528-iot2050-basic.dtb"; |
| 46 | type = "flat_dt"; |
| 47 | arch = "arm64"; |
| 48 | compression = "none"; |
| 49 | blob { |
| 50 | filename = "arch/arm/dts/k3-am6528-iot2050-basic.dtb"; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | fdt-iot2050-basic-pg2 { |
| 55 | description = "k3-am6528-iot2050-basic-pg2.dtb"; |
| 56 | type = "flat_dt"; |
| 57 | arch = "arm64"; |
| 58 | compression = "none"; |
| 59 | blob { |
| 60 | filename = "arch/arm/dts/k3-am6528-iot2050-basic-pg2.dtb"; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | fdt-iot2050-advanced { |
| 65 | description = "k3-am6548-iot2050-advanced.dtb"; |
| 66 | type = "flat_dt"; |
| 67 | arch = "arm64"; |
| 68 | compression = "none"; |
| 69 | blob { |
| 70 | filename = "arch/arm/dts/k3-am6548-iot2050-advanced.dtb"; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | fdt-iot2050-advanced-pg2 { |
| 75 | description = "k3-am6548-iot2050-advanced-pg2.dtb"; |
| 76 | type = "flat_dt"; |
| 77 | arch = "arm64"; |
| 78 | compression = "none"; |
| 79 | blob { |
| 80 | filename = "arch/arm/dts/k3-am6548-iot2050-advanced-pg2.dtb"; |
| 81 | }; |
| 82 | }; |
| 83 | }; |
| 84 | |
| 85 | configurations { |
| 86 | default = "conf-iot2050-basic"; |
| 87 | |
| 88 | conf-iot2050-basic { |
| 89 | description = "iot2050-basic"; |
| 90 | firmware = "u-boot"; |
| 91 | fdt = "fdt-iot2050-basic"; |
| 92 | }; |
| 93 | |
| 94 | conf-iot2050-basic-pg2 { |
| 95 | description = "iot2050-basic-pg2"; |
| 96 | firmware = "u-boot"; |
| 97 | fdt = "fdt-iot2050-basic-pg2"; |
| 98 | }; |
| 99 | |
| 100 | conf-iot2050-advanced { |
| 101 | description = "iot2050-advanced"; |
| 102 | firmware = "u-boot"; |
| 103 | fdt = "fdt-iot2050-advanced"; |
| 104 | }; |
| 105 | |
| 106 | conf-iot2050-advanced-pg2 { |
| 107 | description = "iot2050-advanced-pg2"; |
| 108 | firmware = "u-boot"; |
| 109 | fdt = "fdt-iot2050-advanced-pg2"; |
| 110 | }; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | /* primary env */ |
| 115 | fill@0x680000 { |
| 116 | offset = <0x680000>; |
| 117 | size = <0x020000>; |
| 118 | fill-byte = [00]; |
| 119 | }; |
| 120 | /* secondary env */ |
| 121 | fill@0x6a0000 { |
| 122 | offset = <0x6a0000>; |
| 123 | size = <0x020000>; |
| 124 | fill-byte = [00]; |
| 125 | }; |
| 126 | |
| 127 | /* PG1 sysfw, basic variant */ |
| 128 | blob-ext@0x6c0000 { |
| 129 | offset = <0x6c0000>; |
| 130 | filename = "sysfw.itb"; |
| 131 | }; |
| 132 | /* PG1 sysfw, advanced variant */ |
| 133 | blob-ext@0x740000 { |
| 134 | offset = <0x740000>; |
| 135 | filename = "sysfw.itb_HS"; |
| 136 | }; |
| 137 | /* PG2 sysfw, basic variant */ |
| 138 | blob-ext@0x7c0000 { |
| 139 | offset = <0x7c0000>; |
| 140 | filename = "sysfw_sr2.itb"; |
| 141 | }; |
| 142 | /* PG2 sysfw, advanced variant */ |
| 143 | blob-ext@0x840000 { |
| 144 | offset = <0x840000>; |
| 145 | filename = "sysfw_sr2.itb_HS"; |
| 146 | }; |
| 147 | }; |
| 148 | }; |