Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2019 NXP |
| 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 | |
| 83 | &gpio1 { |
| 84 | u-boot,dm-spl; |
| 85 | }; |
| 86 | |
| 87 | &gpio2 { |
| 88 | u-boot,dm-spl; |
| 89 | }; |
| 90 | |
| 91 | &gpio3 { |
| 92 | u-boot,dm-spl; |
| 93 | }; |
| 94 | |
| 95 | &gpio4 { |
| 96 | u-boot,dm-spl; |
| 97 | }; |
| 98 | |
| 99 | &gpio5 { |
| 100 | u-boot,dm-spl; |
| 101 | }; |
| 102 | |
| 103 | &uart2 { |
| 104 | u-boot,dm-spl; |
| 105 | }; |
| 106 | |
| 107 | &usdhc1 { |
| 108 | u-boot,dm-spl; |
| 109 | }; |
| 110 | |
| 111 | &usdhc2 { |
| 112 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 113 | sd-uhs-sdr104; |
| 114 | sd-uhs-ddr50; |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 115 | }; |
| 116 | |
| 117 | &usdhc3 { |
| 118 | u-boot,dm-spl; |
Andrey Zhizhikin | 9aa9598 | 2020-12-05 17:29:18 +0000 | [diff] [blame] | 119 | mmc-hs400-1_8v; |
| 120 | mmc-hs400-enhanced-strobe; |
Peng Fan | a181afe | 2019-09-16 03:09:55 +0000 | [diff] [blame] | 121 | }; |
Marek Vasut | 9583d62 | 2020-04-29 15:04:25 +0200 | [diff] [blame] | 122 | |
| 123 | &wdog1 { |
| 124 | u-boot,dm-spl; |
| 125 | }; |
Peng Fan | 2d5706d | 2021-04-06 11:58:59 +0800 | [diff] [blame] | 126 | |
| 127 | &binman { |
| 128 | u-boot-spl-ddr { |
| 129 | filename = "u-boot-spl-ddr.bin"; |
| 130 | pad-byte = <0xff>; |
| 131 | align-size = <4>; |
| 132 | align = <4>; |
| 133 | |
| 134 | u-boot-spl { |
| 135 | align-end = <4>; |
| 136 | }; |
| 137 | |
| 138 | blob_1: blob-ext@1 { |
| 139 | filename = "ddr4_imem_1d_201810.bin"; |
| 140 | size = <0x8000>; |
| 141 | }; |
| 142 | |
| 143 | blob_2: blob-ext@2 { |
| 144 | filename = "ddr4_dmem_1d_201810.bin"; |
| 145 | size = <0x4000>; |
| 146 | }; |
| 147 | |
| 148 | blob_3: blob-ext@3 { |
| 149 | filename = "ddr4_imem_2d_201810.bin"; |
| 150 | size = <0x8000>; |
| 151 | }; |
| 152 | |
| 153 | blob_4: blob-ext@4 { |
| 154 | filename = "ddr4_dmem_2d_201810.bin"; |
| 155 | size = <0x4000>; |
| 156 | }; |
| 157 | }; |
| 158 | |
| 159 | |
Andrey Zhizhikin | 08dbb90 | 2022-01-17 23:04:07 +0100 | [diff] [blame] | 160 | spl { |
| 161 | filename = "spl.bin"; |
| 162 | |
Peng Fan | 2d5706d | 2021-04-06 11:58:59 +0800 | [diff] [blame] | 163 | mkimage { |
| 164 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; |
| 165 | |
| 166 | blob { |
| 167 | filename = "u-boot-spl-ddr.bin"; |
| 168 | }; |
| 169 | }; |
| 170 | }; |
| 171 | |
| 172 | itb { |
| 173 | filename = "u-boot.itb"; |
| 174 | |
| 175 | fit { |
| 176 | description = "Configuration to load ATF before U-Boot"; |
| 177 | #address-cells = <1>; |
| 178 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 179 | |
| 180 | images { |
| 181 | uboot { |
| 182 | description = "U-Boot (64-bit)"; |
| 183 | type = "standalone"; |
| 184 | arch = "arm64"; |
| 185 | compression = "none"; |
| 186 | load = <CONFIG_SYS_TEXT_BASE>; |
| 187 | |
| 188 | uboot_blob: blob-ext { |
| 189 | filename = "u-boot-nodtb.bin"; |
| 190 | }; |
| 191 | }; |
| 192 | |
| 193 | atf { |
| 194 | description = "ARM Trusted Firmware"; |
| 195 | type = "firmware"; |
| 196 | arch = "arm64"; |
| 197 | compression = "none"; |
| 198 | load = <0x960000>; |
| 199 | entry = <0x960000>; |
| 200 | |
| 201 | atf_blob: blob-ext { |
| 202 | filename = "bl31.bin"; |
| 203 | }; |
| 204 | }; |
| 205 | |
| 206 | fdt { |
| 207 | description = "NAME"; |
| 208 | type = "flat_dt"; |
| 209 | compression = "none"; |
| 210 | |
| 211 | uboot_fdt_blob: blob-ext { |
| 212 | filename = "u-boot.dtb"; |
| 213 | }; |
| 214 | }; |
| 215 | }; |
| 216 | |
| 217 | configurations { |
| 218 | default = "conf"; |
| 219 | |
| 220 | conf { |
| 221 | description = "NAME"; |
| 222 | firmware = "uboot"; |
| 223 | loadables = "atf"; |
| 224 | fdt = "fdt"; |
| 225 | }; |
| 226 | }; |
| 227 | }; |
| 228 | }; |
Andrey Zhizhikin | 08dbb90 | 2022-01-17 23:04:07 +0100 | [diff] [blame] | 229 | |
| 230 | imx-boot { |
| 231 | filename = "flash.bin"; |
| 232 | pad-byte = <0x00>; |
| 233 | |
| 234 | spl: blob-ext@1 { |
| 235 | offset = <0x0>; |
| 236 | filename = "spl.bin"; |
| 237 | }; |
| 238 | |
| 239 | uboot: blob-ext@2 { |
| 240 | offset = <0x58000>; |
| 241 | filename = "u-boot.itb"; |
| 242 | }; |
| 243 | }; |
Peng Fan | 2d5706d | 2021-04-06 11:58:59 +0800 | [diff] [blame] | 244 | }; |