blob: 20edd90cfad8f12c58011293d50bc0ef10a5953e [file] [log] [blame]
Teresa Remmet3e94fbd2021-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;
Ye Lif93d54d2021-08-17 14:32:04 +080021 /delete-property/ assigned-clocks;
22 /delete-property/ assigned-clock-parents;
23 /delete-property/ assigned-clock-rates;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000024};
25
26&osc_32k {
27 u-boot,dm-spl;
28 u-boot,dm-pre-reloc;
29};
30
31&osc_24m {
32 u-boot,dm-spl;
33 u-boot,dm-pre-reloc;
34};
35
36&aips1 {
37 u-boot,dm-spl;
38 u-boot,dm-pre-reloc;
39};
40
41&aips2 {
42 u-boot,dm-spl;
43};
44
45&aips3 {
46 u-boot,dm-spl;
47};
48
49&iomuxc {
50 u-boot,dm-spl;
51};
52
53&binman {
54 u-boot-spl-ddr {
55 filename = "u-boot-spl-ddr.bin";
56 pad-byte = <0xff>;
57 align-size = <4>;
58 align = <4>;
59
60 u-boot-spl {
61 align-end = <4>;
62 };
63
64 blob_1: blob-ext@1 {
65 filename = "lpddr4_pmu_train_1d_imem_202006.bin";
66 size = <0x8000>;
67 };
68
69 blob_2: blob-ext@2 {
70 filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
71 size = <0x4000>;
72 };
73
74 blob_3: blob-ext@3 {
75 filename = "lpddr4_pmu_train_2d_imem_202006.bin";
76 size = <0x8000>;
77 };
78
79 blob_4: blob-ext@4 {
80 filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
81 size = <0x4000>;
82 };
83 };
84
Teresa Remmet1d05e8e2021-08-26 10:54:09 +020085 spl {
86 filename = "spl.bin";
87
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000088 mkimage {
89 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000";
90
91 blob {
92 filename = "u-boot-spl-ddr.bin";
93 };
94 };
95 };
96
97 itb {
98 filename = "u-boot.itb";
99
100 fit {
101 description = "Configuration to load ATF before U-Boot";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000102 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Tim Harvey65048742022-04-15 13:41:54 -0700103 fit,fdt-list = "of-list";
104 #address-cells = <1>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000105
106 images {
107 uboot {
108 description = "U-Boot (64-bit)";
109 type = "standalone";
110 arch = "arm64";
111 compression = "none";
112 load = <CONFIG_SYS_TEXT_BASE>;
113
114 uboot_blob: blob-ext {
115 filename = "u-boot-nodtb.bin";
116 };
117 };
118
119 atf {
120 description = "ARM Trusted Firmware";
121 type = "firmware";
122 arch = "arm64";
123 compression = "none";
124 load = <0x970000>;
125 entry = <0x970000>;
126
Marcel Ziswilerd87d2f12022-04-08 10:06:56 +0200127 atf_blob: atf-blob {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000128 filename = "bl31.bin";
Marcel Ziswilerd87d2f12022-04-08 10:06:56 +0200129 type = "atf-bl31";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000130 };
131 };
132
Tim Harvey65048742022-04-15 13:41:54 -0700133 @fdt-SEQ {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000134 description = "NAME";
135 type = "flat_dt";
136 compression = "none";
137
138 uboot_fdt_blob: blob-ext {
139 filename = "u-boot.dtb";
140 };
141 };
142 };
143
144 configurations {
Tim Harvey65048742022-04-15 13:41:54 -0700145 default = "@config-DEFAULT-SEQ";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000146
Tim Harvey65048742022-04-15 13:41:54 -0700147 @config-SEQ {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000148 description = "NAME";
Tim Harvey65048742022-04-15 13:41:54 -0700149 fdt = "fdt-SEQ";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000150 firmware = "uboot";
151 loadables = "atf";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000152 };
153 };
154 };
155 };
Teresa Remmet1d05e8e2021-08-26 10:54:09 +0200156
157 imx-boot {
158 filename = "flash.bin";
159 pad-byte = <0x00>;
160
161 spl: blob-ext@1 {
162 filename = "spl.bin";
163 offset = <0x0>;
164 };
165
166 uboot: blob-ext@2 {
167 filename = "u-boot.itb";
168 offset = <0x58000>;
169 };
170 };
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000171};