]>
Commit | Line | Data |
---|---|---|
0d19f6c8 IY |
1 | /* |
2 | * | |
3 | * (c) 2009 Emcraft Systems, Ilya Yanok <[email protected]> | |
4 | * | |
1a459660 | 5 | * SPDX-License-Identifier: GPL-2.0+ |
0d19f6c8 IY |
6 | */ |
7 | ||
8 | #ifndef QONG_FPGA_H | |
9 | #define QONG_FPGA_H | |
10 | ||
0d19f6c8 IY |
11 | #define QONG_FPGA_CTRL_BASE CONFIG_FPGA_BASE |
12 | #define QONG_FPGA_CTRL_VERSION (QONG_FPGA_CTRL_BASE + 0x00000000) | |
13 | #define QONG_FPGA_PERIPH_SIZE (1 << 24) | |
14 | ||
15 | #define QONG_FPGA_TCK_PIN 26 | |
16 | #define QONG_FPGA_TMS_PIN 25 | |
17 | #define QONG_FPGA_TDI_PIN 8 | |
18 | #define QONG_FPGA_TDO_PIN 7 | |
45997e0a SB |
19 | #define QONG_FPGA_RST_PIN 48 |
20 | #define QONG_FPGA_IRQ_PIN 40 | |
0d19f6c8 | 21 | |
b9eb3fdf | 22 | int qong_fpga_init(void); |
0d19f6c8 | 23 | #endif /* QONG_FPGA_H */ |