blob: 06fffe2a11bf64fde792e07f3d328fa75211ee33 [file] [log] [blame]
Dave Gerlachfe506932020-08-05 22:44:29 +05301// SPDX-License-Identifier: GPL-2.0
2/*
Reid Tonking7a2826a2023-10-05 13:12:58 -05003 * Copyright (C) 2020-2023 Texas Instruments Incorporated - https://www.ti.com/
Dave Gerlachfe506932020-08-05 22:44:29 +05304 */
5
6/dts-v1/;
7
Reid Tonking7a2826a2023-10-05 13:12:58 -05008#include "k3-j7200-common-proc-board.dts"
Kevin Scholz7a16fb52021-06-03 08:14:53 -05009#include "k3-j7200-ddr-evm-lp4-2666.dtsi"
Dave Gerlachfe506932020-08-05 22:44:29 +053010#include "k3-j721e-ddr.dtsi"
Reid Tonking7a2826a2023-10-05 13:12:58 -050011#include "k3-j7200-common-proc-board-u-boot.dtsi"
Dave Gerlachfe506932020-08-05 22:44:29 +053012
13/ {
14 aliases {
15 remoteproc0 = &sysctrler;
16 remoteproc1 = &a72_0;
17 };
18
Dave Gerlachfe506932020-08-05 22:44:29 +053019 a72_0: a72@0 {
20 compatible = "ti,am654-rproc";
21 reg = <0x0 0x00a90000 0x0 0x10>;
22 power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
Manorit Chawdhry2806e832023-04-14 09:47:55 +053023 <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
24 <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
Dave Gerlachfe506932020-08-05 22:44:29 +053025 resets = <&k3_reset 202 0>;
Reid Tonkinge5d15402024-11-19 06:02:55 +053026 clocks = <&k3_clks 61 1>, <&k3_clks 202 2>, <&k3_clks 4 1> ;
27 clock-names = "gtc", "core", "msmc";
28 assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>, <&k3_clks 4 1>,
29 <&k3_clks 323 0>;
30 assigned-clock-parents= <0>, <0>, <0>, <&k3_clks 323 2>;
31 assigned-clock-rates = <2000000000>, <200000000>, <1000000000>;
Dave Gerlachfe506932020-08-05 22:44:29 +053032 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;
Dave Gerlachfe506932020-08-05 22:44:29 +053036 };
37
Reid Tonking7a2826a2023-10-05 13:12:58 -050038 dm_tifs: dm-tifs {
39 compatible = "ti,j721e-dm-sci";
40 ti,host-id = <3>;
41 ti,secure-host;
42 mbox-names = "rx", "tx";
43 mboxes = <&secure_proxy_mcu 21>,
44 <&secure_proxy_mcu 23>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Dave Gerlachfe506932020-08-05 22:44:29 +053046 };
47};
48
49&memorycontroller {
50 power-domains = <&k3_pds 8 TI_SCI_PD_SHARED>,
51 <&k3_pds 90 TI_SCI_PD_SHARED>;
52 clocks = <&k3_clks 8 5>, <&k3_clks 30 9>;
Reid Tonking7a2826a2023-10-05 13:12:58 -050053 bootph-pre-ram;
Dave Gerlachfe506932020-08-05 22:44:29 +053054};
55
Reid Tonking7a2826a2023-10-05 13:12:58 -050056&mcu_timer0 {
Aniket Limaye264f2282024-03-06 12:07:48 +053057 clock-frequency = <250000000>;
Reid Tonking7a2826a2023-10-05 13:12:58 -050058 bootph-pre-ram;
59};
Dave Gerlachfe506932020-08-05 22:44:29 +053060
Reid Tonking7a2826a2023-10-05 13:12:58 -050061&secure_proxy_mcu {
62 bootph-pre-ram;
63 status = "okay";
64};
65
66&cbass_mcu_wakeup {
Dave Gerlachfe506932020-08-05 22:44:29 +053067 sysctrler: sysctrler {
Dave Gerlachfe506932020-08-05 22:44:29 +053068 compatible = "ti,am654-system-controller";
Reid Tonking7a2826a2023-10-05 13:12:58 -050069 mboxes= <&secure_proxy_mcu 4>,
70 <&secure_proxy_mcu 5>;
Dave Gerlachfe506932020-08-05 22:44:29 +053071 mbox-names = "tx", "rx";
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Vignesh Raghavendra98181972021-06-07 19:47:50 +053073 };
Dave Gerlachfe506932020-08-05 22:44:29 +053074};
75
76&dmsc {
Reid Tonking7a2826a2023-10-05 13:12:58 -050077 mboxes = <&secure_proxy_mcu 8>,
78 <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
Dave Gerlachfe506932020-08-05 22:44:29 +053079 mbox-names = "tx", "rx", "notify";
80 ti,host-id = <4>;
81 ti,secure-host;
Simon Glassd3a98cb2023-02-13 08:56:33 -070082 bootph-pre-ram;
Dave Gerlachfe506932020-08-05 22:44:29 +053083};
84
Gowtham Tammana5075bad2021-07-14 15:52:59 -050085&wkup_vtm0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070086 bootph-pre-ram;
Gowtham Tammana5075bad2021-07-14 15:52:59 -050087};
Aniket Limayee49d5da2024-03-06 12:07:47 +053088
89&ospi0 {
90 reg = <0x0 0x47040000 0x0 0x100>,
91 <0x0 0x50000000 0x0 0x8000000>;
92};
Aniket Limaye06ae6c42024-03-06 12:07:49 +053093
Jonathan Humphreysbeb31062024-08-09 18:01:55 -050094&fss {
95 /* enable ranges missing from the FSS node */
96 ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x00068400>,
97 <0x0 0x50000000 0x0 0x50000000 0x0 0x08000000>;
98};
99
Aniket Limaye06ae6c42024-03-06 12:07:49 +0530100&mcu_ringacc {
101 ti,sci = <&dm_tifs>;
102};
103
104&mcu_udmap {
105 ti,sci = <&dm_tifs>;
106};
Udit Kumar8507ed02024-09-11 14:07:22 +0530107
108&wkup_vtm0 {
109 vdd-supply-2 = <&buckb1>;
110 bootph-pre-ram;
111};