Linux Audio

Check our new training course

Loading...
v4.6
 
  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_AP136
 18	bool "Atheros AP136 reference board"
 19	select SOC_QCA955X
 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 AP136 reference board.
 28
 29config ATH79_MACH_AP81
 30	bool "Atheros AP81 reference board"
 31	select SOC_AR913X
 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 AP81 reference board.
 40
 41config ATH79_MACH_DB120
 42	bool "Atheros DB120 reference board"
 43	select SOC_AR934X
 44	select ATH79_DEV_GPIO_BUTTONS
 45	select ATH79_DEV_LEDS_GPIO
 46	select ATH79_DEV_SPI
 47	select ATH79_DEV_USB
 48	select ATH79_DEV_WMAC
 49	help
 50	  Say 'Y' here if you want your kernel to support the
 51	  Atheros DB120 reference board.
 52
 53config ATH79_MACH_PB44
 54	bool "Atheros PB44 reference board"
 55	select SOC_AR71XX
 56	select ATH79_DEV_GPIO_BUTTONS
 57	select ATH79_DEV_LEDS_GPIO
 58	select ATH79_DEV_SPI
 59	select ATH79_DEV_USB
 60	help
 61	  Say 'Y' here if you want your kernel to support the
 62	  Atheros PB44 reference board.
 63
 64config ATH79_MACH_UBNT_XM
 65	bool "Ubiquiti Networks XM (rev 1.0) board"
 66	select SOC_AR724X
 67	select ATH79_DEV_GPIO_BUTTONS
 68	select ATH79_DEV_LEDS_GPIO
 69	select ATH79_DEV_SPI
 70	help
 71	  Say 'Y' here if you want your kernel to support the
 72	  Ubiquiti Networks XM (rev 1.0) board.
 73
 74choice
 75	prompt "Build a DTB in the kernel"
 76	optional
 77	help
 78	  Select a devicetree that should be built into the kernel.
 79
 80	config DTB_TL_WR1043ND_V1
 81		bool "TL-WR1043ND Version 1"
 82		select BUILTIN_DTB
 83		select SOC_AR913X
 84endchoice
 85
 86endmenu
 87
 88config SOC_AR71XX
 89	select HW_HAS_PCI
 90	def_bool n
 91
 92config SOC_AR724X
 93	select HW_HAS_PCI
 94	select PCI_AR724X if PCI
 95	def_bool n
 96
 97config SOC_AR913X
 98	def_bool n
 99
100config SOC_AR933X
101	def_bool n
102
103config SOC_AR934X
104	select HW_HAS_PCI
105	select PCI_AR724X if PCI
106	def_bool n
107
108config SOC_QCA955X
109	select HW_HAS_PCI
110	select PCI_AR724X if PCI
111	def_bool n
112
113config PCI_AR724X
114	def_bool n
115
116config ATH79_DEV_GPIO_BUTTONS
117	def_bool n
118
119config ATH79_DEV_LEDS_GPIO
120	def_bool n
121
122config ATH79_DEV_SPI
123	def_bool n
124
125config ATH79_DEV_USB
126	def_bool n
127
128config ATH79_DEV_WMAC
129	depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
130	def_bool n
131
132endif
v5.9
 1# SPDX-License-Identifier: GPL-2.0
 2if ATH79
 3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 4config SOC_AR71XX
 5	select HAVE_PCI
 6	def_bool n
 7
 8config SOC_AR724X
 9	select HAVE_PCI
10	select PCI_AR724X if PCI
11	def_bool n
12
13config SOC_AR913X
14	def_bool n
15
16config SOC_AR933X
17	def_bool n
18
19config SOC_AR934X
20	select HAVE_PCI
21	select PCI_AR724X if PCI
22	def_bool n
23
24config SOC_QCA955X
25	select HAVE_PCI
26	select PCI_AR724X if PCI
27	def_bool n
28
29config PCI_AR724X
30	def_bool n
31
32config ATH79_DEV_GPIO_BUTTONS
33	def_bool n
34
35config ATH79_DEV_LEDS_GPIO
36	def_bool n
37
38config ATH79_DEV_SPI
39	def_bool n
40
41config ATH79_DEV_USB
42	def_bool n
43
44config ATH79_DEV_WMAC
45	depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
46	def_bool n
47
48endif