1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
8 #include "k3-j721e-som-p0.dtsi"
9 #include "k3-j721e-ddr-evm-lp4-3733.dtsi"
10 #include "k3-j721e-ddr.dtsi"
14 remoteproc0 = &sysctrler;
19 stdout-path = "serial2:115200n8";
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>;
32 ti,sci-proc-id = <32>;
33 ti,sci-host-id = <10>;
37 clk_200mhz: dummy_clock {
38 compatible = "fixed-clock";
40 clock-frequency = <200000000>;
46 mcu_secproxy: secproxy@28380000 {
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";
56 sysctrler: sysctrler {
58 compatible = "ti,am654-system-controller";
59 mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>;
60 mbox-names = "tx", "rx";
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>;
72 mboxes= <&mcu_secproxy 8>, <&mcu_secproxy 6>, <&mcu_secproxy 5>;
73 mbox-names = "tx", "rx", "notify";
79 wkup_uart0_pins_default: wkup_uart0_pins_default {
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 */
87 mcu_uart0_pins_default: mcu_uart0_pins_default {
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 */
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 */
106 main_uart0_pins_default: main_uart0_pins_default {
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 */
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 */
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 */
140 pinctrl-names = "default";
141 pinctrl-0 = <&wkup_uart0_pins_default>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&mcu_uart0_pins_default>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&main_uart0_pins_default>;
155 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
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>;
170 /delete-property/ power-domains;
171 /delete-property/ assigned-clocks;
172 /delete-property/ assigned-clock-parents;
173 pinctrl-names = "default";
174 pinctrl-0 = <&main_mmc1_pins_default>;
175 clock-names = "clk_xin";
176 clocks = <&clk_200mhz>;
177 ti,driver-strength-ohm = <50>;
182 tps659413a: tps659413a@48 {
184 compatible = "ti,tps659413";
186 pinctrl-names = "default";
187 pinctrl-0 = <&wkup_i2c0_pins_default>;
188 clock-frequency = <400000>;
190 regulators: regulators {
194 regulator-name = "buck12";
195 regulator-min-microvolt = <800000>;
196 regulator-max-microvolt = <1250000>;
206 vdd-supply-2 = <&buck12_reg>;
210 #include "k3-j721e-common-proc-board-u-boot.dtsi"