blob: ec5d3f4ba2cba7fe6524aec4b596862867bbe77c [file] [log] [blame]
Nitin Yadavdf9d93d2024-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>;
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>;
35 bootph-pre-ram;
36 };
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>;
45 bootph-pre-ram;
46 };
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
58&secure_proxy_sa3 {
59 /* We require this for boot handshake */
60 status = "okay";
61};
62
63&cbass_main {
64 sysctrler: sysctrler {
65 compatible = "ti,am654-system-controller";
66 mboxes= <&secure_proxy_main 1>,
67 <&secure_proxy_main 0>,
68 <&secure_proxy_sa3 0>;
69 mbox-names = "tx", "rx", "boot_notify";
70 bootph-pre-ram;
71 };
72};
73
74/* WKUP UART0 is used for DM firmware logs */
75&wkup_uart0 {
76 status = "okay";
77};
78
79/* Main UART1 is used for TIFS firmware logs */
80&main_uart1 {
81 status = "okay";
82};