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 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 31 | ddr-1d-imem-fw { |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 32 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 33 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 34 | align-end = <4>; |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 35 | }; |
36 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 37 | ddr-1d-dmem-fw { |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 38 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 39 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 40 | align-end = <4>; |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 41 | }; |
42 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 43 | ddr-2d-imem-fw { |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 44 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 45 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 46 | align-end = <4>; |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 47 | }; |
48 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 49 | ddr-2d-dmem-fw { |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 50 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 51 | type = "blob-ext"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 52 | align-end = <4>; |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 53 | }; |
54 | }; | ||||
55 | |||||
56 | flash { | ||||
57 | mkimage { | ||||
58 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; | ||||
59 | |||||
60 | blob { | ||||
61 | filename = "u-boot-spl-ddr.bin"; | ||||
62 | }; | ||||
63 | }; | ||||
64 | }; | ||||
65 | |||||
66 | itb { | ||||
67 | filename = "u-boot.itb"; | ||||
68 | |||||
69 | fit { | ||||
70 | description = "Configuration to load ATF before U-Boot"; | ||||
71 | #address-cells = <1>; | ||||
72 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; | ||||
73 | |||||
74 | images { | ||||
75 | uboot { | ||||
76 | description = "U-Boot (64-bit)"; | ||||
77 | type = "standalone"; | ||||
78 | arch = "arm64"; | ||||
79 | compression = "none"; | ||||
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 80 | load = <CONFIG_TEXT_BASE>; |
Ilko Iliev | 2b4ed30 | 2021-04-23 09:45:52 +0200 | [diff] [blame] | 81 | |
82 | uboot_blob: blob-ext { | ||||
83 | filename = "u-boot-nodtb.bin"; | ||||
84 | }; | ||||
85 | }; | ||||
86 | |||||
87 | atf { | ||||
88 | description = "ARM Trusted Firmware"; | ||||
89 | type = "firmware"; | ||||
90 | arch = "arm64"; | ||||
91 | compression = "none"; | ||||
92 | load = <0x910000>; | ||||
93 | entry = <0x910000>; | ||||
94 | |||||
95 | atf_blob: blob-ext { | ||||
96 | filename = "bl31.bin"; | ||||
97 | }; | ||||
98 | }; | ||||
99 | |||||
100 | fdt { | ||||
101 | description = "NAME"; | ||||
102 | type = "flat_dt"; | ||||
103 | compression = "none"; | ||||
104 | |||||
105 | uboot_fdt_blob: blob-ext { | ||||
106 | filename = "u-boot.dtb"; | ||||
107 | }; | ||||
108 | }; | ||||
109 | }; | ||||
110 | |||||
111 | configurations { | ||||
112 | default = "conf"; | ||||
113 | |||||
114 | conf { | ||||
115 | description = "NAME"; | ||||
116 | firmware = "uboot"; | ||||
117 | loadables = "atf"; | ||||
118 | fdt = "fdt"; | ||||
119 | }; | ||||
120 | }; | ||||
121 | }; | ||||
122 | }; | ||||
123 | }; |