1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Intel MIC Platform Software Stack (MPSS) 4 * 5 * Copyright(c) 2013 Intel Corporation. 6 * 7 * Disclaimer: The codes contained in these modules may be specific to 8 * the Intel Software Development Platform codenamed: Knights Ferry, and 9 * the Intel product codenamed: Knights Corner, and are not backward 10 * compatible with other Intel products. Additionally, Intel will NOT 11 * support the codes or instruction set in future products. 12 * 13 * Intel MIC Card driver. 14 */ 15 #ifndef _MIC_X100_CARD_H_ 16 #define _MIC_X100_CARD_H_ 17 18 #define MIC_X100_MMIO_BASE 0x08007C0000ULL 19 #define MIC_X100_MMIO_LEN 0x00020000ULL 20 #define MIC_X100_SBOX_BASE_ADDRESS 0x00010000ULL 21 22 #define MIC_X100_SBOX_SPAD0 0x0000AB20 23 #define MIC_X100_SBOX_SDBIC0 0x0000CC90 24 #define MIC_X100_SBOX_SDBIC0_DBREQ_BIT 0x80000000 25 #define MIC_X100_SBOX_RDMASR0 0x0000B180 26 #define MIC_X100_SBOX_APICICR0 0x0000A9D0 27 28 #define MIC_X100_MAX_DOORBELL_IDX 8 29 30 #define MIC_X100_NUM_SBOX_IRQ 8 31 #define MIC_X100_NUM_RDMASR_IRQ 8 32 #define MIC_X100_SBOX_IRQ_BASE 0 33 #define MIC_X100_RDMASR_IRQ_BASE 17 34 35 #define MIC_X100_IRQ_BASE 26 36 37 #endif 38