arm: dts: imx8m: update binman ddr firmware node name
[platform/kernel/u-boot.git] / arch / arm / dts / imx8mp-u-boot.dtsi
1 // 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         /delete-property/ assigned-clocks;
22         /delete-property/ assigned-clock-parents;
23         /delete-property/ assigned-clock-rates;
24 };
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                 ddr-1d-imem-fw {
65                         filename = "lpddr4_pmu_train_1d_imem_202006.bin";
66                         size = <0x8000>;
67                         type = "blob-ext";
68                 };
69
70                 ddr-1d-dmem-fw {
71                         filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
72                         size = <0x4000>;
73                         type = "blob-ext";
74                 };
75
76                 ddr-2d-imem-fw {
77                         filename = "lpddr4_pmu_train_2d_imem_202006.bin";
78                         size = <0x8000>;
79                         type = "blob-ext";
80                 };
81
82                 ddr-2d-dmem-fw {
83                         filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
84                         size = <0x4000>;
85                         type = "blob-ext";
86                 };
87         };
88
89         spl {
90                 filename = "spl.bin";
91
92                 mkimage {
93                         args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000";
94
95                         blob {
96                                 filename = "u-boot-spl-ddr.bin";
97                         };
98                 };
99         };
100
101         itb {
102                 filename = "u-boot.itb";
103
104                 fit {
105                         description = "Configuration to load ATF before U-Boot";
106                         fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
107                         fit,fdt-list = "of-list";
108                         #address-cells = <1>;
109
110                         images {
111                                 uboot {
112                                         description = "U-Boot (64-bit)";
113                                         type = "standalone";
114                                         arch = "arm64";
115                                         compression = "none";
116                                         load = <CONFIG_SYS_TEXT_BASE>;
117
118                                         uboot_blob: blob-ext {
119                                                 filename = "u-boot-nodtb.bin";
120                                         };
121                                 };
122
123                                 atf {
124                                         description = "ARM Trusted Firmware";
125                                         type = "firmware";
126                                         arch = "arm64";
127                                         compression = "none";
128                                         load = <0x970000>;
129                                         entry = <0x970000>;
130
131                                         atf_blob: atf-blob {
132                                                 filename = "bl31.bin";
133                                                 type = "atf-bl31";
134                                         };
135                                 };
136
137                                 @fdt-SEQ {
138                                         description = "NAME";
139                                         type = "flat_dt";
140                                         compression = "none";
141
142                                         uboot_fdt_blob: blob-ext {
143                                                 filename = "u-boot.dtb";
144                                         };
145                                 };
146                         };
147
148                         configurations {
149                                 default = "@config-DEFAULT-SEQ";
150
151                                 @config-SEQ {
152                                         description = "NAME";
153                                         fdt = "fdt-SEQ";
154                                         firmware = "uboot";
155                                         loadables = "atf";
156                                 };
157                         };
158                 };
159         };
160
161         imx-boot {
162                 filename = "flash.bin";
163                 pad-byte = <0x00>;
164
165                 spl: blob-ext@1 {
166                         filename = "spl.bin";
167                         offset = <0x0>;
168                 };
169
170                 uboot: blob-ext@2 {
171                         filename = "u-boot.itb";
172                         offset = <0x58000>;
173                 };
174         };
175 };