Apurva Nandan | 3818b14 | 2024-02-24 01:51:49 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /* |
| 3 | * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | */ |
| 5 | |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 6 | #define SPL_BOARD_DTB "spl/dts/ti/k3-j784s4-evm.dtb" |
| 7 | #define BOARD_DESCRIPTION "k3-j784s4-evm" |
| 8 | #define UBOOT_BOARD_DESCRIPTION "U-Boot for J784S4 board" |
| 9 | |
Apurva Nandan | 3818b14 | 2024-02-24 01:51:49 +0530 | [diff] [blame] | 10 | #include "k3-j784s4-binman.dtsi" |
| 11 | |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 12 | #if defined(CONFIG_CPU_V7R) |
| 13 | |
| 14 | &binman { |
| 15 | tiboot3-j784s4-hs { |
| 16 | insert-template = <&tiboot3_j784s4_hs>; |
| 17 | filename = "tiboot3-j784s4-hs-evm.bin"; |
| 18 | }; |
| 19 | |
| 20 | tiboot3-j784s4-hs-fs { |
| 21 | insert-template = <&tiboot3_j784s4_hs_fs>; |
| 22 | filename = "tiboot3-j784s4-hs-fs-evm.bin"; |
| 23 | }; |
| 24 | |
| 25 | tiboot3-j784s4-gp { |
| 26 | insert-template = <&tiboot3_j784s4_gp>; |
| 27 | filename = "tiboot3-j784s4-gp-evm.bin"; |
| 28 | symlink = "tiboot3.bin"; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | &ti_fs_gp { |
| 33 | filename = "ti-sysfw/ti-fs-firmware-j784s4-gp.bin"; |
| 34 | }; |
| 35 | |
| 36 | &ti_fs_enc { |
| 37 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-enc.bin"; |
| 38 | }; |
| 39 | |
| 40 | &sysfw_inner_cert { |
| 41 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-cert.bin"; |
| 42 | }; |
| 43 | |
| 44 | &ti_fs_enc_fs { |
| 45 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-enc.bin"; |
| 46 | }; |
| 47 | |
| 48 | &sysfw_inner_cert_fs { |
| 49 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-cert.bin"; |
| 50 | }; |
| 51 | |
| 52 | #else // CONFIG_ARM64 |
| 53 | |
| 54 | &binman { |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 55 | tispl { |
| 56 | insert-template = <&ti_spl>; |
Andrew Davis | 7ed4a85 | 2025-04-25 17:54:03 -0500 | [diff] [blame^] | 57 | |
| 58 | fit { |
| 59 | images { |
| 60 | dm { |
| 61 | ti-dm { |
| 62 | filename = "ti-dm/j784s4/ipc_echo_testb_mcu1_0_release_strip.xer5f"; |
| 63 | }; |
| 64 | }; |
| 65 | }; |
| 66 | }; |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | u-boot { |
| 70 | insert-template = <&u_boot>; |
| 71 | }; |
| 72 | |
| 73 | tispl-unsigned { |
| 74 | insert-template = <&ti_spl_unsigned>; |
Andrew Davis | 7ed4a85 | 2025-04-25 17:54:03 -0500 | [diff] [blame^] | 75 | |
| 76 | fit { |
| 77 | images { |
| 78 | dm { |
| 79 | ti-dm { |
| 80 | filename = "ti-dm/j784s4/ipc_echo_testb_mcu1_0_release_strip.xer5f"; |
| 81 | }; |
| 82 | }; |
| 83 | }; |
| 84 | }; |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | u-boot-unsigned { |
| 88 | insert-template = <&u_boot_unsigned>; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | #endif |
| 93 | |
Apurva Nandan | 3818b14 | 2024-02-24 01:51:49 +0530 | [diff] [blame] | 94 | / { |
| 95 | memory@80000000 { |
| 96 | bootph-all; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | &mcu_udmap { |
| 101 | reg = <0x0 0x285c0000 0x0 0x100>, |
| 102 | <0x0 0x284c0000 0x0 0x4000>, |
| 103 | <0x0 0x2a800000 0x0 0x40000>, |
| 104 | <0x0 0x284a0000 0x0 0x4000>, |
| 105 | <0x0 0x2aa00000 0x0 0x40000>, |
| 106 | <0x0 0x28400000 0x0 0x2000>; |
| 107 | reg-names = "gcfg", "rchan", "rchanrt", "tchan", |
| 108 | "tchanrt", "rflow"; |
| 109 | bootph-pre-ram; |
| 110 | }; |