blob: 28c47802a560b3c259a1cef746ef739abd8ff836 [file] [log] [blame]
David Brownella8e93ed2007-06-12 14:34:47 +02001# STK1000 customization
2
Haavard Skinnemoen78693e42007-10-29 17:03:26 +01003if BOARD_ATSTK1000
David Brownella8e93ed2007-06-12 14:34:47 +02004
Haavard Skinnemoen78693e42007-10-29 17:03:26 +01005config BOARD_ATSTK100X_CUSTOM
6 bool "Non-default STK1002/STK1003/STK1004 jumper settings"
David Brownella8e93ed2007-06-12 14:34:47 +02007 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 Skinnemoen78693e42007-10-29 17:03:26 +010012if BOARD_ATSTK100X_CUSTOM
David Brownella8e93ed2007-06-12 14:34:47 +020013
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010014config BOARD_ATSTK100X_SW1_CUSTOM
David Brownella8e93ed2007-06-12 14:34:47 +020015 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 Skinnemoen78693e42007-10-29 17:03:26 +010020config BOARD_ATSTK100X_SW2_CUSTOM
David Brownella8e93ed2007-06-12 14:34:47 +020021 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 Skinnemoen78693e42007-10-29 17:03:26 +010026config BOARD_ATSTK100X_SW3_CUSTOM
David Brownella8e93ed2007-06-12 14:34:47 +020027 bool "SW3: use TIMER1 (not SSC0 and GCLK)"
28 help
29 This also prevents using the external DAC as an audio interface.
30
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010031config BOARD_ATSTK100X_SW4_CUSTOM
David Brownella8e93ed2007-06-12 14:34:47 +020032 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
37config BOARD_ATSTK1002_SW5_CUSTOM
38 bool "SW5: use MACB1 (not LCDC)"
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010039 depends on BOARD_ATSTK1002
David Brownella8e93ed2007-06-12 14:34:47 +020040
41config BOARD_ATSTK1002_SW6_CUSTOM
42 bool "SW6: more GPIOs (not MACB0)"
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010043 depends on BOARD_ATSTK1002
David Brownella8e93ed2007-06-12 14:34:47 +020044
45endif # custom
46
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010047config BOARD_ATSTK100X_SPI1
David Brownella8e93ed2007-06-12 14:34:47 +020048 bool "Configure SPI1 controller"
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010049 depends on !BOARD_ATSTK100X_SW4_CUSTOM
David Brownella8e93ed2007-06-12 14:34:47 +020050 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 Skinnemoenf4c41b22007-10-29 16:02:51 +010055config BOARD_ATSTK1000_J2_LED
David Brownellad93ab02007-07-09 10:29:44 +020056 bool
Haavard Skinnemoenf4c41b22007-10-29 16:02:51 +010057 default BOARD_ATSTK1000_J2_LED8 || BOARD_ATSTK1000_J2_RGB
David Brownellad93ab02007-07-09 10:29:44 +020058
59choice
60 prompt "LEDs connected to J2:"
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010061 depends on LEDS_GPIO && !BOARD_ATSTK100X_SW4_CUSTOM
David Brownellad93ab02007-07-09 10:29:44 +020062 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 Skinnemoenf4c41b22007-10-29 16:02:51 +010069config BOARD_ATSTK1000_J2_LED8
David Brownellad93ab02007-07-09 10:29:44 +020070 bool "LED0..LED7"
71 help
72 Select this if J2 is jumpered to LED0..LED7 amber leds.
73
Haavard Skinnemoenf4c41b22007-10-29 16:02:51 +010074config BOARD_ATSTK1000_J2_RGB
David Brownellad93ab02007-07-09 10:29:44 +020075 bool "RGB leds"
76 help
77 Select this if J2 is jumpered to the RGB leds.
78
79endchoice
80
Haavard Skinnemoen64d81052007-10-29 16:24:09 +010081config BOARD_ATSTK1000_EXTDAC
82 bool
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010083 depends on !BOARD_ATSTK100X_SW1_CUSTOM && !BOARD_ATSTK100X_SW3_CUSTOM
Haavard Skinnemoen64d81052007-10-29 16:24:09 +010084 default y
85
Haavard Skinnemoen78693e42007-10-29 17:03:26 +010086endif # stk 1000