blob: e23998f5aba504624ffb2d0f7aaf97fe8596ee85 [file] [log] [blame]
Ilko Iliev2b4ed302021-04-23 09:45:52 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
6/ {
7 binman: binman {
8 multiple-images;
9 };
10};
11
Peng Fana214c692022-05-05 15:43:39 +080012&pinctrl_uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070013 bootph-pre-ram;
Peng Fana214c692022-05-05 15:43:39 +080014};
15
16&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070017 bootph-pre-ram;
Peng Fana214c692022-05-05 15:43:39 +080018};
19
Ilko Iliev2b4ed302021-04-23 09:45:52 +020020&binman {
21 u-boot-spl-ddr {
22 filename = "u-boot-spl-ddr.bin";
23 pad-byte = <0xff>;
24 align-size = <4>;
25 align = <4>;
26
27 u-boot-spl {
28 align-end = <4>;
29 };
30
Peng Fan5db610f42022-07-26 16:41:20 +080031 ddr-1d-imem-fw {
Ilko Iliev2b4ed302021-04-23 09:45:52 +020032 filename = "lpddr4_pmu_train_1d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080033 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080034 align-end = <4>;
Ilko Iliev2b4ed302021-04-23 09:45:52 +020035 };
36
Peng Fan5db610f42022-07-26 16:41:20 +080037 ddr-1d-dmem-fw {
Ilko Iliev2b4ed302021-04-23 09:45:52 +020038 filename = "lpddr4_pmu_train_1d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080039 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080040 align-end = <4>;
Ilko Iliev2b4ed302021-04-23 09:45:52 +020041 };
42
Peng Fan5db610f42022-07-26 16:41:20 +080043 ddr-2d-imem-fw {
Ilko Iliev2b4ed302021-04-23 09:45:52 +020044 filename = "lpddr4_pmu_train_2d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080045 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080046 align-end = <4>;
Ilko Iliev2b4ed302021-04-23 09:45:52 +020047 };
48
Peng Fan5db610f42022-07-26 16:41:20 +080049 ddr-2d-dmem-fw {
Ilko Iliev2b4ed302021-04-23 09:45:52 +020050 filename = "lpddr4_pmu_train_2d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +080051 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +080052 align-end = <4>;
Ilko Iliev2b4ed302021-04-23 09:45:52 +020053 };
54 };
55
56 flash {
57 mkimage {
58 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
59
60 blob {
61 filename = "u-boot-spl-ddr.bin";
62 };
63 };
64 };
65
66 itb {
67 filename = "u-boot.itb";
68
69 fit {
70 description = "Configuration to load ATF before U-Boot";
71 #address-cells = <1>;
72 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
73
74 images {
75 uboot {
76 description = "U-Boot (64-bit)";
77 type = "standalone";
78 arch = "arm64";
79 compression = "none";
Simon Glass72cc5382022-10-20 18:22:39 -060080 load = <CONFIG_TEXT_BASE>;
Ilko Iliev2b4ed302021-04-23 09:45:52 +020081
82 uboot_blob: blob-ext {
83 filename = "u-boot-nodtb.bin";
84 };
85 };
86
87 atf {
88 description = "ARM Trusted Firmware";
89 type = "firmware";
90 arch = "arm64";
91 compression = "none";
92 load = <0x910000>;
93 entry = <0x910000>;
94
95 atf_blob: blob-ext {
96 filename = "bl31.bin";
97 };
98 };
99
100 fdt {
101 description = "NAME";
102 type = "flat_dt";
103 compression = "none";
104
105 uboot_fdt_blob: blob-ext {
106 filename = "u-boot.dtb";
107 };
108 };
109 };
110
111 configurations {
112 default = "conf";
113
114 conf {
115 description = "NAME";
116 firmware = "uboot";
117 loadables = "atf";
118 fdt = "fdt";
119 };
120 };
121 };
122 };
123};