blob: 68cd0e10f02bbc8db1936451eb928e4cf8015b0c [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;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000047};
48
49&iomuxc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-pre-ram;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000051};
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
Peng Fan5db610f42022-07-26 16:41:20 +080064 ddr-1d-imem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000065 filename = "lpddr4_pmu_train_1d_imem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080066 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080067 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000068 };
69
Peng Fan5db610f42022-07-26 16:41:20 +080070 ddr-1d-dmem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000071 filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080072 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080073 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000074 };
75
Peng Fan5db610f42022-07-26 16:41:20 +080076 ddr-2d-imem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000077 filename = "lpddr4_pmu_train_2d_imem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080078 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080079 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000080 };
81
Peng Fan5db610f42022-07-26 16:41:20 +080082 ddr-2d-dmem-fw {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000083 filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080084 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080085 align-end = <4>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000086 };
87 };
88
Teresa Remmet1d05e8e2021-08-26 10:54:09 +020089 spl {
90 filename = "spl.bin";
91
Teresa Remmet3e94fbd2021-07-07 12:57:57 +000092 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";
Marek Vasuta7416eb2023-05-28 23:00:30 +0200106#ifndef CONFIG_IMX_HAB
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000107 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Marek Vasuta7416eb2023-05-28 23:00:30 +0200108#endif
Tim Harvey65048742022-04-15 13:41:54 -0700109 fit,fdt-list = "of-list";
110 #address-cells = <1>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000111
112 images {
113 uboot {
114 description = "U-Boot (64-bit)";
115 type = "standalone";
116 arch = "arm64";
117 compression = "none";
Simon Glass72cc5382022-10-20 18:22:39 -0600118 load = <CONFIG_TEXT_BASE>;
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000119
120 uboot_blob: blob-ext {
121 filename = "u-boot-nodtb.bin";
122 };
123 };
124
Marek Vasut1de0eb12022-12-22 01:46:37 +0100125#ifndef CONFIG_ARMV8_PSCI
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000126 atf {
127 description = "ARM Trusted Firmware";
128 type = "firmware";
129 arch = "arm64";
130 compression = "none";
131 load = <0x970000>;
132 entry = <0x970000>;
133
Marcel Ziswilerd87d2f12022-04-08 10:06:56 +0200134 atf_blob: atf-blob {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000135 filename = "bl31.bin";
Marcel Ziswilerd87d2f12022-04-08 10:06:56 +0200136 type = "atf-bl31";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000137 };
138 };
Marek Vasut1de0eb12022-12-22 01:46:37 +0100139#endif
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000140
Tim Harvey65048742022-04-15 13:41:54 -0700141 @fdt-SEQ {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000142 description = "NAME";
143 type = "flat_dt";
144 compression = "none";
145
146 uboot_fdt_blob: blob-ext {
147 filename = "u-boot.dtb";
148 };
149 };
150 };
151
152 configurations {
Tim Harvey65048742022-04-15 13:41:54 -0700153 default = "@config-DEFAULT-SEQ";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000154
Ying-Chun Liu (PaulLiu)68321e62023-01-18 03:14:59 +0800155 binman_configuration: @config-SEQ {
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000156 description = "NAME";
Tim Harvey65048742022-04-15 13:41:54 -0700157 fdt = "fdt-SEQ";
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000158 firmware = "uboot";
Marek Vasut1de0eb12022-12-22 01:46:37 +0100159#ifndef CONFIG_ARMV8_PSCI
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000160 loadables = "atf";
Marek Vasut1de0eb12022-12-22 01:46:37 +0100161#endif
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000162 };
163 };
164 };
165 };
Teresa Remmet1d05e8e2021-08-26 10:54:09 +0200166
167 imx-boot {
168 filename = "flash.bin";
169 pad-byte = <0x00>;
170
171 spl: blob-ext@1 {
172 filename = "spl.bin";
173 offset = <0x0>;
174 };
175
176 uboot: blob-ext@2 {
177 filename = "u-boot.itb";
178 offset = <0x58000>;
179 };
180 };
Teresa Remmet3e94fbd2021-07-07 12:57:57 +0000181};