2009-02-09 23:22:31 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* (c) 2009 Emcraft Systems, Ilya Yanok <yanok@emcraft.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2009-02-09 23:22:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QONG_FPGA_H
|
|
|
|
#define QONG_FPGA_H
|
|
|
|
|
|
|
|
#define QONG_FPGA_CTRL_BASE CONFIG_FPGA_BASE
|
|
|
|
#define QONG_FPGA_CTRL_VERSION (QONG_FPGA_CTRL_BASE + 0x00000000)
|
|
|
|
#define QONG_FPGA_PERIPH_SIZE (1 << 24)
|
|
|
|
|
|
|
|
#define QONG_FPGA_TCK_PIN 26
|
|
|
|
#define QONG_FPGA_TMS_PIN 25
|
|
|
|
#define QONG_FPGA_TDI_PIN 8
|
|
|
|
#define QONG_FPGA_TDO_PIN 7
|
2010-03-29 14:43:39 +00:00
|
|
|
#define QONG_FPGA_RST_PIN 48
|
|
|
|
#define QONG_FPGA_IRQ_PIN 40
|
2009-02-09 23:22:31 +00:00
|
|
|
|
2010-06-29 09:48:24 +00:00
|
|
|
int qong_fpga_init(void);
|
2009-02-09 23:22:31 +00:00
|
|
|
#endif /* QONG_FPGA_H */
|