Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 3 | * Copyright 2019, 2021 NXP |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
Marek Vasut | 9583d62 | 2020-04-29 15:04:25 +0200 | [diff] [blame] | 6 | / { |
Peng Fan | 2d5706d | 2021-04-06 11:58:59 +0800 | [diff] [blame] | 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | |
Marek Vasut | 9583d62 | 2020-04-29 15:04:25 +0200 | [diff] [blame] | 11 | wdt-reboot { |
| 12 | compatible = "wdt-reboot"; |
| 13 | wdt = <&wdog1>; |
| 14 | u-boot,dm-spl; |
| 15 | }; |
Clement Faure | a93b0d9 | 2021-03-25 17:30:33 +0800 | [diff] [blame] | 16 | firmware { |
| 17 | optee { |
| 18 | compatible = "linaro,optee-tz"; |
| 19 | method = "smc"; |
| 20 | }; |
| 21 | }; |
Marek Vasut | 9583d62 | 2020-04-29 15:04:25 +0200 | [diff] [blame] | 22 | }; |
| 23 | |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 24 | &{/soc@0} { |
| 25 | u-boot,dm-pre-reloc; |
| 26 | u-boot,dm-spl; |
| 27 | }; |
| 28 | |
| 29 | &clk { |
| 30 | u-boot,dm-spl; |
| 31 | u-boot,dm-pre-reloc; |
Peng Fan | 80607bf | 2021-03-19 15:57:08 +0800 | [diff] [blame] | 32 | /delete-property/ assigned-clocks; |
| 33 | /delete-property/ assigned-clock-parents; |
| 34 | /delete-property/ assigned-clock-rates; |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | &osc_24m { |
| 38 | u-boot,dm-spl; |
| 39 | u-boot,dm-pre-reloc; |
| 40 | }; |
| 41 | |
| 42 | &aips1 { |
| 43 | u-boot,dm-spl; |
| 44 | u-boot,dm-pre-reloc; |
| 45 | }; |
| 46 | |
| 47 | &aips2 { |
| 48 | u-boot,dm-spl; |
| 49 | }; |
| 50 | |
| 51 | &aips3 { |
| 52 | u-boot,dm-spl; |
| 53 | }; |
| 54 | |
| 55 | &iomuxc { |
| 56 | u-boot,dm-spl; |
| 57 | }; |
| 58 | |
| 59 | &pinctrl_reg_usdhc2_vmmc { |
| 60 | u-boot,dm-spl; |
| 61 | }; |
| 62 | |
Andrey Zhizhikin | cf51a55 | 2020-12-05 17:29:17 +0000 | [diff] [blame] | 63 | ®_usdhc2_vmmc { |
| 64 | u-boot,off-on-delay-us = <20000>; |
| 65 | }; |
| 66 | |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 67 | &pinctrl_uart2 { |
| 68 | u-boot,dm-spl; |
| 69 | }; |
| 70 | |
| 71 | &pinctrl_usdhc2_gpio { |
| 72 | u-boot,dm-spl; |
| 73 | }; |
| 74 | |
| 75 | &pinctrl_usdhc2 { |
| 76 | u-boot,dm-spl; |
| 77 | }; |
| 78 | |
| 79 | &pinctrl_usdhc3 { |
| 80 | u-boot,dm-spl; |
| 81 | }; |
| 82 | |
Peng Fan | 3f9158a | 2022-05-05 19:05:57 +0800 | [diff] [blame] | 83 | &pinctrl_wdog { |
| 84 | u-boot,dm-spl; |
| 85 | }; |
| 86 | |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 87 | &gpio1 { |
| 88 | u-boot,dm-spl; |
| 89 | }; |
| 90 | |
| 91 | &gpio2 { |
| 92 | u-boot,dm-spl; |
| 93 | }; |
| 94 | |
| 95 | &gpio3 { |
| 96 | u-boot,dm-spl; |
| 97 | }; |
| 98 | |
| 99 | &gpio4 { |
| 100 | u-boot,dm-spl; |
| 101 | }; |
| 102 | |
| 103 | &gpio5 { |
| 104 | u-boot,dm-spl; |
| 105 | }; |
| 106 | |
| 107 | &uart2 { |
| 108 | u-boot,dm-spl; |
| 109 | }; |
| 110 | |
Gaurav Jain | bce9acf | 2022-03-24 11:50:26 +0530 | [diff] [blame] | 111 | &crypto { |
| 112 | u-boot,dm-spl; |
| 113 | }; |
| 114 | |
| 115 | &sec_jr0 { |
| 116 | u-boot,dm-spl; |
| 117 | }; |
| 118 | |
| 119 | &sec_jr1 { |
| 120 | u-boot,dm-spl; |
| 121 | }; |
| 122 | |
| 123 | &sec_jr2 { |
| 124 | u-boot,dm-spl; |
| 125 | }; |
| 126 | |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 127 | &usdhc1 { |
| 128 | u-boot,dm-spl; |
| 129 | }; |
| 130 | |
| 131 | &usdhc2 { |
| 132 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 133 | sd-uhs-sdr104; |
| 134 | sd-uhs-ddr50; |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 135 | }; |
| 136 | |
| 137 | &usdhc3 { |
| 138 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 139 | mmc-hs400-1_8v; |
| 140 | mmc-hs400-enhanced-strobe; |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 141 | }; |
Marek Vasut | 9583d62 | 2020-04-29 15:04:25 +0200 | [diff] [blame] | 142 | |
| 143 | &wdog1 { |
| 144 | u-boot,dm-spl; |
| 145 | }; |
Peng Fan | 2d5706d | 2021-04-06 11:58:59 +0800 | [diff] [blame] | 146 | |
| 147 | &binman { |
| 148 | u-boot-spl-ddr { |
| 149 | filename = "u-boot-spl-ddr.bin"; |
| 150 | pad-byte = <0xff>; |
| 151 | align-size = <4>; |
| 152 | align = <4>; |
| 153 | |
| 154 | u-boot-spl { |
| 155 | align-end = <4>; |
| 156 | }; |
| 157 | |
| 158 | blob_1: blob-ext@1 { |
| 159 | filename = "ddr4_imem_1d_201810.bin"; |
| 160 | size = <0x8000>; |
| 161 | }; |
| 162 | |
| 163 | blob_2: blob-ext@2 { |
| 164 | filename = "ddr4_dmem_1d_201810.bin"; |
| 165 | size = <0x4000>; |
| 166 | }; |
| 167 | |
| 168 | blob_3: blob-ext@3 { |
| 169 | filename = "ddr4_imem_2d_201810.bin"; |
| 170 | size = <0x8000>; |
| 171 | }; |
| 172 | |
| 173 | blob_4: blob-ext@4 { |
| 174 | filename = "ddr4_dmem_2d_201810.bin"; |
| 175 | size = <0x4000>; |
| 176 | }; |
| 177 | }; |
| 178 | |
| 179 | |
Andrey Zhizhikin | 08dbb90 | 2022-01-17 23:04:07 +0100 | [diff] [blame] | 180 | spl { |
| 181 | filename = "spl.bin"; |
| 182 | |
Peng Fan | 2d5706d | 2021-04-06 11:58:59 +0800 | [diff] [blame] | 183 | mkimage { |
| 184 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; |
| 185 | |
| 186 | blob { |
| 187 | filename = "u-boot-spl-ddr.bin"; |
| 188 | }; |
| 189 | }; |
| 190 | }; |
| 191 | |
| 192 | itb { |
| 193 | filename = "u-boot.itb"; |
| 194 | |
| 195 | fit { |
| 196 | description = "Configuration to load ATF before U-Boot"; |
| 197 | #address-cells = <1>; |
| 198 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 199 | |
| 200 | images { |
| 201 | uboot { |
| 202 | description = "U-Boot (64-bit)"; |
| 203 | type = "standalone"; |
| 204 | arch = "arm64"; |
| 205 | compression = "none"; |
| 206 | load = <CONFIG_SYS_TEXT_BASE>; |
| 207 | |
| 208 | uboot_blob: blob-ext { |
| 209 | filename = "u-boot-nodtb.bin"; |
| 210 | }; |
| 211 | }; |
| 212 | |
| 213 | atf { |
| 214 | description = "ARM Trusted Firmware"; |
| 215 | type = "firmware"; |
| 216 | arch = "arm64"; |
| 217 | compression = "none"; |
| 218 | load = <0x960000>; |
| 219 | entry = <0x960000>; |
| 220 | |
| 221 | atf_blob: blob-ext { |
| 222 | filename = "bl31.bin"; |
| 223 | }; |
| 224 | }; |
| 225 | |
| 226 | fdt { |
| 227 | description = "NAME"; |
| 228 | type = "flat_dt"; |
| 229 | compression = "none"; |
| 230 | |
| 231 | uboot_fdt_blob: blob-ext { |
| 232 | filename = "u-boot.dtb"; |
| 233 | }; |
| 234 | }; |
| 235 | }; |
| 236 | |
| 237 | configurations { |
| 238 | default = "conf"; |
| 239 | |
| 240 | conf { |
| 241 | description = "NAME"; |
| 242 | firmware = "uboot"; |
| 243 | loadables = "atf"; |
| 244 | fdt = "fdt"; |
| 245 | }; |
| 246 | }; |
| 247 | }; |
| 248 | }; |
Andrey Zhizhikin | 08dbb90 | 2022-01-17 23:04:07 +0100 | [diff] [blame] | 249 | |
| 250 | imx-boot { |
| 251 | filename = "flash.bin"; |
| 252 | pad-byte = <0x00>; |
| 253 | |
| 254 | spl: blob-ext@1 { |
| 255 | offset = <0x0>; |
| 256 | filename = "spl.bin"; |
| 257 | }; |
| 258 | |
| 259 | uboot: blob-ext@2 { |
| 260 | offset = <0x58000>; |
| 261 | filename = "u-boot.itb"; |
| 262 | }; |
| 263 | }; |
Peng Fan | 2d5706d | 2021-04-06 11:58:59 +0800 | [diff] [blame] | 264 | }; |