blob: ca99fa0e6906b17a6a61136c67189612d78e437a [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;
95 k3_sysreset: sysreset-controller {
96 compatible = "ti,sci-sysreset";
97 bootph-all;
98 };
99};
100
101&k3_pds {
102 bootph-all;
103};
104
105&k3_clks {
106 bootph-all;
107};
108
109&k3_reset {
110 bootph-all;
111};
112
113&wkup_pmx0 {
114 bootph-all;
115};
116
117&main_pmx0 {
118 bootph-all;
119};
120
121&main_uart0 {
122 bootph-all;
123};
124
125&main_gpio0 {
126 bootph-all;
127};
128
129&main_uart0_pins_default {
130 bootph-all;
131};
132
133&main_sdhci0 {
134 bootph-all;
135};
136
137&main_sdhci1 {
138 bootph-all;
139 sdhci-caps-mask = <0x00000007 0x00000000>;
140 /delete-property/ cd-gpios;
141 /delete-property/ cd-debounce-delay-ms;
142 /delete-property/ ti,fails-without-test-cd;
143 /delete-property/ no-1-8-v;
144};
145
146&main_mmc1_pins_default {
147 bootph-all;
148};
149
150&mcu_cpsw {
151 bootph-all;
152};
153
154&davinci_mdio {
155 bootph-all;
156};
157
158&phy0 {
159 bootph-all;
160};
161
162&serdes2 {
163 bootph-all;
164};
165
166&serdes_ln_ctrl {
167 bootph-all;
Roger Quadrosf8f4cbb2024-01-12 14:49:50 +0200168 u-boot,mux-autoprobe;
Robert Nelson39452282023-11-04 03:11:00 -0500169};
170
171&serdes2_usb_link {
172 bootph-all;
173};
174
175&usb_serdes_mux {
176 bootph-all;
Roger Quadrosf8f4cbb2024-01-12 14:49:50 +0200177 u-boot,mux-autoprobe;
Robert Nelson39452282023-11-04 03:11:00 -0500178};
179
180&serdes_wiz2 {
181 bootph-all;
182};
183
184&main_usbss1_pins_default {
185 bootph-all;
186};
187
188&mcu_usbss1_pins_default {
189 bootph-all;
190};
191
192&usbss1 {
193 bootph-all;
194};
195
196&usb1 {
197 bootph-all;
198};
199
200&wkup_i2c0_pins_default {
201 bootph-all;
202};
203
204&wkup_i2c0 {
205 bootph-all;
206};
207
208#ifdef CONFIG_TARGET_J721E_A72_BEAGLEBONEAI64
209
210#define SPL_NODTB "spl/u-boot-spl-nodtb.bin"
211#define SPL_J721E_BBAI64_DTB "spl/dts/k3-j721e-beagleboneai64.dtb"
212
213#define UBOOT_NODTB "u-boot-nodtb.bin"
214#define J721E_BBAI64_DTB "arch/arm/dts/k3-j721e-beagleboneai64.dtb"
215
216&binman {
217 ti-dm {
218 filename = "ti-dm.bin";
219 blob-ext {
220 filename = "ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f";
221 };
222 };
223
224 ti-spl_unsigned {
225 filename = "tispl.bin_unsigned";
226 pad-byte = <0xff>;
227
228 fit {
229 description = "Configuration to load ATF and SPL";
230 #address-cells = <1>;
231
232 images {
233
234 atf {
235 description = "ARM Trusted Firmware";
236 type = "firmware";
237 arch = "arm64";
238 compression = "none";
239 os = "arm-trusted-firmware";
240 load = <CONFIG_K3_ATF_LOAD_ADDR>;
241 entry = <CONFIG_K3_ATF_LOAD_ADDR>;
242 atf-bl31 {
243 filename = "bl31.bin";
244 };
245 };
246
247 tee {
248 description = "OP-TEE";
249 type = "tee";
250 arch = "arm64";
251 compression = "none";
252 os = "tee";
Andrew Davis27df8602024-02-14 10:30:05 -0600253 load = <CONFIG_K3_OPTEE_LOAD_ADDR>;
254 entry = <CONFIG_K3_OPTEE_LOAD_ADDR>;
Robert Nelson39452282023-11-04 03:11:00 -0500255 tee-os {
256 filename = "tee-raw.bin";
257 };
258 };
259
260 dm {
261 description = "DM binary";
262 type = "firmware";
263 arch = "arm32";
264 compression = "none";
265 os = "DM";
266 load = <0x89000000>;
267 entry = <0x89000000>;
268 blob-ext {
269 filename = "ti-dm.bin";
270 };
271 };
272
273 spl {
274 description = "SPL (64-bit)";
275 type = "standalone";
276 os = "U-Boot";
277 arch = "arm64";
278 compression = "none";
279 load = <CONFIG_SPL_TEXT_BASE>;
280 entry = <CONFIG_SPL_TEXT_BASE>;
281 blob-ext {
282 filename = SPL_NODTB;
283 };
284 };
285
286 fdt-0 {
287 description = "k3-j721e-beagleboneai64";
288 type = "flat_dt";
289 arch = "arm";
290 compression = "none";
291 blob {
292 filename = SPL_J721E_BBAI64_DTB;
293 };
294 };
295 };
296
297 configurations {
298 default = "conf-0";
299
300 conf-0 {
301 description = "k3-j721e-beagleboneai64";
302 firmware = "atf";
303 loadables = "tee", "dm", "spl";
304 fdt = "fdt-0";
305 };
306 };
307 };
308 };
309
310 u-boot_unsigned {
311 filename = "u-boot.img_unsigned";
312 pad-byte = <0xff>;
313
314 fit {
315 description = "FIT image with multiple configurations";
316
317 images {
318 uboot {
319 description = "U-Boot for j721e board";
320 type = "firmware";
321 os = "u-boot";
322 arch = "arm";
323 compression = "none";
324 load = <CONFIG_TEXT_BASE>;
325 blob {
326 filename = UBOOT_NODTB;
327 };
328 hash {
329 algo = "crc32";
330 };
331 };
332
333 fdt-0 {
334 description = "k3-j721e-beagleboneai64";
335 type = "flat_dt";
336 arch = "arm";
337 compression = "none";
338 blob {
339 filename = J721E_BBAI64_DTB;
340 };
341 hash {
342 algo = "crc32";
343 };
344 };
345 };
346
347 configurations {
348 default = "conf-0";
349
350 conf-0 {
351 description = "k3-j721e-beagleboneai64";
352 firmware = "uboot";
353 loadables = "uboot";
354 fdt = "fdt-0";
355 };
356 };
357 };
358 };
359};
360#endif