[ramips] enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.
[openwrt.git] / target / linux / ramips / files / 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
41 config SOC_RT305X
42         bool
43         select CEVT_R4K
44         select CSRC_R4K
45         select DMA_NONCOHERENT
46         select IRQ_CPU
47         select ARCH_REQUIRE_GPIOLIB
48         select SYS_HAS_CPU_MIPS32_R1
49         select SYS_HAS_CPU_MIPS32_R2
50         select SYS_SUPPORTS_32BIT_KERNEL
51         select SYS_SUPPORTS_LITTLE_ENDIAN
52         select SYS_HAS_EARLY_PRINTK
53         select MIPS_MACHINE
54         select USB_ARCH_HAS_HCD
55         select USB_ARCH_HAS_OHCI
56         select USB_ARCH_HAS_EHCI
57
58 config SOC_RT3883
59         bool
60         select CEVT_R4K
61         select CSRC_R4K
62         select DMA_NONCOHERENT
63         select IRQ_CPU
64         select ARCH_REQUIRE_GPIOLIB
65         select SYS_HAS_CPU_MIPS32_R1
66         select SYS_HAS_CPU_MIPS32_R2
67         select SYS_SUPPORTS_32BIT_KERNEL
68         select SYS_SUPPORTS_LITTLE_ENDIAN
69         select SYS_HAS_EARLY_PRINTK
70         select MIPS_MACHINE
71         select USB_ARCH_HAS_OHCI
72         select USB_ARCH_HAS_EHCI
73
74 config RALINK_DEV_GPIO_BUTTONS
75         def_bool n
76
77 config RALINK_DEV_GPIO_LEDS
78         def_bool n
79
80 endif