summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/include/goya/goya_fw_if.h
blob: bc05f86c73ac0980ea745408a2596e995e6fcc2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright 2016-2018 HabanaLabs, Ltd.
 * All Rights Reserved.
 *
 */

#ifndef GOYA_FW_IF_H
#define GOYA_FW_IF_H

#define GOYA_EVENT_QUEUE_MSIX_IDX	5

#define CPU_BOOT_ADDR		0x7FF8040000ull

#define UBOOT_FW_OFFSET		0x100000		/* 1MB in SRAM */
#define LINUX_FW_OFFSET		0x800000		/* 8MB in DDR */

#define GOYA_PLL_FREQ_LOW		50000000 /* 50 MHz */

#endif /* GOYA_FW_IF_H */