pins.h 656 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * pins.h
  3. *
  4. * Pin configuration
  5. */
  6. #pragma once
  7. #define PIN_FPGA_TDI 16
  8. #define PIN_FPGA_TDO 17
  9. #define PIN_FPGA_TMS 14
  10. #define PIN_FPGA_TCK 18
  11. #define PIN_FPGA_nCE 26
  12. #define PIN_FPGA_INT 9
  13. #define PIN_FPGA_CS 10
  14. #define PIN_FPGA_CLK 12
  15. #define PIN_FPGA_IO0 11
  16. #define PIN_FPGA_IO1 13
  17. #define PIN_LED_0 2
  18. #define PIN_LED_1 3
  19. #define PIN_LED_2 4
  20. #define PIN_USB_PWR_EN 7
  21. #define PIN_USB_PWR_SINK 8
  22. /* These are applicable only for the bypass FPGA image */
  23. #define PIN_BYPASS_READY 9
  24. #define PIN_BYPASS_BOARD_ID 1
  25. #define PIN_BYPASS_CS 10
  26. #define PIN_BYPASS_MOSI 12
  27. #define PIN_BYPASS_MISO 13
  28. #define PIN_BYPASS_CLK 11