blob: 120c4c4dbb13eb151a21018a18d4634cb692c101 [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;
Ye Li35813492021-08-17 14:32:04 +080021 /delete-property/ assigned-clocks;
22 /delete-property/ assigned-clock-parents;
23 /delete-property/ assigned-clock-rates;
Teresa Remmetdafb1642021-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 Remmet42cef892021-08-26 10:54:09 +020085 spl {
86 filename = "spl.bin";
87
Teresa Remmetdafb1642021-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";
102 #address-cells = <1>;
103 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
104
105 images {
106 uboot {
107 description = "U-Boot (64-bit)";
108 type = "standalone";
109 arch = "arm64";
110 compression = "none";
111 load = <CONFIG_SYS_TEXT_BASE>;
112
113 uboot_blob: blob-ext {
114 filename = "u-boot-nodtb.bin";
115 };
116 };
117
118 atf {
119 description = "ARM Trusted Firmware";
120 type = "firmware";
121 arch = "arm64";
122 compression = "none";
123 load = <0x970000>;
124 entry = <0x970000>;
125
126 atf_blob: blob-ext {
127 filename = "bl31.bin";
128 };
129 };
130
131 fdt {
132 description = "NAME";
133 type = "flat_dt";
134 compression = "none";
135
136 uboot_fdt_blob: blob-ext {
137 filename = "u-boot.dtb";
138 };
139 };
140 };
141
142 configurations {
143 default = "conf";
144
145 conf {
146 description = "NAME";
147 firmware = "uboot";
148 loadables = "atf";
149 fdt = "fdt";
150 };
151 };
152 };
153 };
Teresa Remmet42cef892021-08-26 10:54:09 +0200154
155 imx-boot {
156 filename = "flash.bin";
157 pad-byte = <0x00>;
158
159 spl: blob-ext@1 {
160 filename = "spl.bin";
161 offset = <0x0>;
162 };
163
164 uboot: blob-ext@2 {
165 filename = "u-boot.itb";
166 offset = <0x58000>;
167 };
168 };
Teresa Remmetdafb1642021-07-07 12:57:57 +0000169};