blob: 4b130b8e25ba5dab73787741bee979b7599cc772 [file] [log] [blame]
Andrew Wu8522f992013-07-05 17:29:41 +08001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2013 DMP Electronics Inc.
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18##
19
20if BOARD_DMP_EX
21
22config BOARD_SPECIFIC_OPTIONS # dummy
23 def_bool y
24 select ARCH_X86
25 select CPU_DMP_VORTEX86EX
26 select NORTHBRIDGE_DMP_VORTEX86EX
27 select SOUTHBRIDGE_DMP_VORTEX86EX
28 select HAVE_PIRQ_TABLE
29 select BOARD_ROMSIZE_KB_256
30 select ROMCC
31 select DEFAULT_EARLY_CONSOLE
32 select HAVE_DEBUG_RAM_SETUP
33
34config MAINBOARD_DIR
35 string
36 default dmp/vortex86ex
37
38config MAINBOARD_PART_NUMBER
39 string
40 default "Vortex86EX"
41
42config IRQ_SLOT_COUNT
43 int
44 default 12
45
46config ID_SECTION_OFFSET
47 # Vortex86 ROM fixed data areas used too big range, we need
48 # to move ID from default address to another place.
49 # 18K below top of ROM should be ok.
50 hex
51 default 0x4800
52
Andrew Wua4ae3102013-12-23 19:54:26 +080053# SPI I/O base address control.
54config I2C_BASE
55 hex
56 default 0xfb00
57
Andrew Wu8522f992013-07-05 17:29:41 +080058# ROM Strap PLL config setting :
59
60choice
61 prompt "ROM Strap PLL config"
62 default PLL_300_300_33
63
64config PLL_200_200_33
65 bool "CPU=200Mhz/DRAM=200Mhz/PCI=33Mhz"
66
67config PLL_300_300_33
68 bool "CPU=300Mhz/DRAM=300Mhz/PCI=33Mhz"
69
70config PLL_300_300_100
71 bool "CPU=300Mhz/DRAM=300Mhz/PCI=100Mhz"
72
73config PLL_400_200_33
74 bool "CPU=400Mhz/DRAM=200Mhz/PCI=33Mhz"
75
76config PLL_400_200_100
77 bool "CPU=400Mhz/DRAM=200Mhz/PCI=100Mhz"
78
79config PLL_400_400_33
80 bool "CPU=400Mhz/DRAM=400Mhz/PCI=33Mhz"
81
82config PLL_500_250_33
83 bool "CPU=500Mhz/DRAM=250Mhz/PCI=33Mhz"
84
85config PLL_500_500_33
86 bool "CPU=500Mhz/DRAM=500Mhz/PCI=33Mhz"
87
88config PLL_400_300_33
89 bool "CPU=400Mhz/DRAM=300Mhz/PCI=33Mhz"
90
91config PLL_400_300_100
92 bool "CPU=400Mhz/DRAM=300Mhz/PCI=100Mhz"
93
94config PLL_444_333_33
95 bool "CPU=444Mhz/DRAM=333Mhz/PCI=33Mhz"
96
97config PLL_466_350_33
98 bool "CPU=466Mhz/DRAM=350Mhz/PCI=33Mhz"
99
100config PLL_500_375_33
101 bool "CPU=500Mhz/DRAM=375Mhz/PCI=33Mhz"
102
103endchoice
104
105menu "On-Chip Device Power Down Control"
106
107 config TEMP_POWERDOWN
108 bool "Temperature sensor power-down"
109
110 config SATA_POWERDOWN
111 bool "SATA power-down"
112
113 config ADC_POWERDOWN
114 bool "ADC power-down"
115
116 config PCIE0_POWERDOWN
117 bool "PCIE0 power-down"
118
119 config MAC_POWERDOWN
120 bool "MAC power-down"
121
122 config USB1_POWERDOWN
123 bool "USB2.0 Host Controller 1 power-down"
124
125 config IDE_POWERDOWN
126 bool "IDE power-down"
127
128endmenu
129
130menu "Watchdog Timer setting"
131
132config WDT1_INITIALIZE
133 bool "Initialize WDT1"
134 default n
135
136config WDT1_ENABLE
137 depends on WDT1_INITIALIZE
138 bool "Enable WDT1"
139 default n
140
141choice
142 depends on WDT1_INITIALIZE
143 prompt "WDT1 Signal Select"
144 default WDT1_SIGNAL_RESET
145
146config WDT1_SINGAL_NMI
147 bool "NMI"
148config WDT1_SIGNAL_RESET
149 bool "Reset"
150config WDT1_SIGNAL_SMI
151 bool "SMI"
152
153endchoice
154
155endmenu
156
157menu "IDE controller setting"
158
159choice
160 prompt "Operation Mode"
161 default IDE_NATIVE_MODE
162
163config IDE_NATIVE_MODE
164 bool "Native Mode"
165config IDE_LEGACY_MODE
166 bool "Legacy Mode"
167
168endchoice
169
170config IDE1_ENABLE
171 bool "IDE Primary channel Enable"
172 default y
173
174config IDE2_ENABLE
175 bool "IDE Secondary channel Enable"
176 default y
177
178config IDE_STANDARD_COMPATIBLE
179 bool "Standard IDE Compatible"
180 default n
181 help
182 Built-in IDE controller PCI vendor/device ID is 17F3:1012, which
183 is not recognized by some OSes.
184
185 This option can change IDE controller PCI vendor/device ID to
186 other value for software compatibility.
187
188config IDE_COMPATIBLE_SELECTION
189 depends on IDE_STANDARD_COMPATIBLE
190 hex "IDE Compatible Selection"
191 default 0x808624db
192 help
193 IDE controller PCI vendor/device ID value setting.
194
195 Higher 16-bit is vendor ID, lower 16-bit is device ID.
196
197endmenu
198
199# GPIO setting :
200menu "GPIO setting"
201
202# Begin of GPIO0
203config GPIO_P0_ENABLE
204 bool "GPIO port 0 Enable"
205 default n
206
207config GPIO_P0_DATA_ADDR
208 hex "GPIO port 0 data address"
209 depends on GPIO_P0_ENABLE
210
211config GPIO_P0_DIR_ADDR
212 hex "GPIO port 0 direction address"
213 depends on GPIO_P0_ENABLE
214
215config GPIO_P0_INIT_DIR
216 hex "GPIO port 0 initial direction"
217 default 0x00
218 depends on GPIO_P0_ENABLE
219
220config GPIO_P0_INIT_DATA
221 hex "GPIO port 0 initial data"
222 depends on GPIO_P0_ENABLE
223# end of GPIO0
224
225# Begin of GPIO1
226config GPIO_P1_ENABLE
227 bool "GPIO port 1 Enable"
228 default n
229
230config GPIO_P1_DATA_ADDR
231 hex "GPIO port 1 data address"
232 depends on GPIO_P1_ENABLE
233
234config GPIO_P1_DIR_ADDR
235 hex "GPIO port 1 direction address"
236 depends on GPIO_P1_ENABLE
237
238config GPIO_P1_INIT_DIR
239 hex "GPIO port 1 initial direction"
240 default 0x00
241 depends on GPIO_P1_ENABLE
242
243config GPIO_P1_INIT_DATA
244 hex "GPIO port 1 initial data"
245 depends on GPIO_P1_ENABLE
246# end of GPIO1
247
248# Begin of GPIO2
249config GPIO_P2_ENABLE
250 bool "GPIO port 2 Enable"
251 default n
252
253config GPIO_P2_DATA_ADDR
254 hex "GPIO port 2 data address"
255 depends on GPIO_P2_ENABLE
256
257config GPIO_P2_DIR_ADDR
258 hex "GPIO port 2 direction address"
259 depends on GPIO_P2_ENABLE
260
261config GPIO_P2_INIT_DIR
262 hex "GPIO port 2 initial direction"
263 default 0x00
264 depends on GPIO_P2_ENABLE
265
266config GPIO_P2_INIT_DATA
267 hex "GPIO port 2 initial data"
268 depends on GPIO_P2_ENABLE
269# end of GPIO2
270
271# Begin of GPIO3
272config GPIO_P3_ENABLE
273 bool "GPIO port 3 Enable"
274 default n
275
276config GPIO_P3_DATA_ADDR
277 hex "GPIO port 3 data address"
278 depends on GPIO_P3_ENABLE
279
280config GPIO_P3_DIR_ADDR
281 hex "GPIO port 3 direction address"
282 depends on GPIO_P3_ENABLE
283
284config GPIO_P3_INIT_DIR
285 hex "GPIO port 3 initial direction"
286 default 0x00
287 depends on GPIO_P3_ENABLE
288
289config GPIO_P3_INIT_DATA
290 hex "GPIO port 3 initial data"
291 depends on GPIO_P3_ENABLE
292# end of GPIO3
293
294# Begin of GPIO4
295config GPIO_P4_ENABLE
296 bool "GPIO port 4 Enable"
297 default n
298
299config GPIO_P4_DATA_ADDR
300 hex "GPIO port 4 data address"
301 depends on GPIO_P4_ENABLE
302
303config GPIO_P4_DIR_ADDR
304 hex "GPIO port 4 direction address"
305 depends on GPIO_P4_ENABLE
306
307config GPIO_P4_INIT_DIR
308 hex "GPIO port 4 initial direction"
309 default 0x00
310 depends on GPIO_P4_ENABLE
311
312config GPIO_P4_INIT_DATA
313 hex "GPIO port 4 initial data"
314 depends on GPIO_P4_ENABLE
315# end of GPIO4
316
317# Begin of GPIO5
318config GPIO_P5_ENABLE
319 bool "GPIO port 5 Enable"
320 default n
321
322config GPIO_P5_DATA_ADDR
323 hex "GPIO port 5 data address"
324 depends on GPIO_P5_ENABLE
325
326config GPIO_P5_DIR_ADDR
327 hex "GPIO port 5 direction address"
328 depends on GPIO_P5_ENABLE
329
330config GPIO_P5_INIT_DIR
331 hex "GPIO port 5 initial direction"
332 default 0x00
333 depends on GPIO_P5_ENABLE
334
335config GPIO_P5_INIT_DATA
336 hex "GPIO port 5 initial data"
337 depends on GPIO_P5_ENABLE
338# end of GPIO5
339
340# Begin of GPIO6
341config GPIO_P6_ENABLE
342 bool "GPIO port 6 Enable"
343 default n
344
345config GPIO_P6_DATA_ADDR
346 hex "GPIO port 6 data address"
347 depends on GPIO_P6_ENABLE
348
349config GPIO_P6_DIR_ADDR
350 hex "GPIO port 6 direction address"
351 depends on GPIO_P6_ENABLE
352
353config GPIO_P6_INIT_DIR
354 hex "GPIO port 6 initial direction"
355 default 0x00
356 depends on GPIO_P6_ENABLE
357
358config GPIO_P6_INIT_DATA
359 hex "GPIO port 6 initial data"
360 depends on GPIO_P6_ENABLE
361# end of GPIO6
362
363# Begin of GPIO7
364config GPIO_P7_ENABLE
365 bool "GPIO port 7 Enable"
366 default n
367
368config GPIO_P7_DATA_ADDR
369 hex "GPIO port 7 data address"
370 depends on GPIO_P7_ENABLE
371
372config GPIO_P7_DIR_ADDR
373 hex "GPIO port 7 direction address"
374 depends on GPIO_P7_ENABLE
375
376config GPIO_P7_INIT_DIR
377 hex "GPIO port 7 initial direction"
378 default 0x00
379 depends on GPIO_P7_ENABLE
380
381config GPIO_P7_INIT_DATA
382 hex "GPIO port 7 initial data"
383 depends on GPIO_P7_ENABLE
384# end of GPIO7
385
386# Begin of GPIO8
387config GPIO_P8_ENABLE
388 bool "GPIO port 8 Enable"
389 default n
390
391config GPIO_P8_DATA_ADDR
392 hex "GPIO port 8 data address"
393 depends on GPIO_P8_ENABLE
394
395config GPIO_P8_DIR_ADDR
396 hex "GPIO port 8 direction address"
397 depends on GPIO_P8_ENABLE
398
399config GPIO_P8_INIT_DIR
400 hex "GPIO port 8 initial direction"
401 default 0x00
402 depends on GPIO_P8_ENABLE
403
404config GPIO_P8_INIT_DATA
405 hex "GPIO port 8 initial data"
406 depends on GPIO_P8_ENABLE
407# end of GPIO8
408
409# Begin of GPIO9
410config GPIO_P9_ENABLE
411 bool "GPIO port 9 Enable"
412 default n
413
414config GPIO_P9_DATA_ADDR
415 hex "GPIO port 9 data address"
416 depends on GPIO_P9_ENABLE
417
418config GPIO_P9_DIR_ADDR
419 hex "GPIO port 9 direction address"
420 depends on GPIO_P9_ENABLE
421
422config GPIO_P9_INIT_DIR
423 hex "GPIO port 9 initial direction"
424 default 0x00
425 depends on GPIO_P9_ENABLE
426
427config GPIO_P9_INIT_DATA
428 hex "GPIO port 9 initial data"
429 depends on GPIO_P9_ENABLE
430# end of GPIO9
431
432endmenu
433
434# UART setting :
435menu "UART setting"
436
437# Begin of UART1
438config UART1_ENABLE
439 bool "UART1 Enable"
440 default y
441
442choice
443 prompt "UART1 I/O port"
444 default UART1_IO_PORT_3F8
445 depends on UART1_ENABLE
446
447config UART1_IO_PORT_3F8
448 bool "0x3f8, COM1"
449config UART1_IO_PORT_2F8
450 bool "0x2f8, COM2"
451config UART1_IO_PORT_3E8
452 bool "0x3e8, COM3"
453config UART1_IO_PORT_2E8
454 bool "0x2e8, COM4"
455config UART1_IO_PORT_OTHER
456 bool "Other"
457
458endchoice
459
460config UART1_IO_PORT_OTHER_INPUT
461 hex "UART1 I/O port"
462 depends on UART1_ENABLE && UART1_IO_PORT_OTHER
463
464config UART1_IO
465 hex
466 depends on UART1_ENABLE
467 default 0x3f8 if UART1_IO_PORT_3F8
468 default 0x2f8 if UART1_IO_PORT_2F8
469 default 0x3e8 if UART1_IO_PORT_3E8
470 default 0x2e8 if UART1_IO_PORT_2E8
471 default UART1_IO_PORT_OTHER_INPUT if UART1_IO_PORT_OTHER
472
473choice
474 prompt "UART1 IRQ"
475 default UART1_IRQ4
476 depends on UART1_ENABLE
477
478config UART1_IRQ_DISABLE
479 bool "Disable"
480config UART1_IRQ3
481 bool "IRQ3, COM2"
482config UART1_IRQ4
483 bool "IRQ4, COM1"
484config UART1_IRQ5
485 bool "IRQ5"
486config UART1_IRQ6
487 bool "IRQ6"
488config UART1_IRQ7
489 bool "IRQ7"
490config UART1_IRQ9
491 bool "IRQ9"
492config UART1_IRQ10
493 bool "IRQ10, COM3"
494config UART1_IRQ11
495 bool "IRQ11, COM4"
496config UART1_IRQ12
497 bool "IRQ12"
498config UART1_IRQ14
499 bool "IRQ14"
500config UART1_IRQ15
501 bool "IRQ15"
502
503endchoice
504
505config UART1_IRQ
506 int
507 depends on UART1_ENABLE
508 default 0 if UART1_IRQ_DISABLE
509 default 3 if UART1_IRQ3
510 default 4 if UART1_IRQ4
511 default 5 if UART1_IRQ5
512 default 6 if UART1_IRQ6
513 default 7 if UART1_IRQ7
514 default 9 if UART1_IRQ9
515 default 10 if UART1_IRQ10
516 default 11 if UART1_IRQ11
517 default 12 if UART1_IRQ12
518 default 14 if UART1_IRQ14
519 default 15 if UART1_IRQ15
520
Andrew Wu8522f992013-07-05 17:29:41 +0800521# end of UART1
522
523# Begin of UART2
524config UART2_ENABLE
525 bool "UART2 Enable"
526 default y
527
528choice
529 prompt "UART2 I/O port"
530 default UART2_IO_PORT_2F8
531 depends on UART2_ENABLE
532
533config UART2_IO_PORT_3F8
534 bool "0x3f8, COM1"
535config UART2_IO_PORT_2F8
536 bool "0x2f8, COM2"
537config UART2_IO_PORT_3E8
538 bool "0x3e8, COM3"
539config UART2_IO_PORT_2E8
540 bool "0x2e8, COM4"
541config UART2_IO_PORT_OTHER
542 bool "Other"
543
544endchoice
545
546config UART2_IO_PORT_OTHER_INPUT
547 hex "UART2 I/O port"
548 depends on UART2_ENABLE && UART2_IO_PORT_OTHER
549
550config UART2_IO
551 hex
552 depends on UART2_ENABLE
553 default 0x3f8 if UART2_IO_PORT_3F8
554 default 0x2f8 if UART2_IO_PORT_2F8
555 default 0x3e8 if UART2_IO_PORT_3E8
556 default 0x2e8 if UART2_IO_PORT_2E8
557 default UART2_IO_PORT_OTHER_INPUT if UART2_IO_PORT_OTHER
558
559choice
560 prompt "UART2 IRQ"
561 default UART2_IRQ3
562 depends on UART2_ENABLE
563
564config UART2_IRQ_DISABLE
565 bool "Disable"
566config UART2_IRQ3
567 bool "IRQ3, COM2"
568config UART2_IRQ4
569 bool "IRQ4, COM1"
570config UART2_IRQ5
571 bool "IRQ5"
572config UART2_IRQ6
573 bool "IRQ6"
574config UART2_IRQ7
575 bool "IRQ7"
576config UART2_IRQ9
577 bool "IRQ9"
578config UART2_IRQ10
579 bool "IRQ10, COM3"
580config UART2_IRQ11
581 bool "IRQ11, COM4"
582config UART2_IRQ12
583 bool "IRQ12"
584config UART2_IRQ14
585 bool "IRQ14"
586config UART2_IRQ15
587 bool "IRQ15"
588
589endchoice
590
591config UART2_IRQ
592 int
593 depends on UART2_ENABLE
594 default 0 if UART2_IRQ_DISABLE
595 default 3 if UART2_IRQ3
596 default 4 if UART2_IRQ4
597 default 5 if UART2_IRQ5
598 default 6 if UART2_IRQ6
599 default 7 if UART2_IRQ7
600 default 9 if UART2_IRQ9
601 default 10 if UART2_IRQ10
602 default 11 if UART2_IRQ11
603 default 12 if UART2_IRQ12
604 default 14 if UART2_IRQ14
605 default 15 if UART2_IRQ15
606
Andrew Wu8522f992013-07-05 17:29:41 +0800607# end of UART2
608
609# Begin of UART3
610config UART3_ENABLE
611 bool "UART3 Enable"
612 default y
613
614choice
615 prompt "UART3 I/O port"
616 default UART3_IO_PORT_3E8
617 depends on UART3_ENABLE
618
619config UART3_IO_PORT_3F8
620 bool "0x3f8, COM1"
621config UART3_IO_PORT_2F8
622 bool "0x2f8, COM2"
623config UART3_IO_PORT_3E8
624 bool "0x3e8, COM3"
625config UART3_IO_PORT_2E8
626 bool "0x2e8, COM4"
627config UART3_IO_PORT_OTHER
628 bool "Other"
629
630endchoice
631
632config UART3_IO_PORT_OTHER_INPUT
633 hex "UART3 I/O port"
634 depends on UART3_ENABLE && UART3_IO_PORT_OTHER
635
636config UART3_IO
637 hex
638 depends on UART3_ENABLE
639 default 0x3f8 if UART3_IO_PORT_3F8
640 default 0x2f8 if UART3_IO_PORT_2F8
641 default 0x3e8 if UART3_IO_PORT_3E8
642 default 0x2e8 if UART3_IO_PORT_2E8
643 default UART3_IO_PORT_OTHER_INPUT if UART3_IO_PORT_OTHER
644
645choice
646 prompt "UART3 IRQ"
647 default UART3_IRQ10
648 depends on UART3_ENABLE
649
650config UART3_IRQ_DISABLE
651 bool "Disable"
652config UART3_IRQ3
653 bool "IRQ3, COM2"
654config UART3_IRQ4
655 bool "IRQ4, COM1"
656config UART3_IRQ5
657 bool "IRQ5"
658config UART3_IRQ6
659 bool "IRQ6"
660config UART3_IRQ7
661 bool "IRQ7"
662config UART3_IRQ9
663 bool "IRQ9"
664config UART3_IRQ10
665 bool "IRQ10, COM3"
666config UART3_IRQ11
667 bool "IRQ11, COM4"
668config UART3_IRQ12
669 bool "IRQ12"
670config UART3_IRQ14
671 bool "IRQ14"
672config UART3_IRQ15
673 bool "IRQ15"
674
675endchoice
676
677config UART3_IRQ
678 int
679 depends on UART3_ENABLE
680 default 0 if UART3_IRQ_DISABLE
681 default 3 if UART3_IRQ3
682 default 4 if UART3_IRQ4
683 default 5 if UART3_IRQ5
684 default 6 if UART3_IRQ6
685 default 7 if UART3_IRQ7
686 default 9 if UART3_IRQ9
687 default 10 if UART3_IRQ10
688 default 11 if UART3_IRQ11
689 default 12 if UART3_IRQ12
690 default 14 if UART3_IRQ14
691 default 15 if UART3_IRQ15
692
Andrew Wu8522f992013-07-05 17:29:41 +0800693# end of UART3
694
695# Begin of UART4
696config UART4_ENABLE
697 bool "UART4 Enable"
698 default y
699
700choice
701 prompt "UART4 I/O port"
702 default UART4_IO_PORT_2E8
703 depends on UART4_ENABLE
704
705config UART4_IO_PORT_3F8
706 bool "0x3f8, COM1"
707config UART4_IO_PORT_2F8
708 bool "0x2f8, COM2"
709config UART4_IO_PORT_3E8
710 bool "0x3e8, COM3"
711config UART4_IO_PORT_2E8
712 bool "0x2e8, COM4"
713config UART4_IO_PORT_OTHER
714 bool "Other"
715
716endchoice
717
718config UART4_IO_PORT_OTHER_INPUT
719 hex "UART4 I/O port"
720 depends on UART4_ENABLE && UART4_IO_PORT_OTHER
721
722config UART4_IO
723 hex
724 depends on UART4_ENABLE
725 default 0x3f8 if UART4_IO_PORT_3F8
726 default 0x2f8 if UART4_IO_PORT_2F8
727 default 0x3e8 if UART4_IO_PORT_3E8
728 default 0x2e8 if UART4_IO_PORT_2E8
729 default UART4_IO_PORT_OTHER_INPUT if UART4_IO_PORT_OTHER
730
731choice
732 prompt "UART4 IRQ"
733 default UART4_IRQ11
734 depends on UART4_ENABLE
735
736config UART4_IRQ_DISABLE
737 bool "Disable"
738config UART4_IRQ3
739 bool "IRQ3, COM2"
740config UART4_IRQ4
741 bool "IRQ4, COM1"
742config UART4_IRQ5
743 bool "IRQ5"
744config UART4_IRQ6
745 bool "IRQ6"
746config UART4_IRQ7
747 bool "IRQ7"
748config UART4_IRQ9
749 bool "IRQ9"
750config UART4_IRQ10
751 bool "IRQ10, COM3"
752config UART4_IRQ11
753 bool "IRQ11, COM4"
754config UART4_IRQ12
755 bool "IRQ12"
756config UART4_IRQ14
757 bool "IRQ14"
758config UART4_IRQ15
759 bool "IRQ15"
760
761endchoice
762
763config UART4_IRQ
764 int
765 depends on UART4_ENABLE
766 default 0 if UART4_IRQ_DISABLE
767 default 3 if UART4_IRQ3
768 default 4 if UART4_IRQ4
769 default 5 if UART4_IRQ5
770 default 6 if UART4_IRQ6
771 default 7 if UART4_IRQ7
772 default 9 if UART4_IRQ9
773 default 10 if UART4_IRQ10
774 default 11 if UART4_IRQ11
775 default 12 if UART4_IRQ12
776 default 14 if UART4_IRQ14
777 default 15 if UART4_IRQ15
778
Andrew Wu8522f992013-07-05 17:29:41 +0800779# end of UART4
780
781# Begin of UART5
782config UART5_ENABLE
783 bool "UART5 Enable"
784 default n
785
786choice
787 prompt "UART5 I/O port"
788 default UART5_IO_PORT_OTHER
789 depends on UART5_ENABLE
790
791config UART5_IO_PORT_3F8
792 bool "0x3f8, COM1"
793config UART5_IO_PORT_2F8
794 bool "0x2f8, COM2"
795config UART5_IO_PORT_3E8
796 bool "0x3e8, COM3"
797config UART5_IO_PORT_2E8
798 bool "0x2e8, COM4"
799config UART5_IO_PORT_OTHER
800 bool "Other"
801
802endchoice
803
804config UART5_IO_PORT_OTHER_INPUT
805 hex "UART5 I/O port"
806 depends on UART5_ENABLE && UART5_IO_PORT_OTHER
807
808config UART5_IO
809 hex
810 depends on UART5_ENABLE
811 default 0x3f8 if UART5_IO_PORT_3F8
812 default 0x2f8 if UART5_IO_PORT_2F8
813 default 0x3e8 if UART5_IO_PORT_3E8
814 default 0x2e8 if UART5_IO_PORT_2E8
815 default UART5_IO_PORT_OTHER_INPUT if UART5_IO_PORT_OTHER
816
817choice
818 prompt "UART5 IRQ"
819 default UART5_IRQ_DISABLE
820 depends on UART5_ENABLE
821
822config UART5_IRQ_DISABLE
823 bool "Disable"
824config UART5_IRQ3
825 bool "IRQ3, COM2"
826config UART5_IRQ4
827 bool "IRQ4, COM1"
828config UART5_IRQ5
829 bool "IRQ5"
830config UART5_IRQ6
831 bool "IRQ6"
832config UART5_IRQ7
833 bool "IRQ7"
834config UART5_IRQ9
835 bool "IRQ9"
836config UART5_IRQ10
837 bool "IRQ10, COM3"
838config UART5_IRQ11
839 bool "IRQ11, COM4"
840config UART5_IRQ12
841 bool "IRQ12"
842config UART5_IRQ14
843 bool "IRQ14"
844config UART5_IRQ15
845 bool "IRQ15"
846
847endchoice
848
849config UART5_IRQ
850 int
851 depends on UART5_ENABLE
852 default 0 if UART5_IRQ_DISABLE
853 default 3 if UART5_IRQ3
854 default 4 if UART5_IRQ4
855 default 5 if UART5_IRQ5
856 default 6 if UART5_IRQ6
857 default 7 if UART5_IRQ7
858 default 9 if UART5_IRQ9
859 default 10 if UART5_IRQ10
860 default 11 if UART5_IRQ11
861 default 12 if UART5_IRQ12
862 default 14 if UART5_IRQ14
863 default 15 if UART5_IRQ15
864
Andrew Wu8522f992013-07-05 17:29:41 +0800865# end of UART5
866
867# Begin of UART6
868config UART6_ENABLE
869 bool "UART6 Enable"
870 default n
871
872choice
873 prompt "UART6 I/O port"
874 default UART6_IO_PORT_OTHER
875 depends on UART6_ENABLE
876
877config UART6_IO_PORT_3F8
878 bool "0x3f8, COM1"
879config UART6_IO_PORT_2F8
880 bool "0x2f8, COM2"
881config UART6_IO_PORT_3E8
882 bool "0x3e8, COM3"
883config UART6_IO_PORT_2E8
884 bool "0x2e8, COM4"
885config UART6_IO_PORT_OTHER
886 bool "Other"
887
888endchoice
889
890config UART6_IO_PORT_OTHER_INPUT
891 hex "UART6 I/O port"
892 depends on UART6_ENABLE && UART6_IO_PORT_OTHER
893
894config UART6_IO
895 hex
896 depends on UART6_ENABLE
897 default 0x3f8 if UART6_IO_PORT_3F8
898 default 0x2f8 if UART6_IO_PORT_2F8
899 default 0x3e8 if UART6_IO_PORT_3E8
900 default 0x2e8 if UART6_IO_PORT_2E8
901 default UART6_IO_PORT_OTHER_INPUT if UART6_IO_PORT_OTHER
902
903choice
904 prompt "UART6 IRQ"
905 default UART6_IRQ_DISABLE
906 depends on UART6_ENABLE
907
908config UART6_IRQ_DISABLE
909 bool "Disable"
910config UART6_IRQ3
911 bool "IRQ3, COM2"
912config UART6_IRQ4
913 bool "IRQ4, COM1"
914config UART6_IRQ5
915 bool "IRQ5"
916config UART6_IRQ6
917 bool "IRQ6"
918config UART6_IRQ7
919 bool "IRQ7"
920config UART6_IRQ9
921 bool "IRQ9"
922config UART6_IRQ10
923 bool "IRQ10, COM3"
924config UART6_IRQ11
925 bool "IRQ11, COM4"
926config UART6_IRQ12
927 bool "IRQ12"
928config UART6_IRQ14
929 bool "IRQ14"
930config UART6_IRQ15
931 bool "IRQ15"
932
933endchoice
934
935config UART6_IRQ
936 int
937 depends on UART6_ENABLE
938 default 0 if UART6_IRQ_DISABLE
939 default 3 if UART6_IRQ3
940 default 4 if UART6_IRQ4
941 default 5 if UART6_IRQ5
942 default 6 if UART6_IRQ6
943 default 7 if UART6_IRQ7
944 default 9 if UART6_IRQ9
945 default 10 if UART6_IRQ10
946 default 11 if UART6_IRQ11
947 default 12 if UART6_IRQ12
948 default 14 if UART6_IRQ14
949 default 15 if UART6_IRQ15
950
Andrew Wu8522f992013-07-05 17:29:41 +0800951# end of UART6
952
953# Begin of UART7
954config UART7_ENABLE
955 bool "UART7 Enable"
956 default n
957
958choice
959 prompt "UART7 I/O port"
960 default UART7_IO_PORT_OTHER
961 depends on UART7_ENABLE
962
963config UART7_IO_PORT_3F8
964 bool "0x3f8, COM1"
965config UART7_IO_PORT_2F8
966 bool "0x2f8, COM2"
967config UART7_IO_PORT_3E8
968 bool "0x3e8, COM3"
969config UART7_IO_PORT_2E8
970 bool "0x2e8, COM4"
971config UART7_IO_PORT_OTHER
972 bool "Other"
973
974endchoice
975
976config UART7_IO_PORT_OTHER_INPUT
977 hex "UART7 I/O port"
978 depends on UART7_ENABLE && UART7_IO_PORT_OTHER
979
980config UART7_IO
981 hex
982 depends on UART7_ENABLE
983 default 0x3f8 if UART7_IO_PORT_3F8
984 default 0x2f8 if UART7_IO_PORT_2F8
985 default 0x3e8 if UART7_IO_PORT_3E8
986 default 0x2e8 if UART7_IO_PORT_2E8
987 default UART7_IO_PORT_OTHER_INPUT if UART7_IO_PORT_OTHER
988
989choice
990 prompt "UART7 IRQ"
991 default UART7_IRQ_DISABLE
992 depends on UART7_ENABLE
993
994config UART7_IRQ_DISABLE
995 bool "Disable"
996config UART7_IRQ3
997 bool "IRQ3, COM2"
998config UART7_IRQ4
999 bool "IRQ4, COM1"
1000config UART7_IRQ5
1001 bool "IRQ5"
1002config UART7_IRQ6
1003 bool "IRQ6"
1004config UART7_IRQ7
1005 bool "IRQ7"
1006config UART7_IRQ9
1007 bool "IRQ9"
1008config UART7_IRQ10
1009 bool "IRQ10, COM3"
1010config UART7_IRQ11
1011 bool "IRQ11, COM4"
1012config UART7_IRQ12
1013 bool "IRQ12"
1014config UART7_IRQ14
1015 bool "IRQ14"
1016config UART7_IRQ15
1017 bool "IRQ15"
1018
1019endchoice
1020
1021config UART7_IRQ
1022 int
1023 depends on UART7_ENABLE
1024 default 0 if UART7_IRQ_DISABLE
1025 default 3 if UART7_IRQ3
1026 default 4 if UART7_IRQ4
1027 default 5 if UART7_IRQ5
1028 default 6 if UART7_IRQ6
1029 default 7 if UART7_IRQ7
1030 default 9 if UART7_IRQ9
1031 default 10 if UART7_IRQ10
1032 default 11 if UART7_IRQ11
1033 default 12 if UART7_IRQ12
1034 default 14 if UART7_IRQ14
1035 default 15 if UART7_IRQ15
1036
Andrew Wu8522f992013-07-05 17:29:41 +08001037# end of UART7
1038
1039# Begin of UART8
1040config UART8_ENABLE
1041 bool "UART8 Enable"
1042 default n
1043
1044choice
1045 prompt "UART8 I/O port"
1046 default UART8_IO_PORT_OTHER
1047 depends on UART8_ENABLE
1048
1049config UART8_IO_PORT_3F8
1050 bool "0x3f8, COM1"
1051config UART8_IO_PORT_2F8
1052 bool "0x2f8, COM2"
1053config UART8_IO_PORT_3E8
1054 bool "0x3e8, COM3"
1055config UART8_IO_PORT_2E8
1056 bool "0x2e8, COM4"
1057config UART8_IO_PORT_OTHER
1058 bool "Other"
1059
1060endchoice
1061
1062config UART8_IO_PORT_OTHER_INPUT
1063 hex "UART8 I/O port"
1064 depends on UART8_ENABLE && UART8_IO_PORT_OTHER
1065
1066config UART8_IO
1067 hex
1068 depends on UART8_ENABLE
1069 default 0x3f8 if UART8_IO_PORT_3F8
1070 default 0x2f8 if UART8_IO_PORT_2F8
1071 default 0x3e8 if UART8_IO_PORT_3E8
1072 default 0x2e8 if UART8_IO_PORT_2E8
1073 default UART8_IO_PORT_OTHER_INPUT if UART8_IO_PORT_OTHER
1074
1075choice
1076 prompt "UART8 IRQ"
1077 default UART8_IRQ_DISABLE
1078 depends on UART8_ENABLE
1079
1080config UART8_IRQ_DISABLE
1081 bool "Disable"
1082config UART8_IRQ3
1083 bool "IRQ3, COM2"
1084config UART8_IRQ4
1085 bool "IRQ4, COM1"
1086config UART8_IRQ5
1087 bool "IRQ5"
1088config UART8_IRQ6
1089 bool "IRQ6"
1090config UART8_IRQ7
1091 bool "IRQ7"
1092config UART8_IRQ9
1093 bool "IRQ9"
1094config UART8_IRQ10
1095 bool "IRQ10, COM3"
1096config UART8_IRQ11
1097 bool "IRQ11, COM4"
1098config UART8_IRQ12
1099 bool "IRQ12"
1100config UART8_IRQ14
1101 bool "IRQ14"
1102config UART8_IRQ15
1103 bool "IRQ15"
1104
1105endchoice
1106
1107config UART8_IRQ
1108 int
1109 depends on UART8_ENABLE
1110 default 0 if UART8_IRQ_DISABLE
1111 default 3 if UART8_IRQ3
1112 default 4 if UART8_IRQ4
1113 default 5 if UART8_IRQ5
1114 default 6 if UART8_IRQ6
1115 default 7 if UART8_IRQ7
1116 default 9 if UART8_IRQ9
1117 default 10 if UART8_IRQ10
1118 default 11 if UART8_IRQ11
1119 default 12 if UART8_IRQ12
1120 default 14 if UART8_IRQ14
1121 default 15 if UART8_IRQ15
1122
Andrew Wu8522f992013-07-05 17:29:41 +08001123# end of UART8
1124
1125# Begin of UART9
1126config UART9_ENABLE
1127 bool "UART9 Enable"
1128 default n
1129
1130choice
1131 prompt "UART9 I/O port"
1132 default UART9_IO_PORT_OTHER
1133 depends on UART9_ENABLE
1134
1135config UART9_IO_PORT_3F8
1136 bool "0x3f8, COM1"
1137config UART9_IO_PORT_2F8
1138 bool "0x2f8, COM2"
1139config UART9_IO_PORT_3E8
1140 bool "0x3e8, COM3"
1141config UART9_IO_PORT_2E8
1142 bool "0x2e8, COM4"
1143config UART9_IO_PORT_OTHER
1144 bool "Other"
1145
1146endchoice
1147
1148config UART9_IO_PORT_OTHER_INPUT
1149 hex "UART9 I/O port"
1150 depends on UART9_ENABLE && UART9_IO_PORT_OTHER
1151
1152config UART9_IO
1153 hex
1154 depends on UART9_ENABLE
1155 default 0x3f8 if UART9_IO_PORT_3F8
1156 default 0x2f8 if UART9_IO_PORT_2F8
1157 default 0x3e8 if UART9_IO_PORT_3E8
1158 default 0x2e8 if UART9_IO_PORT_2E8
1159 default UART9_IO_PORT_OTHER_INPUT if UART9_IO_PORT_OTHER
1160
1161choice
1162 prompt "UART9 IRQ"
1163 default UART9_IRQ_DISABLE
1164 depends on UART9_ENABLE
1165
1166config UART9_IRQ_DISABLE
1167 bool "Disable"
1168config UART9_IRQ3
1169 bool "IRQ3, COM2"
1170config UART9_IRQ4
1171 bool "IRQ4, COM1"
1172config UART9_IRQ5
1173 bool "IRQ5"
1174config UART9_IRQ6
1175 bool "IRQ6"
1176config UART9_IRQ7
1177 bool "IRQ7"
1178config UART9_IRQ9
1179 bool "IRQ9"
1180config UART9_IRQ10
1181 bool "IRQ10, COM3"
1182config UART9_IRQ11
1183 bool "IRQ11, COM4"
1184config UART9_IRQ12
1185 bool "IRQ12"
1186config UART9_IRQ14
1187 bool "IRQ14"
1188config UART9_IRQ15
1189 bool "IRQ15"
1190
1191endchoice
1192
1193config UART9_IRQ
1194 int
1195 depends on UART9_ENABLE
1196 default 0 if UART9_IRQ_DISABLE
1197 default 3 if UART9_IRQ3
1198 default 4 if UART9_IRQ4
1199 default 5 if UART9_IRQ5
1200 default 6 if UART9_IRQ6
1201 default 7 if UART9_IRQ7
1202 default 9 if UART9_IRQ9
1203 default 10 if UART9_IRQ10
1204 default 11 if UART9_IRQ11
1205 default 12 if UART9_IRQ12
1206 default 14 if UART9_IRQ14
1207 default 15 if UART9_IRQ15
1208
Andrew Wu8522f992013-07-05 17:29:41 +08001209# end of UART9
1210
1211# Begin of UART10
1212config UART10_ENABLE
1213 bool "UART10 Enable"
1214 default n
1215
1216choice
1217 prompt "UART10 I/O port"
1218 default UART10_IO_PORT_OTHER
1219 depends on UART10_ENABLE
1220
1221config UART10_IO_PORT_3F8
1222 bool "0x3f8, COM1"
1223config UART10_IO_PORT_2F8
1224 bool "0x2f8, COM2"
1225config UART10_IO_PORT_3E8
1226 bool "0x3e8, COM3"
1227config UART10_IO_PORT_2E8
1228 bool "0x2e8, COM4"
1229config UART10_IO_PORT_OTHER
1230 bool "Other"
1231
1232endchoice
1233
1234config UART10_IO_PORT_OTHER_INPUT
1235 hex "UART10 I/O port"
1236 depends on UART10_ENABLE && UART10_IO_PORT_OTHER
1237
1238config UART10_IO
1239 hex
1240 depends on UART10_ENABLE
1241 default 0x3f8 if UART10_IO_PORT_3F8
1242 default 0x2f8 if UART10_IO_PORT_2F8
1243 default 0x3e8 if UART10_IO_PORT_3E8
1244 default 0x2e8 if UART10_IO_PORT_2E8
1245 default UART10_IO_PORT_OTHER_INPUT if UART10_IO_PORT_OTHER
1246
1247choice
1248 prompt "UART10 IRQ"
1249 default UART10_IRQ_DISABLE
1250 depends on UART10_ENABLE
1251
1252config UART10_IRQ_DISABLE
1253 bool "Disable"
1254config UART10_IRQ3
1255 bool "IRQ3, COM2"
1256config UART10_IRQ4
1257 bool "IRQ4, COM1"
1258config UART10_IRQ5
1259 bool "IRQ5"
1260config UART10_IRQ6
1261 bool "IRQ6"
1262config UART10_IRQ7
1263 bool "IRQ7"
1264config UART10_IRQ9
1265 bool "IRQ9"
1266config UART10_IRQ10
1267 bool "IRQ10, COM3"
1268config UART10_IRQ11
1269 bool "IRQ11, COM4"
1270config UART10_IRQ12
1271 bool "IRQ12"
1272config UART10_IRQ14
1273 bool "IRQ14"
1274config UART10_IRQ15
1275 bool "IRQ15"
1276
1277endchoice
1278
1279config UART10_IRQ
1280 int
1281 depends on UART10_ENABLE
1282 default 0 if UART10_IRQ_DISABLE
1283 default 3 if UART10_IRQ3
1284 default 4 if UART10_IRQ4
1285 default 5 if UART10_IRQ5
1286 default 6 if UART10_IRQ6
1287 default 7 if UART10_IRQ7
1288 default 9 if UART10_IRQ9
1289 default 10 if UART10_IRQ10
1290 default 11 if UART10_IRQ11
1291 default 12 if UART10_IRQ12
1292 default 14 if UART10_IRQ14
1293 default 15 if UART10_IRQ15
1294
Andrew Wu8522f992013-07-05 17:29:41 +08001295# end of UART10
1296
1297endmenu
1298
1299# LPT setting :
1300menu "LPT setting"
1301
1302# Begin of LPT
1303config LPT_ENABLE
1304 bool "LPT Enable"
1305 default n
1306
1307choice
1308 prompt "LPT I/O port"
1309 default LPT_IO_PORT_278
1310 depends on LPT_ENABLE
1311
1312config LPT_IO_PORT_378
1313 bool "0x378, LPT1"
1314config LPT_IO_PORT_278
1315 bool "0x278, LPT2"
1316config LPT_IO_PORT_OTHER
1317 bool "Other"
1318
1319endchoice
1320
1321config LPT_IO_PORT_OTHER_INPUT
1322 hex "LPT I/O port"
1323 depends on LPT_ENABLE && LPT_IO_PORT_OTHER
1324
1325config LPT_IO
1326 hex
1327 depends on LPT_ENABLE
1328 default 0x378 if LPT_IO_PORT_378
1329 default 0x278 if LPT_IO_PORT_278
1330 default LPT_IO_PORT_OTHER_INPUT if LPT_IO_PORT_OTHER
1331
1332choice
1333 prompt "LPT IRQ"
1334 default LPT_IRQ_DISABLE
1335 depends on LPT_ENABLE
1336
1337config LPT_IRQ_DISABLE
1338 bool "Disable"
1339config LPT_IRQ3
1340 bool "IRQ3"
1341config LPT_IRQ4
1342 bool "IRQ4"
1343config LPT_IRQ5
1344 bool "IRQ5"
1345config LPT_IRQ6
1346 bool "IRQ6"
1347config LPT_IRQ7
1348 bool "IRQ7"
1349config LPT_IRQ9
1350 bool "IRQ9"
1351config LPT_IRQ10
1352 bool "IRQ10"
1353config LPT_IRQ11
1354 bool "IRQ11"
1355config LPT_IRQ12
1356 bool "IRQ12"
1357config LPT_IRQ14
1358 bool "IRQ14"
1359config LPT_IRQ15
1360 bool "IRQ15"
1361
1362endchoice
1363
1364config LPT_IRQ
1365 int
1366 depends on LPT_ENABLE
1367 default 0 if LPT_IRQ_DISABLE
1368 default 3 if LPT_IRQ3
1369 default 4 if LPT_IRQ4
1370 default 5 if LPT_IRQ5
1371 default 6 if LPT_IRQ6
1372 default 7 if LPT_IRQ7
1373 default 9 if LPT_IRQ9
1374 default 10 if LPT_IRQ10
1375 default 11 if LPT_IRQ11
1376 default 12 if LPT_IRQ12
1377 default 14 if LPT_IRQ14
1378 default 15 if LPT_IRQ15
1379
1380choice
1381 prompt "LPT Mode Setting"
1382 default LPT_MODE_SPP
1383 depends on LPT_ENABLE
1384
1385config LPT_MODE_BPP
1386 bool "BPP mode"
1387config LPT_MODE_EPP_19_AND_SPP
1388 bool "EPP 1.9 and SPP mode"
1389config LPT_MODE_ECP
1390 bool "ECP Mode"
1391config LPT_MODE_ECP_AND_EPP_19
1392 bool "ECP and EPP 1.9 mode"
1393config LPT_MODE_SPP
1394 bool "SPP Mode"
1395config LPT_MODE_EPP_17_AND_SPP
1396 bool "EPP 1.7 and SPP mode"
1397config LPT_MODE_ECP_AND_EPP_17
1398 bool "ECP and EPP 1.7 mode"
1399
1400endchoice
1401
1402# end of LPT
1403
1404endmenu
1405
1406endif # BOARD_DMP_EX