David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 1 | # STK1000 customization |
| 2 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 3 | if BOARD_ATSTK1000 |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 4 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 5 | config BOARD_ATSTK100X_CUSTOM |
| 6 | bool "Non-default STK1002/STK1003/STK1004 jumper settings" |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 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 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 12 | if BOARD_ATSTK100X_CUSTOM |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 13 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 14 | config BOARD_ATSTK100X_SW1_CUSTOM |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 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 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 20 | config BOARD_ATSTK100X_SW2_CUSTOM |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 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 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 26 | config BOARD_ATSTK100X_SW3_CUSTOM |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 27 | bool "SW3: use TIMER1 (not SSC0 and GCLK)" |
| 28 | help |
| 29 | This also prevents using the external DAC as an audio interface. |
| 30 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 31 | config BOARD_ATSTK100X_SW4_CUSTOM |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 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)" |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 39 | depends on BOARD_ATSTK1002 |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 40 | |
| 41 | config BOARD_ATSTK1002_SW6_CUSTOM |
| 42 | bool "SW6: more GPIOs (not MACB0)" |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 43 | depends on BOARD_ATSTK1002 |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 44 | |
| 45 | endif # custom |
| 46 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 47 | config BOARD_ATSTK100X_SPI1 |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 48 | bool "Configure SPI1 controller" |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 49 | depends on !BOARD_ATSTK100X_SW4_CUSTOM |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 50 | help |
| 51 | All the signals for the second SPI controller are available on |
| 52 | GPIO lines and accessed through the J1 jumper block. Say "y" |
| 53 | here to configure that SPI controller. |
| 54 | |
Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 55 | config BOARD_ATSTK1000_J2_LED |
David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 56 | bool |
Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 57 | default BOARD_ATSTK1000_J2_LED8 || BOARD_ATSTK1000_J2_RGB |
David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 58 | |
| 59 | choice |
| 60 | prompt "LEDs connected to J2:" |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 61 | depends on LEDS_GPIO && !BOARD_ATSTK100X_SW4_CUSTOM |
David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 62 | optional |
| 63 | help |
| 64 | Select this if you have jumpered the J2 jumper block to the |
| 65 | LED0..LED7 amber leds, or to the RGB leds, using a ten-pin |
| 66 | IDC cable. A default "heartbeat" trigger is provided, but |
| 67 | you can of course override this. |
| 68 | |
Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 69 | config BOARD_ATSTK1000_J2_LED8 |
David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 70 | bool "LED0..LED7" |
| 71 | help |
| 72 | Select this if J2 is jumpered to LED0..LED7 amber leds. |
| 73 | |
Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 74 | config BOARD_ATSTK1000_J2_RGB |
David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 75 | bool "RGB leds" |
| 76 | help |
| 77 | Select this if J2 is jumpered to the RGB leds. |
| 78 | |
| 79 | endchoice |
| 80 | |
Haavard Skinnemoen | 64d8105 | 2007-10-29 16:24:09 +0100 | [diff] [blame] | 81 | config BOARD_ATSTK1000_EXTDAC |
| 82 | bool |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 83 | depends on !BOARD_ATSTK100X_SW1_CUSTOM && !BOARD_ATSTK100X_SW3_CUSTOM |
Haavard Skinnemoen | 64d8105 | 2007-10-29 16:24:09 +0100 | [diff] [blame] | 84 | default y |
| 85 | |
Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame^] | 86 | endif # stk 1000 |