1 /* SPDX-License-Identifier: GPL-2.0 2 * 3 * Copyright 2019-2020 HabanaLabs, Ltd. 4 * All Rights Reserved. 5 * 6 */ 7 8 #ifndef GAUDI_REG_MAP_H_ 9 #define GAUDI_REG_MAP_H_ 10 11 /* 12 * PSOC scratch-pad registers 13 */ 14 #define mmHW_STATE mmPSOC_GLOBAL_CONF_SCRATCHPAD_0 15 #define mmFUSE_VER_OFFSET mmPSOC_GLOBAL_CONF_SCRATCHPAD_22 16 #define mmCPU_CMD_STATUS_TO_HOST mmPSOC_GLOBAL_CONF_SCRATCHPAD_23 17 #define mmCPU_BOOT_ERR0 mmPSOC_GLOBAL_CONF_SCRATCHPAD_24 18 #define mmCPU_BOOT_ERR1 mmPSOC_GLOBAL_CONF_SCRATCHPAD_25 19 #define mmUPD_STS mmPSOC_GLOBAL_CONF_SCRATCHPAD_26 20 #define mmUPD_CMD mmPSOC_GLOBAL_CONF_SCRATCHPAD_27 21 #define mmPREBOOT_VER_OFFSET mmPSOC_GLOBAL_CONF_SCRATCHPAD_28 22 #define mmUBOOT_VER_OFFSET mmPSOC_GLOBAL_CONF_SCRATCHPAD_29 23 #define mmRDWR_TEST mmPSOC_GLOBAL_CONF_SCRATCHPAD_30 24 #define mmBTL_ID mmPSOC_GLOBAL_CONF_SCRATCHPAD_31 25 #define mmPREBOOT_PCIE_EN mmPSOC_GLOBAL_CONF_COLD_RST_FLOPS_1 26 #define mmUPD_PENDING_STS mmPSOC_GLOBAL_CONF_COLD_RST_FLOPS_3 27 28 #endif /* GAUDI_REG_MAP_H_ */ 29