Ariel D'Alessandro | 93add53 | 2022-04-12 10:31:38 -0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2021 Collabora Ltd. |
| 4 | * Copyright 2021 BSH Hausgeraete GmbH |
| 5 | */ |
| 6 | |
| 7 | / { |
| 8 | binman: binman { |
| 9 | multiple-images; |
| 10 | }; |
| 11 | |
| 12 | wdt-reboot { |
| 13 | compatible = "wdt-reboot"; |
| 14 | wdt = <&wdog1>; |
| 15 | u-boot,dm-spl; |
| 16 | }; |
| 17 | }; |
| 18 | |
| 19 | &{/soc@0} { |
| 20 | u-boot,dm-pre-reloc; |
| 21 | u-boot,dm-spl; |
| 22 | }; |
| 23 | |
| 24 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} { |
| 25 | u-boot,dm-spl; |
| 26 | }; |
| 27 | |
| 28 | &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} { |
| 29 | u-boot,dm-spl; |
| 30 | }; |
| 31 | |
| 32 | &aips1 { |
| 33 | u-boot,dm-pre-reloc; |
| 34 | u-boot,dm-spl; |
| 35 | }; |
| 36 | |
| 37 | &aips3 { |
| 38 | u-boot,dm-spl; |
| 39 | }; |
| 40 | |
| 41 | &aips4 { |
| 42 | u-boot,dm-spl; |
| 43 | }; |
| 44 | |
| 45 | &clk { |
| 46 | u-boot,dm-pre-reloc; |
| 47 | u-boot,dm-spl; |
| 48 | /delete-property/ assigned-clocks; |
| 49 | /delete-property/ assigned-clock-parents; |
| 50 | /delete-property/ assigned-clock-rates; |
| 51 | }; |
| 52 | |
| 53 | &gpio1 { |
| 54 | u-boot,dm-spl; |
| 55 | }; |
| 56 | |
| 57 | &gpio2 { |
| 58 | u-boot,dm-spl; |
| 59 | }; |
| 60 | |
| 61 | &gpio4 { |
| 62 | u-boot,dm-spl; |
| 63 | }; |
| 64 | |
| 65 | &i2c1 { |
| 66 | u-boot,dm-spl; |
| 67 | }; |
| 68 | |
| 69 | &iomuxc { |
| 70 | u-boot,dm-spl; |
| 71 | }; |
| 72 | |
| 73 | &osc_24m { |
| 74 | u-boot,dm-pre-reloc; |
| 75 | u-boot,dm-spl; |
| 76 | }; |
| 77 | |
| 78 | &pinctrl_i2c1 { |
| 79 | u-boot,dm-spl; |
| 80 | }; |
| 81 | |
| 82 | &pinctrl_pmic { |
| 83 | u-boot,dm-spl; |
| 84 | }; |
| 85 | |
| 86 | &pinctrl_uart4 { |
| 87 | u-boot,dm-spl; |
| 88 | }; |
| 89 | |
| 90 | &pinctrl_wdog { |
| 91 | u-boot,dm-spl; |
| 92 | }; |
| 93 | |
| 94 | &uart4 { |
| 95 | u-boot,dm-spl; |
| 96 | }; |
| 97 | |
| 98 | &wdog1 { |
| 99 | u-boot,dm-spl; |
| 100 | }; |
| 101 | |
| 102 | &binman { |
| 103 | u-boot-spl-ddr { |
| 104 | align = <4>; |
| 105 | align-size = <4>; |
| 106 | filename = "u-boot-spl-ddr.bin"; |
| 107 | pad-byte = <0xff>; |
| 108 | |
| 109 | u-boot-spl { |
| 110 | align-end = <4>; |
| 111 | filename = "u-boot-spl.bin"; |
| 112 | }; |
| 113 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 114 | ddr-1d-imem-fw { |
Ariel D'Alessandro | 93add53 | 2022-04-12 10:31:38 -0300 | [diff] [blame] | 115 | filename = "ddr3_imem_1d.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 116 | align-end = <4>; |
Ariel D'Alessandro | 93add53 | 2022-04-12 10:31:38 -0300 | [diff] [blame] | 117 | type = "blob-ext"; |
| 118 | }; |
| 119 | |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 120 | ddr-1d-dmem-fw { |
Ariel D'Alessandro | 93add53 | 2022-04-12 10:31:38 -0300 | [diff] [blame] | 121 | filename = "ddr3_dmem_1d.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 122 | align-end = <4>; |
Ariel D'Alessandro | 93add53 | 2022-04-12 10:31:38 -0300 | [diff] [blame] | 123 | type = "blob-ext"; |
| 124 | }; |
| 125 | }; |
| 126 | |
| 127 | spl { |
| 128 | filename = "spl.bin"; |
| 129 | |
| 130 | mkimage { |
| 131 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; |
| 132 | |
| 133 | blob { |
| 134 | filename = "u-boot-spl-ddr.bin"; |
| 135 | }; |
| 136 | }; |
| 137 | }; |
| 138 | |
| 139 | itb { |
| 140 | filename = "u-boot.itb"; |
| 141 | |
| 142 | fit { |
| 143 | description = "Configuration to load ATF before U-Boot"; |
| 144 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 145 | fit,fdt-list = "of-list"; |
| 146 | #address-cells = <1>; |
| 147 | |
| 148 | images { |
| 149 | uboot { |
| 150 | arch = "arm64"; |
| 151 | compression = "none"; |
| 152 | description = "U-Boot (64-bit)"; |
| 153 | load = <CONFIG_SYS_TEXT_BASE>; |
| 154 | type = "standalone"; |
| 155 | |
| 156 | uboot_blob { |
| 157 | filename = "u-boot-nodtb.bin"; |
| 158 | type = "blob-ext"; |
| 159 | }; |
| 160 | }; |
| 161 | |
| 162 | atf { |
| 163 | arch = "arm64"; |
| 164 | compression = "none"; |
| 165 | description = "ARM Trusted Firmware"; |
| 166 | entry = <0x960000>; |
| 167 | load = <0x960000>; |
| 168 | type = "firmware"; |
| 169 | |
| 170 | atf_blob { |
| 171 | filename = "bl31.bin"; |
| 172 | type = "atf-bl31"; |
| 173 | }; |
| 174 | }; |
| 175 | |
| 176 | binman_fip: fip { |
| 177 | arch = "arm64"; |
| 178 | compression = "none"; |
| 179 | description = "Trusted Firmware FIP"; |
| 180 | load = <0x40310000>; |
| 181 | type = "firmware"; |
| 182 | }; |
| 183 | |
| 184 | @fdt-SEQ { |
| 185 | compression = "none"; |
| 186 | description = "NAME"; |
| 187 | type = "flat_dt"; |
| 188 | |
| 189 | uboot_fdt_blob { |
| 190 | filename = "u-boot.dtb"; |
| 191 | type = "blob-ext"; |
| 192 | }; |
| 193 | }; |
| 194 | }; |
| 195 | |
| 196 | configurations { |
| 197 | default = "@config-DEFAULT-SEQ"; |
| 198 | |
| 199 | binman_configuration: @config-SEQ { |
| 200 | description = "NAME"; |
| 201 | fdt = "fdt-SEQ"; |
| 202 | firmware = "uboot"; |
| 203 | loadables = "atf"; |
| 204 | }; |
| 205 | }; |
| 206 | }; |
| 207 | }; |
| 208 | |
| 209 | imx-boot { |
| 210 | filename = "flash.bin"; |
| 211 | pad-byte = <0x00>; |
| 212 | |
| 213 | spl { |
| 214 | filename = "spl.bin"; |
| 215 | offset = <0x0>; |
| 216 | type = "blob-ext"; |
| 217 | }; |
| 218 | |
| 219 | binman_uboot: uboot { |
| 220 | filename = "u-boot.itb"; |
| 221 | offset = <0x58000>; |
| 222 | type = "blob-ext"; |
| 223 | }; |
| 224 | }; |
| 225 | }; |