1 # SPDX-License-Identifier: GPL-2.0
7 config LEMOTE_FULOONG2E
8 bool "Lemote Fuloong(2e) mini-PC"
9 select ARCH_SPARSEMEM_ENABLE
10 select ARCH_MIGHT_HAVE_PC_PARPORT
11 select ARCH_MIGHT_HAVE_PC_SERIO
14 select SYS_HAS_CPU_LOONGSON2E
15 select DMA_NONCOHERENT
22 select SYS_SUPPORTS_64BIT_KERNEL
23 select SYS_SUPPORTS_LITTLE_ENDIAN
24 select SYS_SUPPORTS_HIGHMEM
25 select SYS_HAS_EARLY_PRINTK
26 select USE_GENERIC_EARLY_PRINTK_8250
27 select GENERIC_ISA_DMA_SUPPORT_BROKEN
29 select LOONGSON_MC146818
31 Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
34 Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
37 bool "Lemote Loongson 2F family machines"
38 select ARCH_SPARSEMEM_ENABLE
39 select ARCH_MIGHT_HAVE_PC_PARPORT
40 select ARCH_MIGHT_HAVE_PC_SERIO
43 select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
46 select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
47 select DMA_NONCOHERENT
48 select GENERIC_ISA_DMA_SUPPORT_BROKEN
54 select SYS_HAS_CPU_LOONGSON2F
55 select SYS_HAS_EARLY_PRINTK
56 select USE_GENERIC_EARLY_PRINTK_8250
57 select SYS_SUPPORTS_64BIT_KERNEL
58 select SYS_SUPPORTS_HIGHMEM
59 select SYS_SUPPORTS_LITTLE_ENDIAN
60 select LOONGSON_MC146818
62 Lemote Loongson 2F family machines utilize the 2F revision of
63 Loongson processor and the AMD CS5536 south bridge.
65 These family machines include fuloong2f mini PC, yeeloong2f notebook,
66 LingLoong allinone PC and so forth.
74 bool "CS5536 MFGPT Timer"
75 depends on CS5536 && !HIGH_RES_TIMERS
76 select MIPS_EXTERNAL_TIMER
78 This option enables the mfgpt0 timer of AMD CS5536. With this timer
79 switched on you can not use high resolution timers.
81 If you want to enable the Loongson2 CPUFreq Driver, Please enable
82 this option at first, otherwise, You will get wrong system time.
86 config LOONGSON_UART_BASE
89 depends on EARLY_PRINTK || SERIAL_8250
91 config LOONGSON_MC146818
95 endif # MACH_LOONGSON2EF