blob: f0b66f0cb945a6920d470f66f9b5a5ecc1ab10ee [file] [log] [blame]
Robert Nelson0c24aad2023-08-25 13:03:03 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * https://beagleboard.org/play
4 *
5 * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
6 * Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
7 */
8
9#include "k3-am625-beagleplay.dts"
10#include "k3-am625-beagleplay-ddr4-1600MTs.dtsi"
11#include "k3-am62-ddr.dtsi"
12
13#include "k3-am625-beagleplay-u-boot.dtsi"
14
15/ {
16 aliases {
17 remoteproc0 = &sysctrler;
18 remoteproc1 = &a53_0;
19 };
20
21 a53_0: a53@0 {
22 compatible = "ti,am654-rproc";
23 reg = <0x00 0x00a90000 0x00 0x10>;
24 power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
25 <&k3_pds 135 TI_SCI_PD_EXCLUSIVE>;
26 resets = <&k3_reset 135 0>;
27 clocks = <&k3_clks 61 0>;
28 assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
29 assigned-clock-parents = <&k3_clks 61 2>;
30 assigned-clock-rates = <200000000>, <1250000000>;
31 ti,sci = <&dmsc>;
32 ti,sci-proc-id = <32>;
33 ti,sci-host-id = <10>;
34 bootph-pre-ram;
35 };
36
37 dm_tifs: dm-tifs {
38 compatible = "ti,j721e-dm-sci";
39 ti,host-id = <36>;
40 ti,secure-host;
41 mbox-names = "rx", "tx";
42 mboxes= <&secure_proxy_main 22>,
43 <&secure_proxy_main 23>;
44 bootph-pre-ram;
45 };
46};
47
48&dmsc {
49 mboxes= <&secure_proxy_main 0>,
50 <&secure_proxy_main 1>,
51 <&secure_proxy_main 0>;
52 mbox-names = "rx", "tx", "notify";
53 ti,host-id = <35>;
54 ti,secure-host;
55};
56
Robert Nelson0c24aad2023-08-25 13:03:03 -050057&secure_proxy_sa3 {
Robert Nelson0c24aad2023-08-25 13:03:03 -050058 /* We require this for boot handshake */
59 status = "okay";
60};
61
62&cbass_main {
63 sysctrler: sysctrler {
64 compatible = "ti,am654-system-controller";
65 mboxes= <&secure_proxy_main 1>, <&secure_proxy_main 0>, <&secure_proxy_sa3 0>;
66 mbox-names = "tx", "rx", "boot_notify";
67 bootph-pre-ram;
68 };
69};
70
Robert Nelson0c24aad2023-08-25 13:03:03 -050071&main_pktdma {
72 ti,sci = <&dm_tifs>;
73};
74
75&main_bcdma {
76 ti,sci = <&dm_tifs>;
77};
Nishanth Menona23cc142023-11-04 03:01:33 -050078
79&binman {
80 tiboot3-am62x-gp-evm.bin {
81 filename = "tiboot3-am62x-gp-evm.bin";
Dhruva Golea15e47f2024-06-18 10:19:45 +053082 symlink = "tiboot3.bin";
Nishanth Menona23cc142023-11-04 03:01:33 -050083 ti-secure-rom {
84 content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
85 <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
86 combined;
87 dm-data;
88 content-sbl = <&u_boot_spl_unsigned>;
89 load = <0x43c00000>;
90 content-sysfw = <&ti_fs_gp>;
91 load-sysfw = <0x40000>;
92 content-sysfw-data = <&combined_tifs_cfg_gp>;
93 load-sysfw-data = <0x67000>;
94 content-dm-data = <&combined_dm_cfg_gp>;
95 load-dm-data = <0x43c3a800>;
96 sw-rev = <1>;
97 keyfile = "ti-degenerate-key.pem";
98 };
99 u_boot_spl_unsigned: u-boot-spl {
100 no-expanded;
101 };
102 ti_fs_gp: ti-fs-gp.bin {
103 filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
104 type = "blob-ext";
105 optional;
106 };
107 combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
108 filename = "combined-tifs-cfg.bin";
109 type = "blob-ext";
110 };
111 combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
112 filename = "combined-dm-cfg.bin";
113 type = "blob-ext";
114 };
115
116 };
117};
Jonathan Humphreys82073c02024-05-31 17:51:06 -0500118
119#include "k3-binman-capsule-r5.dtsi"
120
121// Capsule update GUIDs in string form. See beagleplay.h
122#define BEAGLEPLAY_TIBOOT3_IMAGE_GUID_STR "0e225a09-f720-4d57-9120-e28f737f5a5e"
123
124&capsule_tiboot3 {
125 efi-capsule {
126 image-guid = BEAGLEPLAY_TIBOOT3_IMAGE_GUID_STR;
127
128 blob {
129 filename = "tiboot3-am62x-gp-evm.bin";
130 };
131 };
132};