blob: 695aadc287bdcf411e65275e62fd686a4d8a2b70 [file] [log] [blame]
Sinthu Raja9ab2ac42023-01-10 21:17:57 +05301// SPDX-License-Identifier: GPL-2.0
2/*
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +05303 * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
Sinthu Raja9ab2ac42023-01-10 21:17:57 +05304 */
5
6/dts-v1/;
7
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +05308#include "k3-am68-sk-base-board.dts"
Sinthu Raja9ab2ac42023-01-10 21:17:57 +05309#include "k3-j721s2-ddr-evm-lp4-4266.dtsi"
10#include "k3-j721s2-ddr.dtsi"
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053011#include "k3-am68-sk-base-board-u-boot.dtsi"
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053012
13/ {
14 chosen {
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053015 tick-timer = &mcu_timer0;
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053016 };
17
18 aliases {
19 remoteproc0 = &sysctrler;
20 remoteproc1 = &a72_0;
21 };
22
Sinthu Raja9ab2ac42023-01-10 21:17:57 +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>,
27 <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>;
28 resets = <&k3_reset 202 0>;
29 clocks = <&k3_clks 61 1>;
30 assigned-clocks = <&k3_clks 61 1>, <&k3_clks 202 0>;
31 assigned-clock-parents = <&k3_clks 61 2>;
32 assigned-clock-rates = <200000000>, <2000000000>;
33 ti,sci = <&sms>;
34 ti,sci-proc-id = <32>;
35 ti,sci-host-id = <10>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070036 bootph-pre-ram;
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053037 };
38
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053039 dm_tifs: dm-tifs {
40 compatible = "ti,j721e-dm-sci";
41 ti,host-id = <3>;
42 ti,secure-host;
43 mbox-names = "rx", "tx";
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053044 mboxes= <&secure_proxy_mcu 21>,
45 <&secure_proxy_mcu 23>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070046 bootph-pre-ram;
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053047 };
48};
49
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053050&mcu_timer0 {
51 clock-frequency = <250000000>;
52 bootph-pre-ram;
53};
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053054
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053055&secure_proxy_mcu {
56 bootph-pre-ram;
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053057};
58
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053059&secure_proxy_sa3 {
60 bootph-pre-ram;
61};
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053062
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053063&cbass_mcu_wakeup {
64 sysctrler: sysctrler {
65 compatible = "ti,am654-system-controller";
66 mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>, <&secure_proxy_sa3 5>;
67 mbox-names = "tx", "rx", "boot_notify";
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053069 };
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053070};
71
72&sms {
Manorit Chawdhry1b1b93d2023-10-06 10:15:59 +053073 mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053074 mbox-names = "tx", "rx", "notify";
75 ti,host-id = <4>;
76 ti,secure-host;
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053077};
78
Sinthu Raja9ab2ac42023-01-10 21:17:57 +053079&mcu_ringacc {
80 ti,sci = <&dm_tifs>;
81};
82
83&mcu_udmap {
84 ti,sci = <&dm_tifs>;
85};