xref: /rk3399_ARM-atf/plat/ti/k3low/board/am62lx/include/board_def.h (revision 06f3c7058c42a9f1a9f7df75ea2de71a000855e8)
1 /*
2  * Copyright (C) 2024-2025 Texas Instruments Incorporated - https://www.ti.com
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef BOARD_DEF_H
8 #define BOARD_DEF_H
9 
10 #include <lib/utils_def.h>
11 
12 /* The ports must be in order and contiguous */
13 #define K3_CLUSTER0_CORE_COUNT		U(2)
14 #define K3_CLUSTER1_CORE_COUNT		U(0)
15 #define K3_CLUSTER2_CORE_COUNT		U(0)
16 #define K3_CLUSTER3_CORE_COUNT		U(0)
17 
18 #define PLAT_PROC_START_ID		U(32)
19 #define PLAT_PROC_DEVICE_START_ID	U(135)
20 #define PLAT_CLUSTER_DEVICE_START_ID	U(134)
21 #define PLAT_BOARD_DEVICE_ID		U(157)
22 
23 /* Pre-decided SRAM Addresses for sending and receiving messages */
24 #define MAILBOX_TX_START_REGION		UL(0x70814000)
25 #define MAILBOX_RX_START_REGION		UL(0x70815000)
26 /*
27  * Pre-calculated MAX size of a message
28  * sec_hdr + (type/host/seq + flags) + payload
29  * 4 + 16 + 36
30  */
31 #define MAILBOX_MAX_MESSAGE_SIZE	U(56)
32 
33 #endif /* BOARD_DEF_H */
34