Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # STK1000 customization
  2. if BOARD_ATSTK1002
  3. config BOARD_ATSTK1002_CUSTOM
  4. bool "Non-default STK-1002 jumper settings"
  5. help
  6. You will normally leave the jumpers on the CPU card at their
  7. default settings. If you need to use certain peripherals,
  8. you will need to change some of those jumpers.
  9. if BOARD_ATSTK1002_CUSTOM
  10. config BOARD_ATSTK1002_SW1_CUSTOM
  11. bool "SW1: use SSC1 (not SPI0)"
  12. help
  13. This also prevents using the external DAC as an audio interface,
  14. and means you can't initialize the on-board QVGA display.
  15. config BOARD_ATSTK1002_SW2_CUSTOM
  16. bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)"
  17. help
  18. If you change this you'll want an updated boot loader putting
  19. the console on UART-C not UART-A.
  20. config BOARD_ATSTK1002_SW3_CUSTOM
  21. bool "SW3: use TIMER1 (not SSC0 and GCLK)"
  22. help
  23. This also prevents using the external DAC as an audio interface.
  24. config BOARD_ATSTK1002_SW4_CUSTOM
  25. bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)"
  26. help
  27. To use the camera interface you'll need a custom card (on the
  28. PCI-format connector) connect a video sensor.
  29. config BOARD_ATSTK1002_SW5_CUSTOM
  30. bool "SW5: use MACB1 (not LCDC)"
  31. config BOARD_ATSTK1002_SW6_CUSTOM
  32. bool "SW6: more GPIOs (not MACB0)"
  33. endif # custom
  34. config BOARD_ATSTK1002_SPI1
  35. bool "Configure SPI1 controller"
  36. depends on !BOARD_ATSTK1002_SW4_CUSTOM
  37. help
  38. All the signals for the second SPI controller are available on
  39. GPIO lines and accessed through the J1 jumper block. Say "y"
  40. here to configure that SPI controller.
  41. config BOARD_ATSTK1002_J2_LED
  42. bool
  43. default BOARD_ATSTK1002_J2_LED8 || BOARD_ATSTK1002_J2_RGB
  44. choice
  45. prompt "LEDs connected to J2:"
  46. depends on LEDS_GPIO && !BOARD_ATSTK1002_SW4_CUSTOM
  47. optional
  48. help
  49. Select this if you have jumpered the J2 jumper block to the
  50. LED0..LED7 amber leds, or to the RGB leds, using a ten-pin
  51. IDC cable. A default "heartbeat" trigger is provided, but
  52. you can of course override this.
  53. config BOARD_ATSTK1002_J2_LED8
  54. bool "LED0..LED7"
  55. help
  56. Select this if J2 is jumpered to LED0..LED7 amber leds.
  57. config BOARD_ATSTK1002_J2_RGB
  58. bool "RGB leds"
  59. help
  60. Select this if J2 is jumpered to the RGB leds.
  61. endchoice
  62. endif # stk 1002