Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2019 NXP |
| 4 | */ |
| 5 | |
| 6 | / { |
| 7 | binman: binman { |
| 8 | multiple-images; |
| 9 | }; |
| 10 | }; |
| 11 | |
Peng Fan | a214c69 | 2022-05-05 15:43:39 +0800 | [diff] [blame] | 12 | &pinctrl_uart1 { |
| 13 | u-boot,dm-spl; |
| 14 | }; |
| 15 | |
| 16 | &uart1 { |
| 17 | u-boot,dm-spl; |
| 18 | }; |
| 19 | |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 20 | &binman { |
| 21 | u-boot-spl-ddr { |
| 22 | filename = "u-boot-spl-ddr.bin"; |
| 23 | pad-byte = <0xff>; |
| 24 | align-size = <4>; |
| 25 | align = <4>; |
| 26 | |
| 27 | u-boot-spl { |
| 28 | align-end = <4>; |
| 29 | }; |
| 30 | |
| 31 | blob_1: blob-ext@1 { |
| 32 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
| 33 | size = <0x8000>; |
| 34 | }; |
| 35 | |
| 36 | blob_2: blob-ext@2 { |
| 37 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
| 38 | size = <0x4000>; |
| 39 | }; |
| 40 | |
| 41 | blob_3: blob-ext@3 { |
| 42 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
| 43 | size = <0x8000>; |
| 44 | }; |
| 45 | |
| 46 | blob_4: blob-ext@4 { |
| 47 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
| 48 | size = <0x4000>; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | flash { |
| 53 | mkimage { |
| 54 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; |
| 55 | |
| 56 | blob { |
| 57 | filename = "u-boot-spl-ddr.bin"; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | itb { |
| 63 | filename = "u-boot.itb"; |
| 64 | |
| 65 | fit { |
| 66 | description = "Configuration to load ATF before U-Boot"; |
| 67 | #address-cells = <1>; |
| 68 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
| 69 | |
| 70 | images { |
| 71 | uboot { |
| 72 | description = "U-Boot (64-bit)"; |
| 73 | type = "standalone"; |
| 74 | arch = "arm64"; |
| 75 | compression = "none"; |
| 76 | load = <CONFIG_SYS_TEXT_BASE>; |
| 77 | |
| 78 | uboot_blob: blob-ext { |
| 79 | filename = "u-boot-nodtb.bin"; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | atf { |
| 84 | description = "ARM Trusted Firmware"; |
| 85 | type = "firmware"; |
| 86 | arch = "arm64"; |
| 87 | compression = "none"; |
| 88 | load = <0x910000>; |
| 89 | entry = <0x910000>; |
| 90 | |
| 91 | atf_blob: blob-ext { |
| 92 | filename = "bl31.bin"; |
| 93 | }; |
| 94 | }; |
| 95 | |
| 96 | fdt { |
| 97 | description = "NAME"; |
| 98 | type = "flat_dt"; |
| 99 | compression = "none"; |
| 100 | |
| 101 | uboot_fdt_blob: blob-ext { |
| 102 | filename = "u-boot.dtb"; |
| 103 | }; |
| 104 | }; |
| 105 | }; |
| 106 | |
| 107 | configurations { |
| 108 | default = "conf"; |
| 109 | |
| 110 | conf { |
| 111 | description = "NAME"; |
| 112 | firmware = "uboot"; |
| 113 | loadables = "atf"; |
| 114 | fdt = "fdt"; |
| 115 | }; |
| 116 | }; |
| 117 | }; |
| 118 | }; |
| 119 | }; |