brintos

brintos / linux-shallow public Read only

0
0
Text · 854 B · 1b4ca43 Raw
44 lines · c
1/* SPDX-License-Identifier: GPL-2.02 *3 * Copyright 2016-2019 HabanaLabs, Ltd.4 * All Rights Reserved.5 *6 */7 8#ifndef GOYA_H9#define GOYA_H10 11#define SRAM_CFG_BAR_ID		012#define MSIX_BAR_ID		213#define DDR_BAR_ID		414 15#define CFG_BAR_SIZE		0x10000000ull		/* 256MB */16#define MSIX_BAR_SIZE		0x1000ull		/* 4KB */17 18#define CFG_BASE		0x7FFC000000ull19#define CFG_SIZE		0x4000000		/* 32MB CFG + 32MB DBG*/20 21#define SRAM_BASE_ADDR		0x7FF0000000ull22#define SRAM_SIZE		0x32A0000		/* 50.625MB */23 24#define DRAM_PHYS_BASE		0x0ull25 26#define HOST_PHYS_BASE		0x8000000000ull		/* 0.5TB */27#define HOST_PHYS_SIZE		0x1000000000000ull	/* 0.25PB (48 bits) */28 29#define GOYA_MSIX_ENTRIES	830 31#define QMAN_PQ_ENTRY_SIZE	16			/* Bytes */32 33#define MAX_ASID		234 35#define PROT_BITS_OFFS		0xF8036 37#define DMA_MAX_NUM		538 39#define TPC_MAX_NUM		840 41#define MME_MAX_NUM		142 43#endif /* GOYA_H */44