xref: /linux/arch/mips/ath79/Kconfig (revision f8365ec4e1b945f70a86e9514dd67ba5f9f2915b)
1if ATH79
2
3menu "Atheros AR71XX/AR724X/AR913X machine selection"
4
5config 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
17config 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
29config ATH79_MACH_PB44
30	bool "Atheros PB44 reference board"
31	select SOC_AR71XX
32	select ATH79_DEV_GPIO_BUTTONS
33	select ATH79_DEV_LEDS_GPIO
34	select ATH79_DEV_SPI
35	select ATH79_DEV_USB
36	help
37	  Say 'Y' here if you want your kernel to support the
38	  Atheros PB44 reference board.
39
40config ATH79_MACH_UBNT_XM
41	bool "Ubiquiti Networks XM (rev 1.0) board"
42	select SOC_AR724X
43	select ATH79_DEV_GPIO_BUTTONS
44	select ATH79_DEV_LEDS_GPIO
45	select ATH79_DEV_SPI
46	help
47	  Say 'Y' here if you want your kernel to support the
48	  Ubiquiti Networks XM (rev 1.0) board.
49
50endmenu
51
52config SOC_AR71XX
53	select USB_ARCH_HAS_EHCI
54	select USB_ARCH_HAS_OHCI
55	select HW_HAS_PCI
56	def_bool n
57
58config SOC_AR724X
59	select USB_ARCH_HAS_EHCI
60	select USB_ARCH_HAS_OHCI
61	select HW_HAS_PCI
62	def_bool n
63
64config SOC_AR913X
65	select USB_ARCH_HAS_EHCI
66	def_bool n
67
68config SOC_AR933X
69	select USB_ARCH_HAS_EHCI
70	def_bool n
71
72config ATH79_DEV_GPIO_BUTTONS
73	def_bool n
74
75config ATH79_DEV_LEDS_GPIO
76	def_bool n
77
78config ATH79_DEV_SPI
79	def_bool n
80
81config ATH79_DEV_USB
82	def_bool n
83
84config ATH79_DEV_WMAC
85	depends on (SOC_AR913X || SOC_AR933X)
86	def_bool n
87
88endif
89