Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | /* |
| 3 | * Copyright (C) 2021 PHYTEC Messtechnik GmbH |
| 4 | * Author: Teresa Remmet <t.remmet@phytec.de> |
| 5 | */ |
| 6 | |
| 7 | / { |
| 8 | binman: binman { |
| 9 | multiple-images; |
| 10 | }; |
| 11 | }; |
| 12 | |
Marcel Ziswiler | cdfde79 | 2022-11-07 22:22:39 +0100 | [diff] [blame] | 13 | &soc { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 14 | u-boot,dm-pre-reloc; |
| 15 | u-boot,dm-spl; |
| 16 | }; |
| 17 | |
| 18 | &clk { |
| 19 | u-boot,dm-spl; |
| 20 | u-boot,dm-pre-reloc; |
Ye Li | f93d54d | 2021-08-17 14:32:04 +0800 | [diff] [blame] | 21 | /delete-property/ assigned-clocks; |
| 22 | /delete-property/ assigned-clock-parents; |
| 23 | /delete-property/ assigned-clock-rates; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | &osc_32k { |
| 27 | u-boot,dm-spl; |
| 28 | u-boot,dm-pre-reloc; |
| 29 | }; |
| 30 | |
| 31 | &osc_24m { |
| 32 | u-boot,dm-spl; |
| 33 | u-boot,dm-pre-reloc; |
| 34 | }; |
| 35 | |
| 36 | &aips1 { |
| 37 | u-boot,dm-spl; |
| 38 | u-boot,dm-pre-reloc; |
| 39 | }; |
| 40 | |
| 41 | &aips2 { |
| 42 | u-boot,dm-spl; |
| 43 | }; |
| 44 | |
| 45 | &aips3 { |
| 46 | u-boot,dm-spl; |
| 47 | }; |
| 48 | |
| 49 | &iomuxc { |
| 50 | u-boot,dm-spl; |
| 51 | }; |
| 52 | |
| 53 | &binman { |
| 54 | u-boot-spl-ddr { |
| 55 | filename = "u-boot-spl-ddr.bin"; |
| 56 | pad-byte = <0xff>; |
| 57 | align-size = <4>; |
| 58 | align = <4>; |
| 59 | |
| 60 | u-boot-spl { |
| 61 | align-end = <4>; |
| 62 | }; |
| 63 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 64 | ddr-1d-imem-fw { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 65 | filename = "lpddr4_pmu_train_1d_imem_202006.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 66 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 67 | align-end = <4>; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 68 | }; |
| 69 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 70 | ddr-1d-dmem-fw { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 71 | filename = "lpddr4_pmu_train_1d_dmem_202006.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 72 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 73 | align-end = <4>; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 74 | }; |
| 75 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 76 | ddr-2d-imem-fw { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 77 | filename = "lpddr4_pmu_train_2d_imem_202006.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 78 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 79 | align-end = <4>; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 80 | }; |
| 81 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 82 | ddr-2d-dmem-fw { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 83 | filename = "lpddr4_pmu_train_2d_dmem_202006.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 84 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 85 | align-end = <4>; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 86 | }; |
| 87 | }; |
| 88 | |
Teresa Remmet | 1d05e8e | 2021-08-26 10:54:09 +0200 | [diff] [blame] | 89 | spl { |
| 90 | filename = "spl.bin"; |
| 91 | |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 92 | mkimage { |
| 93 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000"; |
| 94 | |
| 95 | blob { |
| 96 | filename = "u-boot-spl-ddr.bin"; |
| 97 | }; |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | itb { |
| 102 | filename = "u-boot.itb"; |
| 103 | |
| 104 | fit { |
| 105 | description = "Configuration to load ATF before U-Boot"; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 106 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
Tim Harvey | 6504874 | 2022-04-15 13:41:54 -0700 | [diff] [blame] | 107 | fit,fdt-list = "of-list"; |
| 108 | #address-cells = <1>; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 109 | |
| 110 | images { |
| 111 | uboot { |
| 112 | description = "U-Boot (64-bit)"; |
| 113 | type = "standalone"; |
| 114 | arch = "arm64"; |
| 115 | compression = "none"; |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 116 | load = <CONFIG_TEXT_BASE>; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 117 | |
| 118 | uboot_blob: blob-ext { |
| 119 | filename = "u-boot-nodtb.bin"; |
| 120 | }; |
| 121 | }; |
| 122 | |
| 123 | atf { |
| 124 | description = "ARM Trusted Firmware"; |
| 125 | type = "firmware"; |
| 126 | arch = "arm64"; |
| 127 | compression = "none"; |
| 128 | load = <0x970000>; |
| 129 | entry = <0x970000>; |
| 130 | |
Marcel Ziswiler | d87d2f1 | 2022-04-08 10:06:56 +0200 | [diff] [blame] | 131 | atf_blob: atf-blob { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 132 | filename = "bl31.bin"; |
Marcel Ziswiler | d87d2f1 | 2022-04-08 10:06:56 +0200 | [diff] [blame] | 133 | type = "atf-bl31"; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 134 | }; |
| 135 | }; |
| 136 | |
Tim Harvey | 6504874 | 2022-04-15 13:41:54 -0700 | [diff] [blame] | 137 | @fdt-SEQ { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 138 | description = "NAME"; |
| 139 | type = "flat_dt"; |
| 140 | compression = "none"; |
| 141 | |
| 142 | uboot_fdt_blob: blob-ext { |
| 143 | filename = "u-boot.dtb"; |
| 144 | }; |
| 145 | }; |
| 146 | }; |
| 147 | |
| 148 | configurations { |
Tim Harvey | 6504874 | 2022-04-15 13:41:54 -0700 | [diff] [blame] | 149 | default = "@config-DEFAULT-SEQ"; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 150 | |
Tim Harvey | 6504874 | 2022-04-15 13:41:54 -0700 | [diff] [blame] | 151 | @config-SEQ { |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 152 | description = "NAME"; |
Tim Harvey | 6504874 | 2022-04-15 13:41:54 -0700 | [diff] [blame] | 153 | fdt = "fdt-SEQ"; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 154 | firmware = "uboot"; |
| 155 | loadables = "atf"; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 156 | }; |
| 157 | }; |
| 158 | }; |
| 159 | }; |
Teresa Remmet | 1d05e8e | 2021-08-26 10:54:09 +0200 | [diff] [blame] | 160 | |
| 161 | imx-boot { |
| 162 | filename = "flash.bin"; |
| 163 | pad-byte = <0x00>; |
| 164 | |
| 165 | spl: blob-ext@1 { |
| 166 | filename = "spl.bin"; |
| 167 | offset = <0x0>; |
| 168 | }; |
| 169 | |
| 170 | uboot: blob-ext@2 { |
| 171 | filename = "u-boot.itb"; |
| 172 | offset = <0x58000>; |
| 173 | }; |
| 174 | }; |
Teresa Remmet | 3e94fbd | 2021-07-07 12:57:57 +0000 | [diff] [blame] | 175 | }; |