summaryrefslogtreecommitdiff
path: root/arch/arm/dts/k3-am69-sk-u-boot.dtsi
blob: 2f119508e1846d5ce169dde7e983bd6a8666b922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
 */

#define SPL_BOARD_DTB "spl/dts/ti/k3-am69-sk.dtb"
#define BOARD_DESCRIPTION "k3-am69-sk"
#define UBOOT_BOARD_DESCRIPTION "U-Boot for AM69 board"

#include "k3-j784s4-binman.dtsi"

#if defined(CONFIG_CPU_V7R)

&binman {
	tiboot3-am69-hs {
		insert-template = <&tiboot3_j784s4_hs>;
		filename = "tiboot3-j784s4-hs-evm.bin";
	};

	tiboot3-am69-hs-fs {
		insert-template = <&tiboot3_j784s4_hs_fs>;
		filename = "tiboot3-j784s4-hs-fs-evm.bin";
		symlink = "tiboot3.bin";
	};
};

&ti_fs_enc {
	filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-enc.bin";
};

&sysfw_inner_cert {
	filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-cert.bin";
};

&ti_fs_enc_fs {
	filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-enc.bin";
};

&sysfw_inner_cert_fs {
	filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-cert.bin";
};

#include "k3-binman-capsule-r5.dtsi"

// Capsule update GUIDs in string form.  See j784s4_evm.h
#define AM69_SK_TIBOOT3_IMAGE_GUID_STR "adf49ec5-61bb-4dbe-8b8d-39df4d7ebf46"

&capsule_tiboot3 {
	efi-capsule {
		image-guid = AM69_SK_TIBOOT3_IMAGE_GUID_STR;

		blob {
			filename = "tiboot3-j784s4-hs-fs-evm.bin";
		};
	};
};

#else // CONFIG_ARM64

&binman {
	ti-dm {
		filename = "ti-dm.bin";

		blob-ext {
			filename = "ti-dm/j784s4/ipc_echo_testb_mcu1_0_release_strip.xer5f";
			optional;
		};
	};

	tispl {
		insert-template = <&ti_spl>;
	};

	u-boot {
		insert-template = <&u_boot>;
	};

	tispl-unsigned {
		insert-template = <&ti_spl_unsigned>;
	};

	u-boot-unsigned {
		insert-template = <&u_boot_unsigned>;
	};
};

#include "k3-binman-capsule.dtsi"

// Capsule update GUIDs in string form.  See j784s4_evm.h
#define AM69_SK_SPL_IMAGE_GUID_STR "787f0059-63a1-461c-a18e-9d838345fe8e"
#define AM69_SK_UBOOT_IMAGE_GUID_STR "9300505d-6ec5-4ff8-99e4-5459a04be617"

&capsule_tispl {
	efi-capsule {
		image-guid = AM69_SK_SPL_IMAGE_GUID_STR;
	};
};

&capsule_uboot {
	efi-capsule {
		image-guid = AM69_SK_UBOOT_IMAGE_GUID_STR;
	};
};

#endif

/ {
	memory@80000000 {
		bootph-all;
	};
};

&mcu_udmap {
	reg =   <0x0 0x285c0000 0x0 0x100>,
		<0x0 0x284c0000 0x0 0x4000>,
		<0x0 0x2a800000 0x0 0x40000>,
		<0x0 0x284a0000 0x0 0x4000>,
		<0x0 0x2aa00000 0x0 0x40000>,
		<0x0 0x28400000 0x0 0x2000>;
	reg-names = "gcfg", "rchan", "rchanrt", "tchan",
		    "tchanrt", "rflow";
	bootph-pre-ram;
};