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 */
156 pmic_irq_pins_default: pmic-irq-default-pins {
157 pinctrl-single,pins = <
158 J721E_WKUP_IOPAD(0x0d4, PIN_INPUT, 7) /* (G26) WKUP_GPIO0_9 */
162 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
163 pinctrl-single,pins = <
164 J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */
165 J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */
166 J721E_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* MCU_OSPI0_D0 */
167 J721E_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* MCU_OSPI0_D1 */
168 J721E_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* MCU_OSPI0_D2 */
169 J721E_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* MCU_OSPI0_D3 */
170 J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_OSPI0_D4 */
171 J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_OSPI0_D5 */
172 J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_OSPI0_D6 */
173 J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_OSPI0_D7 */
174 J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
178 mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-default-pins {
179 pinctrl-single,pins = <
180 J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CK */
181 J721E_WKUP_IOPAD(0x4, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CKn */
182 J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CSn0 */
183 J721E_WKUP_IOPAD(0x54, PIN_OUTPUT, 3) /* MCU_HYPERBUS0_CSn1 */
184 J721E_WKUP_IOPAD(0x30, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_RESETn */
185 J721E_WKUP_IOPAD(0x8, PIN_INPUT, 1) /* MCU_HYPERBUS0_RWDS */
186 J721E_WKUP_IOPAD(0xc, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ0 */
187 J721E_WKUP_IOPAD(0x10, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ1 */
188 J721E_WKUP_IOPAD(0x14, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ2 */
189 J721E_WKUP_IOPAD(0x18, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ3 */
190 J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ4 */
191 J721E_WKUP_IOPAD(0x20, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ5 */
192 J721E_WKUP_IOPAD(0x24, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ6 */
193 J721E_WKUP_IOPAD(0x28, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ7 */
200 pinctrl-names = "default";
201 pinctrl-0 = <&wkup_i2c0_pins_default>;
202 clock-frequency = <400000>;
205 /* CAV24C256WE-GT3 */
206 compatible = "atmel,24c256";
211 compatible = "ti,tps6594-q1";
213 system-power-controller;
214 pinctrl-names = "default";
215 pinctrl-0 = <&pmic_irq_pins_default>;
216 interrupt-parent = <&wkup_gpio0>;
217 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
221 buck12-supply = <&vsys_3v3>;
222 buck3-supply = <&vsys_3v3>;
223 buck4-supply = <&vsys_3v3>;
224 buck5-supply = <&vsys_3v3>;
225 ldo1-supply = <&vsys_3v3>;
226 ldo2-supply = <&vsys_3v3>;
227 ldo3-supply = <&vsys_3v3>;
228 ldo4-supply = <&vsys_3v3>;
232 regulator-name = "vdd_cpu_avs";
233 regulator-min-microvolt = <600000>;
234 regulator-max-microvolt = <900000>;
241 regulator-name = "vdd_mcu_0v85";
242 regulator-min-microvolt = <850000>;
243 regulator-max-microvolt = <850000>;
249 regulator-name = "vdd_ddr_1v1";
250 regulator-min-microvolt = <1100000>;
251 regulator-max-microvolt = <1100000>;
257 regulator-name = "vdd_phyio_1v8";
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <1800000>;
265 regulator-name = "vdd1_lpddr4_1v8";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
273 regulator-name = "vdd_mcuio_1v8";
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <1800000>;
281 regulator-name = "vdda_dll_0v8";
282 regulator-min-microvolt = <800000>;
283 regulator-max-microvolt = <800000>;
289 regulator-name = "vda_mcu_1v8";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
299 compatible = "ti,tps6594-q1";
301 system-power-controller;
302 interrupt-parent = <&wkup_gpio0>;
303 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
306 buck1234-supply = <&vsys_3v3>;
307 buck5-supply = <&vsys_3v3>;
308 ldo1-supply = <&vsys_3v3>;
309 ldo2-supply = <&vsys_3v3>;
310 ldo3-supply = <&vsys_3v3>;
311 ldo4-supply = <&vsys_3v3>;
314 buckb1234: buck1234 {
315 regulator-name = "vdd_core_0v8";
316 regulator-min-microvolt = <800000>;
317 regulator-max-microvolt = <800000>;
323 regulator-name = "vdd_ram_0v85";
324 regulator-min-microvolt = <850000>;
325 regulator-max-microvolt = <850000>;
331 regulator-name = "vdd_sd_dv";
332 regulator-min-microvolt = <1800000>;
333 regulator-max-microvolt = <3300000>;
339 regulator-name = "vdd_usb_3v3";
340 regulator-min-microvolt = <3300000>;
341 regulator-max-microvolt = <3300000>;
347 regulator-name = "vdd_io_1v8";
348 regulator-min-microvolt = <1800000>;
349 regulator-max-microvolt = <1800000>;
355 regulator-name = "vda_pll_1v8";
356 regulator-min-microvolt = <1800000>;
357 regulator-max-microvolt = <1800000>;
367 pinctrl-names = "default";
368 pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
371 compatible = "jedec,spi-nor";
373 spi-tx-bus-width = <8>;
374 spi-rx-bus-width = <8>;
375 spi-max-frequency = <25000000>;
376 cdns,tshsl-ns = <60>;
377 cdns,tsd2d-ns = <60>;
378 cdns,tchsh-ns = <60>;
379 cdns,tslch-ns = <60>;
380 cdns,read-delay = <0>;
383 compatible = "fixed-partitions";
384 #address-cells = <1>;
388 label = "ospi.tiboot3";
393 label = "ospi.tispl";
394 reg = <0x80000 0x200000>;
398 label = "ospi.u-boot";
399 reg = <0x280000 0x400000>;
404 reg = <0x680000 0x20000>;
408 label = "ospi.env.backup";
409 reg = <0x6a0000 0x20000>;
413 label = "ospi.sysfw";
414 reg = <0x6c0000 0x100000>;
418 label = "ospi.rootfs";
419 reg = <0x800000 0x37c0000>;
423 label = "ospi.phypattern";
424 reg = <0x3fe0000 0x20000>;
431 /* OSPI and HBMC are muxed inside FSS, Bootloader will enable
432 * appropriate node based on board detection
435 pinctrl-names = "default";
436 pinctrl-0 = <&mcu_fss0_hpb0_pins_default>;
437 ranges = <0x00 0x00 0x05 0x00000000 0x4000000>, /* 64MB Flash on CS0 */
438 <0x01 0x00 0x05 0x04000000 0x800000>; /* 8MB RAM on CS1 */
441 compatible = "cypress,hyperflash", "cfi-flash";
442 reg = <0x00 0x00 0x4000000>;
445 compatible = "fixed-partitions";
446 #address-cells = <1>;
450 label = "hbmc.tiboot3";
455 label = "hbmc.tispl";
456 reg = <0x80000 0x200000>;
460 label = "hbmc.u-boot";
461 reg = <0x280000 0x400000>;
466 reg = <0x680000 0x40000>;
470 label = "hbmc.sysfw";
471 reg = <0x6c0000 0x100000>;
475 label = "hbmc.rootfs";
476 reg = <0x800000 0x3800000>;
486 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
487 ti,mbox-rx = <0 0 0>;
488 ti,mbox-tx = <1 0 0>;
491 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
492 ti,mbox-rx = <2 0 0>;
493 ti,mbox-tx = <3 0 0>;
501 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
502 ti,mbox-rx = <0 0 0>;
503 ti,mbox-tx = <1 0 0>;
506 mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 {
507 ti,mbox-rx = <2 0 0>;
508 ti,mbox-tx = <3 0 0>;
516 mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
517 ti,mbox-rx = <0 0 0>;
518 ti,mbox-tx = <1 0 0>;
521 mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 {
522 ti,mbox-rx = <2 0 0>;
523 ti,mbox-tx = <3 0 0>;
531 mbox_c66_0: mbox-c66-0 {
532 ti,mbox-rx = <0 0 0>;
533 ti,mbox-tx = <1 0 0>;
536 mbox_c66_1: mbox-c66-1 {
537 ti,mbox-rx = <2 0 0>;
538 ti,mbox-tx = <3 0 0>;
546 mbox_c71_0: mbox-c71-0 {
547 ti,mbox-rx = <0 0 0>;
548 ti,mbox-tx = <1 0 0>;
553 mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
554 memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
555 <&mcu_r5fss0_core0_memory_region>;
559 mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>;
560 memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
561 <&mcu_r5fss0_core1_memory_region>;
565 ti,cluster-mode = <0>;
569 ti,cluster-mode = <0>;
572 /* Timers are used by Remoteproc firmware */
602 mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>;
603 memory-region = <&main_r5fss0_core0_dma_memory_region>,
604 <&main_r5fss0_core0_memory_region>;
608 mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>;
609 memory-region = <&main_r5fss0_core1_dma_memory_region>,
610 <&main_r5fss0_core1_memory_region>;
614 mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>;
615 memory-region = <&main_r5fss1_core0_dma_memory_region>,
616 <&main_r5fss1_core0_memory_region>;
620 mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>;
621 memory-region = <&main_r5fss1_core1_dma_memory_region>,
622 <&main_r5fss1_core1_memory_region>;
627 mboxes = <&mailbox0_cluster3 &mbox_c66_0>;
628 memory-region = <&c66_0_dma_memory_region>,
629 <&c66_0_memory_region>;
634 mboxes = <&mailbox0_cluster3 &mbox_c66_1>;
635 memory-region = <&c66_1_dma_memory_region>,
636 <&c66_1_memory_region>;
641 mboxes = <&mailbox0_cluster4 &mbox_c71_0>;
642 memory-region = <&c71_0_dma_memory_region>,
643 <&c71_0_memory_region>;