Dasnavis Sabiya | d942f97 | 2024-02-24 01:51:50 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | /* |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 3 | * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ |
Dasnavis Sabiya | d942f97 | 2024-02-24 01:51:50 +0530 | [diff] [blame] | 4 | */ |
| 5 | |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 6 | #define SPL_BOARD_DTB "spl/dts/ti/k3-am69-sk.dtb" |
| 7 | #define BOARD_DESCRIPTION "k3-am69-sk" |
| 8 | #define UBOOT_BOARD_DESCRIPTION "U-Boot for AM69 board" |
| 9 | |
Dasnavis Sabiya | d942f97 | 2024-02-24 01:51:50 +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-am69-hs { |
| 16 | insert-template = <&tiboot3_j784s4_hs>; |
| 17 | filename = "tiboot3-j784s4-hs-evm.bin"; |
| 18 | }; |
| 19 | |
| 20 | tiboot3-am69-hs-fs { |
| 21 | insert-template = <&tiboot3_j784s4_hs_fs>; |
| 22 | filename = "tiboot3-j784s4-hs-fs-evm.bin"; |
| 23 | symlink = "tiboot3.bin"; |
| 24 | }; |
| 25 | }; |
| 26 | |
| 27 | &ti_fs_enc { |
| 28 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-enc.bin"; |
| 29 | }; |
| 30 | |
| 31 | &sysfw_inner_cert { |
| 32 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-cert.bin"; |
| 33 | }; |
| 34 | |
| 35 | &ti_fs_enc_fs { |
| 36 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-enc.bin"; |
| 37 | }; |
| 38 | |
| 39 | &sysfw_inner_cert_fs { |
| 40 | filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-cert.bin"; |
| 41 | }; |
| 42 | |
| 43 | #include "k3-binman-capsule-r5.dtsi" |
| 44 | |
| 45 | // Capsule update GUIDs in string form. See j784s4_evm.h |
| 46 | #define AM69_SK_TIBOOT3_IMAGE_GUID_STR "adf49ec5-61bb-4dbe-8b8d-39df4d7ebf46" |
| 47 | |
| 48 | &capsule_tiboot3 { |
| 49 | efi-capsule { |
| 50 | image-guid = AM69_SK_TIBOOT3_IMAGE_GUID_STR; |
| 51 | |
| 52 | blob { |
| 53 | filename = "tiboot3-j784s4-hs-fs-evm.bin"; |
| 54 | }; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | #else // CONFIG_ARM64 |
| 59 | |
| 60 | &binman { |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 61 | tispl { |
| 62 | insert-template = <&ti_spl>; |
Andrew Davis | 7ed4a85 | 2025-04-25 17:54:03 -0500 | [diff] [blame] | 63 | |
| 64 | fit { |
| 65 | images { |
| 66 | dm { |
| 67 | ti-dm { |
| 68 | filename = "ti-dm/j784s4/ipc_echo_testb_mcu1_0_release_strip.xer5f"; |
| 69 | }; |
| 70 | }; |
| 71 | }; |
| 72 | }; |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | u-boot { |
| 76 | insert-template = <&u_boot>; |
| 77 | }; |
| 78 | |
| 79 | tispl-unsigned { |
| 80 | insert-template = <&ti_spl_unsigned>; |
Andrew Davis | 7ed4a85 | 2025-04-25 17:54:03 -0500 | [diff] [blame] | 81 | |
| 82 | fit { |
| 83 | images { |
| 84 | dm { |
| 85 | ti-dm { |
| 86 | filename = "ti-dm/j784s4/ipc_echo_testb_mcu1_0_release_strip.xer5f"; |
| 87 | }; |
| 88 | }; |
| 89 | }; |
| 90 | }; |
Neha Malcom Francis | 64470cc | 2025-03-17 10:24:21 +0530 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | u-boot-unsigned { |
| 94 | insert-template = <&u_boot_unsigned>; |
| 95 | }; |
| 96 | }; |
| 97 | |
| 98 | #include "k3-binman-capsule.dtsi" |
| 99 | |
| 100 | // Capsule update GUIDs in string form. See j784s4_evm.h |
| 101 | #define AM69_SK_SPL_IMAGE_GUID_STR "787f0059-63a1-461c-a18e-9d838345fe8e" |
| 102 | #define AM69_SK_UBOOT_IMAGE_GUID_STR "9300505d-6ec5-4ff8-99e4-5459a04be617" |
| 103 | |
| 104 | &capsule_tispl { |
| 105 | efi-capsule { |
| 106 | image-guid = AM69_SK_SPL_IMAGE_GUID_STR; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | &capsule_uboot { |
| 111 | efi-capsule { |
| 112 | image-guid = AM69_SK_UBOOT_IMAGE_GUID_STR; |
| 113 | }; |
| 114 | }; |
| 115 | |
| 116 | #endif |
| 117 | |
Dasnavis Sabiya | d942f97 | 2024-02-24 01:51:50 +0530 | [diff] [blame] | 118 | / { |
| 119 | memory@80000000 { |
| 120 | bootph-all; |
| 121 | }; |
| 122 | }; |
| 123 | |
| 124 | &mcu_udmap { |
| 125 | reg = <0x0 0x285c0000 0x0 0x100>, |
| 126 | <0x0 0x284c0000 0x0 0x4000>, |
| 127 | <0x0 0x2a800000 0x0 0x40000>, |
| 128 | <0x0 0x284a0000 0x0 0x4000>, |
| 129 | <0x0 0x2aa00000 0x0 0x40000>, |
| 130 | <0x0 0x28400000 0x0 0x2000>; |
| 131 | reg-names = "gcfg", "rchan", "rchanrt", "tchan", |
| 132 | "tchanrt", "rflow"; |
| 133 | bootph-pre-ram; |
| 134 | }; |
| 135 | |