blob: b0c108e9693114ce70f800bccc7eb75d44a80e6e [file] [log] [blame]
Sinthu Rajadaad7d62022-02-09 15:06:56 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6/dts-v1/;
7
Neha Malcom Francisd73851b2023-09-27 18:39:55 +05308#include "k3-j721e-sk.dts"
Sinthu Rajabc2972b2021-11-02 19:59:45 +05309#include "k3-j721e-ddr-sk-lp4-4266.dtsi"
Sinthu Rajadaad7d62022-02-09 15:06:56 +053010#include "k3-j721e-ddr.dtsi"
Neha Malcom Francisd73851b2023-09-27 18:39:55 +053011#include "k3-j721e-sk-u-boot.dtsi"
Sinthu Rajadaad7d62022-02-09 15:06:56 +053012
13/ {
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053014 chosen {
15 tick-timer = &mcu_timer0;
16 };
Sinthu Rajadaad7d62022-02-09 15:06:56 +053017
18 aliases {
19 remoteproc0 = &sysctrler;
20 remoteproc1 = &a72_0;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053021 };
22
23 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 Chawdhryab3df392023-04-14 09:47:53 +053027 <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
28 <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053029 resets = <&k3_reset 202 0>;
30 clocks = <&k3_clks 61 1>;
31 assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
32 assigned-clock-rates = <2000000000>, <200000000>;
33 ti,sci = <&dmsc>;
34 ti,sci-proc-id = <32>;
35 ti,sci-host-id = <10>;
Simon Glass8c103c32023-02-13 08:56:33 -070036 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053037 };
38
Sinthu Rajadaad7d62022-02-09 15:06:56 +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";
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053044 mboxes= <&secure_proxy_mcu 21>,
45 <&secure_proxy_mcu 23>;
Simon Glass8c103c32023-02-13 08:56:33 -070046 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053047 };
48};
49
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053050&mcu_timer0 {
51 status = "okay";
52 bootph-pre-ram;
53};
54
55&secure_proxy_mcu {
56 bootph-pre-ram;
57 status = "okay";
58};
59
60&cbass_mcu_wakeup {
61 sysctrler: sysctrler {
Simon Glass8c103c32023-02-13 08:56:33 -070062 bootph-pre-ram;
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053063 compatible = "ti,am654-system-controller";
64 mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>;
65 mbox-names = "tx", "rx";
Sinthu Rajadaad7d62022-02-09 15:06:56 +053066 };
67};
68
69&dmsc {
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053070 mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053071 mbox-names = "tx", "rx", "notify";
72 ti,host-id = <4>;
73 ti,secure-host;
74};
75
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053076&mcu_ringacc {
77 ti,sci = <&dm_tifs>;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053078};
79
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053080&mcu_udmap {
81 ti,sci = <&dm_tifs>;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053082};
83
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053084&wkup_uart0_pins_default {
Simon Glass8c103c32023-02-13 08:56:33 -070085 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053086};
87
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +053088&mcu_uart0_pins_default {
89 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053090};
91
92&wkup_i2c0 {
Simon Glass8c103c32023-02-13 08:56:33 -070093 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053094 tps659412: tps659412@48 {
95 reg = <0x48>;
96 compatible = "ti,tps659412";
Simon Glass8c103c32023-02-13 08:56:33 -070097 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +053098 pinctrl-names = "default";
99 pinctrl-0 = <&wkup_i2c0_pins_default>;
100 clock-frequency = <400000>;
101
102 regulators: regulators {
Simon Glass8c103c32023-02-13 08:56:33 -0700103 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +0530104 /* 3 Phase Buck */
105 buck123_reg: buck123 {
106 /* VDD_CPU */
107 regulator-name = "buck123";
108 regulator-min-microvolt = <800000>;
109 regulator-max-microvolt = <1250000>;
110 regulator-always-on;
111 regulator-boot-on;
Simon Glass8c103c32023-02-13 08:56:33 -0700112 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +0530113 };
114 };
Neha Malcom Francisd73851b2023-09-27 18:39:55 +0530115
116 esm: esm {
117 compatible = "ti,tps659413-esm";
118 bootph-pre-ram;
119 };
Sinthu Rajadaad7d62022-02-09 15:06:56 +0530120 };
121};
122
123&wkup_vtm0 {
124 vdd-supply-2 = <&buck123_reg>;
Simon Glass8c103c32023-02-13 08:56:33 -0700125 bootph-pre-ram;
Sinthu Rajadaad7d62022-02-09 15:06:56 +0530126};
127
Sinthu Rajadaad7d62022-02-09 15:06:56 +0530128&ospi0 {
Neha Malcom Francis69b19ca2023-09-27 18:39:56 +0530129 /* Address change for data region (32-bit) */
Sinthu Rajadaad7d62022-02-09 15:06:56 +0530130 reg = <0x0 0x47040000 0x0 0x100>,
131 <0x0 0x50000000 0x0 0x8000000>;
Sinthu Rajadaad7d62022-02-09 15:06:56 +0530132};