blob: 200938a980727c965cd31603af46931de971b848 [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
Marcel Ziswilercdfde792022-11-07 22:22:39 +010013&soc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070014 bootph-all;
15 bootph-pre-ram;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000016};
17
18&clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070019 bootph-pre-ram;
20 bootph-all;
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 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-pre-ram;
28 bootph-all;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000029};
30
31&osc_24m {
Simon Glassd3a98cb2023-02-13 08:56:33 -070032 bootph-pre-ram;
33 bootph-all;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000034};
35
36&aips1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
38 bootph-all;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000039};
40
41&aips2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-pre-ram;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000043};
44
45&aips3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-pre-ram;
Adam Ford0a357f92023-05-30 17:45:58 -050047 spba-bus@30800000 {
48 bootph-pre-ram;
49 };
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000050};
51
52&iomuxc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-pre-ram;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000054};
55
56&binman {
57 u-boot-spl-ddr {
58 filename = "u-boot-spl-ddr.bin";
59 pad-byte = <0xff>;
60 align-size = <4>;
61 align = <4>;
62
63 u-boot-spl {
64 align-end = <4>;
65 };
66
Peng Fan5db610f42022-07-26 16:41:20 +080067 ddr-1d-imem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000068 filename = "lpddr4_pmu_train_1d_imem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080069 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080070 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000071 };
72
Peng Fan5db610f42022-07-26 16:41:20 +080073 ddr-1d-dmem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000074 filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080075 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080076 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000077 };
78
Peng Fan5db610f42022-07-26 16:41:20 +080079 ddr-2d-imem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000080 filename = "lpddr4_pmu_train_2d_imem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080081 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080082 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000083 };
84
Peng Fan5db610f42022-07-26 16:41:20 +080085 ddr-2d-dmem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000086 filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080087 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080088 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000089 };
90 };
91
Teresa Remmet1d05e8e2021-08-26 10:54:09 +020092 spl {
93 filename = "spl.bin";
94
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000095 mkimage {
96 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000";
97
98 blob {
99 filename = "u-boot-spl-ddr.bin";
100 };
101 };
102 };
103
104 itb {
105 filename = "u-boot.itb";
106
107 fit {
108 description = "Configuration to load ATF before U-Boot";
Marek Vasuta7416eb2023-05-28 23:00:30 +0200109#ifndef CONFIG_IMX_HAB
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000110 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Marek Vasuta7416eb2023-05-28 23:00:30 +0200111#endif
Tim Harvey65048742022-04-15 13:41:54 -0700112 fit,fdt-list = "of-list";
113 #address-cells = <1>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000114
115 images {
116 uboot {
117 description = "U-Boot (64-bit)";
118 type = "standalone";
119 arch = "arm64";
120 compression = "none";
Simon Glass72cc5382022-10-20 18:22:39 -0600121 load = <CONFIG_TEXT_BASE>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000122
123 uboot_blob: blob-ext {
124 filename = "u-boot-nodtb.bin";
125 };
126 };
127
Marek Vasut1de0eb12022-12-22 01:46:37 +0100128#ifndef CONFIG_ARMV8_PSCI
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000129 atf {
130 description = "ARM Trusted Firmware";
131 type = "firmware";
132 arch = "arm64";
133 compression = "none";
134 load = <0x970000>;
135 entry = <0x970000>;
136
Marcel Ziswilerd87d2f12022-04-08 10:06:56 +0200137 atf_blob: atf-blob {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000138 filename = "bl31.bin";
Marcel Ziswilerd87d2f12022-04-08 10:06:56 +0200139 type = "atf-bl31";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000140 };
141 };
Marek Vasut1de0eb12022-12-22 01:46:37 +0100142#endif
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000143
Tim Harvey65048742022-04-15 13:41:54 -0700144 @fdt-SEQ {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000145 description = "NAME";
146 type = "flat_dt";
147 compression = "none";
148
Simon Glassceea7842023-08-23 19:18:01 -0600149 blob-ext {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000150 filename = "u-boot.dtb";
151 };
152 };
153 };
154
155 configurations {
Tim Harvey65048742022-04-15 13:41:54 -0700156 default = "@config-DEFAULT-SEQ";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000157
Simon Glassceea7842023-08-23 19:18:01 -0600158 @config-SEQ {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000159 description = "NAME";
Tim Harvey65048742022-04-15 13:41:54 -0700160 fdt = "fdt-SEQ";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000161 firmware = "uboot";
Marek Vasut1de0eb12022-12-22 01:46:37 +0100162#ifndef CONFIG_ARMV8_PSCI
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000163 loadables = "atf";
Marek Vasut1de0eb12022-12-22 01:46:37 +0100164#endif
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000165 };
166 };
167 };
168 };
Teresa Remmet1d05e8e2021-08-26 10:54:09 +0200169
170 imx-boot {
171 filename = "flash.bin";
172 pad-byte = <0x00>;
173
174 spl: blob-ext@1 {
175 filename = "spl.bin";
176 offset = <0x0>;
177 };
178
179 uboot: blob-ext@2 {
180 filename = "u-boot.itb";
181 offset = <0x58000>;
182 };
183 };
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000184};