1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2019-2024 Texas Instruments Incorporated - https://www.ti.com/
5 * Product Link: https://www.ti.com/tool/J721EXSOMXEVM
10 #include "k3-j721e.dtsi"
14 device_type = "memory";
17 reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
18 <0x00000008 0x80000000 0x00000000 0x80000000>;
21 reserved_memory: reserved-memory {
26 secure_ddr: optee@9e800000 {
27 reg = <0x00 0x9e800000 0x00 0x01800000>;
32 mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
33 compatible = "shared-dma-pool";
34 reg = <0x00 0xa0000000 0x00 0x100000>;
38 mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
39 compatible = "shared-dma-pool";
40 reg = <0x00 0xa0100000 0x00 0xf00000>;
44 mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
45 compatible = "shared-dma-pool";
46 reg = <0x00 0xa1000000 0x00 0x100000>;
50 mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
51 compatible = "shared-dma-pool";
52 reg = <0x00 0xa1100000 0x00 0xf00000>;
56 main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 {
57 compatible = "shared-dma-pool";
58 reg = <0x00 0xa2000000 0x00 0x100000>;
62 main_r5fss0_core0_memory_region: r5f-memory@a2100000 {
63 compatible = "shared-dma-pool";
64 reg = <0x00 0xa2100000 0x00 0xf00000>;
68 main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 {
69 compatible = "shared-dma-pool";
70 reg = <0x00 0xa3000000 0x00 0x100000>;
74 main_r5fss0_core1_memory_region: r5f-memory@a3100000 {
75 compatible = "shared-dma-pool";
76 reg = <0x00 0xa3100000 0x00 0xf00000>;
80 main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a4000000 {
81 compatible = "shared-dma-pool";
82 reg = <0x00 0xa4000000 0x00 0x100000>;
86 main_r5fss1_core0_memory_region: r5f-memory@a4100000 {
87 compatible = "shared-dma-pool";
88 reg = <0x00 0xa4100000 0x00 0xf00000>;
92 main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a5000000 {
93 compatible = "shared-dma-pool";
94 reg = <0x00 0xa5000000 0x00 0x100000>;
98 main_r5fss1_core1_memory_region: r5f-memory@a5100000 {
99 compatible = "shared-dma-pool";
100 reg = <0x00 0xa5100000 0x00 0xf00000>;
104 c66_1_dma_memory_region: c66-dma-memory@a6000000 {
105 compatible = "shared-dma-pool";
106 reg = <0x00 0xa6000000 0x00 0x100000>;
110 c66_0_memory_region: c66-memory@a6100000 {
111 compatible = "shared-dma-pool";
112 reg = <0x00 0xa6100000 0x00 0xf00000>;
116 c66_0_dma_memory_region: c66-dma-memory@a7000000 {
117 compatible = "shared-dma-pool";
118 reg = <0x00 0xa7000000 0x00 0x100000>;
122 c66_1_memory_region: c66-memory@a7100000 {
123 compatible = "shared-dma-pool";
124 reg = <0x00 0xa7100000 0x00 0xf00000>;
128 c71_0_dma_memory_region: c71-dma-memory@a8000000 {
129 compatible = "shared-dma-pool";
130 reg = <0x00 0xa8000000 0x00 0x100000>;
134 c71_0_memory_region: c71-memory@a8100000 {
135 compatible = "shared-dma-pool";
136 reg = <0x00 0xa8100000 0x00 0xf00000>;
140 rtos_ipc_memory_region: ipc-memories@aa000000 {
141 reg = <0x00 0xaa000000 0x00 0x01c00000>;
142 alignment = <0x1000>;
149 wkup_i2c0_pins_default: wkup-i2c0-default-pins {
150 pinctrl-single,pins = <
151 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
152 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
157 pmic_irq_pins_default: pmic-irq-default-pins {
158 pinctrl-single,pins = <
159 J721E_WKUP_IOPAD(0x0d4, PIN_INPUT, 7) /* (G26) WKUP_GPIO0_9 */
163 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
164 pinctrl-single,pins = <
165 J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */
166 J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */
167 J721E_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* MCU_OSPI0_D0 */
168 J721E_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* MCU_OSPI0_D1 */
169 J721E_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* MCU_OSPI0_D2 */
170 J721E_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* MCU_OSPI0_D3 */
171 J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_OSPI0_D4 */
172 J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_OSPI0_D5 */
173 J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_OSPI0_D6 */
174 J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_OSPI0_D7 */
175 J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
180 mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-default-pins {
181 pinctrl-single,pins = <
182 J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CK */
183 J721E_WKUP_IOPAD(0x4, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CKn */
184 J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CSn0 */
185 J721E_WKUP_IOPAD(0x54, PIN_OUTPUT, 3) /* MCU_HYPERBUS0_CSn1 */
186 J721E_WKUP_IOPAD(0x30, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_RESETn */
187 J721E_WKUP_IOPAD(0x8, PIN_INPUT, 1) /* MCU_HYPERBUS0_RWDS */
188 J721E_WKUP_IOPAD(0xc, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ0 */
189 J721E_WKUP_IOPAD(0x10, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ1 */
190 J721E_WKUP_IOPAD(0x14, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ2 */
191 J721E_WKUP_IOPAD(0x18, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ3 */
192 J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ4 */
193 J721E_WKUP_IOPAD(0x20, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ5 */
194 J721E_WKUP_IOPAD(0x24, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ6 */
195 J721E_WKUP_IOPAD(0x28, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ7 */
203 pinctrl-names = "default";
204 pinctrl-0 = <&wkup_i2c0_pins_default>;
205 clock-frequency = <400000>;
208 /* CAV24C256WE-GT3 */
209 compatible = "atmel,24c256";
214 compatible = "ti,tps6594-q1";
216 system-power-controller;
217 pinctrl-names = "default";
218 pinctrl-0 = <&pmic_irq_pins_default>;
219 interrupt-parent = <&wkup_gpio0>;
220 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
224 buck12-supply = <&vsys_3v3>;
225 buck3-supply = <&vsys_3v3>;
226 buck4-supply = <&vsys_3v3>;
227 buck5-supply = <&vsys_3v3>;
228 ldo1-supply = <&vsys_3v3>;
229 ldo2-supply = <&vsys_3v3>;
230 ldo3-supply = <&vsys_3v3>;
231 ldo4-supply = <&vsys_3v3>;
235 regulator-name = "vdd_cpu_avs";
236 regulator-min-microvolt = <600000>;
237 regulator-max-microvolt = <900000>;
244 regulator-name = "vdd_mcu_0v85";
245 regulator-min-microvolt = <850000>;
246 regulator-max-microvolt = <850000>;
252 regulator-name = "vdd_ddr_1v1";
253 regulator-min-microvolt = <1100000>;
254 regulator-max-microvolt = <1100000>;
260 regulator-name = "vdd_phyio_1v8";
261 regulator-min-microvolt = <1800000>;
262 regulator-max-microvolt = <1800000>;
268 regulator-name = "vdd1_lpddr4_1v8";
269 regulator-min-microvolt = <1800000>;
270 regulator-max-microvolt = <1800000>;
276 regulator-name = "vdd_mcuio_1v8";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
284 regulator-name = "vdda_dll_0v8";
285 regulator-min-microvolt = <800000>;
286 regulator-max-microvolt = <800000>;
292 regulator-name = "vda_mcu_1v8";
293 regulator-min-microvolt = <1800000>;
294 regulator-max-microvolt = <1800000>;
302 compatible = "ti,tps6594-q1";
304 system-power-controller;
305 interrupt-parent = <&wkup_gpio0>;
306 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
309 buck1234-supply = <&vsys_3v3>;
310 buck5-supply = <&vsys_3v3>;
311 ldo1-supply = <&vsys_3v3>;
312 ldo2-supply = <&vsys_3v3>;
313 ldo3-supply = <&vsys_3v3>;
314 ldo4-supply = <&vsys_3v3>;
317 buckb1234: buck1234 {
318 regulator-name = "vdd_core_0v8";
319 regulator-min-microvolt = <800000>;
320 regulator-max-microvolt = <800000>;
326 regulator-name = "vdd_ram_0v85";
327 regulator-min-microvolt = <850000>;
328 regulator-max-microvolt = <850000>;
334 regulator-name = "vdd_sd_dv";
335 regulator-min-microvolt = <1800000>;
336 regulator-max-microvolt = <3300000>;
342 regulator-name = "vdd_usb_3v3";
343 regulator-min-microvolt = <3300000>;
344 regulator-max-microvolt = <3300000>;
350 regulator-name = "vdd_io_1v8";
351 regulator-min-microvolt = <1800000>;
352 regulator-max-microvolt = <1800000>;
358 regulator-name = "vda_pll_1v8";
359 regulator-min-microvolt = <1800000>;
360 regulator-max-microvolt = <1800000>;
370 pinctrl-names = "default";
371 pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
374 compatible = "jedec,spi-nor";
376 spi-tx-bus-width = <8>;
377 spi-rx-bus-width = <8>;
378 spi-max-frequency = <25000000>;
379 cdns,tshsl-ns = <60>;
380 cdns,tsd2d-ns = <60>;
381 cdns,tchsh-ns = <60>;
382 cdns,tslch-ns = <60>;
383 cdns,read-delay = <0>;
386 compatible = "fixed-partitions";
387 #address-cells = <1>;
391 label = "ospi.tiboot3";
396 label = "ospi.tispl";
397 reg = <0x80000 0x200000>;
401 label = "ospi.u-boot";
402 reg = <0x280000 0x400000>;
407 reg = <0x680000 0x20000>;
411 label = "ospi.env.backup";
412 reg = <0x6a0000 0x20000>;
416 label = "ospi.sysfw";
417 reg = <0x6c0000 0x100000>;
421 label = "ospi.rootfs";
422 reg = <0x800000 0x37c0000>;
426 label = "ospi.phypattern";
427 reg = <0x3fe0000 0x20000>;
435 /* OSPI and HBMC are muxed inside FSS, Bootloader will enable
436 * appropriate node based on board detection
439 pinctrl-names = "default";
440 pinctrl-0 = <&mcu_fss0_hpb0_pins_default>;
441 ranges = <0x00 0x00 0x05 0x00000000 0x4000000>, /* 64MB Flash on CS0 */
442 <0x01 0x00 0x05 0x04000000 0x800000>; /* 8MB RAM on CS1 */
445 compatible = "cypress,hyperflash", "cfi-flash";
446 reg = <0x00 0x00 0x4000000>;
450 compatible = "fixed-partitions";
451 #address-cells = <1>;
455 label = "hbmc.tiboot3";
460 label = "hbmc.tispl";
461 reg = <0x80000 0x200000>;
465 label = "hbmc.u-boot";
466 reg = <0x280000 0x400000>;
471 reg = <0x680000 0x40000>;
475 label = "hbmc.sysfw";
476 reg = <0x6c0000 0x100000>;
480 label = "hbmc.rootfs";
481 reg = <0x800000 0x3800000>;
491 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
492 ti,mbox-rx = <0 0 0>;
493 ti,mbox-tx = <1 0 0>;
496 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
497 ti,mbox-rx = <2 0 0>;
498 ti,mbox-tx = <3 0 0>;
506 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
507 ti,mbox-rx = <0 0 0>;
508 ti,mbox-tx = <1 0 0>;
511 mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
512 ti,mbox-rx = <2 0 0>;
513 ti,mbox-tx = <3 0 0>;
521 mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
522 ti,mbox-rx = <0 0 0>;
523 ti,mbox-tx = <1 0 0>;
526 mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
527 ti,mbox-rx = <2 0 0>;
528 ti,mbox-tx = <3 0 0>;
536 mbox_c66_0: mbox-c66-0 {
537 ti,mbox-rx = <0 0 0>;
538 ti,mbox-tx = <1 0 0>;
541 mbox_c66_1: mbox-c66-1 {
542 ti,mbox-rx = <2 0 0>;
543 ti,mbox-tx = <3 0 0>;
551 mbox_c71_0: mbox-c71-0 {
552 ti,mbox-rx = <0 0 0>;
553 ti,mbox-tx = <1 0 0>;
558 mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
559 memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
560 <&mcu_r5fss0_core0_memory_region>;
564 mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>;
565 memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
566 <&mcu_r5fss0_core1_memory_region>;
570 ti,cluster-mode = <0>;
574 ti,cluster-mode = <0>;
577 /* Timers are used by Remoteproc firmware */
607 mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>;
608 memory-region = <&main_r5fss0_core0_dma_memory_region>,
609 <&main_r5fss0_core0_memory_region>;
613 mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>;
614 memory-region = <&main_r5fss0_core1_dma_memory_region>,
615 <&main_r5fss0_core1_memory_region>;
619 mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>;
620 memory-region = <&main_r5fss1_core0_dma_memory_region>,
621 <&main_r5fss1_core0_memory_region>;
625 mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>;
626 memory-region = <&main_r5fss1_core1_dma_memory_region>,
627 <&main_r5fss1_core1_memory_region>;
632 mboxes = <&mailbox0_cluster3 &mbox_c66_0>;
633 memory-region = <&c66_0_dma_memory_region>,
634 <&c66_0_memory_region>;
639 mboxes = <&mailbox0_cluster3 &mbox_c66_1>;
640 memory-region = <&c66_1_dma_memory_region>,
641 <&c66_1_memory_region>;
646 mboxes = <&mailbox0_cluster4 &mbox_c71_0>;
647 memory-region = <&c71_0_dma_memory_region>,
648 <&c71_0_memory_region>;