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