1 /* SPDX-License-Identifier: GPL-2.0 2 * 3 * Copyright 2019-2020 HabanaLabs, Ltd. 4 * All Rights Reserved. 5 * 6 */ 7 8 #ifndef GAUDI_FW_IF_H 9 #define GAUDI_FW_IF_H 10 11 #define GAUDI_EVENT_QUEUE_MSI_IDX 8 12 #define GAUDI_NIC_PORT1_MSI_IDX 10 13 #define GAUDI_NIC_PORT3_MSI_IDX 12 14 #define GAUDI_NIC_PORT5_MSI_IDX 14 15 #define GAUDI_NIC_PORT7_MSI_IDX 16 16 #define GAUDI_NIC_PORT9_MSI_IDX 18 17 18 #define UBOOT_FW_OFFSET 0x100000 /* 1MB in SRAM */ 19 #define LINUX_FW_OFFSET 0x800000 /* 8MB in HBM */ 20 21 enum gaudi_pll_index { 22 CPU_PLL = 0, 23 PCI_PLL, 24 SRAM_PLL, 25 HBM_PLL, 26 NIC_PLL, 27 DMA_PLL, 28 MESH_PLL, 29 MME_PLL, 30 TPC_PLL, 31 IF_PLL 32 }; 33 34 #define GAUDI_PLL_FREQ_LOW 200000000 /* 200 MHz */ 35 36 #endif /* GAUDI_FW_IF_H */ 37