blob: 6b9f40e55581ca8e3a558c43e97ac7ad99cc0bfb [file] [log] [blame]
Nishanth Menonc5ac2c72022-05-25 13:38:48 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * AM625 SK dts file for R5 SPL
4 * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/
5 */
6
7#include "k3-am625-sk.dts"
8#include "k3-am62x-sk-ddr4-1600MTs.dtsi"
9#include "k3-am62-ddr.dtsi"
10
11#include "k3-am625-sk-u-boot.dtsi"
12
13/ {
14 aliases {
15 remoteproc0 = &sysctrler;
16 remoteproc1 = &a53_0;
17 serial0 = &wkup_uart0;
18 serial3 = &main_uart1;
19 };
20
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053021 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>,
Manorit Chawdhryf023d772023-04-14 09:47:59 +053025 <&k3_pds 135 TI_SCI_PD_EXCLUSIVE>,
26 <&k3_pds 166 TI_SCI_PD_EXCLUSIVE>;
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053027 resets = <&k3_reset 135 0>;
28 clocks = <&k3_clks 61 0>;
29 assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
30 assigned-clock-parents = <&k3_clks 61 2>;
31 assigned-clock-rates = <200000000>, <1200000000>;
32 ti,sci = <&dmsc>;
33 ti,sci-proc-id = <32>;
34 ti,sci-host-id = <10>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-pre-ram;
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053036 };
37
38 dm_tifs: dm-tifs {
39 compatible = "ti,j721e-dm-sci";
40 ti,host-id = <36>;
41 ti,secure-host;
42 mbox-names = "rx", "tx";
43 mboxes= <&secure_proxy_main 22>,
44 <&secure_proxy_main 23>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053046 };
47};
48
49&dmsc {
50 mboxes= <&secure_proxy_main 0>,
51 <&secure_proxy_main 1>,
52 <&secure_proxy_main 0>;
53 mbox-names = "rx", "tx", "notify";
54 ti,host-id = <35>;
55 ti,secure-host;
56};
57
Nishanth Menone17596d2023-07-27 04:03:31 -050058&secure_proxy_sa3 {
Nishanth Menone17596d2023-07-27 04:03:31 -050059 /* We require this for boot handshake */
60 status = "okay";
61};
62
Nishanth Menone17596d2023-07-27 04:03:31 -050063&cbass_main {
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053064 sysctrler: sysctrler {
65 compatible = "ti,am654-system-controller";
Nishanth Menone17596d2023-07-27 04:03:31 -050066 mboxes= <&secure_proxy_main 1>, <&secure_proxy_main 0>, <&secure_proxy_sa3 0>;
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053067 mbox-names = "tx", "rx", "boot_notify";
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053069 };
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053070};
71
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053072/* WKUP UART0 is used for DM firmware logs */
73&wkup_uart0 {
Nishanth Menonb26b8cf2023-11-14 21:28:57 -060074 status = "okay";
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053075};
76
77/* Main UART1 is used for TIFS firmware logs */
78&main_uart1 {
Nishanth Menonb26b8cf2023-11-14 21:28:57 -060079 status = "okay";
Nishanth Menonc5ac2c72022-05-25 13:38:48 +053080};
Dhruva Gole0f33ef22022-10-27 20:23:10 +053081
82&ospi0 {
83 reg = <0x00 0x0fc40000 0x00 0x100>,
84 <0x00 0x60000000 0x00 0x08000000>;
85};