| 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 | e8897bf | 2007-11-29 11:15:15 +0100 | [diff] [blame] | 5 | choice | 
|  | 6 | prompt "ATSTK1000 CPU daughterboard type" | 
|  | 7 | default BOARD_ATSTK1002 | 
|  | 8 |  | 
|  | 9 | config BOARD_ATSTK1002 | 
|  | 10 | bool "ATSTK1002" | 
|  | 11 | select CPU_AT32AP7000 | 
|  | 12 |  | 
|  | 13 | config BOARD_ATSTK1003 | 
|  | 14 | bool "ATSTK1003" | 
|  | 15 | select CPU_AT32AP7001 | 
|  | 16 |  | 
|  | 17 | config BOARD_ATSTK1004 | 
|  | 18 | bool "ATSTK1004" | 
|  | 19 | select CPU_AT32AP7002 | 
|  | 20 |  | 
| HÃ¥vard Skinnemoen | e150d6e | 2008-06-06 18:04:58 +0200 | [diff] [blame] | 21 | config BOARD_ATSTK1006 | 
|  | 22 | bool "ATSTK1006" | 
|  | 23 | select CPU_AT32AP7000 | 
|  | 24 |  | 
| Haavard Skinnemoen | e8897bf | 2007-11-29 11:15:15 +0100 | [diff] [blame] | 25 | endchoice | 
|  | 26 |  | 
|  | 27 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 28 | config BOARD_ATSTK100X_CUSTOM | 
|  | 29 | bool "Non-default STK1002/STK1003/STK1004 jumper settings" | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 30 | help | 
|  | 31 | You will normally leave the jumpers on the CPU card at their | 
|  | 32 | default settings.  If you need to use certain peripherals, | 
|  | 33 | you will need to change some of those jumpers. | 
|  | 34 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 35 | if BOARD_ATSTK100X_CUSTOM | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 36 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 37 | config BOARD_ATSTK100X_SW1_CUSTOM | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 38 | bool "SW1: use SSC1 (not SPI0)" | 
|  | 39 | help | 
|  | 40 | This also prevents using the external DAC as an audio interface, | 
|  | 41 | and means you can't initialize the on-board QVGA display. | 
|  | 42 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 43 | config BOARD_ATSTK100X_SW2_CUSTOM | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 44 | bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)" | 
|  | 45 | help | 
|  | 46 | If you change this you'll want an updated boot loader putting | 
|  | 47 | the console on UART-C not UART-A. | 
|  | 48 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 49 | config BOARD_ATSTK100X_SW3_CUSTOM | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 50 | bool "SW3: use TIMER1 (not SSC0 and GCLK)" | 
|  | 51 | help | 
|  | 52 | This also prevents using the external DAC as an audio interface. | 
|  | 53 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 54 | config BOARD_ATSTK100X_SW4_CUSTOM | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 55 | bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)" | 
|  | 56 | help | 
|  | 57 | To use the camera interface you'll need a custom card (on the | 
|  | 58 | PCI-format connector) connect a video sensor. | 
|  | 59 |  | 
|  | 60 | config BOARD_ATSTK1002_SW5_CUSTOM | 
|  | 61 | bool "SW5: use MACB1 (not LCDC)" | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 62 | depends on BOARD_ATSTK1002 | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 63 |  | 
|  | 64 | config BOARD_ATSTK1002_SW6_CUSTOM | 
|  | 65 | bool "SW6: more GPIOs (not MACB0)" | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 66 | depends on BOARD_ATSTK1002 | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 67 |  | 
|  | 68 | endif	# custom | 
|  | 69 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 70 | config BOARD_ATSTK100X_SPI1 | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 71 | bool "Configure SPI1 controller" | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 72 | depends on !BOARD_ATSTK100X_SW4_CUSTOM | 
| David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 73 | help | 
|  | 74 | All the signals for the second SPI controller are available on | 
|  | 75 | GPIO lines and accessed through the J1 jumper block.  Say "y" | 
|  | 76 | here to configure that SPI controller. | 
|  | 77 |  | 
| Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 78 | config BOARD_ATSTK1000_J2_LED | 
| David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 79 | bool | 
| Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 80 | default BOARD_ATSTK1000_J2_LED8 || BOARD_ATSTK1000_J2_RGB | 
| David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 81 |  | 
|  | 82 | choice | 
|  | 83 | prompt "LEDs connected to J2:" | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 84 | depends on LEDS_GPIO && !BOARD_ATSTK100X_SW4_CUSTOM | 
| David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 85 | optional | 
|  | 86 | help | 
|  | 87 | Select this if you have jumpered the J2 jumper block to the | 
|  | 88 | LED0..LED7 amber leds, or to the RGB leds, using a ten-pin | 
|  | 89 | IDC cable.  A default "heartbeat" trigger is provided, but | 
|  | 90 | you can of course override this. | 
|  | 91 |  | 
| Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 92 | config BOARD_ATSTK1000_J2_LED8 | 
| David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 93 | bool "LED0..LED7" | 
|  | 94 | help | 
|  | 95 | Select this if J2 is jumpered to LED0..LED7 amber leds. | 
|  | 96 |  | 
| Haavard Skinnemoen | f4c41b2 | 2007-10-29 16:02:51 +0100 | [diff] [blame] | 97 | config BOARD_ATSTK1000_J2_RGB | 
| David Brownell | ad93ab0 | 2007-07-09 10:29:44 +0200 | [diff] [blame] | 98 | bool "RGB leds" | 
|  | 99 | help | 
|  | 100 | Select this if J2 is jumpered to the RGB leds. | 
|  | 101 |  | 
|  | 102 | endchoice | 
|  | 103 |  | 
| Haavard Skinnemoen | 64d8105 | 2007-10-29 16:24:09 +0100 | [diff] [blame] | 104 | config BOARD_ATSTK1000_EXTDAC | 
|  | 105 | bool | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 106 | depends on !BOARD_ATSTK100X_SW1_CUSTOM && !BOARD_ATSTK100X_SW3_CUSTOM | 
| Haavard Skinnemoen | 64d8105 | 2007-10-29 16:24:09 +0100 | [diff] [blame] | 107 | default y | 
|  | 108 |  | 
| Haavard Skinnemoen | 78693e4 | 2007-10-29 17:03:26 +0100 | [diff] [blame] | 109 | endif	# stk 1000 |