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