blob: afb3995482ef1974d6387773bcb3b477d7017dba [file] [log] [blame]
Teresa Remmetdafb1642021-07-07 12:57:57 +00001// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2021 PHYTEC Messtechnik GmbH
4 * Author: Teresa Remmet <t.remmet@phytec.de>
5 */
6
7/ {
8 binman: binman {
9 multiple-images;
10 };
11};
12
13&{/soc@0} {
14 u-boot,dm-pre-reloc;
15 u-boot,dm-spl;
16};
17
18&clk {
19 u-boot,dm-spl;
20 u-boot,dm-pre-reloc;
21};
22
23&osc_32k {
24 u-boot,dm-spl;
25 u-boot,dm-pre-reloc;
26};
27
28&osc_24m {
29 u-boot,dm-spl;
30 u-boot,dm-pre-reloc;
31};
32
33&aips1 {
34 u-boot,dm-spl;
35 u-boot,dm-pre-reloc;
36};
37
38&aips2 {
39 u-boot,dm-spl;
40};
41
42&aips3 {
43 u-boot,dm-spl;
44};
45
46&iomuxc {
47 u-boot,dm-spl;
48};
49
50&binman {
51 u-boot-spl-ddr {
52 filename = "u-boot-spl-ddr.bin";
53 pad-byte = <0xff>;
54 align-size = <4>;
55 align = <4>;
56
57 u-boot-spl {
58 align-end = <4>;
59 };
60
61 blob_1: blob-ext@1 {
62 filename = "lpddr4_pmu_train_1d_imem_202006.bin";
63 size = <0x8000>;
64 };
65
66 blob_2: blob-ext@2 {
67 filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
68 size = <0x4000>;
69 };
70
71 blob_3: blob-ext@3 {
72 filename = "lpddr4_pmu_train_2d_imem_202006.bin";
73 size = <0x8000>;
74 };
75
76 blob_4: blob-ext@4 {
77 filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
78 size = <0x4000>;
79 };
80 };
81
Teresa Remmet42cef892021-08-26 10:54:09 +020082 spl {
83 filename = "spl.bin";
84
Teresa Remmetdafb1642021-07-07 12:57:57 +000085 mkimage {
86 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000";
87
88 blob {
89 filename = "u-boot-spl-ddr.bin";
90 };
91 };
92 };
93
94 itb {
95 filename = "u-boot.itb";
96
97 fit {
98 description = "Configuration to load ATF before U-Boot";
99 #address-cells = <1>;
100 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
101
102 images {
103 uboot {
104 description = "U-Boot (64-bit)";
105 type = "standalone";
106 arch = "arm64";
107 compression = "none";
108 load = <CONFIG_SYS_TEXT_BASE>;
109
110 uboot_blob: blob-ext {
111 filename = "u-boot-nodtb.bin";
112 };
113 };
114
115 atf {
116 description = "ARM Trusted Firmware";
117 type = "firmware";
118 arch = "arm64";
119 compression = "none";
120 load = <0x970000>;
121 entry = <0x970000>;
122
123 atf_blob: blob-ext {
124 filename = "bl31.bin";
125 };
126 };
127
128 fdt {
129 description = "NAME";
130 type = "flat_dt";
131 compression = "none";
132
133 uboot_fdt_blob: blob-ext {
134 filename = "u-boot.dtb";
135 };
136 };
137 };
138
139 configurations {
140 default = "conf";
141
142 conf {
143 description = "NAME";
144 firmware = "uboot";
145 loadables = "atf";
146 fdt = "fdt";
147 };
148 };
149 };
150 };
Teresa Remmet42cef892021-08-26 10:54:09 +0200151
152 imx-boot {
153 filename = "flash.bin";
154 pad-byte = <0x00>;
155
156 spl: blob-ext@1 {
157 filename = "spl.bin";
158 offset = <0x0>;
159 };
160
161 uboot: blob-ext@2 {
162 filename = "u-boot.itb";
163 offset = <0x58000>;
164 };
165 };
Teresa Remmetdafb1642021-07-07 12:57:57 +0000166};