xref: /linux/drivers/accel/habanalabs/include/goya/goya_fw_if.h (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
1 /* SPDX-License-Identifier: GPL-2.0
2  *
3  * Copyright 2016-2018 HabanaLabs, Ltd.
4  * All Rights Reserved.
5  *
6  */
7 
8 #ifndef GOYA_FW_IF_H
9 #define GOYA_FW_IF_H
10 
11 #define GOYA_EVENT_QUEUE_MSIX_IDX	5
12 
13 #define CPU_BOOT_ADDR		0x7FF8040000ull
14 
15 #define UBOOT_FW_OFFSET		0x100000		/* 1MB in SRAM */
16 #define LINUX_FW_OFFSET		0x800000		/* 8MB in DDR */
17 
18 #define GOYA_PLL_FREQ_LOW		50000000 /* 50 MHz */
19 
20 #endif /* GOYA_FW_IF_H */
21