]> Pileus Git - ~andy/linux/blob - arch/mips/ath79/Kconfig
MIPS: ath79: add WMAC registration code for the QCA955X SoCs
[~andy/linux] / arch / mips / ath79 / Kconfig
1 if ATH79
2
3 menu "Atheros AR71XX/AR724X/AR913X machine selection"
4
5 config ATH79_MACH_AP121
6         bool "Atheros AP121 reference board"
7         select SOC_AR933X
8         select ATH79_DEV_GPIO_BUTTONS
9         select ATH79_DEV_LEDS_GPIO
10         select ATH79_DEV_SPI
11         select ATH79_DEV_USB
12         select ATH79_DEV_WMAC
13         help
14           Say 'Y' here if you want your kernel to support the
15           Atheros AP121 reference board.
16
17 config ATH79_MACH_AP81
18         bool "Atheros AP81 reference board"
19         select SOC_AR913X
20         select ATH79_DEV_GPIO_BUTTONS
21         select ATH79_DEV_LEDS_GPIO
22         select ATH79_DEV_SPI
23         select ATH79_DEV_USB
24         select ATH79_DEV_WMAC
25         help
26           Say 'Y' here if you want your kernel to support the
27           Atheros AP81 reference board.
28
29 config ATH79_MACH_DB120
30         bool "Atheros DB120 reference board"
31         select SOC_AR934X
32         select ATH79_DEV_GPIO_BUTTONS
33         select ATH79_DEV_LEDS_GPIO
34         select ATH79_DEV_SPI
35         select ATH79_DEV_USB
36         select ATH79_DEV_WMAC
37         help
38           Say 'Y' here if you want your kernel to support the
39           Atheros DB120 reference board.
40
41 config ATH79_MACH_PB44
42         bool "Atheros PB44 reference board"
43         select SOC_AR71XX
44         select ATH79_DEV_GPIO_BUTTONS
45         select ATH79_DEV_LEDS_GPIO
46         select ATH79_DEV_SPI
47         select ATH79_DEV_USB
48         help
49           Say 'Y' here if you want your kernel to support the
50           Atheros PB44 reference board.
51
52 config ATH79_MACH_UBNT_XM
53         bool "Ubiquiti Networks XM (rev 1.0) board"
54         select SOC_AR724X
55         select ATH79_DEV_GPIO_BUTTONS
56         select ATH79_DEV_LEDS_GPIO
57         select ATH79_DEV_SPI
58         help
59           Say 'Y' here if you want your kernel to support the
60           Ubiquiti Networks XM (rev 1.0) board.
61
62 endmenu
63
64 config SOC_AR71XX
65         select USB_ARCH_HAS_EHCI
66         select USB_ARCH_HAS_OHCI
67         select HW_HAS_PCI
68         def_bool n
69
70 config SOC_AR724X
71         select USB_ARCH_HAS_EHCI
72         select USB_ARCH_HAS_OHCI
73         select HW_HAS_PCI
74         select PCI_AR724X if PCI
75         def_bool n
76
77 config SOC_AR913X
78         select USB_ARCH_HAS_EHCI
79         def_bool n
80
81 config SOC_AR933X
82         select USB_ARCH_HAS_EHCI
83         def_bool n
84
85 config SOC_AR934X
86         select USB_ARCH_HAS_EHCI
87         select HW_HAS_PCI
88         select PCI_AR724X if PCI
89         def_bool n
90
91 config SOC_QCA955X
92         select USB_ARCH_HAS_EHCI
93         def_bool n
94
95 config PCI_AR724X
96         def_bool n
97
98 config ATH79_DEV_GPIO_BUTTONS
99         def_bool n
100
101 config ATH79_DEV_LEDS_GPIO
102         def_bool n
103
104 config ATH79_DEV_SPI
105         def_bool n
106
107 config ATH79_DEV_USB
108         def_bool n
109
110 config ATH79_DEV_WMAC
111         depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
112         def_bool n
113
114 endif