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_HAS_PHYS_TO_DMA
11 select ARCH_MIGHT_HAVE_PC_PARPORT
12 select ARCH_MIGHT_HAVE_PC_SERIO
15 select SYS_HAS_CPU_LOONGSON2E
16 select DMA_NONCOHERENT
23 select SYS_SUPPORTS_64BIT_KERNEL
24 select SYS_SUPPORTS_LITTLE_ENDIAN
25 select SYS_SUPPORTS_HIGHMEM
26 select SYS_HAS_EARLY_PRINTK
27 select USE_GENERIC_EARLY_PRINTK_8250
28 select GENERIC_ISA_DMA_SUPPORT_BROKEN
30 select LOONGSON_MC146818
32 Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and
35 Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
38 bool "Lemote Loongson 2F family machines"
39 select ARCH_SPARSEMEM_ENABLE
40 select ARCH_HAS_PHYS_TO_DMA
41 select ARCH_MIGHT_HAVE_PC_PARPORT
42 select ARCH_MIGHT_HAVE_PC_SERIO
45 select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
48 select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
49 select DMA_NONCOHERENT
50 select GENERIC_ISA_DMA_SUPPORT_BROKEN
56 select SYS_HAS_CPU_LOONGSON2F
57 select SYS_HAS_EARLY_PRINTK
58 select USE_GENERIC_EARLY_PRINTK_8250
59 select SYS_SUPPORTS_64BIT_KERNEL
60 select SYS_SUPPORTS_HIGHMEM
61 select SYS_SUPPORTS_LITTLE_ENDIAN
62 select LOONGSON_MC146818
64 Lemote Loongson 2F family machines utilize the 2F revision of
65 Loongson processor and the AMD CS5536 south bridge.
67 These family machines include fuloong2f mini PC, yeeloong2f notebook,
68 LingLoong allinone PC and so forth.
76 bool "CS5536 MFGPT Timer"
77 depends on CS5536 && !HIGH_RES_TIMERS
78 select MIPS_EXTERNAL_TIMER
80 This option enables the mfgpt0 timer of AMD CS5536. With this timer
81 switched on you can not use high resolution timers.
83 If you want to enable the Loongson2 CPUFreq Driver, Please enable
84 this option at first, otherwise, You will get wrong system time.
88 config LOONGSON_UART_BASE
91 depends on EARLY_PRINTK || SERIAL_8250
93 config LOONGSON_MC146818
97 endif # MACH_LOONGSON2EF