blob: 03bd680f44215304261530b67bb849198b06d0a3 [file] [log] [blame]
Aswath Govindrajuaec9a182022-01-25 20:56:43 +05301// SPDX-License-Identifier: GPL-2.0
2/*
Manorit Chawdhry377cc642023-10-06 10:15:58 +05303 * Copyright (C) 2021-2023 Texas Instruments Incorporated - https://www.ti.com/
Aswath Govindrajuaec9a182022-01-25 20:56:43 +05304 */
5
6/dts-v1/;
7
Manorit Chawdhry377cc642023-10-06 10:15:58 +05308#include "k3-j721s2-common-proc-board.dts"
Aswath Govindraju886284f2022-01-25 20:56:44 +05309#include "k3-j721s2-ddr-evm-lp4-4266.dtsi"
10#include "k3-j721s2-ddr.dtsi"
Manorit Chawdhry377cc642023-10-06 10:15:58 +053011#include "k3-j721s2-common-proc-board-u-boot.dtsi"
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053012
13/ {
14 chosen {
Manorit Chawdhry377cc642023-10-06 10:15:58 +053015 tick-timer = &mcu_timer0;
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053016 };
17
18 aliases {
19 remoteproc0 = &sysctrler;
20 remoteproc1 = &a72_0;
21 };
22
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053023 a72_0: a72@0 {
24 compatible = "ti,am654-rproc";
25 reg = <0x0 0x00a90000 0x0 0x10>;
26 power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
Manorit Chawdhry5ba11592023-04-14 09:47:52 +053027 <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
28 <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053029 resets = <&k3_reset 202 0>;
30 clocks = <&k3_clks 61 1>;
31 assigned-clocks = <&k3_clks 61 1>, <&k3_clks 202 0>;
32 assigned-clock-parents = <&k3_clks 61 2>;
33 assigned-clock-rates = <200000000>, <2000000000>;
34 ti,sci = <&sms>;
35 ti,sci-proc-id = <32>;
36 ti,sci-host-id = <10>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070037 bootph-pre-ram;
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053038 };
39
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053040 dm_tifs: dm-tifs {
41 compatible = "ti,j721e-dm-sci";
42 ti,host-id = <3>;
43 ti,secure-host;
44 mbox-names = "rx", "tx";
Manorit Chawdhry377cc642023-10-06 10:15:58 +053045 mboxes= <&secure_proxy_mcu 21>,
46 <&secure_proxy_mcu 23>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070047 bootph-pre-ram;
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053048 };
49};
50
Manorit Chawdhry377cc642023-10-06 10:15:58 +053051&mcu_timer0 {
52 clock-frequency = <250000000>;
53 bootph-pre-ram;
54};
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053055
Manorit Chawdhry377cc642023-10-06 10:15:58 +053056&secure_proxy_sa3 {
57 bootph-pre-ram;
58 status = "okay";
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053059};
60
Manorit Chawdhry377cc642023-10-06 10:15:58 +053061&secure_proxy_mcu {
62 bootph-pre-ram;
63 status = "okay";
64};
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053065
Manorit Chawdhry377cc642023-10-06 10:15:58 +053066&cbass_mcu_wakeup {
67 sysctrler: sysctrler {
68 compatible = "ti,am654-system-controller";
69 mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>, <&secure_proxy_sa3 5>;
70 mbox-names = "tx", "rx", "boot_notify";
Simon Glassd3a98cb2023-02-13 08:56:33 -070071 bootph-pre-ram;
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053072 };
73};
74
75&sms {
Manorit Chawdhry377cc642023-10-06 10:15:58 +053076 mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053077 mbox-names = "tx", "rx", "notify";
78 ti,host-id = <4>;
79 ti,secure-host;
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053080};
81
Aswath Govindrajuaec9a182022-01-25 20:56:43 +053082&mcu_ringacc {
83 ti,sci = <&dm_tifs>;
84};
85
86&mcu_udmap {
87 ti,sci = <&dm_tifs>;
88};