blob: 162d4800b179212e018d2b6236d4fe4b53194eda [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";
82 ti-secure-rom {
83 content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
84 <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
85 combined;
86 dm-data;
87 content-sbl = <&u_boot_spl_unsigned>;
88 load = <0x43c00000>;
89 content-sysfw = <&ti_fs_gp>;
90 load-sysfw = <0x40000>;
91 content-sysfw-data = <&combined_tifs_cfg_gp>;
92 load-sysfw-data = <0x67000>;
93 content-dm-data = <&combined_dm_cfg_gp>;
94 load-dm-data = <0x43c3a800>;
95 sw-rev = <1>;
96 keyfile = "ti-degenerate-key.pem";
97 };
98 u_boot_spl_unsigned: u-boot-spl {
99 no-expanded;
100 };
101 ti_fs_gp: ti-fs-gp.bin {
102 filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
103 type = "blob-ext";
104 optional;
105 };
106 combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
107 filename = "combined-tifs-cfg.bin";
108 type = "blob-ext";
109 };
110 combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
111 filename = "combined-dm-cfg.bin";
112 type = "blob-ext";
113 };
114
115 };
116};
Jonathan Humphreys82073c02024-05-31 17:51:06 -0500117
118#include "k3-binman-capsule-r5.dtsi"
119
120// Capsule update GUIDs in string form. See beagleplay.h
121#define BEAGLEPLAY_TIBOOT3_IMAGE_GUID_STR "0e225a09-f720-4d57-9120-e28f737f5a5e"
122
123&capsule_tiboot3 {
124 efi-capsule {
125 image-guid = BEAGLEPLAY_TIBOOT3_IMAGE_GUID_STR;
126
127 blob {
128 filename = "tiboot3-am62x-gp-evm.bin";
129 };
130 };
131};