summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/include/goya/goya_fw_if.h
blob: a9920cb4a07b23f48793777f4fa11bcccea6ec64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* 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 CPU_BOOT_ADDR		0x7FF8040000ull

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

enum goya_pll_index {
	CPU_PLL = 0,
	IC_PLL,
	MC_PLL,
	MME_PLL,
	PCI_PLL,
	EMMC_PLL,
	TPC_PLL
};

#define GOYA_PLL_FREQ_LOW		50000000 /* 50 MHz */

#endif /* GOYA_FW_IF_H */