blob: b8e5f49a1fc7491208b3690ff2584dd6fb8eb42c [file] [log] [blame]
Nitin Yadav5cca3112024-06-07 17:06:12 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * AM62x LP SK dts file for R5 SPL
4 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
5 */
6
7#include "k3-am62-lp-sk.dts"
8#include "k3-am62-lp4-50-800-800.dtsi"
9#include "k3-am62-ddr.dtsi"
10
11#include "k3-am62-lp-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
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 <&k3_pds 166 TI_SCI_PD_EXCLUSIVE>;
27 resets = <&k3_reset 135 0>;
Manorit Chawdhry86591442024-10-15 16:22:19 +053028 clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
29 clock-names = "gtc", "core";
Nitin Yadav5cca3112024-06-07 17:06:12 -050030 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-pre-ram;
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 22>,
45 <&secure_proxy_main 23>;
46 bootph-pre-ram;
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&secure_proxy_sa3 {
60 /* We require this for boot handshake */
61 status = "okay";
62};
63
64&cbass_main {
65 sysctrler: sysctrler {
66 compatible = "ti,am654-system-controller";
67 mboxes= <&secure_proxy_main 1>,
68 <&secure_proxy_main 0>,
69 <&secure_proxy_sa3 0>;
70 mbox-names = "tx", "rx", "boot_notify";
71 bootph-pre-ram;
72 };
73};
74
75/* WKUP UART0 is used for DM firmware logs */
76&wkup_uart0 {
77 status = "okay";
78};
79
80/* Main UART1 is used for TIFS firmware logs */
81&main_uart1 {
82 status = "okay";
83};