Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2021 NXP | ||||
4 | */ | ||||
5 | |||||
6 | / { | ||||
7 | binman: binman { | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 8 | }; |
9 | |||||
10 | }; | ||||
11 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 12 | &soc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 13 | bootph-pre-ram; |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 14 | }; |
15 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 16 | &aips1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 17 | bootph-pre-ram; |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 18 | }; |
19 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 20 | &aips2 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 21 | bootph-pre-ram; |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 22 | }; |
23 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 24 | &aips3 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 25 | bootph-pre-ram; |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 26 | }; |
27 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 28 | &aips4 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 29 | bootph-pre-ram; |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 30 | }; |
31 | |||||
32 | &iomuxc { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 33 | bootph-pre-ram; |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 34 | }; |
35 | |||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 36 | &binman { |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 37 | filename = "flash.bin"; |
38 | section { | ||||
39 | pad-byte = <0x00>; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 40 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 41 | nxp-imx8mimage { |
42 | filename = "u-boot-spl-mkimage.bin"; | ||||
43 | nxp,boot-from = "sd"; | ||||
44 | nxp,rom-version = <1>; | ||||
45 | nxp,loader-address = <CONFIG_SPL_TEXT_BASE>; | ||||
46 | args; /* Needed by mkimage etype superclass */ | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 47 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 48 | section { |
49 | align = <4>; | ||||
50 | align-size = <4>; | ||||
51 | filename = "u-boot-spl-ddr.bin"; | ||||
52 | pad-byte = <0xff>; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 53 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 54 | u-boot-spl { |
55 | align-end = <4>; | ||||
56 | filename = "u-boot-spl.bin"; | ||||
57 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 58 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 59 | ddr-1d-imem-fw { |
60 | filename = "lpddr4_pmu_train_1d_imem.bin"; | ||||
61 | align-end = <4>; | ||||
62 | type = "blob-ext"; | ||||
63 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 64 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 65 | ddr-1d-dmem-fw { |
66 | filename = "lpddr4_pmu_train_1d_dmem.bin"; | ||||
67 | align-end = <4>; | ||||
68 | type = "blob-ext"; | ||||
69 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 70 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 71 | ddr-2d-imem-fw { |
72 | filename = "lpddr4_pmu_train_2d_imem.bin"; | ||||
73 | align-end = <4>; | ||||
74 | type = "blob-ext"; | ||||
75 | }; | ||||
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 76 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 77 | ddr-2d-dmem-fw { |
78 | filename = "lpddr4_pmu_train_2d_dmem.bin"; | ||||
79 | align-end = <4>; | ||||
80 | type = "blob-ext"; | ||||
81 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 82 | |
Marek Vasut | f44c738 | 2024-04-26 01:00:37 +0200 | [diff] [blame^] | 83 | signed-hdmi-imx8m { |
84 | filename = "signed_hdmi_imx8m.bin"; | ||||
85 | type = "blob-ext"; | ||||
86 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 87 | }; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 88 | }; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 89 | |
90 | fit { | ||||
91 | description = "Configuration to load ATF before U-Boot"; | ||||
Marek Vasut | a7416eb | 2023-05-28 23:00:30 +0200 | [diff] [blame] | 92 | #ifndef CONFIG_IMX_HAB |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 93 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
Marek Vasut | a7416eb | 2023-05-28 23:00:30 +0200 | [diff] [blame] | 94 | #endif |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 95 | #address-cells = <1>; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 96 | |
97 | images { | ||||
98 | uboot { | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 99 | arch = "arm64"; |
100 | compression = "none"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 101 | description = "U-Boot (64-bit)"; |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 102 | load = <CONFIG_TEXT_BASE>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 103 | type = "standalone"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 104 | |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 105 | uboot-blob { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 106 | filename = "u-boot-nodtb.bin"; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 107 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 108 | }; |
109 | }; | ||||
110 | |||||
Marek Vasut | 1de0eb1 | 2022-12-22 01:46:37 +0100 | [diff] [blame] | 111 | #ifndef CONFIG_ARMV8_PSCI |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 112 | atf { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 113 | arch = "arm64"; |
114 | compression = "none"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 115 | description = "ARM Trusted Firmware"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 116 | entry = <0x910000>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 117 | load = <0x910000>; |
118 | type = "firmware"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 119 | |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 120 | atf-blob { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 121 | filename = "bl31.bin"; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 122 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 123 | }; |
124 | }; | ||||
Marek Vasut | 1de0eb1 | 2022-12-22 01:46:37 +0100 | [diff] [blame] | 125 | #endif |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 126 | |
127 | fdt { | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 128 | compression = "none"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 129 | description = "NAME"; |
130 | type = "flat_dt"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 131 | |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 132 | uboot-fdt-blob { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 133 | filename = "u-boot.dtb"; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 134 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 135 | }; |
136 | }; | ||||
137 | }; | ||||
138 | |||||
139 | configurations { | ||||
140 | default = "conf"; | ||||
141 | |||||
142 | conf { | ||||
143 | description = "NAME"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 144 | fdt = "fdt"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 145 | firmware = "uboot"; |
Marek Vasut | 1de0eb1 | 2022-12-22 01:46:37 +0100 | [diff] [blame] | 146 | #ifndef CONFIG_ARMV8_PSCI |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 147 | loadables = "atf"; |
Marek Vasut | 1de0eb1 | 2022-12-22 01:46:37 +0100 | [diff] [blame] | 148 | #endif |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 149 | }; |
150 | }; | ||||
151 | }; | ||||
152 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 153 | }; |