1 # SPDX-License-Identifier: GPL-2.0
8 bool "Loongson LS1B board"
9 select CEVT_R4K if !MIPS_EXTERNAL_TIMER
10 select CSRC_R4K if !MIPS_EXTERNAL_TIMER
11 select SYS_HAS_CPU_LOONGSON1B
12 select DMA_NONCOHERENT
15 select SYS_SUPPORTS_32BIT_KERNEL
16 select SYS_SUPPORTS_LITTLE_ENDIAN
17 select SYS_SUPPORTS_HIGHMEM
18 select SYS_SUPPORTS_MIPS16
19 select SYS_HAS_EARLY_PRINTK
20 select USE_GENERIC_EARLY_PRINTK_8250
24 bool "Loongson LS1C board"
25 select CEVT_R4K if !MIPS_EXTERNAL_TIMER
26 select CSRC_R4K if !MIPS_EXTERNAL_TIMER
27 select SYS_HAS_CPU_LOONGSON1C
28 select DMA_NONCOHERENT
31 select SYS_SUPPORTS_32BIT_KERNEL
32 select SYS_SUPPORTS_LITTLE_ENDIAN
33 select SYS_SUPPORTS_HIGHMEM
34 select SYS_SUPPORTS_MIPS16
35 select SYS_HAS_EARLY_PRINTK
36 select USE_GENERIC_EARLY_PRINTK_8250
40 menuconfig CEVT_CSRC_LS1X
41 bool "Use PWM Timer for clockevent/clocksource"
42 select MIPS_EXTERNAL_TIMER
43 depends on CPU_LOONGSON1
45 This option changes the default clockevent/clocksource to PWM Timer,
46 and is required by Loongson1 CPUFreq support.
51 prompt "Select clockevent/clocksource"
52 depends on CEVT_CSRC_LS1X
53 default TIMER_USE_PWM0
56 bool "Use PWM Timer 0"
58 Use PWM Timer 0 as the default clockevent/clocksourcer.
61 bool "Use PWM Timer 1"
63 Use PWM Timer 1 as the default clockevent/clocksourcer.
66 bool "Use PWM Timer 2"
68 Use PWM Timer 2 as the default clockevent/clocksourcer.
71 bool "Use PWM Timer 3"
73 Use PWM Timer 3 as the default clockevent/clocksourcer.
77 endif # MACH_LOONGSON32