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