blob: baf1a83dc12459699da58c03da30eef540db3180 [file] [log] [blame]
Bryan Brattlof702196b2024-03-12 15:20:28 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * AM62P5 SK dts file for R5 SPL
4 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
5 */
6
7#include "k3-am62p5-sk.dts"
8#include "k3-am62p5-sk-u-boot.dtsi"
9
10#include "k3-am62p-ddr-lp4-50-1600.dtsi"
11#include "k3-am62a-ddr.dtsi"
12
13/ {
14 aliases {
15 remoteproc0 = &sysctrler;
16 remoteproc1 = &a53_0;
17 serial0 = &wkup_uart0;
18 serial2 = &main_uart0;
19 serial3 = &main_uart1;
20 };
21
22 a53_0: a53@0 {
23 compatible = "ti,am654-rproc";
24 reg = <0x00 0x00a90000 0x00 0x10>;
25 power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
26 <&k3_pds 135 TI_SCI_PD_EXCLUSIVE>,
27 <&k3_pds 166 TI_SCI_PD_EXCLUSIVE>;
28 resets = <&k3_reset 135 0>;
Manorit Chawdhryf23728b2024-10-15 16:22:19 +053029 clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
30 clock-names = "gtc", "core";
Bryan Brattlof702196b2024-03-12 15:20:28 -050031 assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
32 assigned-clock-parents = <&k3_clks 61 2>;
33 assigned-clock-rates = <200000000>, <1200000000>;
34 ti,sci = <&dmsc>;
35 ti,sci-proc-id = <32>;
36 ti,sci-host-id = <10>;
37 bootph-all;
38 };
39
40 dm_tifs: dm-tifs {
41 compatible = "ti,j721e-dm-sci";
42 ti,host-id = <36>;
43 ti,secure-host;
44 mbox-names = "rx", "tx";
45 mboxes= <&secure_proxy_main 20>,
46 <&secure_proxy_main 21>;
47 bootph-all;
48 };
49};
50
51&dmsc {
52 mboxes= <&secure_proxy_main 0>,
53 <&secure_proxy_main 1>,
54 <&secure_proxy_main 0>;
55 mbox-names = "rx", "tx", "notify";
56 ti,host-id = <35>;
57 ti,secure-host;
58};
59
60&cbass_main {
61 sa3_secproxy: secproxy@44880000 {
62 compatible = "ti,am654-secure-proxy";
63 #mbox-cells = <1>;
64 reg = <0x00 0x44880000 0x00 0x20000>,
65 <0x00 0x44860000 0x00 0x20000>,
66 <0x00 0x43600000 0x00 0x10000>;
67 reg-names = "rt", "scfg", "target_data";
68 bootph-all;
69 };
70
71 sysctrler: sysctrler {
72 compatible = "ti,am654-system-controller";
73 mboxes= <&secure_proxy_main 1>,
74 <&secure_proxy_main 0>,
75 <&sa3_secproxy 0>;
76 mbox-names = "tx", "rx", "boot_notify";
77 bootph-all;
78 };
79};
80
81/* WKUP UART0 is used for DM firmware logs */
82&wkup_uart0 {
83 status = "okay";
84};
85
86/* Main UART1 is used for TIFS firmware logs */
87&main_uart1 {
88 status = "okay";
89};
90
91&main_pktdma {
92 ti,sci = <&dm_tifs>;
93};
94
95&main_bcdma {
96 ti,sci = <&dm_tifs>;
97};
98
99&ospi0 {
100 reg = <0x00 0x0fc40000 0x00 0x100>,
101 <0x00 0x60000000 0x00 0x08000000>;
102};