blob: e202ae16644c6e01cfd4c7ea90784a8db5def931 [file] [log] [blame]
Robert Nelson39452282023-11-04 03:11:00 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * https://beagleboard.org/ai-64
4 *
5 * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
6 * Copyright (C) 2022 Jason Kridner, BeagleBoard.org Foundation
7 * Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
8 */
9
10#include "k3-binman.dtsi"
11
12/ {
13 memory@80000000 {
14 bootph-all;
15 };
16
17 /* Keep the LEDs on by default to indicate life */
18 leds {
19 bootph-all;
20 led-0 {
21 default-state = "on";
22 bootph-all;
23 };
24
25 led-1 {
26 default-state = "on";
27 bootph-all;
28 };
29
30 led-2 {
31 default-state = "on";
32 bootph-all;
33 };
34
35 led-3 {
36 default-state = "on";
37 bootph-all;
38 };
39
40 led-4 {
41 default-state = "on";
42 bootph-all;
43 };
44 };
45};
46
47&cbass_main {
48 bootph-all;
49};
50
51&main_navss {
52 bootph-all;
53};
54
55&cbass_mcu_wakeup {
56 bootph-all;
57
58 chipid@43000014 {
59 bootph-all;
60 };
61};
62
63&mcu_navss {
64 bootph-all;
65};
66
67&mcu_ringacc {
68 reg = <0x0 0x2b800000 0x0 0x400000>,
69 <0x0 0x2b000000 0x0 0x400000>,
70 <0x0 0x28590000 0x0 0x100>,
71 <0x0 0x2a500000 0x0 0x40000>,
72 <0x0 0x28440000 0x0 0x40000>;
73 reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
74 bootph-all;
75};
76
77&mcu_udmap {
78 reg = <0x0 0x285c0000 0x0 0x100>,
79 <0x0 0x284c0000 0x0 0x4000>,
80 <0x0 0x2a800000 0x0 0x40000>,
81 <0x0 0x284a0000 0x0 0x4000>,
82 <0x0 0x2aa00000 0x0 0x40000>,
83 <0x0 0x28400000 0x0 0x2000>;
84 reg-names = "gcfg", "rchan", "rchanrt", "tchan",
85 "tchanrt", "rflow";
86 bootph-all;
87};
88
89&secure_proxy_main {
90 bootph-all;
91};
92
93&dmsc {
94 bootph-all;
Robert Nelson39452282023-11-04 03:11:00 -050095};
96
97&k3_pds {
98 bootph-all;
99};
100
101&k3_clks {
102 bootph-all;
103};
104
105&k3_reset {
106 bootph-all;
107};
108
109&wkup_pmx0 {
110 bootph-all;
111};
112
113&main_pmx0 {
114 bootph-all;
115};
116
117&main_uart0 {
118 bootph-all;
119};
120
121&main_gpio0 {
122 bootph-all;
123};
124
125&main_uart0_pins_default {
126 bootph-all;
127};
128
129&main_sdhci0 {
130 bootph-all;
131};
132
133&main_sdhci1 {
134 bootph-all;
135 sdhci-caps-mask = <0x00000007 0x00000000>;
136 /delete-property/ cd-gpios;
137 /delete-property/ cd-debounce-delay-ms;
138 /delete-property/ ti,fails-without-test-cd;
139 /delete-property/ no-1-8-v;
140};
141
142&main_mmc1_pins_default {
143 bootph-all;
144};
145
146&mcu_cpsw {
147 bootph-all;
148};
149
150&davinci_mdio {
151 bootph-all;
152};
153
154&phy0 {
155 bootph-all;
156};
157
158&serdes2 {
159 bootph-all;
160};
161
162&serdes_ln_ctrl {
163 bootph-all;
164};
165
166&serdes2_usb_link {
167 bootph-all;
168};
169
170&usb_serdes_mux {
171 bootph-all;
Robert Nelson39452282023-11-04 03:11:00 -0500172};
173
174&serdes_wiz2 {
175 bootph-all;
176};
177
178&main_usbss1_pins_default {
179 bootph-all;
180};
181
182&mcu_usbss1_pins_default {
183 bootph-all;
184};
185
186&usbss1 {
187 bootph-all;
188};
189
190&usb1 {
191 bootph-all;
192};
193
194&wkup_i2c0_pins_default {
195 bootph-all;
196};
197
198&wkup_i2c0 {
199 bootph-all;
200};
201
202#ifdef CONFIG_TARGET_J721E_A72_BEAGLEBONEAI64
203
204#define SPL_NODTB "spl/u-boot-spl-nodtb.bin"
205#define SPL_J721E_BBAI64_DTB "spl/dts/k3-j721e-beagleboneai64.dtb"
206
207#define UBOOT_NODTB "u-boot-nodtb.bin"
208#define J721E_BBAI64_DTB "arch/arm/dts/k3-j721e-beagleboneai64.dtb"
209
210&binman {
211 ti-dm {
212 filename = "ti-dm.bin";
213 blob-ext {
214 filename = "ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f";
215 };
216 };
217
218 ti-spl_unsigned {
219 filename = "tispl.bin_unsigned";
220 pad-byte = <0xff>;
221
222 fit {
223 description = "Configuration to load ATF and SPL";
224 #address-cells = <1>;
225
226 images {
227
228 atf {
229 description = "ARM Trusted Firmware";
230 type = "firmware";
231 arch = "arm64";
232 compression = "none";
233 os = "arm-trusted-firmware";
234 load = <CONFIG_K3_ATF_LOAD_ADDR>;
235 entry = <CONFIG_K3_ATF_LOAD_ADDR>;
236 atf-bl31 {
237 filename = "bl31.bin";
238 };
239 };
240
241 tee {
242 description = "OP-TEE";
243 type = "tee";
244 arch = "arm64";
245 compression = "none";
246 os = "tee";
Andrew Davis27df8602024-02-14 10:30:05 -0600247 load = <CONFIG_K3_OPTEE_LOAD_ADDR>;
248 entry = <CONFIG_K3_OPTEE_LOAD_ADDR>;
Robert Nelson39452282023-11-04 03:11:00 -0500249 tee-os {
250 filename = "tee-raw.bin";
251 };
252 };
253
254 dm {
255 description = "DM binary";
256 type = "firmware";
257 arch = "arm32";
258 compression = "none";
259 os = "DM";
260 load = <0x89000000>;
261 entry = <0x89000000>;
262 blob-ext {
263 filename = "ti-dm.bin";
264 };
265 };
266
267 spl {
268 description = "SPL (64-bit)";
269 type = "standalone";
270 os = "U-Boot";
271 arch = "arm64";
272 compression = "none";
273 load = <CONFIG_SPL_TEXT_BASE>;
274 entry = <CONFIG_SPL_TEXT_BASE>;
275 blob-ext {
276 filename = SPL_NODTB;
277 };
278 };
279
280 fdt-0 {
281 description = "k3-j721e-beagleboneai64";
282 type = "flat_dt";
283 arch = "arm";
284 compression = "none";
285 blob {
286 filename = SPL_J721E_BBAI64_DTB;
287 };
288 };
289 };
290
291 configurations {
292 default = "conf-0";
293
294 conf-0 {
295 description = "k3-j721e-beagleboneai64";
296 firmware = "atf";
297 loadables = "tee", "dm", "spl";
298 fdt = "fdt-0";
299 };
300 };
301 };
302 };
303
304 u-boot_unsigned {
305 filename = "u-boot.img_unsigned";
306 pad-byte = <0xff>;
307
308 fit {
309 description = "FIT image with multiple configurations";
310
311 images {
312 uboot {
313 description = "U-Boot for j721e board";
314 type = "firmware";
315 os = "u-boot";
316 arch = "arm";
317 compression = "none";
318 load = <CONFIG_TEXT_BASE>;
319 blob {
320 filename = UBOOT_NODTB;
321 };
322 hash {
323 algo = "crc32";
324 };
325 };
326
327 fdt-0 {
328 description = "k3-j721e-beagleboneai64";
329 type = "flat_dt";
330 arch = "arm";
331 compression = "none";
332 blob {
333 filename = J721E_BBAI64_DTB;
334 };
335 hash {
336 algo = "crc32";
337 };
338 };
339 };
340
341 configurations {
342 default = "conf-0";
343
344 conf-0 {
345 description = "k3-j721e-beagleboneai64";
346 firmware = "uboot";
347 loadables = "uboot";
348 fdt = "fdt-0";
349 };
350 };
351 };
352 };
353};
354#endif