]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
30ad29bb | 2 | if MACH_LOONGSON64 |
efe8dc55 | 3 | |
85749d24 | 4 | choice |
f6d4ff02 | 5 | prompt "Machine Type" |
85749d24 WZ |
6 | |
7 | config LEMOTE_FULOONG2E | |
f6d4ff02 WZ |
8 | bool "Lemote Fuloong(2e) mini-PC" |
9 | select ARCH_SPARSEMEM_ENABLE | |
6cfc70c4 | 10 | select ARCH_MIGHT_HAVE_PC_PARPORT |
ee2515d9 | 11 | select ARCH_MIGHT_HAVE_PC_SERIO |
f6d4ff02 WZ |
12 | select CEVT_R4K |
13 | select CSRC_R4K | |
14 | select SYS_HAS_CPU_LOONGSON2E | |
15 | select DMA_NONCOHERENT | |
16 | select BOOT_ELF32 | |
17 | select BOARD_SCACHE | |
eb01d42a | 18 | select HAVE_PCI |
f6d4ff02 WZ |
19 | select I8259 |
20 | select ISA | |
67e38cf2 | 21 | select IRQ_MIPS_CPU |
f6d4ff02 WZ |
22 | select SYS_SUPPORTS_64BIT_KERNEL |
23 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
24 | select SYS_SUPPORTS_HIGHMEM | |
25 | select SYS_HAS_EARLY_PRINTK | |
f6d4ff02 WZ |
26 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
27 | select CPU_HAS_WB | |
5df74352 | 28 | select LOONGSON_MC146818 |
f6d4ff02 WZ |
29 | help |
30 | Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and | |
31 | an FPGA northbridge | |
85749d24 | 32 | |
f6d4ff02 | 33 | Lemote Fuloong(2e) mini PC have a VIA686B south bridge. |
7d32c6dd WZ |
34 | |
35 | config LEMOTE_MACH2F | |
36 | bool "Lemote Loongson 2F family machines" | |
37 | select ARCH_SPARSEMEM_ENABLE | |
6cfc70c4 | 38 | select ARCH_MIGHT_HAVE_PC_PARPORT |
ee2515d9 | 39 | select ARCH_MIGHT_HAVE_PC_SERIO |
7d32c6dd WZ |
40 | select BOARD_SCACHE |
41 | select BOOT_ELF32 | |
f8ede0f7 | 42 | select CEVT_R4K if ! MIPS_EXTERNAL_TIMER |
7d32c6dd WZ |
43 | select CPU_HAS_WB |
44 | select CS5536 | |
f8ede0f7 | 45 | select CSRC_R4K if ! MIPS_EXTERNAL_TIMER |
7d32c6dd | 46 | select DMA_NONCOHERENT |
7d32c6dd | 47 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
95cf1468 | 48 | select HAVE_CLK |
eb01d42a | 49 | select HAVE_PCI |
7d32c6dd | 50 | select I8259 |
67e38cf2 | 51 | select IRQ_MIPS_CPU |
7d32c6dd WZ |
52 | select ISA |
53 | select SYS_HAS_CPU_LOONGSON2F | |
54 | select SYS_HAS_EARLY_PRINTK | |
7d32c6dd WZ |
55 | select SYS_SUPPORTS_64BIT_KERNEL |
56 | select SYS_SUPPORTS_HIGHMEM | |
57 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
5df74352 | 58 | select LOONGSON_MC146818 |
7d32c6dd WZ |
59 | help |
60 | Lemote Loongson 2F family machines utilize the 2F revision of | |
61 | Loongson processor and the AMD CS5536 south bridge. | |
62 | ||
63 | These family machines include fuloong2f mini PC, yeeloong2f notebook, | |
64 | LingLoong allinone PC and so forth. | |
0e476d91 | 65 | |
5a21e0ba HC |
66 | config LOONGSON_MACH3X |
67 | bool "Generic Loongson 3 family machines" | |
0e476d91 | 68 | select ARCH_SPARSEMEM_ENABLE |
6cfc70c4 | 69 | select ARCH_MIGHT_HAVE_PC_PARPORT |
ee2515d9 | 70 | select ARCH_MIGHT_HAVE_PC_SERIO |
0e476d91 | 71 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
0e476d91 HC |
72 | select BOOT_ELF32 |
73 | select BOARD_SCACHE | |
74 | select CSRC_R4K | |
75 | select CEVT_R4K | |
76 | select CPU_HAS_WB | |
eb01d42a | 77 | select FORCE_PCI |
0e476d91 | 78 | select ISA |
0e476d91 | 79 | select I8259 |
67e38cf2 | 80 | select IRQ_MIPS_CPU |
0e476d91 HC |
81 | select NR_CPUS_DEFAULT_4 |
82 | select SYS_HAS_CPU_LOONGSON3 | |
83 | select SYS_HAS_EARLY_PRINTK | |
84 | select SYS_SUPPORTS_SMP | |
c4a987db | 85 | select SYS_SUPPORTS_HOTPLUG_CPU |
c4617318 | 86 | select SYS_SUPPORTS_NUMA |
0e476d91 HC |
87 | select SYS_SUPPORTS_64BIT_KERNEL |
88 | select SYS_SUPPORTS_HIGHMEM | |
89 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
90 | select LOONGSON_MC146818 | |
91 | select ZONE_DMA32 | |
92 | select LEFI_FIRMWARE_INTERFACE | |
93 | help | |
5a21e0ba HC |
94 | Generic Loongson 3 family machines utilize the 3A/3B revision |
95 | of Loongson processor and RS780/SBX00 chipset. | |
85749d24 | 96 | endchoice |
22c21003 WZ |
97 | |
98 | config CS5536 | |
99 | bool | |
f181bf60 | 100 | |
916daba8 WZ |
101 | config CS5536_MFGPT |
102 | bool "CS5536 MFGPT Timer" | |
4fd4db4f | 103 | depends on CS5536 && !HIGH_RES_TIMERS |
f8ede0f7 | 104 | select MIPS_EXTERNAL_TIMER |
916daba8 | 105 | help |
4fd4db4f SAS |
106 | This option enables the mfgpt0 timer of AMD CS5536. With this timer |
107 | switched on you can not use high resolution timers. | |
916daba8 WZ |
108 | |
109 | If you want to enable the Loongson2 CPUFreq Driver, Please enable | |
110 | this option at first, otherwise, You will get wrong system time. | |
111 | ||
112 | If unsure, say Yes. | |
113 | ||
e292ccde HC |
114 | config RS780_HPET |
115 | bool "RS780/SBX00 HPET Timer" | |
116 | depends on LOONGSON_MACH3X | |
117 | select MIPS_EXTERNAL_TIMER | |
118 | help | |
119 | This option enables the hpet timer of AMD RS780/SBX00. | |
120 | ||
121 | If you want to enable the Loongson3 CPUFreq Driver, Please enable | |
122 | this option at first, otherwise, You will get wrong system time. | |
123 | ||
124 | If unsure, say Yes. | |
125 | ||
c3d8d850 WZ |
126 | config LOONGSON_UART_BASE |
127 | bool | |
128 | default y | |
129 | depends on EARLY_PRINTK || SERIAL_8250 | |
5df74352 AP |
130 | |
131 | config LOONGSON_MC146818 | |
132 | bool | |
133 | default n | |
efe8dc55 | 134 | |
0e476d91 HC |
135 | config LEFI_FIRMWARE_INTERFACE |
136 | bool | |
137 | ||
30ad29bb | 138 | endif # MACH_LOONGSON64 |