xref: /linux/arch/mips/ath79/Kconfig (revision 574d6e70ea25a8d5dd4b77464ae7314d40f1caf2)
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 SOC_AR934X
73	select USB_ARCH_HAS_EHCI
74	def_bool n
75
76config ATH79_DEV_GPIO_BUTTONS
77	def_bool n
78
79config ATH79_DEV_LEDS_GPIO
80	def_bool n
81
82config ATH79_DEV_SPI
83	def_bool n
84
85config ATH79_DEV_USB
86	def_bool n
87
88config ATH79_DEV_WMAC
89	depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X)
90	def_bool n
91
92endif
93