blob: 9fb4d8aa8c284ab61035326a181664fbb076f496 [file] [log] [blame]
Igor Opaniuk14d5aef2020-01-28 14:42:25 +01001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
Marcel Ziswiler5cfa5592021-10-09 22:41:07 +02003 * Copyright 2020-2021 Toradex
Igor Opaniuk14d5aef2020-01-28 14:42:25 +01004 */
Jagan Tekic1f09502021-04-26 18:23:46 +05305
6#include "imx8mm-u-boot.dtsi"
7
Marek Vasutd304e7a2020-04-29 15:04:27 +02008/ {
Marcel Ziswiler5cfa5592021-10-09 22:41:07 +02009 binman: binman {
10 multiple-images;
11 };
12
Marcel Ziswiler8d060e42021-10-09 22:41:05 +020013 firmware {
14 optee {
15 compatible = "linaro,optee-tz";
16 method = "smc";
17 };
18 };
19
Marek Vasutd304e7a2020-04-29 15:04:27 +020020 wdt-reboot {
21 compatible = "wdt-reboot";
Marek Vasutd304e7a2020-04-29 15:04:27 +020022 u-boot,dm-spl;
Marcel Ziswiler088eb752021-10-09 22:41:06 +020023 wdt = <&wdog1>;
Marek Vasutd304e7a2020-04-29 15:04:27 +020024 };
25};
26
Marcel Ziswiler088eb752021-10-09 22:41:06 +020027&{/soc@0/bus@30800000/i2c@30a20000/pmic} {
28 u-boot,dm-spl;
29};
30
31&{/soc@0/bus@30800000/i2c@30a20000/pmic/regulators} {
32 u-boot,dm-spl;
33};
34
Igor Opaniuk14d5aef2020-01-28 14:42:25 +010035&gpio1 {
36 u-boot,dm-spl;
37};
38
39&gpio2 {
40 u-boot,dm-spl;
41};
42
43&gpio3 {
44 u-boot,dm-spl;
45};
46
47&gpio4 {
48 u-boot,dm-spl;
49};
50
51&gpio5 {
52 u-boot,dm-spl;
53};
54
55&i2c1 {
56 u-boot,dm-spl;
57};
58
Igor Opaniuk14d5aef2020-01-28 14:42:25 +010059&pinctrl_i2c1 {
60 u-boot,dm-spl;
61};
62
63&pinctrl_pmic {
64 u-boot,dm-spl;
65};
66
67&pinctrl_uart1 {
68 u-boot,dm-spl;
69};
70
Igor Opaniuk0c45a512020-02-14 14:36:43 +020071&pinctrl_usdhc1 {
72 u-boot,dm-spl;
73};
74
Igor Opaniuk14d5aef2020-01-28 14:42:25 +010075&pinctrl_usdhc2 {
76 u-boot,dm-spl;
77};
78
Marcel Ziswilerf254a462021-10-09 22:41:13 +020079&pinctrl_wdog {
80 u-boot,dm-spl;
81};
82
Igor Opaniuk14d5aef2020-01-28 14:42:25 +010083&uart1 {
84 u-boot,dm-spl;
85};
86
87&usdhc1 {
88 u-boot,dm-spl;
89};
90
91&usdhc2 {
92 u-boot,dm-spl;
93};
94
95&usdhc3 {
96 u-boot,dm-spl;
97};
Marek Vasutd304e7a2020-04-29 15:04:27 +020098
99&wdog1 {
100 u-boot,dm-spl;
101};
Marcel Ziswiler5cfa5592021-10-09 22:41:07 +0200102
103&binman {
104 u-boot-spl-ddr {
105 filename = "u-boot-spl-ddr.bin";
106 pad-byte = <0xff>;
107 align-size = <4>;
108 align = <4>;
109
110 u-boot-spl {
111 align-end = <4>;
112 };
113
114 blob_1: blob-ext@1 {
115 filename = "lpddr4_pmu_train_1d_imem.bin";
116 size = <0x8000>;
117 };
118
119 blob_2: blob-ext@2 {
120 filename = "lpddr4_pmu_train_1d_dmem.bin";
121 size = <0x4000>;
122 };
123
124 blob_3: blob-ext@3 {
125 filename = "lpddr4_pmu_train_2d_imem.bin";
126 size = <0x8000>;
127 };
128
129 blob_4: blob-ext@4 {
130 filename = "lpddr4_pmu_train_2d_dmem.bin";
131 size = <0x4000>;
132 };
133 };
134
135 spl {
136 filename = "spl.bin";
137
138 mkimage {
139 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
140
141 blob {
142 filename = "u-boot-spl-ddr.bin";
143 };
144 };
145 };
146
147 itb {
148 filename = "u-boot.itb";
149
150 fit {
151 description = "Configuration to load ATF before U-Boot";
152 #address-cells = <1>;
153 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
154
155 images {
156 uboot {
157 description = "U-Boot (64-bit)";
158 type = "standalone";
159 arch = "arm64";
160 compression = "none";
161 load = <CONFIG_SYS_TEXT_BASE>;
162
163 uboot_blob: blob-ext {
164 filename = "u-boot-nodtb.bin";
165 };
166 };
167
168 atf {
169 description = "ARM Trusted Firmware";
170 type = "firmware";
171 arch = "arm64";
172 compression = "none";
173 load = <0x920000>;
174 entry = <0x920000>;
175
176 atf_blob: blob-ext {
177 filename = "bl31.bin";
178 };
179 };
180
181 fdt {
182 description = "NAME";
183 type = "flat_dt";
184 compression = "none";
185
186 uboot_fdt_blob: blob-ext {
187 filename = "u-boot.dtb";
188 };
189 };
190 };
191
192 configurations {
193 default = "conf";
194
195 conf {
196 description = "NAME";
197 firmware = "uboot";
198 loadables = "atf";
199 fdt = "fdt";
200 };
201 };
202 };
203 };
204
205 imx-boot {
206 filename = "flash.bin";
207 pad-byte = <0x00>;
208
209 spl: blob-ext@1 {
210 offset = <0x0>;
211 filename = "spl.bin";
212 };
213
214 uboot: blob-ext@2 {
215 offset = <0x5fc00>;
216 filename = "u-boot.itb";
217 };
218 };
219};