1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018 Marvell International Ltd.
5 * https://spdx.org/licenses
11 /* SMC function IDs for general purpose queries */
13 #define OCTEONTX2_SVC_CALL_COUNT 0xc200ff00
14 #define OCTEONTX2_SVC_UID 0xc200ff01
16 #define OCTEONTX2_SVC_VERSION 0xc200ff03
18 /* OcteonTX Service Calls version numbers */
19 #define OCTEONTX2_VERSION_MAJOR 0x1
20 #define OCTEONTX2_VERSION_MINOR 0x0
22 /* x1 - node number */
23 #define OCTEONTX2_DRAM_SIZE 0xc2000301
24 #define OCTEONTX2_NODE_COUNT 0xc2000601
25 #define OCTEONTX2_DISABLE_RVU_LFS 0xc2000b01
27 #define OCTEONTX2_CONFIG_OOO 0xc2000b04
30 #define OCTEONTX2_FSAFE_PR_BOOT_SUCCESS 0xc2000b02
32 #endif /* __SMC_ID_H__ */