blob: 658f2cf730a70c20b5e513b2cee36f7169588b42 [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>;
29 clocks = <&k3_clks 61 0>;
30 assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
31 assigned-clock-parents = <&k3_clks 61 2>;
32 assigned-clock-rates = <200000000>, <1200000000>;
33 ti,sci = <&dmsc>;
34 ti,sci-proc-id = <32>;
35 ti,sci-host-id = <10>;
36 bootph-all;
37 };
38
39 dm_tifs: dm-tifs {
40 compatible = "ti,j721e-dm-sci";
41 ti,host-id = <36>;
42 ti,secure-host;
43 mbox-names = "rx", "tx";
44 mboxes= <&secure_proxy_main 20>,
45 <&secure_proxy_main 21>;
46 bootph-all;
47 };
48};
49
50&dmsc {
51 mboxes= <&secure_proxy_main 0>,
52 <&secure_proxy_main 1>,
53 <&secure_proxy_main 0>;
54 mbox-names = "rx", "tx", "notify";
55 ti,host-id = <35>;
56 ti,secure-host;
57};
58
59&cbass_main {
60 sa3_secproxy: secproxy@44880000 {
61 compatible = "ti,am654-secure-proxy";
62 #mbox-cells = <1>;
63 reg = <0x00 0x44880000 0x00 0x20000>,
64 <0x00 0x44860000 0x00 0x20000>,
65 <0x00 0x43600000 0x00 0x10000>;
66 reg-names = "rt", "scfg", "target_data";
67 bootph-all;
68 };
69
70 sysctrler: sysctrler {
71 compatible = "ti,am654-system-controller";
72 mboxes= <&secure_proxy_main 1>,
73 <&secure_proxy_main 0>,
74 <&sa3_secproxy 0>;
75 mbox-names = "tx", "rx", "boot_notify";
76 bootph-all;
77 };
78};
79
80/* WKUP UART0 is used for DM firmware logs */
81&wkup_uart0 {
82 status = "okay";
83};
84
85/* Main UART1 is used for TIFS firmware logs */
86&main_uart1 {
87 status = "okay";
88};
89
90&main_pktdma {
91 ti,sci = <&dm_tifs>;
92};
93
94&main_bcdma {
95 ti,sci = <&dm_tifs>;
96};
97
98&ospi0 {
99 reg = <0x00 0x0fc40000 0x00 0x100>,
100 <0x00 0x60000000 0x00 0x08000000>;
101};