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-4266.dtsi"
10 #include "k3-j721e-ddr.dtsi"
14 remoteproc0 = &sysctrler;
16 remoteproc2 = &main_r5fss0_core0;
17 remoteproc3 = &main_r5fss0_core1;
21 stdout-path = "serial2:115200n8";
26 compatible = "ti,am654-rproc";
27 reg = <0x0 0x00a90000 0x0 0x10>;
28 power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
29 <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>;
30 resets = <&k3_reset 202 0>;
31 clocks = <&k3_clks 61 1>;
32 assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
33 assigned-clock-rates = <2000000000>, <200000000>;
35 ti,sci-proc-id = <32>;
36 ti,sci-host-id = <10>;
40 clk_200mhz: dummy_clock_200mhz {
41 compatible = "fixed-clock";
43 clock-frequency = <200000000>;
47 clk_19_2mhz: dummy_clock_19_2mhz {
48 compatible = "fixed-clock";
50 clock-frequency = <19200000>;
56 mcu_secproxy: secproxy@28380000 {
58 compatible = "ti,am654-secure-proxy";
59 reg = <0x0 0x2a380000 0x0 0x80000>,
60 <0x0 0x2a400000 0x0 0x80000>,
61 <0x0 0x2a480000 0x0 0x80000>;
62 reg-names = "rt", "scfg", "target_data";
66 sysctrler: sysctrler {
68 compatible = "ti,am654-system-controller";
69 mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>;
70 mbox-names = "tx", "rx";
73 wkup_vtm0: wkup_vtm@42040000 {
74 compatible = "ti,am654-vtm", "ti,j721e-avs";
75 reg = <0x0 0x42040000 0x0 0x330>;
76 power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
77 #thermal-sensor-cells = <1>;
81 compatible = "ti,j721e-dm-sci";
84 mbox-names = "rx", "tx";
85 mboxes= <&mcu_secproxy 21>,
92 main_esm: esm@700000 {
93 compatible = "ti,j721e-esm";
94 reg = <0x0 0x700000 0x0 0x1000>;
95 ti,esm-pins = <344>, <345>;
101 mboxes= <&mcu_secproxy 8>, <&mcu_secproxy 6>, <&mcu_secproxy 5>;
102 mbox-names = "tx", "rx", "notify";
108 wkup_uart0_pins_default: wkup_uart0_pins_default {
110 pinctrl-single,pins = <
111 J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */
112 J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */
116 mcu_uart0_pins_default: mcu_uart0_pins_default {
118 pinctrl-single,pins = <
119 J721E_WKUP_IOPAD(0xe8, PIN_INPUT, 0) /* (H29) WKUP_GPIO0_14.MCU_UART0_CTSn */
120 J721E_WKUP_IOPAD(0xec, PIN_OUTPUT, 0) /* (J27) WKUP_GPIO0_15.MCU_UART0_RTSn */
121 J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */
122 J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0) /* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */
126 wkup_i2c0_pins_default: wkup-i2c0-pins-default {
127 pinctrl-single,pins = <
128 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
129 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
133 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
134 pinctrl-single,pins = <
135 J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */
136 J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */
137 J721E_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* MCU_OSPI0_D0 */
138 J721E_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* MCU_OSPI0_D1 */
139 J721E_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* MCU_OSPI0_D2 */
140 J721E_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* MCU_OSPI0_D3 */
141 J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_OSPI0_D4 */
142 J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_OSPI0_D5 */
143 J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_OSPI0_D6 */
144 J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_OSPI0_D7 */
145 J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
149 mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default {
151 pinctrl-single,pins = <
152 J721E_WKUP_IOPAD(0x34, PIN_OUTPUT, 0) /* (F22) MCU_OSPI1_CLK */
153 J721E_WKUP_IOPAD(0x50, PIN_OUTPUT, 0) /* (C22) MCU_OSPI1_CSn0 */
154 J721E_WKUP_IOPAD(0x40, PIN_INPUT, 0) /* (D22) MCU_OSPI1_D0 */
155 J721E_WKUP_IOPAD(0x44, PIN_INPUT, 0) /* (G22) MCU_OSPI1_D1 */
156 J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (D23) MCU_OSPI1_D2 */
157 J721E_WKUP_IOPAD(0x4c, PIN_INPUT, 0) /* (C23) MCU_OSPI1_D3 */
158 J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 0) /* (B23) MCU_OSPI1_DQS */
159 J721E_WKUP_IOPAD(0x38, PIN_INPUT, 0) /* (A23) MCU_OSPI1_LBCLKO */
165 main_uart0_pins_default: main_uart0_pins_default {
167 pinctrl-single,pins = <
168 J721E_IOPAD(0x1d4, PIN_INPUT, 1) /* (Y3) SPI1_CS0.UART0_CTSn */
169 J721E_IOPAD(0x1c0, PIN_OUTPUT, 1) /* (AA2) SPI0_CS0.UART0_RTSn */
170 J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */
171 J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */
175 main_usbss0_pins_default: main_usbss0_pins_default {
176 pinctrl-single,pins = <
177 J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
178 J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
182 main_mmc1_pins_default: main_mmc1_pins_default {
183 pinctrl-single,pins = <
184 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */
185 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */
186 J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */
187 J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */
188 J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */
189 J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */
190 J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */
191 J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
192 J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
196 main_i2c0_pins_default: main-i2c0-pins-default {
197 pinctrl-single,pins = <
198 J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */
199 J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */
206 pinctrl-names = "default";
207 pinctrl-0 = <&wkup_uart0_pins_default>;
212 /delete-property/ power-domains;
213 /delete-property/ clocks;
214 /delete-property/ clock-names;
215 pinctrl-names = "default";
216 pinctrl-0 = <&mcu_uart0_pins_default>;
218 clock-frequency = <48000000>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&main_uart0_pins_default>;
225 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
229 /delete-property/ power-domains;
230 /delete-property/ assigned-clocks;
231 /delete-property/ assigned-clock-parents;
232 clock-names = "clk_xin";
233 clocks = <&clk_200mhz>;
234 ti,driver-strength-ohm = <50>;
240 /delete-property/ power-domains;
241 /delete-property/ assigned-clocks;
242 /delete-property/ assigned-clock-parents;
243 pinctrl-names = "default";
244 pinctrl-0 = <&main_mmc1_pins_default>;
245 clock-names = "clk_xin";
246 clocks = <&clk_200mhz>;
247 ti,driver-strength-ohm = <50>;
252 tps659413a: tps659413a@48 {
254 compatible = "ti,tps659413";
256 pinctrl-names = "default";
257 pinctrl-0 = <&wkup_i2c0_pins_default>;
258 clock-frequency = <400000>;
260 regulators: regulators {
264 regulator-name = "buck12";
265 regulator-min-microvolt = <800000>;
266 regulator-max-microvolt = <1250000>;
276 vdd-supply-2 = <&buck12_reg>;
281 /delete-property/ power-domains;
282 /delete-property/ assigned-clocks;
283 /delete-property/ assigned-clock-parents;
284 clocks = <&clk_19_2mhz>;
285 clock-names = "usb2_refclk";
286 pinctrl-names = "default";
287 pinctrl-0 = <&main_usbss0_pins_default>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&main_i2c0_pins_default>;
294 clock-frequency = <400000>;
297 compatible = "ti,tca6416";
304 compatible = "ti,tca6424";
312 pinctrl-names = "default";
313 pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
315 reg = <0x0 0x47040000 0x0 0x100>,
316 <0x0 0x50000000 0x0 0x8000000>;
319 compatible = "jedec,spi-nor";
321 spi-tx-bus-width = <1>;
322 spi-rx-bus-width = <8>;
323 spi-max-frequency = <50000000>;
324 cdns,tshsl-ns = <60>;
325 cdns,tsd2d-ns = <60>;
326 cdns,tchsh-ns = <60>;
327 cdns,tslch-ns = <60>;
328 cdns,read-delay = <0>;
329 #address-cells = <1>;
335 pinctrl-names = "default";
336 pinctrl-0 = <&mcu_fss0_ospi1_pins_default>;
339 reg = <0x0 0x47050000 0x0 0x100>,
340 <0x0 0x58000000 0x0 0x8000000>;
343 compatible = "jedec,spi-nor";
345 spi-tx-bus-width = <1>;
346 spi-rx-bus-width = <4>;
347 spi-max-frequency = <40000000>;
348 cdns,tshsl-ns = <60>;
349 cdns,tsd2d-ns = <60>;
350 cdns,tchsh-ns = <60>;
351 cdns,tslch-ns = <60>;
352 cdns,read-delay = <2>;
353 #address-cells = <1>;