74bca6d0e96021c76acaee2e8f9bd1eefeaf6aaa
[openwrt.git] / target / linux / ramips / files-3.7 / arch / mips / ralink / Kconfig
1 if MIPS_RALINK
2
3 choice
4         prompt "Ralink SoC selection"
5         default SOC_RT288X
6         help
7           Select Ralink MIPS SoC type.
8
9         config RALINK_RT288X
10                 bool "RT288x"
11                 select SOC_RT288X
12
13         config RALINK_RT305X
14                 bool "RT305x"
15                 select SOC_RT305X
16
17         config RALINK_RT3883
18                 bool "RT3883"
19                 select SOC_RT3883
20
21 endchoice
22
23 source "arch/mips/ralink/rt288x/Kconfig"
24 source "arch/mips/ralink/rt305x/Kconfig"
25 source "arch/mips/ralink/rt3883/Kconfig"
26
27 config SOC_RT288X
28         bool
29         select CEVT_R4K
30         select CSRC_R4K
31         select DMA_NONCOHERENT
32         select IRQ_CPU
33         select ARCH_REQUIRE_GPIOLIB
34         select SYS_HAS_CPU_MIPS32_R1
35         select SYS_HAS_CPU_MIPS32_R2
36         select SYS_SUPPORTS_32BIT_KERNEL
37         select SYS_SUPPORTS_LITTLE_ENDIAN
38         select SYS_HAS_EARLY_PRINTK
39         select MIPS_MACHINE
40         select HAVE_CLK
41
42 config SOC_RT305X
43         bool
44         select CEVT_R4K
45         select CSRC_R4K
46         select DMA_NONCOHERENT
47         select IRQ_CPU
48         select ARCH_REQUIRE_GPIOLIB
49         select SYS_HAS_CPU_MIPS32_R1
50         select SYS_HAS_CPU_MIPS32_R2
51         select SYS_SUPPORTS_32BIT_KERNEL
52         select SYS_SUPPORTS_LITTLE_ENDIAN
53         select SYS_HAS_EARLY_PRINTK
54         select MIPS_MACHINE
55         select USB_ARCH_HAS_HCD
56         select USB_ARCH_HAS_OHCI
57         select USB_ARCH_HAS_EHCI
58         select HAVE_CLK
59
60 config SOC_RT3883
61         bool
62         select CEVT_R4K
63         select CSRC_R4K
64         select DMA_NONCOHERENT
65         select IRQ_CPU
66         select ARCH_REQUIRE_GPIOLIB
67         select SYS_HAS_CPU_MIPS32_R1
68         select SYS_HAS_CPU_MIPS32_R2
69         select SYS_SUPPORTS_32BIT_KERNEL
70         select SYS_SUPPORTS_LITTLE_ENDIAN
71         select SYS_HAS_EARLY_PRINTK
72         select MIPS_MACHINE
73         select USB_ARCH_HAS_OHCI
74         select USB_ARCH_HAS_EHCI
75         select HAVE_CLK
76
77 config RALINK_DEV_GPIO_BUTTONS
78         def_bool n
79
80 config RALINK_DEV_GPIO_LEDS
81         def_bool n
82
83 endif