blob: 69bf999307761e25ef6fa797d32a61170d7dca9e [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>;
Manorit Chawdhryf23728b2024-10-15 16:22:19 +053026 clocks = <&k3_clks 61 1>, <&k3_clks 202 2>;
27 clock-names = "gtc", "core";
Reid Tonking704ef102023-12-07 10:52:11 -060028 assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>, <&k3_clks 323 0>;
29 assigned-clock-parents= <0>, <0>, <&k3_clks 323 2>;
Dave Gerlachfe506932020-08-05 22:44:29 +053030 assigned-clock-rates = <2000000000>, <200000000>;
31 ti,sci = <&dmsc>;
32 ti,sci-proc-id = <32>;
33 ti,sci-host-id = <10>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070034 bootph-pre-ram;
Dave Gerlachfe506932020-08-05 22:44:29 +053035 };
36
Reid Tonking7a2826a2023-10-05 13:12:58 -050037 dm_tifs: dm-tifs {
38 compatible = "ti,j721e-dm-sci";
39 ti,host-id = <3>;
40 ti,secure-host;
41 mbox-names = "rx", "tx";
42 mboxes = <&secure_proxy_mcu 21>,
43 <&secure_proxy_mcu 23>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070044 bootph-pre-ram;
Dave Gerlachfe506932020-08-05 22:44:29 +053045 };
46};
47
48&memorycontroller {
49 power-domains = <&k3_pds 8 TI_SCI_PD_SHARED>,
50 <&k3_pds 90 TI_SCI_PD_SHARED>;
51 clocks = <&k3_clks 8 5>, <&k3_clks 30 9>;
Reid Tonking7a2826a2023-10-05 13:12:58 -050052 bootph-pre-ram;
Dave Gerlachfe506932020-08-05 22:44:29 +053053};
54
Reid Tonking7a2826a2023-10-05 13:12:58 -050055&mcu_timer0 {
Manorit Chawdhry1e081eb2024-11-21 17:32:51 +053056 /delete-property/ clocks;
57 /delete-property/ clocks-names;
58 /delete-property/ assigned-clocks;
59 /delete-property/ assigned-clock-parents;
Aniket Limaye264f2282024-03-06 12:07:48 +053060 clock-frequency = <250000000>;
Reid Tonking7a2826a2023-10-05 13:12:58 -050061 bootph-pre-ram;
62};
Dave Gerlachfe506932020-08-05 22:44:29 +053063
Reid Tonking7a2826a2023-10-05 13:12:58 -050064&secure_proxy_mcu {
65 bootph-pre-ram;
66 status = "okay";
67};
68
69&cbass_mcu_wakeup {
Dave Gerlachfe506932020-08-05 22:44:29 +053070 sysctrler: sysctrler {
Dave Gerlachfe506932020-08-05 22:44:29 +053071 compatible = "ti,am654-system-controller";
Reid Tonking7a2826a2023-10-05 13:12:58 -050072 mboxes= <&secure_proxy_mcu 4>,
73 <&secure_proxy_mcu 5>;
Dave Gerlachfe506932020-08-05 22:44:29 +053074 mbox-names = "tx", "rx";
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-pre-ram;
Vignesh Raghavendra98181972021-06-07 19:47:50 +053076 };
Dave Gerlachfe506932020-08-05 22:44:29 +053077};
78
79&dmsc {
Reid Tonking7a2826a2023-10-05 13:12:58 -050080 mboxes = <&secure_proxy_mcu 8>,
81 <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
Dave Gerlachfe506932020-08-05 22:44:29 +053082 mbox-names = "tx", "rx", "notify";
83 ti,host-id = <4>;
84 ti,secure-host;
Simon Glassd3a98cb2023-02-13 08:56:33 -070085 bootph-pre-ram;
Dave Gerlachfe506932020-08-05 22:44:29 +053086};
87
Gowtham Tammana5075bad2021-07-14 15:52:59 -050088&wkup_vtm0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-pre-ram;
Gowtham Tammana5075bad2021-07-14 15:52:59 -050090};
Aniket Limayee49d5da2024-03-06 12:07:47 +053091
92&ospi0 {
93 reg = <0x0 0x47040000 0x0 0x100>,
94 <0x0 0x50000000 0x0 0x8000000>;
95};
Aniket Limaye06ae6c42024-03-06 12:07:49 +053096
Jonathan Humphreysbeb31062024-08-09 18:01:55 -050097&fss {
98 /* enable ranges missing from the FSS node */
99 ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x00068400>,
100 <0x0 0x50000000 0x0 0x50000000 0x0 0x08000000>;
101};
102
Aniket Limaye06ae6c42024-03-06 12:07:49 +0530103&mcu_ringacc {
104 ti,sci = <&dm_tifs>;
105};
106
107&mcu_udmap {
108 ti,sci = <&dm_tifs>;
109};
Udit Kumar8507ed02024-09-11 14:07:22 +0530110
111&wkup_vtm0 {
112 vdd-supply-2 = <&buckb1>;
113 bootph-pre-ram;
114};