1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright 2019-2020 HabanaLabs, Ltd.
11 #include <linux/types.h>
13 #define GAUDI_EVENT_QUEUE_MSI_IDX 8
14 #define GAUDI_NIC_PORT1_MSI_IDX 10
15 #define GAUDI_NIC_PORT3_MSI_IDX 12
16 #define GAUDI_NIC_PORT5_MSI_IDX 14
17 #define GAUDI_NIC_PORT7_MSI_IDX 16
18 #define GAUDI_NIC_PORT9_MSI_IDX 18
20 #define UBOOT_FW_OFFSET 0x100000 /* 1MB in SRAM */
21 #define LINUX_FW_OFFSET 0x800000 /* 8MB in HBM */
23 enum gaudi_pll_index {
36 enum gaudi_nic_axi_error {
46 * struct eq_nic_sei_event - describes an AXI error cause.
47 * @axi_error_cause: one of the events defined in enum gaudi_nic_axi_error.
48 * @id: can be either 0 or 1, to further describe unit with interrupt cause
49 * (i.e. TXE0 or TXE1).
50 * @pad[6]: padding structure to 64bit.
52 struct eq_nic_sei_event {
58 #define GAUDI_PLL_FREQ_LOW 200000000 /* 200 MHz */
60 #endif /* GAUDI_FW_IF_H */