summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/ralink/Kconfig
blob: 74bca6d0e96021c76acaee2e8f9bd1eefeaf6aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
if MIPS_RALINK

choice
	prompt "Ralink SoC selection"
	default SOC_RT288X
	help
	  Select Ralink MIPS SoC type.

	config RALINK_RT288X
		bool "RT288x"
		select SOC_RT288X

	config RALINK_RT305X
		bool "RT305x"
		select SOC_RT305X

	config RALINK_RT3883
		bool "RT3883"
		select SOC_RT3883

endchoice

source "arch/mips/ralink/rt288x/Kconfig"
source "arch/mips/ralink/rt305x/Kconfig"
source "arch/mips/ralink/rt3883/Kconfig"

config SOC_RT288X
	bool
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
	select ARCH_REQUIRE_GPIOLIB
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_EARLY_PRINTK
	select MIPS_MACHINE
	select HAVE_CLK

config SOC_RT305X
	bool
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
	select ARCH_REQUIRE_GPIOLIB
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_EARLY_PRINTK
	select MIPS_MACHINE
	select USB_ARCH_HAS_HCD
	select USB_ARCH_HAS_OHCI
	select USB_ARCH_HAS_EHCI
	select HAVE_CLK

config SOC_RT3883
	bool
	select CEVT_R4K
	select CSRC_R4K
	select DMA_NONCOHERENT
	select IRQ_CPU
	select ARCH_REQUIRE_GPIOLIB
	select SYS_HAS_CPU_MIPS32_R1
	select SYS_HAS_CPU_MIPS32_R2
	select SYS_SUPPORTS_32BIT_KERNEL
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_EARLY_PRINTK
	select MIPS_MACHINE
	select USB_ARCH_HAS_OHCI
	select USB_ARCH_HAS_EHCI
	select HAVE_CLK

config RALINK_DEV_GPIO_BUTTONS
	def_bool n

config RALINK_DEV_GPIO_LEDS
	def_bool n

endif