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