blob: 28a355d49c9b10af64bb28a1bbe9c59b993c73b0 [file] [log] [blame]
Lokesh Vutlaac736802019-06-13 10:29:55 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
4 */
5
6/dts-v1/;
7
8#include "k3-j721e-som-p0.dtsi"
Lokesh Vutla430a0b32019-10-07 19:26:37 +05309#include "k3-j721e-ddr-evm-lp4-3733.dtsi"
10#include "k3-j721e-ddr.dtsi"
Lokesh Vutlaac736802019-06-13 10:29:55 +053011
12/ {
13 aliases {
14 remoteproc0 = &sysctrler;
15 remoteproc1 = &a72_0;
16 };
17
18 chosen {
19 stdout-path = "serial2:115200n8";
20 tick-timer = &timer1;
21 };
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>,
27 <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>;
28 resets = <&k3_reset 202 0>;
29 assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
30 assigned-clock-rates = <2000000000>, <200000000>;
31 ti,sci = <&dmsc>;
32 ti,sci-proc-id = <32>;
33 ti,sci-host-id = <10>;
34 u-boot,dm-spl;
35 };
36
37 clk_200mhz: dummy_clock {
38 compatible = "fixed-clock";
39 #clock-cells = <0>;
40 clock-frequency = <200000000>;
41 u-boot,dm-spl;
42 };
43};
44
45&cbass_mcu_wakeup {
46 mcu_secproxy: secproxy@28380000 {
47 u-boot,dm-spl;
48 compatible = "ti,am654-secure-proxy";
49 reg = <0x0 0x2a380000 0x0 0x80000>,
50 <0x0 0x2a400000 0x0 0x80000>,
51 <0x0 0x2a480000 0x0 0x80000>;
52 reg-names = "rt", "scfg", "target_data";
53 #mbox-cells = <1>;
54 };
55
56 sysctrler: sysctrler {
57 u-boot,dm-spl;
58 compatible = "ti,am654-system-controller";
59 mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>;
60 mbox-names = "tx", "rx";
61 };
Keerthybe86d322019-10-24 15:00:58 +053062
63 wkup_vtm0: wkup_vtm@42040000 {
64 compatible = "ti,am654-vtm", "ti,j721e-avs";
65 reg = <0x0 0x42040000 0x0 0x330>;
66 power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
67 #thermal-sensor-cells = <1>;
68 };
Lokesh Vutlaac736802019-06-13 10:29:55 +053069};
70
71&dmsc {
72 mboxes= <&mcu_secproxy 8>, <&mcu_secproxy 6>, <&mcu_secproxy 5>;
73 mbox-names = "tx", "rx", "notify";
74 ti,host-id = <4>;
75 ti,secure-host;
76};
77
78&wkup_pmx0 {
79 wkup_uart0_pins_default: wkup_uart0_pins_default {
80 u-boot,dm-spl;
81 pinctrl-single,pins = <
82 J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */
83 J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */
84 >;
85 };
86
87 mcu_uart0_pins_default: mcu_uart0_pins_default {
88 u-boot,dm-spl;
89 pinctrl-single,pins = <
90 J721E_WKUP_IOPAD(0xe8, PIN_INPUT, 0) /* (H29) WKUP_GPIO0_14.MCU_UART0_CTSn */
91 J721E_WKUP_IOPAD(0xec, PIN_OUTPUT, 0) /* (J27) WKUP_GPIO0_15.MCU_UART0_RTSn */
92 J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */
93 J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0) /* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */
94 >;
95 };
Keerthyc6f86542019-10-24 15:00:59 +053096
97 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
98 pinctrl-single,pins = <
99 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
100 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
101 >;
102 };
Lokesh Vutlaac736802019-06-13 10:29:55 +0530103};
104
105&main_pmx0 {
106 main_uart0_pins_default: main_uart0_pins_default {
107 u-boot,dm-spl;
108 pinctrl-single,pins = <
109 J721E_IOPAD(0x1d4, PIN_INPUT, 1) /* (Y3) SPI1_CS0.UART0_CTSn */
110 J721E_IOPAD(0x1c0, PIN_OUTPUT, 1) /* (AA2) SPI0_CS0.UART0_RTSn */
111 J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */
112 J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */
113 >;
114 };
Vignesh Raghavendra04ed4932019-11-18 19:16:35 +0530115
116 main_usbss0_pins_default: main_usbss0_pins_default {
117 pinctrl-single,pins = <
118 J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
119 J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
120 >;
121 };
Faiz Abbasc67d3892020-01-16 19:42:21 +0530122
123 main_mmc1_pins_default: main_mmc1_pins_default {
124 pinctrl-single,pins = <
125 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
126 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
127 J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
128 J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
129 J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
130 J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
131 J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
132 J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
133 J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
134 >;
135 };
Lokesh Vutlaac736802019-06-13 10:29:55 +0530136};
137
138&wkup_uart0 {
139 u-boot,dm-spl;
140 pinctrl-names = "default";
141 pinctrl-0 = <&wkup_uart0_pins_default>;
142 status = "okay";
143};
144
145&mcu_uart0 {
146 pinctrl-names = "default";
147 pinctrl-0 = <&mcu_uart0_pins_default>;
148 status = "okay";
149};
150
151&main_uart0 {
152 pinctrl-names = "default";
153 pinctrl-0 = <&main_uart0_pins_default>;
154 status = "okay";
155 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
156};
157
158&main_sdhci0 {
159 /delete-property/ power-domains;
160 /delete-property/ assigned-clocks;
161 /delete-property/ assigned-clock-parents;
162 clock-names = "clk_xin";
163 clocks = <&clk_200mhz>;
164 ti,driver-strength-ohm = <50>;
165 non-removable;
166 bus-width = <8>;
167};
168
169&main_sdhci1 {
170 /delete-property/ power-domains;
171 /delete-property/ assigned-clocks;
172 /delete-property/ assigned-clock-parents;
Faiz Abbasc67d3892020-01-16 19:42:21 +0530173 pinctrl-names = "default";
174 pinctrl-0 = <&main_mmc1_pins_default>;
Lokesh Vutlaac736802019-06-13 10:29:55 +0530175 clock-names = "clk_xin";
176 clocks = <&clk_200mhz>;
177 ti,driver-strength-ohm = <50>;
178};
179
Keerthyc6f86542019-10-24 15:00:59 +0530180&wkup_i2c0 {
181 u-boot,dm-spl;
182 tps659413a: tps659413a@48 {
183 reg = <0x48>;
184 compatible = "ti,tps659413";
185 u-boot,dm-spl;
186 pinctrl-names = "default";
187 pinctrl-0 = <&wkup_i2c0_pins_default>;
188 clock-frequency = <400000>;
189
190 regulators: regulators {
191 u-boot,dm-spl;
192 buck12_reg: buck12 {
193 /*VDD_MPU*/
194 regulator-name = "buck12";
195 regulator-min-microvolt = <800000>;
196 regulator-max-microvolt = <1250000>;
197 regulator-always-on;
198 regulator-boot-on;
199 u-boot,dm-spl;
200 };
201 };
202 };
203};
204
Keerthy7c9fa302019-10-24 15:01:00 +0530205&wkup_vtm0 {
206 vdd-supply-2 = <&buck12_reg>;
207 u-boot,dm-spl;
208};
209
Lokesh Vutlaac736802019-06-13 10:29:55 +0530210#include "k3-j721e-common-proc-board-u-boot.dtsi"