blob: 586ddb6e7c8f1a2084c8798d888bba7e5590baf3 [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-j721e-beagleboneai64.dts"
11#include "k3-j721e-ddr-beagleboneai64-lp4-3200.dtsi"
12#include "k3-j721e-ddr.dtsi"
13
14#include "k3-j721e-beagleboneai64-u-boot.dtsi"
Neha Malcom Francis41046502024-05-20 15:29:14 +053015#include "k3-j721e-r5.dtsi"
Robert Nelson39452282023-11-04 03:11:00 -050016
Robert Nelson39452282023-11-04 03:11:00 -050017
18&wkup_i2c0 {
19 bootph-pre-ram;
20};
21
22&binman {
23 tiboot3-j721e-gp-evm.bin {
24 filename = "tiboot3-j721e-gp-evm.bin";
25 symlink = "tiboot3.bin";
26 ti-secure-rom {
27 content = <&u_boot_spl_unsigned>;
28 core = "public";
29 load = <CONFIG_SPL_TEXT_BASE>;
30 sw-rev = <CONFIG_K3_X509_SWRV>;
31 keyfile = "ti-degenerate-key.pem";
32 };
33 u_boot_spl_unsigned: u-boot-spl {
34 no-expanded;
35 };
36 };
37
38 sysfw_gp {
39 filename = "sysfw.bin_gp";
40 ti-secure-rom {
41 content = <&ti_fs>;
42 core = "secure";
43 load = <0x40000>;
44 sw-rev = <CONFIG_K3_X509_SWRV>;
45 keyfile = "ti-degenerate-key.pem";
46 };
47 ti_fs: ti-fs.bin {
48 filename = "ti-sysfw/ti-fs-firmware-j721e-gp.bin";
49 type = "blob-ext";
50 optional;
51 };
52 };
53
54 itb_gp {
55 filename = "sysfw-j721e-gp-evm.itb";
56 symlink = "sysfw.itb";
57 fit {
58 description = "SYSFW and Config fragments";
59 #address-cells = <1>;
60 images {
61 sysfw.bin {
62 description = "sysfw";
63 type = "firmware";
64 arch = "arm";
65 compression = "none";
66 blob-ext {
67 filename = "sysfw.bin_gp";
68 };
69 };
70 board-cfg.bin {
71 description = "board-cfg";
72 type = "firmware";
73 arch = "arm";
74 compression = "none";
75 blob-ext {
76 filename = "board-cfg.bin";
77 };
78 };
79 pm-cfg.bin {
80 description = "pm-cfg";
81 type = "firmware";
82 arch = "arm";
83 compression = "none";
84 blob-ext {
85 filename = "pm-cfg.bin";
86 };
87 };
88 rm-cfg.bin {
89 description = "rm-cfg";
90 type = "firmware";
91 arch = "arm";
92 compression = "none";
93 blob-ext {
94 filename = "rm-cfg.bin";
95 };
96 };
97 sec-cfg.bin {
98 description = "sec-cfg";
99 type = "firmware";
100 arch = "arm";
101 compression = "none";
102 blob-ext {
103 filename = "sec-cfg.bin";
104 };
105 };
106 };
107 };
108 };
109};
Jonathan Humphreys00aa26c2024-05-31 17:51:09 -0500110
111#include "k3-binman-capsule-r5.dtsi"
112
113// Capsue update GUIDs. See beagleboneai64.h.
114#define BEAGLEBONEAI64_TIBOOT3_IMAGE_GUID_STR "772a4810-2194-4923-8754-0115870ef367"
115#define BEAGLEBONEAI64_SYSFW_IMAGE_GUID_STR "dfc9c683-49b7-46bd-b3c1-3a3b2fdb135b"
116
117&capsule_tiboot3 {
118 efi-capsule {
119 image-guid = BEAGLEBONEAI64_TIBOOT3_IMAGE_GUID_STR;
120 };
121};
122
123&binman {
124 capsule-sysfw {
125 filename = "sysfw-capsule.bin";
126 efi-capsule {
127 image-index = <0x4>;
128 image-guid = BEAGLEBONEAI64_SYSFW_IMAGE_GUID_STR;
129 private-key = "arch/arm/mach-k3/keys/custMpk.pem";
130 public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
131 monotonic-count = <0x1>;
132
133 blob {
134 filename = "sysfw.itb";
135 };
136 };
137 };
138};