blob: bc8a138e6c09ba04335e0a9a8a72b18e0e7d76fd [file] [log] [blame]
Fabio Estevamc1e26342021-08-23 21:11:09 -03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
Marcel Ziswiler9888e122021-10-23 01:15:12 +02006#include "imx8mm-u-boot.dtsi"
7
Fabio Estevamc1e26342021-08-23 21:11:09 -03008/ {
9 binman: binman {
10 multiple-images;
11 };
12
Fabio Estevamc1e26342021-08-23 21:11:09 -030013 firmware {
14 optee {
15 compatible = "linaro,optee-tz";
16 method = "smc";
17 };
18 };
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020019
20 wdt-reboot {
21 compatible = "wdt-reboot";
22 u-boot,dm-spl;
23 wdt = <&wdog1>;
24 };
Fabio Estevamc1e26342021-08-23 21:11:09 -030025};
26
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020027&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
Fabio Estevamc1e26342021-08-23 21:11:09 -030028 u-boot,dm-spl;
Fabio Estevamc1e26342021-08-23 21:11:09 -030029};
30
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +020031&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {
Fabio Estevamc1e26342021-08-23 21:11:09 -030032 u-boot,dm-spl;
Fabio Estevamc1e26342021-08-23 21:11:09 -030033};
34
Fabio Estevamc1e26342021-08-23 21:11:09 -030035&binman {
36 u-boot-spl-ddr {
37 filename = "u-boot-spl-ddr.bin";
38 pad-byte = <0xff>;
39 align-size = <4>;
40 align = <4>;
41
42 u-boot-spl {
43 align-end = <4>;
44 };
45
46 blob_1: blob-ext@1 {
47 filename = "lpddr4_pmu_train_1d_imem.bin";
48 size = <0x8000>;
49 };
50
51 blob_2: blob-ext@2 {
52 filename = "lpddr4_pmu_train_1d_dmem.bin";
53 size = <0x4000>;
54 };
55
56 blob_3: blob-ext@3 {
57 filename = "lpddr4_pmu_train_2d_imem.bin";
58 size = <0x8000>;
59 };
60
61 blob_4: blob-ext@4 {
62 filename = "lpddr4_pmu_train_2d_dmem.bin";
63 size = <0x4000>;
64 };
65 };
66
67 flash {
68 mkimage {
69 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
70
71 blob {
72 filename = "u-boot-spl-ddr.bin";
73 };
74 };
75 };
76
77 itb {
78 filename = "u-boot.itb";
79
80 fit {
81 description = "Configuration to load ATF before U-Boot";
82 #address-cells = <1>;
83 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
84
85 images {
86 uboot {
87 description = "U-Boot (64-bit)";
88 type = "standalone";
89 arch = "arm64";
90 compression = "none";
91 load = <CONFIG_SYS_TEXT_BASE>;
92
93 uboot_blob: blob-ext {
94 filename = "u-boot-nodtb.bin";
95 };
96 };
97
98 atf {
99 description = "ARM Trusted Firmware";
100 type = "firmware";
101 arch = "arm64";
102 compression = "none";
103 load = <0x920000>;
104 entry = <0x920000>;
105
106 atf_blob: blob-ext {
107 filename = "bl2.bin";
108 };
109 };
110
111 fip {
112 description = "Trusted Firmware FIP";
113 type = "firmware";
114 arch = "arm64";
115 compression = "none";
116 load = <0x40310000>;
117
118 fip_blob: blob-ext{
119 filename = "fip.bin";
120 };
121 };
122
123 fdt {
124 description = "NAME";
125 type = "flat_dt";
126 compression = "none";
127
128 uboot_fdt_blob: blob-ext {
129 filename = "u-boot.dtb";
130 };
131 };
132 };
133
134 configurations {
135 default = "conf";
136
137 conf {
138 description = "NAME";
139 firmware = "uboot";
140 loadables = "atf", "fip";
141 fdt = "fdt";
142 };
143 };
144 };
145 };
146};
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200147
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200148&fec1 {
149 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
150};
151
152&gpio1 {
153 u-boot,dm-spl;
154};
155
156&gpio2 {
157 u-boot,dm-spl;
158};
159
160&gpio3 {
161 u-boot,dm-spl;
162};
163
164&gpio4 {
165 u-boot,dm-spl;
166};
167
168&gpio5 {
169 u-boot,dm-spl;
170};
171
172&i2c1 {
173 u-boot,dm-spl;
174};
175
176&i2c2 {
177 u-boot,dm-spl;
Marcel Ziswilerec7b9e82021-10-23 01:15:11 +0200178};
179
180&pinctrl_i2c2 {
181 u-boot,dm-spl;
182};
183
184&pinctrl_pmic {
185 u-boot,dm-spl;
186};
187
188&pinctrl_uart3 {
189 u-boot,dm-spl;
190};
191
192&pinctrl_usdhc2 {
193 u-boot,dm-spl;
194};
195
196&pinctrl_usdhc2_gpio {
197 u-boot,dm-spl;
198};
199
200&pinctrl_usdhc3 {
201 u-boot,dm-spl;
202};
203
204&uart3 {
205 u-boot,dm-spl;
206};
207
208&usdhc1 {
209 u-boot,dm-spl;
210};
211
212&usdhc2 {
213 u-boot,dm-spl;
214};
215
216&usdhc3 {
217 u-boot,dm-spl;
218};
219
220&wdog1 {
221 u-boot,dm-spl;
222};