]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/dts/imx8mq-u-boot.dtsi
Merge branch 'next'
[thirdparty/u-boot.git] / arch / arm / dts / imx8mq-u-boot.dtsi
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright 2021 NXP
4 */
5
6 / {
7 binman: binman {
8 multiple-images;
9 };
10
11 };
12
13 &soc {
14 bootph-pre-ram;
15 };
16
17 &aips1 {
18 bootph-pre-ram;
19 };
20
21 &aips2 {
22 bootph-pre-ram;
23 };
24
25 &aips3 {
26 bootph-pre-ram;
27 };
28
29 &aips4 {
30 bootph-pre-ram;
31 };
32
33 &iomuxc {
34 bootph-pre-ram;
35 };
36
37 &binman {
38 u-boot-spl-ddr {
39 align = <4>;
40 align-size = <4>;
41 filename = "u-boot-spl-ddr.bin";
42 pad-byte = <0xff>;
43
44 u-boot-spl {
45 align-end = <4>;
46 filename = "u-boot-spl.bin";
47 };
48
49 ddr-1d-imem-fw {
50 filename = "lpddr4_pmu_train_1d_imem.bin";
51 align-end = <4>;
52 type = "blob-ext";
53 };
54
55 ddr-1d-dmem-fw {
56 filename = "lpddr4_pmu_train_1d_dmem.bin";
57 align-end = <4>;
58 type = "blob-ext";
59 };
60
61 ddr-2d-imem-fw {
62 filename = "lpddr4_pmu_train_2d_imem.bin";
63 align-end = <4>;
64 type = "blob-ext";
65 };
66
67 ddr-2d-dmem-fw {
68 filename = "lpddr4_pmu_train_2d_dmem.bin";
69 align-end = <4>;
70 type = "blob-ext";
71 };
72 };
73
74 signed-hdmi {
75 filename = "signed_hdmi.bin";
76
77 signed-hdmi-imx8m {
78 filename = "signed_hdmi_imx8m.bin";
79 type = "blob-ext";
80 };
81 };
82
83 spl {
84 filename = "spl.bin";
85
86 mkimage {
87 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
88
89 blob {
90 filename = "u-boot-spl-ddr.bin";
91 };
92 };
93 };
94
95 itb {
96 filename = "u-boot.itb";
97
98 fit {
99 description = "Configuration to load ATF before U-Boot";
100 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
101 #address-cells = <1>;
102
103 images {
104 uboot {
105 arch = "arm64";
106 compression = "none";
107 description = "U-Boot (64-bit)";
108 load = <CONFIG_TEXT_BASE>;
109 type = "standalone";
110
111 uboot-blob {
112 filename = "u-boot-nodtb.bin";
113 type = "blob-ext";
114 };
115 };
116
117 #ifndef CONFIG_ARMV8_PSCI
118 atf {
119 arch = "arm64";
120 compression = "none";
121 description = "ARM Trusted Firmware";
122 entry = <0x910000>;
123 load = <0x910000>;
124 type = "firmware";
125
126 atf-blob {
127 filename = "bl31.bin";
128 type = "blob-ext";
129 };
130 };
131 #endif
132
133 fdt {
134 compression = "none";
135 description = "NAME";
136 type = "flat_dt";
137
138 uboot-fdt-blob {
139 filename = "u-boot.dtb";
140 type = "blob-ext";
141 };
142 };
143 };
144
145 configurations {
146 default = "conf";
147
148 conf {
149 description = "NAME";
150 fdt = "fdt";
151 firmware = "uboot";
152 #ifndef CONFIG_ARMV8_PSCI
153 loadables = "atf";
154 #endif
155 };
156 };
157 };
158 };
159
160 imx-boot {
161 filename = "flash.bin";
162 pad-byte = <0x00>;
163
164 spl {
165 filename = "spl.bin";
166 offset = <0x0>;
167 type = "blob-ext";
168 };
169
170 binman_uboot: uboot {
171 filename = "u-boot.itb";
172 offset = <0x57c00>;
173 type = "blob-ext";
174 };
175 };
176 };