1# NGW100 customization
2
3if BOARD_ATNGW100_COMMON
4
5config BOARD_ATNGW100_MKII_LCD
6	bool "Enable ATNGW100 mkII LCD interface"
7	depends on BOARD_ATNGW100_MKII
8	help
9	  This enables the LCD controller (LCDC) in the AT32AP7000. Since the
10	  LCDC is multiplexed with MACB1 (LAN) Ethernet port, only one can be
11	  enabled at a time.
12
13	  This choice enables the LCDC and disables the MACB1 interface marked
14	  LAN on the PCB.
15
16choice
17	prompt "Select an NGW100 add-on board to support"
18	default BOARD_ATNGW100_ADDON_NONE
19
20config BOARD_ATNGW100_ADDON_NONE
21	bool "None"
22
23config BOARD_ATNGW100_EVKLCD10X
24	bool "EVKLCD10X addon board"
25	depends on BOARD_ATNGW100_MKI || BOARD_ATNGW100_MKII_LCD
26	help
27	  This enables support for the EVKLCD100 (QVGA) or EVKLCD101 (VGA)
28	  addon board for the NGW100 and NGW100 mkII. By enabling this the LCD
29	  controller and AC97 controller is added as platform devices.
30
31config BOARD_ATNGW100_MRMT
32	bool "Mediama RMT1/2 add-on board"
33	help
34	  This enables support for the Mediama RMT1 or RMT2 board.
35	  RMT provides LCD support, AC97 codec and other
36	  optional peripherals to the Atmel NGW100.
37
38	  This choice disables the detect pin and the write-protect pin for the
39	  MCI platform device, since it conflicts with the LCD platform device.
40	  The MCI pins can be reenabled by editing the "add device function" but
41	  this may break the setup for other displays that use these pins.
42
43endchoice
44
45choice
46	prompt "LCD panel resolution on EVKLCD10X"
47	depends on BOARD_ATNGW100_EVKLCD10X
48	default BOARD_ATNGW100_EVKLCD10X_VGA
49
50config BOARD_ATNGW100_EVKLCD10X_QVGA
51	bool "QVGA (320x240)"
52
53config BOARD_ATNGW100_EVKLCD10X_VGA
54	bool "VGA (640x480)"
55
56config BOARD_ATNGW100_EVKLCD10X_POW_QVGA
57	bool "Powertip QVGA (320x240)"
58
59endchoice
60
61if BOARD_ATNGW100_MRMT
62source	"arch/avr32/boards/atngw100/Kconfig_mrmt"
63endif
64
65endif	# BOARD_ATNGW100_COMMON
66