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_HAS_EARLY_PRINTK
19 select USE_GENERIC_EARLY_PRINTK_8250
23 bool "Loongson LS1C board"
24 select CEVT_R4K if !MIPS_EXTERNAL_TIMER
25 select CSRC_R4K if !MIPS_EXTERNAL_TIMER
26 select SYS_HAS_CPU_LOONGSON1C
27 select DMA_NONCOHERENT
30 select SYS_SUPPORTS_32BIT_KERNEL
31 select SYS_SUPPORTS_LITTLE_ENDIAN
32 select SYS_SUPPORTS_HIGHMEM
33 select SYS_HAS_EARLY_PRINTK
34 select USE_GENERIC_EARLY_PRINTK_8250
38 menuconfig CEVT_CSRC_LS1X
39 bool "Use PWM Timer for clockevent/clocksource"
40 select MIPS_EXTERNAL_TIMER
41 depends on CPU_LOONGSON32
43 This option changes the default clockevent/clocksource to PWM Timer,
44 and is required by Loongson1 CPUFreq support.
49 prompt "Select clockevent/clocksource"
50 depends on CEVT_CSRC_LS1X
51 default TIMER_USE_PWM0
54 bool "Use PWM Timer 0"
56 Use PWM Timer 0 as the default clockevent/clocksourcer.
59 bool "Use PWM Timer 1"
61 Use PWM Timer 1 as the default clockevent/clocksourcer.
64 bool "Use PWM Timer 2"
66 Use PWM Timer 2 as the default clockevent/clocksourcer.
69 bool "Use PWM Timer 3"
71 Use PWM Timer 3 as the default clockevent/clocksourcer.
75 endif # MACH_LOONGSON32