| 1 |
/* SPDX-License-Identifier: GPL-2.0 |
| 2 |
* |
| 3 |
* Copyright 2016-2019 HabanaLabs, Ltd. |
| 4 |
* All Rights Reserved. |
| 5 |
* |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef ASIC_REG_GOYA_REGS_H_ |
| 9 |
#define ASIC_REG_GOYA_REGS_H_ |
| 10 |
|
| 11 |
#include "goya_blocks.h" |
| 12 |
#include "stlb_regs.h" |
| 13 |
#include "mmu_regs.h" |
| 14 |
#include "pcie_aux_regs.h" |
| 15 |
#include "pcie_wrap_regs.h" |
| 16 |
#include "psoc_global_conf_regs.h" |
| 17 |
#include "psoc_spi_regs.h" |
| 18 |
#include "psoc_mme_pll_regs.h" |
| 19 |
#include "psoc_pci_pll_regs.h" |
| 20 |
#include "psoc_emmc_pll_regs.h" |
| 21 |
#include "psoc_timestamp_regs.h" |
| 22 |
#include "cpu_if_regs.h" |
| 23 |
#include "cpu_ca53_cfg_regs.h" |
| 24 |
#include "cpu_pll_regs.h" |
| 25 |
#include "ic_pll_regs.h" |
| 26 |
#include "mc_pll_regs.h" |
| 27 |
#include "tpc_pll_regs.h" |
| 28 |
#include "dma_qm_0_regs.h" |
| 29 |
#include "dma_qm_1_regs.h" |
| 30 |
#include "dma_qm_2_regs.h" |
| 31 |
#include "dma_qm_3_regs.h" |
| 32 |
#include "dma_qm_4_regs.h" |
| 33 |
#include "dma_ch_0_regs.h" |
| 34 |
#include "dma_ch_1_regs.h" |
| 35 |
#include "dma_ch_2_regs.h" |
| 36 |
#include "dma_ch_3_regs.h" |
| 37 |
#include "dma_ch_4_regs.h" |
| 38 |
#include "dma_macro_regs.h" |
| 39 |
#include "dma_nrtr_regs.h" |
| 40 |
#include "pci_nrtr_regs.h" |
| 41 |
#include "sram_y0_x0_rtr_regs.h" |
| 42 |
#include "sram_y0_x1_rtr_regs.h" |
| 43 |
#include "sram_y0_x2_rtr_regs.h" |
| 44 |
#include "sram_y0_x3_rtr_regs.h" |
| 45 |
#include "sram_y0_x4_rtr_regs.h" |
| 46 |
#include "mme_regs.h" |
| 47 |
#include "mme_qm_regs.h" |
| 48 |
#include "mme_cmdq_regs.h" |
| 49 |
#include "mme1_rtr_regs.h" |
| 50 |
#include "mme2_rtr_regs.h" |
| 51 |
#include "mme3_rtr_regs.h" |
| 52 |
#include "mme4_rtr_regs.h" |
| 53 |
#include "mme5_rtr_regs.h" |
| 54 |
#include "mme6_rtr_regs.h" |
| 55 |
#include "tpc0_cfg_regs.h" |
| 56 |
#include "tpc1_cfg_regs.h" |
| 57 |
#include "tpc2_cfg_regs.h" |
| 58 |
#include "tpc3_cfg_regs.h" |
| 59 |
#include "tpc4_cfg_regs.h" |
| 60 |
#include "tpc5_cfg_regs.h" |
| 61 |
#include "tpc6_cfg_regs.h" |
| 62 |
#include "tpc7_cfg_regs.h" |
| 63 |
#include "tpc0_qm_regs.h" |
| 64 |
#include "tpc1_qm_regs.h" |
| 65 |
#include "tpc2_qm_regs.h" |
| 66 |
#include "tpc3_qm_regs.h" |
| 67 |
#include "tpc4_qm_regs.h" |
| 68 |
#include "tpc5_qm_regs.h" |
| 69 |
#include "tpc6_qm_regs.h" |
| 70 |
#include "tpc7_qm_regs.h" |
| 71 |
#include "tpc0_cmdq_regs.h" |
| 72 |
#include "tpc1_cmdq_regs.h" |
| 73 |
#include "tpc2_cmdq_regs.h" |
| 74 |
#include "tpc3_cmdq_regs.h" |
| 75 |
#include "tpc4_cmdq_regs.h" |
| 76 |
#include "tpc5_cmdq_regs.h" |
| 77 |
#include "tpc6_cmdq_regs.h" |
| 78 |
#include "tpc7_cmdq_regs.h" |
| 79 |
#include "tpc0_nrtr_regs.h" |
| 80 |
#include "tpc1_rtr_regs.h" |
| 81 |
#include "tpc2_rtr_regs.h" |
| 82 |
#include "tpc3_rtr_regs.h" |
| 83 |
#include "tpc4_rtr_regs.h" |
| 84 |
#include "tpc5_rtr_regs.h" |
| 85 |
#include "tpc6_rtr_regs.h" |
| 86 |
#include "tpc7_nrtr_regs.h" |
| 87 |
#include "tpc0_eml_cfg_regs.h" |
| 88 |
#include "psoc_etr_regs.h" |
| 89 |
|
| 90 |
#include "psoc_global_conf_masks.h" |
| 91 |
#include "dma_macro_masks.h" |
| 92 |
#include "dma_qm_0_masks.h" |
| 93 |
#include "dma_ch_0_masks.h" |
| 94 |
#include "tpc0_qm_masks.h" |
| 95 |
#include "tpc0_cmdq_masks.h" |
| 96 |
#include "mme_qm_masks.h" |
| 97 |
#include "mme_cmdq_masks.h" |
| 98 |
#include "tpc0_cfg_masks.h" |
| 99 |
#include "tpc0_eml_cfg_masks.h" |
| 100 |
#include "mme1_rtr_masks.h" |
| 101 |
#include "tpc0_nrtr_masks.h" |
| 102 |
#include "dma_nrtr_masks.h" |
| 103 |
#include "pci_nrtr_masks.h" |
| 104 |
#include "stlb_masks.h" |
| 105 |
#include "cpu_ca53_cfg_masks.h" |
| 106 |
#include "mmu_masks.h" |
| 107 |
#include "mme_masks.h" |
| 108 |
|
| 109 |
#define mmPCIE_DBI_DEVICE_ID_VENDOR_ID_REG 0xC02000 |
| 110 |
#define mmPCIE_DBI_MSIX_DOORBELL_OFF 0xC02948 |
| 111 |
|
| 112 |
#define mmSYNC_MNGR_MON_PAY_ADDRL_0 0x113000 |
| 113 |
#define mmSYNC_MNGR_SOB_OBJ_0 0x112000 |
| 114 |
#define mmSYNC_MNGR_SOB_OBJ_1000 0x112FA0 |
| 115 |
#define mmSYNC_MNGR_SOB_OBJ_1007 0x112FBC |
| 116 |
#define mmSYNC_MNGR_SOB_OBJ_1023 0x112FFC |
| 117 |
#define mmSYNC_MNGR_MON_STATUS_0 0x114000 |
| 118 |
#define mmSYNC_MNGR_MON_STATUS_255 0x1143FC |
| 119 |
|
| 120 |
#define mmGIC_DISTRIBUTOR__5_GICD_SETSPI_NSR 0x800040 |
| 121 |
|
| 122 |
#endif /* ASIC_REG_GOYA_REGS_H_ */ |