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