xref: /openbmc/linux/arch/mips/ath79/Kconfig (revision d78c317f)
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	def_bool n
56
57config SOC_AR724X
58	select USB_ARCH_HAS_EHCI
59	select USB_ARCH_HAS_OHCI
60	select HW_HAS_PCI
61	def_bool n
62
63config SOC_AR913X
64	select USB_ARCH_HAS_EHCI
65	def_bool n
66
67config SOC_AR933X
68	select USB_ARCH_HAS_EHCI
69	def_bool n
70
71config ATH79_DEV_GPIO_BUTTONS
72	def_bool n
73
74config ATH79_DEV_LEDS_GPIO
75	def_bool n
76
77config ATH79_DEV_SPI
78	def_bool n
79
80config ATH79_DEV_USB
81	def_bool n
82
83config ATH79_DEV_WMAC
84	depends on (SOC_AR913X || SOC_AR933X)
85	def_bool n
86
87endif
88