]>
Commit | Line | Data |
---|---|---|
14d5aeff IO |
1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
2 | /* | |
5cfa5593 | 3 | * Copyright 2020-2021 Toradex |
14d5aeff | 4 | */ |
c1f09505 JT |
5 | |
6 | #include "imx8mm-u-boot.dtsi" | |
7 | ||
d304e7ac | 8 | / { |
5cfa5593 MZ |
9 | binman: binman { |
10 | multiple-images; | |
11 | }; | |
12 | ||
8d060e4a MZ |
13 | firmware { |
14 | optee { | |
15 | compatible = "linaro,optee-tz"; | |
16 | method = "smc"; | |
17 | }; | |
18 | }; | |
19 | ||
d304e7ac MV |
20 | wdt-reboot { |
21 | compatible = "wdt-reboot"; | |
d304e7ac | 22 | u-boot,dm-spl; |
088eb754 | 23 | wdt = <&wdog1>; |
d304e7ac MV |
24 | }; |
25 | }; | |
26 | ||
088eb754 MZ |
27 | &{/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 | ||
14d5aeff IO |
35 | &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 | ||
14d5aeff IO |
59 | &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 | ||
0c45a519 IO |
71 | &pinctrl_usdhc1 { |
72 | u-boot,dm-spl; | |
73 | }; | |
74 | ||
14d5aeff IO |
75 | &pinctrl_usdhc2 { |
76 | u-boot,dm-spl; | |
77 | }; | |
78 | ||
f254a468 MZ |
79 | &pinctrl_wdog { |
80 | u-boot,dm-spl; | |
81 | }; | |
82 | ||
14d5aeff IO |
83 | &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 | }; | |
d304e7ac MV |
98 | |
99 | &wdog1 { | |
100 | u-boot,dm-spl; | |
101 | }; | |
5cfa5593 MZ |
102 | |
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 | }; |