Files
thead-kernel/drivers/nna/include/hwdefs/gyrus_system.h
Mingzheng Xing 9e49618e75 driver: add npu-ax3386-gpl
Add a new driver npu-ax3386-gpl, default compile as module.
The default generated modules are:
- vha.ko
- img_mem.ko
- vha_info.ko

Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
2023-07-19 02:15:19 +08:00

25 lines
814 B
C

#define _REG_NNPU_START 0x00000000
#define _REG_START 0x00080000
#define _REG_NNA_START 0x00080000
#define _REG_NNSYS_START 0x00100000
#define _VHA_TB_START 0x000c0000
#define _RGXREG_START 0x00000000
#define _EMUREG_START 0x0000400000
#define _REG_JX_START 0x00000000
#define _REG_JD_START 0x00000000
#define _REG_JTAG_START 0x00000000
#define _REG_META_SD_START 0x00000000
#define _REG_META_TB_START 0x00000000
#define _REG_NNPU_SIZE 0x00080000
#define _REG_SIZE 0x00100000
#define _REG_NNA_SIZE 0x00080000
#define _REG_NNSYS_SIZE 0x00080000
#define _VHA_TB_SIZE 0x00080000
#define _RGXREG_SIZE 0x00080000
#define _EMUREG_SIZE 0x0000104000
#define _REG_JX_SIZE 0xFFFFFFFF
#define _REG_JD_SIZE 0x00000040
#define _REG_JTAG_SIZE 0x00000080
#define _REG_META_SD_SIZE 0x00002800
#define _REG_META_TB_SIZE 0x00010000